diff --git a/Assets/Thirdweb/Core/Scripts/AccountAbstraction/Core/SmartWallet.cs b/Assets/Thirdweb/Core/Scripts/AccountAbstraction/Core/SmartWallet.cs index 1b41f3f6..8504d4e3 100644 --- a/Assets/Thirdweb/Core/Scripts/AccountAbstraction/Core/SmartWallet.cs +++ b/Assets/Thirdweb/Core/Scripts/AccountAbstraction/Core/SmartWallet.cs @@ -51,7 +51,7 @@ public class SmartWallet public bool IsDeploying => _deploying; private readonly ThirdwebSDK _sdk; - private bool IsZkSync => _sdk.Session.ChainId == 300 || _sdk.Session.ChainId == 324; + private bool IsZkSync => Utils.IsZkSyncChain(_sdk.Session.ChainId); public SmartWallet(IThirdwebWallet personalWallet, ThirdwebSDK sdk) { diff --git a/Assets/Thirdweb/Core/Scripts/Utils.cs b/Assets/Thirdweb/Core/Scripts/Utils.cs index 08e945cf..4024879c 100644 --- a/Assets/Thirdweb/Core/Scripts/Utils.cs +++ b/Assets/Thirdweb/Core/Scripts/Utils.cs @@ -780,5 +780,10 @@ public static Nethereum.Contracts.Function GetFunctionMatchSignature(Nethereum.C } throw new UnityException($"Can't find function {functionName} in contract {contract.Address}, that takes: {paramsCount} arguments"); } + + public static bool IsZkSyncChain(BigInteger chainId) + { + return chainId == 324 || chainId == 300 || chainId == 302; + } } } diff --git a/Assets/Thirdweb/Core/Scripts/Wallet.cs b/Assets/Thirdweb/Core/Scripts/Wallet.cs index c46ab153..910535d9 100644 --- a/Assets/Thirdweb/Core/Scripts/Wallet.cs +++ b/Assets/Thirdweb/Core/Scripts/Wallet.cs @@ -493,7 +493,7 @@ public async Task SignTypedDataV4(T data, TypedData if (_sdk.Session.ActiveWallet.GetProvider() == WalletProvider.SmartWallet) { // Zk AA - if (_sdk.Session.ChainId == 300 || _sdk.Session.ChainId == 324) + if (Utils.IsZkSyncChain(_sdk.Session.ChainId)) { var hashToken = jsonObject.SelectToken("$.message.data"); if (hashToken != null) diff --git a/Assets/WebGLTemplates/Thirdweb/lib/thirdweb-unity-bridge.js b/Assets/WebGLTemplates/Thirdweb/lib/thirdweb-unity-bridge.js index d7f9f1dc..a543ceb0 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 TM0=Object.create;var fI=Object.defineProperty;var xM0=Object.getOwnPropertyDescriptor;var EM0=Object.getOwnPropertyNames;var _M0=Object.getPrototypeOf,AM0=Object.prototype.hasOwnProperty;var CM0=(t,e,n)=>e in t?fI(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Vd=(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 oe=(t,e)=>()=>(t&&(e=t(t=0)),e);var D=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),G0=(t,e)=>{for(var n in e)fI(t,n,{get:e[n],enumerable:!0})},xF=(t,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of EM0(e))!AM0.call(t,r)&&r!==n&&fI(t,r,{get:()=>e[r],enumerable:!(a=xM0(e,r))||a.enumerable});return t},$i=(t,e,n)=>(xF(t,e,"default"),n&&xF(n,e,"default")),Ee=(t,e,n)=>(n=t!=null?TM0(_M0(t)):{},xF(e||!t||!t.__esModule?fI(n,"default",{value:t,enumerable:!0}):n,t)),vn=t=>xF(fI({},"__esModule",{value:!0}),t);var ae=(t,e,n)=>(CM0(t,typeof e!="symbol"?e+"":e,n),n);var x,u=oe(()=>{x={env:"production"}});var kve=D(EF=>{"use strict";u();p();EF.byteLength=SM0;EF.toByteArray=MM0;EF.fromByteArray=PM0;var ou=[],m5=[],kM0=typeof Uint8Array<"u"?Uint8Array:Array,c0e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ry=0,Cve=c0e.length;ry0)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 SM0(t){var e=Ive(t),n=e[0],a=e[1];return(n+a)*3/4-a}function RM0(t,e,n){return(e+n)*3/4-n}function MM0(t){var e,n=Ive(t),a=n[0],r=n[1],f=new kM0(RM0(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=m5[t.charCodeAt(o)]<<2|m5[t.charCodeAt(o+1)]>>4,f[i++]=e&255),r===1&&(e=m5[t.charCodeAt(o)]<<10|m5[t.charCodeAt(o+1)]<<4|m5[t.charCodeAt(o+2)]>>2,f[i++]=e>>8&255,f[i++]=e&255),f}function BM0(t){return ou[t>>18&63]+ou[t>>12&63]+ou[t>>6&63]+ou[t&63]}function DM0(t,e,n){for(var a,r=[],f=e;fs?s:i+f));return a===1?(e=t[n-1],r.push(ou[e>>2]+ou[e<<4&63]+"==")):a===2&&(e=(t[n-2]<<8)+t[n-1],r.push(ou[e>>10]+ou[e>>4&63]+ou[e<<2&63]+"=")),r.join("")}});var Sve=D(d0e=>{u();p();d0e.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)};d0e.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 Qf=D(Uv=>{"use strict";u();p();var l0e=kve(),Ov=Sve(),Rve=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Uv.Buffer=n0;Uv.SlowBuffer=HM0;Uv.INSPECT_MAX_BYTES=50;var _F=2147483647;Uv.kMaxLength=_F;n0.TYPED_ARRAY_SUPPORT=LM0();!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 LM0(){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 Vp(t){if(t>_F)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 m0e(t)}return Dve(t,e,n)}n0.poolSize=8192;function Dve(t,e,n){if(typeof t=="string")return NM0(t,e);if(ArrayBuffer.isView(t))return OM0(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(cu(t,ArrayBuffer)||t&&cu(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(cu(t,SharedArrayBuffer)||t&&cu(t.buffer,SharedArrayBuffer)))return p0e(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=UM0(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 Dve(t,e,n)};Object.setPrototypeOf(n0.prototype,Uint8Array.prototype);Object.setPrototypeOf(n0,Uint8Array);function Pve(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 FM0(t,e,n){return Pve(t),t<=0?Vp(t):e!==void 0?typeof n=="string"?Vp(t).fill(e,n):Vp(t).fill(e):Vp(t)}n0.alloc=function(t,e,n){return FM0(t,e,n)};function m0e(t){return Pve(t),Vp(t<0?0:b0e(t)|0)}n0.allocUnsafe=function(t){return m0e(t)};n0.allocUnsafeSlow=function(t){return m0e(t)};function NM0(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!n0.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var n=Lve(t,e)|0,a=Vp(n),r=a.write(t,e);return r!==n&&(a=a.slice(0,r)),a}function u0e(t){for(var e=t.length<0?0:b0e(t.length)|0,n=Vp(e),a=0;a=_F)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+_F.toString(16)+" bytes");return t|0}function HM0(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(cu(e,Uint8Array)&&(e=n0.from(e,e.offset,e.byteLength)),cu(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 Lve(t,e){if(n0.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||cu(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 h0e(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return zve(t).length;default:if(r)return a?-1:h0e(t).length;e=(""+e).toLowerCase(),r=!0}}n0.byteLength=Lve;function zM0(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 JM0(this,e,n);case"utf8":case"utf-8":return Nve(this,e,n);case"ascii":return YM0(this,e,n);case"latin1":case"binary":return $M0(this,e,n);case"base64":return QM0(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return XM0(this,e,n);default:if(a)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}n0.prototype._isBuffer=!0;function fy(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+=" ... "),""};Rve&&(n0.prototype[Rve]=n0.prototype.inspect);n0.prototype.compare=function(e,n,a,r,f){if(cu(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,y0e(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:Mve(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):Mve(t,[e],n,a,r);throw new TypeError("val must be string, number or Buffer")}function Mve(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 WM0(this,e,n,a);case"utf8":case"utf-8":return qM0(this,e,n,a);case"ascii":case"latin1":case"binary":return jM0(this,e,n,a);case"base64":return GM0(this,e,n,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return KM0(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 QM0(t,e,n){return e===0&&n===t.length?l0e.fromByteArray(t):l0e.fromByteArray(t.slice(e,n))}function Nve(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 VM0(a)}var Bve=4096;function VM0(t){var e=t.length;if(e<=Bve)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||ls(e,n,this.length);for(var r=this[e],f=1,i=0;++i>>0,n=n>>>0,a||ls(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||ls(e,1,this.length),this[e]};n0.prototype.readUint16LE=n0.prototype.readUInt16LE=function(e,n){return e=e>>>0,n||ls(e,2,this.length),this[e]|this[e+1]<<8};n0.prototype.readUint16BE=n0.prototype.readUInt16BE=function(e,n){return e=e>>>0,n||ls(e,2,this.length),this[e]<<8|this[e+1]};n0.prototype.readUint32LE=n0.prototype.readUInt32LE=function(e,n){return e=e>>>0,n||ls(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||ls(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||ls(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||ls(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||ls(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};n0.prototype.readInt16LE=function(e,n){e=e>>>0,n||ls(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||ls(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||ls(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||ls(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||ls(e,4,this.length),Ov.read(this,e,!0,23,4)};n0.prototype.readFloatBE=function(e,n){return e=e>>>0,n||ls(e,4,this.length),Ov.read(this,e,!1,23,4)};n0.prototype.readDoubleLE=function(e,n){return e=e>>>0,n||ls(e,8,this.length),Ov.read(this,e,!0,52,8)};n0.prototype.readDoubleBE=function(e,n){return e=e>>>0,n||ls(e,8,this.length),Ov.read(this,e,!1,52,8)};function kc(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;kc(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;kc(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||kc(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||kc(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||kc(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||kc(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||kc(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);kc(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);kc(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||kc(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||kc(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||kc(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||kc(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||kc(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 Ove(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 Uve(t,e,n,a,r){return e=+e,n=n>>>0,r||Ove(t,e,n,4,34028234663852886e22,-34028234663852886e22),Ov.write(t,e,n,a,23,4),n+4}n0.prototype.writeFloatLE=function(e,n,a){return Uve(this,e,n,!0,a)};n0.prototype.writeFloatBE=function(e,n,a){return Uve(this,e,n,!1,a)};function Hve(t,e,n,a,r){return e=+e,n=n>>>0,r||Ove(t,e,n,8,17976931348623157e292,-17976931348623157e292),Ov.write(t,e,n,a,52,8),n+8}n0.prototype.writeDoubleLE=function(e,n,a){return Hve(this,e,n,!0,a)};n0.prototype.writeDoubleBE=function(e,n,a){return Hve(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 tB0(t){for(var e=[],n=0;n>8,r=n%256,f.push(r),f.push(a);return f}function zve(t){return l0e.toByteArray(eB0(t))}function AF(t,e,n,a){for(var r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function cu(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function y0e(t){return t!==t}var aB0=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 Kve=D((VLn,Gve)=>{u();p();var ui=Gve.exports={},du,lu;function g0e(){throw new Error("setTimeout has not been defined")}function v0e(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?du=setTimeout:du=g0e}catch{du=g0e}try{typeof clearTimeout=="function"?lu=clearTimeout:lu=v0e}catch{lu=v0e}})();function Wve(t){if(du===setTimeout)return setTimeout(t,0);if((du===g0e||!du)&&setTimeout)return du=setTimeout,setTimeout(t,0);try{return du(t,0)}catch{try{return du.call(null,t,0)}catch{return du.call(this,t,0)}}}function rB0(t){if(lu===clearTimeout)return clearTimeout(t);if((lu===v0e||!lu)&&clearTimeout)return lu=clearTimeout,clearTimeout(t);try{return lu(t)}catch{try{return lu.call(null,t)}catch{return lu.call(this,t)}}}var Yp=[],Hv=!1,iy,CF=-1;function fB0(){!Hv||!iy||(Hv=!1,iy.length?Yp=iy.concat(Yp):CF=-1,Yp.length&&qve())}function qve(){if(!Hv){var t=Wve(fB0);Hv=!0;for(var e=Yp.length;e;){for(iy=Yp,Yp=[];++CF1)for(var n=1;n{_=Ee(Qf()),I=Ee(Kve()),iB0=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=iB0});function oB0(t){Yve=t}function kF(){return Yve}function ft(t,e){let n=SF({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,kF(),iI].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 vB0(t,e){return!!((e==="v4"||!e)&&bB0.test(t)||(e==="v6"||!e)&&yB0.test(t))}function wB0(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 zv(t){if(t instanceof Sc){let e={};for(let n in t.shape){let a=t.shape[n];e[n]=Yd.create(zv(a))}return new Sc({...t._def,shape:()=>e})}else return t instanceof Xp?new Xp({...t._def,type:zv(t.element)}):t instanceof Yd?Yd.create(zv(t.unwrap())):t instanceof Zp?Zp.create(zv(t.unwrap())):t instanceof uu?uu.create(t.items.map(e=>zv(e))):t}function _0e(t,e){let n=h3(t),a=h3(e);if(t===e)return{valid:!0,data:t};if(n===tt.object&&a===tt.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=_0e(t[s],e[s]);if(!o.valid)return{valid:!1};i[s]=o.data}return{valid:!0,data:i}}else if(n===tt.array&&a===tt.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})})(T0e||(T0e={}));tt=Ma.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),h3=t=>{switch(typeof t){case"undefined":return tt.undefined;case"string":return tt.string;case"number":return isNaN(t)?tt.nan:tt.number;case"boolean":return tt.boolean;case"function":return tt.function;case"bigint":return tt.bigint;case"symbol":return tt.symbol;case"object":return Array.isArray(t)?tt.array:t===null?tt.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?tt.promise:typeof Map<"u"&&t instanceof Map?tt.map:typeof Set<"u"&&t instanceof Set?tt.set:typeof Date<"u"&&t instanceof Date?tt.date:tt.object;default:return tt.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"]),sB0=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),w6=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()}};w6.create=t=>new w6(t);iI=(t,e)=>{let n;switch(t.code){case D0.invalid_type:t.received===tt.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}},Yve=iI;SF=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}},cB0=[];Mo=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"}),$ve=t=>({status:"dirty",value:t}),O1=t=>({status:"valid",value:t}),x0e=t=>t.status==="aborted",E0e=t=>t.status==="dirty",sI=t=>t.status==="valid",RF=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={}));b5=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}},Qve=(t,e)=>{if(sI(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 w6(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 h3(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:h3(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Mo,ctx:{common:e.parent.common,data:e.data,parsedType:h3(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let n=this._parse(e);if(RF(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:h3(e)},f=this._parseSync({data:e,path:r.path,parent:r});return Qve(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:h3(e)},r=this._parse({data:e,path:a.path,parent:a}),f=await(RF(r)?r:Promise.resolve(r));return Qve(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 T6({schema:this,typeName:Lt.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return Yd.create(this,this._def)}nullable(){return Zp.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Xp.create(this,this._def)}promise(){return y3.create(this,this._def)}or(e){return py.create([this,e],this._def)}and(e){return hy.create(this,e,this._def)}transform(e){return new T6({...on(this._def),schema:this,typeName:Lt.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let n=typeof e=="function"?e:()=>e;return new vy({...on(this._def),innerType:this,defaultValue:n,typeName:Lt.ZodDefault})}brand(){return new PF({typeName:Lt.ZodBranded,type:this,...on(this._def)})}catch(e){let n=typeof e=="function"?e:()=>e;return new Kv({...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 oI.create(this,e)}readonly(){return Vv.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},dB0=/^c[^\s-]{8,}$/i,lB0=/^[a-z][a-z0-9]*$/,uB0=/^[0-9A-HJKMNP-TV-Z]{26}$/,pB0=/^[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,hB0=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,mB0="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",bB0=/^(((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}))$/,yB0=/^(([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})))$/,gB0=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$");m3=class t extends cn{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==tt.string){let f=this._getOrReturnCtx(e);return ft(f,{code:D0.invalid_type,expected:tt.string,received:f.parsedType}),Qt}let a=new Mo,r;for(let f of this._def.checks)if(f.kind==="min")e.data.lengthf.value&&(r=this._getOrReturnCtx(e,r),ft(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 m3({checks:[],typeName:Lt.ZodString,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...on(t)})};sy=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)!==tt.number){let f=this._getOrReturnCtx(e);return ft(f,{code:D0.invalid_type,expected:tt.number,received:f.parsedType}),Qt}let a,r=new Mo;for(let f of this._def.checks)f.kind==="int"?Ma.isInteger(e.data)||(a=this._getOrReturnCtx(e,a),ft(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),ft(a,{code:D0.too_big,maximum:f.value,type:"number",inclusive:f.inclusive,exact:!1,message:f.message}),r.dirty()):f.kind==="multipleOf"?wB0(e.data,f.value)!==0&&(a=this._getOrReturnCtx(e,a),ft(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),ft(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 sy({checks:[],typeName:Lt.ZodNumber,coerce:t?.coerce||!1,...on(t)});oy=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)!==tt.bigint){let f=this._getOrReturnCtx(e);return ft(f,{code:D0.invalid_type,expected:tt.bigint,received:f.parsedType}),Qt}let a,r=new Mo;for(let f of this._def.checks)f.kind==="min"?(f.inclusive?e.dataf.value:e.data>=f.value)&&(a=this._getOrReturnCtx(e,a),ft(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),ft(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 oy({checks:[],typeName:Lt.ZodBigInt,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...on(t)})};cy=class extends cn{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==tt.boolean){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.boolean,received:a.parsedType}),Qt}return O1(e.data)}};cy.create=t=>new cy({typeName:Lt.ZodBoolean,coerce:t?.coerce||!1,...on(t)});dy=class t extends cn{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==tt.date){let f=this._getOrReturnCtx(e);return ft(f,{code:D0.invalid_type,expected:tt.date,received:f.parsedType}),Qt}if(isNaN(e.data.getTime())){let f=this._getOrReturnCtx(e);return ft(f,{code:D0.invalid_date}),Qt}let a=new Mo,r;for(let f of this._def.checks)f.kind==="min"?e.data.getTime()f.value&&(r=this._getOrReturnCtx(e,r),ft(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 dy({checks:[],coerce:t?.coerce||!1,typeName:Lt.ZodDate,...on(t)});Wv=class extends cn{_parse(e){if(this._getType(e)!==tt.symbol){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.symbol,received:a.parsedType}),Qt}return O1(e.data)}};Wv.create=t=>new Wv({typeName:Lt.ZodSymbol,...on(t)});ly=class extends cn{_parse(e){if(this._getType(e)!==tt.undefined){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.undefined,received:a.parsedType}),Qt}return O1(e.data)}};ly.create=t=>new ly({typeName:Lt.ZodUndefined,...on(t)});uy=class extends cn{_parse(e){if(this._getType(e)!==tt.null){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.null,received:a.parsedType}),Qt}return O1(e.data)}};uy.create=t=>new uy({typeName:Lt.ZodNull,...on(t)});b3=class extends cn{constructor(){super(...arguments),this._any=!0}_parse(e){return O1(e.data)}};b3.create=t=>new b3({typeName:Lt.ZodAny,...on(t)});Jp=class extends cn{constructor(){super(...arguments),this._unknown=!0}_parse(e){return O1(e.data)}};Jp.create=t=>new Jp({typeName:Lt.ZodUnknown,...on(t)});$d=class extends cn{_parse(e){let n=this._getOrReturnCtx(e);return ft(n,{code:D0.invalid_type,expected:tt.never,received:n.parsedType}),Qt}};$d.create=t=>new $d({typeName:Lt.ZodNever,...on(t)});qv=class extends cn{_parse(e){if(this._getType(e)!==tt.undefined){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.void,received:a.parsedType}),Qt}return O1(e.data)}};qv.create=t=>new qv({typeName:Lt.ZodVoid,...on(t)});Xp=class t extends cn{_parse(e){let{ctx:n,status:a}=this._processInputParams(e),r=this._def;if(n.parsedType!==tt.array)return ft(n,{code:D0.invalid_type,expected:tt.array,received:n.parsedType}),Qt;if(r.exactLength!==null){let i=n.data.length>r.exactLength.value,s=n.data.lengthr.maxLength.value&&(ft(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 b5(n,i,n.path,s)))).then(i=>Mo.mergeArray(a,i));let f=[...n.data].map((i,s)=>r.type._parseSync(new b5(n,i,n.path,s)));return Mo.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)}};Xp.create=(t,e)=>new Xp({type:t,minLength:null,maxLength:null,exactLength:null,typeName:Lt.ZodArray,...on(e)});Sc=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)!==tt.object){let c=this._getOrReturnCtx(e);return ft(c,{code:D0.invalid_type,expected:tt.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 $d&&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 b5(r,l,r.path,c)),alwaysSet:c in r.data})}if(this._def.catchall instanceof $d){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&&(ft(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 b5(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=>Mo.mergeObjectSync(a,c)):Mo.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 zv(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 Yd;)f=f._def.innerType;n[a]=f}}),new t({...this._def,shape:()=>n})}keyof(){return Jve(Ma.objectKeys(this.shape))}};Sc.create=(t,e)=>new Sc({shape:()=>t,unknownKeys:"strip",catchall:$d.create(),typeName:Lt.ZodObject,...on(e)});Sc.strictCreate=(t,e)=>new Sc({shape:()=>t,unknownKeys:"strict",catchall:$d.create(),typeName:Lt.ZodObject,...on(e)});Sc.lazycreate=(t,e)=>new Sc({shape:t,unknownKeys:"strip",catchall:$d.create(),typeName:Lt.ZodObject,...on(e)});py=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 w6(s.ctx.common.issues));return ft(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 w6(o));return ft(n,{code:D0.invalid_union,unionErrors:s}),Qt}}get options(){return this._def.options}};py.create=(t,e)=>new py({options:t,typeName:Lt.ZodUnion,...on(e)});IF=t=>t instanceof my?IF(t.schema):t instanceof T6?IF(t.innerType()):t instanceof by?[t.value]:t instanceof yy?t.options:t instanceof gy?Object.keys(t.enum):t instanceof vy?IF(t._def.innerType):t instanceof ly?[void 0]:t instanceof uy?[null]:null,MF=class t extends cn{_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==tt.object)return ft(n,{code:D0.invalid_type,expected:tt.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}):(ft(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=IF(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)})}};hy=class extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e),r=(f,i)=>{if(x0e(f)||x0e(i))return Qt;let s=_0e(f.value,i.value);return s.valid?((E0e(f)||E0e(i))&&n.dirty(),{status:n.value,value:s.data}):(ft(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}))}};hy.create=(t,e,n)=>new hy({left:t,right:e,typeName:Lt.ZodIntersection,...on(n)});uu=class t extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==tt.array)return ft(a,{code:D0.invalid_type,expected:tt.array,received:a.parsedType}),Qt;if(a.data.lengththis._def.items.length&&(ft(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 b5(a,i,a.path,s)):null}).filter(i=>!!i);return a.common.async?Promise.all(f).then(i=>Mo.mergeArray(n,i)):Mo.mergeArray(n,f)}get items(){return this._def.items}rest(e){return new t({...this._def,rest:e})}};uu.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new uu({items:t,typeName:Lt.ZodTuple,rest:null,...on(e)})};BF=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!==tt.object)return ft(a,{code:D0.invalid_type,expected:tt.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 b5(a,s,a.path,s)),value:i._parse(new b5(a,a.data[s],a.path,s))});return a.common.async?Mo.mergeObjectAsync(n,r):Mo.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:m3.create(),valueType:e,typeName:Lt.ZodRecord,...on(n)})}},jv=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!==tt.map)return ft(a,{code:D0.invalid_type,expected:tt.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 b5(a,s,a.path,[c,"key"])),value:f._parse(new b5(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}}}};jv.create=(t,e,n)=>new jv({valueType:e,keyType:t,typeName:Lt.ZodMap,...on(n)});Gv=class t extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==tt.set)return ft(a,{code:D0.invalid_type,expected:tt.set,received:a.parsedType}),Qt;let r=this._def;r.minSize!==null&&a.data.sizer.maxSize.value&&(ft(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 b5(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)}};Gv.create=(t,e)=>new Gv({valueType:t,minSize:null,maxSize:null,typeName:Lt.ZodSet,...on(e)});DF=class t extends cn{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==tt.function)return ft(n,{code:D0.invalid_type,expected:tt.function,received:n.parsedType}),Qt;function a(s,o){return SF({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,kF(),iI].filter(c=>!!c),issueData:{code:D0.invalid_arguments,argumentsError:o}})}function r(s,o){return SF({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,kF(),iI].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 y3){let s=this;return O1(async function(...o){let c=new w6([]),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 O1(function(...o){let c=s._def.args.safeParse(o,f);if(!c.success)throw new w6([a(o,c.error)]);let d=Reflect.apply(i,this,c.data),l=s._def.returns.safeParse(d,f);if(!l.success)throw new w6([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:uu.create(e).rest(Jp.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||uu.create([]).rest(Jp.create()),returns:n||Jp.create(),typeName:Lt.ZodFunction,...on(a)})}},my=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})}};my.create=(t,e)=>new my({getter:t,typeName:Lt.ZodLazy,...on(e)});by=class extends cn{_parse(e){if(e.data!==this._def.value){let n=this._getOrReturnCtx(e);return ft(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}};by.create=(t,e)=>new by({value:t,typeName:Lt.ZodLiteral,...on(e)});yy=class t extends cn{_parse(e){if(typeof e.data!="string"){let n=this._getOrReturnCtx(e),a=this._def.values;return ft(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 ft(n,{received:n.data,code:D0.invalid_enum_value,options:a}),Qt}return O1(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)))}};yy.create=Jve;gy=class extends cn{_parse(e){let n=Ma.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==tt.string&&a.parsedType!==tt.number){let r=Ma.objectValues(n);return ft(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 ft(a,{received:a.data,code:D0.invalid_enum_value,options:r}),Qt}return O1(e.data)}get enum(){return this._def.values}};gy.create=(t,e)=>new gy({values:t,typeName:Lt.ZodNativeEnum,...on(e)});y3=class extends cn{unwrap(){return this._def.type}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==tt.promise&&n.common.async===!1)return ft(n,{code:D0.invalid_type,expected:tt.promise,received:n.parsedType}),Qt;let a=n.parsedType===tt.promise?n.data:Promise.resolve(n.data);return O1(a.then(r=>this._def.type.parseAsync(r,{path:n.path,errorMap:n.common.contextualErrorMap})))}};y3.create=(t,e)=>new y3({type:t,typeName:Lt.ZodPromise,...on(e)});T6=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=>{ft(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(!sI(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=>sI(i)?Promise.resolve(r.transform(i.value,f)).then(s=>({status:n.value,value:s})):i);Ma.assertNever(r)}};T6.create=(t,e,n)=>new T6({schema:t,typeName:Lt.ZodEffects,effect:e,...on(n)});T6.createWithPreprocess=(t,e,n)=>new T6({schema:e,effect:{type:"preprocess",transform:t},typeName:Lt.ZodEffects,...on(n)});Yd=class extends cn{_parse(e){return this._getType(e)===tt.undefined?O1(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Yd.create=(t,e)=>new Yd({innerType:t,typeName:Lt.ZodOptional,...on(e)});Zp=class extends cn{_parse(e){return this._getType(e)===tt.null?O1(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Zp.create=(t,e)=>new Zp({innerType:t,typeName:Lt.ZodNullable,...on(e)});vy=class extends cn{_parse(e){let{ctx:n}=this._processInputParams(e),a=n.data;return n.parsedType===tt.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};vy.create=(t,e)=>new vy({innerType:t,typeName:Lt.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...on(e)});Kv=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 RF(r)?r.then(f=>({status:"valid",value:f.status==="valid"?f.value:this._def.catchValue({get error(){return new w6(a.common.issues)},input:a.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new w6(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}};Kv.create=(t,e)=>new Kv({innerType:t,typeName:Lt.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...on(e)});Qv=class extends cn{_parse(e){if(this._getType(e)!==tt.nan){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.nan,received:a.parsedType}),Qt}return{status:"valid",value:e.data}}};Qv.create=t=>new Qv({typeName:Lt.ZodNaN,...on(t)});TB0=Symbol("zod_brand"),PF=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}},oI=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(),$ve(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})}},Vv=class extends cn{_parse(e){let n=this._def.innerType._parse(e);return sI(n)&&(n.value=Object.freeze(n.value)),n}};Vv.create=(t,e)=>new Vv({innerType:t,typeName:Lt.ZodReadonly,...on(e)});Xve=(t,e={},n)=>t?b3.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})}}):b3.create(),xB0={object:Sc.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={}));EB0=(t,e={message:`Input not instance of ${t.name}`})=>Xve(n=>n instanceof t,e),Zve=m3.create,ewe=sy.create,_B0=Qv.create,AB0=oy.create,twe=cy.create,CB0=dy.create,IB0=Wv.create,kB0=ly.create,SB0=uy.create,RB0=b3.create,MB0=Jp.create,BB0=$d.create,DB0=qv.create,PB0=Xp.create,LB0=Sc.create,FB0=Sc.strictCreate,NB0=py.create,OB0=MF.create,UB0=hy.create,HB0=uu.create,zB0=BF.create,WB0=jv.create,qB0=Gv.create,jB0=DF.create,GB0=my.create,KB0=by.create,QB0=yy.create,VB0=gy.create,YB0=y3.create,Vve=T6.create,$B0=Yd.create,JB0=Zp.create,XB0=T6.createWithPreprocess,ZB0=oI.create,eD0=()=>Zve().optional(),tD0=()=>ewe().optional(),nD0=()=>twe().optional(),aD0={string:t=>m3.create({...t,coerce:!0}),number:t=>sy.create({...t,coerce:!0}),boolean:t=>cy.create({...t,coerce:!0}),bigint:t=>oy.create({...t,coerce:!0}),date:t=>dy.create({...t,coerce:!0})},rD0=Qt,fe=Object.freeze({__proto__:null,defaultErrorMap:iI,setErrorMap:oB0,getErrorMap:kF,makeIssue:SF,EMPTY_PATH:cB0,addIssueToContext:ft,ParseStatus:Mo,INVALID:Qt,DIRTY:$ve,OK:O1,isAborted:x0e,isDirty:E0e,isValid:sI,isAsync:RF,get util(){return Ma},get objectUtil(){return T0e},ZodParsedType:tt,getParsedType:h3,ZodType:cn,ZodString:m3,ZodNumber:sy,ZodBigInt:oy,ZodBoolean:cy,ZodDate:dy,ZodSymbol:Wv,ZodUndefined:ly,ZodNull:uy,ZodAny:b3,ZodUnknown:Jp,ZodNever:$d,ZodVoid:qv,ZodArray:Xp,ZodObject:Sc,ZodUnion:py,ZodDiscriminatedUnion:MF,ZodIntersection:hy,ZodTuple:uu,ZodRecord:BF,ZodMap:jv,ZodSet:Gv,ZodFunction:DF,ZodLazy:my,ZodLiteral:by,ZodEnum:yy,ZodNativeEnum:gy,ZodPromise:y3,ZodEffects:T6,ZodTransformer:T6,ZodOptional:Yd,ZodNullable:Zp,ZodDefault:vy,ZodCatch:Kv,ZodNaN:Qv,BRAND:TB0,ZodBranded:PF,ZodPipeline:oI,ZodReadonly:Vv,custom:Xve,Schema:cn,ZodSchema:cn,late:xB0,get ZodFirstPartyTypeKind(){return Lt},coerce:aD0,any:RB0,array:PB0,bigint:AB0,boolean:twe,date:CB0,discriminatedUnion:OB0,effect:Vve,enum:QB0,function:jB0,instanceof:EB0,intersection:UB0,lazy:GB0,literal:KB0,map:WB0,nan:_B0,nativeEnum:VB0,never:BB0,null:SB0,nullable:JB0,number:ewe,object:LB0,oboolean:nD0,onumber:tD0,optional:$B0,ostring:eD0,pipeline:ZB0,preprocess:XB0,promise:YB0,record:zB0,set:qB0,strictObject:FB0,string:Zve,symbol:IB0,transformer:Vve,tuple:HB0,undefined:kB0,union:NB0,unknown:MB0,void:DB0,NEVER:rD0,ZodIssueCode:D0,quotelessJson:sB0,ZodError:w6})});function A0e(){if(!LF&&(LF=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!LF))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return LF(fD0)}var LF,fD0,nwe=oe(()=>{u();p();fD0=new Uint8Array(16)});function awe(t,e=0){return $s[t[e+0]]+$s[t[e+1]]+$s[t[e+2]]+$s[t[e+3]]+"-"+$s[t[e+4]]+$s[t[e+5]]+"-"+$s[t[e+6]]+$s[t[e+7]]+"-"+$s[t[e+8]]+$s[t[e+9]]+"-"+$s[t[e+10]]+$s[t[e+11]]+$s[t[e+12]]+$s[t[e+13]]+$s[t[e+14]]+$s[t[e+15]]}var $s,rwe=oe(()=>{u();p();$s=[];for(let t=0;t<256;++t)$s.push((t+256).toString(16).slice(1))});var iD0,C0e,fwe=oe(()=>{u();p();iD0=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),C0e={randomUUID:iD0}});function sD0(t,e,n){if(C0e.randomUUID&&!e&&!t)return C0e.randomUUID();t=t||{};let a=t.random||(t.rng||A0e)();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 awe(a)}var Yv,iwe=oe(()=>{u();p();fwe();nwe();rwe();Yv=sD0});var I0e=oe(()=>{u();p();iwe()});var Va=D((swe,k0e)=>{u();p();(function(t,e){"use strict";function n(w,b){if(!w)throw new Error(b||"Assertion failed")}function a(w,b){w.super_=b;var A=function(){};A.prototype=b.prototype,w.prototype=new A,w.prototype.constructor=w}function r(w,b,A){if(r.isBN(w))return w;this.negative=0,this.words=null,this.length=0,this.red=null,w!==null&&((b==="le"||b==="be")&&(A=b,b=10),this._init(w||0,b||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=Qf().Buffer}catch{}r.isBN=function(b){return b instanceof r?!0:b!==null&&typeof b=="object"&&b.constructor.wordSize===r.wordSize&&Array.isArray(b.words)},r.max=function(b,A){return b.cmp(A)>0?b:A},r.min=function(b,A){return b.cmp(A)<0?b:A},r.prototype._init=function(b,A,P){if(typeof b=="number")return this._initNumber(b,A,P);if(typeof b=="object")return this._initArray(b,A,P);A==="hex"&&(A=16),n(A===(A|0)&&A>=2&&A<=36),b=b.toString().replace(/\s+/g,"");var L=0;b[0]==="-"&&(L++,this.negative=1),L=0;L-=3)g=b[L]|b[L-1]<<8|b[L-2]<<16,this.words[E]|=g<>>26-B&67108863,B+=24,B>=26&&(B-=26,E++);else if(P==="le")for(L=0,E=0;L>>26-B&67108863,B+=24,B>=26&&(B-=26,E++);return this._strip()};function i(w,b){var A=w.charCodeAt(b);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,b,A){var P=i(w,A);return A-1>=b&&(P|=i(w,A-1)<<4),P}r.prototype._parseHex=function(b,A,P){this.length=Math.ceil((b.length-A)/6),this.words=new Array(this.length);for(var L=0;L=A;L-=2)B=s(b,A,L)<=18?(E-=18,g+=1,this.words[g]|=B>>>26):E+=8;else{var M=b.length-A;for(L=M%2===0?A+1:A;L=18?(E-=18,g+=1,this.words[g]|=B>>>26):E+=8}this._strip()};function o(w,b,A,P){for(var L=0,E=0,g=Math.min(w.length,A),B=b;B=49?E=M-49+10:M>=17?E=M-17+10:E=M,n(M>=0&&E1&&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(b,A){b=b||10,A=A|0||1;var P;if(b===16||b==="hex"){P="";for(var L=0,E=0,g=0;g>>24-L&16777215,L+=2,L>=26&&(L-=26,g--),E!==0||g!==this.length-1?P=l[6-M.length]+M+P:P=M+P}for(E!==0&&(P=E.toString(16)+P);P.length%A!==0;)P="0"+P;return this.negative!==0&&(P="-"+P),P}if(b===(b|0)&&b>=2&&b<=36){var S=h[b],q=y[b];P="";var ee=this.clone();for(ee.negative=0;!ee.isZero();){var U=ee.modrn(q).toString(b);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 b=this.words[0];return this.length===2?b+=this.words[1]*67108864:this.length===3&&this.words[2]===1?b+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-b:b},r.prototype.toJSON=function(){return this.toString(16,2)},f&&(r.prototype.toBuffer=function(b,A){return this.toArrayLike(f,b,A)}),r.prototype.toArray=function(b,A){return this.toArrayLike(Array,b,A)};var v=function(b,A){return b.allocUnsafe?b.allocUnsafe(A):new b(A)};r.prototype.toArrayLike=function(b,A,P){this._strip();var L=this.byteLength(),E=P||Math.max(1,L);n(L<=E,"byte array longer than desired length"),n(E>0,"Requested array length <= 0");var g=v(b,E),B=A==="le"?"LE":"BE";return this["_toArrayLike"+B](g,L),g},r.prototype._toArrayLikeLE=function(b,A){for(var P=0,L=0,E=0,g=0;E>8&255),P>16&255),g===6?(P>24&255),L=0,g=0):(L=B>>>24,g+=2)}if(P=0&&(b[P--]=B>>8&255),P>=0&&(b[P--]=B>>16&255),g===6?(P>=0&&(b[P--]=B>>24&255),L=0,g=0):(L=B>>>24,g+=2)}if(P>=0)for(b[P--]=L;P>=0;)b[P--]=0},Math.clz32?r.prototype._countBits=function(b){return 32-Math.clz32(b)}:r.prototype._countBits=function(b){var A=b,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(b){if(b===0)return 26;var A=b,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 b=this.words[this.length-1],A=this._countBits(b);return(this.length-1)*26+A};function k(w){for(var b=new Array(w.bitLength()),A=0;A>>L&1}return b}r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var b=0,A=0;Ab.length?this.clone().ior(b):b.clone().ior(this)},r.prototype.uor=function(b){return this.length>b.length?this.clone().iuor(b):b.clone().iuor(this)},r.prototype.iuand=function(b){var A;this.length>b.length?A=b:A=this;for(var P=0;Pb.length?this.clone().iand(b):b.clone().iand(this)},r.prototype.uand=function(b){return this.length>b.length?this.clone().iuand(b):b.clone().iuand(this)},r.prototype.iuxor=function(b){var A,P;this.length>b.length?(A=this,P=b):(A=b,P=this);for(var L=0;Lb.length?this.clone().ixor(b):b.clone().ixor(this)},r.prototype.uxor=function(b){return this.length>b.length?this.clone().iuxor(b):b.clone().iuxor(this)},r.prototype.inotn=function(b){n(typeof b=="number"&&b>=0);var A=Math.ceil(b/26)|0,P=b%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(b){return this.clone().inotn(b)},r.prototype.setn=function(b,A){n(typeof b=="number"&&b>=0);var P=b/26|0,L=b%26;return this._expand(P+1),A?this.words[P]=this.words[P]|1<b.length?(P=this,L=b):(P=b,L=this);for(var E=0,g=0;g>>26;for(;E!==0&&g>>26;if(this.length=P.length,E!==0)this.words[this.length]=E,this.length++;else if(P!==this)for(;gb.length?this.clone().iadd(b):b.clone().iadd(this)},r.prototype.isub=function(b){if(b.negative!==0){b.negative=0;var A=this.iadd(b);return b.negative=1,A._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(b),this.negative=1,this._normSign();var P=this.cmp(b);if(P===0)return this.negative=0,this.length=1,this.words[0]=0,this;var L,E;P>0?(L=this,E=b):(L=b,E=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,b.length-1),J=Math.max(0,S-w.length+1);J<=U;J++){var Z=S-J|0;L=w.words[Z]|0,E=b.words[J]|0,g=L*E+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(b,A,P){var L=b.words,E=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=E[0]|0,Ve=w0&8191,me=w0>>>13,ye=E[1]|0,_e=ye&8191,ze=ye>>>13,je=E[2]|0,Ue=je&8191,m0=je>>>13,h0=E[3]|0,$e=h0&8191,M0=h0>>>13,P0=E[4]|0,t0=P0&8191,j0=P0>>>13,z0=E[5]|0,Ke=z0&8191,B0=z0>>>13,K0=E[6]|0,s0=K0&8191,J0=K0>>>13,Y0=E[7]|0,l0=Y0&8191,Q0=Y0>>>13,et=E[8]|0,p0=et&8191,Z0=et>>>13,Et=E[9]|0,$0=Et&8191,Tt=Et>>>13;P.negative=b.negative^A.negative,P.length=19,M=Math.imul(U,Ve),S=Math.imul(U,me),S=S+Math.imul(J,Ve)|0,q=Math.imul(J,me);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,me),S=S+Math.imul(ue,Ve)|0,q=Math.imul(ue,me),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,me),S=S+Math.imul(ie,Ve)|0,q=Math.imul(ie,me),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,m0)|0,S=S+Math.imul(J,Ue)|0,q=q+Math.imul(J,m0)|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,me),S=S+Math.imul(Ae,Ve)|0,q=Math.imul(Ae,me),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,m0)|0,S=S+Math.imul(ue,Ue)|0,q=q+Math.imul(ue,m0)|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,me),S=S+Math.imul(c0,Ve)|0,q=Math.imul(c0,me),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,m0)|0,S=S+Math.imul(ie,Ue)|0,q=q+Math.imul(ie,m0)|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,me),S=S+Math.imul(_0,Ve)|0,q=Math.imul(_0,me),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,m0)|0,S=S+Math.imul(Ae,Ue)|0,q=q+Math.imul(Ae,m0)|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,me),S=S+Math.imul(I0,Ve)|0,q=Math.imul(I0,me),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,m0)|0,S=S+Math.imul(c0,Ue)|0,q=q+Math.imul(c0,m0)|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,J0)|0,S=S+Math.imul(J,s0)|0,q=q+Math.imul(J,J0)|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,me),S=S+Math.imul(Te,Ve)|0,q=Math.imul(Te,me),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,m0)|0,S=S+Math.imul(_0,Ue)|0,q=q+Math.imul(_0,m0)|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,J0)|0,S=S+Math.imul(ue,s0)|0,q=q+Math.imul(ue,J0)|0,M=M+Math.imul(U,l0)|0,S=S+Math.imul(U,Q0)|0,S=S+Math.imul(J,l0)|0,q=q+Math.imul(J,Q0)|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,me),S=S+Math.imul(Qe,Ve)|0,q=Math.imul(Qe,me),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,m0)|0,S=S+Math.imul(I0,Ue)|0,q=q+Math.imul(I0,m0)|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,J0)|0,S=S+Math.imul(ie,s0)|0,q=q+Math.imul(ie,J0)|0,M=M+Math.imul(ne,l0)|0,S=S+Math.imul(ne,Q0)|0,S=S+Math.imul(ue,l0)|0,q=q+Math.imul(ue,Q0)|0,M=M+Math.imul(U,p0)|0,S=S+Math.imul(U,Z0)|0,S=S+Math.imul(J,p0)|0,q=q+Math.imul(J,Z0)|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,me),S=S+Math.imul(v0,Ve)|0,q=Math.imul(v0,me),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,m0)|0,S=S+Math.imul(Te,Ue)|0,q=q+Math.imul(Te,m0)|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,J0)|0,S=S+Math.imul(Ae,s0)|0,q=q+Math.imul(Ae,J0)|0,M=M+Math.imul(re,l0)|0,S=S+Math.imul(re,Q0)|0,S=S+Math.imul(ie,l0)|0,q=q+Math.imul(ie,Q0)|0,M=M+Math.imul(ne,p0)|0,S=S+Math.imul(ne,Z0)|0,S=S+Math.imul(ue,p0)|0,q=q+Math.imul(ue,Z0)|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,m0)|0,S=S+Math.imul(Qe,Ue)|0,q=q+Math.imul(Qe,m0)|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,J0)|0,S=S+Math.imul(c0,s0)|0,q=q+Math.imul(c0,J0)|0,M=M+Math.imul(de,l0)|0,S=S+Math.imul(de,Q0)|0,S=S+Math.imul(Ae,l0)|0,q=q+Math.imul(Ae,Q0)|0,M=M+Math.imul(re,p0)|0,S=S+Math.imul(re,Z0)|0,S=S+Math.imul(ie,p0)|0,q=q+Math.imul(ie,Z0)|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,m0),S=S+Math.imul(v0,Ue)|0,q=Math.imul(v0,m0),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,J0)|0,S=S+Math.imul(_0,s0)|0,q=q+Math.imul(_0,J0)|0,M=M+Math.imul(Be,l0)|0,S=S+Math.imul(Be,Q0)|0,S=S+Math.imul(c0,l0)|0,q=q+Math.imul(c0,Q0)|0,M=M+Math.imul(de,p0)|0,S=S+Math.imul(de,Z0)|0,S=S+Math.imul(Ae,p0)|0,q=q+Math.imul(Ae,Z0)|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,J0)|0,S=S+Math.imul(I0,s0)|0,q=q+Math.imul(I0,J0)|0,M=M+Math.imul(He,l0)|0,S=S+Math.imul(He,Q0)|0,S=S+Math.imul(_0,l0)|0,q=q+Math.imul(_0,Q0)|0,M=M+Math.imul(Be,p0)|0,S=S+Math.imul(Be,Z0)|0,S=S+Math.imul(c0,p0)|0,q=q+Math.imul(c0,Z0)|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,J0)|0,S=S+Math.imul(Te,s0)|0,q=q+Math.imul(Te,J0)|0,M=M+Math.imul(Ze,l0)|0,S=S+Math.imul(Ze,Q0)|0,S=S+Math.imul(I0,l0)|0,q=q+Math.imul(I0,Q0)|0,M=M+Math.imul(He,p0)|0,S=S+Math.imul(He,Z0)|0,S=S+Math.imul(_0,p0)|0,q=q+Math.imul(_0,Z0)|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 cf=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(cf>>>26)|0,cf&=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,J0)|0,S=S+Math.imul(Qe,s0)|0,q=q+Math.imul(Qe,J0)|0,M=M+Math.imul(he,l0)|0,S=S+Math.imul(he,Q0)|0,S=S+Math.imul(Te,l0)|0,q=q+Math.imul(Te,Q0)|0,M=M+Math.imul(Ze,p0)|0,S=S+Math.imul(Ze,Z0)|0,S=S+Math.imul(I0,p0)|0,q=q+Math.imul(I0,Z0)|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 Gf=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Gf>>>26)|0,Gf&=67108863,M=Math.imul(qe,s0),S=Math.imul(qe,J0),S=S+Math.imul(v0,s0)|0,q=Math.imul(v0,J0),M=M+Math.imul(Se,l0)|0,S=S+Math.imul(Se,Q0)|0,S=S+Math.imul(Qe,l0)|0,q=q+Math.imul(Qe,Q0)|0,M=M+Math.imul(he,p0)|0,S=S+Math.imul(he,Z0)|0,S=S+Math.imul(Te,p0)|0,q=q+Math.imul(Te,Z0)|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 Qs=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Qs>>>26)|0,Qs&=67108863,M=Math.imul(qe,l0),S=Math.imul(qe,Q0),S=S+Math.imul(v0,l0)|0,q=Math.imul(v0,Q0),M=M+Math.imul(Se,p0)|0,S=S+Math.imul(Se,Z0)|0,S=S+Math.imul(Qe,p0)|0,q=q+Math.imul(Qe,Z0)|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 Wd=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Wd>>>26)|0,Wd&=67108863,M=Math.imul(qe,p0),S=Math.imul(qe,Z0),S=S+Math.imul(v0,p0)|0,q=Math.imul(v0,Z0),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 qd=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(qd>>>26)|0,qd&=67108863,M=Math.imul(qe,$0),S=Math.imul(qe,Tt),S=S+Math.imul(v0,$0)|0,q=Math.imul(v0,Tt);var ru=(B+M|0)+((S&8191)<<13)|0;return B=(q+(S>>>13)|0)+(ru>>>26)|0,ru&=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]=cf,g[14]=Gf,g[15]=Qs,g[16]=Wd,g[17]=qd,g[18]=ru,B!==0&&(g[19]=B,P.length++),P};Math.imul||(F=O);function z(w,b,A){A.negative=b.negative^w.negative,A.length=w.length+b.length;for(var P=0,L=0,E=0;E>>26)|0,L+=g>>>26,g&=67108863}A.words[E]=B,P=g,g=L}return P!==0?A.words[E]=P:A.length--,A._strip()}function W(w,b,A){return z(w,b,A)}r.prototype.mulTo=function(b,A){var P,L=this.length+b.length;return this.length===10&&b.length===10?P=F(this,b,A):L<63?P=O(this,b,A):L<1024?P=z(this,b,A):P=W(this,b,A),P};function j(w,b){this.x=w,this.y=b}j.prototype.makeRBT=function(b){for(var A=new Array(b),P=r.prototype._countBits(b)-1,L=0;L>=1;return L},j.prototype.permute=function(b,A,P,L,E,g){for(var B=0;B>>1)E++;return 1<>>13,P[2*g+1]=E&8191,E=E>>>13;for(g=2*A;g>=26,P+=E/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(b){return this.clone().imuln(b)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(b){var A=k(b);if(A.length===0)return new r(1);for(var P=this,L=0;L=0);var A=b%26,P=(b-A)/26,L=67108863>>>26-A<<26-A,E;if(A!==0){var g=0;for(E=0;E>>26-A}g&&(this.words[E]=g,this.length++)}if(P!==0){for(E=this.length-1;E>=0;E--)this.words[E+P]=this.words[E];for(E=0;E=0);var L;A?L=(A-A%26)/26:L=0;var E=b%26,g=Math.min((b-E)/26,this.length),B=67108863^67108863>>>E<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-E|ee>>>E,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(b,A,P){return n(this.negative===0),this.iushrn(b,A,P)},r.prototype.shln=function(b){return this.clone().ishln(b)},r.prototype.ushln=function(b){return this.clone().iushln(b)},r.prototype.shrn=function(b){return this.clone().ishrn(b)},r.prototype.ushrn=function(b){return this.clone().iushrn(b)},r.prototype.testn=function(b){n(typeof b=="number"&&b>=0);var A=b%26,P=(b-A)/26,L=1<=0);var A=b%26,P=(b-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(b){if(n(typeof b=="number"),n(b<67108864),b<0)return this.iaddn(-b);if(this.negative!==0)return this.negative=0,this.iaddn(b),this.negative=1,this;if(this.words[0]-=b,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[E+P]=g&67108863}for(;E>26,this.words[E+P]=g&67108863;if(B===0)return this._strip();for(n(B===-1),B=0,E=0;E>26,this.words[E]=g&67108863;return this.negative=1,this._strip()},r.prototype._wordDiv=function(b,A){var P=this.length-b.length,L=this.clone(),E=b,g=E.words[E.length-1]|0,B=this._countBits(g);P=26-B,P!==0&&(E=E.ushln(P),L.iushln(P),g=E.words[E.length-1]|0);var M=L.length-E.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[E.length+U]|0)*67108864+(L.words[E.length+U-1]|0);for(J=Math.min(J/g|0,67108863),L._ishlnsubmul(E,J,U);L.negative!==0;)J--,L.negative=0,L._ishlnsubmul(E,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(b,A,P){if(n(!b.isZero()),this.isZero())return{div:new r(0),mod:new r(0)};var L,E,g;return this.negative!==0&&b.negative===0?(g=this.neg().divmod(b,A),A!=="mod"&&(L=g.div.neg()),A!=="div"&&(E=g.mod.neg(),P&&E.negative!==0&&E.iadd(b)),{div:L,mod:E}):this.negative===0&&b.negative!==0?(g=this.divmod(b.neg(),A),A!=="mod"&&(L=g.div.neg()),{div:L,mod:g.mod}):this.negative&b.negative?(g=this.neg().divmod(b.neg(),A),A!=="div"&&(E=g.mod.neg(),P&&E.negative!==0&&E.isub(b)),{div:g.div,mod:E}):b.length>this.length||this.cmp(b)<0?{div:new r(0),mod:this}:b.length===1?A==="div"?{div:this.divn(b.words[0]),mod:null}:A==="mod"?{div:null,mod:new r(this.modrn(b.words[0]))}:{div:this.divn(b.words[0]),mod:new r(this.modrn(b.words[0]))}:this._wordDiv(b,A)},r.prototype.div=function(b){return this.divmod(b,"div",!1).div},r.prototype.mod=function(b){return this.divmod(b,"mod",!1).mod},r.prototype.umod=function(b){return this.divmod(b,"mod",!0).mod},r.prototype.divRound=function(b){var A=this.divmod(b);if(A.mod.isZero())return A.div;var P=A.div.negative!==0?A.mod.isub(b):A.mod,L=b.ushrn(1),E=b.andln(1),g=P.cmp(L);return g<0||E===1&&g===0?A.div:A.div.negative!==0?A.div.isubn(1):A.div.iaddn(1)},r.prototype.modrn=function(b){var A=b<0;A&&(b=-b),n(b<=67108863);for(var P=(1<<26)%b,L=0,E=this.length-1;E>=0;E--)L=(P*L+(this.words[E]|0))%b;return A?-L:L},r.prototype.modn=function(b){return this.modrn(b)},r.prototype.idivn=function(b){var A=b<0;A&&(b=-b),n(b<=67108863);for(var P=0,L=this.length-1;L>=0;L--){var E=(this.words[L]|0)+P*67108864;this.words[L]=E/b|0,P=E%b}return this._strip(),A?this.ineg():this},r.prototype.divn=function(b){return this.clone().idivn(b)},r.prototype.egcd=function(b){n(b.negative===0),n(!b.isZero());var A=this,P=b.clone();A.negative!==0?A=A.umod(b):A=A.clone();for(var L=new r(1),E=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()||E.isOdd())&&(L.iadd(S),E.isub(q)),L.iushrn(1),E.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),E.isub(B)):(P.isub(A),g.isub(L),B.isub(E))}return{a:g,b:B,gcd:P.iushln(M)}},r.prototype._invmp=function(b){n(b.negative===0),n(!b.isZero());var A=this,P=b.clone();A.negative!==0?A=A.umod(b):A=A.clone();for(var L=new r(1),E=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;)E.isOdd()&&E.iadd(g),E.iushrn(1);A.cmp(P)>=0?(A.isub(P),L.isub(E)):(P.isub(A),E.isub(L))}var ee;return A.cmpn(1)===0?ee=L:ee=E,ee.cmpn(0)<0&&ee.iadd(b),ee},r.prototype.gcd=function(b){if(this.isZero())return b.abs();if(b.isZero())return this.abs();var A=this.clone(),P=b.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 E=A.cmp(P);if(E<0){var g=A;A=P,P=g}else if(E===0||P.cmpn(1)===0)break;A.isub(P)}while(!0);return P.iushln(L)},r.prototype.invm=function(b){return this.egcd(b).a.umod(b)},r.prototype.isEven=function(){return(this.words[0]&1)===0},r.prototype.isOdd=function(){return(this.words[0]&1)===1},r.prototype.andln=function(b){return this.words[0]&b},r.prototype.bincn=function(b){n(typeof b=="number");var A=b%26,P=(b-A)/26,L=1<>>26,B&=67108863,this.words[g]=B}return E!==0&&(this.words[g]=E,this.length++),this},r.prototype.isZero=function(){return this.length===1&&this.words[0]===0},r.prototype.cmpn=function(b){var A=b<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&&(b=-b),n(b<=67108863,"Number is too big");var L=this.words[0]|0;P=L===b?0:Lb.length)return 1;if(this.length=0;P--){var L=this.words[P]|0,E=b.words[P]|0;if(L!==E){LE&&(A=1);break}}return A},r.prototype.gtn=function(b){return this.cmpn(b)===1},r.prototype.gt=function(b){return this.cmp(b)===1},r.prototype.gten=function(b){return this.cmpn(b)>=0},r.prototype.gte=function(b){return this.cmp(b)>=0},r.prototype.ltn=function(b){return this.cmpn(b)===-1},r.prototype.lt=function(b){return this.cmp(b)===-1},r.prototype.lten=function(b){return this.cmpn(b)<=0},r.prototype.lte=function(b){return this.cmp(b)<=0},r.prototype.eqn=function(b){return this.cmpn(b)===0},r.prototype.eq=function(b){return this.cmp(b)===0},r.red=function(b){return new T(b)},r.prototype.toRed=function(b){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),b.convertTo(this)._forceRed(b)},r.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(b){return this.red=b,this},r.prototype.forceRed=function(b){return n(!this.red,"Already a number in reduction context"),this._forceRed(b)},r.prototype.redAdd=function(b){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,b)},r.prototype.redIAdd=function(b){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,b)},r.prototype.redSub=function(b){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,b)},r.prototype.redISub=function(b){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,b)},r.prototype.redShl=function(b){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,b)},r.prototype.redMul=function(b){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,b),this.red.mul(this,b)},r.prototype.redIMul=function(b){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,b),this.red.imul(this,b)},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(b){return n(this.red&&!b.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,b)};var Q={k256:null,p224:null,p192:null,p25519:null};function V(w,b){this.name=w,this.p=new r(b,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 b=new r(null);return b.words=new Array(Math.ceil(this.n/13)),b},V.prototype.ireduce=function(b){var A=b,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(b,A){b.iushrn(this.n,0,A)},V.prototype.imulK=function(b){return b.imul(this.k)};function X(){V.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(X,V),X.prototype.split=function(b,A){for(var P=4194303,L=Math.min(b.length,9),E=0;E>>22,g=B}g>>>=22,b.words[E-10]=g,g===0&&b.length>10?b.length-=10:b.length-=9},X.prototype.imulK=function(b){b.words[b.length]=0,b.words[b.length+1]=0,b.length+=2;for(var A=0,P=0;P>>=26,b.words[P]=E,A=L}return A!==0&&(b.words[b.length++]=A),b},r._prime=function(b){if(Q[b])return Q[b];var A;if(b==="k256")A=new X;else if(b==="p224")A=new K;else if(b==="p192")A=new G;else if(b==="p25519")A=new R;else throw new Error("Unknown prime "+b);return Q[b]=A,A};function T(w){if(typeof w=="string"){var b=r._prime(w);this.m=b.p,this.prime=b}else n(w.gtn(1),"modulus must be greater than 1"),this.m=w,this.prime=null}T.prototype._verify1=function(b){n(b.negative===0,"red works only with positives"),n(b.red,"red works only with red numbers")},T.prototype._verify2=function(b,A){n((b.negative|A.negative)===0,"red works only with positives"),n(b.red&&b.red===A.red,"red works only with red numbers")},T.prototype.imod=function(b){return this.prime?this.prime.ireduce(b)._forceRed(this):(c(b,b.umod(this.m)._forceRed(this)),b)},T.prototype.neg=function(b){return b.isZero()?b.clone():this.m.sub(b)._forceRed(this)},T.prototype.add=function(b,A){this._verify2(b,A);var P=b.add(A);return P.cmp(this.m)>=0&&P.isub(this.m),P._forceRed(this)},T.prototype.iadd=function(b,A){this._verify2(b,A);var P=b.iadd(A);return P.cmp(this.m)>=0&&P.isub(this.m),P},T.prototype.sub=function(b,A){this._verify2(b,A);var P=b.sub(A);return P.cmpn(0)<0&&P.iadd(this.m),P._forceRed(this)},T.prototype.isub=function(b,A){this._verify2(b,A);var P=b.isub(A);return P.cmpn(0)<0&&P.iadd(this.m),P},T.prototype.shl=function(b,A){return this._verify1(b),this.imod(b.ushln(A))},T.prototype.imul=function(b,A){return this._verify2(b,A),this.imod(b.imul(A))},T.prototype.mul=function(b,A){return this._verify2(b,A),this.imod(b.mul(A))},T.prototype.isqr=function(b){return this.imul(b,b.clone())},T.prototype.sqr=function(b){return this.mul(b,b)},T.prototype.sqrt=function(b){if(b.isZero())return b.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(b,P)}for(var L=this.m.subn(1),E=0;!L.isZero()&&L.andln(1)===0;)E++,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(b,L.addn(1).iushrn(1)),U=this.pow(b,L),J=E;U.cmp(g)!==0;){for(var Z=U,ne=0;Z.cmp(g)!==0;ne++)Z=Z.redSqr();n(ne=0;E--){for(var q=A.words[E],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&&(E!==0||ee!==0))&&(g=this.mul(g,L[B]),M=0,B=0)}S=26}return g},T.prototype.convertTo=function(b){var A=b.umod(this.m);return A===b?A.clone():A},T.prototype.convertFrom=function(b){var A=b.clone();return A.red=null,A},r.mont=function(b){return new N(b)};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(b){return this.imod(b.ushln(this.shift))},N.prototype.convertFrom=function(b){var A=this.imod(b.mul(this.rinv));return A.red=null,A},N.prototype.imul=function(b,A){if(b.isZero()||A.isZero())return b.words[0]=0,b.length=1,b;var P=b.imul(A),L=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),E=P.isub(L).iushrn(this.shift),g=E;return E.cmp(this.m)>=0?g=E.isub(this.m):E.cmpn(0)<0&&(g=E.iadd(this.m)),g._forceRed(this)},N.prototype.mul=function(b,A){if(b.isZero()||A.isZero())return new r(0)._forceRed(this);var P=b.mul(A),L=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),E=P.isub(L).iushrn(this.shift),g=E;return E.cmp(this.m)>=0?g=E.isub(this.m):E.cmpn(0)<0&&(g=E.iadd(this.m)),g._forceRed(this)},N.prototype.invm=function(b){var A=this.imod(b._invmp(this.m).mul(this.r2));return A._forceRed(this)}})(typeof k0e>"u"||k0e,swe)});var owe=D(FF=>{"use strict";u();p();Object.defineProperty(FF,"__esModule",{value:!0});FF.version=void 0;FF.version="logger/5.7.0"});var Ft=D(hu=>{"use strict";u();p();Object.defineProperty(hu,"__esModule",{value:!0});hu.Logger=hu.ErrorCode=hu.LogLevel=void 0;var cwe=!1,dwe=!1,NF={debug:1,default:2,info:2,warning:3,error:4,off:5},lwe=NF.default,oD0=owe(),S0e=null;function cD0(){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 uwe=cD0(),hwe;(function(t){t.DEBUG="DEBUG",t.INFO="INFO",t.WARNING="WARNING",t.ERROR="ERROR",t.OFF="OFF"})(hwe=hu.LogLevel||(hu.LogLevel={}));var pu;(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"})(pu=hu.ErrorCode||(hu.ErrorCode={}));var pwe="0123456789abcdef",dD0=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();NF[a]==null&&this.throwArgumentError("invalid log level name","logLevel",e),!(lwe>NF[a])&&console.log.apply(console,n)},t.prototype.debug=function(){for(var e=[],n=0;n>4],l+=pwe[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 pu.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 pu.CALL_EXCEPTION:case pu.INSUFFICIENT_FUNDS:case pu.MISSING_NEW:case pu.NONCE_EXPIRED:case pu.REPLACEMENT_UNDERPRICED:case pu.TRANSACTION_REPLACED:case pu.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"),uwe&&this.throwError("platform missing String.prototype.normalize",t.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:uwe})},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 S0e||(S0e=new t(oD0.version)),S0e},t.setCensorship=function(e,n){if(!e&&n&&this.globalLogger().throwError("cannot permanently disable censorship",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),cwe){if(!e)return;this.globalLogger().throwError("error censorship permanent",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}dwe=!!e,cwe=!!n},t.setLogLevel=function(e){var n=NF[e.toLowerCase()];if(n==null){t.globalLogger().warn("invalid log level - "+e);return}lwe=n},t.from=function(e){return new t(e)},t.errors=pu,t.levels=hwe,t}();hu.Logger=dD0});var mwe=D(OF=>{"use strict";u();p();Object.defineProperty(OF,"__esModule",{value:!0});OF.version=void 0;OF.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 lD0=Ft(),uD0=mwe(),Vf=new lD0.Logger(uD0.version);function ywe(t){return!!t.toHexString}function $v(t){return t.slice||(t.slice=function(){var e=Array.prototype.slice.call(arguments);return $v(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function gwe(t){return Xd(t)&&!(t.length%2)||HF(t)}ga.isBytesLike=gwe;function bwe(t){return typeof t=="number"&&t==t&&t%1===0}function HF(t){if(t==null)return!1;if(t.constructor===Uint8Array)return!0;if(typeof t=="string"||!bwe(t.length)||t.length<0)return!1;for(var e=0;e=256)return!1}return!0}ga.isBytes=HF;function wy(t,e){if(e||(e={}),typeof t=="number"){Vf.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),$v(new Uint8Array(n))}if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),ywe(t)&&(t=t.toHexString()),Xd(t)){var a=t.substring(2);a.length%2&&(e.hexPad==="left"?a="0"+a:e.hexPad==="right"?a+="0":Vf.throwArgumentError("hex data is odd-length","value",t));for(var n=[],r=0;re&&Vf.throwArgumentError("value out of range","value",arguments[0]);var n=new Uint8Array(e);return n.set(t,e-t.length),$v(n)}ga.zeroPad=wwe;function Xd(t,e){return!(typeof t!="string"||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}ga.isHexString=Xd;var R0e="0123456789abcdef";function Bo(t,e){if(e||(e={}),typeof t=="number"){Vf.checkSafeUint53(t,"invalid hexlify value");for(var n="";t;)n=R0e[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),ywe(t))return t.toHexString();if(Xd(t))return t.length%2&&(e.hexPad==="left"?t="0x0"+t.substring(2):e.hexPad==="right"?t+="0":Vf.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(HF(t)){for(var a="0x",r=0;r>4]+R0e[f&15]}return a}return Vf.throwArgumentError("invalid hexlify value","value",t)}ga.hexlify=Bo;function hD0(t){if(typeof t!="string")t=Bo(t);else if(!Xd(t)||t.length%2)return null;return(t.length-2)/2}ga.hexDataLength=hD0;function mD0(t,e,n){return typeof t!="string"?t=Bo(t):(!Xd(t)||t.length%2)&&Vf.throwArgumentError("invalid hexData","value",t),e=2+2*e,n!=null?"0x"+t.substring(e,2+2*n):"0x"+t.substring(e)}ga.hexDataSlice=mD0;function bD0(t){var e="0x";return t.forEach(function(n){e+=Bo(n).substring(2)}),e}ga.hexConcat=bD0;function yD0(t){var e=Twe(Bo(t,{hexPad:"left"}));return e==="0x"?"0x0":e}ga.hexValue=yD0;function Twe(t){typeof t!="string"&&(t=Bo(t)),Xd(t)||Vf.throwArgumentError("invalid hex string","value",t),t=t.substring(2);for(var e=0;e2*e+2&&Vf.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}ga.hexZeroPad=UF;function xwe(t){var e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(gwe(t)){var n=wy(t);n.length===64?(e.v=27+(n[32]>>7),n[32]&=127,e.r=Bo(n.slice(0,32)),e.s=Bo(n.slice(32,64))):n.length===65?(e.r=Bo(n.slice(0,32)),e.s=Bo(n.slice(32,64)),e.v=n[64]):Vf.throwArgumentError("invalid signature string","signature",t),e.v<27&&(e.v===0||e.v===1?e.v+=27:Vf.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(n[32]|=128),e._vs=Bo(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=wwe(wy(e._vs),32);e._vs=Bo(a);var r=a[0]>=128?1:0;e.recoveryParam==null?e.recoveryParam=r:e.recoveryParam!==r&&Vf.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),a[0]&=127;var f=Bo(a);e.s==null?e.s=f:e.s!==f&&Vf.throwArgumentError("signature v mismatch _vs","signature",t)}if(e.recoveryParam==null)e.v==null?Vf.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&&Vf.throwArgumentError("signature recoveryParam mismatch v","signature",t)}e.r==null||!Xd(e.r)?Vf.throwArgumentError("signature missing or invalid r","signature",t):e.r=UF(e.r,32),e.s==null||!Xd(e.s)?Vf.throwArgumentError("signature missing or invalid s","signature",t):e.s=UF(e.s,32);var s=wy(e.s);s[0]>=128&&Vf.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(s[0]|=128);var o=Bo(s);e._vs&&(Xd(e._vs)||Vf.throwArgumentError("signature invalid _vs","signature",t),e._vs=UF(e._vs,32)),e._vs==null?e._vs=o:e._vs!==o&&Vf.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=xwe;function gD0(t){return t=xwe(t),Bo(vwe([t.r,t.s,t.recoveryParam?"0x1c":"0x1b"]))}ga.joinSignature=gD0});var M0e=D(zF=>{"use strict";u();p();Object.defineProperty(zF,"__esModule",{value:!0});zF.version=void 0;zF.version="bignumber/5.7.0"});var qF=D(g5=>{"use strict";u();p();var vD0=g5&&g5.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(g5,"__esModule",{value:!0});g5._base16To36=g5._base36To16=g5.BigNumber=g5.isBigNumberish=void 0;var wD0=vD0(Va()),cI=wD0.default.BN,Jv=Vt(),Xv=Ft(),TD0=M0e(),e8=new Xv.Logger(TD0.version),B0e={},Ewe=9007199254740991;function xD0(t){return t!=null&&(WF.isBigNumber(t)||typeof t=="number"&&t%1===0||typeof t=="string"&&!!t.match(/^-?[0-9]+$/)||(0,Jv.isHexString)(t)||typeof t=="bigint"||(0,Jv.isBytes)(t))}g5.isBigNumberish=xD0;var _we=!1,WF=function(){function t(e,n){e!==B0e&&e8.throwError("cannot call constructor directly; use BigNumber.from",Xv.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=n,this._isBigNumber=!0,Object.freeze(this)}return t.prototype.fromTwos=function(e){return Rc(Xn(this).fromTwos(e))},t.prototype.toTwos=function(e){return Rc(Xn(this).toTwos(e))},t.prototype.abs=function(){return this._hex[0]==="-"?t.from(this._hex.substring(1)):this},t.prototype.add=function(e){return Rc(Xn(this).add(Xn(e)))},t.prototype.sub=function(e){return Rc(Xn(this).sub(Xn(e)))},t.prototype.div=function(e){var n=t.from(e);return n.isZero()&&y5("division-by-zero","div"),Rc(Xn(this).div(Xn(e)))},t.prototype.mul=function(e){return Rc(Xn(this).mul(Xn(e)))},t.prototype.mod=function(e){var n=Xn(e);return n.isNeg()&&y5("division-by-zero","mod"),Rc(Xn(this).umod(n))},t.prototype.pow=function(e){var n=Xn(e);return n.isNeg()&&y5("negative-power","pow"),Rc(Xn(this).pow(n))},t.prototype.and=function(e){var n=Xn(e);return(this.isNegative()||n.isNeg())&&y5("unbound-bitwise-result","and"),Rc(Xn(this).and(n))},t.prototype.or=function(e){var n=Xn(e);return(this.isNegative()||n.isNeg())&&y5("unbound-bitwise-result","or"),Rc(Xn(this).or(n))},t.prototype.xor=function(e){var n=Xn(e);return(this.isNegative()||n.isNeg())&&y5("unbound-bitwise-result","xor"),Rc(Xn(this).xor(n))},t.prototype.mask=function(e){return(this.isNegative()||e<0)&&y5("negative-width","mask"),Rc(Xn(this).maskn(e))},t.prototype.shl=function(e){return(this.isNegative()||e<0)&&y5("negative-width","shl"),Rc(Xn(this).shln(e))},t.prototype.shr=function(e){return(this.isNegative()||e<0)&&y5("negative-width","shr"),Rc(Xn(this).shrn(e))},t.prototype.eq=function(e){return Xn(this).eq(Xn(e))},t.prototype.lt=function(e){return Xn(this).lt(Xn(e))},t.prototype.lte=function(e){return Xn(this).lte(Xn(e))},t.prototype.gt=function(e){return Xn(this).gt(Xn(e))},t.prototype.gte=function(e){return Xn(this).gte(Xn(e))},t.prototype.isNegative=function(){return this._hex[0]==="-"},t.prototype.isZero=function(){return Xn(this).isZero()},t.prototype.toNumber=function(){try{return Xn(this).toNumber()}catch{y5("overflow","toNumber",this.toString())}return null},t.prototype.toBigInt=function(){try{return BigInt(this.toString())}catch{}return e8.throwError("this platform does not support BigInt",Xv.Logger.errors.UNSUPPORTED_OPERATION,{value:this.toString()})},t.prototype.toString=function(){return arguments.length>0&&(arguments[0]===10?_we||(_we=!0,e8.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?e8.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",Xv.Logger.errors.UNEXPECTED_ARGUMENT,{}):e8.throwError("BigNumber.toString does not accept parameters",Xv.Logger.errors.UNEXPECTED_ARGUMENT,{})),Xn(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(B0e,dI(e)):e.match(/^-?[0-9]+$/)?new t(B0e,dI(new cI(e))):e8.throwArgumentError("invalid BigNumber string","value",e);if(typeof e=="number")return e%1&&y5("underflow","BigNumber.from",e),(e>=Ewe||e<=-Ewe)&&y5("overflow","BigNumber.from",e),t.from(String(e));var n=e;if(typeof n=="bigint")return t.from(n.toString());if((0,Jv.isBytes)(n))return t.from((0,Jv.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,Jv.isHexString)(a)||a[0]==="-"&&(0,Jv.isHexString)(a.substring(1))))return t.from(a)}return e8.throwArgumentError("invalid BigNumber value","value",e)},t.isBigNumber=function(e){return!!(e&&e._isBigNumber)},t}();g5.BigNumber=WF;function dI(t){if(typeof t!="string")return dI(t.toString(16));if(t[0]==="-")return t=t.substring(1),t[0]==="-"&&e8.throwArgumentError("invalid hex","value",t),t=dI(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 Rc(t){return WF.from(dI(t))}function Xn(t){var e=WF.from(t).toHexString();return e[0]==="-"?new cI("-"+e.substring(3),16):new cI(e.substring(2),16)}function y5(t,e,n){var a={fault:t,operation:e};return n!=null&&(a.value=n),e8.throwError(t,Xv.Logger.errors.NUMERIC_FAULT,a)}function ED0(t){return new cI(t,36).toString(16)}g5._base36To16=ED0;function _D0(t){return new cI(t,16).toString(36)}g5._base16To36=_D0});var Swe=D(bu=>{"use strict";u();p();Object.defineProperty(bu,"__esModule",{value:!0});bu.FixedNumber=bu.FixedFormat=bu.parseFixed=bu.formatFixed=void 0;var jF=Vt(),pI=Ft(),AD0=M0e(),U1=new pI.Logger(AD0.version),t8=qF(),lI={},Cwe=t8.BigNumber.from(0),Iwe=t8.BigNumber.from(-1);function kwe(t,e,n,a){var r={fault:e,operation:n};return a!==void 0&&(r.value=a),U1.throwError(t,pI.Logger.errors.NUMERIC_FAULT,r)}var uI="0";for(;uI.length<256;)uI+=uI;function D0e(t){if(typeof t!="number")try{t=t8.BigNumber.from(t).toNumber()}catch{}return typeof t=="number"&&t>=0&&t<=256&&!(t%1)?"1"+uI.substring(0,t):U1.throwArgumentError("invalid decimal size","decimals",t)}function GF(t,e){e==null&&(e=0);var n=D0e(e);t=t8.BigNumber.from(t);var a=t.lt(Cwe);a&&(t=t.mul(Iwe));for(var r=t.mod(n).toString();r.length2&&U1.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&&kwe("fractional component exceeds decimals","underflow","parseFixed"),i===""&&(i="0");i.length80&&U1.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",r),new t(lI,n,a,r)},t}();bu.FixedFormat=KF;var P0e=function(){function t(e,n,a,r){e!==lI&&U1.throwError("cannot use FixedNumber constructor; use FixedNumber.from",pI.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&&U1.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)},t.prototype.addUnsafe=function(e){this._checkFormat(e);var n=mu(this._value,this.format.decimals),a=mu(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=mu(this._value,this.format.decimals),a=mu(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=mu(this._value,this.format.decimals),a=mu(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=mu(this._value,this.format.decimals),a=mu(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(Awe.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(Awe.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)&&U1.throwArgumentError("invalid decimal count","decimals",e),n[1].length<=e)return this;var a=t.from("1"+uI.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&&U1.throwArgumentError("invalid byte width","width",e);var n=t8.BigNumber.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return(0,jF.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,t8.isBigNumberish)(n)&&(a=n,n=null),n==null&&(n=0),a==null&&(a="fixed"),t.fromString(GF(e,n),KF.from(a))},t.fromString=function(e,n){n==null&&(n="fixed");var a=KF.from(n),r=mu(e,a.decimals);!a.signed&&r.lt(Cwe)&&kwe("unsigned value cannot be negative","overflow","value",e);var f=null;a.signed?f=r.toTwos(a.width).toHexString():(f=r.toHexString(),f=(0,jF.hexZeroPad)(f,a.width/8));var i=GF(r,a.decimals);return new t(lI,f,i,a)},t.fromBytes=function(e,n){n==null&&(n="fixed");var a=KF.from(n);if((0,jF.arrayify)(e).length>a.width/8)throw new Error("overflow");var r=t8.BigNumber.from(e);a.signed&&(r=r.fromTwos(a.width));var f=r.toTwos((a.signed?0:1)+a.width).toHexString(),i=GF(r,a.decimals);return new t(lI,f,i,a)},t.from=function(e,n){if(typeof e=="string")return t.fromString(e,n);if((0,jF.isBytes)(e))return t.fromBytes(e,n);try{return t.fromValue(e,0,n)}catch(a){if(a.code!==pI.Logger.errors.INVALID_ARGUMENT)throw a}return U1.throwArgumentError("invalid FixedNumber value","value",e)},t.isFixedNumber=function(e){return!!(e&&e._isFixedNumber)},t}();bu.FixedNumber=P0e;var Awe=P0e.from(1),CD0=P0e.from("0.5")});var ia=D(Do=>{"use strict";u();p();Object.defineProperty(Do,"__esModule",{value:!0});Do._base36To16=Do._base16To36=Do.parseFixed=Do.FixedNumber=Do.FixedFormat=Do.formatFixed=Do.BigNumber=void 0;var ID0=qF();Object.defineProperty(Do,"BigNumber",{enumerable:!0,get:function(){return ID0.BigNumber}});var QF=Swe();Object.defineProperty(Do,"formatFixed",{enumerable:!0,get:function(){return QF.formatFixed}});Object.defineProperty(Do,"FixedFormat",{enumerable:!0,get:function(){return QF.FixedFormat}});Object.defineProperty(Do,"FixedNumber",{enumerable:!0,get:function(){return QF.FixedNumber}});Object.defineProperty(Do,"parseFixed",{enumerable:!0,get:function(){return QF.parseFixed}});var Rwe=qF();Object.defineProperty(Do,"_base16To36",{enumerable:!0,get:function(){return Rwe._base16To36}});Object.defineProperty(Do,"_base36To16",{enumerable:!0,get:function(){return Rwe._base36To16}})});var Mwe=D(VF=>{"use strict";u();p();Object.defineProperty(VF,"__esModule",{value:!0});VF.version=void 0;VF.version="properties/5.7.0"});var Ba=D(_i=>{"use strict";u();p();var kD0=_i&&_i.__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())})},SD0=_i&&_i.__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(JF,"__esModule",{value:!0});JF.version=void 0;JF.version="abi/5.7.0"});var rN=D(Ut=>{"use strict";u();p();var tN=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 O0e=ia(),UD0=Ba(),nN=Ft(),HD0=Zv(),sa=new nN.Logger(HD0.version),Ty={},Pwe={calldata:!0,memory:!0,storage:!0},zD0={calldata:!0,memory:!0};function XF(t,e){if(t==="bytes"||t==="string"){if(Pwe[e])return!0}else if(t==="address"){if(e==="payable")return!0}else if((t.indexOf("[")>=0||t==="tuple")&&zD0[e])return!0;return(Pwe[e]||e==="payable")&&sa.throwArgumentError("invalid modifier","name",e),!1}function WD0(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=O0e.BigNumber.from(n[1]),n[0]):t}function Nwe(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 Owe(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 eN=function(t){tN(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",nN.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=Owe(n);a.constant&&sa.throwArgumentError("constructor cannot be constant","value",n);var r={name:null,type:n.type,inputs:n.inputs?n.inputs.map(xy.fromObject):[],payable:a.payable,stateMutability:a.stateMutability,gas:n.gas?O0e.BigNumber.from(n.gas):null};return new e(Ty,r)},e.fromString=function(n){var a={type:"constructor"};n=Fwe(n,a);var r=n.match(bI);return(!r||r[1].trim()!=="constructor")&&sa.throwArgumentError("invalid constructor string","value",n),a.inputs=hI(r[2].trim(),!1),Nwe(r[3].trim(),a),e.fromObject(a)},e.isConstructorFragment=function(n){return n&&n._isFragment&&n.type==="constructor"},e}(aN);Ut.ConstructorFragment=eN;var F0e=function(t){tN(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=Owe(n),r={type:n.type,name:mI(n.name),constant:a.constant,inputs:n.inputs?n.inputs.map(xy.fromObject):[],outputs:n.outputs?n.outputs.map(xy.fromObject):[],payable:a.payable,stateMutability:a.stateMutability,gas:n.gas?O0e.BigNumber.from(n.gas):null};return new e(Ty,r)},e.fromString=function(n){var a={type:"function"};n=Fwe(n,a);var r=n.split(" returns ");r.length>2&&sa.throwArgumentError("invalid function string","value",n);var f=r[0].match(bI);if(f||sa.throwArgumentError("invalid function signature","value",n),a.name=f[1].trim(),a.name&&mI(a.name),a.inputs=hI(f[2],!1),Nwe(f[3].trim(),a),r.length>1){var i=r[1].match(bI);(i[1].trim()!=""||i[3].trim()!="")&&sa.throwArgumentError("unexpected tokens","value",n),a.outputs=hI(i[2],!1)}else a.outputs=[];return e.fromObject(a)},e.isFunctionFragment=function(n){return n&&n._isFragment&&n.type==="function"},e}(eN);Ut.FunctionFragment=F0e;function Lwe(t){var e=t.format();return(e==="Error(string)"||e==="Panic(uint256)")&&sa.throwArgumentError("cannot specify user defined "+e+" error","fragment",t),t}var N0e=function(t){tN(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:mI(n.name),inputs:n.inputs?n.inputs.map(xy.fromObject):[]};return Lwe(new e(Ty,a))},e.fromString=function(n){var a={type:"error"},r=n.match(bI);return r||sa.throwArgumentError("invalid error signature","value",n),a.name=r[1].trim(),a.name&&mI(a.name),a.inputs=hI(r[2],!1),Lwe(e.fromObject(a))},e.isErrorFragment=function(n){return n&&n._isFragment&&n.type==="error"},e}(aN);Ut.ErrorFragment=N0e;function ew(t){return t.match(/^uint($|[^1-9])/)?t="uint256"+t.substring(4):t.match(/^int($|[^1-9])/)&&(t="int256"+t.substring(3)),t}var jD0=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function mI(t){return(!t||!t.match(jD0))&&sa.throwArgumentError('invalid identifier "'+t+'"',"value",t),t}var bI=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");function GD0(t){t=t.trim();for(var e=[],n="",a=0,r=0;r{"use strict";u();p();Object.defineProperty(yu,"__esModule",{value:!0});yu.Reader=yu.Writer=yu.Coder=yu.checkResultErrors=void 0;var g3=Vt(),Uwe=ia(),yI=Ba(),U0e=Ft(),KD0=Zv(),H0e=new U0e.Logger(KD0.version);function QD0(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}yu.checkResultErrors=QD0;var VD0=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){H0e.throwArgumentError(e,this.localName,n)},t}();yu.Coder=VD0;var YD0=function(){function t(e){(0,yI.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,g3.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,g3.concat)(e._data))},t.prototype.writeBytes=function(e){var n=(0,g3.arrayify)(e),a=n.length%this.wordSize;return a&&(n=(0,g3.concat)([n,this._padding.slice(a)])),this._writeData(n)},t.prototype._getValue=function(e){var n=(0,g3.arrayify)(Uwe.BigNumber.from(e));return n.length>this.wordSize&&H0e.throwError("value out-of-bounds",U0e.Logger.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:n.length}),n.length%this.wordSize&&(n=(0,g3.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}();yu.Writer=YD0;var $D0=function(){function t(e,n,a,r){(0,yI.defineReadOnly)(this,"_data",(0,g3.arrayify)(e)),(0,yI.defineReadOnly)(this,"wordSize",n||32),(0,yI.defineReadOnly)(this,"_coerceFunc",a),(0,yI.defineReadOnly)(this,"allowLoose",r),this._offset=0}return Object.defineProperty(t.prototype,"data",{get:function(){return(0,g3.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:H0e.throwError("data out-of-bounds",U0e.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 Uwe.BigNumber.from(this.readBytes(this.wordSize))},t}();yu.Reader=$D0});var Hwe=D((sNn,fN)=>{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 x=="object"&&x.versions&&x.versions.node;f?a=global:r&&(a=self);var i=!a.JS_SHA3_NO_COMMON_JS&&typeof fN=="object"&&fN.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 b["cshake"+U].update(ne,ue,Y,re)[Z]()}},X=function(U,J,Z){return function(ne,ue,Y,re){return b["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,me,ye,_e,ze,je,Ue,m0,h0,$e,M0,P0,t0,j0,z0,Ke,B0,K0,s0,J0,Y0,l0,Q0,et,p0,Z0,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,K0=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,J0=U[23]<<10|U[22]>>>22,Ve=U[33]<<13|U[32]>>>19,me=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,Z0=U[4]<<30|U[5]>>>2,Ue=U[14]<<6|U[15]>>>26,m0=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,Q0=U[47]<<24|U[46]>>>8,et=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^~m0&$e,U[30]=z0^~B0&s0,U[31]=Ke^~K0&J0,U[40]=p0^~Et&Tt,U[41]=Z0^~$0&Pn,U[2]=_0^~Ze&pe,U[3]=L0^~I0&he,U[12]=u0^~v0&Ve,U[13]=qe^~w0&me,U[22]=Ue^~h0&M0,U[23]=m0^~$e&P0,U[32]=B0^~s0&Y0,U[33]=K0^~J0&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^~me&_e,U[24]=h0^~M0&t0,U[25]=$e^~P0&j0,U[34]=s0^~Y0&Q0,U[35]=J0^~l0&et,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]=me^~_e&Qe,U[26]=M0^~t0&ze,U[27]=P0^~j0&je,U[36]=Y0^~Q0&z0,U[37]=l0^~et&Ke,U[46]=Ln^~Nn&p0,U[47]=Fn^~On&Z0,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&m0,U[38]=Q0^~z0&B0,U[39]=et^~Ke&K0,U[48]=Nn^~p0&Et,U[49]=On^~Z0&$0,U[0]^=k[ne],U[1]^=k[ne+1]};if(i)fN.exports=b;else{for(P=0;P{"use strict";u();p();var JD0=tw&&tw.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(tw,"__esModule",{value:!0});tw.keccak256=void 0;var XD0=JD0(Hwe()),ZD0=Vt();function eP0(t){return"0x"+XD0.default.keccak_256((0,ZD0.arrayify)(t))}tw.keccak256=eP0});var zwe=D(iN=>{"use strict";u();p();Object.defineProperty(iN,"__esModule",{value:!0});iN.version=void 0;iN.version="rlp/5.7.0"});var gI=D(nw=>{"use strict";u();p();Object.defineProperty(nw,"__esModule",{value:!0});nw.decode=nw.encode=void 0;var Ey=Vt(),n8=Ft(),tP0=zwe(),gu=new n8.Logger(tP0.version);function Wwe(t){for(var e=[];t;)e.unshift(t&255),t>>=8;return e}function qwe(t,e,n){for(var a=0,r=0;re+1+a&&gu.throwError("child data too short",n8.Logger.errors.BUFFER_OVERRUN,{})}return{consumed:1+a,result:r}}function Kwe(t,e){if(t.length===0&&gu.throwError("data too short",n8.Logger.errors.BUFFER_OVERRUN,{}),t[e]>=248){var n=t[e]-247;e+1+n>t.length&&gu.throwError("data short segment too short",n8.Logger.errors.BUFFER_OVERRUN,{});var a=qwe(t,e+1,n);return e+1+n+a>t.length&&gu.throwError("data long segment too short",n8.Logger.errors.BUFFER_OVERRUN,{}),jwe(t,e,e+1+n,n+a)}else if(t[e]>=192){var r=t[e]-192;return e+1+r>t.length&&gu.throwError("data array too short",n8.Logger.errors.BUFFER_OVERRUN,{}),jwe(t,e,e+1,r)}else if(t[e]>=184){var n=t[e]-183;e+1+n>t.length&&gu.throwError("data array too short",n8.Logger.errors.BUFFER_OVERRUN,{});var f=qwe(t,e+1,n);e+1+n+f>t.length&&gu.throwError("data array too short",n8.Logger.errors.BUFFER_OVERRUN,{});var i=(0,Ey.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&&gu.throwError("data too short",n8.Logger.errors.BUFFER_OVERRUN,{});var i=(0,Ey.hexlify)(t.slice(e+1,e+1+s));return{consumed:1+s,result:i}}return{consumed:1,result:(0,Ey.hexlify)(t[e])}}function aP0(t){var e=(0,Ey.arrayify)(t),n=Kwe(e,0);return n.consumed!==e.length&&gu.throwArgumentError("invalid rlp data","data",t),n.result}nw.decode=aP0});var Qwe=D(sN=>{"use strict";u();p();Object.defineProperty(sN,"__esModule",{value:!0});sN.version=void 0;sN.version="address/5.7.0"});var Po=D(w5=>{"use strict";u();p();Object.defineProperty(w5,"__esModule",{value:!0});w5.getCreate2Address=w5.getContractAddress=w5.getIcapAddress=w5.isAddress=w5.getAddress=void 0;var a8=Vt(),z0e=ia(),W0e=H1(),rP0=gI(),fP0=Ft(),iP0=Qwe(),v3=new fP0.Logger(iP0.version);function Vwe(t){(0,a8.isHexString)(t,20)||v3.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,a8.arrayify)((0,W0e.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 sP0=9007199254740991;function oP0(t){return Math.log10?Math.log10(t):Math.log(t)/Math.LN10}var q0e={};for(Zd=0;Zd<10;Zd++)q0e[String(Zd)]=String(Zd);var Zd;for(Zd=0;Zd<26;Zd++)q0e[String.fromCharCode(65+Zd)]=String(10+Zd);var Zd,Ywe=Math.floor(oP0(sP0));function $we(t){t=t.toUpperCase(),t=t.substring(4)+t.substring(0,2)+"00";for(var e=t.split("").map(function(r){return q0e[r]}).join("");e.length>=Ywe;){var n=e.substring(0,Ywe);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 _y(t){var e=null;if(typeof t!="string"&&v3.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))t.substring(0,2)!=="0x"&&(t="0x"+t),e=Vwe(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&v3.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)!==$we(t)&&v3.throwArgumentError("bad icap checksum","address",t),e=(0,z0e._base36To16)(t.substring(4));e.length<40;)e="0"+e;e=Vwe("0x"+e)}else v3.throwArgumentError("invalid address","address",t);return e}w5.getAddress=_y;function cP0(t){try{return _y(t),!0}catch{}return!1}w5.isAddress=cP0;function dP0(t){for(var e=(0,z0e._base16To36)(_y(t).substring(2)).toUpperCase();e.length<30;)e="0"+e;return"XE"+$we("XE00"+e)+e}w5.getIcapAddress=dP0;function lP0(t){var e=null;try{e=_y(t.from)}catch{v3.throwArgumentError("missing from address","transaction",t)}var n=(0,a8.stripZeros)((0,a8.arrayify)(z0e.BigNumber.from(t.nonce).toHexString()));return _y((0,a8.hexDataSlice)((0,W0e.keccak256)((0,rP0.encode)([e,n])),12))}w5.getContractAddress=lP0;function uP0(t,e,n){return(0,a8.hexDataLength)(e)!==32&&v3.throwArgumentError("salt must be 32 bytes","salt",e),(0,a8.hexDataLength)(n)!==32&&v3.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",n),_y((0,a8.hexDataSlice)((0,W0e.keccak256)((0,a8.concat)(["0xff",_y(t),e,n])),12))}w5.getCreate2Address=uP0});var Xwe=D(aw=>{"use strict";u();p();var pP0=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.AddressCoder=void 0;var Jwe=Po(),hP0=Vt(),mP0=v5(),bP0=function(t){pP0(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,Jwe.getAddress)(a)}catch(r){this._throwError(r.message,a)}return n.writeValue(a)},e.prototype.decode=function(n){return(0,Jwe.getAddress)((0,hP0.hexZeroPad)(n.readValue().toHexString(),20))},e}(mP0.Coder);aw.AddressCoder=bP0});var Zwe=D(rw=>{"use strict";u();p();var yP0=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.AnonymousCoder=void 0;var gP0=v5(),vP0=function(t){yP0(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}(gP0.Coder);rw.AnonymousCoder=vP0});var G0e=D(vu=>{"use strict";u();p();var wP0=vu&&vu.__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(vu,"__esModule",{value:!0});vu.ArrayCoder=vu.unpack=vu.pack=void 0;var iw=Ft(),TP0=Zv(),fw=new iw.Logger(TP0.version),j0e=v5(),xP0=Zwe();function eTe(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||fw.throwError("cannot encode object for signature with missing names",iw.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:c,value:n}),r[d]&&fw.throwError("cannot encode object for signature with duplicate names",iw.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:c,value:n}),r[d]=!0,n[d]})}else fw.throwArgumentError("invalid tuple value","tuple",n);e.length!==a.length&&fw.throwArgumentError("types/value length mismatch","tuple",n);var f=new j0e.Writer(t.wordSize),i=new j0e.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}vu.pack=eTe;function tTe(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===iw.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===iw.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&&fw.throwError("insufficient data length",iw.Logger.errors.BUFFER_OVERRUN,{length:n._data.length,count:a}));for(var r=[],f=0;f{"use strict";u();p();var _P0=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.BooleanCoder=void 0;var AP0=v5(),CP0=function(t){_P0(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}(AP0.Coder);sw.BooleanCoder=CP0});var K0e=D(w3=>{"use strict";u();p();var aTe=w3&&w3.__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(w3,"__esModule",{value:!0});w3.BytesCoder=w3.DynamicBytesCoder=void 0;var rTe=Vt(),IP0=v5(),fTe=function(t){aTe(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,rTe.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}(IP0.Coder);w3.DynamicBytesCoder=fTe;var kP0=function(t){aTe(e,t);function e(n){return t.call(this,"bytes",n)||this}return e.prototype.decode=function(n){return n.coerce(this.name,(0,rTe.hexlify)(t.prototype.decode.call(this,n)))},e}(fTe);w3.BytesCoder=kP0});var sTe=D(ow=>{"use strict";u();p();var SP0=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.FixedBytesCoder=void 0;var iTe=Vt(),RP0=v5(),MP0=function(t){SP0(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,iTe.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,iTe.hexlify)(n.readBytes(this.size)))},e}(RP0.Coder);ow.FixedBytesCoder=MP0});var oTe=D(cw=>{"use strict";u();p();var BP0=cw&&cw.__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(cw,"__esModule",{value:!0});cw.NullCoder=void 0;var DP0=v5(),PP0=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}(DP0.Coder);cw.NullCoder=PP0});var cTe=D(oN=>{"use strict";u();p();Object.defineProperty(oN,"__esModule",{value:!0});oN.AddressZero=void 0;oN.AddressZero="0x0000000000000000000000000000000000000000"});var dTe=D(us=>{"use strict";u();p();Object.defineProperty(us,"__esModule",{value:!0});us.MaxInt256=us.MinInt256=us.MaxUint256=us.WeiPerEther=us.Two=us.One=us.Zero=us.NegativeOne=void 0;var T3=ia(),LP0=T3.BigNumber.from(-1);us.NegativeOne=LP0;var FP0=T3.BigNumber.from(0);us.Zero=FP0;var NP0=T3.BigNumber.from(1);us.One=NP0;var OP0=T3.BigNumber.from(2);us.Two=OP0;var UP0=T3.BigNumber.from("1000000000000000000");us.WeiPerEther=UP0;var HP0=T3.BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");us.MaxUint256=HP0;var zP0=T3.BigNumber.from("-0x8000000000000000000000000000000000000000000000000000000000000000");us.MinInt256=zP0;var WP0=T3.BigNumber.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");us.MaxInt256=WP0});var lTe=D(cN=>{"use strict";u();p();Object.defineProperty(cN,"__esModule",{value:!0});cN.HashZero=void 0;cN.HashZero="0x0000000000000000000000000000000000000000000000000000000000000000"});var uTe=D(dN=>{"use strict";u();p();Object.defineProperty(dN,"__esModule",{value:!0});dN.EtherSymbol=void 0;dN.EtherSymbol="\u039E"});var E3=D(lf=>{"use strict";u();p();Object.defineProperty(lf,"__esModule",{value:!0});lf.EtherSymbol=lf.HashZero=lf.MaxInt256=lf.MinInt256=lf.MaxUint256=lf.WeiPerEther=lf.Two=lf.One=lf.Zero=lf.NegativeOne=lf.AddressZero=void 0;var qP0=cTe();Object.defineProperty(lf,"AddressZero",{enumerable:!0,get:function(){return qP0.AddressZero}});var x3=dTe();Object.defineProperty(lf,"NegativeOne",{enumerable:!0,get:function(){return x3.NegativeOne}});Object.defineProperty(lf,"Zero",{enumerable:!0,get:function(){return x3.Zero}});Object.defineProperty(lf,"One",{enumerable:!0,get:function(){return x3.One}});Object.defineProperty(lf,"Two",{enumerable:!0,get:function(){return x3.Two}});Object.defineProperty(lf,"WeiPerEther",{enumerable:!0,get:function(){return x3.WeiPerEther}});Object.defineProperty(lf,"MaxUint256",{enumerable:!0,get:function(){return x3.MaxUint256}});Object.defineProperty(lf,"MinInt256",{enumerable:!0,get:function(){return x3.MinInt256}});Object.defineProperty(lf,"MaxInt256",{enumerable:!0,get:function(){return x3.MaxInt256}});var jP0=lTe();Object.defineProperty(lf,"HashZero",{enumerable:!0,get:function(){return jP0.HashZero}});var GP0=uTe();Object.defineProperty(lf,"EtherSymbol",{enumerable:!0,get:function(){return GP0.EtherSymbol}})});var pTe=D(dw=>{"use strict";u();p();var KP0=dw&&dw.__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(dw,"__esModule",{value:!0});dw.NumberCoder=void 0;var QP0=ia(),lN=E3(),VP0=v5(),YP0=function(t){KP0(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=QP0.BigNumber.from(a),f=lN.MaxUint256.mask(n.wordSize*8);if(this.signed){var i=f.mask(this.size*8-1);(r.gt(i)||r.lt(i.add(lN.One).mul(lN.NegativeOne)))&&this._throwError("value out-of-bounds",a)}else(r.lt(lN.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}(VP0.Coder);dw.NumberCoder=YP0});var hTe=D(uN=>{"use strict";u();p();Object.defineProperty(uN,"__esModule",{value:!0});uN.version=void 0;uN.version="strings/5.7.0"});var hN=D(pi=>{"use strict";u();p();Object.defineProperty(pi,"__esModule",{value:!0});pi.toUtf8CodePoints=pi.toUtf8String=pi._toUtf8String=pi._toEscapedUtf8String=pi.toUtf8Bytes=pi.Utf8ErrorFuncs=pi.Utf8ErrorReason=pi.UnicodeNormalizationForm=void 0;var mTe=Vt(),$P0=Ft(),JP0=hTe(),bTe=new $P0.Logger(JP0.version),pN;(function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"})(pN=pi.UnicodeNormalizationForm||(pi.UnicodeNormalizationForm={}));var T5;(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"})(T5=pi.Utf8ErrorReason||(pi.Utf8ErrorReason={}));function XP0(t,e,n,a,r){return bTe.throwArgumentError("invalid codepoint at offset "+e+"; "+t,"bytes",n)}function yTe(t,e,n,a,r){if(t===T5.BAD_PREFIX||t===T5.UNEXPECTED_CONTINUE){for(var f=0,i=e+1;i>6===2;i++)f++;return f}return t===T5.OVERRUN?n.length-e-1:0}function ZP0(t,e,n,a,r){return t===T5.OVERLONG?(a.push(r),0):(a.push(65533),yTe(t,e,n,a,r))}pi.Utf8ErrorFuncs=Object.freeze({error:XP0,ignore:yTe,replace:ZP0});function V0e(t,e){e==null&&(e=pi.Utf8ErrorFuncs.error),t=(0,mTe.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(T5.UNEXPECTED_CONTINUE,a-1,t,n):a+=e(T5.BAD_PREFIX,a-1,t,n);continue}if(a-1+f>=t.length){a+=e(T5.OVERRUN,a-1,t,n);continue}for(var s=r&(1<<8-f-1)-1,o=0;o1114111){a+=e(T5.OUT_OF_RANGE,a-1-f,t,n,s);continue}if(s>=55296&&s<=57343){a+=e(T5.UTF16_SURROGATE,a-1-f,t,n,s);continue}if(s<=i){a+=e(T5.OVERLONG,a-1-f,t,n,s);continue}n.push(s)}}return n}function gTe(t,e){e===void 0&&(e=pN.current),e!=pN.current&&(bTe.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,mTe.arrayify)(n)}pi.toUtf8Bytes=gTe;function Q0e(t){var e="0000"+t.toString(16);return"\\u"+e.substring(e.length-4)}function eL0(t,e){return'"'+V0e(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?Q0e(n):(n-=65536,Q0e((n>>10&1023)+55296)+Q0e((n&1023)+56320))}).join("")+'"'}pi._toEscapedUtf8String=eL0;function vTe(t){return t.map(function(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10&1023)+55296,(e&1023)+56320))}).join("")}pi._toUtf8String=vTe;function tL0(t,e){return vTe(V0e(t,e))}pi.toUtf8String=tL0;function nL0(t,e){return e===void 0&&(e=pN.current),V0e(gTe(t,e))}pi.toUtf8CodePoints=nL0});var TTe=D(lw=>{"use strict";u();p();Object.defineProperty(lw,"__esModule",{value:!0});lw.parseBytes32String=lw.formatBytes32String=void 0;var aL0=E3(),Y0e=Vt(),wTe=hN();function rL0(t){var e=(0,wTe.toUtf8Bytes)(t);if(e.length>31)throw new Error("bytes32 string must be less than 32 bytes");return(0,Y0e.hexlify)((0,Y0e.concat)([e,aL0.HashZero]).slice(0,32))}lw.formatBytes32String=rL0;function fL0(t){var e=(0,Y0e.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,wTe.toUtf8String)(e.slice(0,n))}lw.parseBytes32String=fL0});var CTe=D(wu=>{"use strict";u();p();Object.defineProperty(wu,"__esModule",{value:!0});wu.nameprep=wu._nameprepTableC=wu._nameprepTableB2=wu._nameprepTableA1=void 0;var vI=hN();function iL0(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 sL0=xTe("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"),oL0="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map(function(t){return parseInt(t,16)}),cL0=[{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}],dL0=$0e("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"),lL0=$0e("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"),uL0=$0e("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",iL0),pL0=xTe("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 hL0(t){return t.reduce(function(e,n){return n.forEach(function(a){e.push(a)}),e},[])}function ETe(t){return!!J0e(t,sL0)}wu._nameprepTableA1=ETe;function _Te(t){var e=J0e(t,cL0);if(e)return[t+e.s];var n=dL0[t];if(n)return n;var a=lL0[t];if(a)return[t+a[0]];var r=uL0[t];return r||null}wu._nameprepTableB2=_Te;function ATe(t){return!!J0e(t,pL0)}wu._nameprepTableC=ATe;function mL0(t){if(t.match(/^[a-z0-9-]*$/i)&&t.length<=59)return t.toLowerCase();var e=(0,vI.toUtf8CodePoints)(t);e=hL0(e.map(function(a){if(oL0.indexOf(a)>=0)return[];if(a>=65024&&a<=65039)return[];var r=_Te(a);return r||[a]})),e=(0,vI.toUtf8CodePoints)((0,vI._toUtf8String)(e),vI.UnicodeNormalizationForm.NFKC),e.forEach(function(a){if(ATe(a))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")}),e.forEach(function(a){if(ETe(a))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")});var n=(0,vI._toUtf8String)(e);if(n.substring(0,1)==="-"||n.substring(2,4)==="--"||n.substring(n.length-1)==="-")throw new Error("invalid hyphen");return n}wu.nameprep=mL0});var Ai=D(Yf=>{"use strict";u();p();Object.defineProperty(Yf,"__esModule",{value:!0});Yf.nameprep=Yf.parseBytes32String=Yf.formatBytes32String=Yf.UnicodeNormalizationForm=Yf.Utf8ErrorReason=Yf.Utf8ErrorFuncs=Yf.toUtf8String=Yf.toUtf8CodePoints=Yf.toUtf8Bytes=Yf._toEscapedUtf8String=void 0;var ITe=TTe();Object.defineProperty(Yf,"formatBytes32String",{enumerable:!0,get:function(){return ITe.formatBytes32String}});Object.defineProperty(Yf,"parseBytes32String",{enumerable:!0,get:function(){return ITe.parseBytes32String}});var bL0=CTe();Object.defineProperty(Yf,"nameprep",{enumerable:!0,get:function(){return bL0.nameprep}});var Ay=hN();Object.defineProperty(Yf,"_toEscapedUtf8String",{enumerable:!0,get:function(){return Ay._toEscapedUtf8String}});Object.defineProperty(Yf,"toUtf8Bytes",{enumerable:!0,get:function(){return Ay.toUtf8Bytes}});Object.defineProperty(Yf,"toUtf8CodePoints",{enumerable:!0,get:function(){return Ay.toUtf8CodePoints}});Object.defineProperty(Yf,"toUtf8String",{enumerable:!0,get:function(){return Ay.toUtf8String}});Object.defineProperty(Yf,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return Ay.UnicodeNormalizationForm}});Object.defineProperty(Yf,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return Ay.Utf8ErrorFuncs}});Object.defineProperty(Yf,"Utf8ErrorReason",{enumerable:!0,get:function(){return Ay.Utf8ErrorReason}})});var STe=D(uw=>{"use strict";u();p();var yL0=uw&&uw.__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(uw,"__esModule",{value:!0});uw.StringCoder=void 0;var kTe=Ai(),gL0=K0e(),vL0=function(t){yL0(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,kTe.toUtf8Bytes)(a))},e.prototype.decode=function(n){return(0,kTe.toUtf8String)(t.prototype.decode.call(this,n))},e}(gL0.DynamicBytesCoder);uw.StringCoder=vL0});var MTe=D(pw=>{"use strict";u();p();var wL0=pw&&pw.__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(pw,"__esModule",{value:!0});pw.TupleCoder=void 0;var TL0=v5(),RTe=G0e(),xL0=function(t){wL0(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,RTe.pack)(n,this.coders,a)},e.prototype.decode=function(n){return n.coerce(this.name,(0,RTe.unpack)(n,this.coders))},e}(TL0.Coder);pw.TupleCoder=xL0});var Z0e=D(hw=>{"use strict";u();p();Object.defineProperty(hw,"__esModule",{value:!0});hw.defaultAbiCoder=hw.AbiCoder=void 0;var EL0=Vt(),_L0=Ba(),DTe=Ft(),AL0=Zv(),mN=new DTe.Logger(AL0.version),BTe=v5(),CL0=Xwe(),IL0=G0e(),kL0=nTe(),SL0=K0e(),RL0=sTe(),ML0=oTe(),BL0=pTe(),DL0=STe(),bN=MTe(),X0e=rN(),PL0=new RegExp(/^bytes([0-9]*)$/),LL0=new RegExp(/^(u?int)([0-9]*)$/),PTe=function(){function t(e){(0,_L0.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 kL0.BooleanCoder(e.name);case"string":return new DL0.StringCoder(e.name);case"bytes":return new SL0.BytesCoder(e.name);case"array":return new IL0.ArrayCoder(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new bN.TupleCoder((e.components||[]).map(function(f){return n._getCoder(f)}),e.name);case"":return new ML0.NullCoder(e.name)}var a=e.type.match(LL0);if(a){var r=parseInt(a[2]||"256");return(r===0||r>256||r%8!==0)&&mN.throwArgumentError("invalid "+a[1]+" bit length","param",e),new BL0.NumberCoder(r/8,a[1]==="int",e.name)}if(a=e.type.match(PL0),a){var r=parseInt(a[1]);return(r===0||r>32)&&mN.throwArgumentError("invalid bytes length","param",e),new RL0.FixedBytesCoder(r,e.name)}return mN.throwArgumentError("invalid type","type",e.type)},t.prototype._getWordSize=function(){return 32},t.prototype._getReader=function(e,n){return new BTe.Reader(e,this._getWordSize(),this.coerceFunc,n)},t.prototype._getWriter=function(){return new BTe.Writer(this._getWordSize())},t.prototype.getDefaultValue=function(e){var n=this,a=e.map(function(f){return n._getCoder(X0e.ParamType.from(f))}),r=new bN.TupleCoder(a,"_");return r.defaultValue()},t.prototype.encode=function(e,n){var a=this;e.length!==n.length&&mN.throwError("types/values length mismatch",DTe.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(X0e.ParamType.from(s))}),f=new bN.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(X0e.ParamType.from(s))}),i=new bN.TupleCoder(f,"_");return i.decode(this._getReader((0,EL0.arrayify)(n),a))},t}();hw.AbiCoder=PTe;hw.defaultAbiCoder=new PTe});var ete=D(yN=>{"use strict";u();p();Object.defineProperty(yN,"__esModule",{value:!0});yN.id=void 0;var FL0=H1(),NL0=Ai();function OL0(t){return(0,FL0.keccak256)((0,NL0.toUtf8Bytes)(t))}yN.id=OL0});var tte=D(gN=>{"use strict";u();p();Object.defineProperty(gN,"__esModule",{value:!0});gN.version=void 0;gN.version="hash/5.7.0"});var FTe=D(mw=>{"use strict";u();p();Object.defineProperty(mw,"__esModule",{value:!0});mw.encode=mw.decode=void 0;var LTe=Vt();function UL0(t){t=atob(t);for(var e=[],n=0;n{"use strict";u();p();Object.defineProperty(bw,"__esModule",{value:!0});bw.encode=bw.decode=void 0;var NTe=FTe();Object.defineProperty(bw,"decode",{enumerable:!0,get:function(){return NTe.decode}});Object.defineProperty(bw,"encode",{enumerable:!0,get:function(){return NTe.encode}})});var ate=D(ps=>{"use strict";u();p();Object.defineProperty(ps,"__esModule",{value:!0});ps.read_emoji_trie=ps.read_zero_terminated_array=ps.read_mapped_map=ps.read_member_array=ps.signed=ps.read_compressed_payload=ps.read_payload=ps.decode_arithmetic=void 0;function UTe(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 zL0(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}})}ps.decode_arithmetic=HTe;function zTe(t){var e=0;return function(){return t[e++]}}ps.read_payload=zTe;function WL0(t){return zTe(HTe(t))}ps.read_compressed_payload=WL0;function WTe(t){return t&1?~t>>1:t>>1}ps.signed=WTe;function qL0(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}}}ps.read_emoji_trie=VL0});var GTe=D(vN=>{"use strict";u();p();Object.defineProperty(vN,"__esModule",{value:!0});vN.getData=void 0;var YL0=wI(),$L0=ate();function JL0(){return(0,$L0.read_compressed_payload)((0,YL0.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=="))}vN.getData=JL0});var YTe=D(yw=>{"use strict";u();p();Object.defineProperty(yw,"__esModule",{value:!0});yw.ens_normalize=yw.ens_normalize_post_check=void 0;var XL0=Ai(),ZL0=GTe(),wN=(0,ZL0.getData)(),TN=ate(),eF0=new Set((0,TN.read_member_array)(wN)),tF0=new Set((0,TN.read_member_array)(wN)),nF0=(0,TN.read_mapped_map)(wN),aF0=(0,TN.read_emoji_trie)(wN),KTe=45,QTe=95;function VTe(t){return(0,XL0.toUtf8CodePoints)(t)}function rF0(t){return t.filter(function(e){return e!=65039})}function rte(t){for(var e=0,n=t.split(".");e=0;f--)if(r[f]!==QTe)throw new Error("underscore only allowed at start");if(r.length>=4&&r.every(function(i){return i<128})&&r[2]===KTe&&r[3]===KTe)throw new Error("invalid label extension")}catch(i){throw new Error('Invalid label "'+a+'": '+i.message)}}return t}yw.ens_normalize_post_check=rte;function fF0(t){return rte(iF0(t,rF0))}yw.ens_normalize=fF0;function iF0(t,e){for(var n=VTe(t).reverse(),a=[];n.length;){var r=oF0(n);if(r){a.push.apply(a,e(r));continue}var f=n.pop();if(eF0.has(f)){a.push(f);continue}if(!tF0.has(f)){var i=nF0[f];if(i){a.push.apply(a,i);continue}throw new Error("Disallowed codepoint: 0x"+f.toString(16).toUpperCase())}}return rte(sF0(String.fromCodePoint.apply(String,a)))}function sF0(t){return t.normalize("NFC")}function oF0(t,e){var n,a=aF0,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 fte=D(Tu=>{"use strict";u();p();Object.defineProperty(Tu,"__esModule",{value:!0});Tu.dnsEncode=Tu.namehash=Tu.isValidName=Tu.ensNormalize=void 0;var xN=Vt(),XTe=Ai(),$Te=H1(),cF0=Ft(),dF0=tte(),lF0=new cF0.Logger(dF0.version),uF0=YTe(),ZTe=new Uint8Array(32);ZTe.fill(0);function JTe(t){if(t.length===0)throw new Error("invalid ENS name; empty component");return t}function EN(t){var e=(0,XTe.toUtf8Bytes)((0,uF0.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(JTe(e.slice(a))),n}function pF0(t){return EN(t).map(function(e){return(0,XTe.toUtf8String)(e)}).join(".")}Tu.ensNormalize=pF0;function hF0(t){try{return EN(t).length!==0}catch{}return!1}Tu.isValidName=hF0;function mF0(t){typeof t!="string"&&lF0.throwArgumentError("invalid ENS name; not a string","name",t);for(var e=ZTe,n=EN(t);n.length;)e=(0,$Te.keccak256)((0,xN.concat)([e,(0,$Te.keccak256)(n.pop())]));return(0,xN.hexlify)(e)}Tu.namehash=mF0;function bF0(t){return(0,xN.hexlify)((0,xN.concat)(EN(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"}Tu.dnsEncode=bF0});var exe=D(Cy=>{"use strict";u();p();Object.defineProperty(Cy,"__esModule",{value:!0});Cy.hashMessage=Cy.messagePrefix=void 0;var yF0=Vt(),gF0=H1(),ite=Ai();Cy.messagePrefix=`Ethereum Signed Message: -`;function vF0(t){return typeof t=="string"&&(t=(0,ite.toUtf8Bytes)(t)),(0,gF0.keccak256)((0,yF0.concat)([(0,ite.toUtf8Bytes)(Cy.messagePrefix),(0,ite.toUtf8Bytes)(String(t.length)),t]))}Cy.hashMessage=vF0});var cxe=D(_3=>{"use strict";u();p();var wF0=_3&&_3.__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())})},TF0=_3&&_3.__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))&&kf.throwArgumentError("invalid numeric width","type",t);var r=AF0.mask(n?a-1:a),f=n?r.add(oxe).mul(_F0):sxe;return function(s){var o=ky.BigNumber.from(s);return(o.lt(f)||o.gt(r))&&kf.throwArgumentError("value out-of-bounds for "+t,"value",s),(0,Js.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))&&kf.throwArgumentError("invalid bytes width","type",t),function(o){var c=(0,Js.arrayify)(o);return c.length!==i&&kf.throwArgumentError("invalid length for "+t,"value",o),CF0(o)}}}switch(t){case"address":return function(s){return(0,Js.hexZeroPad)((0,rxe.getAddress)(s),32)};case"bool":return function(s){return s?IF0:kF0};case"bytes":return function(s){return(0,gw.keccak256)(s)};case"string":return function(s){return(0,fxe.id)(s)}}return null}function axe(t,e){return t+"("+e.map(function(n){var a=n.name,r=n.type;return r+" "+a}).join(",")+")"}var RF0=function(){function t(e){(0,Iy.defineReadOnly)(this,"types",Object.freeze((0,Iy.deepCopy)(e))),(0,Iy.defineReadOnly)(this,"_encoderCache",{}),(0,Iy.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]&&kf.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&&kf.throwArgumentError("circular type reference to "+JSON.stringify(v),"types",e);var k=ote(v);k||(a[v]||kf.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?kf.throwArgumentError("missing primary type","types",e):s.length>1&&kf.throwArgumentError("ambiguous primary types or unused types: "+s.map(function(l){return JSON.stringify(l)}).join(", "),"types",e),(0,Iy.defineReadOnly)(this,"primaryType",s[0]);function o(l,h){h[l]&&kf.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]=axe(c,e[c])+d.map(function(l){return axe(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=ote(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&&kf.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",d);var l=d.map(i);return n._types[f]&&(l=l.map(gw.keccak256)),(0,gw.keccak256)((0,Js.hexConcat)(l))}}var o=this.types[e];if(o){var c=(0,fxe.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,gw.keccak256)(k):k});return l.unshift(c),(0,Js.hexConcat)(l)}}return kf.throwArgumentError("unknown type: "+e,"type",e)},t.prototype.encodeType=function(e){var n=this._types[e];return n||kf.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,gw.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=ote(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&&kf.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},{}):kf.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=txe[a];r||kf.throwArgumentError("invalid typed-data domain key: "+JSON.stringify(a),"domain",e),n.push({name:a,type:r})}return n.sort(function(f,i){return ste.indexOf(f.name)-ste.indexOf(i.name)}),t.hashStruct("EIP712Domain",{EIP712Domain:n},e)},t.encode=function(e,n,a){return(0,Js.hexConcat)(["0x1901",t.hashDomain(e),t.from(n).hash(a)])},t.hash=function(e,n,a){return(0,gw.keccak256)(t.encode(e,n,a))},t.resolveNames=function(e,n,a,r){return wF0(this,void 0,void 0,function(){var f,i,s,o,c,d,l,h;return TF0(this,function(y){switch(y.label){case 0:e=(0,Iy.shallowCopy)(e),f={},e.verifyingContract&&!(0,Js.isHexString)(e.verifyingContract,20)&&(f[e.verifyingContract]="0x"),i=t.from(n),i.visit(a,function(v,k){return v==="address"&&!(0,Js.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(hs,"__esModule",{value:!0});hs._TypedDataEncoder=hs.hashMessage=hs.messagePrefix=hs.ensNormalize=hs.isValidName=hs.namehash=hs.dnsEncode=hs.id=void 0;var MF0=ete();Object.defineProperty(hs,"id",{enumerable:!0,get:function(){return MF0.id}});var cte=fte();Object.defineProperty(hs,"dnsEncode",{enumerable:!0,get:function(){return cte.dnsEncode}});Object.defineProperty(hs,"isValidName",{enumerable:!0,get:function(){return cte.isValidName}});Object.defineProperty(hs,"namehash",{enumerable:!0,get:function(){return cte.namehash}});var dxe=exe();Object.defineProperty(hs,"hashMessage",{enumerable:!0,get:function(){return dxe.hashMessage}});Object.defineProperty(hs,"messagePrefix",{enumerable:!0,get:function(){return dxe.messagePrefix}});var BF0=fte();Object.defineProperty(hs,"ensNormalize",{enumerable:!0,get:function(){return BF0.ensNormalize}});var DF0=cxe();Object.defineProperty(hs,"_TypedDataEncoder",{enumerable:!0,get:function(){return DF0.TypedDataEncoder}})});var yxe=D(Lo=>{"use strict";u();p();var CN=Lo&&Lo.__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(Lo,"__esModule",{value:!0});Lo.Interface=Lo.Indexed=Lo.ErrorDescription=Lo.TransactionDescription=Lo.LogDescription=Lo.checkResultErrors=void 0;var PF0=Po(),lxe=ia(),uf=Vt(),_N=A3(),uxe=H1(),Xs=Ba(),LF0=Z0e(),FF0=v5();Object.defineProperty(Lo,"checkResultErrors",{enumerable:!0,get:function(){return FF0.checkResultErrors}});var r8=rN(),AN=Ft(),NF0=Zv(),Sf=new AN.Logger(NF0.version),hxe=function(t){CN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(Xs.Description);Lo.LogDescription=hxe;var mxe=function(t){CN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(Xs.Description);Lo.TransactionDescription=mxe;var bxe=function(t){CN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(Xs.Description);Lo.ErrorDescription=bxe;var dte=function(t){CN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.isIndexed=function(n){return!!(n&&n._isIndexed)},e}(Xs.Description);Lo.Indexed=dte;var OF0={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function pxe(t,e){var n=new Error("deferred error during ABI decoding triggered accessing "+t);return n.error=e,n}var UF0=function(){function t(e){var n=this.constructor,a=this,r=[];typeof e=="string"?r=JSON.parse(e):r=e,(0,Xs.defineReadOnly)(this,"fragments",r.map(function(f){return r8.Fragment.from(f)}).filter(function(f){return f!=null})),(0,Xs.defineReadOnly)(this,"_abiCoder",(0,Xs.getStatic)(n,"getAbiCoder")()),(0,Xs.defineReadOnly)(this,"functions",{}),(0,Xs.defineReadOnly)(this,"errors",{}),(0,Xs.defineReadOnly)(this,"events",{}),(0,Xs.defineReadOnly)(this,"structs",{}),this.fragments.forEach(function(f){var i=null;switch(f.type){case"constructor":if(a.deploy){Sf.warn("duplicate definition - constructor");return}(0,Xs.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]){Sf.warn("duplicate definition - "+s);return}i[s]=f}),this.deploy||(0,Xs.defineReadOnly)(this,"deploy",r8.ConstructorFragment.from({payable:!1,type:"constructor"})),(0,Xs.defineReadOnly)(this,"_isInterface",!0)}return t.prototype.format=function(e){e||(e=r8.FormatTypes.full),e===r8.FormatTypes.sighash&&Sf.throwArgumentError("interface does not support formatting sighash","format",e);var n=this.fragments.map(function(a){return a.format(e)});return e===r8.FormatTypes.json?JSON.stringify(n.map(function(a){return JSON.parse(a)})):n},t.getAbiCoder=function(){return LF0.defaultAbiCoder},t.getAddress=function(e){return(0,PF0.getAddress)(e)},t.getSighash=function(e){return(0,uf.hexDataSlice)((0,_N.id)(e.format()),0,4)},t.getEventTopic=function(e){return(0,_N.id)(e.format())},t.prototype.getFunction=function(e){if((0,uf.isHexString)(e)){for(var n in this.functions)if(e===this.getSighash(n))return this.functions[n];Sf.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?Sf.throwArgumentError("no matching function","name",a):r.length>1&&Sf.throwArgumentError("multiple matching functions","name",a),this.functions[r[0]]}var f=this.functions[r8.FunctionFragment.fromString(e).format()];return f||Sf.throwArgumentError("no matching function","signature",e),f},t.prototype.getEvent=function(e){if((0,uf.isHexString)(e)){var n=e.toLowerCase();for(var a in this.events)if(n===this.getEventTopic(a))return this.events[a];Sf.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?Sf.throwArgumentError("no matching event","name",r):f.length>1&&Sf.throwArgumentError("multiple matching events","name",r),this.events[f[0]]}var i=this.events[r8.EventFragment.fromString(e).format()];return i||Sf.throwArgumentError("no matching event","signature",e),i},t.prototype.getError=function(e){if((0,uf.isHexString)(e)){var n=(0,Xs.getStatic)(this.constructor,"getSighash");for(var a in this.errors){var r=this.errors[a];if(e===n(r))return this.errors[a]}Sf.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?Sf.throwArgumentError("no matching error","name",f):i.length>1&&Sf.throwArgumentError("multiple matching errors","name",f),this.errors[i[0]]}var s=this.errors[r8.FunctionFragment.fromString(e).format()];return s||Sf.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,Xs.getStatic)(this.constructor,"getSighash")(e)},t.prototype.getEventTopic=function(e){return typeof e=="string"&&(e=this.getEvent(e)),(0,Xs.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,uf.arrayify)(n);return(0,uf.hexlify)(a.slice(0,4))!==this.getSighash(e)&&Sf.throwArgumentError("data signature does not match error "+e.name+".","data",(0,uf.hexlify)(a)),this._decodeParams(e.inputs,a.slice(4))},t.prototype.encodeErrorResult=function(e,n){return typeof e=="string"&&(e=this.getError(e)),(0,uf.hexlify)((0,uf.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,uf.arrayify)(n);return(0,uf.hexlify)(a.slice(0,4))!==this.getSighash(e)&&Sf.throwArgumentError("data signature does not match function "+e.name+".","data",(0,uf.hexlify)(a)),this._decodeParams(e.inputs,a.slice(4))},t.prototype.encodeFunctionData=function(e,n){return typeof e=="string"&&(e=this.getFunction(e)),(0,uf.hexlify)((0,uf.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,uf.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,uf.hexlify)(a.slice(0,4)),d=OF0[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 Sf.throwError("call revert exception"+f,AN.Logger.errors.CALL_EXCEPTION,{method:e.format(),data:(0,uf.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,uf.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&&Sf.throwError("too many arguments for "+e.format(),AN.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,_N.id)(s):i.type==="bytes"?(0,uxe.keccak256)((0,uf.hexlify)(s)):(i.type==="bool"&&typeof s=="boolean"&&(s=s?"0x01":"0x00"),i.type.match(/^u?int/)&&(s=lxe.BigNumber.from(s).toHexString()),i.type==="address"&&a._abiCoder.encode(["address"],[s]),(0,uf.hexZeroPad)((0,uf.hexlify)(s),32))};for(n.forEach(function(i,s){var o=e.inputs[s];if(!o.indexed){i!=null&&Sf.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"?Sf.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&&Sf.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,_N.id)(c));else if(s.type==="bytes")r.push((0,uxe.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,uf.isHexString)(a[0],32)||a[0].toLowerCase()!==r)&&Sf.throwError("fragment/topic mismatch",AN.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(r8.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,uf.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 dte({_isIndexed:!0,hash:null});else if(s[O])d[O]=new dte({_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 pxe("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 pxe("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 Sy=rN();Object.defineProperty(Ya,"ConstructorFragment",{enumerable:!0,get:function(){return Sy.ConstructorFragment}});Object.defineProperty(Ya,"ErrorFragment",{enumerable:!0,get:function(){return Sy.ErrorFragment}});Object.defineProperty(Ya,"EventFragment",{enumerable:!0,get:function(){return Sy.EventFragment}});Object.defineProperty(Ya,"FormatTypes",{enumerable:!0,get:function(){return Sy.FormatTypes}});Object.defineProperty(Ya,"Fragment",{enumerable:!0,get:function(){return Sy.Fragment}});Object.defineProperty(Ya,"FunctionFragment",{enumerable:!0,get:function(){return Sy.FunctionFragment}});Object.defineProperty(Ya,"ParamType",{enumerable:!0,get:function(){return Sy.ParamType}});var gxe=Z0e();Object.defineProperty(Ya,"AbiCoder",{enumerable:!0,get:function(){return gxe.AbiCoder}});Object.defineProperty(Ya,"defaultAbiCoder",{enumerable:!0,get:function(){return gxe.defaultAbiCoder}});var TI=yxe();Object.defineProperty(Ya,"checkResultErrors",{enumerable:!0,get:function(){return TI.checkResultErrors}});Object.defineProperty(Ya,"Indexed",{enumerable:!0,get:function(){return TI.Indexed}});Object.defineProperty(Ya,"Interface",{enumerable:!0,get:function(){return TI.Interface}});Object.defineProperty(Ya,"LogDescription",{enumerable:!0,get:function(){return TI.LogDescription}});Object.defineProperty(Ya,"TransactionDescription",{enumerable:!0,get:function(){return TI.TransactionDescription}})});var vxe=D(IN=>{"use strict";u();p();Object.defineProperty(IN,"__esModule",{value:!0});IN.version=void 0;IN.version="abstract-provider/5.7.0"});var C3=D(ms=>{"use strict";u();p();var SN=ms&&ms.__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)}}(),HF0=ms&&ms.__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())})},zF0=ms&&ms.__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(MN,"__esModule",{value:!0});MN.version=void 0;MN.version="abstract-signer/5.7.0"});var i8=D(E5=>{"use strict";u();p();var YF0=E5&&E5.__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)}}(),el=E5&&E5.__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())})},tl=E5&&E5.__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 x5.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",f8.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]&&x5.throwArgumentError("chainId address mismatch","transaction",e),o[0]}),[4,(0,I3.resolveProperties)(n)];case 6:return[2,s.sent()]}})})},t.prototype._checkProvider=function(e){this.provider||x5.throwError("missing provider",f8.Logger.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})},t.isSigner=function(e){return!!(e&&e._isSigner)},t}();E5.Signer=Txe;var ZF0=function(t){YF0(e,t);function e(n,a){var r=t.call(this)||this;return(0,I3.defineReadOnly)(r,"address",n),(0,I3.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(){x5.throwError(n,f8.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}(Txe);E5.VoidSigner=ZF0});var xxe=D((MUn,eN0)=>{eN0.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((Exe,ute)=>{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=Qf().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 b=0;T[0]==="-"&&(b++,this.negative=1),b=0;b-=3)P=T[b]|T[b-1]<<8|T[b-2]<<16,this.words[A]|=P<>>26-L&67108863,L+=24,L>=26&&(L-=26,A++);else if(w==="le")for(b=0,A=0;b>>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 b=0;b=N;b-=2)L=s(T,N,b)<=18?(A-=18,P+=1,this.words[P]|=L>>>26):A+=8;else{var E=T.length-N;for(b=E%2===0?N+1:N;b=18?(A-=18,P+=1,this.words[P]|=L>>>26):A+=8}this.strip()};function o(R,T,N,w){for(var b=0,A=Math.min(R.length,N),P=T;P=49?b+=L-49+10:L>=17?b+=L-17+10:b+=L}return b}r.prototype._parseBase=function(T,N,w){this.words=[0],this.length=1;for(var b=0,A=1;A<=67108863;A*=N)b++;b--,A=A/N|0;for(var P=T.length-w,L=P%b,E=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 b=0,A=0,P=0;P>>24-b&16777215,A!==0||P!==this.length-1?w=c[6-E.length]+E+w:w=E+w,b+=2,b>=26&&(b-=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 b=this.byteLength(),A=w||Math.max(1,b);n(b<=A,"byte array longer than desired length"),n(A>0,"Requested array length <= 0"),this.strip();var P=N==="le",L=new T(A),E,g,B=this.clone();if(P){for(g=0;!B.isZero();g++)E=B.andln(255),B.iushrn(8),L[g]=E;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>>b}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 b=0;bT.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 b=0;b0&&(this.words[b]=~this.words[b]&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,b=T%26;return this._expand(w+1),N?this.words[w]=this.words[w]|1<T.length?(w=this,b=T):(w=T,b=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 b,A;w>0?(b=this,A=T):(b=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=E&67108863,S=Math.min(g,T.length-1),q=Math.max(0,g-R.length+1);q<=S;q++){var ee=g-q|0;b=R.words[ee]|0,A=T.words[q]|0,P=b*A+M,B+=P/67108864|0,M=P&67108863}N.words[g]=M|0,E=B|0}return E!==0?N.words[g]=E|0:N.length--,N.strip()}var v=function(T,N,w){var b=T.words,A=N.words,P=w.words,L=0,E,g,B,M=b[0]|0,S=M&8191,q=M>>>13,ee=b[1]|0,U=ee&8191,J=ee>>>13,Z=b[2]|0,ne=Z&8191,ue=Z>>>13,Y=b[3]|0,re=Y&8191,ie=Y>>>13,ge=b[4]|0,de=ge&8191,Ae=ge>>>13,Ge=b[5]|0,Be=Ge&8191,c0=Ge>>>13,Ye=b[6]|0,He=Ye&8191,_0=Ye>>>13,L0=b[7]|0,Ze=L0&8191,I0=L0>>>13,pe=b[8]|0,he=pe&8191,Te=pe>>>13,Ce=b[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,me=w0>>>13,ye=A[2]|0,_e=ye&8191,ze=ye>>>13,je=A[3]|0,Ue=je&8191,m0=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,K0=A[7]|0,s0=K0&8191,J0=K0>>>13,Y0=A[8]|0,l0=Y0&8191,Q0=Y0>>>13,et=A[9]|0,p0=et&8191,Z0=et>>>13;w.negative=T.negative^N.negative,w.length=19,E=Math.imul(S,qe),g=Math.imul(S,v0),g=g+Math.imul(q,qe)|0,B=Math.imul(q,v0);var Et=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Et>>>26)|0,Et&=67108863,E=Math.imul(U,qe),g=Math.imul(U,v0),g=g+Math.imul(J,qe)|0,B=Math.imul(J,v0),E=E+Math.imul(S,Ve)|0,g=g+Math.imul(S,me)|0,g=g+Math.imul(q,Ve)|0,B=B+Math.imul(q,me)|0;var $0=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+($0>>>26)|0,$0&=67108863,E=Math.imul(ne,qe),g=Math.imul(ne,v0),g=g+Math.imul(ue,qe)|0,B=Math.imul(ue,v0),E=E+Math.imul(U,Ve)|0,g=g+Math.imul(U,me)|0,g=g+Math.imul(J,Ve)|0,B=B+Math.imul(J,me)|0,E=E+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+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,E=Math.imul(re,qe),g=Math.imul(re,v0),g=g+Math.imul(ie,qe)|0,B=Math.imul(ie,v0),E=E+Math.imul(ne,Ve)|0,g=g+Math.imul(ne,me)|0,g=g+Math.imul(ue,Ve)|0,B=B+Math.imul(ue,me)|0,E=E+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,E=E+Math.imul(S,Ue)|0,g=g+Math.imul(S,m0)|0,g=g+Math.imul(q,Ue)|0,B=B+Math.imul(q,m0)|0;var Pn=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,E=Math.imul(de,qe),g=Math.imul(de,v0),g=g+Math.imul(Ae,qe)|0,B=Math.imul(Ae,v0),E=E+Math.imul(re,Ve)|0,g=g+Math.imul(re,me)|0,g=g+Math.imul(ie,Ve)|0,B=B+Math.imul(ie,me)|0,E=E+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,E=E+Math.imul(U,Ue)|0,g=g+Math.imul(U,m0)|0,g=g+Math.imul(J,Ue)|0,B=B+Math.imul(J,m0)|0,E=E+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+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,E=Math.imul(Be,qe),g=Math.imul(Be,v0),g=g+Math.imul(c0,qe)|0,B=Math.imul(c0,v0),E=E+Math.imul(de,Ve)|0,g=g+Math.imul(de,me)|0,g=g+Math.imul(Ae,Ve)|0,B=B+Math.imul(Ae,me)|0,E=E+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,E=E+Math.imul(ne,Ue)|0,g=g+Math.imul(ne,m0)|0,g=g+Math.imul(ue,Ue)|0,B=B+Math.imul(ue,m0)|0,E=E+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,E=E+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+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,E=Math.imul(He,qe),g=Math.imul(He,v0),g=g+Math.imul(_0,qe)|0,B=Math.imul(_0,v0),E=E+Math.imul(Be,Ve)|0,g=g+Math.imul(Be,me)|0,g=g+Math.imul(c0,Ve)|0,B=B+Math.imul(c0,me)|0,E=E+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,E=E+Math.imul(re,Ue)|0,g=g+Math.imul(re,m0)|0,g=g+Math.imul(ie,Ue)|0,B=B+Math.imul(ie,m0)|0,E=E+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,E=E+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,E=E+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+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Nn>>>26)|0,Nn&=67108863,E=Math.imul(Ze,qe),g=Math.imul(Ze,v0),g=g+Math.imul(I0,qe)|0,B=Math.imul(I0,v0),E=E+Math.imul(He,Ve)|0,g=g+Math.imul(He,me)|0,g=g+Math.imul(_0,Ve)|0,B=B+Math.imul(_0,me)|0,E=E+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,E=E+Math.imul(de,Ue)|0,g=g+Math.imul(de,m0)|0,g=g+Math.imul(Ae,Ue)|0,B=B+Math.imul(Ae,m0)|0,E=E+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,E=E+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,E=E+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,E=E+Math.imul(S,s0)|0,g=g+Math.imul(S,J0)|0,g=g+Math.imul(q,s0)|0,B=B+Math.imul(q,J0)|0;var On=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(On>>>26)|0,On&=67108863,E=Math.imul(he,qe),g=Math.imul(he,v0),g=g+Math.imul(Te,qe)|0,B=Math.imul(Te,v0),E=E+Math.imul(Ze,Ve)|0,g=g+Math.imul(Ze,me)|0,g=g+Math.imul(I0,Ve)|0,B=B+Math.imul(I0,me)|0,E=E+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,E=E+Math.imul(Be,Ue)|0,g=g+Math.imul(Be,m0)|0,g=g+Math.imul(c0,Ue)|0,B=B+Math.imul(c0,m0)|0,E=E+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,E=E+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,E=E+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,E=E+Math.imul(U,s0)|0,g=g+Math.imul(U,J0)|0,g=g+Math.imul(J,s0)|0,B=B+Math.imul(J,J0)|0,E=E+Math.imul(S,l0)|0,g=g+Math.imul(S,Q0)|0,g=g+Math.imul(q,l0)|0,B=B+Math.imul(q,Q0)|0;var Ha=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Ha>>>26)|0,Ha&=67108863,E=Math.imul(Se,qe),g=Math.imul(Se,v0),g=g+Math.imul(Qe,qe)|0,B=Math.imul(Qe,v0),E=E+Math.imul(he,Ve)|0,g=g+Math.imul(he,me)|0,g=g+Math.imul(Te,Ve)|0,B=B+Math.imul(Te,me)|0,E=E+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,E=E+Math.imul(He,Ue)|0,g=g+Math.imul(He,m0)|0,g=g+Math.imul(_0,Ue)|0,B=B+Math.imul(_0,m0)|0,E=E+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,E=E+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,E=E+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,E=E+Math.imul(ne,s0)|0,g=g+Math.imul(ne,J0)|0,g=g+Math.imul(ue,s0)|0,B=B+Math.imul(ue,J0)|0,E=E+Math.imul(U,l0)|0,g=g+Math.imul(U,Q0)|0,g=g+Math.imul(J,l0)|0,B=B+Math.imul(J,Q0)|0,E=E+Math.imul(S,p0)|0,g=g+Math.imul(S,Z0)|0,g=g+Math.imul(q,p0)|0,B=B+Math.imul(q,Z0)|0;var pr=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(pr>>>26)|0,pr&=67108863,E=Math.imul(Se,Ve),g=Math.imul(Se,me),g=g+Math.imul(Qe,Ve)|0,B=Math.imul(Qe,me),E=E+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,E=E+Math.imul(Ze,Ue)|0,g=g+Math.imul(Ze,m0)|0,g=g+Math.imul(I0,Ue)|0,B=B+Math.imul(I0,m0)|0,E=E+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,E=E+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,E=E+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,E=E+Math.imul(re,s0)|0,g=g+Math.imul(re,J0)|0,g=g+Math.imul(ie,s0)|0,B=B+Math.imul(ie,J0)|0,E=E+Math.imul(ne,l0)|0,g=g+Math.imul(ne,Q0)|0,g=g+Math.imul(ue,l0)|0,B=B+Math.imul(ue,Q0)|0,E=E+Math.imul(U,p0)|0,g=g+Math.imul(U,Z0)|0,g=g+Math.imul(J,p0)|0,B=B+Math.imul(J,Z0)|0;var za=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(za>>>26)|0,za&=67108863,E=Math.imul(Se,_e),g=Math.imul(Se,ze),g=g+Math.imul(Qe,_e)|0,B=Math.imul(Qe,ze),E=E+Math.imul(he,Ue)|0,g=g+Math.imul(he,m0)|0,g=g+Math.imul(Te,Ue)|0,B=B+Math.imul(Te,m0)|0,E=E+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,E=E+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,E=E+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,E=E+Math.imul(de,s0)|0,g=g+Math.imul(de,J0)|0,g=g+Math.imul(Ae,s0)|0,B=B+Math.imul(Ae,J0)|0,E=E+Math.imul(re,l0)|0,g=g+Math.imul(re,Q0)|0,g=g+Math.imul(ie,l0)|0,B=B+Math.imul(ie,Q0)|0,E=E+Math.imul(ne,p0)|0,g=g+Math.imul(ne,Z0)|0,g=g+Math.imul(ue,p0)|0,B=B+Math.imul(ue,Z0)|0;var hr=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(hr>>>26)|0,hr&=67108863,E=Math.imul(Se,Ue),g=Math.imul(Se,m0),g=g+Math.imul(Qe,Ue)|0,B=Math.imul(Qe,m0),E=E+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,E=E+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,E=E+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,E=E+Math.imul(Be,s0)|0,g=g+Math.imul(Be,J0)|0,g=g+Math.imul(c0,s0)|0,B=B+Math.imul(c0,J0)|0,E=E+Math.imul(de,l0)|0,g=g+Math.imul(de,Q0)|0,g=g+Math.imul(Ae,l0)|0,B=B+Math.imul(Ae,Q0)|0,E=E+Math.imul(re,p0)|0,g=g+Math.imul(re,Z0)|0,g=g+Math.imul(ie,p0)|0,B=B+Math.imul(ie,Z0)|0;var ar=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(ar>>>26)|0,ar&=67108863,E=Math.imul(Se,$e),g=Math.imul(Se,M0),g=g+Math.imul(Qe,$e)|0,B=Math.imul(Qe,M0),E=E+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,E=E+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,E=E+Math.imul(He,s0)|0,g=g+Math.imul(He,J0)|0,g=g+Math.imul(_0,s0)|0,B=B+Math.imul(_0,J0)|0,E=E+Math.imul(Be,l0)|0,g=g+Math.imul(Be,Q0)|0,g=g+Math.imul(c0,l0)|0,B=B+Math.imul(c0,Q0)|0,E=E+Math.imul(de,p0)|0,g=g+Math.imul(de,Z0)|0,g=g+Math.imul(Ae,p0)|0,B=B+Math.imul(Ae,Z0)|0;var Cr=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,E=Math.imul(Se,t0),g=Math.imul(Se,j0),g=g+Math.imul(Qe,t0)|0,B=Math.imul(Qe,j0),E=E+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,E=E+Math.imul(Ze,s0)|0,g=g+Math.imul(Ze,J0)|0,g=g+Math.imul(I0,s0)|0,B=B+Math.imul(I0,J0)|0,E=E+Math.imul(He,l0)|0,g=g+Math.imul(He,Q0)|0,g=g+Math.imul(_0,l0)|0,B=B+Math.imul(_0,Q0)|0,E=E+Math.imul(Be,p0)|0,g=g+Math.imul(Be,Z0)|0,g=g+Math.imul(c0,p0)|0,B=B+Math.imul(c0,Z0)|0;var Jr=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Jr>>>26)|0,Jr&=67108863,E=Math.imul(Se,Ke),g=Math.imul(Se,B0),g=g+Math.imul(Qe,Ke)|0,B=Math.imul(Qe,B0),E=E+Math.imul(he,s0)|0,g=g+Math.imul(he,J0)|0,g=g+Math.imul(Te,s0)|0,B=B+Math.imul(Te,J0)|0,E=E+Math.imul(Ze,l0)|0,g=g+Math.imul(Ze,Q0)|0,g=g+Math.imul(I0,l0)|0,B=B+Math.imul(I0,Q0)|0,E=E+Math.imul(He,p0)|0,g=g+Math.imul(He,Z0)|0,g=g+Math.imul(_0,p0)|0,B=B+Math.imul(_0,Z0)|0;var rr=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(rr>>>26)|0,rr&=67108863,E=Math.imul(Se,s0),g=Math.imul(Se,J0),g=g+Math.imul(Qe,s0)|0,B=Math.imul(Qe,J0),E=E+Math.imul(he,l0)|0,g=g+Math.imul(he,Q0)|0,g=g+Math.imul(Te,l0)|0,B=B+Math.imul(Te,Q0)|0,E=E+Math.imul(Ze,p0)|0,g=g+Math.imul(Ze,Z0)|0,g=g+Math.imul(I0,p0)|0,B=B+Math.imul(I0,Z0)|0;var cf=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(cf>>>26)|0,cf&=67108863,E=Math.imul(Se,l0),g=Math.imul(Se,Q0),g=g+Math.imul(Qe,l0)|0,B=Math.imul(Qe,Q0),E=E+Math.imul(he,p0)|0,g=g+Math.imul(he,Z0)|0,g=g+Math.imul(Te,p0)|0,B=B+Math.imul(Te,Z0)|0;var Gf=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Gf>>>26)|0,Gf&=67108863,E=Math.imul(Se,p0),g=Math.imul(Se,Z0),g=g+Math.imul(Qe,p0)|0,B=Math.imul(Qe,Z0);var Qs=(L+E|0)+((g&8191)<<13)|0;return L=(B+(g>>>13)|0)+(Qs>>>26)|0,Qs&=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]=cf,P[17]=Gf,P[18]=Qs,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,b=0,A=0;A>>26)|0,b+=P>>>26,P&=67108863}N.words[A]=L,w=P,P=b}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,b=this.length+T.length;return this.length===10&&T.length===10?w=v(this,T,N):b<63?w=y(this,T,N):b<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,b=0;b>=1;return b},F.prototype.permute=function(T,N,w,b,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+=b/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,b=0;b=0);var N=T%26,w=(T-N)/26,b=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 b;N?b=(N-N%26)/26:b=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>=b);g--){var M=this.words[g]|0;this.words[g]=B<<26-A|M>>>A,B=M&L}return E&&B!==0&&(E.words[E.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,b=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 b=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)-(E/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,b=this.clone(),A=T,P=A.words[A.length-1]|0,L=this._countBits(P);w=26-L,w!==0&&(A=A.ushln(w),b.iushln(w),P=A.words[A.length-1]|0);var E=b.length-A.length,g;if(N!=="mod"){g=new r(null),g.length=E+1,g.words=new Array(g.length);for(var B=0;B=0;S--){var q=(b.words[A.length+S]|0)*67108864+(b.words[A.length+S-1]|0);for(q=Math.min(q/P|0,67108863),b._ishlnsubmul(A,q,S);b.negative!==0;)q--,b.negative=0,b._ishlnsubmul(A,1,S),b.isZero()||(b.negative^=1);g&&(g.words[S]=q)}return g&&g.strip(),b.strip(),N!=="div"&&w!==0&&b.iushrn(w),{div:g||null,mod:b}},r.prototype.divmod=function(T,N,w){if(n(!T.isZero()),this.isZero())return{div:new r(0),mod:new r(0)};var b,A,P;return this.negative!==0&&T.negative===0?(P=this.neg().divmod(T,N),N!=="mod"&&(b=P.div.neg()),N!=="div"&&(A=P.mod.neg(),w&&A.negative!==0&&A.iadd(T)),{div:b,mod:A}):this.negative===0&&T.negative!==0?(P=this.divmod(T.neg(),N),N!=="mod"&&(b=P.div.neg()),{div:b,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,b=T.ushrn(1),A=T.andln(1),P=w.cmp(b);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,b=this.length-1;b>=0;b--)w=(N*w+(this.words[b]|0))%T;return w},r.prototype.idivn=function(T){n(T<=67108863);for(var N=0,w=this.length-1;w>=0;w--){var b=(this.words[w]|0)+N*67108864;this.words[w]=b/T|0,N=b%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 b=new r(1),A=new r(0),P=new r(0),L=new r(1),E=0;N.isEven()&&w.isEven();)N.iushrn(1),w.iushrn(1),++E;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;)(b.isOdd()||A.isOdd())&&(b.iadd(g),A.isub(B)),b.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),b.isub(P),A.isub(L)):(w.isub(N),P.isub(b),L.isub(A))}return{a:P,b:L,gcd:w.iushln(E)}},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 b=new r(1),A=new r(0),P=w.clone();N.cmpn(1)>0&&w.cmpn(1)>0;){for(var L=0,E=1;!(N.words[0]&E)&&L<26;++L,E<<=1);if(L>0)for(N.iushrn(L);L-- >0;)b.isOdd()&&b.iadd(P),b.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),b.isub(A)):(w.isub(N),A.isub(b))}var M;return N.cmpn(1)===0?M=b: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 b=0;N.isEven()&&w.isEven();b++)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(b)},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,b=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 b=this.words[0]|0;w=b===T?0:bT.length)return 1;if(this.length=0;w--){var b=this.words[w]|0,A=T.words[w]|0;if(b!==A){bA&&(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 b=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,b=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=b}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 b=this.m.subn(1),A=0;!b.isZero()&&b.andln(1)===0;)A++,b.iushrn(1);n(!b.isZero());var P=new r(1).toRed(this),L=P.redNeg(),E=this.m.subn(1).iushrn(1),g=this.m.bitLength();for(g=new r(2*g*g).toRed(this);this.pow(g,E).cmp(L)!==0;)g.redIAdd(L);for(var B=this.pow(g,b),M=this.pow(T,b.addn(1).iushrn(1)),S=this.pow(T,b),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!==b[0]&&(P=this.sqr(P)),S===0&&L===0){E=0;continue}L<<=1,L|=S,E++,!(E!==w&&(A!==0||M!==0))&&(P=this.mul(P,b[L]),E=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),b=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=w.isub(b).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),b=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=w.isub(b).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 ute>"u"||ute,Exe)});var Mc=D((PUn,Axe)=>{u();p();Axe.exports=_xe;function _xe(t,e){if(!t)throw new Error(e||"Assertion failed")}_xe.equal=function(e,n,a){if(e!=n)throw new Error(a||"Assertion failed: "+e+" != "+n)}});var DN=D(kxe=>{"use strict";u();p();var BN=kxe;function tN0(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}BN.toArray=tN0;function Cxe(t){return t.length===1?"0"+t:t}BN.zero2=Cxe;function Ixe(t){for(var e="",n=0;n{"use strict";u();p();var nl=Sxe,nN0=kr(),aN0=Mc(),PN=DN();nl.assert=aN0;nl.toArray=PN.toArray;nl.zero2=PN.zero2;nl.toHex=PN.toHex;nl.encode=PN.encode;function rN0(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}nl.getNAF=rN0;function fN0(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}nl.getJSF=fN0;function iN0(t,e,n){var a="_"+e;t.prototype[e]=function(){return this[a]!==void 0?this[a]:this[a]=n.call(this)}}nl.cachedProperty=iN0;function sN0(t){return typeof t=="string"?nl.toArray(t,"hex"):t}nl.parseBytes=sN0;function oN0(t){return new nN0(t,"hex","le")}nl.intFromLE=oN0});var En=D((pte,Mxe)=>{u();p();var LN=Qf(),xu=LN.Buffer;function Rxe(t,e){for(var n in t)e[n]=t[n]}xu.from&&xu.alloc&&xu.allocUnsafe&&xu.allocUnsafeSlow?Mxe.exports=LN:(Rxe(LN,pte),pte.Buffer=Ry);function Ry(t,e,n){return xu(t,e,n)}Ry.prototype=Object.create(xu.prototype);Rxe(xu,Ry);Ry.from=function(t,e,n){if(typeof t=="number")throw new TypeError("Argument must not be a number");return xu(t,e,n)};Ry.alloc=function(t,e,n){if(typeof t!="number")throw new TypeError("Argument must be a number");var a=xu(t);return e!==void 0?typeof n=="string"?a.fill(e,n):a.fill(e):a.fill(0),a};Ry.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return xu(t)};Ry.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return LN.SlowBuffer(t)}});var s8=D((GUn,mte)=>{"use strict";u();p();var hte=65536,cN0=4294967295;function dN0(){throw new Error(`Secure random number generation is not supported by this browser. -Use Chrome, Firefox or Internet Explorer 11`)}var lN0=En().Buffer,FN=global.crypto||global.msCrypto;FN&&FN.getRandomValues?mte.exports=uN0:mte.exports=dN0;function uN0(t,e){if(t>cN0)throw new RangeError("requested too many random bytes");var n=lN0.allocUnsafe(t);if(t>0)if(t>hte)for(var a=0;a{u();p();typeof Object.create=="function"?bte.exports=function(e,n){n&&(e.super_=n,e.prototype=Object.create(n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:bte.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 Or=D((JUn,yte)=>{"use strict";u();p();var ww=typeof Reflect=="object"?Reflect:null,Bxe=ww&&typeof ww.apply=="function"?ww.apply:function(e,n,a){return Function.prototype.apply.call(e,n,a)},NN;ww&&typeof ww.ownKeys=="function"?NN=ww.ownKeys:Object.getOwnPropertySymbols?NN=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:NN=function(e){return Object.getOwnPropertyNames(e)};function pN0(t){console&&console.warn&&console.warn(t)}var Pxe=Number.isNaN||function(e){return e!==e};function mr(){mr.init.call(this)}yte.exports=mr;yte.exports.once=yN0;mr.EventEmitter=mr;mr.prototype._events=void 0;mr.prototype._eventsCount=0;mr.prototype._maxListeners=void 0;var Dxe=10;function ON(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(mr,"defaultMaxListeners",{enumerable:!0,get:function(){return Dxe},set:function(t){if(typeof t!="number"||t<0||Pxe(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");Dxe=t}});mr.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};mr.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||Pxe(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 Lxe(t){return t._maxListeners===void 0?mr.defaultMaxListeners:t._maxListeners}mr.prototype.getMaxListeners=function(){return Lxe(this)};mr.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")Bxe(o,this,n);else for(var c=o.length,d=Hxe(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,pN0(s)}return t}mr.prototype.addListener=function(e,n){return Fxe(this,e,n,!1)};mr.prototype.on=mr.prototype.addListener;mr.prototype.prependListener=function(e,n){return Fxe(this,e,n,!0)};function hN0(){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 Nxe(t,e,n){var a={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},r=hN0.bind(a);return r.listener=n,a.wrapFn=r,r}mr.prototype.once=function(e,n){return ON(n),this.on(e,Nxe(this,e,n)),this};mr.prototype.prependOnceListener=function(e,n){return ON(n),this.prependListener(e,Nxe(this,e,n)),this};mr.prototype.removeListener=function(e,n){var a,r,f,i,s;if(ON(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():mN0(a,f),a.length===1&&(r[e]=a[0]),r.removeListener!==void 0&&this.emit("removeListener",e,s||n)}return this};mr.prototype.off=mr.prototype.removeListener;mr.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 Oxe(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?bN0(r):Hxe(r,r.length)}mr.prototype.listeners=function(e){return Oxe(this,e,!0)};mr.prototype.rawListeners=function(e){return Oxe(this,e,!1)};mr.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):Uxe.call(t,e)};mr.prototype.listenerCount=Uxe;function Uxe(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}mr.prototype.eventNames=function(){return this._eventsCount>0?NN(this._events):[]};function Hxe(t,e){for(var n=new Array(e),a=0;a{u();p();Wxe.exports=Or().EventEmitter});var UN=D((aHn,qxe)=>{"use strict";u();p();qxe.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 HN=D((iHn,jxe)=>{"use strict";u();p();var vN0=UN();jxe.exports=function(){return vN0()&&!!Symbol.toStringTag}});var Kxe=D((cHn,Gxe)=>{"use strict";u();p();Gxe.exports=Error});var Vxe=D((uHn,Qxe)=>{"use strict";u();p();Qxe.exports=EvalError});var $xe=D((mHn,Yxe)=>{"use strict";u();p();Yxe.exports=RangeError});var Xxe=D((gHn,Jxe)=>{"use strict";u();p();Jxe.exports=ReferenceError});var vte=D((THn,Zxe)=>{"use strict";u();p();Zxe.exports=SyntaxError});var EI=D((_Hn,eEe)=>{"use strict";u();p();eEe.exports=TypeError});var nEe=D((IHn,tEe)=>{"use strict";u();p();tEe.exports=URIError});var fEe=D((RHn,rEe)=>{"use strict";u();p();var aEe=typeof Symbol<"u"&&Symbol,wN0=UN();rEe.exports=function(){return typeof aEe!="function"||typeof Symbol!="function"||typeof aEe("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:wN0()}});var sEe=D((DHn,iEe)=>{"use strict";u();p();var wte={__proto__:null,foo:{}},TN0=Object;iEe.exports=function(){return{__proto__:wte}.foo===wte.foo&&!(wte instanceof TN0)}});var dEe=D((FHn,cEe)=>{"use strict";u();p();var xN0="Function.prototype.bind called on incompatible ",EN0=Object.prototype.toString,_N0=Math.max,AN0="[object Function]",oEe=function(e,n){for(var a=[],r=0;r{"use strict";u();p();var kN0=dEe();lEe.exports=Function.prototype.bind||kN0});var pEe=D((WHn,uEe)=>{"use strict";u();p();var SN0=Function.prototype.call,RN0=Object.prototype.hasOwnProperty,MN0=zN();uEe.exports=MN0.call(SN0,RN0)});var Aw=D((GHn,gEe)=>{"use strict";u();p();var Zn,BN0=Kxe(),DN0=Vxe(),PN0=$xe(),LN0=Xxe(),_w=vte(),Ew=EI(),FN0=nEe(),yEe=Function,Tte=function(t){try{return yEe('"use strict"; return ('+t+").constructor;")()}catch{}},My=Object.getOwnPropertyDescriptor;if(My)try{My({},"")}catch{My=null}var xte=function(){throw new Ew},NN0=My?function(){try{return arguments.callee,xte}catch{try{return My(arguments,"callee").get}catch{return xte}}}():xte,Tw=fEe()(),ON0=sEe()(),bs=Object.getPrototypeOf||(ON0?function(t){return t.__proto__}:null),xw={},UN0=typeof Uint8Array>"u"||!bs?Zn:bs(Uint8Array),By={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Zn:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Zn:ArrayBuffer,"%ArrayIteratorPrototype%":Tw&&bs?bs([][Symbol.iterator]()):Zn,"%AsyncFromSyncIteratorPrototype%":Zn,"%AsyncFunction%":xw,"%AsyncGenerator%":xw,"%AsyncGeneratorFunction%":xw,"%AsyncIteratorPrototype%":xw,"%Atomics%":typeof Atomics>"u"?Zn:Atomics,"%BigInt%":typeof BigInt>"u"?Zn:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Zn:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Zn:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Zn:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":BN0,"%eval%":eval,"%EvalError%":DN0,"%Float32Array%":typeof Float32Array>"u"?Zn:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Zn:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Zn:FinalizationRegistry,"%Function%":yEe,"%GeneratorFunction%":xw,"%Int8Array%":typeof Int8Array>"u"?Zn:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Zn:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Zn:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Tw&&bs?bs(bs([][Symbol.iterator]())):Zn,"%JSON%":typeof JSON=="object"?JSON:Zn,"%Map%":typeof Map>"u"?Zn:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Tw||!bs?Zn:bs(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Zn:Promise,"%Proxy%":typeof Proxy>"u"?Zn:Proxy,"%RangeError%":PN0,"%ReferenceError%":LN0,"%Reflect%":typeof Reflect>"u"?Zn:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Zn:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Tw||!bs?Zn:bs(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Zn:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Tw&&bs?bs(""[Symbol.iterator]()):Zn,"%Symbol%":Tw?Symbol:Zn,"%SyntaxError%":_w,"%ThrowTypeError%":NN0,"%TypedArray%":UN0,"%TypeError%":Ew,"%Uint8Array%":typeof Uint8Array>"u"?Zn:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Zn:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Zn:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Zn:Uint32Array,"%URIError%":FN0,"%WeakMap%":typeof WeakMap>"u"?Zn:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Zn:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Zn:WeakSet};if(bs)try{null.error}catch(t){hEe=bs(bs(t)),By["%Error.prototype%"]=hEe}var hEe,HN0=function t(e){var n;if(e==="%AsyncFunction%")n=Tte("async function () {}");else if(e==="%GeneratorFunction%")n=Tte("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=Tte("async function* () {}");else if(e==="%AsyncGenerator%"){var a=t("%AsyncGeneratorFunction%");a&&(n=a.prototype)}else if(e==="%AsyncIteratorPrototype%"){var r=t("%AsyncGenerator%");r&&bs&&(n=bs(r.prototype))}return By[e]=n,n},mEe={__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"]},_I=zN(),WN=pEe(),zN0=_I.call(Function.call,Array.prototype.concat),WN0=_I.call(Function.apply,Array.prototype.splice),bEe=_I.call(Function.call,String.prototype.replace),qN=_I.call(Function.call,String.prototype.slice),qN0=_I.call(Function.call,RegExp.prototype.exec),jN0=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,GN0=/\\(\\)?/g,KN0=function(e){var n=qN(e,0,1),a=qN(e,-1);if(n==="%"&&a!=="%")throw new _w("invalid intrinsic syntax, expected closing `%`");if(a==="%"&&n!=="%")throw new _w("invalid intrinsic syntax, expected opening `%`");var r=[];return bEe(e,jN0,function(f,i,s,o){r[r.length]=s?bEe(o,GN0,"$1"):i||f}),r},QN0=function(e,n){var a=e,r;if(WN(mEe,a)&&(r=mEe[a],a="%"+r[0]+"%"),WN(By,a)){var f=By[a];if(f===xw&&(f=HN0(a)),typeof f>"u"&&!n)throw new Ew("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:a,value:f}}throw new _w("intrinsic "+e+" does not exist!")};gEe.exports=function(e,n){if(typeof e!="string"||e.length===0)throw new Ew("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Ew('"allowMissing" argument must be a boolean');if(qN0(/^%?[^%]*%?$/,e)===null)throw new _w("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=KN0(e),r=a.length>0?a[0]:"",f=QN0("%"+r+"%",n),i=f.name,s=f.value,o=!1,c=f.alias;c&&(r=c[0],WN0(a,zN0([0,1],c)));for(var d=1,l=!0;d=a.length){var k=My(s,h);l=!!k,l&&"get"in k&&!("originalValue"in k.get)?s=k.get:s=s[h]}else l=WN(s,h),s=s[h];l&&!o&&(By[i]=s)}}return s}});var GN=D((VHn,vEe)=>{"use strict";u();p();var VN0=Aw(),jN=VN0("%Object.defineProperty%",!0)||!1;if(jN)try{jN({},"a",{value:1})}catch{jN=!1}vEe.exports=jN});var QN=D((JHn,wEe)=>{"use strict";u();p();var YN0=Aw(),KN=YN0("%Object.getOwnPropertyDescriptor%",!0);if(KN)try{KN([],"length")}catch{KN=null}wEe.exports=KN});var Ete=D((ezn,EEe)=>{"use strict";u();p();var TEe=GN(),$N0=vte(),Cw=EI(),xEe=QN();EEe.exports=function(e,n,a){if(!e||typeof e!="object"&&typeof e!="function")throw new Cw("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new Cw("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Cw("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Cw("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Cw("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Cw("`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=!!xEe&&xEe(e,n);if(TEe)TEe(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 $N0("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Ate=D((azn,AEe)=>{"use strict";u();p();var _te=GN(),_Ee=function(){return!!_te};_Ee.hasArrayLengthDefineBug=function(){if(!_te)return null;try{return _te([],"length",{value:1}).length!==1}catch{return!0}};AEe.exports=_Ee});var REe=D((izn,SEe)=>{"use strict";u();p();var JN0=Aw(),CEe=Ete(),XN0=Ate()(),IEe=QN(),kEe=EI(),ZN0=JN0("%Math.floor%");SEe.exports=function(e,n){if(typeof e!="function")throw new kEe("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||ZN0(n)!==n)throw new kEe("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],r=!0,f=!0;if("length"in e&&IEe){var i=IEe(e,"length");i&&!i.configurable&&(r=!1),i&&!i.writable&&(f=!1)}return(r||f||!a)&&(XN0?CEe(e,"length",n,!0,!0):CEe(e,"length",n)),e}});var AI=D((czn,VN)=>{"use strict";u();p();var Cte=zN(),YN=Aw(),eO0=REe(),tO0=EI(),DEe=YN("%Function.prototype.apply%"),PEe=YN("%Function.prototype.call%"),LEe=YN("%Reflect.apply%",!0)||Cte.call(PEe,DEe),MEe=GN(),nO0=YN("%Math.max%");VN.exports=function(e){if(typeof e!="function")throw new tO0("a function is required");var n=LEe(Cte,PEe,arguments);return eO0(n,1+nO0(0,e.length-(arguments.length-1)),!0)};var BEe=function(){return LEe(Cte,DEe,arguments)};MEe?MEe(VN.exports,"apply",{value:BEe}):VN.exports.apply=BEe});var CI=D((uzn,OEe)=>{"use strict";u();p();var FEe=Aw(),NEe=AI(),aO0=NEe(FEe("String.prototype.indexOf"));OEe.exports=function(e,n){var a=FEe(e,!!n);return typeof a=="function"&&aO0(e,".prototype.")>-1?NEe(a):a}});var zEe=D((mzn,HEe)=>{"use strict";u();p();var rO0=HN()(),fO0=CI(),Ite=fO0("Object.prototype.toString"),$N=function(e){return rO0&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:Ite(e)==="[object Arguments]"},UEe=function(e){return $N(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Ite(e)!=="[object Array]"&&Ite(e.callee)==="[object Function]"},iO0=function(){return $N(arguments)}();$N.isLegacyArguments=UEe;HEe.exports=iO0?$N:UEe});var jEe=D((gzn,qEe)=>{"use strict";u();p();var sO0=Object.prototype.toString,oO0=Function.prototype.toString,cO0=/^\s*(?:function)?\*/,WEe=HN()(),kte=Object.getPrototypeOf,dO0=function(){if(!WEe)return!1;try{return Function("return function*() {}")()}catch{}},Ste;qEe.exports=function(e){if(typeof e!="function")return!1;if(cO0.test(oO0.call(e)))return!0;if(!WEe){var n=sO0.call(e);return n==="[object GeneratorFunction]"}if(!kte)return!1;if(typeof Ste>"u"){var a=dO0();Ste=a?kte(a):!1}return kte(e)===Ste}});var VEe=D((Tzn,QEe)=>{"use strict";u();p();var KEe=Function.prototype.toString,Iw=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Mte,JN;if(typeof Iw=="function"&&typeof Object.defineProperty=="function")try{Mte=Object.defineProperty({},"length",{get:function(){throw JN}}),JN={},Iw(function(){throw 42},null,Mte)}catch(t){t!==JN&&(Iw=null)}else Iw=null;var lO0=/^\s*class\b/,Bte=function(e){try{var n=KEe.call(e);return lO0.test(n)}catch{return!1}},Rte=function(e){try{return Bte(e)?!1:(KEe.call(e),!0)}catch{return!1}},XN=Object.prototype.toString,uO0="[object Object]",pO0="[object Function]",hO0="[object GeneratorFunction]",mO0="[object HTMLAllCollection]",bO0="[object HTML document.all class]",yO0="[object HTMLCollection]",gO0=typeof Symbol=="function"&&!!Symbol.toStringTag,vO0=!(0 in[,]),Dte=function(){return!1};typeof document=="object"&&(GEe=document.all,XN.call(GEe)===XN.call(document.all)&&(Dte=function(e){if((vO0||!e)&&(typeof e>"u"||typeof e=="object"))try{var n=XN.call(e);return(n===mO0||n===bO0||n===yO0||n===uO0)&&e("")==null}catch{}return!1}));var GEe;QEe.exports=Iw?function(e){if(Dte(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{Iw(e,null,Mte)}catch(n){if(n!==JN)return!1}return!Bte(e)&&Rte(e)}:function(e){if(Dte(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(gO0)return Rte(e);if(Bte(e))return!1;var n=XN.call(e);return n!==pO0&&n!==hO0&&!/^\[object HTML/.test(n)?!1:Rte(e)}});var JEe=D((_zn,$Ee)=>{"use strict";u();p();var wO0=VEe(),TO0=Object.prototype.toString,YEe=Object.prototype.hasOwnProperty,xO0=function(e,n,a){for(var r=0,f=e.length;r=3&&(r=a),TO0.call(e)==="[object Array]"?xO0(e,n,r):typeof e=="string"?EO0(e,n,r):_O0(e,n,r)};$Ee.exports=AO0});var ZEe=D((Izn,XEe)=>{"use strict";u();p();XEe.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]});var t_e=D((Rzn,e_e)=>{"use strict";u();p();var Pte=ZEe(),CO0=typeof globalThis>"u"?global:globalThis;e_e.exports=function(){for(var e=[],n=0;n{"use strict";u();p();var eO=JEe(),IO0=t_e(),n_e=AI(),Nte=CI(),ZN=QN(),kO0=Nte("Object.prototype.toString"),r_e=HN()(),a_e=typeof globalThis>"u"?global:globalThis,Fte=IO0(),Ote=Nte("String.prototype.slice"),Lte=Object.getPrototypeOf,SO0=Nte("Array.prototype.indexOf",!0)||function(e,n){for(var a=0;a-1?n:n!=="Object"?!1:MO0(e)}return ZN?RO0(e):null}});var s_e=D((Fzn,i_e)=>{"use strict";u();p();var BO0=Ute();i_e.exports=function(e){return!!BO0(e)}});var T_e=D(Qn=>{"use strict";u();p();var DO0=zEe(),PO0=jEe(),al=Ute(),o_e=s_e();function kw(t){return t.call.bind(t)}var c_e=typeof BigInt<"u",d_e=typeof Symbol<"u",_5=kw(Object.prototype.toString),LO0=kw(Number.prototype.valueOf),FO0=kw(String.prototype.valueOf),NO0=kw(Boolean.prototype.valueOf);c_e&&(l_e=kw(BigInt.prototype.valueOf));var l_e;d_e&&(u_e=kw(Symbol.prototype.valueOf));var u_e;function kI(t,e){if(typeof t!="object")return!1;try{return e(t),!0}catch{return!1}}Qn.isArgumentsObject=DO0;Qn.isGeneratorFunction=PO0;Qn.isTypedArray=o_e;function OO0(t){return typeof Promise<"u"&&t instanceof Promise||t!==null&&typeof t=="object"&&typeof t.then=="function"&&typeof t.catch=="function"}Qn.isPromise=OO0;function UO0(t){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(t):o_e(t)||h_e(t)}Qn.isArrayBufferView=UO0;function HO0(t){return al(t)==="Uint8Array"}Qn.isUint8Array=HO0;function zO0(t){return al(t)==="Uint8ClampedArray"}Qn.isUint8ClampedArray=zO0;function WO0(t){return al(t)==="Uint16Array"}Qn.isUint16Array=WO0;function qO0(t){return al(t)==="Uint32Array"}Qn.isUint32Array=qO0;function jO0(t){return al(t)==="Int8Array"}Qn.isInt8Array=jO0;function GO0(t){return al(t)==="Int16Array"}Qn.isInt16Array=GO0;function KO0(t){return al(t)==="Int32Array"}Qn.isInt32Array=KO0;function QO0(t){return al(t)==="Float32Array"}Qn.isFloat32Array=QO0;function VO0(t){return al(t)==="Float64Array"}Qn.isFloat64Array=VO0;function YO0(t){return al(t)==="BigInt64Array"}Qn.isBigInt64Array=YO0;function $O0(t){return al(t)==="BigUint64Array"}Qn.isBigUint64Array=$O0;function nO(t){return _5(t)==="[object Map]"}nO.working=typeof Map<"u"&&nO(new Map);function JO0(t){return typeof Map>"u"?!1:nO.working?nO(t):t instanceof Map}Qn.isMap=JO0;function aO(t){return _5(t)==="[object Set]"}aO.working=typeof Set<"u"&&aO(new Set);function XO0(t){return typeof Set>"u"?!1:aO.working?aO(t):t instanceof Set}Qn.isSet=XO0;function rO(t){return _5(t)==="[object WeakMap]"}rO.working=typeof WeakMap<"u"&&rO(new WeakMap);function ZO0(t){return typeof WeakMap>"u"?!1:rO.working?rO(t):t instanceof WeakMap}Qn.isWeakMap=ZO0;function zte(t){return _5(t)==="[object WeakSet]"}zte.working=typeof WeakSet<"u"&&zte(new WeakSet);function eU0(t){return zte(t)}Qn.isWeakSet=eU0;function fO(t){return _5(t)==="[object ArrayBuffer]"}fO.working=typeof ArrayBuffer<"u"&&fO(new ArrayBuffer);function p_e(t){return typeof ArrayBuffer>"u"?!1:fO.working?fO(t):t instanceof ArrayBuffer}Qn.isArrayBuffer=p_e;function iO(t){return _5(t)==="[object DataView]"}iO.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&iO(new DataView(new ArrayBuffer(1),0,1));function h_e(t){return typeof DataView>"u"?!1:iO.working?iO(t):t instanceof DataView}Qn.isDataView=h_e;var Hte=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function II(t){return _5(t)==="[object SharedArrayBuffer]"}function m_e(t){return typeof Hte>"u"?!1:(typeof II.working>"u"&&(II.working=II(new Hte)),II.working?II(t):t instanceof Hte)}Qn.isSharedArrayBuffer=m_e;function tU0(t){return _5(t)==="[object AsyncFunction]"}Qn.isAsyncFunction=tU0;function nU0(t){return _5(t)==="[object Map Iterator]"}Qn.isMapIterator=nU0;function aU0(t){return _5(t)==="[object Set Iterator]"}Qn.isSetIterator=aU0;function rU0(t){return _5(t)==="[object Generator]"}Qn.isGeneratorObject=rU0;function fU0(t){return _5(t)==="[object WebAssembly.Module]"}Qn.isWebAssemblyCompiledModule=fU0;function b_e(t){return kI(t,LO0)}Qn.isNumberObject=b_e;function y_e(t){return kI(t,FO0)}Qn.isStringObject=y_e;function g_e(t){return kI(t,NO0)}Qn.isBooleanObject=g_e;function v_e(t){return c_e&&kI(t,l_e)}Qn.isBigIntObject=v_e;function w_e(t){return d_e&&kI(t,u_e)}Qn.isSymbolObject=w_e;function iU0(t){return b_e(t)||y_e(t)||g_e(t)||v_e(t)||w_e(t)}Qn.isBoxedPrimitive=iU0;function sU0(t){return typeof Uint8Array<"u"&&(p_e(t)||m_e(t))}Qn.isAnyArrayBuffer=sU0;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(Qn,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})})});var E_e=D((Wzn,x_e)=>{u();p();x_e.exports=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}});var rl=D(Vn=>{u();p();var __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(x.throwDeprecation)throw new Error(e);x.traceDeprecation?console.trace(e):console.error(e),n=!0}return t.apply(this,arguments)}return a};var sO={},A_e=/^$/;x.env.NODE_DEBUG&&(oO=x.env.NODE_DEBUG,oO=oO.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),A_e=new RegExp("^"+oO+"$","i"));var oO;Vn.debuglog=function(t){if(t=t.toUpperCase(),!sO[t])if(A_e.test(t)){var e=x.pid;sO[t]=function(){var n=Vn.format.apply(Vn,arguments);console.error("%s %d: %s",t,e,n)}}else sO[t]=function(){};return sO[t]};function k3(t,e){var n={seen:[],stylize:dU0};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Gte(e)?n.showHidden=e:e&&Vn._extend(n,e),Py(n.showHidden)&&(n.showHidden=!1),Py(n.depth)&&(n.depth=2),Py(n.colors)&&(n.colors=!1),Py(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=cU0),dO(n,t,n.depth)}Vn.inspect=k3;k3.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]};k3.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function cU0(t,e){var n=k3.styles[e];return n?"\x1B["+k3.colors[n][0]+"m"+t+"\x1B["+k3.colors[n][1]+"m":t}function dU0(t,e){return t}function lU0(t){var e={};return t.forEach(function(n,a){e[n]=!0}),e}function dO(t,e,n){if(t.customInspect&&e&&cO(e.inspect)&&e.inspect!==Vn.inspect&&!(e.constructor&&e.constructor.prototype===e)){var a=e.inspect(n,t);return pO(a)||(a=dO(t,a,n)),a}var r=uU0(t,e);if(r)return r;var f=Object.keys(e),i=lU0(f);if(t.showHidden&&(f=Object.getOwnPropertyNames(e)),RI(e)&&(f.indexOf("message")>=0||f.indexOf("description")>=0))return Wte(e);if(f.length===0){if(cO(e)){var s=e.name?": "+e.name:"";return t.stylize("[Function"+s+"]","special")}if(SI(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(lO(e))return t.stylize(Date.prototype.toString.call(e),"date");if(RI(e))return Wte(e)}var o="",c=!1,d=["{","}"];if(C_e(e)&&(c=!0,d=["[","]"]),cO(e)){var l=e.name?": "+e.name:"";o=" [Function"+l+"]"}if(SI(e)&&(o=" "+RegExp.prototype.toString.call(e)),lO(e)&&(o=" "+Date.prototype.toUTCString.call(e)),RI(e)&&(o=" "+Wte(e)),f.length===0&&(!c||e.length==0))return d[0]+o+d[1];if(n<0)return SI(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var h;return c?h=pU0(t,e,n,i,f):h=f.map(function(y){return jte(t,e,n,i,y,c)}),t.seen.pop(),hU0(h,o,d)}function uU0(t,e){if(Py(e))return t.stylize("undefined","undefined");if(pO(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(I_e(e))return t.stylize(""+e,"number");if(Gte(e))return t.stylize(""+e,"boolean");if(uO(e))return t.stylize("null","null")}function Wte(t){return"["+Error.prototype.toString.call(t)+"]"}function pU0(t,e,n,a,r){for(var f=[],i=0,s=e.length;i{var vM0=Object.create;var iI=Object.defineProperty;var wM0=Object.getOwnPropertyDescriptor;var TM0=Object.getOwnPropertyNames;var xM0=Object.getPrototypeOf,EM0=Object.prototype.hasOwnProperty;var _M0=(t,e,n)=>e in t?iI(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Vd=(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 oe=(t,e)=>()=>(t&&(e=t(t=0)),e);var D=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),G0=(t,e)=>{for(var n in e)iI(t,n,{get:e[n],enumerable:!0})},xF=(t,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of TM0(e))!EM0.call(t,r)&&r!==n&&iI(t,r,{get:()=>e[r],enumerable:!(a=wM0(e,r))||a.enumerable});return t},$i=(t,e,n)=>(xF(t,e,"default"),n&&xF(n,e,"default")),Ee=(t,e,n)=>(n=t!=null?vM0(xM0(t)):{},xF(e||!t||!t.__esModule?iI(n,"default",{value:t,enumerable:!0}):n,t)),vn=t=>xF(iI({},"__esModule",{value:!0}),t);var ae=(t,e,n)=>(_M0(t,typeof e!="symbol"?e+"":e,n),n);var x,u=oe(()=>{x={env:"production"}});var Ive=D(EF=>{"use strict";u();p();EF.byteLength=IM0;EF.toByteArray=SM0;EF.fromByteArray=BM0;var ou=[],m5=[],CM0=typeof Uint8Array<"u"?Uint8Array:Array,d0e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(iy=0,Ave=d0e.length;iy0)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 IM0(t){var e=Cve(t),n=e[0],a=e[1];return(n+a)*3/4-a}function kM0(t,e,n){return(e+n)*3/4-n}function SM0(t){var e,n=Cve(t),a=n[0],r=n[1],f=new CM0(kM0(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=m5[t.charCodeAt(o)]<<2|m5[t.charCodeAt(o+1)]>>4,f[i++]=e&255),r===1&&(e=m5[t.charCodeAt(o)]<<10|m5[t.charCodeAt(o+1)]<<4|m5[t.charCodeAt(o+2)]>>2,f[i++]=e>>8&255,f[i++]=e&255),f}function RM0(t){return ou[t>>18&63]+ou[t>>12&63]+ou[t>>6&63]+ou[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(ou[e>>2]+ou[e<<4&63]+"==")):a===2&&(e=(t[n-2]<<8)+t[n-1],r.push(ou[e>>10]+ou[e>>4&63]+ou[e<<2&63]+"=")),r.join("")}});var kve=D(l0e=>{u();p();l0e.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)};l0e.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 Qf=D(zv=>{"use strict";u();p();var u0e=Ive(),Hv=kve(),Sve=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;zv.Buffer=n0;zv.SlowBuffer=OM0;zv.INSPECT_MAX_BYTES=50;var _F=2147483647;zv.kMaxLength=_F;n0.TYPED_ARRAY_SUPPORT=DM0();!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 DM0(){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 Vp(t){if(t>_F)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 b0e(t)}return Bve(t,e,n)}n0.poolSize=8192;function Bve(t,e,n){if(typeof t=="string")return LM0(t,e);if(ArrayBuffer.isView(t))return FM0(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(cu(t,ArrayBuffer)||t&&cu(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(cu(t,SharedArrayBuffer)||t&&cu(t.buffer,SharedArrayBuffer)))return h0e(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=NM0(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 Bve(t,e,n)};Object.setPrototypeOf(n0.prototype,Uint8Array.prototype);Object.setPrototypeOf(n0,Uint8Array);function Dve(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 PM0(t,e,n){return Dve(t),t<=0?Vp(t):e!==void 0?typeof n=="string"?Vp(t).fill(e,n):Vp(t).fill(e):Vp(t)}n0.alloc=function(t,e,n){return PM0(t,e,n)};function b0e(t){return Dve(t),Vp(t<0?0:y0e(t)|0)}n0.allocUnsafe=function(t){return b0e(t)};n0.allocUnsafeSlow=function(t){return b0e(t)};function LM0(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!n0.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var n=Pve(t,e)|0,a=Vp(n),r=a.write(t,e);return r!==n&&(a=a.slice(0,r)),a}function p0e(t){for(var e=t.length<0?0:y0e(t.length)|0,n=Vp(e),a=0;a=_F)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+_F.toString(16)+" bytes");return t|0}function OM0(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(cu(e,Uint8Array)&&(e=n0.from(e,e.offset,e.byteLength)),cu(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 Pve(t,e){if(n0.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||cu(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 m0e(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Hve(t).length;default:if(r)return a?-1:m0e(t).length;e=(""+e).toLowerCase(),r=!0}}n0.byteLength=Pve;function UM0(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 YM0(this,e,n);case"utf8":case"utf-8":return Fve(this,e,n);case"ascii":return QM0(this,e,n);case"latin1":case"binary":return VM0(this,e,n);case"base64":return GM0(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $M0(this,e,n);default:if(a)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}n0.prototype._isBuffer=!0;function sy(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+=" ... "),""};Sve&&(n0.prototype[Sve]=n0.prototype.inspect);n0.prototype.compare=function(e,n,a,r,f){if(cu(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,g0e(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:Rve(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):Rve(t,[e],n,a,r);throw new TypeError("val must be string, number or Buffer")}function Rve(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 HM0(this,e,n,a);case"utf8":case"utf-8":return zM0(this,e,n,a);case"ascii":case"latin1":case"binary":return WM0(this,e,n,a);case"base64":return qM0(this,e,n,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return jM0(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 GM0(t,e,n){return e===0&&n===t.length?u0e.fromByteArray(t):u0e.fromByteArray(t.slice(e,n))}function Fve(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 KM0(a)}var Mve=4096;function KM0(t){var e=t.length;if(e<=Mve)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||ls(e,n,this.length);for(var r=this[e],f=1,i=0;++i>>0,n=n>>>0,a||ls(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||ls(e,1,this.length),this[e]};n0.prototype.readUint16LE=n0.prototype.readUInt16LE=function(e,n){return e=e>>>0,n||ls(e,2,this.length),this[e]|this[e+1]<<8};n0.prototype.readUint16BE=n0.prototype.readUInt16BE=function(e,n){return e=e>>>0,n||ls(e,2,this.length),this[e]<<8|this[e+1]};n0.prototype.readUint32LE=n0.prototype.readUInt32LE=function(e,n){return e=e>>>0,n||ls(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||ls(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||ls(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||ls(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||ls(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};n0.prototype.readInt16LE=function(e,n){e=e>>>0,n||ls(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||ls(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||ls(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||ls(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||ls(e,4,this.length),Hv.read(this,e,!0,23,4)};n0.prototype.readFloatBE=function(e,n){return e=e>>>0,n||ls(e,4,this.length),Hv.read(this,e,!1,23,4)};n0.prototype.readDoubleLE=function(e,n){return e=e>>>0,n||ls(e,8,this.length),Hv.read(this,e,!0,52,8)};n0.prototype.readDoubleBE=function(e,n){return e=e>>>0,n||ls(e,8,this.length),Hv.read(this,e,!1,52,8)};function kc(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;kc(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;kc(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||kc(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||kc(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||kc(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||kc(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||kc(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);kc(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);kc(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||kc(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||kc(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||kc(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||kc(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||kc(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 Nve(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 Ove(t,e,n,a,r){return e=+e,n=n>>>0,r||Nve(t,e,n,4,34028234663852886e22,-34028234663852886e22),Hv.write(t,e,n,a,23,4),n+4}n0.prototype.writeFloatLE=function(e,n,a){return Ove(this,e,n,!0,a)};n0.prototype.writeFloatBE=function(e,n,a){return Ove(this,e,n,!1,a)};function Uve(t,e,n,a,r){return e=+e,n=n>>>0,r||Nve(t,e,n,8,17976931348623157e292,-17976931348623157e292),Hv.write(t,e,n,a,52,8),n+8}n0.prototype.writeDoubleLE=function(e,n,a){return Uve(this,e,n,!0,a)};n0.prototype.writeDoubleBE=function(e,n,a){return Uve(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 ZM0(t){for(var e=[],n=0;n>8,r=n%256,f.push(r),f.push(a);return f}function Hve(t){return u0e.toByteArray(XM0(t))}function AF(t,e,n,a){for(var r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function cu(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function g0e(t){return t!==t}var tB0=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 Gve=D((JLn,jve)=>{u();p();var ui=jve.exports={},du,lu;function v0e(){throw new Error("setTimeout has not been defined")}function w0e(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?du=setTimeout:du=v0e}catch{du=v0e}try{typeof clearTimeout=="function"?lu=clearTimeout:lu=w0e}catch{lu=w0e}})();function zve(t){if(du===setTimeout)return setTimeout(t,0);if((du===v0e||!du)&&setTimeout)return du=setTimeout,setTimeout(t,0);try{return du(t,0)}catch{try{return du.call(null,t,0)}catch{return du.call(this,t,0)}}}function nB0(t){if(lu===clearTimeout)return clearTimeout(t);if((lu===w0e||!lu)&&clearTimeout)return lu=clearTimeout,clearTimeout(t);try{return lu(t)}catch{try{return lu.call(null,t)}catch{return lu.call(this,t)}}}var Yp=[],Wv=!1,oy,CF=-1;function aB0(){!Wv||!oy||(Wv=!1,oy.length?Yp=oy.concat(Yp):CF=-1,Yp.length&&Wve())}function Wve(){if(!Wv){var t=zve(aB0);Wv=!0;for(var e=Yp.length;e;){for(oy=Yp,Yp=[];++CF1)for(var n=1;n{_=Ee(Qf()),I=Ee(Gve()),rB0=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=rB0});function iB0(t){Vve=t}function kF(){return Vve}function ft(t,e){let n=SF({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,kF(),sI].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 yB0(t,e){return!!((e==="v4"||!e)&&hB0.test(t)||(e==="v6"||!e)&&mB0.test(t))}function gB0(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 qv(t){if(t instanceof Sc){let e={};for(let n in t.shape){let a=t.shape[n];e[n]=Yd.create(qv(a))}return new Sc({...t._def,shape:()=>e})}else return t instanceof Xp?new Xp({...t._def,type:qv(t.element)}):t instanceof Yd?Yd.create(qv(t.unwrap())):t instanceof Zp?Zp.create(qv(t.unwrap())):t instanceof uu?uu.create(t.items.map(e=>qv(e))):t}function A0e(t,e){let n=h3(t),a=h3(e);if(t===e)return{valid:!0,data:t};if(n===tt.object&&a===tt.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=A0e(t[s],e[s]);if(!o.valid)return{valid:!1};i[s]=o.data}return{valid:!0,data:i}}else if(n===tt.array&&a===tt.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})})(x0e||(x0e={}));tt=Ma.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),h3=t=>{switch(typeof t){case"undefined":return tt.undefined;case"string":return tt.string;case"number":return isNaN(t)?tt.nan:tt.number;case"boolean":return tt.boolean;case"function":return tt.function;case"bigint":return tt.bigint;case"symbol":return tt.symbol;case"object":return Array.isArray(t)?tt.array:t===null?tt.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?tt.promise:typeof Map<"u"&&t instanceof Map?tt.map:typeof Set<"u"&&t instanceof Set?tt.set:typeof Date<"u"&&t instanceof Date?tt.date:tt.object;default:return tt.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"]),fB0=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),w6=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()}};w6.create=t=>new w6(t);sI=(t,e)=>{let n;switch(t.code){case D0.invalid_type:t.received===tt.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}},Vve=sI;SF=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}},sB0=[];Mo=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"}),Yve=t=>({status:"dirty",value:t}),O1=t=>({status:"valid",value:t}),E0e=t=>t.status==="aborted",_0e=t=>t.status==="dirty",oI=t=>t.status==="valid",RF=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={}));b5=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}},Kve=(t,e)=>{if(oI(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 w6(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 h3(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:h3(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Mo,ctx:{common:e.parent.common,data:e.data,parsedType:h3(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let n=this._parse(e);if(RF(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:h3(e)},f=this._parseSync({data:e,path:r.path,parent:r});return Kve(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:h3(e)},r=this._parse({data:e,path:a.path,parent:a}),f=await(RF(r)?r:Promise.resolve(r));return Kve(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 T6({schema:this,typeName:Lt.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return Yd.create(this,this._def)}nullable(){return Zp.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Xp.create(this,this._def)}promise(){return y3.create(this,this._def)}or(e){return my.create([this,e],this._def)}and(e){return by.create(this,e,this._def)}transform(e){return new T6({...on(this._def),schema:this,typeName:Lt.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let n=typeof e=="function"?e:()=>e;return new Ty({...on(this._def),innerType:this,defaultValue:n,typeName:Lt.ZodDefault})}brand(){return new PF({typeName:Lt.ZodBranded,type:this,...on(this._def)})}catch(e){let n=typeof e=="function"?e:()=>e;return new Vv({...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 cI.create(this,e)}readonly(){return $v.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},oB0=/^c[^\s-]{8,}$/i,cB0=/^[a-z][a-z0-9]*$/,dB0=/^[0-9A-HJKMNP-TV-Z]{26}$/,lB0=/^[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,uB0=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,pB0="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",hB0=/^(((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}))$/,mB0=/^(([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})))$/,bB0=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$");m3=class t extends cn{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==tt.string){let f=this._getOrReturnCtx(e);return ft(f,{code:D0.invalid_type,expected:tt.string,received:f.parsedType}),Qt}let a=new Mo,r;for(let f of this._def.checks)if(f.kind==="min")e.data.lengthf.value&&(r=this._getOrReturnCtx(e,r),ft(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 m3({checks:[],typeName:Lt.ZodString,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...on(t)})};cy=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)!==tt.number){let f=this._getOrReturnCtx(e);return ft(f,{code:D0.invalid_type,expected:tt.number,received:f.parsedType}),Qt}let a,r=new Mo;for(let f of this._def.checks)f.kind==="int"?Ma.isInteger(e.data)||(a=this._getOrReturnCtx(e,a),ft(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),ft(a,{code:D0.too_big,maximum:f.value,type:"number",inclusive:f.inclusive,exact:!1,message:f.message}),r.dirty()):f.kind==="multipleOf"?gB0(e.data,f.value)!==0&&(a=this._getOrReturnCtx(e,a),ft(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),ft(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 cy({checks:[],typeName:Lt.ZodNumber,coerce:t?.coerce||!1,...on(t)});dy=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)!==tt.bigint){let f=this._getOrReturnCtx(e);return ft(f,{code:D0.invalid_type,expected:tt.bigint,received:f.parsedType}),Qt}let a,r=new Mo;for(let f of this._def.checks)f.kind==="min"?(f.inclusive?e.dataf.value:e.data>=f.value)&&(a=this._getOrReturnCtx(e,a),ft(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),ft(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 dy({checks:[],typeName:Lt.ZodBigInt,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...on(t)})};ly=class extends cn{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==tt.boolean){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.boolean,received:a.parsedType}),Qt}return O1(e.data)}};ly.create=t=>new ly({typeName:Lt.ZodBoolean,coerce:t?.coerce||!1,...on(t)});uy=class t extends cn{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==tt.date){let f=this._getOrReturnCtx(e);return ft(f,{code:D0.invalid_type,expected:tt.date,received:f.parsedType}),Qt}if(isNaN(e.data.getTime())){let f=this._getOrReturnCtx(e);return ft(f,{code:D0.invalid_date}),Qt}let a=new Mo,r;for(let f of this._def.checks)f.kind==="min"?e.data.getTime()f.value&&(r=this._getOrReturnCtx(e,r),ft(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 uy({checks:[],coerce:t?.coerce||!1,typeName:Lt.ZodDate,...on(t)});jv=class extends cn{_parse(e){if(this._getType(e)!==tt.symbol){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.symbol,received:a.parsedType}),Qt}return O1(e.data)}};jv.create=t=>new jv({typeName:Lt.ZodSymbol,...on(t)});py=class extends cn{_parse(e){if(this._getType(e)!==tt.undefined){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.undefined,received:a.parsedType}),Qt}return O1(e.data)}};py.create=t=>new py({typeName:Lt.ZodUndefined,...on(t)});hy=class extends cn{_parse(e){if(this._getType(e)!==tt.null){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.null,received:a.parsedType}),Qt}return O1(e.data)}};hy.create=t=>new hy({typeName:Lt.ZodNull,...on(t)});b3=class extends cn{constructor(){super(...arguments),this._any=!0}_parse(e){return O1(e.data)}};b3.create=t=>new b3({typeName:Lt.ZodAny,...on(t)});Jp=class extends cn{constructor(){super(...arguments),this._unknown=!0}_parse(e){return O1(e.data)}};Jp.create=t=>new Jp({typeName:Lt.ZodUnknown,...on(t)});$d=class extends cn{_parse(e){let n=this._getOrReturnCtx(e);return ft(n,{code:D0.invalid_type,expected:tt.never,received:n.parsedType}),Qt}};$d.create=t=>new $d({typeName:Lt.ZodNever,...on(t)});Gv=class extends cn{_parse(e){if(this._getType(e)!==tt.undefined){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.void,received:a.parsedType}),Qt}return O1(e.data)}};Gv.create=t=>new Gv({typeName:Lt.ZodVoid,...on(t)});Xp=class t extends cn{_parse(e){let{ctx:n,status:a}=this._processInputParams(e),r=this._def;if(n.parsedType!==tt.array)return ft(n,{code:D0.invalid_type,expected:tt.array,received:n.parsedType}),Qt;if(r.exactLength!==null){let i=n.data.length>r.exactLength.value,s=n.data.lengthr.maxLength.value&&(ft(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 b5(n,i,n.path,s)))).then(i=>Mo.mergeArray(a,i));let f=[...n.data].map((i,s)=>r.type._parseSync(new b5(n,i,n.path,s)));return Mo.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)}};Xp.create=(t,e)=>new Xp({type:t,minLength:null,maxLength:null,exactLength:null,typeName:Lt.ZodArray,...on(e)});Sc=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)!==tt.object){let c=this._getOrReturnCtx(e);return ft(c,{code:D0.invalid_type,expected:tt.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 $d&&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 b5(r,l,r.path,c)),alwaysSet:c in r.data})}if(this._def.catchall instanceof $d){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&&(ft(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 b5(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=>Mo.mergeObjectSync(a,c)):Mo.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 qv(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 Yd;)f=f._def.innerType;n[a]=f}}),new t({...this._def,shape:()=>n})}keyof(){return $ve(Ma.objectKeys(this.shape))}};Sc.create=(t,e)=>new Sc({shape:()=>t,unknownKeys:"strip",catchall:$d.create(),typeName:Lt.ZodObject,...on(e)});Sc.strictCreate=(t,e)=>new Sc({shape:()=>t,unknownKeys:"strict",catchall:$d.create(),typeName:Lt.ZodObject,...on(e)});Sc.lazycreate=(t,e)=>new Sc({shape:t,unknownKeys:"strip",catchall:$d.create(),typeName:Lt.ZodObject,...on(e)});my=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 w6(s.ctx.common.issues));return ft(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 w6(o));return ft(n,{code:D0.invalid_union,unionErrors:s}),Qt}}get options(){return this._def.options}};my.create=(t,e)=>new my({options:t,typeName:Lt.ZodUnion,...on(e)});IF=t=>t instanceof yy?IF(t.schema):t instanceof T6?IF(t.innerType()):t instanceof gy?[t.value]:t instanceof vy?t.options:t instanceof wy?Object.keys(t.enum):t instanceof Ty?IF(t._def.innerType):t instanceof py?[void 0]:t instanceof hy?[null]:null,MF=class t extends cn{_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==tt.object)return ft(n,{code:D0.invalid_type,expected:tt.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}):(ft(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=IF(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)})}};by=class extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e),r=(f,i)=>{if(E0e(f)||E0e(i))return Qt;let s=A0e(f.value,i.value);return s.valid?((_0e(f)||_0e(i))&&n.dirty(),{status:n.value,value:s.data}):(ft(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}))}};by.create=(t,e,n)=>new by({left:t,right:e,typeName:Lt.ZodIntersection,...on(n)});uu=class t extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==tt.array)return ft(a,{code:D0.invalid_type,expected:tt.array,received:a.parsedType}),Qt;if(a.data.lengththis._def.items.length&&(ft(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 b5(a,i,a.path,s)):null}).filter(i=>!!i);return a.common.async?Promise.all(f).then(i=>Mo.mergeArray(n,i)):Mo.mergeArray(n,f)}get items(){return this._def.items}rest(e){return new t({...this._def,rest:e})}};uu.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new uu({items:t,typeName:Lt.ZodTuple,rest:null,...on(e)})};BF=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!==tt.object)return ft(a,{code:D0.invalid_type,expected:tt.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 b5(a,s,a.path,s)),value:i._parse(new b5(a,a.data[s],a.path,s))});return a.common.async?Mo.mergeObjectAsync(n,r):Mo.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:m3.create(),valueType:e,typeName:Lt.ZodRecord,...on(n)})}},Kv=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!==tt.map)return ft(a,{code:D0.invalid_type,expected:tt.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 b5(a,s,a.path,[c,"key"])),value:f._parse(new b5(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}}}};Kv.create=(t,e,n)=>new Kv({valueType:e,keyType:t,typeName:Lt.ZodMap,...on(n)});Qv=class t extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==tt.set)return ft(a,{code:D0.invalid_type,expected:tt.set,received:a.parsedType}),Qt;let r=this._def;r.minSize!==null&&a.data.sizer.maxSize.value&&(ft(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 b5(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)}};Qv.create=(t,e)=>new Qv({valueType:t,minSize:null,maxSize:null,typeName:Lt.ZodSet,...on(e)});DF=class t extends cn{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==tt.function)return ft(n,{code:D0.invalid_type,expected:tt.function,received:n.parsedType}),Qt;function a(s,o){return SF({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,kF(),sI].filter(c=>!!c),issueData:{code:D0.invalid_arguments,argumentsError:o}})}function r(s,o){return SF({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,kF(),sI].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 y3){let s=this;return O1(async function(...o){let c=new w6([]),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 O1(function(...o){let c=s._def.args.safeParse(o,f);if(!c.success)throw new w6([a(o,c.error)]);let d=Reflect.apply(i,this,c.data),l=s._def.returns.safeParse(d,f);if(!l.success)throw new w6([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:uu.create(e).rest(Jp.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||uu.create([]).rest(Jp.create()),returns:n||Jp.create(),typeName:Lt.ZodFunction,...on(a)})}},yy=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})}};yy.create=(t,e)=>new yy({getter:t,typeName:Lt.ZodLazy,...on(e)});gy=class extends cn{_parse(e){if(e.data!==this._def.value){let n=this._getOrReturnCtx(e);return ft(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}};gy.create=(t,e)=>new gy({value:t,typeName:Lt.ZodLiteral,...on(e)});vy=class t extends cn{_parse(e){if(typeof e.data!="string"){let n=this._getOrReturnCtx(e),a=this._def.values;return ft(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 ft(n,{received:n.data,code:D0.invalid_enum_value,options:a}),Qt}return O1(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)))}};vy.create=$ve;wy=class extends cn{_parse(e){let n=Ma.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==tt.string&&a.parsedType!==tt.number){let r=Ma.objectValues(n);return ft(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 ft(a,{received:a.data,code:D0.invalid_enum_value,options:r}),Qt}return O1(e.data)}get enum(){return this._def.values}};wy.create=(t,e)=>new wy({values:t,typeName:Lt.ZodNativeEnum,...on(e)});y3=class extends cn{unwrap(){return this._def.type}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==tt.promise&&n.common.async===!1)return ft(n,{code:D0.invalid_type,expected:tt.promise,received:n.parsedType}),Qt;let a=n.parsedType===tt.promise?n.data:Promise.resolve(n.data);return O1(a.then(r=>this._def.type.parseAsync(r,{path:n.path,errorMap:n.common.contextualErrorMap})))}};y3.create=(t,e)=>new y3({type:t,typeName:Lt.ZodPromise,...on(e)});T6=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=>{ft(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(!oI(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=>oI(i)?Promise.resolve(r.transform(i.value,f)).then(s=>({status:n.value,value:s})):i);Ma.assertNever(r)}};T6.create=(t,e,n)=>new T6({schema:t,typeName:Lt.ZodEffects,effect:e,...on(n)});T6.createWithPreprocess=(t,e,n)=>new T6({schema:e,effect:{type:"preprocess",transform:t},typeName:Lt.ZodEffects,...on(n)});Yd=class extends cn{_parse(e){return this._getType(e)===tt.undefined?O1(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Yd.create=(t,e)=>new Yd({innerType:t,typeName:Lt.ZodOptional,...on(e)});Zp=class extends cn{_parse(e){return this._getType(e)===tt.null?O1(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Zp.create=(t,e)=>new Zp({innerType:t,typeName:Lt.ZodNullable,...on(e)});Ty=class extends cn{_parse(e){let{ctx:n}=this._processInputParams(e),a=n.data;return n.parsedType===tt.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};Ty.create=(t,e)=>new Ty({innerType:t,typeName:Lt.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...on(e)});Vv=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 RF(r)?r.then(f=>({status:"valid",value:f.status==="valid"?f.value:this._def.catchValue({get error(){return new w6(a.common.issues)},input:a.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new w6(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}};Vv.create=(t,e)=>new Vv({innerType:t,typeName:Lt.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...on(e)});Yv=class extends cn{_parse(e){if(this._getType(e)!==tt.nan){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.nan,received:a.parsedType}),Qt}return{status:"valid",value:e.data}}};Yv.create=t=>new Yv({typeName:Lt.ZodNaN,...on(t)});vB0=Symbol("zod_brand"),PF=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}},cI=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(),Yve(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})}},$v=class extends cn{_parse(e){let n=this._def.innerType._parse(e);return oI(n)&&(n.value=Object.freeze(n.value)),n}};$v.create=(t,e)=>new $v({innerType:t,typeName:Lt.ZodReadonly,...on(e)});Jve=(t,e={},n)=>t?b3.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})}}):b3.create(),wB0={object:Sc.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={}));TB0=(t,e={message:`Input not instance of ${t.name}`})=>Jve(n=>n instanceof t,e),Xve=m3.create,Zve=cy.create,xB0=Yv.create,EB0=dy.create,ewe=ly.create,_B0=uy.create,AB0=jv.create,CB0=py.create,IB0=hy.create,kB0=b3.create,SB0=Jp.create,RB0=$d.create,MB0=Gv.create,BB0=Xp.create,DB0=Sc.create,PB0=Sc.strictCreate,LB0=my.create,FB0=MF.create,NB0=by.create,OB0=uu.create,UB0=BF.create,HB0=Kv.create,zB0=Qv.create,WB0=DF.create,qB0=yy.create,jB0=gy.create,GB0=vy.create,KB0=wy.create,QB0=y3.create,Qve=T6.create,VB0=Yd.create,YB0=Zp.create,$B0=T6.createWithPreprocess,JB0=cI.create,XB0=()=>Xve().optional(),ZB0=()=>Zve().optional(),eD0=()=>ewe().optional(),tD0={string:t=>m3.create({...t,coerce:!0}),number:t=>cy.create({...t,coerce:!0}),boolean:t=>ly.create({...t,coerce:!0}),bigint:t=>dy.create({...t,coerce:!0}),date:t=>uy.create({...t,coerce:!0})},nD0=Qt,fe=Object.freeze({__proto__:null,defaultErrorMap:sI,setErrorMap:iB0,getErrorMap:kF,makeIssue:SF,EMPTY_PATH:sB0,addIssueToContext:ft,ParseStatus:Mo,INVALID:Qt,DIRTY:Yve,OK:O1,isAborted:E0e,isDirty:_0e,isValid:oI,isAsync:RF,get util(){return Ma},get objectUtil(){return x0e},ZodParsedType:tt,getParsedType:h3,ZodType:cn,ZodString:m3,ZodNumber:cy,ZodBigInt:dy,ZodBoolean:ly,ZodDate:uy,ZodSymbol:jv,ZodUndefined:py,ZodNull:hy,ZodAny:b3,ZodUnknown:Jp,ZodNever:$d,ZodVoid:Gv,ZodArray:Xp,ZodObject:Sc,ZodUnion:my,ZodDiscriminatedUnion:MF,ZodIntersection:by,ZodTuple:uu,ZodRecord:BF,ZodMap:Kv,ZodSet:Qv,ZodFunction:DF,ZodLazy:yy,ZodLiteral:gy,ZodEnum:vy,ZodNativeEnum:wy,ZodPromise:y3,ZodEffects:T6,ZodTransformer:T6,ZodOptional:Yd,ZodNullable:Zp,ZodDefault:Ty,ZodCatch:Vv,ZodNaN:Yv,BRAND:vB0,ZodBranded:PF,ZodPipeline:cI,ZodReadonly:$v,custom:Jve,Schema:cn,ZodSchema:cn,late:wB0,get ZodFirstPartyTypeKind(){return Lt},coerce:tD0,any:kB0,array:BB0,bigint:EB0,boolean:ewe,date:_B0,discriminatedUnion:FB0,effect:Qve,enum:GB0,function:WB0,instanceof:TB0,intersection:NB0,lazy:qB0,literal:jB0,map:HB0,nan:xB0,nativeEnum:KB0,never:RB0,null:IB0,nullable:YB0,number:Zve,object:DB0,oboolean:eD0,onumber:ZB0,optional:VB0,ostring:XB0,pipeline:JB0,preprocess:$B0,promise:QB0,record:UB0,set:zB0,strictObject:PB0,string:Xve,symbol:AB0,transformer:Qve,tuple:OB0,undefined:CB0,union:LB0,unknown:SB0,void:MB0,NEVER:nD0,ZodIssueCode:D0,quotelessJson:fB0,ZodError:w6})});function C0e(){if(!LF&&(LF=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!LF))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return LF(aD0)}var LF,aD0,twe=oe(()=>{u();p();aD0=new Uint8Array(16)});function nwe(t,e=0){return $s[t[e+0]]+$s[t[e+1]]+$s[t[e+2]]+$s[t[e+3]]+"-"+$s[t[e+4]]+$s[t[e+5]]+"-"+$s[t[e+6]]+$s[t[e+7]]+"-"+$s[t[e+8]]+$s[t[e+9]]+"-"+$s[t[e+10]]+$s[t[e+11]]+$s[t[e+12]]+$s[t[e+13]]+$s[t[e+14]]+$s[t[e+15]]}var $s,awe=oe(()=>{u();p();$s=[];for(let t=0;t<256;++t)$s.push((t+256).toString(16).slice(1))});var rD0,I0e,rwe=oe(()=>{u();p();rD0=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),I0e={randomUUID:rD0}});function fD0(t,e,n){if(I0e.randomUUID&&!e&&!t)return I0e.randomUUID();t=t||{};let a=t.random||(t.rng||C0e)();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 nwe(a)}var Jv,fwe=oe(()=>{u();p();rwe();twe();awe();Jv=fD0});var k0e=oe(()=>{u();p();fwe()});var Va=D((iwe,S0e)=>{u();p();(function(t,e){"use strict";function n(w,b){if(!w)throw new Error(b||"Assertion failed")}function a(w,b){w.super_=b;var A=function(){};A.prototype=b.prototype,w.prototype=new A,w.prototype.constructor=w}function r(w,b,A){if(r.isBN(w))return w;this.negative=0,this.words=null,this.length=0,this.red=null,w!==null&&((b==="le"||b==="be")&&(A=b,b=10),this._init(w||0,b||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=Qf().Buffer}catch{}r.isBN=function(b){return b instanceof r?!0:b!==null&&typeof b=="object"&&b.constructor.wordSize===r.wordSize&&Array.isArray(b.words)},r.max=function(b,A){return b.cmp(A)>0?b:A},r.min=function(b,A){return b.cmp(A)<0?b:A},r.prototype._init=function(b,A,P){if(typeof b=="number")return this._initNumber(b,A,P);if(typeof b=="object")return this._initArray(b,A,P);A==="hex"&&(A=16),n(A===(A|0)&&A>=2&&A<=36),b=b.toString().replace(/\s+/g,"");var L=0;b[0]==="-"&&(L++,this.negative=1),L=0;L-=3)g=b[L]|b[L-1]<<8|b[L-2]<<16,this.words[E]|=g<>>26-B&67108863,B+=24,B>=26&&(B-=26,E++);else if(P==="le")for(L=0,E=0;L>>26-B&67108863,B+=24,B>=26&&(B-=26,E++);return this._strip()};function i(w,b){var A=w.charCodeAt(b);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,b,A){var P=i(w,A);return A-1>=b&&(P|=i(w,A-1)<<4),P}r.prototype._parseHex=function(b,A,P){this.length=Math.ceil((b.length-A)/6),this.words=new Array(this.length);for(var L=0;L=A;L-=2)B=s(b,A,L)<=18?(E-=18,g+=1,this.words[g]|=B>>>26):E+=8;else{var M=b.length-A;for(L=M%2===0?A+1:A;L=18?(E-=18,g+=1,this.words[g]|=B>>>26):E+=8}this._strip()};function o(w,b,A,P){for(var L=0,E=0,g=Math.min(w.length,A),B=b;B=49?E=M-49+10:M>=17?E=M-17+10:E=M,n(M>=0&&E1&&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(b,A){b=b||10,A=A|0||1;var P;if(b===16||b==="hex"){P="";for(var L=0,E=0,g=0;g>>24-L&16777215,L+=2,L>=26&&(L-=26,g--),E!==0||g!==this.length-1?P=l[6-M.length]+M+P:P=M+P}for(E!==0&&(P=E.toString(16)+P);P.length%A!==0;)P="0"+P;return this.negative!==0&&(P="-"+P),P}if(b===(b|0)&&b>=2&&b<=36){var S=h[b],q=y[b];P="";var ee=this.clone();for(ee.negative=0;!ee.isZero();){var U=ee.modrn(q).toString(b);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 b=this.words[0];return this.length===2?b+=this.words[1]*67108864:this.length===3&&this.words[2]===1?b+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-b:b},r.prototype.toJSON=function(){return this.toString(16,2)},f&&(r.prototype.toBuffer=function(b,A){return this.toArrayLike(f,b,A)}),r.prototype.toArray=function(b,A){return this.toArrayLike(Array,b,A)};var v=function(b,A){return b.allocUnsafe?b.allocUnsafe(A):new b(A)};r.prototype.toArrayLike=function(b,A,P){this._strip();var L=this.byteLength(),E=P||Math.max(1,L);n(L<=E,"byte array longer than desired length"),n(E>0,"Requested array length <= 0");var g=v(b,E),B=A==="le"?"LE":"BE";return this["_toArrayLike"+B](g,L),g},r.prototype._toArrayLikeLE=function(b,A){for(var P=0,L=0,E=0,g=0;E>8&255),P>16&255),g===6?(P>24&255),L=0,g=0):(L=B>>>24,g+=2)}if(P=0&&(b[P--]=B>>8&255),P>=0&&(b[P--]=B>>16&255),g===6?(P>=0&&(b[P--]=B>>24&255),L=0,g=0):(L=B>>>24,g+=2)}if(P>=0)for(b[P--]=L;P>=0;)b[P--]=0},Math.clz32?r.prototype._countBits=function(b){return 32-Math.clz32(b)}:r.prototype._countBits=function(b){var A=b,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(b){if(b===0)return 26;var A=b,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 b=this.words[this.length-1],A=this._countBits(b);return(this.length-1)*26+A};function k(w){for(var b=new Array(w.bitLength()),A=0;A>>L&1}return b}r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var b=0,A=0;Ab.length?this.clone().ior(b):b.clone().ior(this)},r.prototype.uor=function(b){return this.length>b.length?this.clone().iuor(b):b.clone().iuor(this)},r.prototype.iuand=function(b){var A;this.length>b.length?A=b:A=this;for(var P=0;Pb.length?this.clone().iand(b):b.clone().iand(this)},r.prototype.uand=function(b){return this.length>b.length?this.clone().iuand(b):b.clone().iuand(this)},r.prototype.iuxor=function(b){var A,P;this.length>b.length?(A=this,P=b):(A=b,P=this);for(var L=0;Lb.length?this.clone().ixor(b):b.clone().ixor(this)},r.prototype.uxor=function(b){return this.length>b.length?this.clone().iuxor(b):b.clone().iuxor(this)},r.prototype.inotn=function(b){n(typeof b=="number"&&b>=0);var A=Math.ceil(b/26)|0,P=b%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(b){return this.clone().inotn(b)},r.prototype.setn=function(b,A){n(typeof b=="number"&&b>=0);var P=b/26|0,L=b%26;return this._expand(P+1),A?this.words[P]=this.words[P]|1<b.length?(P=this,L=b):(P=b,L=this);for(var E=0,g=0;g>>26;for(;E!==0&&g>>26;if(this.length=P.length,E!==0)this.words[this.length]=E,this.length++;else if(P!==this)for(;gb.length?this.clone().iadd(b):b.clone().iadd(this)},r.prototype.isub=function(b){if(b.negative!==0){b.negative=0;var A=this.iadd(b);return b.negative=1,A._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(b),this.negative=1,this._normSign();var P=this.cmp(b);if(P===0)return this.negative=0,this.length=1,this.words[0]=0,this;var L,E;P>0?(L=this,E=b):(L=b,E=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,b.length-1),J=Math.max(0,S-w.length+1);J<=U;J++){var Z=S-J|0;L=w.words[Z]|0,E=b.words[J]|0,g=L*E+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(b,A,P){var L=b.words,E=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=E[0]|0,Ve=w0&8191,me=w0>>>13,ye=E[1]|0,_e=ye&8191,ze=ye>>>13,je=E[2]|0,Ue=je&8191,m0=je>>>13,h0=E[3]|0,$e=h0&8191,M0=h0>>>13,P0=E[4]|0,t0=P0&8191,j0=P0>>>13,z0=E[5]|0,Ke=z0&8191,B0=z0>>>13,K0=E[6]|0,s0=K0&8191,J0=K0>>>13,Y0=E[7]|0,l0=Y0&8191,Q0=Y0>>>13,et=E[8]|0,p0=et&8191,Z0=et>>>13,Et=E[9]|0,$0=Et&8191,Tt=Et>>>13;P.negative=b.negative^A.negative,P.length=19,M=Math.imul(U,Ve),S=Math.imul(U,me),S=S+Math.imul(J,Ve)|0,q=Math.imul(J,me);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,me),S=S+Math.imul(ue,Ve)|0,q=Math.imul(ue,me),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,me),S=S+Math.imul(ie,Ve)|0,q=Math.imul(ie,me),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,m0)|0,S=S+Math.imul(J,Ue)|0,q=q+Math.imul(J,m0)|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,me),S=S+Math.imul(Ae,Ve)|0,q=Math.imul(Ae,me),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,m0)|0,S=S+Math.imul(ue,Ue)|0,q=q+Math.imul(ue,m0)|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,me),S=S+Math.imul(c0,Ve)|0,q=Math.imul(c0,me),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,m0)|0,S=S+Math.imul(ie,Ue)|0,q=q+Math.imul(ie,m0)|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,me),S=S+Math.imul(_0,Ve)|0,q=Math.imul(_0,me),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,m0)|0,S=S+Math.imul(Ae,Ue)|0,q=q+Math.imul(Ae,m0)|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,me),S=S+Math.imul(I0,Ve)|0,q=Math.imul(I0,me),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,m0)|0,S=S+Math.imul(c0,Ue)|0,q=q+Math.imul(c0,m0)|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,J0)|0,S=S+Math.imul(J,s0)|0,q=q+Math.imul(J,J0)|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,me),S=S+Math.imul(Te,Ve)|0,q=Math.imul(Te,me),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,m0)|0,S=S+Math.imul(_0,Ue)|0,q=q+Math.imul(_0,m0)|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,J0)|0,S=S+Math.imul(ue,s0)|0,q=q+Math.imul(ue,J0)|0,M=M+Math.imul(U,l0)|0,S=S+Math.imul(U,Q0)|0,S=S+Math.imul(J,l0)|0,q=q+Math.imul(J,Q0)|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,me),S=S+Math.imul(Qe,Ve)|0,q=Math.imul(Qe,me),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,m0)|0,S=S+Math.imul(I0,Ue)|0,q=q+Math.imul(I0,m0)|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,J0)|0,S=S+Math.imul(ie,s0)|0,q=q+Math.imul(ie,J0)|0,M=M+Math.imul(ne,l0)|0,S=S+Math.imul(ne,Q0)|0,S=S+Math.imul(ue,l0)|0,q=q+Math.imul(ue,Q0)|0,M=M+Math.imul(U,p0)|0,S=S+Math.imul(U,Z0)|0,S=S+Math.imul(J,p0)|0,q=q+Math.imul(J,Z0)|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,me),S=S+Math.imul(v0,Ve)|0,q=Math.imul(v0,me),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,m0)|0,S=S+Math.imul(Te,Ue)|0,q=q+Math.imul(Te,m0)|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,J0)|0,S=S+Math.imul(Ae,s0)|0,q=q+Math.imul(Ae,J0)|0,M=M+Math.imul(re,l0)|0,S=S+Math.imul(re,Q0)|0,S=S+Math.imul(ie,l0)|0,q=q+Math.imul(ie,Q0)|0,M=M+Math.imul(ne,p0)|0,S=S+Math.imul(ne,Z0)|0,S=S+Math.imul(ue,p0)|0,q=q+Math.imul(ue,Z0)|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,m0)|0,S=S+Math.imul(Qe,Ue)|0,q=q+Math.imul(Qe,m0)|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,J0)|0,S=S+Math.imul(c0,s0)|0,q=q+Math.imul(c0,J0)|0,M=M+Math.imul(de,l0)|0,S=S+Math.imul(de,Q0)|0,S=S+Math.imul(Ae,l0)|0,q=q+Math.imul(Ae,Q0)|0,M=M+Math.imul(re,p0)|0,S=S+Math.imul(re,Z0)|0,S=S+Math.imul(ie,p0)|0,q=q+Math.imul(ie,Z0)|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,m0),S=S+Math.imul(v0,Ue)|0,q=Math.imul(v0,m0),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,J0)|0,S=S+Math.imul(_0,s0)|0,q=q+Math.imul(_0,J0)|0,M=M+Math.imul(Be,l0)|0,S=S+Math.imul(Be,Q0)|0,S=S+Math.imul(c0,l0)|0,q=q+Math.imul(c0,Q0)|0,M=M+Math.imul(de,p0)|0,S=S+Math.imul(de,Z0)|0,S=S+Math.imul(Ae,p0)|0,q=q+Math.imul(Ae,Z0)|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,J0)|0,S=S+Math.imul(I0,s0)|0,q=q+Math.imul(I0,J0)|0,M=M+Math.imul(He,l0)|0,S=S+Math.imul(He,Q0)|0,S=S+Math.imul(_0,l0)|0,q=q+Math.imul(_0,Q0)|0,M=M+Math.imul(Be,p0)|0,S=S+Math.imul(Be,Z0)|0,S=S+Math.imul(c0,p0)|0,q=q+Math.imul(c0,Z0)|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,J0)|0,S=S+Math.imul(Te,s0)|0,q=q+Math.imul(Te,J0)|0,M=M+Math.imul(Ze,l0)|0,S=S+Math.imul(Ze,Q0)|0,S=S+Math.imul(I0,l0)|0,q=q+Math.imul(I0,Q0)|0,M=M+Math.imul(He,p0)|0,S=S+Math.imul(He,Z0)|0,S=S+Math.imul(_0,p0)|0,q=q+Math.imul(_0,Z0)|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 cf=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(cf>>>26)|0,cf&=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,J0)|0,S=S+Math.imul(Qe,s0)|0,q=q+Math.imul(Qe,J0)|0,M=M+Math.imul(he,l0)|0,S=S+Math.imul(he,Q0)|0,S=S+Math.imul(Te,l0)|0,q=q+Math.imul(Te,Q0)|0,M=M+Math.imul(Ze,p0)|0,S=S+Math.imul(Ze,Z0)|0,S=S+Math.imul(I0,p0)|0,q=q+Math.imul(I0,Z0)|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 Gf=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Gf>>>26)|0,Gf&=67108863,M=Math.imul(qe,s0),S=Math.imul(qe,J0),S=S+Math.imul(v0,s0)|0,q=Math.imul(v0,J0),M=M+Math.imul(Se,l0)|0,S=S+Math.imul(Se,Q0)|0,S=S+Math.imul(Qe,l0)|0,q=q+Math.imul(Qe,Q0)|0,M=M+Math.imul(he,p0)|0,S=S+Math.imul(he,Z0)|0,S=S+Math.imul(Te,p0)|0,q=q+Math.imul(Te,Z0)|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 Qs=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Qs>>>26)|0,Qs&=67108863,M=Math.imul(qe,l0),S=Math.imul(qe,Q0),S=S+Math.imul(v0,l0)|0,q=Math.imul(v0,Q0),M=M+Math.imul(Se,p0)|0,S=S+Math.imul(Se,Z0)|0,S=S+Math.imul(Qe,p0)|0,q=q+Math.imul(Qe,Z0)|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 Wd=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Wd>>>26)|0,Wd&=67108863,M=Math.imul(qe,p0),S=Math.imul(qe,Z0),S=S+Math.imul(v0,p0)|0,q=Math.imul(v0,Z0),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 qd=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(qd>>>26)|0,qd&=67108863,M=Math.imul(qe,$0),S=Math.imul(qe,Tt),S=S+Math.imul(v0,$0)|0,q=Math.imul(v0,Tt);var ru=(B+M|0)+((S&8191)<<13)|0;return B=(q+(S>>>13)|0)+(ru>>>26)|0,ru&=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]=cf,g[14]=Gf,g[15]=Qs,g[16]=Wd,g[17]=qd,g[18]=ru,B!==0&&(g[19]=B,P.length++),P};Math.imul||(F=O);function z(w,b,A){A.negative=b.negative^w.negative,A.length=w.length+b.length;for(var P=0,L=0,E=0;E>>26)|0,L+=g>>>26,g&=67108863}A.words[E]=B,P=g,g=L}return P!==0?A.words[E]=P:A.length--,A._strip()}function W(w,b,A){return z(w,b,A)}r.prototype.mulTo=function(b,A){var P,L=this.length+b.length;return this.length===10&&b.length===10?P=F(this,b,A):L<63?P=O(this,b,A):L<1024?P=z(this,b,A):P=W(this,b,A),P};function j(w,b){this.x=w,this.y=b}j.prototype.makeRBT=function(b){for(var A=new Array(b),P=r.prototype._countBits(b)-1,L=0;L>=1;return L},j.prototype.permute=function(b,A,P,L,E,g){for(var B=0;B>>1)E++;return 1<>>13,P[2*g+1]=E&8191,E=E>>>13;for(g=2*A;g>=26,P+=E/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(b){return this.clone().imuln(b)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(b){var A=k(b);if(A.length===0)return new r(1);for(var P=this,L=0;L=0);var A=b%26,P=(b-A)/26,L=67108863>>>26-A<<26-A,E;if(A!==0){var g=0;for(E=0;E>>26-A}g&&(this.words[E]=g,this.length++)}if(P!==0){for(E=this.length-1;E>=0;E--)this.words[E+P]=this.words[E];for(E=0;E=0);var L;A?L=(A-A%26)/26:L=0;var E=b%26,g=Math.min((b-E)/26,this.length),B=67108863^67108863>>>E<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-E|ee>>>E,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(b,A,P){return n(this.negative===0),this.iushrn(b,A,P)},r.prototype.shln=function(b){return this.clone().ishln(b)},r.prototype.ushln=function(b){return this.clone().iushln(b)},r.prototype.shrn=function(b){return this.clone().ishrn(b)},r.prototype.ushrn=function(b){return this.clone().iushrn(b)},r.prototype.testn=function(b){n(typeof b=="number"&&b>=0);var A=b%26,P=(b-A)/26,L=1<=0);var A=b%26,P=(b-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(b){if(n(typeof b=="number"),n(b<67108864),b<0)return this.iaddn(-b);if(this.negative!==0)return this.negative=0,this.iaddn(b),this.negative=1,this;if(this.words[0]-=b,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[E+P]=g&67108863}for(;E>26,this.words[E+P]=g&67108863;if(B===0)return this._strip();for(n(B===-1),B=0,E=0;E>26,this.words[E]=g&67108863;return this.negative=1,this._strip()},r.prototype._wordDiv=function(b,A){var P=this.length-b.length,L=this.clone(),E=b,g=E.words[E.length-1]|0,B=this._countBits(g);P=26-B,P!==0&&(E=E.ushln(P),L.iushln(P),g=E.words[E.length-1]|0);var M=L.length-E.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[E.length+U]|0)*67108864+(L.words[E.length+U-1]|0);for(J=Math.min(J/g|0,67108863),L._ishlnsubmul(E,J,U);L.negative!==0;)J--,L.negative=0,L._ishlnsubmul(E,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(b,A,P){if(n(!b.isZero()),this.isZero())return{div:new r(0),mod:new r(0)};var L,E,g;return this.negative!==0&&b.negative===0?(g=this.neg().divmod(b,A),A!=="mod"&&(L=g.div.neg()),A!=="div"&&(E=g.mod.neg(),P&&E.negative!==0&&E.iadd(b)),{div:L,mod:E}):this.negative===0&&b.negative!==0?(g=this.divmod(b.neg(),A),A!=="mod"&&(L=g.div.neg()),{div:L,mod:g.mod}):this.negative&b.negative?(g=this.neg().divmod(b.neg(),A),A!=="div"&&(E=g.mod.neg(),P&&E.negative!==0&&E.isub(b)),{div:g.div,mod:E}):b.length>this.length||this.cmp(b)<0?{div:new r(0),mod:this}:b.length===1?A==="div"?{div:this.divn(b.words[0]),mod:null}:A==="mod"?{div:null,mod:new r(this.modrn(b.words[0]))}:{div:this.divn(b.words[0]),mod:new r(this.modrn(b.words[0]))}:this._wordDiv(b,A)},r.prototype.div=function(b){return this.divmod(b,"div",!1).div},r.prototype.mod=function(b){return this.divmod(b,"mod",!1).mod},r.prototype.umod=function(b){return this.divmod(b,"mod",!0).mod},r.prototype.divRound=function(b){var A=this.divmod(b);if(A.mod.isZero())return A.div;var P=A.div.negative!==0?A.mod.isub(b):A.mod,L=b.ushrn(1),E=b.andln(1),g=P.cmp(L);return g<0||E===1&&g===0?A.div:A.div.negative!==0?A.div.isubn(1):A.div.iaddn(1)},r.prototype.modrn=function(b){var A=b<0;A&&(b=-b),n(b<=67108863);for(var P=(1<<26)%b,L=0,E=this.length-1;E>=0;E--)L=(P*L+(this.words[E]|0))%b;return A?-L:L},r.prototype.modn=function(b){return this.modrn(b)},r.prototype.idivn=function(b){var A=b<0;A&&(b=-b),n(b<=67108863);for(var P=0,L=this.length-1;L>=0;L--){var E=(this.words[L]|0)+P*67108864;this.words[L]=E/b|0,P=E%b}return this._strip(),A?this.ineg():this},r.prototype.divn=function(b){return this.clone().idivn(b)},r.prototype.egcd=function(b){n(b.negative===0),n(!b.isZero());var A=this,P=b.clone();A.negative!==0?A=A.umod(b):A=A.clone();for(var L=new r(1),E=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()||E.isOdd())&&(L.iadd(S),E.isub(q)),L.iushrn(1),E.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),E.isub(B)):(P.isub(A),g.isub(L),B.isub(E))}return{a:g,b:B,gcd:P.iushln(M)}},r.prototype._invmp=function(b){n(b.negative===0),n(!b.isZero());var A=this,P=b.clone();A.negative!==0?A=A.umod(b):A=A.clone();for(var L=new r(1),E=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;)E.isOdd()&&E.iadd(g),E.iushrn(1);A.cmp(P)>=0?(A.isub(P),L.isub(E)):(P.isub(A),E.isub(L))}var ee;return A.cmpn(1)===0?ee=L:ee=E,ee.cmpn(0)<0&&ee.iadd(b),ee},r.prototype.gcd=function(b){if(this.isZero())return b.abs();if(b.isZero())return this.abs();var A=this.clone(),P=b.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 E=A.cmp(P);if(E<0){var g=A;A=P,P=g}else if(E===0||P.cmpn(1)===0)break;A.isub(P)}while(!0);return P.iushln(L)},r.prototype.invm=function(b){return this.egcd(b).a.umod(b)},r.prototype.isEven=function(){return(this.words[0]&1)===0},r.prototype.isOdd=function(){return(this.words[0]&1)===1},r.prototype.andln=function(b){return this.words[0]&b},r.prototype.bincn=function(b){n(typeof b=="number");var A=b%26,P=(b-A)/26,L=1<>>26,B&=67108863,this.words[g]=B}return E!==0&&(this.words[g]=E,this.length++),this},r.prototype.isZero=function(){return this.length===1&&this.words[0]===0},r.prototype.cmpn=function(b){var A=b<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&&(b=-b),n(b<=67108863,"Number is too big");var L=this.words[0]|0;P=L===b?0:Lb.length)return 1;if(this.length=0;P--){var L=this.words[P]|0,E=b.words[P]|0;if(L!==E){LE&&(A=1);break}}return A},r.prototype.gtn=function(b){return this.cmpn(b)===1},r.prototype.gt=function(b){return this.cmp(b)===1},r.prototype.gten=function(b){return this.cmpn(b)>=0},r.prototype.gte=function(b){return this.cmp(b)>=0},r.prototype.ltn=function(b){return this.cmpn(b)===-1},r.prototype.lt=function(b){return this.cmp(b)===-1},r.prototype.lten=function(b){return this.cmpn(b)<=0},r.prototype.lte=function(b){return this.cmp(b)<=0},r.prototype.eqn=function(b){return this.cmpn(b)===0},r.prototype.eq=function(b){return this.cmp(b)===0},r.red=function(b){return new T(b)},r.prototype.toRed=function(b){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),b.convertTo(this)._forceRed(b)},r.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(b){return this.red=b,this},r.prototype.forceRed=function(b){return n(!this.red,"Already a number in reduction context"),this._forceRed(b)},r.prototype.redAdd=function(b){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,b)},r.prototype.redIAdd=function(b){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,b)},r.prototype.redSub=function(b){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,b)},r.prototype.redISub=function(b){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,b)},r.prototype.redShl=function(b){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,b)},r.prototype.redMul=function(b){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,b),this.red.mul(this,b)},r.prototype.redIMul=function(b){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,b),this.red.imul(this,b)},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(b){return n(this.red&&!b.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,b)};var Q={k256:null,p224:null,p192:null,p25519:null};function V(w,b){this.name=w,this.p=new r(b,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 b=new r(null);return b.words=new Array(Math.ceil(this.n/13)),b},V.prototype.ireduce=function(b){var A=b,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(b,A){b.iushrn(this.n,0,A)},V.prototype.imulK=function(b){return b.imul(this.k)};function X(){V.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(X,V),X.prototype.split=function(b,A){for(var P=4194303,L=Math.min(b.length,9),E=0;E>>22,g=B}g>>>=22,b.words[E-10]=g,g===0&&b.length>10?b.length-=10:b.length-=9},X.prototype.imulK=function(b){b.words[b.length]=0,b.words[b.length+1]=0,b.length+=2;for(var A=0,P=0;P>>=26,b.words[P]=E,A=L}return A!==0&&(b.words[b.length++]=A),b},r._prime=function(b){if(Q[b])return Q[b];var A;if(b==="k256")A=new X;else if(b==="p224")A=new K;else if(b==="p192")A=new G;else if(b==="p25519")A=new R;else throw new Error("Unknown prime "+b);return Q[b]=A,A};function T(w){if(typeof w=="string"){var b=r._prime(w);this.m=b.p,this.prime=b}else n(w.gtn(1),"modulus must be greater than 1"),this.m=w,this.prime=null}T.prototype._verify1=function(b){n(b.negative===0,"red works only with positives"),n(b.red,"red works only with red numbers")},T.prototype._verify2=function(b,A){n((b.negative|A.negative)===0,"red works only with positives"),n(b.red&&b.red===A.red,"red works only with red numbers")},T.prototype.imod=function(b){return this.prime?this.prime.ireduce(b)._forceRed(this):(c(b,b.umod(this.m)._forceRed(this)),b)},T.prototype.neg=function(b){return b.isZero()?b.clone():this.m.sub(b)._forceRed(this)},T.prototype.add=function(b,A){this._verify2(b,A);var P=b.add(A);return P.cmp(this.m)>=0&&P.isub(this.m),P._forceRed(this)},T.prototype.iadd=function(b,A){this._verify2(b,A);var P=b.iadd(A);return P.cmp(this.m)>=0&&P.isub(this.m),P},T.prototype.sub=function(b,A){this._verify2(b,A);var P=b.sub(A);return P.cmpn(0)<0&&P.iadd(this.m),P._forceRed(this)},T.prototype.isub=function(b,A){this._verify2(b,A);var P=b.isub(A);return P.cmpn(0)<0&&P.iadd(this.m),P},T.prototype.shl=function(b,A){return this._verify1(b),this.imod(b.ushln(A))},T.prototype.imul=function(b,A){return this._verify2(b,A),this.imod(b.imul(A))},T.prototype.mul=function(b,A){return this._verify2(b,A),this.imod(b.mul(A))},T.prototype.isqr=function(b){return this.imul(b,b.clone())},T.prototype.sqr=function(b){return this.mul(b,b)},T.prototype.sqrt=function(b){if(b.isZero())return b.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(b,P)}for(var L=this.m.subn(1),E=0;!L.isZero()&&L.andln(1)===0;)E++,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(b,L.addn(1).iushrn(1)),U=this.pow(b,L),J=E;U.cmp(g)!==0;){for(var Z=U,ne=0;Z.cmp(g)!==0;ne++)Z=Z.redSqr();n(ne=0;E--){for(var q=A.words[E],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&&(E!==0||ee!==0))&&(g=this.mul(g,L[B]),M=0,B=0)}S=26}return g},T.prototype.convertTo=function(b){var A=b.umod(this.m);return A===b?A.clone():A},T.prototype.convertFrom=function(b){var A=b.clone();return A.red=null,A},r.mont=function(b){return new N(b)};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(b){return this.imod(b.ushln(this.shift))},N.prototype.convertFrom=function(b){var A=this.imod(b.mul(this.rinv));return A.red=null,A},N.prototype.imul=function(b,A){if(b.isZero()||A.isZero())return b.words[0]=0,b.length=1,b;var P=b.imul(A),L=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),E=P.isub(L).iushrn(this.shift),g=E;return E.cmp(this.m)>=0?g=E.isub(this.m):E.cmpn(0)<0&&(g=E.iadd(this.m)),g._forceRed(this)},N.prototype.mul=function(b,A){if(b.isZero()||A.isZero())return new r(0)._forceRed(this);var P=b.mul(A),L=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),E=P.isub(L).iushrn(this.shift),g=E;return E.cmp(this.m)>=0?g=E.isub(this.m):E.cmpn(0)<0&&(g=E.iadd(this.m)),g._forceRed(this)},N.prototype.invm=function(b){var A=this.imod(b._invmp(this.m).mul(this.r2));return A._forceRed(this)}})(typeof S0e>"u"||S0e,iwe)});var swe=D(FF=>{"use strict";u();p();Object.defineProperty(FF,"__esModule",{value:!0});FF.version=void 0;FF.version="logger/5.7.0"});var Ft=D(hu=>{"use strict";u();p();Object.defineProperty(hu,"__esModule",{value:!0});hu.Logger=hu.ErrorCode=hu.LogLevel=void 0;var owe=!1,cwe=!1,NF={debug:1,default:2,info:2,warning:3,error:4,off:5},dwe=NF.default,iD0=swe(),R0e=null;function sD0(){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 lwe=sD0(),pwe;(function(t){t.DEBUG="DEBUG",t.INFO="INFO",t.WARNING="WARNING",t.ERROR="ERROR",t.OFF="OFF"})(pwe=hu.LogLevel||(hu.LogLevel={}));var pu;(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"})(pu=hu.ErrorCode||(hu.ErrorCode={}));var uwe="0123456789abcdef",oD0=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();NF[a]==null&&this.throwArgumentError("invalid log level name","logLevel",e),!(dwe>NF[a])&&console.log.apply(console,n)},t.prototype.debug=function(){for(var e=[],n=0;n>4],l+=uwe[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 pu.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 pu.CALL_EXCEPTION:case pu.INSUFFICIENT_FUNDS:case pu.MISSING_NEW:case pu.NONCE_EXPIRED:case pu.REPLACEMENT_UNDERPRICED:case pu.TRANSACTION_REPLACED:case pu.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"),lwe&&this.throwError("platform missing String.prototype.normalize",t.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:lwe})},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 R0e||(R0e=new t(iD0.version)),R0e},t.setCensorship=function(e,n){if(!e&&n&&this.globalLogger().throwError("cannot permanently disable censorship",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),owe){if(!e)return;this.globalLogger().throwError("error censorship permanent",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}cwe=!!e,owe=!!n},t.setLogLevel=function(e){var n=NF[e.toLowerCase()];if(n==null){t.globalLogger().warn("invalid log level - "+e);return}dwe=n},t.from=function(e){return new t(e)},t.errors=pu,t.levels=pwe,t}();hu.Logger=oD0});var hwe=D(OF=>{"use strict";u();p();Object.defineProperty(OF,"__esModule",{value:!0});OF.version=void 0;OF.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 cD0=Ft(),dD0=hwe(),Vf=new cD0.Logger(dD0.version);function bwe(t){return!!t.toHexString}function Xv(t){return t.slice||(t.slice=function(){var e=Array.prototype.slice.call(arguments);return Xv(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function ywe(t){return Xd(t)&&!(t.length%2)||HF(t)}ga.isBytesLike=ywe;function mwe(t){return typeof t=="number"&&t==t&&t%1===0}function HF(t){if(t==null)return!1;if(t.constructor===Uint8Array)return!0;if(typeof t=="string"||!mwe(t.length)||t.length<0)return!1;for(var e=0;e=256)return!1}return!0}ga.isBytes=HF;function xy(t,e){if(e||(e={}),typeof t=="number"){Vf.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),Xv(new Uint8Array(n))}if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),bwe(t)&&(t=t.toHexString()),Xd(t)){var a=t.substring(2);a.length%2&&(e.hexPad==="left"?a="0"+a:e.hexPad==="right"?a+="0":Vf.throwArgumentError("hex data is odd-length","value",t));for(var n=[],r=0;re&&Vf.throwArgumentError("value out of range","value",arguments[0]);var n=new Uint8Array(e);return n.set(t,e-t.length),Xv(n)}ga.zeroPad=vwe;function Xd(t,e){return!(typeof t!="string"||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}ga.isHexString=Xd;var M0e="0123456789abcdef";function Bo(t,e){if(e||(e={}),typeof t=="number"){Vf.checkSafeUint53(t,"invalid hexlify value");for(var n="";t;)n=M0e[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),bwe(t))return t.toHexString();if(Xd(t))return t.length%2&&(e.hexPad==="left"?t="0x0"+t.substring(2):e.hexPad==="right"?t+="0":Vf.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(HF(t)){for(var a="0x",r=0;r>4]+M0e[f&15]}return a}return Vf.throwArgumentError("invalid hexlify value","value",t)}ga.hexlify=Bo;function uD0(t){if(typeof t!="string")t=Bo(t);else if(!Xd(t)||t.length%2)return null;return(t.length-2)/2}ga.hexDataLength=uD0;function pD0(t,e,n){return typeof t!="string"?t=Bo(t):(!Xd(t)||t.length%2)&&Vf.throwArgumentError("invalid hexData","value",t),e=2+2*e,n!=null?"0x"+t.substring(e,2+2*n):"0x"+t.substring(e)}ga.hexDataSlice=pD0;function hD0(t){var e="0x";return t.forEach(function(n){e+=Bo(n).substring(2)}),e}ga.hexConcat=hD0;function mD0(t){var e=wwe(Bo(t,{hexPad:"left"}));return e==="0x"?"0x0":e}ga.hexValue=mD0;function wwe(t){typeof t!="string"&&(t=Bo(t)),Xd(t)||Vf.throwArgumentError("invalid hex string","value",t),t=t.substring(2);for(var e=0;e2*e+2&&Vf.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}ga.hexZeroPad=UF;function Twe(t){var e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(ywe(t)){var n=xy(t);n.length===64?(e.v=27+(n[32]>>7),n[32]&=127,e.r=Bo(n.slice(0,32)),e.s=Bo(n.slice(32,64))):n.length===65?(e.r=Bo(n.slice(0,32)),e.s=Bo(n.slice(32,64)),e.v=n[64]):Vf.throwArgumentError("invalid signature string","signature",t),e.v<27&&(e.v===0||e.v===1?e.v+=27:Vf.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(n[32]|=128),e._vs=Bo(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=vwe(xy(e._vs),32);e._vs=Bo(a);var r=a[0]>=128?1:0;e.recoveryParam==null?e.recoveryParam=r:e.recoveryParam!==r&&Vf.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),a[0]&=127;var f=Bo(a);e.s==null?e.s=f:e.s!==f&&Vf.throwArgumentError("signature v mismatch _vs","signature",t)}if(e.recoveryParam==null)e.v==null?Vf.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&&Vf.throwArgumentError("signature recoveryParam mismatch v","signature",t)}e.r==null||!Xd(e.r)?Vf.throwArgumentError("signature missing or invalid r","signature",t):e.r=UF(e.r,32),e.s==null||!Xd(e.s)?Vf.throwArgumentError("signature missing or invalid s","signature",t):e.s=UF(e.s,32);var s=xy(e.s);s[0]>=128&&Vf.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(s[0]|=128);var o=Bo(s);e._vs&&(Xd(e._vs)||Vf.throwArgumentError("signature invalid _vs","signature",t),e._vs=UF(e._vs,32)),e._vs==null?e._vs=o:e._vs!==o&&Vf.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=Twe;function bD0(t){return t=Twe(t),Bo(gwe([t.r,t.s,t.recoveryParam?"0x1c":"0x1b"]))}ga.joinSignature=bD0});var B0e=D(zF=>{"use strict";u();p();Object.defineProperty(zF,"__esModule",{value:!0});zF.version=void 0;zF.version="bignumber/5.7.0"});var qF=D(g5=>{"use strict";u();p();var yD0=g5&&g5.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(g5,"__esModule",{value:!0});g5._base16To36=g5._base36To16=g5.BigNumber=g5.isBigNumberish=void 0;var gD0=yD0(Va()),dI=gD0.default.BN,Zv=Vt(),ew=Ft(),vD0=B0e(),e8=new ew.Logger(vD0.version),D0e={},xwe=9007199254740991;function wD0(t){return t!=null&&(WF.isBigNumber(t)||typeof t=="number"&&t%1===0||typeof t=="string"&&!!t.match(/^-?[0-9]+$/)||(0,Zv.isHexString)(t)||typeof t=="bigint"||(0,Zv.isBytes)(t))}g5.isBigNumberish=wD0;var Ewe=!1,WF=function(){function t(e,n){e!==D0e&&e8.throwError("cannot call constructor directly; use BigNumber.from",ew.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=n,this._isBigNumber=!0,Object.freeze(this)}return t.prototype.fromTwos=function(e){return Rc(Xn(this).fromTwos(e))},t.prototype.toTwos=function(e){return Rc(Xn(this).toTwos(e))},t.prototype.abs=function(){return this._hex[0]==="-"?t.from(this._hex.substring(1)):this},t.prototype.add=function(e){return Rc(Xn(this).add(Xn(e)))},t.prototype.sub=function(e){return Rc(Xn(this).sub(Xn(e)))},t.prototype.div=function(e){var n=t.from(e);return n.isZero()&&y5("division-by-zero","div"),Rc(Xn(this).div(Xn(e)))},t.prototype.mul=function(e){return Rc(Xn(this).mul(Xn(e)))},t.prototype.mod=function(e){var n=Xn(e);return n.isNeg()&&y5("division-by-zero","mod"),Rc(Xn(this).umod(n))},t.prototype.pow=function(e){var n=Xn(e);return n.isNeg()&&y5("negative-power","pow"),Rc(Xn(this).pow(n))},t.prototype.and=function(e){var n=Xn(e);return(this.isNegative()||n.isNeg())&&y5("unbound-bitwise-result","and"),Rc(Xn(this).and(n))},t.prototype.or=function(e){var n=Xn(e);return(this.isNegative()||n.isNeg())&&y5("unbound-bitwise-result","or"),Rc(Xn(this).or(n))},t.prototype.xor=function(e){var n=Xn(e);return(this.isNegative()||n.isNeg())&&y5("unbound-bitwise-result","xor"),Rc(Xn(this).xor(n))},t.prototype.mask=function(e){return(this.isNegative()||e<0)&&y5("negative-width","mask"),Rc(Xn(this).maskn(e))},t.prototype.shl=function(e){return(this.isNegative()||e<0)&&y5("negative-width","shl"),Rc(Xn(this).shln(e))},t.prototype.shr=function(e){return(this.isNegative()||e<0)&&y5("negative-width","shr"),Rc(Xn(this).shrn(e))},t.prototype.eq=function(e){return Xn(this).eq(Xn(e))},t.prototype.lt=function(e){return Xn(this).lt(Xn(e))},t.prototype.lte=function(e){return Xn(this).lte(Xn(e))},t.prototype.gt=function(e){return Xn(this).gt(Xn(e))},t.prototype.gte=function(e){return Xn(this).gte(Xn(e))},t.prototype.isNegative=function(){return this._hex[0]==="-"},t.prototype.isZero=function(){return Xn(this).isZero()},t.prototype.toNumber=function(){try{return Xn(this).toNumber()}catch{y5("overflow","toNumber",this.toString())}return null},t.prototype.toBigInt=function(){try{return BigInt(this.toString())}catch{}return e8.throwError("this platform does not support BigInt",ew.Logger.errors.UNSUPPORTED_OPERATION,{value:this.toString()})},t.prototype.toString=function(){return arguments.length>0&&(arguments[0]===10?Ewe||(Ewe=!0,e8.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?e8.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",ew.Logger.errors.UNEXPECTED_ARGUMENT,{}):e8.throwError("BigNumber.toString does not accept parameters",ew.Logger.errors.UNEXPECTED_ARGUMENT,{})),Xn(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(D0e,lI(e)):e.match(/^-?[0-9]+$/)?new t(D0e,lI(new dI(e))):e8.throwArgumentError("invalid BigNumber string","value",e);if(typeof e=="number")return e%1&&y5("underflow","BigNumber.from",e),(e>=xwe||e<=-xwe)&&y5("overflow","BigNumber.from",e),t.from(String(e));var n=e;if(typeof n=="bigint")return t.from(n.toString());if((0,Zv.isBytes)(n))return t.from((0,Zv.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,Zv.isHexString)(a)||a[0]==="-"&&(0,Zv.isHexString)(a.substring(1))))return t.from(a)}return e8.throwArgumentError("invalid BigNumber value","value",e)},t.isBigNumber=function(e){return!!(e&&e._isBigNumber)},t}();g5.BigNumber=WF;function lI(t){if(typeof t!="string")return lI(t.toString(16));if(t[0]==="-")return t=t.substring(1),t[0]==="-"&&e8.throwArgumentError("invalid hex","value",t),t=lI(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 Rc(t){return WF.from(lI(t))}function Xn(t){var e=WF.from(t).toHexString();return e[0]==="-"?new dI("-"+e.substring(3),16):new dI(e.substring(2),16)}function y5(t,e,n){var a={fault:t,operation:e};return n!=null&&(a.value=n),e8.throwError(t,ew.Logger.errors.NUMERIC_FAULT,a)}function TD0(t){return new dI(t,36).toString(16)}g5._base36To16=TD0;function xD0(t){return new dI(t,16).toString(36)}g5._base16To36=xD0});var kwe=D(bu=>{"use strict";u();p();Object.defineProperty(bu,"__esModule",{value:!0});bu.FixedNumber=bu.FixedFormat=bu.parseFixed=bu.formatFixed=void 0;var jF=Vt(),hI=Ft(),ED0=B0e(),U1=new hI.Logger(ED0.version),t8=qF(),uI={},Awe=t8.BigNumber.from(0),Cwe=t8.BigNumber.from(-1);function Iwe(t,e,n,a){var r={fault:e,operation:n};return a!==void 0&&(r.value=a),U1.throwError(t,hI.Logger.errors.NUMERIC_FAULT,r)}var pI="0";for(;pI.length<256;)pI+=pI;function P0e(t){if(typeof t!="number")try{t=t8.BigNumber.from(t).toNumber()}catch{}return typeof t=="number"&&t>=0&&t<=256&&!(t%1)?"1"+pI.substring(0,t):U1.throwArgumentError("invalid decimal size","decimals",t)}function GF(t,e){e==null&&(e=0);var n=P0e(e);t=t8.BigNumber.from(t);var a=t.lt(Awe);a&&(t=t.mul(Cwe));for(var r=t.mod(n).toString();r.length2&&U1.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&&Iwe("fractional component exceeds decimals","underflow","parseFixed"),i===""&&(i="0");i.length80&&U1.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",r),new t(uI,n,a,r)},t}();bu.FixedFormat=KF;var L0e=function(){function t(e,n,a,r){e!==uI&&U1.throwError("cannot use FixedNumber constructor; use FixedNumber.from",hI.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&&U1.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)},t.prototype.addUnsafe=function(e){this._checkFormat(e);var n=mu(this._value,this.format.decimals),a=mu(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=mu(this._value,this.format.decimals),a=mu(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=mu(this._value,this.format.decimals),a=mu(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=mu(this._value,this.format.decimals),a=mu(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(_we.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(_we.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)&&U1.throwArgumentError("invalid decimal count","decimals",e),n[1].length<=e)return this;var a=t.from("1"+pI.substring(0,e),this.format),r=_D0.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&&U1.throwArgumentError("invalid byte width","width",e);var n=t8.BigNumber.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return(0,jF.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,t8.isBigNumberish)(n)&&(a=n,n=null),n==null&&(n=0),a==null&&(a="fixed"),t.fromString(GF(e,n),KF.from(a))},t.fromString=function(e,n){n==null&&(n="fixed");var a=KF.from(n),r=mu(e,a.decimals);!a.signed&&r.lt(Awe)&&Iwe("unsigned value cannot be negative","overflow","value",e);var f=null;a.signed?f=r.toTwos(a.width).toHexString():(f=r.toHexString(),f=(0,jF.hexZeroPad)(f,a.width/8));var i=GF(r,a.decimals);return new t(uI,f,i,a)},t.fromBytes=function(e,n){n==null&&(n="fixed");var a=KF.from(n);if((0,jF.arrayify)(e).length>a.width/8)throw new Error("overflow");var r=t8.BigNumber.from(e);a.signed&&(r=r.fromTwos(a.width));var f=r.toTwos((a.signed?0:1)+a.width).toHexString(),i=GF(r,a.decimals);return new t(uI,f,i,a)},t.from=function(e,n){if(typeof e=="string")return t.fromString(e,n);if((0,jF.isBytes)(e))return t.fromBytes(e,n);try{return t.fromValue(e,0,n)}catch(a){if(a.code!==hI.Logger.errors.INVALID_ARGUMENT)throw a}return U1.throwArgumentError("invalid FixedNumber value","value",e)},t.isFixedNumber=function(e){return!!(e&&e._isFixedNumber)},t}();bu.FixedNumber=L0e;var _we=L0e.from(1),_D0=L0e.from("0.5")});var ia=D(Do=>{"use strict";u();p();Object.defineProperty(Do,"__esModule",{value:!0});Do._base36To16=Do._base16To36=Do.parseFixed=Do.FixedNumber=Do.FixedFormat=Do.formatFixed=Do.BigNumber=void 0;var AD0=qF();Object.defineProperty(Do,"BigNumber",{enumerable:!0,get:function(){return AD0.BigNumber}});var QF=kwe();Object.defineProperty(Do,"formatFixed",{enumerable:!0,get:function(){return QF.formatFixed}});Object.defineProperty(Do,"FixedFormat",{enumerable:!0,get:function(){return QF.FixedFormat}});Object.defineProperty(Do,"FixedNumber",{enumerable:!0,get:function(){return QF.FixedNumber}});Object.defineProperty(Do,"parseFixed",{enumerable:!0,get:function(){return QF.parseFixed}});var Swe=qF();Object.defineProperty(Do,"_base16To36",{enumerable:!0,get:function(){return Swe._base16To36}});Object.defineProperty(Do,"_base36To16",{enumerable:!0,get:function(){return Swe._base36To16}})});var Rwe=D(VF=>{"use strict";u();p();Object.defineProperty(VF,"__esModule",{value:!0});VF.version=void 0;VF.version="properties/5.7.0"});var Ba=D(_i=>{"use strict";u();p();var CD0=_i&&_i.__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())})},ID0=_i&&_i.__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(JF,"__esModule",{value:!0});JF.version=void 0;JF.version="abi/5.7.0"});var rN=D(Ut=>{"use strict";u();p();var tN=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 U0e=ia(),ND0=Ba(),nN=Ft(),OD0=tw(),sa=new nN.Logger(OD0.version),Ey={},Dwe={calldata:!0,memory:!0,storage:!0},UD0={calldata:!0,memory:!0};function XF(t,e){if(t==="bytes"||t==="string"){if(Dwe[e])return!0}else if(t==="address"){if(e==="payable")return!0}else if((t.indexOf("[")>=0||t==="tuple")&&UD0[e])return!0;return(Dwe[e]||e==="payable")&&sa.throwArgumentError("invalid modifier","name",e),!1}function HD0(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=U0e.BigNumber.from(n[1]),n[0]):t}function Fwe(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 Nwe(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 eN=function(t){tN(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",nN.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=Nwe(n);a.constant&&sa.throwArgumentError("constructor cannot be constant","value",n);var r={name:null,type:n.type,inputs:n.inputs?n.inputs.map(_y.fromObject):[],payable:a.payable,stateMutability:a.stateMutability,gas:n.gas?U0e.BigNumber.from(n.gas):null};return new e(Ey,r)},e.fromString=function(n){var a={type:"constructor"};n=Lwe(n,a);var r=n.match(yI);return(!r||r[1].trim()!=="constructor")&&sa.throwArgumentError("invalid constructor string","value",n),a.inputs=mI(r[2].trim(),!1),Fwe(r[3].trim(),a),e.fromObject(a)},e.isConstructorFragment=function(n){return n&&n._isFragment&&n.type==="constructor"},e}(aN);Ut.ConstructorFragment=eN;var N0e=function(t){tN(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=Nwe(n),r={type:n.type,name:bI(n.name),constant:a.constant,inputs:n.inputs?n.inputs.map(_y.fromObject):[],outputs:n.outputs?n.outputs.map(_y.fromObject):[],payable:a.payable,stateMutability:a.stateMutability,gas:n.gas?U0e.BigNumber.from(n.gas):null};return new e(Ey,r)},e.fromString=function(n){var a={type:"function"};n=Lwe(n,a);var r=n.split(" returns ");r.length>2&&sa.throwArgumentError("invalid function string","value",n);var f=r[0].match(yI);if(f||sa.throwArgumentError("invalid function signature","value",n),a.name=f[1].trim(),a.name&&bI(a.name),a.inputs=mI(f[2],!1),Fwe(f[3].trim(),a),r.length>1){var i=r[1].match(yI);(i[1].trim()!=""||i[3].trim()!="")&&sa.throwArgumentError("unexpected tokens","value",n),a.outputs=mI(i[2],!1)}else a.outputs=[];return e.fromObject(a)},e.isFunctionFragment=function(n){return n&&n._isFragment&&n.type==="function"},e}(eN);Ut.FunctionFragment=N0e;function Pwe(t){var e=t.format();return(e==="Error(string)"||e==="Panic(uint256)")&&sa.throwArgumentError("cannot specify user defined "+e+" error","fragment",t),t}var O0e=function(t){tN(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:bI(n.name),inputs:n.inputs?n.inputs.map(_y.fromObject):[]};return Pwe(new e(Ey,a))},e.fromString=function(n){var a={type:"error"},r=n.match(yI);return r||sa.throwArgumentError("invalid error signature","value",n),a.name=r[1].trim(),a.name&&bI(a.name),a.inputs=mI(r[2],!1),Pwe(e.fromObject(a))},e.isErrorFragment=function(n){return n&&n._isFragment&&n.type==="error"},e}(aN);Ut.ErrorFragment=O0e;function nw(t){return t.match(/^uint($|[^1-9])/)?t="uint256"+t.substring(4):t.match(/^int($|[^1-9])/)&&(t="int256"+t.substring(3)),t}var WD0=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function bI(t){return(!t||!t.match(WD0))&&sa.throwArgumentError('invalid identifier "'+t+'"',"value",t),t}var yI=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");function qD0(t){t=t.trim();for(var e=[],n="",a=0,r=0;r{"use strict";u();p();Object.defineProperty(yu,"__esModule",{value:!0});yu.Reader=yu.Writer=yu.Coder=yu.checkResultErrors=void 0;var g3=Vt(),Owe=ia(),gI=Ba(),H0e=Ft(),jD0=tw(),z0e=new H0e.Logger(jD0.version);function GD0(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}yu.checkResultErrors=GD0;var KD0=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){z0e.throwArgumentError(e,this.localName,n)},t}();yu.Coder=KD0;var QD0=function(){function t(e){(0,gI.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,g3.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,g3.concat)(e._data))},t.prototype.writeBytes=function(e){var n=(0,g3.arrayify)(e),a=n.length%this.wordSize;return a&&(n=(0,g3.concat)([n,this._padding.slice(a)])),this._writeData(n)},t.prototype._getValue=function(e){var n=(0,g3.arrayify)(Owe.BigNumber.from(e));return n.length>this.wordSize&&z0e.throwError("value out-of-bounds",H0e.Logger.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:n.length}),n.length%this.wordSize&&(n=(0,g3.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}();yu.Writer=QD0;var VD0=function(){function t(e,n,a,r){(0,gI.defineReadOnly)(this,"_data",(0,g3.arrayify)(e)),(0,gI.defineReadOnly)(this,"wordSize",n||32),(0,gI.defineReadOnly)(this,"_coerceFunc",a),(0,gI.defineReadOnly)(this,"allowLoose",r),this._offset=0}return Object.defineProperty(t.prototype,"data",{get:function(){return(0,g3.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:z0e.throwError("data out-of-bounds",H0e.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 Owe.BigNumber.from(this.readBytes(this.wordSize))},t}();yu.Reader=VD0});var Uwe=D((dNn,fN)=>{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 x=="object"&&x.versions&&x.versions.node;f?a=global:r&&(a=self);var i=!a.JS_SHA3_NO_COMMON_JS&&typeof fN=="object"&&fN.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 b["cshake"+U].update(ne,ue,Y,re)[Z]()}},X=function(U,J,Z){return function(ne,ue,Y,re){return b["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,me,ye,_e,ze,je,Ue,m0,h0,$e,M0,P0,t0,j0,z0,Ke,B0,K0,s0,J0,Y0,l0,Q0,et,p0,Z0,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,K0=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,J0=U[23]<<10|U[22]>>>22,Ve=U[33]<<13|U[32]>>>19,me=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,Z0=U[4]<<30|U[5]>>>2,Ue=U[14]<<6|U[15]>>>26,m0=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,Q0=U[47]<<24|U[46]>>>8,et=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^~m0&$e,U[30]=z0^~B0&s0,U[31]=Ke^~K0&J0,U[40]=p0^~Et&Tt,U[41]=Z0^~$0&Pn,U[2]=_0^~Ze&pe,U[3]=L0^~I0&he,U[12]=u0^~v0&Ve,U[13]=qe^~w0&me,U[22]=Ue^~h0&M0,U[23]=m0^~$e&P0,U[32]=B0^~s0&Y0,U[33]=K0^~J0&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^~me&_e,U[24]=h0^~M0&t0,U[25]=$e^~P0&j0,U[34]=s0^~Y0&Q0,U[35]=J0^~l0&et,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]=me^~_e&Qe,U[26]=M0^~t0&ze,U[27]=P0^~j0&je,U[36]=Y0^~Q0&z0,U[37]=l0^~et&Ke,U[46]=Ln^~Nn&p0,U[47]=Fn^~On&Z0,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&m0,U[38]=Q0^~z0&B0,U[39]=et^~Ke&K0,U[48]=Nn^~p0&Et,U[49]=On^~Z0&$0,U[0]^=k[ne],U[1]^=k[ne+1]};if(i)fN.exports=b;else{for(P=0;P{"use strict";u();p();var YD0=aw&&aw.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(aw,"__esModule",{value:!0});aw.keccak256=void 0;var $D0=YD0(Uwe()),JD0=Vt();function XD0(t){return"0x"+$D0.default.keccak_256((0,JD0.arrayify)(t))}aw.keccak256=XD0});var Hwe=D(iN=>{"use strict";u();p();Object.defineProperty(iN,"__esModule",{value:!0});iN.version=void 0;iN.version="rlp/5.7.0"});var vI=D(rw=>{"use strict";u();p();Object.defineProperty(rw,"__esModule",{value:!0});rw.decode=rw.encode=void 0;var Ay=Vt(),n8=Ft(),ZD0=Hwe(),gu=new n8.Logger(ZD0.version);function zwe(t){for(var e=[];t;)e.unshift(t&255),t>>=8;return e}function Wwe(t,e,n){for(var a=0,r=0;re+1+a&&gu.throwError("child data too short",n8.Logger.errors.BUFFER_OVERRUN,{})}return{consumed:1+a,result:r}}function Gwe(t,e){if(t.length===0&&gu.throwError("data too short",n8.Logger.errors.BUFFER_OVERRUN,{}),t[e]>=248){var n=t[e]-247;e+1+n>t.length&&gu.throwError("data short segment too short",n8.Logger.errors.BUFFER_OVERRUN,{});var a=Wwe(t,e+1,n);return e+1+n+a>t.length&&gu.throwError("data long segment too short",n8.Logger.errors.BUFFER_OVERRUN,{}),qwe(t,e,e+1+n,n+a)}else if(t[e]>=192){var r=t[e]-192;return e+1+r>t.length&&gu.throwError("data array too short",n8.Logger.errors.BUFFER_OVERRUN,{}),qwe(t,e,e+1,r)}else if(t[e]>=184){var n=t[e]-183;e+1+n>t.length&&gu.throwError("data array too short",n8.Logger.errors.BUFFER_OVERRUN,{});var f=Wwe(t,e+1,n);e+1+n+f>t.length&&gu.throwError("data array too short",n8.Logger.errors.BUFFER_OVERRUN,{});var i=(0,Ay.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&&gu.throwError("data too short",n8.Logger.errors.BUFFER_OVERRUN,{});var i=(0,Ay.hexlify)(t.slice(e+1,e+1+s));return{consumed:1+s,result:i}}return{consumed:1,result:(0,Ay.hexlify)(t[e])}}function tP0(t){var e=(0,Ay.arrayify)(t),n=Gwe(e,0);return n.consumed!==e.length&&gu.throwArgumentError("invalid rlp data","data",t),n.result}rw.decode=tP0});var Kwe=D(sN=>{"use strict";u();p();Object.defineProperty(sN,"__esModule",{value:!0});sN.version=void 0;sN.version="address/5.7.0"});var Po=D(w5=>{"use strict";u();p();Object.defineProperty(w5,"__esModule",{value:!0});w5.getCreate2Address=w5.getContractAddress=w5.getIcapAddress=w5.isAddress=w5.getAddress=void 0;var a8=Vt(),W0e=ia(),q0e=H1(),nP0=vI(),aP0=Ft(),rP0=Kwe(),v3=new aP0.Logger(rP0.version);function Qwe(t){(0,a8.isHexString)(t,20)||v3.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,a8.arrayify)((0,q0e.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 fP0=9007199254740991;function iP0(t){return Math.log10?Math.log10(t):Math.log(t)/Math.LN10}var j0e={};for(Zd=0;Zd<10;Zd++)j0e[String(Zd)]=String(Zd);var Zd;for(Zd=0;Zd<26;Zd++)j0e[String.fromCharCode(65+Zd)]=String(10+Zd);var Zd,Vwe=Math.floor(iP0(fP0));function Ywe(t){t=t.toUpperCase(),t=t.substring(4)+t.substring(0,2)+"00";for(var e=t.split("").map(function(r){return j0e[r]}).join("");e.length>=Vwe;){var n=e.substring(0,Vwe);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 Cy(t){var e=null;if(typeof t!="string"&&v3.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))t.substring(0,2)!=="0x"&&(t="0x"+t),e=Qwe(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&v3.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)!==Ywe(t)&&v3.throwArgumentError("bad icap checksum","address",t),e=(0,W0e._base36To16)(t.substring(4));e.length<40;)e="0"+e;e=Qwe("0x"+e)}else v3.throwArgumentError("invalid address","address",t);return e}w5.getAddress=Cy;function sP0(t){try{return Cy(t),!0}catch{}return!1}w5.isAddress=sP0;function oP0(t){for(var e=(0,W0e._base16To36)(Cy(t).substring(2)).toUpperCase();e.length<30;)e="0"+e;return"XE"+Ywe("XE00"+e)+e}w5.getIcapAddress=oP0;function cP0(t){var e=null;try{e=Cy(t.from)}catch{v3.throwArgumentError("missing from address","transaction",t)}var n=(0,a8.stripZeros)((0,a8.arrayify)(W0e.BigNumber.from(t.nonce).toHexString()));return Cy((0,a8.hexDataSlice)((0,q0e.keccak256)((0,nP0.encode)([e,n])),12))}w5.getContractAddress=cP0;function dP0(t,e,n){return(0,a8.hexDataLength)(e)!==32&&v3.throwArgumentError("salt must be 32 bytes","salt",e),(0,a8.hexDataLength)(n)!==32&&v3.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",n),Cy((0,a8.hexDataSlice)((0,q0e.keccak256)((0,a8.concat)(["0xff",Cy(t),e,n])),12))}w5.getCreate2Address=dP0});var Jwe=D(fw=>{"use strict";u();p();var lP0=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.AddressCoder=void 0;var $we=Po(),uP0=Vt(),pP0=v5(),hP0=function(t){lP0(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,$we.getAddress)(a)}catch(r){this._throwError(r.message,a)}return n.writeValue(a)},e.prototype.decode=function(n){return(0,$we.getAddress)((0,uP0.hexZeroPad)(n.readValue().toHexString(),20))},e}(pP0.Coder);fw.AddressCoder=hP0});var Xwe=D(iw=>{"use strict";u();p();var mP0=iw&&iw.__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(iw,"__esModule",{value:!0});iw.AnonymousCoder=void 0;var bP0=v5(),yP0=function(t){mP0(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}(bP0.Coder);iw.AnonymousCoder=yP0});var K0e=D(vu=>{"use strict";u();p();var gP0=vu&&vu.__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(vu,"__esModule",{value:!0});vu.ArrayCoder=vu.unpack=vu.pack=void 0;var ow=Ft(),vP0=tw(),sw=new ow.Logger(vP0.version),G0e=v5(),wP0=Xwe();function Zwe(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||sw.throwError("cannot encode object for signature with missing names",ow.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:c,value:n}),r[d]&&sw.throwError("cannot encode object for signature with duplicate names",ow.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:c,value:n}),r[d]=!0,n[d]})}else sw.throwArgumentError("invalid tuple value","tuple",n);e.length!==a.length&&sw.throwArgumentError("types/value length mismatch","tuple",n);var f=new G0e.Writer(t.wordSize),i=new G0e.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}vu.pack=Zwe;function eTe(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===ow.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===ow.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&&sw.throwError("insufficient data length",ow.Logger.errors.BUFFER_OVERRUN,{length:n._data.length,count:a}));for(var r=[],f=0;f{"use strict";u();p();var xP0=cw&&cw.__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(cw,"__esModule",{value:!0});cw.BooleanCoder=void 0;var EP0=v5(),_P0=function(t){xP0(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}(EP0.Coder);cw.BooleanCoder=_P0});var Q0e=D(w3=>{"use strict";u();p();var nTe=w3&&w3.__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(w3,"__esModule",{value:!0});w3.BytesCoder=w3.DynamicBytesCoder=void 0;var aTe=Vt(),AP0=v5(),rTe=function(t){nTe(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,aTe.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}(AP0.Coder);w3.DynamicBytesCoder=rTe;var CP0=function(t){nTe(e,t);function e(n){return t.call(this,"bytes",n)||this}return e.prototype.decode=function(n){return n.coerce(this.name,(0,aTe.hexlify)(t.prototype.decode.call(this,n)))},e}(rTe);w3.BytesCoder=CP0});var iTe=D(dw=>{"use strict";u();p();var IP0=dw&&dw.__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(dw,"__esModule",{value:!0});dw.FixedBytesCoder=void 0;var fTe=Vt(),kP0=v5(),SP0=function(t){IP0(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,fTe.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,fTe.hexlify)(n.readBytes(this.size)))},e}(kP0.Coder);dw.FixedBytesCoder=SP0});var sTe=D(lw=>{"use strict";u();p();var RP0=lw&&lw.__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(lw,"__esModule",{value:!0});lw.NullCoder=void 0;var MP0=v5(),BP0=function(t){RP0(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);lw.NullCoder=BP0});var oTe=D(oN=>{"use strict";u();p();Object.defineProperty(oN,"__esModule",{value:!0});oN.AddressZero=void 0;oN.AddressZero="0x0000000000000000000000000000000000000000"});var cTe=D(us=>{"use strict";u();p();Object.defineProperty(us,"__esModule",{value:!0});us.MaxInt256=us.MinInt256=us.MaxUint256=us.WeiPerEther=us.Two=us.One=us.Zero=us.NegativeOne=void 0;var T3=ia(),DP0=T3.BigNumber.from(-1);us.NegativeOne=DP0;var PP0=T3.BigNumber.from(0);us.Zero=PP0;var LP0=T3.BigNumber.from(1);us.One=LP0;var FP0=T3.BigNumber.from(2);us.Two=FP0;var NP0=T3.BigNumber.from("1000000000000000000");us.WeiPerEther=NP0;var OP0=T3.BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");us.MaxUint256=OP0;var UP0=T3.BigNumber.from("-0x8000000000000000000000000000000000000000000000000000000000000000");us.MinInt256=UP0;var HP0=T3.BigNumber.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");us.MaxInt256=HP0});var dTe=D(cN=>{"use strict";u();p();Object.defineProperty(cN,"__esModule",{value:!0});cN.HashZero=void 0;cN.HashZero="0x0000000000000000000000000000000000000000000000000000000000000000"});var lTe=D(dN=>{"use strict";u();p();Object.defineProperty(dN,"__esModule",{value:!0});dN.EtherSymbol=void 0;dN.EtherSymbol="\u039E"});var E3=D(lf=>{"use strict";u();p();Object.defineProperty(lf,"__esModule",{value:!0});lf.EtherSymbol=lf.HashZero=lf.MaxInt256=lf.MinInt256=lf.MaxUint256=lf.WeiPerEther=lf.Two=lf.One=lf.Zero=lf.NegativeOne=lf.AddressZero=void 0;var zP0=oTe();Object.defineProperty(lf,"AddressZero",{enumerable:!0,get:function(){return zP0.AddressZero}});var x3=cTe();Object.defineProperty(lf,"NegativeOne",{enumerable:!0,get:function(){return x3.NegativeOne}});Object.defineProperty(lf,"Zero",{enumerable:!0,get:function(){return x3.Zero}});Object.defineProperty(lf,"One",{enumerable:!0,get:function(){return x3.One}});Object.defineProperty(lf,"Two",{enumerable:!0,get:function(){return x3.Two}});Object.defineProperty(lf,"WeiPerEther",{enumerable:!0,get:function(){return x3.WeiPerEther}});Object.defineProperty(lf,"MaxUint256",{enumerable:!0,get:function(){return x3.MaxUint256}});Object.defineProperty(lf,"MinInt256",{enumerable:!0,get:function(){return x3.MinInt256}});Object.defineProperty(lf,"MaxInt256",{enumerable:!0,get:function(){return x3.MaxInt256}});var WP0=dTe();Object.defineProperty(lf,"HashZero",{enumerable:!0,get:function(){return WP0.HashZero}});var qP0=lTe();Object.defineProperty(lf,"EtherSymbol",{enumerable:!0,get:function(){return qP0.EtherSymbol}})});var uTe=D(uw=>{"use strict";u();p();var jP0=uw&&uw.__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(uw,"__esModule",{value:!0});uw.NumberCoder=void 0;var GP0=ia(),lN=E3(),KP0=v5(),QP0=function(t){jP0(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=GP0.BigNumber.from(a),f=lN.MaxUint256.mask(n.wordSize*8);if(this.signed){var i=f.mask(this.size*8-1);(r.gt(i)||r.lt(i.add(lN.One).mul(lN.NegativeOne)))&&this._throwError("value out-of-bounds",a)}else(r.lt(lN.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}(KP0.Coder);uw.NumberCoder=QP0});var pTe=D(uN=>{"use strict";u();p();Object.defineProperty(uN,"__esModule",{value:!0});uN.version=void 0;uN.version="strings/5.7.0"});var hN=D(pi=>{"use strict";u();p();Object.defineProperty(pi,"__esModule",{value:!0});pi.toUtf8CodePoints=pi.toUtf8String=pi._toUtf8String=pi._toEscapedUtf8String=pi.toUtf8Bytes=pi.Utf8ErrorFuncs=pi.Utf8ErrorReason=pi.UnicodeNormalizationForm=void 0;var hTe=Vt(),VP0=Ft(),YP0=pTe(),mTe=new VP0.Logger(YP0.version),pN;(function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"})(pN=pi.UnicodeNormalizationForm||(pi.UnicodeNormalizationForm={}));var T5;(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"})(T5=pi.Utf8ErrorReason||(pi.Utf8ErrorReason={}));function $P0(t,e,n,a,r){return mTe.throwArgumentError("invalid codepoint at offset "+e+"; "+t,"bytes",n)}function bTe(t,e,n,a,r){if(t===T5.BAD_PREFIX||t===T5.UNEXPECTED_CONTINUE){for(var f=0,i=e+1;i>6===2;i++)f++;return f}return t===T5.OVERRUN?n.length-e-1:0}function JP0(t,e,n,a,r){return t===T5.OVERLONG?(a.push(r),0):(a.push(65533),bTe(t,e,n,a,r))}pi.Utf8ErrorFuncs=Object.freeze({error:$P0,ignore:bTe,replace:JP0});function Y0e(t,e){e==null&&(e=pi.Utf8ErrorFuncs.error),t=(0,hTe.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(T5.UNEXPECTED_CONTINUE,a-1,t,n):a+=e(T5.BAD_PREFIX,a-1,t,n);continue}if(a-1+f>=t.length){a+=e(T5.OVERRUN,a-1,t,n);continue}for(var s=r&(1<<8-f-1)-1,o=0;o1114111){a+=e(T5.OUT_OF_RANGE,a-1-f,t,n,s);continue}if(s>=55296&&s<=57343){a+=e(T5.UTF16_SURROGATE,a-1-f,t,n,s);continue}if(s<=i){a+=e(T5.OVERLONG,a-1-f,t,n,s);continue}n.push(s)}}return n}function yTe(t,e){e===void 0&&(e=pN.current),e!=pN.current&&(mTe.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,hTe.arrayify)(n)}pi.toUtf8Bytes=yTe;function V0e(t){var e="0000"+t.toString(16);return"\\u"+e.substring(e.length-4)}function XP0(t,e){return'"'+Y0e(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?V0e(n):(n-=65536,V0e((n>>10&1023)+55296)+V0e((n&1023)+56320))}).join("")+'"'}pi._toEscapedUtf8String=XP0;function gTe(t){return t.map(function(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10&1023)+55296,(e&1023)+56320))}).join("")}pi._toUtf8String=gTe;function ZP0(t,e){return gTe(Y0e(t,e))}pi.toUtf8String=ZP0;function eL0(t,e){return e===void 0&&(e=pN.current),Y0e(yTe(t,e))}pi.toUtf8CodePoints=eL0});var wTe=D(pw=>{"use strict";u();p();Object.defineProperty(pw,"__esModule",{value:!0});pw.parseBytes32String=pw.formatBytes32String=void 0;var tL0=E3(),$0e=Vt(),vTe=hN();function nL0(t){var e=(0,vTe.toUtf8Bytes)(t);if(e.length>31)throw new Error("bytes32 string must be less than 32 bytes");return(0,$0e.hexlify)((0,$0e.concat)([e,tL0.HashZero]).slice(0,32))}pw.formatBytes32String=nL0;function aL0(t){var e=(0,$0e.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,vTe.toUtf8String)(e.slice(0,n))}pw.parseBytes32String=aL0});var ATe=D(wu=>{"use strict";u();p();Object.defineProperty(wu,"__esModule",{value:!0});wu.nameprep=wu._nameprepTableC=wu._nameprepTableB2=wu._nameprepTableA1=void 0;var wI=hN();function rL0(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 fL0=TTe("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"),iL0="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map(function(t){return parseInt(t,16)}),sL0=[{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}],oL0=J0e("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"),cL0=J0e("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"),dL0=J0e("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",rL0),lL0=TTe("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 uL0(t){return t.reduce(function(e,n){return n.forEach(function(a){e.push(a)}),e},[])}function xTe(t){return!!X0e(t,fL0)}wu._nameprepTableA1=xTe;function ETe(t){var e=X0e(t,sL0);if(e)return[t+e.s];var n=oL0[t];if(n)return n;var a=cL0[t];if(a)return[t+a[0]];var r=dL0[t];return r||null}wu._nameprepTableB2=ETe;function _Te(t){return!!X0e(t,lL0)}wu._nameprepTableC=_Te;function pL0(t){if(t.match(/^[a-z0-9-]*$/i)&&t.length<=59)return t.toLowerCase();var e=(0,wI.toUtf8CodePoints)(t);e=uL0(e.map(function(a){if(iL0.indexOf(a)>=0)return[];if(a>=65024&&a<=65039)return[];var r=ETe(a);return r||[a]})),e=(0,wI.toUtf8CodePoints)((0,wI._toUtf8String)(e),wI.UnicodeNormalizationForm.NFKC),e.forEach(function(a){if(_Te(a))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")}),e.forEach(function(a){if(xTe(a))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")});var n=(0,wI._toUtf8String)(e);if(n.substring(0,1)==="-"||n.substring(2,4)==="--"||n.substring(n.length-1)==="-")throw new Error("invalid hyphen");return n}wu.nameprep=pL0});var Ai=D(Yf=>{"use strict";u();p();Object.defineProperty(Yf,"__esModule",{value:!0});Yf.nameprep=Yf.parseBytes32String=Yf.formatBytes32String=Yf.UnicodeNormalizationForm=Yf.Utf8ErrorReason=Yf.Utf8ErrorFuncs=Yf.toUtf8String=Yf.toUtf8CodePoints=Yf.toUtf8Bytes=Yf._toEscapedUtf8String=void 0;var CTe=wTe();Object.defineProperty(Yf,"formatBytes32String",{enumerable:!0,get:function(){return CTe.formatBytes32String}});Object.defineProperty(Yf,"parseBytes32String",{enumerable:!0,get:function(){return CTe.parseBytes32String}});var hL0=ATe();Object.defineProperty(Yf,"nameprep",{enumerable:!0,get:function(){return hL0.nameprep}});var Iy=hN();Object.defineProperty(Yf,"_toEscapedUtf8String",{enumerable:!0,get:function(){return Iy._toEscapedUtf8String}});Object.defineProperty(Yf,"toUtf8Bytes",{enumerable:!0,get:function(){return Iy.toUtf8Bytes}});Object.defineProperty(Yf,"toUtf8CodePoints",{enumerable:!0,get:function(){return Iy.toUtf8CodePoints}});Object.defineProperty(Yf,"toUtf8String",{enumerable:!0,get:function(){return Iy.toUtf8String}});Object.defineProperty(Yf,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return Iy.UnicodeNormalizationForm}});Object.defineProperty(Yf,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return Iy.Utf8ErrorFuncs}});Object.defineProperty(Yf,"Utf8ErrorReason",{enumerable:!0,get:function(){return Iy.Utf8ErrorReason}})});var kTe=D(hw=>{"use strict";u();p();var mL0=hw&&hw.__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(hw,"__esModule",{value:!0});hw.StringCoder=void 0;var ITe=Ai(),bL0=Q0e(),yL0=function(t){mL0(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,ITe.toUtf8Bytes)(a))},e.prototype.decode=function(n){return(0,ITe.toUtf8String)(t.prototype.decode.call(this,n))},e}(bL0.DynamicBytesCoder);hw.StringCoder=yL0});var RTe=D(mw=>{"use strict";u();p();var gL0=mw&&mw.__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(mw,"__esModule",{value:!0});mw.TupleCoder=void 0;var vL0=v5(),STe=K0e(),wL0=function(t){gL0(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,STe.pack)(n,this.coders,a)},e.prototype.decode=function(n){return n.coerce(this.name,(0,STe.unpack)(n,this.coders))},e}(vL0.Coder);mw.TupleCoder=wL0});var ete=D(bw=>{"use strict";u();p();Object.defineProperty(bw,"__esModule",{value:!0});bw.defaultAbiCoder=bw.AbiCoder=void 0;var TL0=Vt(),xL0=Ba(),BTe=Ft(),EL0=tw(),mN=new BTe.Logger(EL0.version),MTe=v5(),_L0=Jwe(),AL0=K0e(),CL0=tTe(),IL0=Q0e(),kL0=iTe(),SL0=sTe(),RL0=uTe(),ML0=kTe(),bN=RTe(),Z0e=rN(),BL0=new RegExp(/^bytes([0-9]*)$/),DL0=new RegExp(/^(u?int)([0-9]*)$/),DTe=function(){function t(e){(0,xL0.defineReadOnly)(this,"coerceFunc",e||null)}return t.prototype._getCoder=function(e){var n=this;switch(e.baseType){case"address":return new _L0.AddressCoder(e.name);case"bool":return new CL0.BooleanCoder(e.name);case"string":return new ML0.StringCoder(e.name);case"bytes":return new IL0.BytesCoder(e.name);case"array":return new AL0.ArrayCoder(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new bN.TupleCoder((e.components||[]).map(function(f){return n._getCoder(f)}),e.name);case"":return new SL0.NullCoder(e.name)}var a=e.type.match(DL0);if(a){var r=parseInt(a[2]||"256");return(r===0||r>256||r%8!==0)&&mN.throwArgumentError("invalid "+a[1]+" bit length","param",e),new RL0.NumberCoder(r/8,a[1]==="int",e.name)}if(a=e.type.match(BL0),a){var r=parseInt(a[1]);return(r===0||r>32)&&mN.throwArgumentError("invalid bytes length","param",e),new kL0.FixedBytesCoder(r,e.name)}return mN.throwArgumentError("invalid type","type",e.type)},t.prototype._getWordSize=function(){return 32},t.prototype._getReader=function(e,n){return new MTe.Reader(e,this._getWordSize(),this.coerceFunc,n)},t.prototype._getWriter=function(){return new MTe.Writer(this._getWordSize())},t.prototype.getDefaultValue=function(e){var n=this,a=e.map(function(f){return n._getCoder(Z0e.ParamType.from(f))}),r=new bN.TupleCoder(a,"_");return r.defaultValue()},t.prototype.encode=function(e,n){var a=this;e.length!==n.length&&mN.throwError("types/values length mismatch",BTe.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(Z0e.ParamType.from(s))}),f=new bN.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(Z0e.ParamType.from(s))}),i=new bN.TupleCoder(f,"_");return i.decode(this._getReader((0,TL0.arrayify)(n),a))},t}();bw.AbiCoder=DTe;bw.defaultAbiCoder=new DTe});var tte=D(yN=>{"use strict";u();p();Object.defineProperty(yN,"__esModule",{value:!0});yN.id=void 0;var PL0=H1(),LL0=Ai();function FL0(t){return(0,PL0.keccak256)((0,LL0.toUtf8Bytes)(t))}yN.id=FL0});var nte=D(gN=>{"use strict";u();p();Object.defineProperty(gN,"__esModule",{value:!0});gN.version=void 0;gN.version="hash/5.7.0"});var LTe=D(yw=>{"use strict";u();p();Object.defineProperty(yw,"__esModule",{value:!0});yw.encode=yw.decode=void 0;var PTe=Vt();function NL0(t){t=atob(t);for(var e=[],n=0;n{"use strict";u();p();Object.defineProperty(gw,"__esModule",{value:!0});gw.encode=gw.decode=void 0;var FTe=LTe();Object.defineProperty(gw,"decode",{enumerable:!0,get:function(){return FTe.decode}});Object.defineProperty(gw,"encode",{enumerable:!0,get:function(){return FTe.encode}})});var rte=D(ps=>{"use strict";u();p();Object.defineProperty(ps,"__esModule",{value:!0});ps.read_emoji_trie=ps.read_zero_terminated_array=ps.read_mapped_map=ps.read_member_array=ps.signed=ps.read_compressed_payload=ps.read_payload=ps.decode_arithmetic=void 0;function OTe(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 UL0(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}})}ps.decode_arithmetic=UTe;function HTe(t){var e=0;return function(){return t[e++]}}ps.read_payload=HTe;function HL0(t){return HTe(UTe(t))}ps.read_compressed_payload=HL0;function zTe(t){return t&1?~t>>1:t>>1}ps.signed=zTe;function zL0(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}}}ps.read_emoji_trie=KL0});var jTe=D(vN=>{"use strict";u();p();Object.defineProperty(vN,"__esModule",{value:!0});vN.getData=void 0;var QL0=TI(),VL0=rte();function YL0(){return(0,VL0.read_compressed_payload)((0,QL0.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=="))}vN.getData=YL0});var VTe=D(vw=>{"use strict";u();p();Object.defineProperty(vw,"__esModule",{value:!0});vw.ens_normalize=vw.ens_normalize_post_check=void 0;var $L0=Ai(),JL0=jTe(),wN=(0,JL0.getData)(),TN=rte(),XL0=new Set((0,TN.read_member_array)(wN)),ZL0=new Set((0,TN.read_member_array)(wN)),eF0=(0,TN.read_mapped_map)(wN),tF0=(0,TN.read_emoji_trie)(wN),GTe=45,KTe=95;function QTe(t){return(0,$L0.toUtf8CodePoints)(t)}function nF0(t){return t.filter(function(e){return e!=65039})}function fte(t){for(var e=0,n=t.split(".");e=0;f--)if(r[f]!==KTe)throw new Error("underscore only allowed at start");if(r.length>=4&&r.every(function(i){return i<128})&&r[2]===GTe&&r[3]===GTe)throw new Error("invalid label extension")}catch(i){throw new Error('Invalid label "'+a+'": '+i.message)}}return t}vw.ens_normalize_post_check=fte;function aF0(t){return fte(rF0(t,nF0))}vw.ens_normalize=aF0;function rF0(t,e){for(var n=QTe(t).reverse(),a=[];n.length;){var r=iF0(n);if(r){a.push.apply(a,e(r));continue}var f=n.pop();if(XL0.has(f)){a.push(f);continue}if(!ZL0.has(f)){var i=eF0[f];if(i){a.push.apply(a,i);continue}throw new Error("Disallowed codepoint: 0x"+f.toString(16).toUpperCase())}}return fte(fF0(String.fromCodePoint.apply(String,a)))}function fF0(t){return t.normalize("NFC")}function iF0(t,e){var n,a=tF0,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 ite=D(Tu=>{"use strict";u();p();Object.defineProperty(Tu,"__esModule",{value:!0});Tu.dnsEncode=Tu.namehash=Tu.isValidName=Tu.ensNormalize=void 0;var xN=Vt(),JTe=Ai(),YTe=H1(),sF0=Ft(),oF0=nte(),cF0=new sF0.Logger(oF0.version),dF0=VTe(),XTe=new Uint8Array(32);XTe.fill(0);function $Te(t){if(t.length===0)throw new Error("invalid ENS name; empty component");return t}function EN(t){var e=(0,JTe.toUtf8Bytes)((0,dF0.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($Te(e.slice(a))),n}function lF0(t){return EN(t).map(function(e){return(0,JTe.toUtf8String)(e)}).join(".")}Tu.ensNormalize=lF0;function uF0(t){try{return EN(t).length!==0}catch{}return!1}Tu.isValidName=uF0;function pF0(t){typeof t!="string"&&cF0.throwArgumentError("invalid ENS name; not a string","name",t);for(var e=XTe,n=EN(t);n.length;)e=(0,YTe.keccak256)((0,xN.concat)([e,(0,YTe.keccak256)(n.pop())]));return(0,xN.hexlify)(e)}Tu.namehash=pF0;function hF0(t){return(0,xN.hexlify)((0,xN.concat)(EN(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"}Tu.dnsEncode=hF0});var ZTe=D(ky=>{"use strict";u();p();Object.defineProperty(ky,"__esModule",{value:!0});ky.hashMessage=ky.messagePrefix=void 0;var mF0=Vt(),bF0=H1(),ste=Ai();ky.messagePrefix=`Ethereum Signed Message: +`;function yF0(t){return typeof t=="string"&&(t=(0,ste.toUtf8Bytes)(t)),(0,bF0.keccak256)((0,mF0.concat)([(0,ste.toUtf8Bytes)(ky.messagePrefix),(0,ste.toUtf8Bytes)(String(t.length)),t]))}ky.hashMessage=yF0});var oxe=D(_3=>{"use strict";u();p();var gF0=_3&&_3.__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())})},vF0=_3&&_3.__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))&&kf.throwArgumentError("invalid numeric width","type",t);var r=EF0.mask(n?a-1:a),f=n?r.add(sxe).mul(xF0):ixe;return function(s){var o=Ry.BigNumber.from(s);return(o.lt(f)||o.gt(r))&&kf.throwArgumentError("value out-of-bounds for "+t,"value",s),(0,Js.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))&&kf.throwArgumentError("invalid bytes width","type",t),function(o){var c=(0,Js.arrayify)(o);return c.length!==i&&kf.throwArgumentError("invalid length for "+t,"value",o),_F0(o)}}}switch(t){case"address":return function(s){return(0,Js.hexZeroPad)((0,axe.getAddress)(s),32)};case"bool":return function(s){return s?AF0:CF0};case"bytes":return function(s){return(0,ww.keccak256)(s)};case"string":return function(s){return(0,rxe.id)(s)}}return null}function nxe(t,e){return t+"("+e.map(function(n){var a=n.name,r=n.type;return r+" "+a}).join(",")+")"}var kF0=function(){function t(e){(0,Sy.defineReadOnly)(this,"types",Object.freeze((0,Sy.deepCopy)(e))),(0,Sy.defineReadOnly)(this,"_encoderCache",{}),(0,Sy.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]&&kf.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&&kf.throwArgumentError("circular type reference to "+JSON.stringify(v),"types",e);var k=cte(v);k||(a[v]||kf.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?kf.throwArgumentError("missing primary type","types",e):s.length>1&&kf.throwArgumentError("ambiguous primary types or unused types: "+s.map(function(l){return JSON.stringify(l)}).join(", "),"types",e),(0,Sy.defineReadOnly)(this,"primaryType",s[0]);function o(l,h){h[l]&&kf.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]=nxe(c,e[c])+d.map(function(l){return nxe(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=cte(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&&kf.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",d);var l=d.map(i);return n._types[f]&&(l=l.map(ww.keccak256)),(0,ww.keccak256)((0,Js.hexConcat)(l))}}var o=this.types[e];if(o){var c=(0,rxe.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,ww.keccak256)(k):k});return l.unshift(c),(0,Js.hexConcat)(l)}}return kf.throwArgumentError("unknown type: "+e,"type",e)},t.prototype.encodeType=function(e){var n=this._types[e];return n||kf.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,ww.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=cte(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&&kf.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},{}):kf.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=exe[a];r||kf.throwArgumentError("invalid typed-data domain key: "+JSON.stringify(a),"domain",e),n.push({name:a,type:r})}return n.sort(function(f,i){return ote.indexOf(f.name)-ote.indexOf(i.name)}),t.hashStruct("EIP712Domain",{EIP712Domain:n},e)},t.encode=function(e,n,a){return(0,Js.hexConcat)(["0x1901",t.hashDomain(e),t.from(n).hash(a)])},t.hash=function(e,n,a){return(0,ww.keccak256)(t.encode(e,n,a))},t.resolveNames=function(e,n,a,r){return gF0(this,void 0,void 0,function(){var f,i,s,o,c,d,l,h;return vF0(this,function(y){switch(y.label){case 0:e=(0,Sy.shallowCopy)(e),f={},e.verifyingContract&&!(0,Js.isHexString)(e.verifyingContract,20)&&(f[e.verifyingContract]="0x"),i=t.from(n),i.visit(a,function(v,k){return v==="address"&&!(0,Js.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(hs,"__esModule",{value:!0});hs._TypedDataEncoder=hs.hashMessage=hs.messagePrefix=hs.ensNormalize=hs.isValidName=hs.namehash=hs.dnsEncode=hs.id=void 0;var SF0=tte();Object.defineProperty(hs,"id",{enumerable:!0,get:function(){return SF0.id}});var dte=ite();Object.defineProperty(hs,"dnsEncode",{enumerable:!0,get:function(){return dte.dnsEncode}});Object.defineProperty(hs,"isValidName",{enumerable:!0,get:function(){return dte.isValidName}});Object.defineProperty(hs,"namehash",{enumerable:!0,get:function(){return dte.namehash}});var cxe=ZTe();Object.defineProperty(hs,"hashMessage",{enumerable:!0,get:function(){return cxe.hashMessage}});Object.defineProperty(hs,"messagePrefix",{enumerable:!0,get:function(){return cxe.messagePrefix}});var RF0=ite();Object.defineProperty(hs,"ensNormalize",{enumerable:!0,get:function(){return RF0.ensNormalize}});var MF0=oxe();Object.defineProperty(hs,"_TypedDataEncoder",{enumerable:!0,get:function(){return MF0.TypedDataEncoder}})});var bxe=D(Lo=>{"use strict";u();p();var CN=Lo&&Lo.__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(Lo,"__esModule",{value:!0});Lo.Interface=Lo.Indexed=Lo.ErrorDescription=Lo.TransactionDescription=Lo.LogDescription=Lo.checkResultErrors=void 0;var BF0=Po(),dxe=ia(),uf=Vt(),_N=A3(),lxe=H1(),Xs=Ba(),DF0=ete(),PF0=v5();Object.defineProperty(Lo,"checkResultErrors",{enumerable:!0,get:function(){return PF0.checkResultErrors}});var r8=rN(),AN=Ft(),LF0=tw(),Sf=new AN.Logger(LF0.version),pxe=function(t){CN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(Xs.Description);Lo.LogDescription=pxe;var hxe=function(t){CN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(Xs.Description);Lo.TransactionDescription=hxe;var mxe=function(t){CN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(Xs.Description);Lo.ErrorDescription=mxe;var lte=function(t){CN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.isIndexed=function(n){return!!(n&&n._isIndexed)},e}(Xs.Description);Lo.Indexed=lte;var FF0={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function uxe(t,e){var n=new Error("deferred error during ABI decoding triggered accessing "+t);return n.error=e,n}var NF0=function(){function t(e){var n=this.constructor,a=this,r=[];typeof e=="string"?r=JSON.parse(e):r=e,(0,Xs.defineReadOnly)(this,"fragments",r.map(function(f){return r8.Fragment.from(f)}).filter(function(f){return f!=null})),(0,Xs.defineReadOnly)(this,"_abiCoder",(0,Xs.getStatic)(n,"getAbiCoder")()),(0,Xs.defineReadOnly)(this,"functions",{}),(0,Xs.defineReadOnly)(this,"errors",{}),(0,Xs.defineReadOnly)(this,"events",{}),(0,Xs.defineReadOnly)(this,"structs",{}),this.fragments.forEach(function(f){var i=null;switch(f.type){case"constructor":if(a.deploy){Sf.warn("duplicate definition - constructor");return}(0,Xs.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]){Sf.warn("duplicate definition - "+s);return}i[s]=f}),this.deploy||(0,Xs.defineReadOnly)(this,"deploy",r8.ConstructorFragment.from({payable:!1,type:"constructor"})),(0,Xs.defineReadOnly)(this,"_isInterface",!0)}return t.prototype.format=function(e){e||(e=r8.FormatTypes.full),e===r8.FormatTypes.sighash&&Sf.throwArgumentError("interface does not support formatting sighash","format",e);var n=this.fragments.map(function(a){return a.format(e)});return e===r8.FormatTypes.json?JSON.stringify(n.map(function(a){return JSON.parse(a)})):n},t.getAbiCoder=function(){return DF0.defaultAbiCoder},t.getAddress=function(e){return(0,BF0.getAddress)(e)},t.getSighash=function(e){return(0,uf.hexDataSlice)((0,_N.id)(e.format()),0,4)},t.getEventTopic=function(e){return(0,_N.id)(e.format())},t.prototype.getFunction=function(e){if((0,uf.isHexString)(e)){for(var n in this.functions)if(e===this.getSighash(n))return this.functions[n];Sf.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?Sf.throwArgumentError("no matching function","name",a):r.length>1&&Sf.throwArgumentError("multiple matching functions","name",a),this.functions[r[0]]}var f=this.functions[r8.FunctionFragment.fromString(e).format()];return f||Sf.throwArgumentError("no matching function","signature",e),f},t.prototype.getEvent=function(e){if((0,uf.isHexString)(e)){var n=e.toLowerCase();for(var a in this.events)if(n===this.getEventTopic(a))return this.events[a];Sf.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?Sf.throwArgumentError("no matching event","name",r):f.length>1&&Sf.throwArgumentError("multiple matching events","name",r),this.events[f[0]]}var i=this.events[r8.EventFragment.fromString(e).format()];return i||Sf.throwArgumentError("no matching event","signature",e),i},t.prototype.getError=function(e){if((0,uf.isHexString)(e)){var n=(0,Xs.getStatic)(this.constructor,"getSighash");for(var a in this.errors){var r=this.errors[a];if(e===n(r))return this.errors[a]}Sf.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?Sf.throwArgumentError("no matching error","name",f):i.length>1&&Sf.throwArgumentError("multiple matching errors","name",f),this.errors[i[0]]}var s=this.errors[r8.FunctionFragment.fromString(e).format()];return s||Sf.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,Xs.getStatic)(this.constructor,"getSighash")(e)},t.prototype.getEventTopic=function(e){return typeof e=="string"&&(e=this.getEvent(e)),(0,Xs.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,uf.arrayify)(n);return(0,uf.hexlify)(a.slice(0,4))!==this.getSighash(e)&&Sf.throwArgumentError("data signature does not match error "+e.name+".","data",(0,uf.hexlify)(a)),this._decodeParams(e.inputs,a.slice(4))},t.prototype.encodeErrorResult=function(e,n){return typeof e=="string"&&(e=this.getError(e)),(0,uf.hexlify)((0,uf.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,uf.arrayify)(n);return(0,uf.hexlify)(a.slice(0,4))!==this.getSighash(e)&&Sf.throwArgumentError("data signature does not match function "+e.name+".","data",(0,uf.hexlify)(a)),this._decodeParams(e.inputs,a.slice(4))},t.prototype.encodeFunctionData=function(e,n){return typeof e=="string"&&(e=this.getFunction(e)),(0,uf.hexlify)((0,uf.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,uf.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,uf.hexlify)(a.slice(0,4)),d=FF0[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 Sf.throwError("call revert exception"+f,AN.Logger.errors.CALL_EXCEPTION,{method:e.format(),data:(0,uf.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,uf.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&&Sf.throwError("too many arguments for "+e.format(),AN.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,_N.id)(s):i.type==="bytes"?(0,lxe.keccak256)((0,uf.hexlify)(s)):(i.type==="bool"&&typeof s=="boolean"&&(s=s?"0x01":"0x00"),i.type.match(/^u?int/)&&(s=dxe.BigNumber.from(s).toHexString()),i.type==="address"&&a._abiCoder.encode(["address"],[s]),(0,uf.hexZeroPad)((0,uf.hexlify)(s),32))};for(n.forEach(function(i,s){var o=e.inputs[s];if(!o.indexed){i!=null&&Sf.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"?Sf.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&&Sf.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,_N.id)(c));else if(s.type==="bytes")r.push((0,lxe.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,uf.isHexString)(a[0],32)||a[0].toLowerCase()!==r)&&Sf.throwError("fragment/topic mismatch",AN.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(r8.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,uf.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 lte({_isIndexed:!0,hash:null});else if(s[O])d[O]=new lte({_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 uxe("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 uxe("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 My=rN();Object.defineProperty(Ya,"ConstructorFragment",{enumerable:!0,get:function(){return My.ConstructorFragment}});Object.defineProperty(Ya,"ErrorFragment",{enumerable:!0,get:function(){return My.ErrorFragment}});Object.defineProperty(Ya,"EventFragment",{enumerable:!0,get:function(){return My.EventFragment}});Object.defineProperty(Ya,"FormatTypes",{enumerable:!0,get:function(){return My.FormatTypes}});Object.defineProperty(Ya,"Fragment",{enumerable:!0,get:function(){return My.Fragment}});Object.defineProperty(Ya,"FunctionFragment",{enumerable:!0,get:function(){return My.FunctionFragment}});Object.defineProperty(Ya,"ParamType",{enumerable:!0,get:function(){return My.ParamType}});var yxe=ete();Object.defineProperty(Ya,"AbiCoder",{enumerable:!0,get:function(){return yxe.AbiCoder}});Object.defineProperty(Ya,"defaultAbiCoder",{enumerable:!0,get:function(){return yxe.defaultAbiCoder}});var xI=bxe();Object.defineProperty(Ya,"checkResultErrors",{enumerable:!0,get:function(){return xI.checkResultErrors}});Object.defineProperty(Ya,"Indexed",{enumerable:!0,get:function(){return xI.Indexed}});Object.defineProperty(Ya,"Interface",{enumerable:!0,get:function(){return xI.Interface}});Object.defineProperty(Ya,"LogDescription",{enumerable:!0,get:function(){return xI.LogDescription}});Object.defineProperty(Ya,"TransactionDescription",{enumerable:!0,get:function(){return xI.TransactionDescription}})});var gxe=D(IN=>{"use strict";u();p();Object.defineProperty(IN,"__esModule",{value:!0});IN.version=void 0;IN.version="abstract-provider/5.7.0"});var C3=D(ms=>{"use strict";u();p();var SN=ms&&ms.__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)}}(),OF0=ms&&ms.__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())})},UF0=ms&&ms.__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(MN,"__esModule",{value:!0});MN.version=void 0;MN.version="abstract-signer/5.7.0"});var i8=D(E5=>{"use strict";u();p();var QF0=E5&&E5.__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)}}(),el=E5&&E5.__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())})},tl=E5&&E5.__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 x5.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",f8.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]&&x5.throwArgumentError("chainId address mismatch","transaction",e),o[0]}),[4,(0,I3.resolveProperties)(n)];case 6:return[2,s.sent()]}})})},t.prototype._checkProvider=function(e){this.provider||x5.throwError("missing provider",f8.Logger.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})},t.isSigner=function(e){return!!(e&&e._isSigner)},t}();E5.Signer=wxe;var JF0=function(t){QF0(e,t);function e(n,a){var r=t.call(this)||this;return(0,I3.defineReadOnly)(r,"address",n),(0,I3.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(){x5.throwError(n,f8.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}(wxe);E5.VoidSigner=JF0});var Txe=D((PUn,XF0)=>{XF0.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((xxe,pte)=>{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=Qf().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 b=0;T[0]==="-"&&(b++,this.negative=1),b=0;b-=3)P=T[b]|T[b-1]<<8|T[b-2]<<16,this.words[A]|=P<>>26-L&67108863,L+=24,L>=26&&(L-=26,A++);else if(w==="le")for(b=0,A=0;b>>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 b=0;b=N;b-=2)L=s(T,N,b)<=18?(A-=18,P+=1,this.words[P]|=L>>>26):A+=8;else{var E=T.length-N;for(b=E%2===0?N+1:N;b=18?(A-=18,P+=1,this.words[P]|=L>>>26):A+=8}this.strip()};function o(R,T,N,w){for(var b=0,A=Math.min(R.length,N),P=T;P=49?b+=L-49+10:L>=17?b+=L-17+10:b+=L}return b}r.prototype._parseBase=function(T,N,w){this.words=[0],this.length=1;for(var b=0,A=1;A<=67108863;A*=N)b++;b--,A=A/N|0;for(var P=T.length-w,L=P%b,E=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 b=0,A=0,P=0;P>>24-b&16777215,A!==0||P!==this.length-1?w=c[6-E.length]+E+w:w=E+w,b+=2,b>=26&&(b-=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 b=this.byteLength(),A=w||Math.max(1,b);n(b<=A,"byte array longer than desired length"),n(A>0,"Requested array length <= 0"),this.strip();var P=N==="le",L=new T(A),E,g,B=this.clone();if(P){for(g=0;!B.isZero();g++)E=B.andln(255),B.iushrn(8),L[g]=E;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>>b}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 b=0;bT.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 b=0;b0&&(this.words[b]=~this.words[b]&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,b=T%26;return this._expand(w+1),N?this.words[w]=this.words[w]|1<T.length?(w=this,b=T):(w=T,b=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 b,A;w>0?(b=this,A=T):(b=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=E&67108863,S=Math.min(g,T.length-1),q=Math.max(0,g-R.length+1);q<=S;q++){var ee=g-q|0;b=R.words[ee]|0,A=T.words[q]|0,P=b*A+M,B+=P/67108864|0,M=P&67108863}N.words[g]=M|0,E=B|0}return E!==0?N.words[g]=E|0:N.length--,N.strip()}var v=function(T,N,w){var b=T.words,A=N.words,P=w.words,L=0,E,g,B,M=b[0]|0,S=M&8191,q=M>>>13,ee=b[1]|0,U=ee&8191,J=ee>>>13,Z=b[2]|0,ne=Z&8191,ue=Z>>>13,Y=b[3]|0,re=Y&8191,ie=Y>>>13,ge=b[4]|0,de=ge&8191,Ae=ge>>>13,Ge=b[5]|0,Be=Ge&8191,c0=Ge>>>13,Ye=b[6]|0,He=Ye&8191,_0=Ye>>>13,L0=b[7]|0,Ze=L0&8191,I0=L0>>>13,pe=b[8]|0,he=pe&8191,Te=pe>>>13,Ce=b[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,me=w0>>>13,ye=A[2]|0,_e=ye&8191,ze=ye>>>13,je=A[3]|0,Ue=je&8191,m0=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,K0=A[7]|0,s0=K0&8191,J0=K0>>>13,Y0=A[8]|0,l0=Y0&8191,Q0=Y0>>>13,et=A[9]|0,p0=et&8191,Z0=et>>>13;w.negative=T.negative^N.negative,w.length=19,E=Math.imul(S,qe),g=Math.imul(S,v0),g=g+Math.imul(q,qe)|0,B=Math.imul(q,v0);var Et=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Et>>>26)|0,Et&=67108863,E=Math.imul(U,qe),g=Math.imul(U,v0),g=g+Math.imul(J,qe)|0,B=Math.imul(J,v0),E=E+Math.imul(S,Ve)|0,g=g+Math.imul(S,me)|0,g=g+Math.imul(q,Ve)|0,B=B+Math.imul(q,me)|0;var $0=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+($0>>>26)|0,$0&=67108863,E=Math.imul(ne,qe),g=Math.imul(ne,v0),g=g+Math.imul(ue,qe)|0,B=Math.imul(ue,v0),E=E+Math.imul(U,Ve)|0,g=g+Math.imul(U,me)|0,g=g+Math.imul(J,Ve)|0,B=B+Math.imul(J,me)|0,E=E+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+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,E=Math.imul(re,qe),g=Math.imul(re,v0),g=g+Math.imul(ie,qe)|0,B=Math.imul(ie,v0),E=E+Math.imul(ne,Ve)|0,g=g+Math.imul(ne,me)|0,g=g+Math.imul(ue,Ve)|0,B=B+Math.imul(ue,me)|0,E=E+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,E=E+Math.imul(S,Ue)|0,g=g+Math.imul(S,m0)|0,g=g+Math.imul(q,Ue)|0,B=B+Math.imul(q,m0)|0;var Pn=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,E=Math.imul(de,qe),g=Math.imul(de,v0),g=g+Math.imul(Ae,qe)|0,B=Math.imul(Ae,v0),E=E+Math.imul(re,Ve)|0,g=g+Math.imul(re,me)|0,g=g+Math.imul(ie,Ve)|0,B=B+Math.imul(ie,me)|0,E=E+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,E=E+Math.imul(U,Ue)|0,g=g+Math.imul(U,m0)|0,g=g+Math.imul(J,Ue)|0,B=B+Math.imul(J,m0)|0,E=E+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+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,E=Math.imul(Be,qe),g=Math.imul(Be,v0),g=g+Math.imul(c0,qe)|0,B=Math.imul(c0,v0),E=E+Math.imul(de,Ve)|0,g=g+Math.imul(de,me)|0,g=g+Math.imul(Ae,Ve)|0,B=B+Math.imul(Ae,me)|0,E=E+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,E=E+Math.imul(ne,Ue)|0,g=g+Math.imul(ne,m0)|0,g=g+Math.imul(ue,Ue)|0,B=B+Math.imul(ue,m0)|0,E=E+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,E=E+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+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,E=Math.imul(He,qe),g=Math.imul(He,v0),g=g+Math.imul(_0,qe)|0,B=Math.imul(_0,v0),E=E+Math.imul(Be,Ve)|0,g=g+Math.imul(Be,me)|0,g=g+Math.imul(c0,Ve)|0,B=B+Math.imul(c0,me)|0,E=E+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,E=E+Math.imul(re,Ue)|0,g=g+Math.imul(re,m0)|0,g=g+Math.imul(ie,Ue)|0,B=B+Math.imul(ie,m0)|0,E=E+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,E=E+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,E=E+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+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Nn>>>26)|0,Nn&=67108863,E=Math.imul(Ze,qe),g=Math.imul(Ze,v0),g=g+Math.imul(I0,qe)|0,B=Math.imul(I0,v0),E=E+Math.imul(He,Ve)|0,g=g+Math.imul(He,me)|0,g=g+Math.imul(_0,Ve)|0,B=B+Math.imul(_0,me)|0,E=E+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,E=E+Math.imul(de,Ue)|0,g=g+Math.imul(de,m0)|0,g=g+Math.imul(Ae,Ue)|0,B=B+Math.imul(Ae,m0)|0,E=E+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,E=E+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,E=E+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,E=E+Math.imul(S,s0)|0,g=g+Math.imul(S,J0)|0,g=g+Math.imul(q,s0)|0,B=B+Math.imul(q,J0)|0;var On=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(On>>>26)|0,On&=67108863,E=Math.imul(he,qe),g=Math.imul(he,v0),g=g+Math.imul(Te,qe)|0,B=Math.imul(Te,v0),E=E+Math.imul(Ze,Ve)|0,g=g+Math.imul(Ze,me)|0,g=g+Math.imul(I0,Ve)|0,B=B+Math.imul(I0,me)|0,E=E+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,E=E+Math.imul(Be,Ue)|0,g=g+Math.imul(Be,m0)|0,g=g+Math.imul(c0,Ue)|0,B=B+Math.imul(c0,m0)|0,E=E+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,E=E+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,E=E+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,E=E+Math.imul(U,s0)|0,g=g+Math.imul(U,J0)|0,g=g+Math.imul(J,s0)|0,B=B+Math.imul(J,J0)|0,E=E+Math.imul(S,l0)|0,g=g+Math.imul(S,Q0)|0,g=g+Math.imul(q,l0)|0,B=B+Math.imul(q,Q0)|0;var Ha=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Ha>>>26)|0,Ha&=67108863,E=Math.imul(Se,qe),g=Math.imul(Se,v0),g=g+Math.imul(Qe,qe)|0,B=Math.imul(Qe,v0),E=E+Math.imul(he,Ve)|0,g=g+Math.imul(he,me)|0,g=g+Math.imul(Te,Ve)|0,B=B+Math.imul(Te,me)|0,E=E+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,E=E+Math.imul(He,Ue)|0,g=g+Math.imul(He,m0)|0,g=g+Math.imul(_0,Ue)|0,B=B+Math.imul(_0,m0)|0,E=E+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,E=E+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,E=E+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,E=E+Math.imul(ne,s0)|0,g=g+Math.imul(ne,J0)|0,g=g+Math.imul(ue,s0)|0,B=B+Math.imul(ue,J0)|0,E=E+Math.imul(U,l0)|0,g=g+Math.imul(U,Q0)|0,g=g+Math.imul(J,l0)|0,B=B+Math.imul(J,Q0)|0,E=E+Math.imul(S,p0)|0,g=g+Math.imul(S,Z0)|0,g=g+Math.imul(q,p0)|0,B=B+Math.imul(q,Z0)|0;var pr=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(pr>>>26)|0,pr&=67108863,E=Math.imul(Se,Ve),g=Math.imul(Se,me),g=g+Math.imul(Qe,Ve)|0,B=Math.imul(Qe,me),E=E+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,E=E+Math.imul(Ze,Ue)|0,g=g+Math.imul(Ze,m0)|0,g=g+Math.imul(I0,Ue)|0,B=B+Math.imul(I0,m0)|0,E=E+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,E=E+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,E=E+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,E=E+Math.imul(re,s0)|0,g=g+Math.imul(re,J0)|0,g=g+Math.imul(ie,s0)|0,B=B+Math.imul(ie,J0)|0,E=E+Math.imul(ne,l0)|0,g=g+Math.imul(ne,Q0)|0,g=g+Math.imul(ue,l0)|0,B=B+Math.imul(ue,Q0)|0,E=E+Math.imul(U,p0)|0,g=g+Math.imul(U,Z0)|0,g=g+Math.imul(J,p0)|0,B=B+Math.imul(J,Z0)|0;var za=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(za>>>26)|0,za&=67108863,E=Math.imul(Se,_e),g=Math.imul(Se,ze),g=g+Math.imul(Qe,_e)|0,B=Math.imul(Qe,ze),E=E+Math.imul(he,Ue)|0,g=g+Math.imul(he,m0)|0,g=g+Math.imul(Te,Ue)|0,B=B+Math.imul(Te,m0)|0,E=E+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,E=E+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,E=E+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,E=E+Math.imul(de,s0)|0,g=g+Math.imul(de,J0)|0,g=g+Math.imul(Ae,s0)|0,B=B+Math.imul(Ae,J0)|0,E=E+Math.imul(re,l0)|0,g=g+Math.imul(re,Q0)|0,g=g+Math.imul(ie,l0)|0,B=B+Math.imul(ie,Q0)|0,E=E+Math.imul(ne,p0)|0,g=g+Math.imul(ne,Z0)|0,g=g+Math.imul(ue,p0)|0,B=B+Math.imul(ue,Z0)|0;var hr=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(hr>>>26)|0,hr&=67108863,E=Math.imul(Se,Ue),g=Math.imul(Se,m0),g=g+Math.imul(Qe,Ue)|0,B=Math.imul(Qe,m0),E=E+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,E=E+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,E=E+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,E=E+Math.imul(Be,s0)|0,g=g+Math.imul(Be,J0)|0,g=g+Math.imul(c0,s0)|0,B=B+Math.imul(c0,J0)|0,E=E+Math.imul(de,l0)|0,g=g+Math.imul(de,Q0)|0,g=g+Math.imul(Ae,l0)|0,B=B+Math.imul(Ae,Q0)|0,E=E+Math.imul(re,p0)|0,g=g+Math.imul(re,Z0)|0,g=g+Math.imul(ie,p0)|0,B=B+Math.imul(ie,Z0)|0;var ar=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(ar>>>26)|0,ar&=67108863,E=Math.imul(Se,$e),g=Math.imul(Se,M0),g=g+Math.imul(Qe,$e)|0,B=Math.imul(Qe,M0),E=E+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,E=E+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,E=E+Math.imul(He,s0)|0,g=g+Math.imul(He,J0)|0,g=g+Math.imul(_0,s0)|0,B=B+Math.imul(_0,J0)|0,E=E+Math.imul(Be,l0)|0,g=g+Math.imul(Be,Q0)|0,g=g+Math.imul(c0,l0)|0,B=B+Math.imul(c0,Q0)|0,E=E+Math.imul(de,p0)|0,g=g+Math.imul(de,Z0)|0,g=g+Math.imul(Ae,p0)|0,B=B+Math.imul(Ae,Z0)|0;var Cr=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,E=Math.imul(Se,t0),g=Math.imul(Se,j0),g=g+Math.imul(Qe,t0)|0,B=Math.imul(Qe,j0),E=E+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,E=E+Math.imul(Ze,s0)|0,g=g+Math.imul(Ze,J0)|0,g=g+Math.imul(I0,s0)|0,B=B+Math.imul(I0,J0)|0,E=E+Math.imul(He,l0)|0,g=g+Math.imul(He,Q0)|0,g=g+Math.imul(_0,l0)|0,B=B+Math.imul(_0,Q0)|0,E=E+Math.imul(Be,p0)|0,g=g+Math.imul(Be,Z0)|0,g=g+Math.imul(c0,p0)|0,B=B+Math.imul(c0,Z0)|0;var Jr=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Jr>>>26)|0,Jr&=67108863,E=Math.imul(Se,Ke),g=Math.imul(Se,B0),g=g+Math.imul(Qe,Ke)|0,B=Math.imul(Qe,B0),E=E+Math.imul(he,s0)|0,g=g+Math.imul(he,J0)|0,g=g+Math.imul(Te,s0)|0,B=B+Math.imul(Te,J0)|0,E=E+Math.imul(Ze,l0)|0,g=g+Math.imul(Ze,Q0)|0,g=g+Math.imul(I0,l0)|0,B=B+Math.imul(I0,Q0)|0,E=E+Math.imul(He,p0)|0,g=g+Math.imul(He,Z0)|0,g=g+Math.imul(_0,p0)|0,B=B+Math.imul(_0,Z0)|0;var rr=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(rr>>>26)|0,rr&=67108863,E=Math.imul(Se,s0),g=Math.imul(Se,J0),g=g+Math.imul(Qe,s0)|0,B=Math.imul(Qe,J0),E=E+Math.imul(he,l0)|0,g=g+Math.imul(he,Q0)|0,g=g+Math.imul(Te,l0)|0,B=B+Math.imul(Te,Q0)|0,E=E+Math.imul(Ze,p0)|0,g=g+Math.imul(Ze,Z0)|0,g=g+Math.imul(I0,p0)|0,B=B+Math.imul(I0,Z0)|0;var cf=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(cf>>>26)|0,cf&=67108863,E=Math.imul(Se,l0),g=Math.imul(Se,Q0),g=g+Math.imul(Qe,l0)|0,B=Math.imul(Qe,Q0),E=E+Math.imul(he,p0)|0,g=g+Math.imul(he,Z0)|0,g=g+Math.imul(Te,p0)|0,B=B+Math.imul(Te,Z0)|0;var Gf=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Gf>>>26)|0,Gf&=67108863,E=Math.imul(Se,p0),g=Math.imul(Se,Z0),g=g+Math.imul(Qe,p0)|0,B=Math.imul(Qe,Z0);var Qs=(L+E|0)+((g&8191)<<13)|0;return L=(B+(g>>>13)|0)+(Qs>>>26)|0,Qs&=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]=cf,P[17]=Gf,P[18]=Qs,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,b=0,A=0;A>>26)|0,b+=P>>>26,P&=67108863}N.words[A]=L,w=P,P=b}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,b=this.length+T.length;return this.length===10&&T.length===10?w=v(this,T,N):b<63?w=y(this,T,N):b<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,b=0;b>=1;return b},F.prototype.permute=function(T,N,w,b,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+=b/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,b=0;b=0);var N=T%26,w=(T-N)/26,b=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 b;N?b=(N-N%26)/26:b=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>=b);g--){var M=this.words[g]|0;this.words[g]=B<<26-A|M>>>A,B=M&L}return E&&B!==0&&(E.words[E.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,b=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 b=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)-(E/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,b=this.clone(),A=T,P=A.words[A.length-1]|0,L=this._countBits(P);w=26-L,w!==0&&(A=A.ushln(w),b.iushln(w),P=A.words[A.length-1]|0);var E=b.length-A.length,g;if(N!=="mod"){g=new r(null),g.length=E+1,g.words=new Array(g.length);for(var B=0;B=0;S--){var q=(b.words[A.length+S]|0)*67108864+(b.words[A.length+S-1]|0);for(q=Math.min(q/P|0,67108863),b._ishlnsubmul(A,q,S);b.negative!==0;)q--,b.negative=0,b._ishlnsubmul(A,1,S),b.isZero()||(b.negative^=1);g&&(g.words[S]=q)}return g&&g.strip(),b.strip(),N!=="div"&&w!==0&&b.iushrn(w),{div:g||null,mod:b}},r.prototype.divmod=function(T,N,w){if(n(!T.isZero()),this.isZero())return{div:new r(0),mod:new r(0)};var b,A,P;return this.negative!==0&&T.negative===0?(P=this.neg().divmod(T,N),N!=="mod"&&(b=P.div.neg()),N!=="div"&&(A=P.mod.neg(),w&&A.negative!==0&&A.iadd(T)),{div:b,mod:A}):this.negative===0&&T.negative!==0?(P=this.divmod(T.neg(),N),N!=="mod"&&(b=P.div.neg()),{div:b,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,b=T.ushrn(1),A=T.andln(1),P=w.cmp(b);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,b=this.length-1;b>=0;b--)w=(N*w+(this.words[b]|0))%T;return w},r.prototype.idivn=function(T){n(T<=67108863);for(var N=0,w=this.length-1;w>=0;w--){var b=(this.words[w]|0)+N*67108864;this.words[w]=b/T|0,N=b%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 b=new r(1),A=new r(0),P=new r(0),L=new r(1),E=0;N.isEven()&&w.isEven();)N.iushrn(1),w.iushrn(1),++E;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;)(b.isOdd()||A.isOdd())&&(b.iadd(g),A.isub(B)),b.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),b.isub(P),A.isub(L)):(w.isub(N),P.isub(b),L.isub(A))}return{a:P,b:L,gcd:w.iushln(E)}},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 b=new r(1),A=new r(0),P=w.clone();N.cmpn(1)>0&&w.cmpn(1)>0;){for(var L=0,E=1;!(N.words[0]&E)&&L<26;++L,E<<=1);if(L>0)for(N.iushrn(L);L-- >0;)b.isOdd()&&b.iadd(P),b.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),b.isub(A)):(w.isub(N),A.isub(b))}var M;return N.cmpn(1)===0?M=b: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 b=0;N.isEven()&&w.isEven();b++)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(b)},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,b=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 b=this.words[0]|0;w=b===T?0:bT.length)return 1;if(this.length=0;w--){var b=this.words[w]|0,A=T.words[w]|0;if(b!==A){bA&&(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 b=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,b=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=b}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 b=this.m.subn(1),A=0;!b.isZero()&&b.andln(1)===0;)A++,b.iushrn(1);n(!b.isZero());var P=new r(1).toRed(this),L=P.redNeg(),E=this.m.subn(1).iushrn(1),g=this.m.bitLength();for(g=new r(2*g*g).toRed(this);this.pow(g,E).cmp(L)!==0;)g.redIAdd(L);for(var B=this.pow(g,b),M=this.pow(T,b.addn(1).iushrn(1)),S=this.pow(T,b),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!==b[0]&&(P=this.sqr(P)),S===0&&L===0){E=0;continue}L<<=1,L|=S,E++,!(E!==w&&(A!==0||M!==0))&&(P=this.mul(P,b[L]),E=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),b=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=w.isub(b).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),b=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=w.isub(b).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 pte>"u"||pte,xxe)});var Mc=D((NUn,_xe)=>{u();p();_xe.exports=Exe;function Exe(t,e){if(!t)throw new Error(e||"Assertion failed")}Exe.equal=function(e,n,a){if(e!=n)throw new Error(a||"Assertion failed: "+e+" != "+n)}});var DN=D(Ixe=>{"use strict";u();p();var BN=Ixe;function ZF0(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}BN.toArray=ZF0;function Axe(t){return t.length===1?"0"+t:t}BN.zero2=Axe;function Cxe(t){for(var e="",n=0;n{"use strict";u();p();var nl=kxe,eN0=kr(),tN0=Mc(),PN=DN();nl.assert=tN0;nl.toArray=PN.toArray;nl.zero2=PN.zero2;nl.toHex=PN.toHex;nl.encode=PN.encode;function nN0(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}nl.getNAF=nN0;function aN0(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}nl.getJSF=aN0;function rN0(t,e,n){var a="_"+e;t.prototype[e]=function(){return this[a]!==void 0?this[a]:this[a]=n.call(this)}}nl.cachedProperty=rN0;function fN0(t){return typeof t=="string"?nl.toArray(t,"hex"):t}nl.parseBytes=fN0;function iN0(t){return new eN0(t,"hex","le")}nl.intFromLE=iN0});var En=D((hte,Rxe)=>{u();p();var LN=Qf(),xu=LN.Buffer;function Sxe(t,e){for(var n in t)e[n]=t[n]}xu.from&&xu.alloc&&xu.allocUnsafe&&xu.allocUnsafeSlow?Rxe.exports=LN:(Sxe(LN,hte),hte.Buffer=By);function By(t,e,n){return xu(t,e,n)}By.prototype=Object.create(xu.prototype);Sxe(xu,By);By.from=function(t,e,n){if(typeof t=="number")throw new TypeError("Argument must not be a number");return xu(t,e,n)};By.alloc=function(t,e,n){if(typeof t!="number")throw new TypeError("Argument must be a number");var a=xu(t);return e!==void 0?typeof n=="string"?a.fill(e,n):a.fill(e):a.fill(0),a};By.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return xu(t)};By.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return LN.SlowBuffer(t)}});var s8=D((VUn,bte)=>{"use strict";u();p();var mte=65536,sN0=4294967295;function oN0(){throw new Error(`Secure random number generation is not supported by this browser. +Use Chrome, Firefox or Internet Explorer 11`)}var cN0=En().Buffer,FN=global.crypto||global.msCrypto;FN&&FN.getRandomValues?bte.exports=dN0:bte.exports=oN0;function dN0(t,e){if(t>sN0)throw new RangeError("requested too many random bytes");var n=cN0.allocUnsafe(t);if(t>0)if(t>mte)for(var a=0;a{u();p();typeof Object.create=="function"?yte.exports=function(e,n){n&&(e.super_=n,e.prototype=Object.create(n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:yte.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 Or=D((eHn,gte)=>{"use strict";u();p();var xw=typeof Reflect=="object"?Reflect:null,Mxe=xw&&typeof xw.apply=="function"?xw.apply:function(e,n,a){return Function.prototype.apply.call(e,n,a)},NN;xw&&typeof xw.ownKeys=="function"?NN=xw.ownKeys:Object.getOwnPropertySymbols?NN=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:NN=function(e){return Object.getOwnPropertyNames(e)};function lN0(t){console&&console.warn&&console.warn(t)}var Dxe=Number.isNaN||function(e){return e!==e};function mr(){mr.init.call(this)}gte.exports=mr;gte.exports.once=mN0;mr.EventEmitter=mr;mr.prototype._events=void 0;mr.prototype._eventsCount=0;mr.prototype._maxListeners=void 0;var Bxe=10;function ON(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(mr,"defaultMaxListeners",{enumerable:!0,get:function(){return Bxe},set:function(t){if(typeof t!="number"||t<0||Dxe(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");Bxe=t}});mr.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};mr.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||Dxe(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 Pxe(t){return t._maxListeners===void 0?mr.defaultMaxListeners:t._maxListeners}mr.prototype.getMaxListeners=function(){return Pxe(this)};mr.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")Mxe(o,this,n);else for(var c=o.length,d=Uxe(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,lN0(s)}return t}mr.prototype.addListener=function(e,n){return Lxe(this,e,n,!1)};mr.prototype.on=mr.prototype.addListener;mr.prototype.prependListener=function(e,n){return Lxe(this,e,n,!0)};function uN0(){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 Fxe(t,e,n){var a={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},r=uN0.bind(a);return r.listener=n,a.wrapFn=r,r}mr.prototype.once=function(e,n){return ON(n),this.on(e,Fxe(this,e,n)),this};mr.prototype.prependOnceListener=function(e,n){return ON(n),this.prependListener(e,Fxe(this,e,n)),this};mr.prototype.removeListener=function(e,n){var a,r,f,i,s;if(ON(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():pN0(a,f),a.length===1&&(r[e]=a[0]),r.removeListener!==void 0&&this.emit("removeListener",e,s||n)}return this};mr.prototype.off=mr.prototype.removeListener;mr.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 Nxe(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?hN0(r):Uxe(r,r.length)}mr.prototype.listeners=function(e){return Nxe(this,e,!0)};mr.prototype.rawListeners=function(e){return Nxe(this,e,!1)};mr.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):Oxe.call(t,e)};mr.prototype.listenerCount=Oxe;function Oxe(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}mr.prototype.eventNames=function(){return this._eventsCount>0?NN(this._events):[]};function Uxe(t,e){for(var n=new Array(e),a=0;a{u();p();zxe.exports=Or().EventEmitter});var UN=D((iHn,Wxe)=>{"use strict";u();p();Wxe.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 HN=D((cHn,qxe)=>{"use strict";u();p();var yN0=UN();qxe.exports=function(){return yN0()&&!!Symbol.toStringTag}});var Gxe=D((uHn,jxe)=>{"use strict";u();p();jxe.exports=Error});var Qxe=D((mHn,Kxe)=>{"use strict";u();p();Kxe.exports=EvalError});var Yxe=D((gHn,Vxe)=>{"use strict";u();p();Vxe.exports=RangeError});var Jxe=D((THn,$xe)=>{"use strict";u();p();$xe.exports=ReferenceError});var wte=D((_Hn,Xxe)=>{"use strict";u();p();Xxe.exports=SyntaxError});var _I=D((IHn,Zxe)=>{"use strict";u();p();Zxe.exports=TypeError});var tEe=D((RHn,eEe)=>{"use strict";u();p();eEe.exports=URIError});var rEe=D((DHn,aEe)=>{"use strict";u();p();var nEe=typeof Symbol<"u"&&Symbol,gN0=UN();aEe.exports=function(){return typeof nEe!="function"||typeof Symbol!="function"||typeof nEe("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:gN0()}});var iEe=D((FHn,fEe)=>{"use strict";u();p();var Tte={__proto__:null,foo:{}},vN0=Object;fEe.exports=function(){return{__proto__:Tte}.foo===Tte.foo&&!(Tte instanceof vN0)}});var cEe=D((UHn,oEe)=>{"use strict";u();p();var wN0="Function.prototype.bind called on incompatible ",TN0=Object.prototype.toString,xN0=Math.max,EN0="[object Function]",sEe=function(e,n){for(var a=[],r=0;r{"use strict";u();p();var CN0=cEe();dEe.exports=Function.prototype.bind||CN0});var uEe=D((GHn,lEe)=>{"use strict";u();p();var IN0=Function.prototype.call,kN0=Object.prototype.hasOwnProperty,SN0=zN();lEe.exports=SN0.call(IN0,kN0)});var Iw=D((VHn,yEe)=>{"use strict";u();p();var Zn,RN0=Gxe(),MN0=Qxe(),BN0=Yxe(),DN0=Jxe(),Cw=wte(),Aw=_I(),PN0=tEe(),bEe=Function,xte=function(t){try{return bEe('"use strict"; return ('+t+").constructor;")()}catch{}},Dy=Object.getOwnPropertyDescriptor;if(Dy)try{Dy({},"")}catch{Dy=null}var Ete=function(){throw new Aw},LN0=Dy?function(){try{return arguments.callee,Ete}catch{try{return Dy(arguments,"callee").get}catch{return Ete}}}():Ete,Ew=rEe()(),FN0=iEe()(),bs=Object.getPrototypeOf||(FN0?function(t){return t.__proto__}:null),_w={},NN0=typeof Uint8Array>"u"||!bs?Zn:bs(Uint8Array),Py={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Zn:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Zn:ArrayBuffer,"%ArrayIteratorPrototype%":Ew&&bs?bs([][Symbol.iterator]()):Zn,"%AsyncFromSyncIteratorPrototype%":Zn,"%AsyncFunction%":_w,"%AsyncGenerator%":_w,"%AsyncGeneratorFunction%":_w,"%AsyncIteratorPrototype%":_w,"%Atomics%":typeof Atomics>"u"?Zn:Atomics,"%BigInt%":typeof BigInt>"u"?Zn:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Zn:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Zn:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Zn:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":RN0,"%eval%":eval,"%EvalError%":MN0,"%Float32Array%":typeof Float32Array>"u"?Zn:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Zn:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Zn:FinalizationRegistry,"%Function%":bEe,"%GeneratorFunction%":_w,"%Int8Array%":typeof Int8Array>"u"?Zn:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Zn:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Zn:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ew&&bs?bs(bs([][Symbol.iterator]())):Zn,"%JSON%":typeof JSON=="object"?JSON:Zn,"%Map%":typeof Map>"u"?Zn:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Ew||!bs?Zn:bs(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Zn:Promise,"%Proxy%":typeof Proxy>"u"?Zn:Proxy,"%RangeError%":BN0,"%ReferenceError%":DN0,"%Reflect%":typeof Reflect>"u"?Zn:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Zn:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Ew||!bs?Zn:bs(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Zn:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ew&&bs?bs(""[Symbol.iterator]()):Zn,"%Symbol%":Ew?Symbol:Zn,"%SyntaxError%":Cw,"%ThrowTypeError%":LN0,"%TypedArray%":NN0,"%TypeError%":Aw,"%Uint8Array%":typeof Uint8Array>"u"?Zn:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Zn:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Zn:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Zn:Uint32Array,"%URIError%":PN0,"%WeakMap%":typeof WeakMap>"u"?Zn:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Zn:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Zn:WeakSet};if(bs)try{null.error}catch(t){pEe=bs(bs(t)),Py["%Error.prototype%"]=pEe}var pEe,ON0=function t(e){var n;if(e==="%AsyncFunction%")n=xte("async function () {}");else if(e==="%GeneratorFunction%")n=xte("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=xte("async function* () {}");else if(e==="%AsyncGenerator%"){var a=t("%AsyncGeneratorFunction%");a&&(n=a.prototype)}else if(e==="%AsyncIteratorPrototype%"){var r=t("%AsyncGenerator%");r&&bs&&(n=bs(r.prototype))}return Py[e]=n,n},hEe={__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"]},AI=zN(),WN=uEe(),UN0=AI.call(Function.call,Array.prototype.concat),HN0=AI.call(Function.apply,Array.prototype.splice),mEe=AI.call(Function.call,String.prototype.replace),qN=AI.call(Function.call,String.prototype.slice),zN0=AI.call(Function.call,RegExp.prototype.exec),WN0=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,qN0=/\\(\\)?/g,jN0=function(e){var n=qN(e,0,1),a=qN(e,-1);if(n==="%"&&a!=="%")throw new Cw("invalid intrinsic syntax, expected closing `%`");if(a==="%"&&n!=="%")throw new Cw("invalid intrinsic syntax, expected opening `%`");var r=[];return mEe(e,WN0,function(f,i,s,o){r[r.length]=s?mEe(o,qN0,"$1"):i||f}),r},GN0=function(e,n){var a=e,r;if(WN(hEe,a)&&(r=hEe[a],a="%"+r[0]+"%"),WN(Py,a)){var f=Py[a];if(f===_w&&(f=ON0(a)),typeof f>"u"&&!n)throw new Aw("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:a,value:f}}throw new Cw("intrinsic "+e+" does not exist!")};yEe.exports=function(e,n){if(typeof e!="string"||e.length===0)throw new Aw("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Aw('"allowMissing" argument must be a boolean');if(zN0(/^%?[^%]*%?$/,e)===null)throw new Cw("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=jN0(e),r=a.length>0?a[0]:"",f=GN0("%"+r+"%",n),i=f.name,s=f.value,o=!1,c=f.alias;c&&(r=c[0],HN0(a,UN0([0,1],c)));for(var d=1,l=!0;d=a.length){var k=Dy(s,h);l=!!k,l&&"get"in k&&!("originalValue"in k.get)?s=k.get:s=s[h]}else l=WN(s,h),s=s[h];l&&!o&&(Py[i]=s)}}return s}});var GN=D((JHn,gEe)=>{"use strict";u();p();var KN0=Iw(),jN=KN0("%Object.defineProperty%",!0)||!1;if(jN)try{jN({},"a",{value:1})}catch{jN=!1}gEe.exports=jN});var QN=D((ezn,vEe)=>{"use strict";u();p();var QN0=Iw(),KN=QN0("%Object.getOwnPropertyDescriptor%",!0);if(KN)try{KN([],"length")}catch{KN=null}vEe.exports=KN});var _te=D((azn,xEe)=>{"use strict";u();p();var wEe=GN(),VN0=wte(),kw=_I(),TEe=QN();xEe.exports=function(e,n,a){if(!e||typeof e!="object"&&typeof e!="function")throw new kw("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new kw("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new kw("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new kw("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new kw("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new kw("`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=!!TEe&&TEe(e,n);if(wEe)wEe(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 VN0("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Cte=D((izn,_Ee)=>{"use strict";u();p();var Ate=GN(),EEe=function(){return!!Ate};EEe.hasArrayLengthDefineBug=function(){if(!Ate)return null;try{return Ate([],"length",{value:1}).length!==1}catch{return!0}};_Ee.exports=EEe});var SEe=D((czn,kEe)=>{"use strict";u();p();var YN0=Iw(),AEe=_te(),$N0=Cte()(),CEe=QN(),IEe=_I(),JN0=YN0("%Math.floor%");kEe.exports=function(e,n){if(typeof e!="function")throw new IEe("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||JN0(n)!==n)throw new IEe("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],r=!0,f=!0;if("length"in e&&CEe){var i=CEe(e,"length");i&&!i.configurable&&(r=!1),i&&!i.writable&&(f=!1)}return(r||f||!a)&&($N0?AEe(e,"length",n,!0,!0):AEe(e,"length",n)),e}});var CI=D((uzn,VN)=>{"use strict";u();p();var Ite=zN(),YN=Iw(),XN0=SEe(),ZN0=_I(),BEe=YN("%Function.prototype.apply%"),DEe=YN("%Function.prototype.call%"),PEe=YN("%Reflect.apply%",!0)||Ite.call(DEe,BEe),REe=GN(),eO0=YN("%Math.max%");VN.exports=function(e){if(typeof e!="function")throw new ZN0("a function is required");var n=PEe(Ite,DEe,arguments);return XN0(n,1+eO0(0,e.length-(arguments.length-1)),!0)};var MEe=function(){return PEe(Ite,BEe,arguments)};REe?REe(VN.exports,"apply",{value:MEe}):VN.exports.apply=MEe});var II=D((mzn,NEe)=>{"use strict";u();p();var LEe=Iw(),FEe=CI(),tO0=FEe(LEe("String.prototype.indexOf"));NEe.exports=function(e,n){var a=LEe(e,!!n);return typeof a=="function"&&tO0(e,".prototype.")>-1?FEe(a):a}});var HEe=D((gzn,UEe)=>{"use strict";u();p();var nO0=HN()(),aO0=II(),kte=aO0("Object.prototype.toString"),$N=function(e){return nO0&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:kte(e)==="[object Arguments]"},OEe=function(e){return $N(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&kte(e)!=="[object Array]"&&kte(e.callee)==="[object Function]"},rO0=function(){return $N(arguments)}();$N.isLegacyArguments=OEe;UEe.exports=rO0?$N:OEe});var qEe=D((Tzn,WEe)=>{"use strict";u();p();var fO0=Object.prototype.toString,iO0=Function.prototype.toString,sO0=/^\s*(?:function)?\*/,zEe=HN()(),Ste=Object.getPrototypeOf,oO0=function(){if(!zEe)return!1;try{return Function("return function*() {}")()}catch{}},Rte;WEe.exports=function(e){if(typeof e!="function")return!1;if(sO0.test(iO0.call(e)))return!0;if(!zEe){var n=fO0.call(e);return n==="[object GeneratorFunction]"}if(!Ste)return!1;if(typeof Rte>"u"){var a=oO0();Rte=a?Ste(a):!1}return Ste(e)===Rte}});var QEe=D((_zn,KEe)=>{"use strict";u();p();var GEe=Function.prototype.toString,Sw=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Bte,JN;if(typeof Sw=="function"&&typeof Object.defineProperty=="function")try{Bte=Object.defineProperty({},"length",{get:function(){throw JN}}),JN={},Sw(function(){throw 42},null,Bte)}catch(t){t!==JN&&(Sw=null)}else Sw=null;var cO0=/^\s*class\b/,Dte=function(e){try{var n=GEe.call(e);return cO0.test(n)}catch{return!1}},Mte=function(e){try{return Dte(e)?!1:(GEe.call(e),!0)}catch{return!1}},XN=Object.prototype.toString,dO0="[object Object]",lO0="[object Function]",uO0="[object GeneratorFunction]",pO0="[object HTMLAllCollection]",hO0="[object HTML document.all class]",mO0="[object HTMLCollection]",bO0=typeof Symbol=="function"&&!!Symbol.toStringTag,yO0=!(0 in[,]),Pte=function(){return!1};typeof document=="object"&&(jEe=document.all,XN.call(jEe)===XN.call(document.all)&&(Pte=function(e){if((yO0||!e)&&(typeof e>"u"||typeof e=="object"))try{var n=XN.call(e);return(n===pO0||n===hO0||n===mO0||n===dO0)&&e("")==null}catch{}return!1}));var jEe;KEe.exports=Sw?function(e){if(Pte(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{Sw(e,null,Bte)}catch(n){if(n!==JN)return!1}return!Dte(e)&&Mte(e)}:function(e){if(Pte(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(bO0)return Mte(e);if(Dte(e))return!1;var n=XN.call(e);return n!==lO0&&n!==uO0&&!/^\[object HTML/.test(n)?!1:Mte(e)}});var $Ee=D((Izn,YEe)=>{"use strict";u();p();var gO0=QEe(),vO0=Object.prototype.toString,VEe=Object.prototype.hasOwnProperty,wO0=function(e,n,a){for(var r=0,f=e.length;r=3&&(r=a),vO0.call(e)==="[object Array]"?wO0(e,n,r):typeof e=="string"?TO0(e,n,r):xO0(e,n,r)};YEe.exports=EO0});var XEe=D((Rzn,JEe)=>{"use strict";u();p();JEe.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]});var e_e=D((Dzn,ZEe)=>{"use strict";u();p();var Lte=XEe(),_O0=typeof globalThis>"u"?global:globalThis;ZEe.exports=function(){for(var e=[],n=0;n{"use strict";u();p();var eO=$Ee(),AO0=e_e(),t_e=CI(),Ote=II(),ZN=QN(),CO0=Ote("Object.prototype.toString"),a_e=HN()(),n_e=typeof globalThis>"u"?global:globalThis,Nte=AO0(),Ute=Ote("String.prototype.slice"),Fte=Object.getPrototypeOf,IO0=Ote("Array.prototype.indexOf",!0)||function(e,n){for(var a=0;a-1?n:n!=="Object"?!1:SO0(e)}return ZN?kO0(e):null}});var i_e=D((Uzn,f_e)=>{"use strict";u();p();var RO0=Hte();f_e.exports=function(e){return!!RO0(e)}});var w_e=D(Qn=>{"use strict";u();p();var MO0=HEe(),BO0=qEe(),al=Hte(),s_e=i_e();function Rw(t){return t.call.bind(t)}var o_e=typeof BigInt<"u",c_e=typeof Symbol<"u",_5=Rw(Object.prototype.toString),DO0=Rw(Number.prototype.valueOf),PO0=Rw(String.prototype.valueOf),LO0=Rw(Boolean.prototype.valueOf);o_e&&(d_e=Rw(BigInt.prototype.valueOf));var d_e;c_e&&(l_e=Rw(Symbol.prototype.valueOf));var l_e;function SI(t,e){if(typeof t!="object")return!1;try{return e(t),!0}catch{return!1}}Qn.isArgumentsObject=MO0;Qn.isGeneratorFunction=BO0;Qn.isTypedArray=s_e;function FO0(t){return typeof Promise<"u"&&t instanceof Promise||t!==null&&typeof t=="object"&&typeof t.then=="function"&&typeof t.catch=="function"}Qn.isPromise=FO0;function NO0(t){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(t):s_e(t)||p_e(t)}Qn.isArrayBufferView=NO0;function OO0(t){return al(t)==="Uint8Array"}Qn.isUint8Array=OO0;function UO0(t){return al(t)==="Uint8ClampedArray"}Qn.isUint8ClampedArray=UO0;function HO0(t){return al(t)==="Uint16Array"}Qn.isUint16Array=HO0;function zO0(t){return al(t)==="Uint32Array"}Qn.isUint32Array=zO0;function WO0(t){return al(t)==="Int8Array"}Qn.isInt8Array=WO0;function qO0(t){return al(t)==="Int16Array"}Qn.isInt16Array=qO0;function jO0(t){return al(t)==="Int32Array"}Qn.isInt32Array=jO0;function GO0(t){return al(t)==="Float32Array"}Qn.isFloat32Array=GO0;function KO0(t){return al(t)==="Float64Array"}Qn.isFloat64Array=KO0;function QO0(t){return al(t)==="BigInt64Array"}Qn.isBigInt64Array=QO0;function VO0(t){return al(t)==="BigUint64Array"}Qn.isBigUint64Array=VO0;function nO(t){return _5(t)==="[object Map]"}nO.working=typeof Map<"u"&&nO(new Map);function YO0(t){return typeof Map>"u"?!1:nO.working?nO(t):t instanceof Map}Qn.isMap=YO0;function aO(t){return _5(t)==="[object Set]"}aO.working=typeof Set<"u"&&aO(new Set);function $O0(t){return typeof Set>"u"?!1:aO.working?aO(t):t instanceof Set}Qn.isSet=$O0;function rO(t){return _5(t)==="[object WeakMap]"}rO.working=typeof WeakMap<"u"&&rO(new WeakMap);function JO0(t){return typeof WeakMap>"u"?!1:rO.working?rO(t):t instanceof WeakMap}Qn.isWeakMap=JO0;function Wte(t){return _5(t)==="[object WeakSet]"}Wte.working=typeof WeakSet<"u"&&Wte(new WeakSet);function XO0(t){return Wte(t)}Qn.isWeakSet=XO0;function fO(t){return _5(t)==="[object ArrayBuffer]"}fO.working=typeof ArrayBuffer<"u"&&fO(new ArrayBuffer);function u_e(t){return typeof ArrayBuffer>"u"?!1:fO.working?fO(t):t instanceof ArrayBuffer}Qn.isArrayBuffer=u_e;function iO(t){return _5(t)==="[object DataView]"}iO.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&iO(new DataView(new ArrayBuffer(1),0,1));function p_e(t){return typeof DataView>"u"?!1:iO.working?iO(t):t instanceof DataView}Qn.isDataView=p_e;var zte=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function kI(t){return _5(t)==="[object SharedArrayBuffer]"}function h_e(t){return typeof zte>"u"?!1:(typeof kI.working>"u"&&(kI.working=kI(new zte)),kI.working?kI(t):t instanceof zte)}Qn.isSharedArrayBuffer=h_e;function ZO0(t){return _5(t)==="[object AsyncFunction]"}Qn.isAsyncFunction=ZO0;function eU0(t){return _5(t)==="[object Map Iterator]"}Qn.isMapIterator=eU0;function tU0(t){return _5(t)==="[object Set Iterator]"}Qn.isSetIterator=tU0;function nU0(t){return _5(t)==="[object Generator]"}Qn.isGeneratorObject=nU0;function aU0(t){return _5(t)==="[object WebAssembly.Module]"}Qn.isWebAssemblyCompiledModule=aU0;function m_e(t){return SI(t,DO0)}Qn.isNumberObject=m_e;function b_e(t){return SI(t,PO0)}Qn.isStringObject=b_e;function y_e(t){return SI(t,LO0)}Qn.isBooleanObject=y_e;function g_e(t){return o_e&&SI(t,d_e)}Qn.isBigIntObject=g_e;function v_e(t){return c_e&&SI(t,l_e)}Qn.isSymbolObject=v_e;function rU0(t){return m_e(t)||b_e(t)||y_e(t)||g_e(t)||v_e(t)}Qn.isBoxedPrimitive=rU0;function fU0(t){return typeof Uint8Array<"u"&&(u_e(t)||h_e(t))}Qn.isAnyArrayBuffer=fU0;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(Qn,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})})});var x_e=D((Gzn,T_e)=>{u();p();T_e.exports=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}});var rl=D(Vn=>{u();p();var E_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(x.throwDeprecation)throw new Error(e);x.traceDeprecation?console.trace(e):console.error(e),n=!0}return t.apply(this,arguments)}return a};var sO={},__e=/^$/;x.env.NODE_DEBUG&&(oO=x.env.NODE_DEBUG,oO=oO.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),__e=new RegExp("^"+oO+"$","i"));var oO;Vn.debuglog=function(t){if(t=t.toUpperCase(),!sO[t])if(__e.test(t)){var e=x.pid;sO[t]=function(){var n=Vn.format.apply(Vn,arguments);console.error("%s %d: %s",t,e,n)}}else sO[t]=function(){};return sO[t]};function k3(t,e){var n={seen:[],stylize:oU0};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Kte(e)?n.showHidden=e:e&&Vn._extend(n,e),Fy(n.showHidden)&&(n.showHidden=!1),Fy(n.depth)&&(n.depth=2),Fy(n.colors)&&(n.colors=!1),Fy(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=sU0),dO(n,t,n.depth)}Vn.inspect=k3;k3.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]};k3.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function sU0(t,e){var n=k3.styles[e];return n?"\x1B["+k3.colors[n][0]+"m"+t+"\x1B["+k3.colors[n][1]+"m":t}function oU0(t,e){return t}function cU0(t){var e={};return t.forEach(function(n,a){e[n]=!0}),e}function dO(t,e,n){if(t.customInspect&&e&&cO(e.inspect)&&e.inspect!==Vn.inspect&&!(e.constructor&&e.constructor.prototype===e)){var a=e.inspect(n,t);return pO(a)||(a=dO(t,a,n)),a}var r=dU0(t,e);if(r)return r;var f=Object.keys(e),i=cU0(f);if(t.showHidden&&(f=Object.getOwnPropertyNames(e)),MI(e)&&(f.indexOf("message")>=0||f.indexOf("description")>=0))return qte(e);if(f.length===0){if(cO(e)){var s=e.name?": "+e.name:"";return t.stylize("[Function"+s+"]","special")}if(RI(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(lO(e))return t.stylize(Date.prototype.toString.call(e),"date");if(MI(e))return qte(e)}var o="",c=!1,d=["{","}"];if(A_e(e)&&(c=!0,d=["[","]"]),cO(e)){var l=e.name?": "+e.name:"";o=" [Function"+l+"]"}if(RI(e)&&(o=" "+RegExp.prototype.toString.call(e)),lO(e)&&(o=" "+Date.prototype.toUTCString.call(e)),MI(e)&&(o=" "+qte(e)),f.length===0&&(!c||e.length==0))return d[0]+o+d[1];if(n<0)return RI(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var h;return c?h=lU0(t,e,n,i,f):h=f.map(function(y){return Gte(t,e,n,i,y,c)}),t.seen.pop(),uU0(h,o,d)}function dU0(t,e){if(Fy(e))return t.stylize("undefined","undefined");if(pO(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(C_e(e))return t.stylize(""+e,"number");if(Kte(e))return t.stylize(""+e,"boolean");if(uO(e))return t.stylize("null","null")}function qte(t){return"["+Error.prototype.toString.call(t)+"]"}function lU0(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")),Py(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 hU0(t,e,n){var a=0,r=t.reduce(function(f,i){return a++,i.indexOf(` +`))):s=t.stylize("[Circular]","special")),Fy(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 uU0(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=T_e();function C_e(t){return Array.isArray(t)}Vn.isArray=C_e;function Gte(t){return typeof t=="boolean"}Vn.isBoolean=Gte;function uO(t){return t===null}Vn.isNull=uO;function mU0(t){return t==null}Vn.isNullOrUndefined=mU0;function I_e(t){return typeof t=="number"}Vn.isNumber=I_e;function pO(t){return typeof t=="string"}Vn.isString=pO;function bU0(t){return typeof t=="symbol"}Vn.isSymbol=bU0;function Py(t){return t===void 0}Vn.isUndefined=Py;function SI(t){return Sw(t)&&Kte(t)==="[object RegExp]"}Vn.isRegExp=SI;Vn.types.isRegExp=SI;function Sw(t){return typeof t=="object"&&t!==null}Vn.isObject=Sw;function lO(t){return Sw(t)&&Kte(t)==="[object Date]"}Vn.isDate=lO;Vn.types.isDate=lO;function RI(t){return Sw(t)&&(Kte(t)==="[object Error]"||t instanceof Error)}Vn.isError=RI;Vn.types.isNativeError=RI;function cO(t){return typeof t=="function"}Vn.isFunction=cO;function yU0(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}Vn.isPrimitive=yU0;Vn.isBuffer=E_e();function Kte(t){return Object.prototype.toString.call(t)}function qte(t){return t<10?"0"+t.toString(10):t.toString(10)}var gU0=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function vU0(){var t=new Date,e=[qte(t.getHours()),qte(t.getMinutes()),qte(t.getSeconds())].join(":");return[t.getDate(),gU0[t.getMonth()],e].join(" ")}Vn.log=function(){console.log("%s - %s",vU0(),Vn.format.apply(Vn,arguments))};Vn.inherits=Nt();Vn._extend=function(t,e){if(!e||!Sw(e))return t;for(var n=Object.keys(e),a=n.length;a--;)t[n[a]]=e[n[a]];return t};function k_e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Dy=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(Dy&&e[Dy]){var n=e[Dy];if(typeof n!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(n,Dy,{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 S_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 R_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 hO.alloc(0);for(var a=hO.allocUnsafe(n>>>0),r=this.head,f=0;r;)SU0(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=hO.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:kU0,value:function(n,a){return Qte(this,R_e(R_e({},a),{},{depth:0,customInspect:!1}))}}]),t}()});var Yte=D((Jzn,F_e)=>{"use strict";u();p();function RU0(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,x.nextTick(Vte,this,t)):x.nextTick(Vte,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?x.nextTick(mO,n):(n._writableState.errorEmitted=!0,x.nextTick(L_e,n,f)):x.nextTick(L_e,n,f):e?(x.nextTick(mO,n),e(f)):x.nextTick(mO,n)}),this)}function L_e(t,e){Vte(t,e),mO(t)}function mO(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function MU0(){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 Vte(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)}F_e.exports={destroy:RU0,undestroy:MU0,errorOrDestroy:BU0}});var Ly=D((eWn,U_e)=>{"use strict";u();p();function DU0(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var O_e={};function A5(t,e,n){n||(n=Error);function a(f,i,s){return typeof e=="string"?e:e(f,i,s)}var r=function(f){DU0(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,O_e[t]=r}function N_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 PU0(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function LU0(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function FU0(t,e,n){return typeof n!="number"&&(n=0),n+e.length>t.length?!1:t.indexOf(e,n)!==-1}A5("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);A5("ERR_INVALID_ARG_TYPE",function(t,e,n){var a;typeof e=="string"&&PU0(e,"not ")?(a="must not be",e=e.replace(/^not /,"")):a="must be";var r;if(LU0(t," argument"))r="The ".concat(t," ").concat(a," ").concat(N_e(e,"type"));else{var f=FU0(t,".")?"property":"argument";r='The "'.concat(t,'" ').concat(f," ").concat(a," ").concat(N_e(e,"type"))}return r+=". Received type ".concat(typeof n),r},TypeError);A5("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");A5("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"});A5("ERR_STREAM_PREMATURE_CLOSE","Premature close");A5("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"});A5("ERR_MULTIPLE_CALLBACK","Callback called multiple times");A5("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");A5("ERR_STREAM_WRITE_AFTER_END","write after end");A5("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);A5("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError);A5("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");U_e.exports.codes=O_e});var $te=D((aWn,H_e)=>{"use strict";u();p();var NU0=Ly().codes.ERR_INVALID_OPT_VALUE;function OU0(t,e,n){return t.highWaterMark!=null?t.highWaterMark:e?t[n]:null}function UU0(t,e,n,a){var r=OU0(e,a,n);if(r!=null){if(!(isFinite(r)&&Math.floor(r)===r)||r<0){var f=a?n:"highWaterMark";throw new NU0(f,r)}return Math.floor(r)}return t.objectMode?16:16*1024}H_e.exports={getHighWaterMark:UU0}});var Xte=D((iWn,z_e)=>{u();p();z_e.exports=HU0;function HU0(t,e){if(Jte("noDeprecation"))return t;var n=!1;function a(){if(!n){if(Jte("throwDeprecation"))throw new Error(e);Jte("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}return a}function Jte(t){try{if(!global.localStorage)return!1}catch{return!1}var e=global.localStorage[t];return e==null?!1:String(e).toLowerCase()==="true"}});var gO=D((cWn,Q_e)=>{"use strict";u();p();Q_e.exports=$f;function q_e(t){var e=this;this.next=null,this.entry=null,this.finish=function(){pH0(e,t)}}var Rw;$f.WritableState=BI;var zU0={deprecate:Xte()},j_e=gte(),yO=Qf().Buffer,WU0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function qU0(t){return yO.from(t)}function jU0(t){return yO.isBuffer(t)||t instanceof WU0}var ene=Yte(),GU0=$te(),KU0=GU0.getHighWaterMark,S3=Ly().codes,QU0=S3.ERR_INVALID_ARG_TYPE,VU0=S3.ERR_METHOD_NOT_IMPLEMENTED,YU0=S3.ERR_MULTIPLE_CALLBACK,$U0=S3.ERR_STREAM_CANNOT_PIPE,JU0=S3.ERR_STREAM_DESTROYED,XU0=S3.ERR_STREAM_NULL_VALUES,ZU0=S3.ERR_STREAM_WRITE_AFTER_END,eH0=S3.ERR_UNKNOWN_ENCODING,Mw=ene.errorOrDestroy;Nt()($f,j_e);function tH0(){}function BI(t,e,n){Rw=Rw||R3(),t=t||{},typeof n!="boolean"&&(n=e instanceof Rw),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=KU0(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){oH0(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 q_e(this)}BI.prototype.getBuffer=function(){for(var e=this.bufferedRequest,n=[];e;)n.push(e),e=e.next;return n};(function(){try{Object.defineProperty(BI.prototype,"buffer",{get:zU0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var bO;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(bO=Function.prototype[Symbol.hasInstance],Object.defineProperty($f,Symbol.hasInstance,{value:function(e){return bO.call(this,e)?!0:this!==$f?!1:e&&e._writableState instanceof BI}})):bO=function(e){return e instanceof this};function $f(t){Rw=Rw||R3();var e=this instanceof Rw;if(!e&&!bO.call($f,this))return new $f(t);this._writableState=new BI(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)),j_e.call(this)}$f.prototype.pipe=function(){Mw(this,new $U0)};function nH0(t,e){var n=new ZU0;Mw(t,n),x.nextTick(e,n)}function aH0(t,e,n,a){var r;return n===null?r=new XU0:typeof n!="string"&&!e.objectMode&&(r=new QU0("chunk",["string","Buffer"],n)),r?(Mw(t,r),x.nextTick(a,r),!1):!0}$f.prototype.write=function(t,e,n){var a=this._writableState,r=!1,f=!a.objectMode&&jU0(t);return f&&!yO.isBuffer(t)&&(t=qU0(t)),typeof e=="function"&&(n=e,e=null),f?e="buffer":e||(e=a.defaultEncoding),typeof n!="function"&&(n=tH0),a.ending?nH0(this,n):(f||aH0(this,a,t,n))&&(a.pendingcb++,r=fH0(this,a,f,t,e,n)),r};$f.prototype.cork=function(){this._writableState.corked++};$f.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&G_e(this,t))};$f.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 eH0(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty($f.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function rH0(t,e,n){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=yO.from(e,n)),e}Object.defineProperty($f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function fH0(t,e,n,a,r,f){if(!n){var i=rH0(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 hH0=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};Y_e.exports=Eu;var V_e=TO(),nne=gO();Nt()(Eu,V_e);for(tne=hH0(nne.prototype),vO=0;vO{"use strict";u();p();var rne=En().Buffer,$_e=rne.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 yH0(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 gH0(t){var e=yH0(t);if(typeof e!="string"&&(rne.isEncoding===$_e||!$_e(t)))throw new Error("Unknown encoding: "+t);return e||t}J_e.StringDecoder=DI;function DI(t){this.encoding=gH0(t);var e;switch(this.encoding){case"utf16le":this.text=_H0,this.end=AH0,e=4;break;case"utf8":this.fillLast=TH0,e=4;break;case"base64":this.text=CH0,this.end=IH0,e=3;break;default:this.write=kH0,this.end=SH0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=rne.allocUnsafe(e)}DI.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 vH0(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 wH0(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 TH0(t){var e=this.lastTotal-this.lastNeed,n=wH0(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 xH0(t,e){var n=vH0(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 EH0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function _H0(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 AH0(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 IH0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function kH0(t){return t.toString(this.encoding)}function SH0(t){return t&&t.length?this.write(t):""}});var PI=D((gWn,eAe)=>{"use strict";u();p();var X_e=Ly().codes.ERR_STREAM_PREMATURE_CLOSE;function RH0(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 EO;function M3(t,e,n){return e=DH0(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function DH0(t){var e=PH0(t,"string");return typeof e=="symbol"?e:String(e)}function PH0(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 LH0=PI(),B3=Symbol("lastResolve"),Fy=Symbol("lastReject"),LI=Symbol("error"),_O=Symbol("ended"),Ny=Symbol("lastPromise"),fne=Symbol("handlePromise"),Oy=Symbol("stream");function D3(t,e){return{value:t,done:e}}function FH0(t){var e=t[B3];if(e!==null){var n=t[Oy].read();n!==null&&(t[Ny]=null,t[B3]=null,t[Fy]=null,e(D3(n,!1)))}}function NH0(t){x.nextTick(FH0,t)}function OH0(t,e){return function(n,a){t.then(function(){if(e[_O]){n(D3(void 0,!0));return}e[fne](n,a)},a)}}var UH0=Object.getPrototypeOf(function(){}),HH0=Object.setPrototypeOf((EO={get stream(){return this[Oy]},next:function(){var e=this,n=this[LI];if(n!==null)return Promise.reject(n);if(this[_O])return Promise.resolve(D3(void 0,!0));if(this[Oy].destroyed)return new Promise(function(i,s){x.nextTick(function(){e[LI]?s(e[LI]):i(D3(void 0,!0))})});var a=this[Ny],r;if(a)r=new Promise(OH0(a,this));else{var f=this[Oy].read();if(f!==null)return Promise.resolve(D3(f,!1));r=new Promise(this[fne])}return this[Ny]=r,r}},M3(EO,Symbol.asyncIterator,function(){return this}),M3(EO,"return",function(){var e=this;return new Promise(function(n,a){e[Oy].destroy(null,function(r){if(r){a(r);return}n(D3(void 0,!0))})})}),EO),UH0),zH0=function(e){var n,a=Object.create(HH0,(n={},M3(n,Oy,{value:e,writable:!0}),M3(n,B3,{value:null,writable:!0}),M3(n,Fy,{value:null,writable:!0}),M3(n,LI,{value:null,writable:!0}),M3(n,_O,{value:e._readableState.endEmitted,writable:!0}),M3(n,fne,{value:function(f,i){var s=a[Oy].read();s?(a[Ny]=null,a[B3]=null,a[Fy]=null,f(D3(s,!1))):(a[B3]=f,a[Fy]=i)},writable:!0}),n));return a[Ny]=null,LH0(e,function(r){if(r&&r.code!=="ERR_STREAM_PREMATURE_CLOSE"){var f=a[Fy];f!==null&&(a[Ny]=null,a[B3]=null,a[Fy]=null,f(r)),a[LI]=r;return}var i=a[B3];i!==null&&(a[Ny]=null,a[B3]=null,a[Fy]=null,i(D3(void 0,!0))),a[_O]=!0}),e.on("readable",NH0.bind(null,a)),a};tAe.exports=zH0});var rAe=D((_Wn,aAe)=>{u();p();aAe.exports=function(){throw new Error("Readable.from is not available in the browser")}});var TO=D((kWn,hAe)=>{"use strict";u();p();hAe.exports=Ea;var Bw;Ea.ReadableState=oAe;var IWn=Or().EventEmitter,sAe=function(e,n){return e.listeners(n).length},NI=gte(),AO=Qf().Buffer,WH0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function qH0(t){return AO.from(t)}function jH0(t){return AO.isBuffer(t)||t instanceof WH0}var ine=rl(),Un;ine&&ine.debuglog?Un=ine.debuglog("stream"):Un=function(){};var GH0=P_e(),pne=Yte(),KH0=$te(),QH0=KH0.getHighWaterMark,CO=Ly().codes,VH0=CO.ERR_INVALID_ARG_TYPE,YH0=CO.ERR_STREAM_PUSH_AFTER_EOF,$H0=CO.ERR_METHOD_NOT_IMPLEMENTED,JH0=CO.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Dw,sne,one;Nt()(Ea,NI);var FI=pne.errorOrDestroy,cne=["error","close","destroy","pause","resume"];function XH0(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 oAe(t,e,n){Bw=Bw||R3(),t=t||{},typeof n!="boolean"&&(n=e instanceof Bw),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=QH0(this,t,"readableHighWaterMark",n),this.buffer=new GH0,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&&(Dw||(Dw=xO().StringDecoder),this.decoder=new Dw(t.encoding),this.encoding=t.encoding)}function Ea(t){if(Bw=Bw||R3(),!(this instanceof Ea))return new Ea(t);var e=this instanceof Bw;this._readableState=new oAe(t,this,e),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),NI.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=pne.destroy;Ea.prototype._undestroy=pne.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=AO.from(t,e),e=""),a=!0),cAe(this,t,e,!1,a)};Ea.prototype.unshift=function(t){return cAe(this,t,null,!0,!1)};function cAe(t,e,n,a,r){Un("readableAddChunk",e);var f=t._readableState;if(e===null)f.reading=!1,tz0(t,f);else{var i;if(r||(i=ZH0(f,e)),i)FI(t,i);else if(f.objectMode||e&&e.length>0)if(typeof e!="string"&&!f.objectMode&&Object.getPrototypeOf(e)!==AO.prototype&&(e=qH0(e)),a)f.endEmitted?FI(t,new JH0):dne(t,f,e,!0);else if(f.ended)FI(t,new YH0);else{if(f.destroyed)return!1;f.reading=!1,f.decoder&&!n?(e=f.decoder.write(e),f.objectMode||e.length!==0?dne(t,f,e,!1):une(t,f)):dne(t,f,e,!1)}else a||(f.reading=!1,une(t,f))}return!f.ended&&(f.length=fAe?t=fAe:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function iAe(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=ez0(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?lne(this):IO(this),null;if(t=iAe(t,e),t===0&&e.ended)return e.length===0&&lne(this),null;var a=e.needReadable;Un("need readable",a),(e.length===0||e.length-t0?r=uAe(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&&lne(this)),r!==null&&this.emit("data",r),r};function tz0(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?IO(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,dAe(t)))}}function IO(t){var e=t._readableState;Un("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(Un("emitReadable",e.flowing),e.emittedReadable=!0,x.nextTick(dAe,t))}function dAe(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,hne(t)}function une(t,e){e.readingMore||(e.readingMore=!0,x.nextTick(nz0,t,e))}function nz0(t,e){for(;!e.reading&&!e.ended&&(e.length1&&pAe(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),sAe(t,"error")===0&&FI(t,O)}XH0(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 az0(t){return function(){var n=t._readableState;Un("pipeOnDrain",n.awaitDrain),n.awaitDrain&&n.awaitDrain--,n.awaitDrain===0&&sAe(t,"data")&&(n.flowing=!0,hne(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?IO(this):a.reading||x.nextTick(rz0,this)),n};Ea.prototype.addListener=Ea.prototype.on;Ea.prototype.removeListener=function(t,e){var n=NI.prototype.removeListener.call(this,t,e);return t==="readable"&&x.nextTick(lAe,this),n};Ea.prototype.removeAllListeners=function(t){var e=NI.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&x.nextTick(lAe,this),e};function lAe(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 rz0(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,fz0(this,t)),t.paused=!1,this};function fz0(t,e){e.resumeScheduled||(e.resumeScheduled=!0,x.nextTick(iz0,t,e))}function iz0(t,e){Un("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),hne(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 hne(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 lne(t){var e=t._readableState;Un("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,x.nextTick(sz0,e,t))}function sz0(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 one===void 0&&(one=rAe()),one(Ea,t,e)});function pAe(t,e){for(var n=0,a=t.length;n{"use strict";u();p();bAe.exports=o8;var kO=Ly().codes,oz0=kO.ERR_METHOD_NOT_IMPLEMENTED,cz0=kO.ERR_MULTIPLE_CALLBACK,dz0=kO.ERR_TRANSFORM_ALREADY_TRANSFORMING,lz0=kO.ERR_TRANSFORM_WITH_LENGTH_0,SO=R3();Nt()(o8,SO);function uz0(t,e){var n=this._transformState;n.transforming=!1;var a=n.writecb;if(a===null)return this.emit("error",new cz0);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();gAe.exports=OI;var yAe=RO();Nt()(OI,yAe);function OI(t){if(!(this instanceof OI))return new OI(t);yAe.call(this,t)}OI.prototype._transform=function(t,e,n){n(null,t)}});var yne=D((NWn,xAe)=>{"use strict";u();p();var bne;function hz0(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var TAe=Ly().codes,mz0=TAe.ERR_MISSING_ARGS,bz0=TAe.ERR_STREAM_DESTROYED;function vAe(t){if(t)throw t}function yz0(t){return t.setHeader&&typeof t.abort=="function"}function gz0(t,e,n,a){a=hz0(a);var r=!1;t.on("close",function(){r=!0}),bne===void 0&&(bne=PI()),bne(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,yz0(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();a(i||new bz0("pipe"))}}}function wAe(t){t()}function vz0(t,e){return t.pipe(e)}function wz0(t){return!t.length||typeof t[t.length-1]!="function"?vAe:t.pop()}function Tz0(){for(var t=arguments.length,e=new Array(t),n=0;n0;return gz0(i,o,c,function(d){r||(r=d),d&&f.forEach(wAe),!o&&(f.forEach(wAe),a(r))})});return e.reduce(vz0)}xAe.exports=Tz0});var MO=D((C5,EAe)=>{u();p();C5=EAe.exports=TO();C5.Stream=C5;C5.Readable=C5;C5.Writable=gO();C5.Duplex=R3();C5.Transform=RO();C5.PassThrough=mne();C5.finished=PI();C5.pipeline=yne()});var gne=D((WWn,AAe)=>{"use strict";u();p();var BO=En().Buffer,_Ae=MO().Transform,xz0=Nt();function Ez0(t,e){if(!BO.isBuffer(t)&&typeof t!="string")throw new TypeError(e+" must be a string or a buffer")}function P3(t){_Ae.call(this),this._block=BO.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}xz0(P3,_Ae);P3.prototype._transform=function(t,e,n){var a=null;try{this.update(t,e)}catch(r){a=r}n(a)};P3.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(n){e=n}t(e)};P3.prototype.update=function(t,e){if(Ez0(t,"Data"),this._finalized)throw new Error("Digest already called");BO.isBuffer(t)||(t=BO.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};P3.prototype._update=function(){throw new Error("_update is not implemented")};P3.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};P3.prototype._digest=function(){throw new Error("_digest is not implemented")};AAe.exports=P3});var LO=D((GWn,IAe)=>{"use strict";u();p();var _z0=Nt(),CAe=gne(),Az0=En().Buffer,Cz0=new Array(16);function DO(){CAe.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}_z0(DO,CAe);DO.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=Fo(n,a,r,f,t[0],3614090360,7),f=Fo(f,n,a,r,t[1],3905402710,12),r=Fo(r,f,n,a,t[2],606105819,17),a=Fo(a,r,f,n,t[3],3250441966,22),n=Fo(n,a,r,f,t[4],4118548399,7),f=Fo(f,n,a,r,t[5],1200080426,12),r=Fo(r,f,n,a,t[6],2821735955,17),a=Fo(a,r,f,n,t[7],4249261313,22),n=Fo(n,a,r,f,t[8],1770035416,7),f=Fo(f,n,a,r,t[9],2336552879,12),r=Fo(r,f,n,a,t[10],4294925233,17),a=Fo(a,r,f,n,t[11],2304563134,22),n=Fo(n,a,r,f,t[12],1804603682,7),f=Fo(f,n,a,r,t[13],4254626195,12),r=Fo(r,f,n,a,t[14],2792965006,17),a=Fo(a,r,f,n,t[15],1236535329,22),n=No(n,a,r,f,t[1],4129170786,5),f=No(f,n,a,r,t[6],3225465664,9),r=No(r,f,n,a,t[11],643717713,14),a=No(a,r,f,n,t[0],3921069994,20),n=No(n,a,r,f,t[5],3593408605,5),f=No(f,n,a,r,t[10],38016083,9),r=No(r,f,n,a,t[15],3634488961,14),a=No(a,r,f,n,t[4],3889429448,20),n=No(n,a,r,f,t[9],568446438,5),f=No(f,n,a,r,t[14],3275163606,9),r=No(r,f,n,a,t[3],4107603335,14),a=No(a,r,f,n,t[8],1163531501,20),n=No(n,a,r,f,t[13],2850285829,5),f=No(f,n,a,r,t[2],4243563512,9),r=No(r,f,n,a,t[7],1735328473,14),a=No(a,r,f,n,t[12],2368359562,20),n=Oo(n,a,r,f,t[5],4294588738,4),f=Oo(f,n,a,r,t[8],2272392833,11),r=Oo(r,f,n,a,t[11],1839030562,16),a=Oo(a,r,f,n,t[14],4259657740,23),n=Oo(n,a,r,f,t[1],2763975236,4),f=Oo(f,n,a,r,t[4],1272893353,11),r=Oo(r,f,n,a,t[7],4139469664,16),a=Oo(a,r,f,n,t[10],3200236656,23),n=Oo(n,a,r,f,t[13],681279174,4),f=Oo(f,n,a,r,t[0],3936430074,11),r=Oo(r,f,n,a,t[3],3572445317,16),a=Oo(a,r,f,n,t[6],76029189,23),n=Oo(n,a,r,f,t[9],3654602809,4),f=Oo(f,n,a,r,t[12],3873151461,11),r=Oo(r,f,n,a,t[15],530742520,16),a=Oo(a,r,f,n,t[2],3299628645,23),n=Uo(n,a,r,f,t[0],4096336452,6),f=Uo(f,n,a,r,t[7],1126891415,10),r=Uo(r,f,n,a,t[14],2878612391,15),a=Uo(a,r,f,n,t[5],4237533241,21),n=Uo(n,a,r,f,t[12],1700485571,6),f=Uo(f,n,a,r,t[3],2399980690,10),r=Uo(r,f,n,a,t[10],4293915773,15),a=Uo(a,r,f,n,t[1],2240044497,21),n=Uo(n,a,r,f,t[8],1873313359,6),f=Uo(f,n,a,r,t[15],4264355552,10),r=Uo(r,f,n,a,t[6],2734768916,15),a=Uo(a,r,f,n,t[13],1309151649,21),n=Uo(n,a,r,f,t[4],4149444226,6),f=Uo(f,n,a,r,t[11],3174756917,10),r=Uo(r,f,n,a,t[2],718787259,15),a=Uo(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};DO.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=Az0.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 PO(t,e){return t<>>32-e}function Fo(t,e,n,a,r,f,i){return PO(t+(e&n|~e&a)+r+f|0,i)+e|0}function No(t,e,n,a,r,f,i){return PO(t+(e&a|n&~a)+r+f|0,i)+e|0}function Oo(t,e,n,a,r,f,i){return PO(t+(e^n^a)+r+f|0,i)+e|0}function Uo(t,e,n,a,r,f,i){return PO(t+(n^(e|~a))+r+f|0,i)+e|0}IAe.exports=DO});var NO=D((VWn,PAe)=>{"use strict";u();p();var vne=Qf().Buffer,Iz0=Nt(),DAe=gne(),kz0=new Array(16),UI=[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],HI=[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],zI=[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],WI=[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],qI=[0,1518500249,1859775393,2400959708,2840853838],jI=[1352829926,1548603684,1836072691,2053994217,0];function FO(){DAe.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}Iz0(FO,DAe);FO.prototype._update=function(){for(var t=kz0,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=kAe(n,a,r,f,i,t[UI[h]],qI[0],zI[h]),v=BAe(s,o,c,d,l,t[HI[h]],jI[0],WI[h])):h<32?(y=SAe(n,a,r,f,i,t[UI[h]],qI[1],zI[h]),v=MAe(s,o,c,d,l,t[HI[h]],jI[1],WI[h])):h<48?(y=RAe(n,a,r,f,i,t[UI[h]],qI[2],zI[h]),v=RAe(s,o,c,d,l,t[HI[h]],jI[2],WI[h])):h<64?(y=MAe(n,a,r,f,i,t[UI[h]],qI[3],zI[h]),v=SAe(s,o,c,d,l,t[HI[h]],jI[3],WI[h])):(y=BAe(n,a,r,f,i,t[UI[h]],qI[4],zI[h]),v=kAe(s,o,c,d,l,t[HI[h]],jI[4],WI[h])),n=i,i=f,f=Uy(r,10),r=a,a=y,s=l,l=d,d=Uy(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};FO.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=vne.alloc?vne.alloc(20):new vne(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 Uy(t,e){return t<>>32-e}function kAe(t,e,n,a,r,f,i,s){return Uy(t+(e^n^a)+f+i|0,s)+r|0}function SAe(t,e,n,a,r,f,i,s){return Uy(t+(e&n|~e&a)+f+i|0,s)+r|0}function RAe(t,e,n,a,r,f,i,s){return Uy(t+((e|~n)^a)+f+i|0,s)+r|0}function MAe(t,e,n,a,r,f,i,s){return Uy(t+(e&a|n&~a)+f+i|0,s)+r|0}function BAe(t,e,n,a,r,f,i,s){return Uy(t+(e^(n|~a))+f+i|0,s)+r|0}PAe.exports=FO});var Hy=D((JWn,FAe)=>{u();p();var LAe=En().Buffer;function OO(t,e){this._block=LAe.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}OO.prototype.update=function(t,e){typeof t=="string"&&(e=e||"utf8",t=LAe.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};OO.prototype._update=function(){throw new Error("_update must be implemented by subclass")};FAe.exports=OO});var UAe=D((eqn,OAe)=>{u();p();var Sz0=Nt(),NAe=Hy(),Rz0=En().Buffer,Mz0=[1518500249,1859775393,-1894007588,-899497514],Bz0=new Array(80);function GI(){this.init(),this._w=Bz0,NAe.call(this,64,56)}Sz0(GI,NAe);GI.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function Dz0(t){return t<<5|t>>>27}function Pz0(t){return t<<30|t>>>2}function Lz0(t,e,n,a){return t===0?e&n|~e&a:t===2?e&n|e&a|n&a:e^n^a}GI.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=Dz0(n)+Lz0(c,a,r,f)+i+e[o]+Mz0[c]|0;i=f,f=r,r=Pz0(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};GI.prototype._hash=function(){var t=Rz0.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};OAe.exports=GI});var WAe=D((aqn,zAe)=>{u();p();var Fz0=Nt(),HAe=Hy(),Nz0=En().Buffer,Oz0=[1518500249,1859775393,-1894007588,-899497514],Uz0=new Array(80);function KI(){this.init(),this._w=Uz0,HAe.call(this,64,56)}Fz0(KI,HAe);KI.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function Hz0(t){return t<<1|t>>>31}function zz0(t){return t<<5|t>>>27}function Wz0(t){return t<<30|t>>>2}function qz0(t,e,n,a){return t===0?e&n|~e&a:t===2?e&n|e&a|n&a:e^n^a}KI.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]=Hz0(e[s-3]^e[s-8]^e[s-14]^e[s-16]);for(var o=0;o<80;++o){var c=~~(o/20),d=zz0(n)+qz0(c,a,r,f)+i+e[o]+Oz0[c]|0;i=f,f=r,r=Wz0(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};KI.prototype._hash=function(){var t=Nz0.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};zAe.exports=KI});var wne=D((iqn,jAe)=>{u();p();var jz0=Nt(),qAe=Hy(),Gz0=En().Buffer,Kz0=[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],Qz0=new Array(64);function QI(){this.init(),this._w=Qz0,qAe.call(this,64,56)}jz0(QI,qAe);QI.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 Vz0(t,e,n){return n^t&(e^n)}function Yz0(t,e,n){return t&e|n&(t|e)}function $z0(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function Jz0(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function Xz0(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function Zz0(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}QI.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]=Zz0(e[d-2])+e[d-7]+Xz0(e[d-15])+e[d-16]|0;for(var l=0;l<64;++l){var h=c+Jz0(i)+Vz0(i,s,o)+Kz0[l]+e[l]|0,y=$z0(n)+Yz0(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};QI.prototype._hash=function(){var t=Gz0.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};jAe.exports=QI});var KAe=D((cqn,GAe)=>{u();p();var eW0=Nt(),tW0=wne(),nW0=Hy(),aW0=En().Buffer,rW0=new Array(64);function UO(){this.init(),this._w=rW0,nW0.call(this,64,56)}eW0(UO,tW0);UO.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};UO.prototype._hash=function(){var t=aW0.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};GAe.exports=UO});var Tne=D((uqn,ZAe)=>{u();p();var fW0=Nt(),XAe=Hy(),iW0=En().Buffer,QAe=[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],sW0=new Array(160);function VI(){this.init(),this._w=sW0,XAe.call(this,128,112)}fW0(VI,XAe);VI.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 VAe(t,e,n){return n^t&(e^n)}function YAe(t,e,n){return t&e|n&(t|e)}function $Ae(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function JAe(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function oW0(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function cW0(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function dW0(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function lW0(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function ys(t,e){return t>>>0>>0?1:0}VI.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=oW0(W,j),V=cW0(j,W);W=e[z-2*2],j=e[z-2*2+1];var X=dW0(W,j),K=lW0(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,b=Q+G+ys(w,V)|0;w=w+K|0,b=b+X+ys(w,K)|0,w=w+N|0,b=b+T+ys(w,N)|0,e[z]=b,e[z+1]=w}for(var A=0;A<160;A+=2){b=e[A],w=e[A+1];var P=YAe(n,a,r),L=YAe(d,l,h),E=$Ae(n,d),g=$Ae(d,n),B=JAe(i,v),M=JAe(v,i),S=QAe[A],q=QAe[A+1],ee=VAe(i,s,o),U=VAe(v,k,O),J=F+M|0,Z=c+B+ys(J,F)|0;J=J+U|0,Z=Z+ee+ys(J,U)|0,J=J+q|0,Z=Z+S+ys(J,q)|0,J=J+w|0,Z=Z+b+ys(J,w)|0;var ne=g+L|0,ue=E+P+ys(ne,g)|0;c=o,F=O,o=s,O=k,s=i,k=v,v=y+J|0,i=f+Z+ys(v,y)|0,f=r,y=h,r=a,h=l,a=n,l=d,d=J+ne|0,n=Z+ue+ys(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+ys(this._al,d)|0,this._bh=this._bh+a+ys(this._bl,l)|0,this._ch=this._ch+r+ys(this._cl,h)|0,this._dh=this._dh+f+ys(this._dl,y)|0,this._eh=this._eh+i+ys(this._el,v)|0,this._fh=this._fh+s+ys(this._fl,k)|0,this._gh=this._gh+o+ys(this._gl,O)|0,this._hh=this._hh+c+ys(this._hl,F)|0};VI.prototype._hash=function(){var t=iW0.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=VI});var tCe=D((mqn,eCe)=>{u();p();var uW0=Nt(),pW0=Tne(),hW0=Hy(),mW0=En().Buffer,bW0=new Array(160);function HO(){this.init(),this._w=bW0,hW0.call(this,128,112)}uW0(HO,pW0);HO.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};HO.prototype._hash=function(){var t=mW0.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};eCe.exports=HO});var YI=D((c8,nCe)=>{u();p();var c8=nCe.exports=function(e){e=e.toLowerCase();var n=c8[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n};c8.sha=UAe();c8.sha1=WAe();c8.sha224=KAe();c8.sha256=wne();c8.sha384=tCe();c8.sha512=Tne()});var rCe=D((wqn,aCe)=>{u();p();aCe.exports=I5;var xne=Or().EventEmitter,yW0=Nt();yW0(I5,xne);I5.Readable=TO();I5.Writable=gO();I5.Duplex=R3();I5.Transform=RO();I5.PassThrough=mne();I5.finished=PI();I5.pipeline=yne();I5.Stream=I5;function I5(){xne.call(this)}I5.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(),xne.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 d8=D((Eqn,sCe)=>{u();p();var fCe=En().Buffer,iCe=rCe().Transform,gW0=xO().StringDecoder,vW0=Nt();function fl(t){iCe.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}vW0(fl,iCe);fl.prototype.update=function(t,e,n){typeof t=="string"&&(t=fCe.from(t,e));var a=this._update(t);return this.hashMode?this:(n&&(a=this._toString(a,n)),a)};fl.prototype.setAutoPadding=function(){};fl.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")};fl.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")};fl.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")};fl.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)}};fl.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(n){e=n}t(e)};fl.prototype._finalOrDigest=function(t){var e=this.__final()||fCe.alloc(0);return t&&(e=this._toString(e,t,!0)),e};fl.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new gW0(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};sCe.exports=fl});var zy=D((Cqn,cCe)=>{"use strict";u();p();var wW0=Nt(),TW0=LO(),xW0=NO(),EW0=YI(),oCe=d8();function zO(t){oCe.call(this,"digest"),this._hash=t}wW0(zO,oCe);zO.prototype._update=function(t){this._hash.update(t)};zO.prototype._final=function(){return this._hash.digest()};cCe.exports=function(e){return e=e.toLowerCase(),e==="md5"?new TW0:e==="rmd160"||e==="ripemd160"?new xW0:new zO(EW0(e))}});var uCe=D((Sqn,lCe)=>{"use strict";u();p();var _W0=Nt(),Wy=En().Buffer,dCe=d8(),AW0=Wy.alloc(128),Pw=64;function WO(t,e){dCe.call(this,"digest"),typeof e=="string"&&(e=Wy.from(e)),this._alg=t,this._key=e,e.length>Pw?e=t(e):e.length{u();p();var CW0=LO();pCe.exports=function(t){return new CW0().update(t).digest()}});var Cne=D((Lqn,mCe)=>{"use strict";u();p();var IW0=Nt(),kW0=uCe(),hCe=d8(),$I=En().Buffer,SW0=Ene(),_ne=NO(),Ane=YI(),RW0=$I.alloc(128);function JI(t,e){hCe.call(this,"digest"),typeof e=="string"&&(e=$I.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 _ne:Ane(t);e=a.update(e).digest()}else e.length{MW0.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 yCe=D((Uqn,bCe)=>{"use strict";u();p();bCe.exports=Ine()});var kne=D((Wqn,gCe)=>{u();p();var BW0=Math.pow(2,30)-1;gCe.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 Sne=D((Gqn,wCe)=>{u();p();var qO;global.process&&global.process.browser?qO="utf-8":global.process&&global.process.version?(vCe=parseInt(x.version.split(".")[0].slice(1),10),qO=vCe>=6?"utf-8":"binary"):qO="utf-8";var vCe;wCe.exports=qO});var Mne=D((Vqn,TCe)=>{u();p();var Rne=En().Buffer;TCe.exports=function(t,e,n){if(Rne.isBuffer(t))return t;if(typeof t=="string")return Rne.from(t,e);if(ArrayBuffer.isView(t))return Rne.from(t.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}});var Bne=D((Jqn,ACe)=>{u();p();var DW0=Ene(),PW0=NO(),LW0=YI(),qy=En().Buffer,FW0=kne(),xCe=Sne(),ECe=Mne(),NW0=qy.alloc(128),jO={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function _Ce(t,e,n){var a=OW0(t),r=t==="sha512"||t==="sha384"?128:64;e.length>r?e=a(e):e.length{u();p();var SCe=En().Buffer,HW0=kne(),CCe=Sne(),ICe=Bne(),kCe=Mne(),GO,XI=global.crypto&&global.crypto.subtle,zW0={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"},Dne=[];function WW0(t){if(global.process&&!global.process.browser||!XI||!XI.importKey||!XI.deriveBits)return Promise.resolve(!1);if(Dne[t]!==void 0)return Dne[t];GO=GO||SCe.alloc(8);var e=RCe(GO,GO,10,128,t).then(function(){return!0}).catch(function(){return!1});return Dne[t]=e,e}var jy;function Pne(){return jy||(global.process&&global.process.nextTick?jy=global.process.nextTick:global.queueMicrotask?jy=global.queueMicrotask:global.setImmediate?jy=global.setImmediate:jy=global.setTimeout,jy)}function RCe(t,e,n,a,r){return XI.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then(function(f){return XI.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:r}},f,a<<3)}).then(function(f){return SCe.from(f)})}function qW0(t,e){t.then(function(n){Pne()(function(){e(null,n)})},function(n){Pne()(function(){e(n)})})}MCe.exports=function(t,e,n,a,r,f){typeof r=="function"&&(f=r,r=void 0),r=r||"sha1";var i=zW0[r.toLowerCase()];if(!i||typeof global.Promise!="function"){Pne()(function(){var s;try{s=ICe(t,e,n,a,r)}catch(o){return f(o)}f(null,s)});return}if(HW0(n,a),t=kCe(t,CCe,"Password"),e=kCe(e,CCe,"Salt"),typeof f!="function")throw new Error("No callback provided to pbkdf2");qW0(WW0(i).then(function(s){return s?RCe(t,e,n,a,i):ICe(t,e,n,a,r)}),f)}});var Fne=D(Lne=>{u();p();Lne.pbkdf2=BCe();Lne.pbkdf2Sync=Bne()});var Nne=D(k5=>{"use strict";u();p();k5.readUInt32BE=function(e,n){var a=e[0+n]<<24|e[1+n]<<16|e[2+n]<<8|e[3+n];return a>>>0};k5.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};k5.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};k5.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};k5.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};k5.r28shl=function(e,n){return e<>>28-n};var KO=[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];k5.pc2=function(e,n,a,r){for(var f=0,i=0,s=KO.length>>>1,o=0;o>>KO[o]&1;for(var o=s;o>>KO[o]&1;a[r+0]=f>>>0,a[r+1]=i>>>0};k5.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 DCe=[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];k5.substitute=function(e,n){for(var a=0,r=0;r<4;r++){var f=e>>>18-r*6&63,i=DCe[r*64+f];a<<=4,a|=i}for(var r=0;r<4;r++){var f=n>>>18-r*6&63,i=DCe[4*64+r*64+f];a<<=4,a|=i}return a>>>0};var PCe=[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];k5.permute=function(e){for(var n=0,a=0;a>>PCe[a]&1;return n>>>0};k5.padSplit=function(e,n,a){for(var r=e.toString(2);r.length{"use strict";u();p();var jW0=Mc();function S5(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}LCe.exports=S5;S5.prototype._init=function(){};S5.prototype.update=function(e){return e.length===0?[]:this.type==="decrypt"?this._updateDecrypt(e):this._updateEncrypt(e)};S5.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};S5.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};S5.prototype._pad=function(e,n){if(n===0)return!1;for(;n{"use strict";u();p();var FCe=Mc(),GW0=Nt(),Ji=Nne(),NCe=QO();function KW0(){this.tmp=new Array(2),this.keys=null}function _u(t){NCe.call(this,t);var e=new KW0;this._desState=e,this.deriveKeys(e,t.key)}GW0(_u,NCe);OCe.exports=_u;_u.create=function(e){return new _u(e)};var QW0=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];_u.prototype.deriveKeys=function(e,n){e.keys=new Array(16*2),FCe.equal(n.length,this.blockSize,"Invalid key length");var a=Ji.readUInt32BE(n,0),r=Ji.readUInt32BE(n,4);Ji.pc1(a,r,e.tmp,0),a=e.tmp[0],r=e.tmp[1];for(var f=0;f>>1];a=Ji.r28shl(a,i),r=Ji.r28shl(r,i),Ji.pc2(a,r,e.keys,f)}};_u.prototype._update=function(e,n,a,r){var f=this._desState,i=Ji.readUInt32BE(e,n),s=Ji.readUInt32BE(e,n+4);Ji.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],Ji.writeUInt32BE(a,i,r),Ji.writeUInt32BE(a,s,r+4)};_u.prototype._pad=function(e,n){if(this.padding===!1)return!1;for(var a=e.length-n,r=n;r>>0,i=y}Ji.rip(s,i,r,f)};_u.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];Ji.expand(i,e.tmp,0),c^=e.tmp[0],d^=e.tmp[1];var l=Ji.substitute(c,d),h=Ji.permute(l),y=i;i=(s^h)>>>0,s=y}Ji.rip(i,s,r,f)}});var HCe=D(UCe=>{"use strict";u();p();var VW0=Mc(),YW0=Nt(),VO={};function $W0(t){VW0.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e{"use strict";u();p();var XW0=Mc(),ZW0=Nt(),zCe=QO(),L3=One();function eq0(t,e){XW0.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=[L3.create({type:"encrypt",key:n}),L3.create({type:"decrypt",key:a}),L3.create({type:"encrypt",key:r})]:this.ciphers=[L3.create({type:"decrypt",key:r}),L3.create({type:"encrypt",key:a}),L3.create({type:"decrypt",key:n})]}function Gy(t){zCe.call(this,t);var e=new eq0(this.type,this.options.key);this._edeState=e}ZW0(Gy,zCe);WCe.exports=Gy;Gy.create=function(e){return new Gy(e)};Gy.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)};Gy.prototype._pad=L3.prototype._pad;Gy.prototype._unpad=L3.prototype._unpad});var jCe=D(Lw=>{"use strict";u();p();Lw.utils=Nne();Lw.Cipher=QO();Lw.DES=One();Lw.CBC=HCe();Lw.EDE=qCe()});var QCe=D((_jn,KCe)=>{u();p();var GCe=d8(),l8=jCe(),tq0=Nt(),Ky=En().Buffer,ZI={"des-ede3-cbc":l8.CBC.instantiate(l8.EDE),"des-ede3":l8.EDE,"des-ede-cbc":l8.CBC.instantiate(l8.EDE),"des-ede":l8.EDE,"des-cbc":l8.CBC.instantiate(l8.DES),"des-ecb":l8.DES};ZI.des=ZI["des-cbc"];ZI.des3=ZI["des-ede3-cbc"];KCe.exports=YO;tq0(YO,GCe);function YO(t){GCe.call(this);var e=t.mode.toLowerCase(),n=ZI[e],a;t.decrypt?a="decrypt":a="encrypt";var r=t.key;Ky.isBuffer(r)||(r=Ky.from(r)),(e==="des-ede"||e==="des-ede-cbc")&&(r=Ky.concat([r,r.slice(0,8)]));var f=t.iv;Ky.isBuffer(f)||(f=Ky.from(f)),this._des=n.create({key:r,iv:f,type:a})}YO.prototype._update=function(t){return Ky.from(this._des.update(t))};YO.prototype._final=function(){return Ky.from(this._des.final())}});var VCe=D(Une=>{u();p();Une.encrypt=function(t,e){return t._cipher.encryptBlock(e)};Une.decrypt=function(t,e){return t._cipher.decryptBlock(e)}});var Fw=D((Rjn,YCe)=>{u();p();YCe.exports=function(e,n){for(var a=Math.min(e.length,n.length),r=new _.Buffer(a),f=0;f{u();p();var $Ce=Fw();Hne.encrypt=function(t,e){var n=$Ce(e,t._prev);return t._prev=t._cipher.encryptBlock(n),t._prev};Hne.decrypt=function(t,e){var n=t._prev;t._prev=e;var a=t._cipher.decryptBlock(e);return $Ce(a,n)}});var eIe=D(ZCe=>{u();p();var ek=En().Buffer,nq0=Fw();function XCe(t,e,n){var a=e.length,r=nq0(e,t._cache);return t._cache=t._cache.slice(a),t._prev=ek.concat([t._prev,n?e:r]),r}ZCe.encrypt=function(t,e,n){for(var a=ek.allocUnsafe(0),r;e.length;)if(t._cache.length===0&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=ek.allocUnsafe(0)),t._cache.length<=e.length)r=t._cache.length,a=ek.concat([a,XCe(t,e.slice(0,r),n)]),e=e.slice(r);else{a=ek.concat([a,XCe(t,e,n)]);break}return a}});var nIe=D(tIe=>{u();p();var zne=En().Buffer;function aq0(t,e,n){var a=t._cipher.encryptBlock(t._prev),r=a[0]^e;return t._prev=zne.concat([t._prev.slice(1),zne.from([n?e:r])]),r}tIe.encrypt=function(t,e,n){for(var a=e.length,r=zne.allocUnsafe(a),f=-1;++f{u();p();var $O=En().Buffer;function rq0(t,e,n){for(var a,r=-1,f=8,i=0,s,o;++r>r%8,t._prev=fq0(t._prev,n?s:o);return i}function fq0(t,e){var n=t.length,a=-1,r=$O.allocUnsafe(t.length);for(t=$O.concat([t,$O.from([e])]);++a>7;return r}aIe.encrypt=function(t,e,n){for(var a=e.length,r=$O.allocUnsafe(a),f=-1;++f{u();p();var iq0=Fw();function sq0(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}fIe.encrypt=function(t,e){for(;t._cache.length{u();p();function oq0(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}}sIe.exports=oq0});var jne=D(cIe=>{u();p();var cq0=Fw(),oIe=En().Buffer,dq0=Wne();function lq0(t){var e=t._cipher.encryptBlockRaw(t._prev);return dq0(t._prev),e}var qne=16;cIe.encrypt=function(t,e){var n=Math.ceil(e.length/qne),a=t._cache.length;t._cache=oIe.concat([t._cache,oIe.allocUnsafe(n*qne)]);for(var r=0;r{uq0.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 XO=D((tGn,dIe)=>{u();p();var pq0={ECB:VCe(),CBC:JCe(),CFB:eIe(),CFB8:nIe(),CFB1:rIe(),OFB:iIe(),CTR:jne(),GCM:jne()},JO=Gne();for(Kne in JO)JO[Kne].module=pq0[JO[Kne].mode];var Kne;dIe.exports=JO});var tk=D((rGn,uIe)=>{u();p();var ZO=En().Buffer;function Vne(t){ZO.isBuffer(t)||(t=ZO.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 hq0=[0,1,2,4,8,16,32,64,128,27,54],Ci=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 R5(t){this._key=Vne(t),this._reset()}R5.blockSize=4*4;R5.keySize=256/8;R5.prototype.blockSize=R5.blockSize;R5.prototype.keySize=R5.keySize;R5.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,a=(n+1)*4,r=[],f=0;f>>24,i=Ci.SBOX[i>>>24]<<24|Ci.SBOX[i>>>16&255]<<16|Ci.SBOX[i>>>8&255]<<8|Ci.SBOX[i&255],i^=hq0[f/e|0]<<24):e>6&&f%e===4&&(i=Ci.SBOX[i>>>24]<<24|Ci.SBOX[i>>>16&255]<<16|Ci.SBOX[i>>>8&255]<<8|Ci.SBOX[i&255]),r[f]=r[f-e]^i}for(var s=[],o=0;o>>24]]^Ci.INV_SUB_MIX[1][Ci.SBOX[d>>>16&255]]^Ci.INV_SUB_MIX[2][Ci.SBOX[d>>>8&255]]^Ci.INV_SUB_MIX[3][Ci.SBOX[d&255]]}this._nRounds=n,this._keySchedule=r,this._invKeySchedule=s};R5.prototype.encryptBlockRaw=function(t){return t=Vne(t),lIe(t,this._keySchedule,Ci.SUB_MIX,Ci.SBOX,this._nRounds)};R5.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=ZO.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n};R5.prototype.decryptBlock=function(t){t=Vne(t);var e=t[1];t[1]=t[3],t[3]=e;var n=lIe(t,this._invKeySchedule,Ci.INV_SUB_MIX,Ci.INV_SBOX,this._nRounds),a=ZO.allocUnsafe(16);return a.writeUInt32BE(n[0],0),a.writeUInt32BE(n[3],4),a.writeUInt32BE(n[2],8),a.writeUInt32BE(n[1],12),a};R5.prototype.scrub=function(){Qne(this._keySchedule),Qne(this._invKeySchedule),Qne(this._key)};uIe.exports.AES=R5});var mIe=D((sGn,hIe)=>{u();p();var Nw=En().Buffer,mq0=Nw.alloc(16,0);function bq0(t){return[t.readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)]}function pIe(t){var e=Nw.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 nk(t){this.h=t,this.state=Nw.alloc(16,0),this.cache=Nw.allocUnsafe(0)}nk.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=pIe(e)};nk.prototype.update=function(t){this.cache=Nw.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)};nk.prototype.final=function(t,e){return this.cache.length&&this.ghash(Nw.concat([this.cache,mq0],16)),this.ghash(pIe([0,t,0,e])),this.state};hIe.exports=nk});var Yne=D((dGn,gIe)=>{u();p();var yq0=tk(),Bc=En().Buffer,bIe=d8(),gq0=Nt(),yIe=mIe(),vq0=Fw(),wq0=Wne();function Tq0(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 Eq0=tk(),$ne=En().Buffer,vIe=d8(),_q0=Nt();function eU(t,e,n,a){vIe.call(this),this._cipher=new Eq0.AES(e),this._prev=$ne.from(n),this._cache=$ne.allocUnsafe(0),this._secCache=$ne.allocUnsafe(0),this._decrypt=a,this._mode=t}_q0(eU,vIe);eU.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)};eU.prototype._final=function(){this._cipher.scrub()};wIe.exports=eU});var ak=D((bGn,TIe)=>{u();p();var Vy=En().Buffer,Aq0=LO();function Cq0(t,e,n,a){if(Vy.isBuffer(t)||(t=Vy.from(t,"binary")),e&&(Vy.isBuffer(e)||(e=Vy.from(e,"binary")),e.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var r=n/8,f=Vy.alloc(r),i=Vy.alloc(a||0),s=Vy.alloc(0);r>0||a>0;){var o=new Aq0;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}}TIe.exports=Cq0});var AIe=D(Xne=>{u();p();var xIe=XO(),Iq0=Yne(),u8=En().Buffer,kq0=Jne(),EIe=d8(),Sq0=tk(),Rq0=ak(),Mq0=Nt();function rk(t,e,n){EIe.call(this),this._cache=new tU,this._cipher=new Sq0.AES(e),this._prev=u8.from(n),this._mode=t,this._autopadding=!0}Mq0(rk,EIe);rk.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 u8.concat(a)};var Bq0=u8.alloc(16,16);rk.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")};rk.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this};function tU(){this.cache=u8.allocUnsafe(0)}tU.prototype.add=function(t){this.cache=u8.concat([this.cache,t])};tU.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};tU.prototype.flush=function(){for(var t=16-this.cache.length,e=u8.allocUnsafe(t),n=-1;++n{u();p();var Pq0=Yne(),Ow=En().Buffer,CIe=XO(),Lq0=Jne(),IIe=d8(),Fq0=tk(),Nq0=ak(),Oq0=Nt();function fk(t,e,n){IIe.call(this),this._cache=new nU,this._last=void 0,this._cipher=new Fq0.AES(e),this._prev=Ow.from(n),this._mode=t,this._autopadding=!0}Oq0(fk,IIe);fk.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 Ow.concat(a)};fk.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return Uq0(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")};fk.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this};function nU(){this.cache=Ow.allocUnsafe(0)}nU.prototype.add=function(t){this.cache=Ow.concat([this.cache,t])};nU.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};nU.prototype.flush=function(){if(this.cache.length)return this.cache};function Uq0(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 RIe=AIe(),MIe=SIe(),zq0=Gne();function Wq0(){return Object.keys(zq0)}il.createCipher=il.Cipher=RIe.createCipher;il.createCipheriv=il.Cipheriv=RIe.createCipheriv;il.createDecipher=il.Decipher=MIe.createDecipher;il.createDecipheriv=il.Decipheriv=MIe.createDecipheriv;il.listCiphers=il.getCiphers=Wq0});var BIe=D(p8=>{u();p();p8["des-ecb"]={key:8,iv:0};p8["des-cbc"]=p8.des={key:8,iv:8};p8["des-ede3-cbc"]=p8.des3={key:24,iv:8};p8["des-ede3"]={key:24,iv:0};p8["des-ede-cbc"]={key:16,iv:8};p8["des-ede"]={key:16,iv:0}});var NIe=D(sl=>{u();p();var DIe=QCe(),eae=aU(),F3=XO(),h8=BIe(),PIe=ak();function qq0(t,e){t=t.toLowerCase();var n,a;if(F3[t])n=F3[t].key,a=F3[t].iv;else if(h8[t])n=h8[t].key*8,a=h8[t].iv;else throw new TypeError("invalid suite type");var r=PIe(e,!1,n,a);return LIe(t,r.key,r.iv)}function jq0(t,e){t=t.toLowerCase();var n,a;if(F3[t])n=F3[t].key,a=F3[t].iv;else if(h8[t])n=h8[t].key*8,a=h8[t].iv;else throw new TypeError("invalid suite type");var r=PIe(e,!1,n,a);return FIe(t,r.key,r.iv)}function LIe(t,e,n){if(t=t.toLowerCase(),F3[t])return eae.createCipheriv(t,e,n);if(h8[t])return new DIe({key:e,iv:n,mode:t});throw new TypeError("invalid suite type")}function FIe(t,e,n){if(t=t.toLowerCase(),F3[t])return eae.createDecipheriv(t,e,n);if(h8[t])return new DIe({key:e,iv:n,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}function Gq0(){return Object.keys(h8).concat(eae.getCiphers())}sl.createCipher=sl.Cipher=qq0;sl.createCipheriv=sl.Cipheriv=LIe;sl.createDecipher=sl.Decipher=jq0;sl.createDecipheriv=sl.Decipheriv=FIe;sl.listCiphers=sl.getCiphers=Gq0});var tae=D((PGn,OIe)=>{u();p();var Yy=kr(),Kq0=Uw();function $y(t){this.rand=t||new Kq0.Rand}OIe.exports=$y;$y.create=function(e){return new $y(e)};$y.prototype._randbelow=function(e){var n=e.bitLength(),a=Math.ceil(n/8);do var r=new Yy(this.rand.generate(a));while(r.cmp(e)>=0);return r};$y.prototype._randrange=function(e,n){var a=n.sub(e);return e.add(this._randbelow(a))};$y.prototype.test=function(e,n,a){var r=e.bitLength(),f=Yy.mont(e),i=new Yy(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 Yy(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 Yy(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 Qq0=s8();zIe.exports=iae;iae.simpleSieve=rae;iae.fermatTest=fae;var Zs=kr(),Vq0=new Zs(24),Yq0=tae(),UIe=new Yq0,$q0=new Zs(1),aae=new Zs(2),Jq0=new Zs(5),NGn=new Zs(16),OGn=new Zs(8),Xq0=new Zs(10),Zq0=new Zs(3),UGn=new Zs(7),ej0=new Zs(11),HIe=new Zs(4),HGn=new Zs(12),nae=null;function tj0(){if(nae!==null)return nae;var t=1048576,e=[];e[0]=2;for(var n=1,a=3;at;)n.ishrn(1);if(n.isEven()&&n.iadd($q0),n.testn(1)||n.iadd(aae),e.cmp(aae)){if(!e.cmp(Jq0))for(;n.mod(Xq0).cmp(Zq0);)n.iadd(HIe)}else for(;n.mod(Vq0).cmp(ej0);)n.iadd(HIe);if(a=n.shrn(1),rae(a)&&rae(n)&&fae(a)&&fae(n)&&UIe.test(a)&&UIe.test(n))return n}}});var WIe=D((jGn,nj0)=>{nj0.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 KIe=D((GGn,GIe)=>{u();p();var M5=kr(),aj0=tae(),qIe=new aj0,rj0=new M5(24),fj0=new M5(11),ij0=new M5(10),sj0=new M5(3),oj0=new M5(7),jIe=sae(),cj0=s8();GIe.exports=m8;function dj0(t,e){return e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),this._pub=new M5(t),this}function lj0(t,e){return e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),this._priv=new M5(t),this}var rU={};function uj0(t,e){var n=e.toString("hex"),a=[n,t.toString(16)].join("_");if(a in rU)return rU[a];var r=0;if(t.isEven()||!jIe.simpleSieve||!jIe.fermatTest(t)||!qIe.test(t))return r+=1,n==="02"||n==="05"?r+=8:r+=4,rU[a]=r,r;qIe.test(t.shrn(1))||(r+=2);var f;switch(n){case"02":t.mod(rj0).cmp(fj0)&&(r+=8);break;case"05":f=t.mod(ij0),f.cmp(sj0)&&f.cmp(oj0)&&(r+=8);break;default:r+=4}return rU[a]=r,r}function m8(t,e,n){this.setGenerator(e),this.__prime=new M5(t),this._prime=M5.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=dj0,this.setPrivateKey=lj0):this._primeCode=8}Object.defineProperty(m8.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=uj0(this.__prime,this.__gen)),this._primeCode}});m8.prototype.generateKeys=function(){return this._priv||(this._priv=new M5(cj0(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()};m8.prototype.computeSecret=function(t){t=new M5(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 pj0=sae(),QIe=WIe(),oae=KIe();function hj0(t){var e=new _.Buffer(QIe[t].prime,"hex"),n=new _.Buffer(QIe[t].gen,"hex");return new oae(e,n)}var mj0={binary:!0,hex:!0,base64:!0};function VIe(t,e,n,a){return _.Buffer.isBuffer(e)||mj0[e]===void 0?VIe(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 oae(pj0(t,n),n,!0):(_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),new oae(t,n,!0)))}Hw.DiffieHellmanGroup=Hw.createDiffieHellmanGroup=Hw.getDiffieHellman=hj0;Hw.createDiffieHellman=Hw.DiffieHellman=VIe});var ik=D((JGn,cae)=>{"use strict";u();p();typeof x>"u"||!x.version||x.version.indexOf("v0.")===0||x.version.indexOf("v1.")===0&&x.version.indexOf("v1.8.")!==0?cae.exports={nextTick:bj0}:cae.exports=x;function bj0(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 x.nextTick(t);case 2:return x.nextTick(function(){t.call(null,e)});case 3:return x.nextTick(function(){t.call(null,e,n)});case 4:return x.nextTick(function(){t.call(null,e,n,a)});default:for(f=new Array(r-1),i=0;i{u();p();var yj0={}.toString;$Ie.exports=Array.isArray||function(t){return yj0.call(t)=="[object Array]"}});var dae=D((aKn,XIe)=>{u();p();XIe.exports=Or().EventEmitter});var sk=D((lae,eke)=>{u();p();var iU=Qf(),b8=iU.Buffer;function ZIe(t,e){for(var n in t)e[n]=t[n]}b8.from&&b8.alloc&&b8.allocUnsafe&&b8.allocUnsafeSlow?eke.exports=iU:(ZIe(iU,lae),lae.Buffer=zw);function zw(t,e,n){return b8(t,e,n)}ZIe(b8,zw);zw.from=function(t,e,n){if(typeof t=="number")throw new TypeError("Argument must not be a number");return b8(t,e,n)};zw.alloc=function(t,e,n){if(typeof t!="number")throw new TypeError("Argument must be a number");var a=b8(t);return e!==void 0?typeof n=="string"?a.fill(e,n):a.fill(e):a.fill(0),a};zw.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return b8(t)};zw.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return iU.SlowBuffer(t)}});var Ww=D(Ho=>{u();p();function gj0(t){return Array.isArray?Array.isArray(t):sU(t)==="[object Array]"}Ho.isArray=gj0;function vj0(t){return typeof t=="boolean"}Ho.isBoolean=vj0;function wj0(t){return t===null}Ho.isNull=wj0;function Tj0(t){return t==null}Ho.isNullOrUndefined=Tj0;function xj0(t){return typeof t=="number"}Ho.isNumber=xj0;function Ej0(t){return typeof t=="string"}Ho.isString=Ej0;function _j0(t){return typeof t=="symbol"}Ho.isSymbol=_j0;function Aj0(t){return t===void 0}Ho.isUndefined=Aj0;function Cj0(t){return sU(t)==="[object RegExp]"}Ho.isRegExp=Cj0;function Ij0(t){return typeof t=="object"&&t!==null}Ho.isObject=Ij0;function kj0(t){return sU(t)==="[object Date]"}Ho.isDate=kj0;function Sj0(t){return sU(t)==="[object Error]"||t instanceof Error}Ho.isError=Sj0;function Rj0(t){return typeof t=="function"}Ho.isFunction=Rj0;function Mj0(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}Ho.isPrimitive=Mj0;Ho.isBuffer=Qf().Buffer.isBuffer;function sU(t){return Object.prototype.toString.call(t)}});var nke=D((lKn,uae)=>{"use strict";u();p();function Bj0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var tke=sk().Buffer,ok=rl();function Dj0(t,e,n){t.copy(e,n)}uae.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 tke.alloc(0);for(var a=tke.allocUnsafe(n>>>0),r=this.head,f=0;r;)Dj0(r.data,a,f),f+=r.data.length,r=r.next;return a},t}();ok&&ok.inspect&&ok.inspect.custom&&(uae.exports.prototype[ok.inspect.custom]=function(){var t=ok.inspect({length:this.length});return this.constructor.name+" "+t})});var pae=D((hKn,ake)=>{"use strict";u();p();var oU=ik();function Pj0(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,oU.nextTick(cU,this,t)):oU.nextTick(cU,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,oU.nextTick(cU,n,f)):oU.nextTick(cU,n,f):e&&e(f)}),this)}function Lj0(){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 cU(t,e){t.emit("error",e)}ake.exports={destroy:Pj0,undestroy:Lj0}});var mae=D((yKn,lke)=>{"use strict";u();p();var Jy=ik();lke.exports=Ii;function fke(t){var e=this;this.next=null,this.entry=null,this.finish=function(){Zj0(e,t)}}var Fj0=!x.browser&&["v0.10","v0.9."].indexOf(x.version.slice(0,5))>-1?setImmediate:Jy.nextTick,qw;Ii.WritableState=dk;var ike=Object.create(Ww());ike.inherits=Nt();var Nj0={deprecate:Xte()},ske=dae(),lU=sk().Buffer,Oj0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Uj0(t){return lU.from(t)}function Hj0(t){return lU.isBuffer(t)||t instanceof Oj0}var oke=pae();ike.inherits(Ii,ske);function zj0(){}function dk(t,e){qw=qw||Xy(),t=t||{};var n=e instanceof qw;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){Vj0(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 fke(this)}dk.prototype.getBuffer=function(){for(var e=this.bufferedRequest,n=[];e;)n.push(e),e=e.next;return n};(function(){try{Object.defineProperty(dk.prototype,"buffer",{get:Nj0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var dU;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(dU=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ii,Symbol.hasInstance,{value:function(t){return dU.call(this,t)?!0:this!==Ii?!1:t&&t._writableState instanceof dk}})):dU=function(t){return t instanceof this};function Ii(t){if(qw=qw||Xy(),!dU.call(Ii,this)&&!(this instanceof qw))return new Ii(t);this._writableState=new dk(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)),ske.call(this)}Ii.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Wj0(t,e){var n=new Error("write after end");t.emit("error",n),Jy.nextTick(e,n)}function qj0(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),Jy.nextTick(a,f),r=!1),r}Ii.prototype.write=function(t,e,n){var a=this._writableState,r=!1,f=!a.objectMode&&Hj0(t);return f&&!lU.isBuffer(t)&&(t=Uj0(t)),typeof e=="function"&&(n=e,e=null),f?e="buffer":e||(e=a.defaultEncoding),typeof n!="function"&&(n=zj0),a.ended?Wj0(this,n):(f||qj0(this,a,t,n))&&(a.pendingcb++,r=Gj0(this,a,f,t,e,n)),r};Ii.prototype.cork=function(){var t=this._writableState;t.corked++};Ii.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&cke(this,t))};Ii.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 jj0(t,e,n){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=lU.from(e,n)),e}Object.defineProperty(Ii.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Gj0(t,e,n,a,r,f){if(!n){var i=jj0(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 uke=ik(),eG0=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};mke.exports=y8;var pke=Object.create(Ww());pke.inherits=Nt();var hke=gae(),yae=mae();pke.inherits(y8,hke);for(bae=eG0(yae.prototype),uU=0;uU{"use strict";u();p();var wae=sk().Buffer,bke=wae.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 aG0(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 rG0(t){var e=aG0(t);if(typeof e!="string"&&(wae.isEncoding===bke||!bke(t)))throw new Error("Unknown encoding: "+t);return e||t}yke.StringDecoder=lk;function lk(t){this.encoding=rG0(t);var e;switch(this.encoding){case"utf16le":this.text=dG0,this.end=lG0,e=4;break;case"utf8":this.fillLast=sG0,e=4;break;case"base64":this.text=uG0,this.end=pG0,e=3;break;default:this.write=hG0,this.end=mG0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=wae.allocUnsafe(e)}lk.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 fG0(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 iG0(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 sG0(t){var e=this.lastTotal-this.lastNeed,n=iG0(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 oG0(t,e){var n=fG0(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 cG0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function dG0(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 lG0(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 uG0(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 pG0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function hG0(t){return t.toString(this.encoding)}function mG0(t){return t&&t.length?this.write(t):""}});var gae=D((IKn,Ske)=>{"use strict";u();p();var Gw=ik();Ske.exports=ef;var bG0=JIe(),uk;ef.ReadableState=_ke;var CKn=Or().EventEmitter,Tke=function(t,e){return t.listeners(e).length},Cae=dae(),pk=sk().Buffer,yG0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function gG0(t){return pk.from(t)}function vG0(t){return pk.isBuffer(t)||t instanceof yG0}var xke=Object.create(Ww());xke.inherits=Nt();var xae=rl(),qa=void 0;xae&&xae.debuglog?qa=xae.debuglog("stream"):qa=function(){};var wG0=nke(),Eke=pae(),jw;xke.inherits(ef,Cae);var Eae=["error","close","destroy","pause","resume"];function TG0(t,e,n){if(typeof t.prependListener=="function")return t.prependListener(e,n);!t._events||!t._events[e]?t.on(e,n):bG0(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]}function _ke(t,e){uk=uk||Xy(),t=t||{};var n=e instanceof uk;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 wG0,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&&(jw||(jw=Tae().StringDecoder),this.decoder=new jw(t.encoding),this.encoding=t.encoding)}function ef(t){if(uk=uk||Xy(),!(this instanceof ef))return new ef(t);this._readableState=new _ke(t,this),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),Cae.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=Eke.destroy;ef.prototype._undestroy=Eke.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=pk.from(t,e),e=""),a=!0),Ake(this,t,e,!1,a)};ef.prototype.unshift=function(t){return Ake(this,t,null,!0,!1)};function Ake(t,e,n,a,r){var f=t._readableState;if(e===null)f.reading=!1,AG0(t,f);else{var i;r||(i=xG0(f,e)),i?t.emit("error",i):f.objectMode||e&&e.length>0?(typeof e!="string"&&!f.objectMode&&Object.getPrototypeOf(e)!==pk.prototype&&(e=gG0(e)),a?f.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):_ae(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?_ae(t,f,e,!1):Cke(t,f)):_ae(t,f,e,!1))):a||(f.reading=!1)}return EG0(f)}function _ae(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&&hU(t)),Cke(t,e)}function xG0(t,e){var n;return!vG0(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(n=new TypeError("Invalid non-string/buffer chunk")),n}function EG0(t){return!t.ended&&(t.needReadable||t.length=gke?t=gke:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function vke(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=_G0(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?Aae(this):hU(this),null;if(t=vke(t,e),t===0&&e.ended)return e.length===0&&Aae(this),null;var a=e.needReadable;qa("need readable",a),(e.length===0||e.length-t0?r=Ike(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&&Aae(this)),r!==null&&this.emit("data",r),r};function AG0(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,hU(t)}}function hU(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(qa("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?Gw.nextTick(wke,t):wke(t))}function wke(t){qa("emit readable"),t.emit("readable"),Iae(t)}function Cke(t,e){e.readingMore||(e.readingMore=!0,Gw.nextTick(CG0,t,e))}function CG0(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length1&&kke(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),Tke(t,"error")===0&&t.emit("error",F)}TG0(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 IG0(t){return function(){var e=t._readableState;qa("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,e.awaitDrain===0&&Tke(t,"data")&&(e.flowing=!0,Iae(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=MG0(t,e.buffer,e.decoder),n}function MG0(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 DG0(t,e){var n=pk.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 Aae(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,Gw.nextTick(PG0,e,t))}function PG0(t,e){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function kke(t,e){for(var n=0,a=t.length;n{"use strict";u();p();Bke.exports=g8;var mU=Xy(),Mke=Object.create(Ww());Mke.inherits=Nt();Mke.inherits(g8,mU);function LG0(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();Lke.exports=hk;var Dke=kae(),Pke=Object.create(Ww());Pke.inherits=Nt();Pke.inherits(hk,Dke);function hk(t){if(!(this instanceof hk))return new hk(t);Dke.call(this,t)}hk.prototype._transform=function(t,e,n){n(null,t)}});var Oke=D((Au,Nke)=>{u();p();Au=Nke.exports=gae();Au.Stream=Au;Au.Readable=Au;Au.Writable=mae();Au.Duplex=Xy();Au.Transform=kae();Au.PassThrough=Fke()});var bU=D((OKn,zke)=>{u();p();var Kw=Va(),NG0=s8();function OG0(t){var e=Uke(t),n=e.toRed(Kw.mont(t.modulus)).redPow(new Kw(t.publicExponent)).fromRed();return{blinder:n,unblinder:e.invm(t.modulus)}}function Uke(t){var e=t.modulus.byteLength(),n;do n=new Kw(NG0(e));while(n.cmp(t.modulus)>=0||!n.umod(t.prime1)||!n.umod(t.prime2));return n}function Hke(t,e){var n=OG0(e),a=e.modulus.byteLength(),r=new Kw(t).mul(n.blinder).umod(e.modulus),f=r.toRed(Kw.mont(e.prime1)),i=r.toRed(Kw.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)}Hke.getr=Uke;zke.exports=Hke});var Wke=D((zKn,UG0)=>{UG0.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 E6=D(qke=>{"use strict";u();p();var ol=qke,HG0=kr(),zG0=Mc(),yU=DN();ol.assert=zG0;ol.toArray=yU.toArray;ol.zero2=yU.zero2;ol.toHex=yU.toHex;ol.encode=yU.encode;function WG0(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}ol.getNAF=WG0;function qG0(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}ol.getJSF=qG0;function jG0(t,e,n){var a="_"+e;t.prototype[e]=function(){return this[a]!==void 0?this[a]:this[a]=n.call(this)}}ol.cachedProperty=jG0;function GG0(t){return typeof t=="string"?ol.toArray(t,"hex"):t}ol.parseBytes=GG0;function KG0(t){return new HG0(t,"hex","le")}ol.intFromLE=KG0});var bk=D((GKn,jke)=>{"use strict";u();p();var Zy=kr(),mk=E6(),gU=mk.getNAF,QG0=mk.getJSF,vU=mk.assert;function N3(t,e){this.type=t,this.p=new Zy(e.p,16),this.red=e.prime?Zy.red(e.prime):Zy.mont(this.p),this.zero=new Zy(0).toRed(this.red),this.one=new Zy(1).toRed(this.red),this.two=new Zy(2).toRed(this.red),this.n=e.n&&new Zy(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))}jke.exports=N3;N3.prototype.point=function(){throw new Error("Not implemented")};N3.prototype.validate=function(){throw new Error("Not implemented")};N3.prototype._fixedNafMul=function(e,n){vU(e.precomputed);var a=e._getDoubles(),r=gU(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];vU(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};N3.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]=gU(a[v],i[v],this._bitLength),o[k]=gU(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=QG0(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};B5.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 VG0=E6(),Jf=kr(),Sae=Nt(),Qw=bk(),YG0=VG0.assert;function D5(t){Qw.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)}Sae(D5,Qw);Gke.exports=D5;D5.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],YG0(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}}};D5.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]};D5.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}]};D5.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}};D5.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)};D5.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};D5.prototype._endoWnafMulAdd=function(e,n,a){for(var r=this._endoWnafT1,f=this._endoWnafT2,i=0;i":""};gs.prototype.isInfinity=function(){return this.inf};gs.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)};gs.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)};gs.prototype.getX=function(){return this.x.fromRed()};gs.prototype.getY=function(){return this.y.fromRed()};gs.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)};gs.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)};gs.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)};gs.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)};gs.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};gs.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){Qw.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}Sae(eo,Qw.BasePoint);D5.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 Yke=D((JKn,Vke)=>{"use strict";u();p();var Vw=kr(),Qke=Nt(),wU=bk(),$G0=E6();function Yw(t){wU.call(this,"mont",t),this.a=new Vw(t.a,16).toRed(this.red),this.b=new Vw(t.b,16).toRed(this.red),this.i4=new Vw(4).toRed(this.red).redInvm(),this.two=new Vw(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}Qke(Yw,wU);Vke.exports=Yw;Yw.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 vs(t,e,n){wU.BasePoint.call(this,t,"projective"),e===null&&n===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new Vw(e,16),this.z=new Vw(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}Qke(vs,wU.BasePoint);Yw.prototype.decodePoint=function(e,n){return this.point($G0.toArray(e,n),1)};Yw.prototype.point=function(e,n){return new vs(this,e,n)};Yw.prototype.pointFromJSON=function(e){return vs.fromJSON(this,e)};vs.prototype.precompute=function(){};vs.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};vs.fromJSON=function(e,n){return new vs(e,n[0],n[1]||e.one)};vs.prototype.inspect=function(){return this.isInfinity()?"":""};vs.prototype.isInfinity=function(){return this.z.cmpn(0)===0};vs.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)};vs.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};vs.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)};vs.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};vs.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};vs.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};vs.prototype.eq=function(e){return this.getX().cmp(e.getX())===0};vs.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};vs.prototype.getX=function(){return this.normalize(),this.x.fromRed()}});var Xke=D((eQn,Jke)=>{"use strict";u();p();var JG0=E6(),v8=kr(),$ke=Nt(),TU=bk(),XG0=JG0.assert;function Cu(t){this.twisted=(t.a|0)!==1,this.mOneA=this.twisted&&(t.a|0)===-1,this.extended=this.mOneA,TU.call(this,"edwards",t),this.a=new v8(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new v8(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new v8(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),XG0(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(t.c|0)===1}$ke(Cu,TU);Jke.exports=Cu;Cu.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)};Cu.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)};Cu.prototype.jpoint=function(e,n,a,r){return this.point(e,n,a,r)};Cu.prototype.pointFromX=function(e,n){e=new v8(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)};Cu.prototype.pointFromY=function(e,n){e=new v8(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)};Cu.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){TU.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 v8(e,16),this.y=new v8(n,16),this.z=a?new v8(a,16):this.curve.one,this.t=r&&new v8(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()))))}$ke(Ur,TU.BasePoint);Cu.prototype.pointFromJSON=function(e){return Ur.fromJSON(this,e)};Cu.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 Rae=D(Zke=>{"use strict";u();p();var xU=Zke;xU.base=bk();xU.short=Kke();xU.mont=Yke();xU.edwards=Xke()});var cl=D(Sr=>{"use strict";u();p();var ZG0=Mc(),eK0=Nt();Sr.inherits=eK0;function tK0(t,e){return(t.charCodeAt(e)&64512)!==55296||e<0||e+1>=t.length?!1:(t.charCodeAt(e+1)&64512)===56320}function nK0(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):tK0(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=eSe;function rK0(t,e){for(var n="",a=0;a>>0}return f}Sr.join32=fK0;function iK0(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=iK0;function sK0(t,e){return t>>>e|t<<32-e}Sr.rotr32=sK0;function oK0(t,e){return t<>>32-e}Sr.rotl32=oK0;function cK0(t,e){return t+e>>>0}Sr.sum32=cK0;function dK0(t,e,n){return t+e+n>>>0}Sr.sum32_3=dK0;function lK0(t,e,n,a){return t+e+n+a>>>0}Sr.sum32_4=lK0;function uK0(t,e,n,a,r){return t+e+n+a+r>>>0}Sr.sum32_5=uK0;function pK0(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=pK0;function hK0(t,e,n,a){var r=e+a>>>0,f=(r>>0}Sr.sum64_hi=hK0;function mK0(t,e,n,a){var r=e+a;return r>>>0}Sr.sum64_lo=mK0;function bK0(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=bK0;function yK0(t,e,n,a,r,f,i,s){var o=e+a+f+s;return o>>>0}Sr.sum64_4_lo=yK0;function gK0(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=gK0;function vK0(t,e,n,a,r,f,i,s,o,c){var d=e+a+f+s+c;return d>>>0}Sr.sum64_5_lo=vK0;function wK0(t,e,n){var a=e<<32-n|t>>>n;return a>>>0}Sr.rotr64_hi=wK0;function TK0(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}Sr.rotr64_lo=TK0;function xK0(t,e,n){return t>>>n}Sr.shr64_hi=xK0;function EK0(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}Sr.shr64_lo=EK0});var $w=D(rSe=>{"use strict";u();p();var aSe=cl(),_K0=Mc();function EU(){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}rSe.BlockHash=EU;EU.prototype.update=function(e,n){if(e=aSe.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=aSe.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 AK0=cl(),Iu=AK0.rotr32;function CK0(t,e,n,a){if(t===0)return fSe(e,n,a);if(t===1||t===3)return sSe(e,n,a);if(t===2)return iSe(e,n,a)}w8.ft_1=CK0;function fSe(t,e,n){return t&e^~t&n}w8.ch32=fSe;function iSe(t,e,n){return t&e^t&n^e&n}w8.maj32=iSe;function sSe(t,e,n){return t^e^n}w8.p32=sSe;function IK0(t){return Iu(t,2)^Iu(t,13)^Iu(t,22)}w8.s0_256=IK0;function kK0(t){return Iu(t,6)^Iu(t,11)^Iu(t,25)}w8.s1_256=kK0;function SK0(t){return Iu(t,7)^Iu(t,18)^t>>>3}w8.g0_256=SK0;function RK0(t){return Iu(t,17)^Iu(t,19)^t>>>10}w8.g1_256=RK0});var dSe=D((mQn,cSe)=>{"use strict";u();p();var Jw=cl(),MK0=$w(),BK0=Mae(),Bae=Jw.rotl32,yk=Jw.sum32,DK0=Jw.sum32_5,PK0=BK0.ft_1,oSe=MK0.BlockHash,LK0=[1518500249,1859775393,2400959708,3395469782];function ku(){if(!(this instanceof ku))return new ku;oSe.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}Jw.inherits(ku,oSe);cSe.exports=ku;ku.blockSize=512;ku.outSize=160;ku.hmacStrength=80;ku.padLength=64;ku.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 Xw=cl(),FK0=$w(),Zw=Mae(),NK0=Mc(),dl=Xw.sum32,OK0=Xw.sum32_4,UK0=Xw.sum32_5,HK0=Zw.ch32,zK0=Zw.maj32,WK0=Zw.s0_256,qK0=Zw.s1_256,jK0=Zw.g0_256,GK0=Zw.g1_256,lSe=FK0.BlockHash,KK0=[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 Su(){if(!(this instanceof Su))return new Su;lSe.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=KK0,this.W=new Array(64)}Xw.inherits(Su,lSe);uSe.exports=Su;Su.blockSize=512;Su.outSize=256;Su.hmacStrength=192;Su.padLength=64;Su.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 Pae=cl(),pSe=Dae();function T8(){if(!(this instanceof T8))return new T8;pSe.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}Pae.inherits(T8,pSe);hSe.exports=T8;T8.blockSize=512;T8.outSize=224;T8.hmacStrength=192;T8.padLength=64;T8.prototype._digest=function(e){return e==="hex"?Pae.toHex32(this.h.slice(0,7),"big"):Pae.split32(this.h.slice(0,7),"big")}});var Nae=D((_Qn,vSe)=>{"use strict";u();p();var Dc=cl(),QK0=$w(),VK0=Mc(),Ru=Dc.rotr64_hi,Mu=Dc.rotr64_lo,bSe=Dc.shr64_hi,ySe=Dc.shr64_lo,O3=Dc.sum64,Lae=Dc.sum64_hi,Fae=Dc.sum64_lo,YK0=Dc.sum64_4_hi,$K0=Dc.sum64_4_lo,JK0=Dc.sum64_5_hi,XK0=Dc.sum64_5_lo,gSe=QK0.BlockHash,ZK0=[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 ll(){if(!(this instanceof ll))return new ll;gSe.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=ZK0,this.W=new Array(160)}Dc.inherits(ll,gSe);vSe.exports=ll;ll.blockSize=1024;ll.outSize=512;ll.hmacStrength=192;ll.padLength=128;ll.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 Oae=cl(),wSe=Nae();function x8(){if(!(this instanceof x8))return new x8;wSe.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}Oae.inherits(x8,wSe);TSe.exports=x8;x8.blockSize=1024;x8.outSize=384;x8.hmacStrength=192;x8.padLength=128;x8.prototype._digest=function(e){return e==="hex"?Oae.toHex32(this.h.slice(0,12),"big"):Oae.split32(this.h.slice(0,12),"big")}});var ESe=D(eT=>{"use strict";u();p();eT.sha1=dSe();eT.sha224=mSe();eT.sha256=Dae();eT.sha384=xSe();eT.sha512=Nae()});var SSe=D(kSe=>{"use strict";u();p();var e7=cl(),uQ0=$w(),_U=e7.rotl32,_Se=e7.sum32,gk=e7.sum32_3,ASe=e7.sum32_4,ISe=uQ0.BlockHash;function Bu(){if(!(this instanceof Bu))return new Bu;ISe.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}e7.inherits(Bu,ISe);kSe.ripemd160=Bu;Bu.blockSize=512;Bu.outSize=160;Bu.hmacStrength=192;Bu.padLength=64;Bu.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=_Se(_U(ASe(a,CSe(y,r,f,i),e[mQ0[y]+n],pQ0(y)),yQ0[y]),s);a=s,s=i,i=_U(f,10),f=r,r=v,v=_Se(_U(ASe(o,CSe(79-y,c,d,l),e[bQ0[y]+n],hQ0(y)),gQ0[y]),h),o=h,h=l,l=_U(d,10),d=c,c=v}v=gk(this.h[1],f,l),this.h[1]=gk(this.h[2],i,h),this.h[2]=gk(this.h[3],s,o),this.h[3]=gk(this.h[4],a,c),this.h[4]=gk(this.h[0],r,d),this.h[0]=v};Bu.prototype._digest=function(e){return e==="hex"?e7.toHex32(this.h,"little"):e7.split32(this.h,"little")};function CSe(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 pQ0(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function hQ0(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}var mQ0=[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],bQ0=[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],yQ0=[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],gQ0=[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 MSe=D((FQn,RSe)=>{"use strict";u();p();var vQ0=cl(),wQ0=Mc();function tT(t,e,n){if(!(this instanceof tT))return new tT(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(vQ0.toArray(e,n))}RSe.exports=tT;tT.prototype._init=function(e){e.length>this.blockSize&&(e=new this.Hash().update(e).digest()),wQ0(e.length<=this.blockSize);for(var n=e.length;n{u();p();var to=BSe;to.utils=cl();to.common=$w();to.sha=ESe();to.ripemd=SSe();to.hmac=MSe();to.sha1=to.sha.sha1;to.sha256=to.sha.sha256;to.sha224=to.sha.sha224;to.sha384=to.sha.sha384;to.sha512=to.sha.sha512;to.ripemd160=to.ripemd.ripemd160});var PSe=D((WQn,DSe)=>{u();p();DSe.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 AU=D(NSe=>{"use strict";u();p();var Hae=NSe,U3=t7(),Uae=Rae(),TQ0=E6(),LSe=TQ0.assert;function FSe(t){t.type==="short"?this.curve=new Uae.short(t):t.type==="edwards"?this.curve=new Uae.edwards(t):this.curve=new Uae.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,LSe(this.g.validate(),"Invalid curve"),LSe(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}Hae.PresetCurve=FSe;function H3(t,e){Object.defineProperty(Hae,t,{configurable:!0,enumerable:!0,get:function(){var n=new FSe(e);return Object.defineProperty(Hae,t,{configurable:!0,enumerable:!0,value:n}),n}})}H3("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:U3.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});H3("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:U3.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});H3("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:U3.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});H3("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:U3.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"]});H3("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:U3.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"]});H3("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:U3.sha256,gRed:!1,g:["9"]});H3("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:U3.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var zae;try{zae=PSe()}catch{zae=void 0}H3("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:U3.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",zae]})});var Wae=D((VQn,USe)=>{"use strict";u();p();var xQ0=t7(),n7=DN(),OSe=Mc();function z3(t){if(!(this instanceof z3))return new z3(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=n7.toArray(t.entropy,t.entropyEnc||"hex"),n=n7.toArray(t.nonce,t.nonceEnc||"hex"),a=n7.toArray(t.pers,t.persEnc||"hex");OSe(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,a)}USe.exports=z3;z3.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};z3.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=n7.toArray(a,r||"hex"),this._update(a));for(var f=[];f.length{"use strict";u();p();var EQ0=kr(),_Q0=E6(),qae=_Q0.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)}HSe.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 EQ0(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"?qae(e.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&qae(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()||qae(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 jSe=D((eVn,qSe)=>{"use strict";u();p();var CU=kr(),Kae=E6(),AQ0=Kae.assert;function IU(t,e){if(t instanceof IU)return t;this._importDER(t,e)||(AQ0(t.r&&t.s,"Signature without r or s"),this.r=new CU(t.r,16),this.s=new CU(t.s,16),t.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}qSe.exports=IU;function CQ0(){this.place=0}function jae(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 WSe(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)}IU.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=WSe(n),a=WSe(a);!a[0]&&!(a[1]&128);)a=a.slice(1);var r=[2];Gae(r,n.length),r=r.concat(n),r.push(2),Gae(r,a.length);var f=r.concat(a),i=[48];return Gae(i,f.length),i=i.concat(f),Kae.encode(i,e)}});var VSe=D((aVn,QSe)=>{"use strict";u();p();var a7=kr(),GSe=Wae(),IQ0=E6(),Qae=AU(),kQ0=Uw(),KSe=IQ0.assert,Vae=zSe(),kU=jSe();function P5(t){if(!(this instanceof P5))return new P5(t);typeof t=="string"&&(KSe(Object.prototype.hasOwnProperty.call(Qae,t),"Unknown curve "+t),t=Qae[t]),t instanceof Qae.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}QSe.exports=P5;P5.prototype.keyPair=function(e){return new Vae(this,e)};P5.prototype.keyFromPrivate=function(e,n){return Vae.fromPrivate(this,e,n)};P5.prototype.keyFromPublic=function(e,n){return Vae.fromPublic(this,e,n)};P5.prototype.genKeyPair=function(e){e||(e={});for(var n=new GSe({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||kQ0(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),r=this.n.sub(new a7(2));;){var f=new a7(n.generate(a));if(!(f.cmp(r)>0))return f.iaddn(1),this.keyFromPrivate(f)}};P5.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};P5.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 a7(e,16));for(var f=this.n.byteLength(),i=n.getPrivate().toArray("be",f),s=e.toArray("be",f),o=new GSe({hash:this.hash,entropy:i,nonce:s,pers:r.pers,persEnc:r.persEnc||"utf8"}),c=this.n.sub(new a7(1)),d=0;;d++){var l=r.k?r.k(d):new a7(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 kU({r:v,s:k,recoveryParam:O})}}}}}};P5.prototype.verify=function(e,n,a,r){e=this._truncateToN(new a7(e,16)),a=this.keyFromPublic(a,r),n=new kU(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)};P5.prototype.recoverPubKey=function(t,e,n,a){KSe((3&n)===n,"The recovery param is more than two bits"),e=new kU(e,a);var r=this.n,f=new a7(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)};P5.prototype.getKeyRecoveryParam=function(t,e,n,a){if(e=new kU(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 XSe=D((iVn,JSe)=>{"use strict";u();p();var vk=E6(),$Se=vk.assert,YSe=vk.parseBytes,nT=vk.cachedProperty;function ws(t,e){this.eddsa=t,this._secret=YSe(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=YSe(e.pub)}ws.fromPublic=function(e,n){return n instanceof ws?n:new ws(e,{pub:n})};ws.fromSecret=function(e,n){return n instanceof ws?n:new ws(e,{secret:n})};ws.prototype.secret=function(){return this._secret};nT(ws,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});nT(ws,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});nT(ws,"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});nT(ws,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});nT(ws,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});nT(ws,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});ws.prototype.sign=function(e){return $Se(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)};ws.prototype.verify=function(e,n){return this.eddsa.verify(e,n,this)};ws.prototype.getSecret=function(e){return $Se(this._secret,"KeyPair is public only"),vk.encode(this.secret(),e)};ws.prototype.getPublic=function(e){return vk.encode(this.pubBytes(),e)};JSe.exports=ws});var eRe=D((cVn,ZSe)=>{"use strict";u();p();var SQ0=kr(),SU=E6(),RQ0=SU.assert,RU=SU.cachedProperty,MQ0=SU.parseBytes;function r7(t,e){this.eddsa=t,typeof e!="object"&&(e=MQ0(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),RQ0(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof SQ0&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}RU(r7,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});RU(r7,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});RU(r7,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});RU(r7,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});r7.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};r7.prototype.toHex=function(){return SU.encode(this.toBytes(),"hex").toUpperCase()};ZSe.exports=r7});var fRe=D((uVn,rRe)=>{"use strict";u();p();var BQ0=t7(),DQ0=AU(),aT=E6(),PQ0=aT.assert,nRe=aT.parseBytes,aRe=XSe(),tRe=eRe();function Pc(t){if(PQ0(t==="ed25519","only tested with ed25519 so far"),!(this instanceof Pc))return new Pc(t);t=DQ0[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}rRe.exports=Pc;Pc.prototype.sign=function(e,n){e=nRe(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})};Pc.prototype.verify=function(e,n,a){e=nRe(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)};Pc.prototype.hashInt=function(){for(var e=this.hash(),n=0;n{"use strict";u();p();var f7=iRe;f7.version=Wke().version;f7.utils=E6();f7.rand=Uw();f7.curve=Rae();f7.curves=AU();f7.ec=VSe();f7.eddsa=fRe()});var sRe=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 oRe=fT(),LQ0=Nt(),FQ0=cRe;FQ0.define=function(e,n){return new rT(e,n)};function rT(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}rT.prototype._createNamed=function(e){var n;try{n=sRe().runInThisContext("(function "+this.name+`(entity) { + `)+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}Vn.types=w_e();function A_e(t){return Array.isArray(t)}Vn.isArray=A_e;function Kte(t){return typeof t=="boolean"}Vn.isBoolean=Kte;function uO(t){return t===null}Vn.isNull=uO;function pU0(t){return t==null}Vn.isNullOrUndefined=pU0;function C_e(t){return typeof t=="number"}Vn.isNumber=C_e;function pO(t){return typeof t=="string"}Vn.isString=pO;function hU0(t){return typeof t=="symbol"}Vn.isSymbol=hU0;function Fy(t){return t===void 0}Vn.isUndefined=Fy;function RI(t){return Mw(t)&&Qte(t)==="[object RegExp]"}Vn.isRegExp=RI;Vn.types.isRegExp=RI;function Mw(t){return typeof t=="object"&&t!==null}Vn.isObject=Mw;function lO(t){return Mw(t)&&Qte(t)==="[object Date]"}Vn.isDate=lO;Vn.types.isDate=lO;function MI(t){return Mw(t)&&(Qte(t)==="[object Error]"||t instanceof Error)}Vn.isError=MI;Vn.types.isNativeError=MI;function cO(t){return typeof t=="function"}Vn.isFunction=cO;function mU0(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}Vn.isPrimitive=mU0;Vn.isBuffer=x_e();function Qte(t){return Object.prototype.toString.call(t)}function jte(t){return t<10?"0"+t.toString(10):t.toString(10)}var bU0=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function yU0(){var t=new Date,e=[jte(t.getHours()),jte(t.getMinutes()),jte(t.getSeconds())].join(":");return[t.getDate(),bU0[t.getMonth()],e].join(" ")}Vn.log=function(){console.log("%s - %s",yU0(),Vn.format.apply(Vn,arguments))};Vn.inherits=Nt();Vn._extend=function(t,e){if(!e||!Mw(e))return t;for(var n=Object.keys(e),a=n.length;a--;)t[n[a]]=e[n[a]];return t};function I_e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Ly=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(Ly&&e[Ly]){var n=e[Ly];if(typeof n!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(n,Ly,{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 k_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 S_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 hO.alloc(0);for(var a=hO.allocUnsafe(n>>>0),r=this.head,f=0;r;)IU0(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=hO.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:CU0,value:function(n,a){return Vte(this,S_e(S_e({},a),{},{depth:0,customInspect:!1}))}}]),t}()});var $te=D((eWn,L_e)=>{"use strict";u();p();function kU0(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,x.nextTick(Yte,this,t)):x.nextTick(Yte,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?x.nextTick(mO,n):(n._writableState.errorEmitted=!0,x.nextTick(P_e,n,f)):x.nextTick(P_e,n,f):e?(x.nextTick(mO,n),e(f)):x.nextTick(mO,n)}),this)}function P_e(t,e){Yte(t,e),mO(t)}function mO(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function SU0(){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 Yte(t,e){t.emit("error",e)}function RU0(t,e){var n=t._readableState,a=t._writableState;n&&n.autoDestroy||a&&a.autoDestroy?t.destroy(e):t.emit("error",e)}L_e.exports={destroy:kU0,undestroy:SU0,errorOrDestroy:RU0}});var Ny=D((aWn,O_e)=>{"use strict";u();p();function MU0(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var N_e={};function A5(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,N_e[t]=r}function F_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 BU0(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function DU0(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function PU0(t,e,n){return typeof n!="number"&&(n=0),n+e.length>t.length?!1:t.indexOf(e,n)!==-1}A5("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);A5("ERR_INVALID_ARG_TYPE",function(t,e,n){var a;typeof e=="string"&&BU0(e,"not ")?(a="must not be",e=e.replace(/^not /,"")):a="must be";var r;if(DU0(t," argument"))r="The ".concat(t," ").concat(a," ").concat(F_e(e,"type"));else{var f=PU0(t,".")?"property":"argument";r='The "'.concat(t,'" ').concat(f," ").concat(a," ").concat(F_e(e,"type"))}return r+=". Received type ".concat(typeof n),r},TypeError);A5("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");A5("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"});A5("ERR_STREAM_PREMATURE_CLOSE","Premature close");A5("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"});A5("ERR_MULTIPLE_CALLBACK","Callback called multiple times");A5("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");A5("ERR_STREAM_WRITE_AFTER_END","write after end");A5("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);A5("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError);A5("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");O_e.exports.codes=N_e});var Jte=D((iWn,U_e)=>{"use strict";u();p();var LU0=Ny().codes.ERR_INVALID_OPT_VALUE;function FU0(t,e,n){return t.highWaterMark!=null?t.highWaterMark:e?t[n]:null}function NU0(t,e,n,a){var r=FU0(e,a,n);if(r!=null){if(!(isFinite(r)&&Math.floor(r)===r)||r<0){var f=a?n:"highWaterMark";throw new LU0(f,r)}return Math.floor(r)}return t.objectMode?16:16*1024}U_e.exports={getHighWaterMark:NU0}});var Zte=D((cWn,H_e)=>{u();p();H_e.exports=OU0;function OU0(t,e){if(Xte("noDeprecation"))return t;var n=!1;function a(){if(!n){if(Xte("throwDeprecation"))throw new Error(e);Xte("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}return a}function Xte(t){try{if(!global.localStorage)return!1}catch{return!1}var e=global.localStorage[t];return e==null?!1:String(e).toLowerCase()==="true"}});var gO=D((uWn,K_e)=>{"use strict";u();p();K_e.exports=$f;function W_e(t){var e=this;this.next=null,this.entry=null,this.finish=function(){lH0(e,t)}}var Bw;$f.WritableState=DI;var UU0={deprecate:Zte()},q_e=vte(),yO=Qf().Buffer,HU0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function zU0(t){return yO.from(t)}function WU0(t){return yO.isBuffer(t)||t instanceof HU0}var tne=$te(),qU0=Jte(),jU0=qU0.getHighWaterMark,S3=Ny().codes,GU0=S3.ERR_INVALID_ARG_TYPE,KU0=S3.ERR_METHOD_NOT_IMPLEMENTED,QU0=S3.ERR_MULTIPLE_CALLBACK,VU0=S3.ERR_STREAM_CANNOT_PIPE,YU0=S3.ERR_STREAM_DESTROYED,$U0=S3.ERR_STREAM_NULL_VALUES,JU0=S3.ERR_STREAM_WRITE_AFTER_END,XU0=S3.ERR_UNKNOWN_ENCODING,Dw=tne.errorOrDestroy;Nt()($f,q_e);function ZU0(){}function DI(t,e,n){Bw=Bw||R3(),t=t||{},typeof n!="boolean"&&(n=e instanceof Bw),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=jU0(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){iH0(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 W_e(this)}DI.prototype.getBuffer=function(){for(var e=this.bufferedRequest,n=[];e;)n.push(e),e=e.next;return n};(function(){try{Object.defineProperty(DI.prototype,"buffer",{get:UU0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var bO;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(bO=Function.prototype[Symbol.hasInstance],Object.defineProperty($f,Symbol.hasInstance,{value:function(e){return bO.call(this,e)?!0:this!==$f?!1:e&&e._writableState instanceof DI}})):bO=function(e){return e instanceof this};function $f(t){Bw=Bw||R3();var e=this instanceof Bw;if(!e&&!bO.call($f,this))return new $f(t);this._writableState=new DI(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)),q_e.call(this)}$f.prototype.pipe=function(){Dw(this,new VU0)};function eH0(t,e){var n=new JU0;Dw(t,n),x.nextTick(e,n)}function tH0(t,e,n,a){var r;return n===null?r=new $U0:typeof n!="string"&&!e.objectMode&&(r=new GU0("chunk",["string","Buffer"],n)),r?(Dw(t,r),x.nextTick(a,r),!1):!0}$f.prototype.write=function(t,e,n){var a=this._writableState,r=!1,f=!a.objectMode&&WU0(t);return f&&!yO.isBuffer(t)&&(t=zU0(t)),typeof e=="function"&&(n=e,e=null),f?e="buffer":e||(e=a.defaultEncoding),typeof n!="function"&&(n=ZU0),a.ending?eH0(this,n):(f||tH0(this,a,t,n))&&(a.pendingcb++,r=aH0(this,a,f,t,e,n)),r};$f.prototype.cork=function(){this._writableState.corked++};$f.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&j_e(this,t))};$f.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 XU0(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty($f.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function nH0(t,e,n){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=yO.from(e,n)),e}Object.defineProperty($f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function aH0(t,e,n,a,r,f){if(!n){var i=nH0(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 uH0=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};V_e.exports=Eu;var Q_e=TO(),ane=gO();Nt()(Eu,Q_e);for(nne=uH0(ane.prototype),vO=0;vO{"use strict";u();p();var fne=En().Buffer,Y_e=fne.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 mH0(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 bH0(t){var e=mH0(t);if(typeof e!="string"&&(fne.isEncoding===Y_e||!Y_e(t)))throw new Error("Unknown encoding: "+t);return e||t}$_e.StringDecoder=PI;function PI(t){this.encoding=bH0(t);var e;switch(this.encoding){case"utf16le":this.text=xH0,this.end=EH0,e=4;break;case"utf8":this.fillLast=vH0,e=4;break;case"base64":this.text=_H0,this.end=AH0,e=3;break;default:this.write=CH0,this.end=IH0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=fne.allocUnsafe(e)}PI.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 yH0(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 gH0(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 vH0(t){var e=this.lastTotal-this.lastNeed,n=gH0(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 wH0(t,e){var n=yH0(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 TH0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function xH0(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 EH0(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 _H0(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 AH0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function CH0(t){return t.toString(this.encoding)}function IH0(t){return t&&t.length?this.write(t):""}});var LI=D((TWn,Z_e)=>{"use strict";u();p();var J_e=Ny().codes.ERR_STREAM_PREMATURE_CLOSE;function kH0(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 EO;function M3(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=BH0(t,"string");return typeof e=="symbol"?e:String(e)}function BH0(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 DH0=LI(),B3=Symbol("lastResolve"),Oy=Symbol("lastReject"),FI=Symbol("error"),_O=Symbol("ended"),Uy=Symbol("lastPromise"),ine=Symbol("handlePromise"),Hy=Symbol("stream");function D3(t,e){return{value:t,done:e}}function PH0(t){var e=t[B3];if(e!==null){var n=t[Hy].read();n!==null&&(t[Uy]=null,t[B3]=null,t[Oy]=null,e(D3(n,!1)))}}function LH0(t){x.nextTick(PH0,t)}function FH0(t,e){return function(n,a){t.then(function(){if(e[_O]){n(D3(void 0,!0));return}e[ine](n,a)},a)}}var NH0=Object.getPrototypeOf(function(){}),OH0=Object.setPrototypeOf((EO={get stream(){return this[Hy]},next:function(){var e=this,n=this[FI];if(n!==null)return Promise.reject(n);if(this[_O])return Promise.resolve(D3(void 0,!0));if(this[Hy].destroyed)return new Promise(function(i,s){x.nextTick(function(){e[FI]?s(e[FI]):i(D3(void 0,!0))})});var a=this[Uy],r;if(a)r=new Promise(FH0(a,this));else{var f=this[Hy].read();if(f!==null)return Promise.resolve(D3(f,!1));r=new Promise(this[ine])}return this[Uy]=r,r}},M3(EO,Symbol.asyncIterator,function(){return this}),M3(EO,"return",function(){var e=this;return new Promise(function(n,a){e[Hy].destroy(null,function(r){if(r){a(r);return}n(D3(void 0,!0))})})}),EO),NH0),UH0=function(e){var n,a=Object.create(OH0,(n={},M3(n,Hy,{value:e,writable:!0}),M3(n,B3,{value:null,writable:!0}),M3(n,Oy,{value:null,writable:!0}),M3(n,FI,{value:null,writable:!0}),M3(n,_O,{value:e._readableState.endEmitted,writable:!0}),M3(n,ine,{value:function(f,i){var s=a[Hy].read();s?(a[Uy]=null,a[B3]=null,a[Oy]=null,f(D3(s,!1))):(a[B3]=f,a[Oy]=i)},writable:!0}),n));return a[Uy]=null,DH0(e,function(r){if(r&&r.code!=="ERR_STREAM_PREMATURE_CLOSE"){var f=a[Oy];f!==null&&(a[Uy]=null,a[B3]=null,a[Oy]=null,f(r)),a[FI]=r;return}var i=a[B3];i!==null&&(a[Uy]=null,a[B3]=null,a[Oy]=null,i(D3(void 0,!0))),a[_O]=!0}),e.on("readable",LH0.bind(null,a)),a};eAe.exports=UH0});var aAe=D((IWn,nAe)=>{u();p();nAe.exports=function(){throw new Error("Readable.from is not available in the browser")}});var TO=D((MWn,pAe)=>{"use strict";u();p();pAe.exports=Ea;var Pw;Ea.ReadableState=sAe;var RWn=Or().EventEmitter,iAe=function(e,n){return e.listeners(n).length},OI=vte(),AO=Qf().Buffer,HH0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function zH0(t){return AO.from(t)}function WH0(t){return AO.isBuffer(t)||t instanceof HH0}var sne=rl(),Un;sne&&sne.debuglog?Un=sne.debuglog("stream"):Un=function(){};var qH0=D_e(),hne=$te(),jH0=Jte(),GH0=jH0.getHighWaterMark,CO=Ny().codes,KH0=CO.ERR_INVALID_ARG_TYPE,QH0=CO.ERR_STREAM_PUSH_AFTER_EOF,VH0=CO.ERR_METHOD_NOT_IMPLEMENTED,YH0=CO.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Lw,one,cne;Nt()(Ea,OI);var NI=hne.errorOrDestroy,dne=["error","close","destroy","pause","resume"];function $H0(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 sAe(t,e,n){Pw=Pw||R3(),t=t||{},typeof n!="boolean"&&(n=e instanceof Pw),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=GH0(this,t,"readableHighWaterMark",n),this.buffer=new qH0,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&&(Lw||(Lw=xO().StringDecoder),this.decoder=new Lw(t.encoding),this.encoding=t.encoding)}function Ea(t){if(Pw=Pw||R3(),!(this instanceof Ea))return new Ea(t);var e=this instanceof Pw;this._readableState=new sAe(t,this,e),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),OI.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=hne.destroy;Ea.prototype._undestroy=hne.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=AO.from(t,e),e=""),a=!0),oAe(this,t,e,!1,a)};Ea.prototype.unshift=function(t){return oAe(this,t,null,!0,!1)};function oAe(t,e,n,a,r){Un("readableAddChunk",e);var f=t._readableState;if(e===null)f.reading=!1,ZH0(t,f);else{var i;if(r||(i=JH0(f,e)),i)NI(t,i);else if(f.objectMode||e&&e.length>0)if(typeof e!="string"&&!f.objectMode&&Object.getPrototypeOf(e)!==AO.prototype&&(e=zH0(e)),a)f.endEmitted?NI(t,new YH0):lne(t,f,e,!0);else if(f.ended)NI(t,new QH0);else{if(f.destroyed)return!1;f.reading=!1,f.decoder&&!n?(e=f.decoder.write(e),f.objectMode||e.length!==0?lne(t,f,e,!1):pne(t,f)):lne(t,f,e,!1)}else a||(f.reading=!1,pne(t,f))}return!f.ended&&(f.length=rAe?t=rAe:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function fAe(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=XH0(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?une(this):IO(this),null;if(t=fAe(t,e),t===0&&e.ended)return e.length===0&&une(this),null;var a=e.needReadable;Un("need readable",a),(e.length===0||e.length-t0?r=lAe(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&&une(this)),r!==null&&this.emit("data",r),r};function ZH0(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?IO(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,cAe(t)))}}function IO(t){var e=t._readableState;Un("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(Un("emitReadable",e.flowing),e.emittedReadable=!0,x.nextTick(cAe,t))}function cAe(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,mne(t)}function pne(t,e){e.readingMore||(e.readingMore=!0,x.nextTick(ez0,t,e))}function ez0(t,e){for(;!e.reading&&!e.ended&&(e.length1&&uAe(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),iAe(t,"error")===0&&NI(t,O)}$H0(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 tz0(t){return function(){var n=t._readableState;Un("pipeOnDrain",n.awaitDrain),n.awaitDrain&&n.awaitDrain--,n.awaitDrain===0&&iAe(t,"data")&&(n.flowing=!0,mne(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?IO(this):a.reading||x.nextTick(nz0,this)),n};Ea.prototype.addListener=Ea.prototype.on;Ea.prototype.removeListener=function(t,e){var n=OI.prototype.removeListener.call(this,t,e);return t==="readable"&&x.nextTick(dAe,this),n};Ea.prototype.removeAllListeners=function(t){var e=OI.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&x.nextTick(dAe,this),e};function dAe(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 nz0(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,az0(this,t)),t.paused=!1,this};function az0(t,e){e.resumeScheduled||(e.resumeScheduled=!0,x.nextTick(rz0,t,e))}function rz0(t,e){Un("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),mne(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 mne(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 une(t){var e=t._readableState;Un("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,x.nextTick(fz0,e,t))}function fz0(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 cne===void 0&&(cne=aAe()),cne(Ea,t,e)});function uAe(t,e){for(var n=0,a=t.length;n{"use strict";u();p();mAe.exports=o8;var kO=Ny().codes,iz0=kO.ERR_METHOD_NOT_IMPLEMENTED,sz0=kO.ERR_MULTIPLE_CALLBACK,oz0=kO.ERR_TRANSFORM_ALREADY_TRANSFORMING,cz0=kO.ERR_TRANSFORM_WITH_LENGTH_0,SO=R3();Nt()(o8,SO);function dz0(t,e){var n=this._transformState;n.transforming=!1;var a=n.writecb;if(a===null)return this.emit("error",new sz0);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();yAe.exports=UI;var bAe=RO();Nt()(UI,bAe);function UI(t){if(!(this instanceof UI))return new UI(t);bAe.call(this,t)}UI.prototype._transform=function(t,e,n){n(null,t)}});var gne=D((HWn,TAe)=>{"use strict";u();p();var yne;function uz0(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var wAe=Ny().codes,pz0=wAe.ERR_MISSING_ARGS,hz0=wAe.ERR_STREAM_DESTROYED;function gAe(t){if(t)throw t}function mz0(t){return t.setHeader&&typeof t.abort=="function"}function bz0(t,e,n,a){a=uz0(a);var r=!1;t.on("close",function(){r=!0}),yne===void 0&&(yne=LI()),yne(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,mz0(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();a(i||new hz0("pipe"))}}}function vAe(t){t()}function yz0(t,e){return t.pipe(e)}function gz0(t){return!t.length||typeof t[t.length-1]!="function"?gAe:t.pop()}function vz0(){for(var t=arguments.length,e=new Array(t),n=0;n0;return bz0(i,o,c,function(d){r||(r=d),d&&f.forEach(vAe),!o&&(f.forEach(vAe),a(r))})});return e.reduce(yz0)}TAe.exports=vz0});var MO=D((C5,xAe)=>{u();p();C5=xAe.exports=TO();C5.Stream=C5;C5.Readable=C5;C5.Writable=gO();C5.Duplex=R3();C5.Transform=RO();C5.PassThrough=bne();C5.finished=LI();C5.pipeline=gne()});var vne=D((GWn,_Ae)=>{"use strict";u();p();var BO=En().Buffer,EAe=MO().Transform,wz0=Nt();function Tz0(t,e){if(!BO.isBuffer(t)&&typeof t!="string")throw new TypeError(e+" must be a string or a buffer")}function P3(t){EAe.call(this),this._block=BO.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}wz0(P3,EAe);P3.prototype._transform=function(t,e,n){var a=null;try{this.update(t,e)}catch(r){a=r}n(a)};P3.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(n){e=n}t(e)};P3.prototype.update=function(t,e){if(Tz0(t,"Data"),this._finalized)throw new Error("Digest already called");BO.isBuffer(t)||(t=BO.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};P3.prototype._update=function(){throw new Error("_update is not implemented")};P3.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};P3.prototype._digest=function(){throw new Error("_digest is not implemented")};_Ae.exports=P3});var LO=D((VWn,CAe)=>{"use strict";u();p();var xz0=Nt(),AAe=vne(),Ez0=En().Buffer,_z0=new Array(16);function DO(){AAe.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}xz0(DO,AAe);DO.prototype._update=function(){for(var t=_z0,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=Fo(n,a,r,f,t[0],3614090360,7),f=Fo(f,n,a,r,t[1],3905402710,12),r=Fo(r,f,n,a,t[2],606105819,17),a=Fo(a,r,f,n,t[3],3250441966,22),n=Fo(n,a,r,f,t[4],4118548399,7),f=Fo(f,n,a,r,t[5],1200080426,12),r=Fo(r,f,n,a,t[6],2821735955,17),a=Fo(a,r,f,n,t[7],4249261313,22),n=Fo(n,a,r,f,t[8],1770035416,7),f=Fo(f,n,a,r,t[9],2336552879,12),r=Fo(r,f,n,a,t[10],4294925233,17),a=Fo(a,r,f,n,t[11],2304563134,22),n=Fo(n,a,r,f,t[12],1804603682,7),f=Fo(f,n,a,r,t[13],4254626195,12),r=Fo(r,f,n,a,t[14],2792965006,17),a=Fo(a,r,f,n,t[15],1236535329,22),n=No(n,a,r,f,t[1],4129170786,5),f=No(f,n,a,r,t[6],3225465664,9),r=No(r,f,n,a,t[11],643717713,14),a=No(a,r,f,n,t[0],3921069994,20),n=No(n,a,r,f,t[5],3593408605,5),f=No(f,n,a,r,t[10],38016083,9),r=No(r,f,n,a,t[15],3634488961,14),a=No(a,r,f,n,t[4],3889429448,20),n=No(n,a,r,f,t[9],568446438,5),f=No(f,n,a,r,t[14],3275163606,9),r=No(r,f,n,a,t[3],4107603335,14),a=No(a,r,f,n,t[8],1163531501,20),n=No(n,a,r,f,t[13],2850285829,5),f=No(f,n,a,r,t[2],4243563512,9),r=No(r,f,n,a,t[7],1735328473,14),a=No(a,r,f,n,t[12],2368359562,20),n=Oo(n,a,r,f,t[5],4294588738,4),f=Oo(f,n,a,r,t[8],2272392833,11),r=Oo(r,f,n,a,t[11],1839030562,16),a=Oo(a,r,f,n,t[14],4259657740,23),n=Oo(n,a,r,f,t[1],2763975236,4),f=Oo(f,n,a,r,t[4],1272893353,11),r=Oo(r,f,n,a,t[7],4139469664,16),a=Oo(a,r,f,n,t[10],3200236656,23),n=Oo(n,a,r,f,t[13],681279174,4),f=Oo(f,n,a,r,t[0],3936430074,11),r=Oo(r,f,n,a,t[3],3572445317,16),a=Oo(a,r,f,n,t[6],76029189,23),n=Oo(n,a,r,f,t[9],3654602809,4),f=Oo(f,n,a,r,t[12],3873151461,11),r=Oo(r,f,n,a,t[15],530742520,16),a=Oo(a,r,f,n,t[2],3299628645,23),n=Uo(n,a,r,f,t[0],4096336452,6),f=Uo(f,n,a,r,t[7],1126891415,10),r=Uo(r,f,n,a,t[14],2878612391,15),a=Uo(a,r,f,n,t[5],4237533241,21),n=Uo(n,a,r,f,t[12],1700485571,6),f=Uo(f,n,a,r,t[3],2399980690,10),r=Uo(r,f,n,a,t[10],4293915773,15),a=Uo(a,r,f,n,t[1],2240044497,21),n=Uo(n,a,r,f,t[8],1873313359,6),f=Uo(f,n,a,r,t[15],4264355552,10),r=Uo(r,f,n,a,t[6],2734768916,15),a=Uo(a,r,f,n,t[13],1309151649,21),n=Uo(n,a,r,f,t[4],4149444226,6),f=Uo(f,n,a,r,t[11],3174756917,10),r=Uo(r,f,n,a,t[2],718787259,15),a=Uo(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};DO.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=Ez0.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 PO(t,e){return t<>>32-e}function Fo(t,e,n,a,r,f,i){return PO(t+(e&n|~e&a)+r+f|0,i)+e|0}function No(t,e,n,a,r,f,i){return PO(t+(e&a|n&~a)+r+f|0,i)+e|0}function Oo(t,e,n,a,r,f,i){return PO(t+(e^n^a)+r+f|0,i)+e|0}function Uo(t,e,n,a,r,f,i){return PO(t+(n^(e|~a))+r+f|0,i)+e|0}CAe.exports=DO});var NO=D((JWn,DAe)=>{"use strict";u();p();var wne=Qf().Buffer,Az0=Nt(),BAe=vne(),Cz0=new Array(16),HI=[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],zI=[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],WI=[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],qI=[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],jI=[0,1518500249,1859775393,2400959708,2840853838],GI=[1352829926,1548603684,1836072691,2053994217,0];function FO(){BAe.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}Az0(FO,BAe);FO.prototype._update=function(){for(var t=Cz0,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=IAe(n,a,r,f,i,t[HI[h]],jI[0],WI[h]),v=MAe(s,o,c,d,l,t[zI[h]],GI[0],qI[h])):h<32?(y=kAe(n,a,r,f,i,t[HI[h]],jI[1],WI[h]),v=RAe(s,o,c,d,l,t[zI[h]],GI[1],qI[h])):h<48?(y=SAe(n,a,r,f,i,t[HI[h]],jI[2],WI[h]),v=SAe(s,o,c,d,l,t[zI[h]],GI[2],qI[h])):h<64?(y=RAe(n,a,r,f,i,t[HI[h]],jI[3],WI[h]),v=kAe(s,o,c,d,l,t[zI[h]],GI[3],qI[h])):(y=MAe(n,a,r,f,i,t[HI[h]],jI[4],WI[h]),v=IAe(s,o,c,d,l,t[zI[h]],GI[4],qI[h])),n=i,i=f,f=zy(r,10),r=a,a=y,s=l,l=d,d=zy(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};FO.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=wne.alloc?wne.alloc(20):new wne(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 zy(t,e){return t<>>32-e}function IAe(t,e,n,a,r,f,i,s){return zy(t+(e^n^a)+f+i|0,s)+r|0}function kAe(t,e,n,a,r,f,i,s){return zy(t+(e&n|~e&a)+f+i|0,s)+r|0}function SAe(t,e,n,a,r,f,i,s){return zy(t+((e|~n)^a)+f+i|0,s)+r|0}function RAe(t,e,n,a,r,f,i,s){return zy(t+(e&a|n&~a)+f+i|0,s)+r|0}function MAe(t,e,n,a,r,f,i,s){return zy(t+(e^(n|~a))+f+i|0,s)+r|0}DAe.exports=FO});var Wy=D((eqn,LAe)=>{u();p();var PAe=En().Buffer;function OO(t,e){this._block=PAe.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}OO.prototype.update=function(t,e){typeof t=="string"&&(e=e||"utf8",t=PAe.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};OO.prototype._update=function(){throw new Error("_update must be implemented by subclass")};LAe.exports=OO});var OAe=D((aqn,NAe)=>{u();p();var Iz0=Nt(),FAe=Wy(),kz0=En().Buffer,Sz0=[1518500249,1859775393,-1894007588,-899497514],Rz0=new Array(80);function KI(){this.init(),this._w=Rz0,FAe.call(this,64,56)}Iz0(KI,FAe);KI.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 Bz0(t){return t<<30|t>>>2}function Dz0(t,e,n,a){return t===0?e&n|~e&a:t===2?e&n|e&a|n&a:e^n^a}KI.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)+Dz0(c,a,r,f)+i+e[o]+Sz0[c]|0;i=f,f=r,r=Bz0(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};KI.prototype._hash=function(){var t=kz0.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};NAe.exports=KI});var zAe=D((iqn,HAe)=>{u();p();var Pz0=Nt(),UAe=Wy(),Lz0=En().Buffer,Fz0=[1518500249,1859775393,-1894007588,-899497514],Nz0=new Array(80);function QI(){this.init(),this._w=Nz0,UAe.call(this,64,56)}Pz0(QI,UAe);QI.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function Oz0(t){return t<<1|t>>>31}function Uz0(t){return t<<5|t>>>27}function Hz0(t){return t<<30|t>>>2}function zz0(t,e,n,a){return t===0?e&n|~e&a:t===2?e&n|e&a|n&a:e^n^a}QI.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]=Oz0(e[s-3]^e[s-8]^e[s-14]^e[s-16]);for(var o=0;o<80;++o){var c=~~(o/20),d=Uz0(n)+zz0(c,a,r,f)+i+e[o]+Fz0[c]|0;i=f,f=r,r=Hz0(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};QI.prototype._hash=function(){var t=Lz0.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};HAe.exports=QI});var Tne=D((cqn,qAe)=>{u();p();var Wz0=Nt(),WAe=Wy(),qz0=En().Buffer,jz0=[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],Gz0=new Array(64);function VI(){this.init(),this._w=Gz0,WAe.call(this,64,56)}Wz0(VI,WAe);VI.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 Kz0(t,e,n){return n^t&(e^n)}function Qz0(t,e,n){return t&e|n&(t|e)}function Vz0(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function Yz0(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function $z0(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function Jz0(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}VI.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]=Jz0(e[d-2])+e[d-7]+$z0(e[d-15])+e[d-16]|0;for(var l=0;l<64;++l){var h=c+Yz0(i)+Kz0(i,s,o)+jz0[l]+e[l]|0,y=Vz0(n)+Qz0(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};VI.prototype._hash=function(){var t=qz0.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};qAe.exports=VI});var GAe=D((uqn,jAe)=>{u();p();var Xz0=Nt(),Zz0=Tne(),eW0=Wy(),tW0=En().Buffer,nW0=new Array(64);function UO(){this.init(),this._w=nW0,eW0.call(this,64,56)}Xz0(UO,Zz0);UO.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};UO.prototype._hash=function(){var t=tW0.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};jAe.exports=UO});var xne=D((mqn,XAe)=>{u();p();var aW0=Nt(),JAe=Wy(),rW0=En().Buffer,KAe=[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],fW0=new Array(160);function YI(){this.init(),this._w=fW0,JAe.call(this,128,112)}aW0(YI,JAe);YI.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 QAe(t,e,n){return n^t&(e^n)}function VAe(t,e,n){return t&e|n&(t|e)}function YAe(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function $Ae(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function iW0(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function sW0(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function oW0(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function cW0(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function ys(t,e){return t>>>0>>0?1:0}YI.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=iW0(W,j),V=sW0(j,W);W=e[z-2*2],j=e[z-2*2+1];var X=oW0(W,j),K=cW0(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,b=Q+G+ys(w,V)|0;w=w+K|0,b=b+X+ys(w,K)|0,w=w+N|0,b=b+T+ys(w,N)|0,e[z]=b,e[z+1]=w}for(var A=0;A<160;A+=2){b=e[A],w=e[A+1];var P=VAe(n,a,r),L=VAe(d,l,h),E=YAe(n,d),g=YAe(d,n),B=$Ae(i,v),M=$Ae(v,i),S=KAe[A],q=KAe[A+1],ee=QAe(i,s,o),U=QAe(v,k,O),J=F+M|0,Z=c+B+ys(J,F)|0;J=J+U|0,Z=Z+ee+ys(J,U)|0,J=J+q|0,Z=Z+S+ys(J,q)|0,J=J+w|0,Z=Z+b+ys(J,w)|0;var ne=g+L|0,ue=E+P+ys(ne,g)|0;c=o,F=O,o=s,O=k,s=i,k=v,v=y+J|0,i=f+Z+ys(v,y)|0,f=r,y=h,r=a,h=l,a=n,l=d,d=J+ne|0,n=Z+ue+ys(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+ys(this._al,d)|0,this._bh=this._bh+a+ys(this._bl,l)|0,this._ch=this._ch+r+ys(this._cl,h)|0,this._dh=this._dh+f+ys(this._dl,y)|0,this._eh=this._eh+i+ys(this._el,v)|0,this._fh=this._fh+s+ys(this._fl,k)|0,this._gh=this._gh+o+ys(this._gl,O)|0,this._hh=this._hh+c+ys(this._hl,F)|0};YI.prototype._hash=function(){var t=rW0.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};XAe.exports=YI});var eCe=D((gqn,ZAe)=>{u();p();var dW0=Nt(),lW0=xne(),uW0=Wy(),pW0=En().Buffer,hW0=new Array(160);function HO(){this.init(),this._w=hW0,uW0.call(this,128,112)}dW0(HO,lW0);HO.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};HO.prototype._hash=function(){var t=pW0.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};ZAe.exports=HO});var $I=D((c8,tCe)=>{u();p();var c8=tCe.exports=function(e){e=e.toLowerCase();var n=c8[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n};c8.sha=OAe();c8.sha1=zAe();c8.sha224=GAe();c8.sha256=Tne();c8.sha384=eCe();c8.sha512=xne()});var aCe=D((Eqn,nCe)=>{u();p();nCe.exports=I5;var Ene=Or().EventEmitter,mW0=Nt();mW0(I5,Ene);I5.Readable=TO();I5.Writable=gO();I5.Duplex=R3();I5.Transform=RO();I5.PassThrough=bne();I5.finished=LI();I5.pipeline=gne();I5.Stream=I5;function I5(){Ene.call(this)}I5.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(),Ene.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 d8=D((Cqn,iCe)=>{u();p();var rCe=En().Buffer,fCe=aCe().Transform,bW0=xO().StringDecoder,yW0=Nt();function fl(t){fCe.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}yW0(fl,fCe);fl.prototype.update=function(t,e,n){typeof t=="string"&&(t=rCe.from(t,e));var a=this._update(t);return this.hashMode?this:(n&&(a=this._toString(a,n)),a)};fl.prototype.setAutoPadding=function(){};fl.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")};fl.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")};fl.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")};fl.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)}};fl.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(n){e=n}t(e)};fl.prototype._finalOrDigest=function(t){var e=this.__final()||rCe.alloc(0);return t&&(e=this._toString(e,t,!0)),e};fl.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new bW0(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};iCe.exports=fl});var qy=D((Sqn,oCe)=>{"use strict";u();p();var gW0=Nt(),vW0=LO(),wW0=NO(),TW0=$I(),sCe=d8();function zO(t){sCe.call(this,"digest"),this._hash=t}gW0(zO,sCe);zO.prototype._update=function(t){this._hash.update(t)};zO.prototype._final=function(){return this._hash.digest()};oCe.exports=function(e){return e=e.toLowerCase(),e==="md5"?new vW0:e==="rmd160"||e==="ripemd160"?new wW0:new zO(TW0(e))}});var lCe=D((Bqn,dCe)=>{"use strict";u();p();var xW0=Nt(),jy=En().Buffer,cCe=d8(),EW0=jy.alloc(128),Fw=64;function WO(t,e){cCe.call(this,"digest"),typeof e=="string"&&(e=jy.from(e)),this._alg=t,this._key=e,e.length>Fw?e=t(e):e.length{u();p();var _W0=LO();uCe.exports=function(t){return new _W0().update(t).digest()}});var Ine=D((Oqn,hCe)=>{"use strict";u();p();var AW0=Nt(),CW0=lCe(),pCe=d8(),JI=En().Buffer,IW0=_ne(),Ane=NO(),Cne=$I(),kW0=JI.alloc(128);function XI(t,e){pCe.call(this,"digest"),typeof e=="string"&&(e=JI.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 Ane:Cne(t);e=a.update(e).digest()}else e.length{SW0.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 bCe=D((Wqn,mCe)=>{"use strict";u();p();mCe.exports=kne()});var Sne=D((Gqn,yCe)=>{u();p();var RW0=Math.pow(2,30)-1;yCe.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>RW0||e!==e)throw new TypeError("Bad key length")}});var Rne=D((Vqn,vCe)=>{u();p();var qO;global.process&&global.process.browser?qO="utf-8":global.process&&global.process.version?(gCe=parseInt(x.version.split(".")[0].slice(1),10),qO=gCe>=6?"utf-8":"binary"):qO="utf-8";var gCe;vCe.exports=qO});var Bne=D((Jqn,wCe)=>{u();p();var Mne=En().Buffer;wCe.exports=function(t,e,n){if(Mne.isBuffer(t))return t;if(typeof t=="string")return Mne.from(t,e);if(ArrayBuffer.isView(t))return Mne.from(t.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}});var Dne=D((ejn,_Ce)=>{u();p();var MW0=_ne(),BW0=NO(),DW0=$I(),Gy=En().Buffer,PW0=Sne(),TCe=Rne(),xCe=Bne(),LW0=Gy.alloc(128),jO={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function ECe(t,e,n){var a=FW0(t),r=t==="sha512"||t==="sha384"?128:64;e.length>r?e=a(e):e.length{u();p();var kCe=En().Buffer,OW0=Sne(),ACe=Rne(),CCe=Dne(),ICe=Bne(),GO,ZI=global.crypto&&global.crypto.subtle,UW0={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"},Pne=[];function HW0(t){if(global.process&&!global.process.browser||!ZI||!ZI.importKey||!ZI.deriveBits)return Promise.resolve(!1);if(Pne[t]!==void 0)return Pne[t];GO=GO||kCe.alloc(8);var e=SCe(GO,GO,10,128,t).then(function(){return!0}).catch(function(){return!1});return Pne[t]=e,e}var Ky;function Lne(){return Ky||(global.process&&global.process.nextTick?Ky=global.process.nextTick:global.queueMicrotask?Ky=global.queueMicrotask:global.setImmediate?Ky=global.setImmediate:Ky=global.setTimeout,Ky)}function SCe(t,e,n,a,r){return ZI.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then(function(f){return ZI.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:r}},f,a<<3)}).then(function(f){return kCe.from(f)})}function zW0(t,e){t.then(function(n){Lne()(function(){e(null,n)})},function(n){Lne()(function(){e(n)})})}RCe.exports=function(t,e,n,a,r,f){typeof r=="function"&&(f=r,r=void 0),r=r||"sha1";var i=UW0[r.toLowerCase()];if(!i||typeof global.Promise!="function"){Lne()(function(){var s;try{s=CCe(t,e,n,a,r)}catch(o){return f(o)}f(null,s)});return}if(OW0(n,a),t=ICe(t,ACe,"Password"),e=ICe(e,ACe,"Salt"),typeof f!="function")throw new Error("No callback provided to pbkdf2");zW0(HW0(i).then(function(s){return s?SCe(t,e,n,a,i):CCe(t,e,n,a,r)}),f)}});var Nne=D(Fne=>{u();p();Fne.pbkdf2=MCe();Fne.pbkdf2Sync=Dne()});var One=D(k5=>{"use strict";u();p();k5.readUInt32BE=function(e,n){var a=e[0+n]<<24|e[1+n]<<16|e[2+n]<<8|e[3+n];return a>>>0};k5.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};k5.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};k5.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};k5.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};k5.r28shl=function(e,n){return e<>>28-n};var KO=[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];k5.pc2=function(e,n,a,r){for(var f=0,i=0,s=KO.length>>>1,o=0;o>>KO[o]&1;for(var o=s;o>>KO[o]&1;a[r+0]=f>>>0,a[r+1]=i>>>0};k5.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 BCe=[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];k5.substitute=function(e,n){for(var a=0,r=0;r<4;r++){var f=e>>>18-r*6&63,i=BCe[r*64+f];a<<=4,a|=i}for(var r=0;r<4;r++){var f=n>>>18-r*6&63,i=BCe[4*64+r*64+f];a<<=4,a|=i}return a>>>0};var DCe=[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];k5.permute=function(e){for(var n=0,a=0;a>>DCe[a]&1;return n>>>0};k5.padSplit=function(e,n,a){for(var r=e.toString(2);r.length{"use strict";u();p();var WW0=Mc();function S5(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}PCe.exports=S5;S5.prototype._init=function(){};S5.prototype.update=function(e){return e.length===0?[]:this.type==="decrypt"?this._updateDecrypt(e):this._updateEncrypt(e)};S5.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};S5.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};S5.prototype._pad=function(e,n){if(n===0)return!1;for(;n{"use strict";u();p();var LCe=Mc(),qW0=Nt(),Ji=One(),FCe=QO();function jW0(){this.tmp=new Array(2),this.keys=null}function _u(t){FCe.call(this,t);var e=new jW0;this._desState=e,this.deriveKeys(e,t.key)}qW0(_u,FCe);NCe.exports=_u;_u.create=function(e){return new _u(e)};var GW0=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];_u.prototype.deriveKeys=function(e,n){e.keys=new Array(16*2),LCe.equal(n.length,this.blockSize,"Invalid key length");var a=Ji.readUInt32BE(n,0),r=Ji.readUInt32BE(n,4);Ji.pc1(a,r,e.tmp,0),a=e.tmp[0],r=e.tmp[1];for(var f=0;f>>1];a=Ji.r28shl(a,i),r=Ji.r28shl(r,i),Ji.pc2(a,r,e.keys,f)}};_u.prototype._update=function(e,n,a,r){var f=this._desState,i=Ji.readUInt32BE(e,n),s=Ji.readUInt32BE(e,n+4);Ji.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],Ji.writeUInt32BE(a,i,r),Ji.writeUInt32BE(a,s,r+4)};_u.prototype._pad=function(e,n){if(this.padding===!1)return!1;for(var a=e.length-n,r=n;r>>0,i=y}Ji.rip(s,i,r,f)};_u.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];Ji.expand(i,e.tmp,0),c^=e.tmp[0],d^=e.tmp[1];var l=Ji.substitute(c,d),h=Ji.permute(l),y=i;i=(s^h)>>>0,s=y}Ji.rip(i,s,r,f)}});var UCe=D(OCe=>{"use strict";u();p();var KW0=Mc(),QW0=Nt(),VO={};function VW0(t){KW0.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e{"use strict";u();p();var $W0=Mc(),JW0=Nt(),HCe=QO(),L3=Une();function XW0(t,e){$W0.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=[L3.create({type:"encrypt",key:n}),L3.create({type:"decrypt",key:a}),L3.create({type:"encrypt",key:r})]:this.ciphers=[L3.create({type:"decrypt",key:r}),L3.create({type:"encrypt",key:a}),L3.create({type:"decrypt",key:n})]}function Qy(t){HCe.call(this,t);var e=new XW0(this.type,this.options.key);this._edeState=e}JW0(Qy,HCe);zCe.exports=Qy;Qy.create=function(e){return new Qy(e)};Qy.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)};Qy.prototype._pad=L3.prototype._pad;Qy.prototype._unpad=L3.prototype._unpad});var qCe=D(Nw=>{"use strict";u();p();Nw.utils=One();Nw.Cipher=QO();Nw.DES=Une();Nw.CBC=UCe();Nw.EDE=WCe()});var KCe=D((Ijn,GCe)=>{u();p();var jCe=d8(),l8=qCe(),ZW0=Nt(),Vy=En().Buffer,ek={"des-ede3-cbc":l8.CBC.instantiate(l8.EDE),"des-ede3":l8.EDE,"des-ede-cbc":l8.CBC.instantiate(l8.EDE),"des-ede":l8.EDE,"des-cbc":l8.CBC.instantiate(l8.DES),"des-ecb":l8.DES};ek.des=ek["des-cbc"];ek.des3=ek["des-ede3-cbc"];GCe.exports=YO;ZW0(YO,jCe);function YO(t){jCe.call(this);var e=t.mode.toLowerCase(),n=ek[e],a;t.decrypt?a="decrypt":a="encrypt";var r=t.key;Vy.isBuffer(r)||(r=Vy.from(r)),(e==="des-ede"||e==="des-ede-cbc")&&(r=Vy.concat([r,r.slice(0,8)]));var f=t.iv;Vy.isBuffer(f)||(f=Vy.from(f)),this._des=n.create({key:r,iv:f,type:a})}YO.prototype._update=function(t){return Vy.from(this._des.update(t))};YO.prototype._final=function(){return Vy.from(this._des.final())}});var QCe=D(Hne=>{u();p();Hne.encrypt=function(t,e){return t._cipher.encryptBlock(e)};Hne.decrypt=function(t,e){return t._cipher.decryptBlock(e)}});var Ow=D((Djn,VCe)=>{u();p();VCe.exports=function(e,n){for(var a=Math.min(e.length,n.length),r=new _.Buffer(a),f=0;f{u();p();var YCe=Ow();zne.encrypt=function(t,e){var n=YCe(e,t._prev);return t._prev=t._cipher.encryptBlock(n),t._prev};zne.decrypt=function(t,e){var n=t._prev;t._prev=e;var a=t._cipher.decryptBlock(e);return YCe(a,n)}});var ZCe=D(XCe=>{u();p();var tk=En().Buffer,eq0=Ow();function JCe(t,e,n){var a=e.length,r=eq0(e,t._cache);return t._cache=t._cache.slice(a),t._prev=tk.concat([t._prev,n?e:r]),r}XCe.encrypt=function(t,e,n){for(var a=tk.allocUnsafe(0),r;e.length;)if(t._cache.length===0&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=tk.allocUnsafe(0)),t._cache.length<=e.length)r=t._cache.length,a=tk.concat([a,JCe(t,e.slice(0,r),n)]),e=e.slice(r);else{a=tk.concat([a,JCe(t,e,n)]);break}return a}});var tIe=D(eIe=>{u();p();var Wne=En().Buffer;function tq0(t,e,n){var a=t._cipher.encryptBlock(t._prev),r=a[0]^e;return t._prev=Wne.concat([t._prev.slice(1),Wne.from([n?e:r])]),r}eIe.encrypt=function(t,e,n){for(var a=e.length,r=Wne.allocUnsafe(a),f=-1;++f{u();p();var $O=En().Buffer;function nq0(t,e,n){for(var a,r=-1,f=8,i=0,s,o;++r>r%8,t._prev=aq0(t._prev,n?s:o);return i}function aq0(t,e){var n=t.length,a=-1,r=$O.allocUnsafe(t.length);for(t=$O.concat([t,$O.from([e])]);++a>7;return r}nIe.encrypt=function(t,e,n){for(var a=e.length,r=$O.allocUnsafe(a),f=-1;++f{u();p();var rq0=Ow();function fq0(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}rIe.encrypt=function(t,e){for(;t._cache.length{u();p();function iq0(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}}iIe.exports=iq0});var Gne=D(oIe=>{u();p();var sq0=Ow(),sIe=En().Buffer,oq0=qne();function cq0(t){var e=t._cipher.encryptBlockRaw(t._prev);return oq0(t._prev),e}var jne=16;oIe.encrypt=function(t,e){var n=Math.ceil(e.length/jne),a=t._cache.length;t._cache=sIe.concat([t._cache,sIe.allocUnsafe(n*jne)]);for(var r=0;r{dq0.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 XO=D((rGn,cIe)=>{u();p();var lq0={ECB:QCe(),CBC:$Ce(),CFB:ZCe(),CFB8:tIe(),CFB1:aIe(),OFB:fIe(),CTR:Gne(),GCM:Gne()},JO=Kne();for(Qne in JO)JO[Qne].module=lq0[JO[Qne].mode];var Qne;cIe.exports=JO});var nk=D((sGn,lIe)=>{u();p();var ZO=En().Buffer;function Yne(t){ZO.isBuffer(t)||(t=ZO.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 uq0=[0,1,2,4,8,16,32,64,128,27,54],Ci=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 R5(t){this._key=Yne(t),this._reset()}R5.blockSize=4*4;R5.keySize=256/8;R5.prototype.blockSize=R5.blockSize;R5.prototype.keySize=R5.keySize;R5.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,a=(n+1)*4,r=[],f=0;f>>24,i=Ci.SBOX[i>>>24]<<24|Ci.SBOX[i>>>16&255]<<16|Ci.SBOX[i>>>8&255]<<8|Ci.SBOX[i&255],i^=uq0[f/e|0]<<24):e>6&&f%e===4&&(i=Ci.SBOX[i>>>24]<<24|Ci.SBOX[i>>>16&255]<<16|Ci.SBOX[i>>>8&255]<<8|Ci.SBOX[i&255]),r[f]=r[f-e]^i}for(var s=[],o=0;o>>24]]^Ci.INV_SUB_MIX[1][Ci.SBOX[d>>>16&255]]^Ci.INV_SUB_MIX[2][Ci.SBOX[d>>>8&255]]^Ci.INV_SUB_MIX[3][Ci.SBOX[d&255]]}this._nRounds=n,this._keySchedule=r,this._invKeySchedule=s};R5.prototype.encryptBlockRaw=function(t){return t=Yne(t),dIe(t,this._keySchedule,Ci.SUB_MIX,Ci.SBOX,this._nRounds)};R5.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=ZO.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n};R5.prototype.decryptBlock=function(t){t=Yne(t);var e=t[1];t[1]=t[3],t[3]=e;var n=dIe(t,this._invKeySchedule,Ci.INV_SUB_MIX,Ci.INV_SBOX,this._nRounds),a=ZO.allocUnsafe(16);return a.writeUInt32BE(n[0],0),a.writeUInt32BE(n[3],4),a.writeUInt32BE(n[2],8),a.writeUInt32BE(n[1],12),a};R5.prototype.scrub=function(){Vne(this._keySchedule),Vne(this._invKeySchedule),Vne(this._key)};lIe.exports.AES=R5});var hIe=D((dGn,pIe)=>{u();p();var Uw=En().Buffer,pq0=Uw.alloc(16,0);function hq0(t){return[t.readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)]}function uIe(t){var e=Uw.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 ak(t){this.h=t,this.state=Uw.alloc(16,0),this.cache=Uw.allocUnsafe(0)}ak.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=uIe(e)};ak.prototype.update=function(t){this.cache=Uw.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)};ak.prototype.final=function(t,e){return this.cache.length&&this.ghash(Uw.concat([this.cache,pq0],16)),this.ghash(uIe([0,t,0,e])),this.state};pIe.exports=ak});var $ne=D((pGn,yIe)=>{u();p();var mq0=nk(),Bc=En().Buffer,mIe=d8(),bq0=Nt(),bIe=hIe(),yq0=Ow(),gq0=qne();function vq0(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 Tq0=nk(),Jne=En().Buffer,gIe=d8(),xq0=Nt();function eU(t,e,n,a){gIe.call(this),this._cipher=new Tq0.AES(e),this._prev=Jne.from(n),this._cache=Jne.allocUnsafe(0),this._secCache=Jne.allocUnsafe(0),this._decrypt=a,this._mode=t}xq0(eU,gIe);eU.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)};eU.prototype._final=function(){this._cipher.scrub()};vIe.exports=eU});var rk=D((vGn,wIe)=>{u();p();var $y=En().Buffer,Eq0=LO();function _q0(t,e,n,a){if($y.isBuffer(t)||(t=$y.from(t,"binary")),e&&($y.isBuffer(e)||(e=$y.from(e,"binary")),e.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var r=n/8,f=$y.alloc(r),i=$y.alloc(a||0),s=$y.alloc(0);r>0||a>0;){var o=new Eq0;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}}wIe.exports=_q0});var _Ie=D(Zne=>{u();p();var TIe=XO(),Aq0=$ne(),u8=En().Buffer,Cq0=Xne(),xIe=d8(),Iq0=nk(),kq0=rk(),Sq0=Nt();function fk(t,e,n){xIe.call(this),this._cache=new tU,this._cipher=new Iq0.AES(e),this._prev=u8.from(n),this._mode=t,this._autopadding=!0}Sq0(fk,xIe);fk.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 u8.concat(a)};var Rq0=u8.alloc(16,16);fk.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(Rq0))throw this._cipher.scrub(),new Error("data not multiple of block length")};fk.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this};function tU(){this.cache=u8.allocUnsafe(0)}tU.prototype.add=function(t){this.cache=u8.concat([this.cache,t])};tU.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};tU.prototype.flush=function(){for(var t=16-this.cache.length,e=u8.allocUnsafe(t),n=-1;++n{u();p();var Bq0=$ne(),Hw=En().Buffer,AIe=XO(),Dq0=Xne(),CIe=d8(),Pq0=nk(),Lq0=rk(),Fq0=Nt();function ik(t,e,n){CIe.call(this),this._cache=new nU,this._last=void 0,this._cipher=new Pq0.AES(e),this._prev=Hw.from(n),this._mode=t,this._autopadding=!0}Fq0(ik,CIe);ik.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 Hw.concat(a)};ik.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return Nq0(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")};ik.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this};function nU(){this.cache=Hw.allocUnsafe(0)}nU.prototype.add=function(t){this.cache=Hw.concat([this.cache,t])};nU.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};nU.prototype.flush=function(){if(this.cache.length)return this.cache};function Nq0(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 SIe=_Ie(),RIe=kIe(),Uq0=Kne();function Hq0(){return Object.keys(Uq0)}il.createCipher=il.Cipher=SIe.createCipher;il.createCipheriv=il.Cipheriv=SIe.createCipheriv;il.createDecipher=il.Decipher=RIe.createDecipher;il.createDecipheriv=il.Decipheriv=RIe.createDecipheriv;il.listCiphers=il.getCiphers=Hq0});var MIe=D(p8=>{u();p();p8["des-ecb"]={key:8,iv:0};p8["des-cbc"]=p8.des={key:8,iv:8};p8["des-ede3-cbc"]=p8.des3={key:24,iv:8};p8["des-ede3"]={key:24,iv:0};p8["des-ede-cbc"]={key:16,iv:8};p8["des-ede"]={key:16,iv:0}});var FIe=D(sl=>{u();p();var BIe=KCe(),tae=aU(),F3=XO(),h8=MIe(),DIe=rk();function zq0(t,e){t=t.toLowerCase();var n,a;if(F3[t])n=F3[t].key,a=F3[t].iv;else if(h8[t])n=h8[t].key*8,a=h8[t].iv;else throw new TypeError("invalid suite type");var r=DIe(e,!1,n,a);return PIe(t,r.key,r.iv)}function Wq0(t,e){t=t.toLowerCase();var n,a;if(F3[t])n=F3[t].key,a=F3[t].iv;else if(h8[t])n=h8[t].key*8,a=h8[t].iv;else throw new TypeError("invalid suite type");var r=DIe(e,!1,n,a);return LIe(t,r.key,r.iv)}function PIe(t,e,n){if(t=t.toLowerCase(),F3[t])return tae.createCipheriv(t,e,n);if(h8[t])return new BIe({key:e,iv:n,mode:t});throw new TypeError("invalid suite type")}function LIe(t,e,n){if(t=t.toLowerCase(),F3[t])return tae.createDecipheriv(t,e,n);if(h8[t])return new BIe({key:e,iv:n,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}function qq0(){return Object.keys(h8).concat(tae.getCiphers())}sl.createCipher=sl.Cipher=zq0;sl.createCipheriv=sl.Cipheriv=PIe;sl.createDecipher=sl.Decipher=Wq0;sl.createDecipheriv=sl.Decipheriv=LIe;sl.listCiphers=sl.getCiphers=qq0});var nae=D((NGn,NIe)=>{u();p();var Jy=kr(),jq0=zw();function Xy(t){this.rand=t||new jq0.Rand}NIe.exports=Xy;Xy.create=function(e){return new Xy(e)};Xy.prototype._randbelow=function(e){var n=e.bitLength(),a=Math.ceil(n/8);do var r=new Jy(this.rand.generate(a));while(r.cmp(e)>=0);return r};Xy.prototype._randrange=function(e,n){var a=n.sub(e);return e.add(this._randbelow(a))};Xy.prototype.test=function(e,n,a){var r=e.bitLength(),f=Jy.mont(e),i=new Jy(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 Jy(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 Jy(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 Gq0=s8();HIe.exports=sae;sae.simpleSieve=fae;sae.fermatTest=iae;var Zs=kr(),Kq0=new Zs(24),Qq0=nae(),OIe=new Qq0,Vq0=new Zs(1),rae=new Zs(2),Yq0=new Zs(5),HGn=new Zs(16),zGn=new Zs(8),$q0=new Zs(10),Jq0=new Zs(3),WGn=new Zs(7),Xq0=new Zs(11),UIe=new Zs(4),qGn=new Zs(12),aae=null;function Zq0(){if(aae!==null)return aae;var t=1048576,e=[];e[0]=2;for(var n=1,a=3;at;)n.ishrn(1);if(n.isEven()&&n.iadd(Vq0),n.testn(1)||n.iadd(rae),e.cmp(rae)){if(!e.cmp(Yq0))for(;n.mod($q0).cmp(Jq0);)n.iadd(UIe)}else for(;n.mod(Kq0).cmp(Xq0);)n.iadd(UIe);if(a=n.shrn(1),fae(a)&&fae(n)&&iae(a)&&iae(n)&&OIe.test(a)&&OIe.test(n))return n}}});var zIe=D((QGn,ej0)=>{ej0.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 GIe=D((VGn,jIe)=>{u();p();var M5=kr(),tj0=nae(),WIe=new tj0,nj0=new M5(24),aj0=new M5(11),rj0=new M5(10),fj0=new M5(3),ij0=new M5(7),qIe=oae(),sj0=s8();jIe.exports=m8;function oj0(t,e){return e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),this._pub=new M5(t),this}function cj0(t,e){return e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),this._priv=new M5(t),this}var rU={};function dj0(t,e){var n=e.toString("hex"),a=[n,t.toString(16)].join("_");if(a in rU)return rU[a];var r=0;if(t.isEven()||!qIe.simpleSieve||!qIe.fermatTest(t)||!WIe.test(t))return r+=1,n==="02"||n==="05"?r+=8:r+=4,rU[a]=r,r;WIe.test(t.shrn(1))||(r+=2);var f;switch(n){case"02":t.mod(nj0).cmp(aj0)&&(r+=8);break;case"05":f=t.mod(rj0),f.cmp(fj0)&&f.cmp(ij0)&&(r+=8);break;default:r+=4}return rU[a]=r,r}function m8(t,e,n){this.setGenerator(e),this.__prime=new M5(t),this._prime=M5.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=oj0,this.setPrivateKey=cj0):this._primeCode=8}Object.defineProperty(m8.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=dj0(this.__prime,this.__gen)),this._primeCode}});m8.prototype.generateKeys=function(){return this._priv||(this._priv=new M5(sj0(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()};m8.prototype.computeSecret=function(t){t=new M5(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 lj0=oae(),KIe=zIe(),cae=GIe();function uj0(t){var e=new _.Buffer(KIe[t].prime,"hex"),n=new _.Buffer(KIe[t].gen,"hex");return new cae(e,n)}var pj0={binary:!0,hex:!0,base64:!0};function QIe(t,e,n,a){return _.Buffer.isBuffer(e)||pj0[e]===void 0?QIe(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 cae(lj0(t,n),n,!0):(_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),new cae(t,n,!0)))}Ww.DiffieHellmanGroup=Ww.createDiffieHellmanGroup=Ww.getDiffieHellman=uj0;Ww.createDiffieHellman=Ww.DiffieHellman=QIe});var sk=D((eKn,dae)=>{"use strict";u();p();typeof x>"u"||!x.version||x.version.indexOf("v0.")===0||x.version.indexOf("v1.")===0&&x.version.indexOf("v1.8.")!==0?dae.exports={nextTick:hj0}:dae.exports=x;function hj0(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 x.nextTick(t);case 2:return x.nextTick(function(){t.call(null,e)});case 3:return x.nextTick(function(){t.call(null,e,n)});case 4:return x.nextTick(function(){t.call(null,e,n,a)});default:for(f=new Array(r-1),i=0;i{u();p();var mj0={}.toString;YIe.exports=Array.isArray||function(t){return mj0.call(t)=="[object Array]"}});var lae=D((iKn,JIe)=>{u();p();JIe.exports=Or().EventEmitter});var ok=D((uae,ZIe)=>{u();p();var iU=Qf(),b8=iU.Buffer;function XIe(t,e){for(var n in t)e[n]=t[n]}b8.from&&b8.alloc&&b8.allocUnsafe&&b8.allocUnsafeSlow?ZIe.exports=iU:(XIe(iU,uae),uae.Buffer=qw);function qw(t,e,n){return b8(t,e,n)}XIe(b8,qw);qw.from=function(t,e,n){if(typeof t=="number")throw new TypeError("Argument must not be a number");return b8(t,e,n)};qw.alloc=function(t,e,n){if(typeof t!="number")throw new TypeError("Argument must be a number");var a=b8(t);return e!==void 0?typeof n=="string"?a.fill(e,n):a.fill(e):a.fill(0),a};qw.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return b8(t)};qw.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return iU.SlowBuffer(t)}});var jw=D(Ho=>{u();p();function bj0(t){return Array.isArray?Array.isArray(t):sU(t)==="[object Array]"}Ho.isArray=bj0;function yj0(t){return typeof t=="boolean"}Ho.isBoolean=yj0;function gj0(t){return t===null}Ho.isNull=gj0;function vj0(t){return t==null}Ho.isNullOrUndefined=vj0;function wj0(t){return typeof t=="number"}Ho.isNumber=wj0;function Tj0(t){return typeof t=="string"}Ho.isString=Tj0;function xj0(t){return typeof t=="symbol"}Ho.isSymbol=xj0;function Ej0(t){return t===void 0}Ho.isUndefined=Ej0;function _j0(t){return sU(t)==="[object RegExp]"}Ho.isRegExp=_j0;function Aj0(t){return typeof t=="object"&&t!==null}Ho.isObject=Aj0;function Cj0(t){return sU(t)==="[object Date]"}Ho.isDate=Cj0;function Ij0(t){return sU(t)==="[object Error]"||t instanceof Error}Ho.isError=Ij0;function kj0(t){return typeof t=="function"}Ho.isFunction=kj0;function Sj0(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}Ho.isPrimitive=Sj0;Ho.isBuffer=Qf().Buffer.isBuffer;function sU(t){return Object.prototype.toString.call(t)}});var tke=D((hKn,pae)=>{"use strict";u();p();function Rj0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var eke=ok().Buffer,ck=rl();function Mj0(t,e,n){t.copy(e,n)}pae.exports=function(){function t(){Rj0(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 eke.alloc(0);for(var a=eke.allocUnsafe(n>>>0),r=this.head,f=0;r;)Mj0(r.data,a,f),f+=r.data.length,r=r.next;return a},t}();ck&&ck.inspect&&ck.inspect.custom&&(pae.exports.prototype[ck.inspect.custom]=function(){var t=ck.inspect({length:this.length});return this.constructor.name+" "+t})});var hae=D((yKn,nke)=>{"use strict";u();p();var oU=sk();function Bj0(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,oU.nextTick(cU,this,t)):oU.nextTick(cU,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,oU.nextTick(cU,n,f)):oU.nextTick(cU,n,f):e&&e(f)}),this)}function Dj0(){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 cU(t,e){t.emit("error",e)}nke.exports={destroy:Bj0,undestroy:Dj0}});var bae=D((wKn,dke)=>{"use strict";u();p();var Zy=sk();dke.exports=Ii;function rke(t){var e=this;this.next=null,this.entry=null,this.finish=function(){Jj0(e,t)}}var Pj0=!x.browser&&["v0.10","v0.9."].indexOf(x.version.slice(0,5))>-1?setImmediate:Zy.nextTick,Gw;Ii.WritableState=lk;var fke=Object.create(jw());fke.inherits=Nt();var Lj0={deprecate:Zte()},ike=lae(),lU=ok().Buffer,Fj0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Nj0(t){return lU.from(t)}function Oj0(t){return lU.isBuffer(t)||t instanceof Fj0}var ske=hae();fke.inherits(Ii,ike);function Uj0(){}function lk(t,e){Gw=Gw||e7(),t=t||{};var n=e instanceof Gw;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){Kj0(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 rke(this)}lk.prototype.getBuffer=function(){for(var e=this.bufferedRequest,n=[];e;)n.push(e),e=e.next;return n};(function(){try{Object.defineProperty(lk.prototype,"buffer",{get:Lj0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var dU;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(dU=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ii,Symbol.hasInstance,{value:function(t){return dU.call(this,t)?!0:this!==Ii?!1:t&&t._writableState instanceof lk}})):dU=function(t){return t instanceof this};function Ii(t){if(Gw=Gw||e7(),!dU.call(Ii,this)&&!(this instanceof Gw))return new Ii(t);this._writableState=new lk(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)),ike.call(this)}Ii.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Hj0(t,e){var n=new Error("write after end");t.emit("error",n),Zy.nextTick(e,n)}function zj0(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),Zy.nextTick(a,f),r=!1),r}Ii.prototype.write=function(t,e,n){var a=this._writableState,r=!1,f=!a.objectMode&&Oj0(t);return f&&!lU.isBuffer(t)&&(t=Nj0(t)),typeof e=="function"&&(n=e,e=null),f?e="buffer":e||(e=a.defaultEncoding),typeof n!="function"&&(n=Uj0),a.ended?Hj0(this,n):(f||zj0(this,a,t,n))&&(a.pendingcb++,r=qj0(this,a,f,t,e,n)),r};Ii.prototype.cork=function(){var t=this._writableState;t.corked++};Ii.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&oke(this,t))};Ii.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 Wj0(t,e,n){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=lU.from(e,n)),e}Object.defineProperty(Ii.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function qj0(t,e,n,a,r,f){if(!n){var i=Wj0(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 lke=sk(),Xj0=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};hke.exports=y8;var uke=Object.create(jw());uke.inherits=Nt();var pke=vae(),gae=bae();uke.inherits(y8,pke);for(yae=Xj0(gae.prototype),uU=0;uU{"use strict";u();p();var Tae=ok().Buffer,mke=Tae.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 tG0(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 nG0(t){var e=tG0(t);if(typeof e!="string"&&(Tae.isEncoding===mke||!mke(t)))throw new Error("Unknown encoding: "+t);return e||t}bke.StringDecoder=uk;function uk(t){this.encoding=nG0(t);var e;switch(this.encoding){case"utf16le":this.text=oG0,this.end=cG0,e=4;break;case"utf8":this.fillLast=fG0,e=4;break;case"base64":this.text=dG0,this.end=lG0,e=3;break;default:this.write=uG0,this.end=pG0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Tae.allocUnsafe(e)}uk.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 aG0(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 rG0(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 fG0(t){var e=this.lastTotal-this.lastNeed,n=rG0(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 iG0(t,e){var n=aG0(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 sG0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function oG0(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 cG0(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 dG0(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 lG0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function uG0(t){return t.toString(this.encoding)}function pG0(t){return t&&t.length?this.write(t):""}});var vae=D((RKn,kke)=>{"use strict";u();p();var Qw=sk();kke.exports=ef;var hG0=$Ie(),pk;ef.ReadableState=Eke;var SKn=Or().EventEmitter,wke=function(t,e){return t.listeners(e).length},Iae=lae(),hk=ok().Buffer,mG0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function bG0(t){return hk.from(t)}function yG0(t){return hk.isBuffer(t)||t instanceof mG0}var Tke=Object.create(jw());Tke.inherits=Nt();var Eae=rl(),qa=void 0;Eae&&Eae.debuglog?qa=Eae.debuglog("stream"):qa=function(){};var gG0=tke(),xke=hae(),Kw;Tke.inherits(ef,Iae);var _ae=["error","close","destroy","pause","resume"];function vG0(t,e,n){if(typeof t.prependListener=="function")return t.prependListener(e,n);!t._events||!t._events[e]?t.on(e,n):hG0(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]}function Eke(t,e){pk=pk||e7(),t=t||{};var n=e instanceof pk;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 gG0,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&&(Kw||(Kw=xae().StringDecoder),this.decoder=new Kw(t.encoding),this.encoding=t.encoding)}function ef(t){if(pk=pk||e7(),!(this instanceof ef))return new ef(t);this._readableState=new Eke(t,this),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),Iae.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=xke.destroy;ef.prototype._undestroy=xke.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=hk.from(t,e),e=""),a=!0),_ke(this,t,e,!1,a)};ef.prototype.unshift=function(t){return _ke(this,t,null,!0,!1)};function _ke(t,e,n,a,r){var f=t._readableState;if(e===null)f.reading=!1,EG0(t,f);else{var i;r||(i=wG0(f,e)),i?t.emit("error",i):f.objectMode||e&&e.length>0?(typeof e!="string"&&!f.objectMode&&Object.getPrototypeOf(e)!==hk.prototype&&(e=bG0(e)),a?f.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):Aae(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?Aae(t,f,e,!1):Ake(t,f)):Aae(t,f,e,!1))):a||(f.reading=!1)}return TG0(f)}function Aae(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&&hU(t)),Ake(t,e)}function wG0(t,e){var n;return!yG0(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(n=new TypeError("Invalid non-string/buffer chunk")),n}function TG0(t){return!t.ended&&(t.needReadable||t.length=yke?t=yke:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function gke(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=xG0(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?Cae(this):hU(this),null;if(t=gke(t,e),t===0&&e.ended)return e.length===0&&Cae(this),null;var a=e.needReadable;qa("need readable",a),(e.length===0||e.length-t0?r=Cke(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&&Cae(this)),r!==null&&this.emit("data",r),r};function EG0(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,hU(t)}}function hU(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(qa("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?Qw.nextTick(vke,t):vke(t))}function vke(t){qa("emit readable"),t.emit("readable"),kae(t)}function Ake(t,e){e.readingMore||(e.readingMore=!0,Qw.nextTick(_G0,t,e))}function _G0(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length1&&Ike(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),wke(t,"error")===0&&t.emit("error",F)}vG0(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 AG0(t){return function(){var e=t._readableState;qa("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,e.awaitDrain===0&&wke(t,"data")&&(e.flowing=!0,kae(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=SG0(t,e.buffer,e.decoder),n}function SG0(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=hk.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 Cae(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,Qw.nextTick(BG0,e,t))}function BG0(t,e){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function Ike(t,e){for(var n=0,a=t.length;n{"use strict";u();p();Mke.exports=g8;var mU=e7(),Rke=Object.create(jw());Rke.inherits=Nt();Rke.inherits(g8,mU);function DG0(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();Pke.exports=mk;var Bke=Sae(),Dke=Object.create(jw());Dke.inherits=Nt();Dke.inherits(mk,Bke);function mk(t){if(!(this instanceof mk))return new mk(t);Bke.call(this,t)}mk.prototype._transform=function(t,e,n){n(null,t)}});var Nke=D((Au,Fke)=>{u();p();Au=Fke.exports=vae();Au.Stream=Au;Au.Readable=Au;Au.Writable=bae();Au.Duplex=e7();Au.Transform=Sae();Au.PassThrough=Lke()});var bU=D((zKn,Hke)=>{u();p();var Vw=Va(),LG0=s8();function FG0(t){var e=Oke(t),n=e.toRed(Vw.mont(t.modulus)).redPow(new Vw(t.publicExponent)).fromRed();return{blinder:n,unblinder:e.invm(t.modulus)}}function Oke(t){var e=t.modulus.byteLength(),n;do n=new Vw(LG0(e));while(n.cmp(t.modulus)>=0||!n.umod(t.prime1)||!n.umod(t.prime2));return n}function Uke(t,e){var n=FG0(e),a=e.modulus.byteLength(),r=new Vw(t).mul(n.blinder).umod(e.modulus),f=r.toRed(Vw.mont(e.prime1)),i=r.toRed(Vw.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)}Uke.getr=Oke;Hke.exports=Uke});var zke=D((jKn,NG0)=>{NG0.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 E6=D(Wke=>{"use strict";u();p();var ol=Wke,OG0=kr(),UG0=Mc(),yU=DN();ol.assert=UG0;ol.toArray=yU.toArray;ol.zero2=yU.zero2;ol.toHex=yU.toHex;ol.encode=yU.encode;function HG0(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}ol.getNAF=HG0;function zG0(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}ol.getJSF=zG0;function WG0(t,e,n){var a="_"+e;t.prototype[e]=function(){return this[a]!==void 0?this[a]:this[a]=n.call(this)}}ol.cachedProperty=WG0;function qG0(t){return typeof t=="string"?ol.toArray(t,"hex"):t}ol.parseBytes=qG0;function jG0(t){return new OG0(t,"hex","le")}ol.intFromLE=jG0});var yk=D((VKn,qke)=>{"use strict";u();p();var t7=kr(),bk=E6(),gU=bk.getNAF,GG0=bk.getJSF,vU=bk.assert;function N3(t,e){this.type=t,this.p=new t7(e.p,16),this.red=e.prime?t7.red(e.prime):t7.mont(this.p),this.zero=new t7(0).toRed(this.red),this.one=new t7(1).toRed(this.red),this.two=new t7(2).toRed(this.red),this.n=e.n&&new t7(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))}qke.exports=N3;N3.prototype.point=function(){throw new Error("Not implemented")};N3.prototype.validate=function(){throw new Error("Not implemented")};N3.prototype._fixedNafMul=function(e,n){vU(e.precomputed);var a=e._getDoubles(),r=gU(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];vU(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};N3.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]=gU(a[v],i[v],this._bitLength),o[k]=gU(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=GG0(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};B5.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 KG0=E6(),Jf=kr(),Rae=Nt(),Yw=yk(),QG0=KG0.assert;function D5(t){Yw.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)}Rae(D5,Yw);jke.exports=D5;D5.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],QG0(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}}};D5.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]};D5.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}]};D5.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}};D5.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)};D5.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};D5.prototype._endoWnafMulAdd=function(e,n,a){for(var r=this._endoWnafT1,f=this._endoWnafT2,i=0;i":""};gs.prototype.isInfinity=function(){return this.inf};gs.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)};gs.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)};gs.prototype.getX=function(){return this.x.fromRed()};gs.prototype.getY=function(){return this.y.fromRed()};gs.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)};gs.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)};gs.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)};gs.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)};gs.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};gs.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){Yw.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}Rae(eo,Yw.BasePoint);D5.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 Vke=D((eQn,Qke)=>{"use strict";u();p();var $w=kr(),Kke=Nt(),wU=yk(),VG0=E6();function Jw(t){wU.call(this,"mont",t),this.a=new $w(t.a,16).toRed(this.red),this.b=new $w(t.b,16).toRed(this.red),this.i4=new $w(4).toRed(this.red).redInvm(),this.two=new $w(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}Kke(Jw,wU);Qke.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 vs(t,e,n){wU.BasePoint.call(this,t,"projective"),e===null&&n===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new $w(e,16),this.z=new $w(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}Kke(vs,wU.BasePoint);Jw.prototype.decodePoint=function(e,n){return this.point(VG0.toArray(e,n),1)};Jw.prototype.point=function(e,n){return new vs(this,e,n)};Jw.prototype.pointFromJSON=function(e){return vs.fromJSON(this,e)};vs.prototype.precompute=function(){};vs.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};vs.fromJSON=function(e,n){return new vs(e,n[0],n[1]||e.one)};vs.prototype.inspect=function(){return this.isInfinity()?"":""};vs.prototype.isInfinity=function(){return this.z.cmpn(0)===0};vs.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)};vs.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};vs.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)};vs.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};vs.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};vs.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};vs.prototype.eq=function(e){return this.getX().cmp(e.getX())===0};vs.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};vs.prototype.getX=function(){return this.normalize(),this.x.fromRed()}});var Jke=D((aQn,$ke)=>{"use strict";u();p();var YG0=E6(),v8=kr(),Yke=Nt(),TU=yk(),$G0=YG0.assert;function Cu(t){this.twisted=(t.a|0)!==1,this.mOneA=this.twisted&&(t.a|0)===-1,this.extended=this.mOneA,TU.call(this,"edwards",t),this.a=new v8(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new v8(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new v8(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),$G0(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(t.c|0)===1}Yke(Cu,TU);$ke.exports=Cu;Cu.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)};Cu.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)};Cu.prototype.jpoint=function(e,n,a,r){return this.point(e,n,a,r)};Cu.prototype.pointFromX=function(e,n){e=new v8(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)};Cu.prototype.pointFromY=function(e,n){e=new v8(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)};Cu.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){TU.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 v8(e,16),this.y=new v8(n,16),this.z=a?new v8(a,16):this.curve.one,this.t=r&&new v8(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()))))}Yke(Ur,TU.BasePoint);Cu.prototype.pointFromJSON=function(e){return Ur.fromJSON(this,e)};Cu.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 Mae=D(Xke=>{"use strict";u();p();var xU=Xke;xU.base=yk();xU.short=Gke();xU.mont=Vke();xU.edwards=Jke()});var cl=D(Sr=>{"use strict";u();p();var JG0=Mc(),XG0=Nt();Sr.inherits=XG0;function ZG0(t,e){return(t.charCodeAt(e)&64512)!==55296||e<0||e+1>=t.length?!1:(t.charCodeAt(e+1)&64512)===56320}function eK0(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):ZG0(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=Zke;function nK0(t,e){for(var n="",a=0;a>>0}return f}Sr.join32=aK0;function rK0(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=rK0;function fK0(t,e){return t>>>e|t<<32-e}Sr.rotr32=fK0;function iK0(t,e){return t<>>32-e}Sr.rotl32=iK0;function sK0(t,e){return t+e>>>0}Sr.sum32=sK0;function oK0(t,e,n){return t+e+n>>>0}Sr.sum32_3=oK0;function cK0(t,e,n,a){return t+e+n+a>>>0}Sr.sum32_4=cK0;function dK0(t,e,n,a,r){return t+e+n+a+r>>>0}Sr.sum32_5=dK0;function lK0(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=lK0;function uK0(t,e,n,a){var r=e+a>>>0,f=(r>>0}Sr.sum64_hi=uK0;function pK0(t,e,n,a){var r=e+a;return r>>>0}Sr.sum64_lo=pK0;function hK0(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=hK0;function mK0(t,e,n,a,r,f,i,s){var o=e+a+f+s;return o>>>0}Sr.sum64_4_lo=mK0;function bK0(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=bK0;function yK0(t,e,n,a,r,f,i,s,o,c){var d=e+a+f+s+c;return d>>>0}Sr.sum64_5_lo=yK0;function gK0(t,e,n){var a=e<<32-n|t>>>n;return a>>>0}Sr.rotr64_hi=gK0;function vK0(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}Sr.rotr64_lo=vK0;function wK0(t,e,n){return t>>>n}Sr.shr64_hi=wK0;function TK0(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}Sr.shr64_lo=TK0});var Xw=D(aSe=>{"use strict";u();p();var nSe=cl(),xK0=Mc();function EU(){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}aSe.BlockHash=EU;EU.prototype.update=function(e,n){if(e=nSe.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=nSe.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 EK0=cl(),Iu=EK0.rotr32;function _K0(t,e,n,a){if(t===0)return rSe(e,n,a);if(t===1||t===3)return iSe(e,n,a);if(t===2)return fSe(e,n,a)}w8.ft_1=_K0;function rSe(t,e,n){return t&e^~t&n}w8.ch32=rSe;function fSe(t,e,n){return t&e^t&n^e&n}w8.maj32=fSe;function iSe(t,e,n){return t^e^n}w8.p32=iSe;function AK0(t){return Iu(t,2)^Iu(t,13)^Iu(t,22)}w8.s0_256=AK0;function CK0(t){return Iu(t,6)^Iu(t,11)^Iu(t,25)}w8.s1_256=CK0;function IK0(t){return Iu(t,7)^Iu(t,18)^t>>>3}w8.g0_256=IK0;function kK0(t){return Iu(t,17)^Iu(t,19)^t>>>10}w8.g1_256=kK0});var cSe=D((gQn,oSe)=>{"use strict";u();p();var Zw=cl(),SK0=Xw(),RK0=Bae(),Dae=Zw.rotl32,gk=Zw.sum32,MK0=Zw.sum32_5,BK0=RK0.ft_1,sSe=SK0.BlockHash,DK0=[1518500249,1859775393,2400959708,3395469782];function ku(){if(!(this instanceof ku))return new ku;sSe.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}Zw.inherits(ku,sSe);oSe.exports=ku;ku.blockSize=512;ku.outSize=160;ku.hmacStrength=80;ku.padLength=64;ku.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 eT=cl(),PK0=Xw(),tT=Bae(),LK0=Mc(),dl=eT.sum32,FK0=eT.sum32_4,NK0=eT.sum32_5,OK0=tT.ch32,UK0=tT.maj32,HK0=tT.s0_256,zK0=tT.s1_256,WK0=tT.g0_256,qK0=tT.g1_256,dSe=PK0.BlockHash,jK0=[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 Su(){if(!(this instanceof Su))return new Su;dSe.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=jK0,this.W=new Array(64)}eT.inherits(Su,dSe);lSe.exports=Su;Su.blockSize=512;Su.outSize=256;Su.hmacStrength=192;Su.padLength=64;Su.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 Lae=cl(),uSe=Pae();function T8(){if(!(this instanceof T8))return new T8;uSe.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}Lae.inherits(T8,uSe);pSe.exports=T8;T8.blockSize=512;T8.outSize=224;T8.hmacStrength=192;T8.padLength=64;T8.prototype._digest=function(e){return e==="hex"?Lae.toHex32(this.h.slice(0,7),"big"):Lae.split32(this.h.slice(0,7),"big")}});var Oae=D((IQn,gSe)=>{"use strict";u();p();var Dc=cl(),GK0=Xw(),KK0=Mc(),Ru=Dc.rotr64_hi,Mu=Dc.rotr64_lo,mSe=Dc.shr64_hi,bSe=Dc.shr64_lo,O3=Dc.sum64,Fae=Dc.sum64_hi,Nae=Dc.sum64_lo,QK0=Dc.sum64_4_hi,VK0=Dc.sum64_4_lo,YK0=Dc.sum64_5_hi,$K0=Dc.sum64_5_lo,ySe=GK0.BlockHash,JK0=[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 ll(){if(!(this instanceof ll))return new ll;ySe.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=JK0,this.W=new Array(160)}Dc.inherits(ll,ySe);gSe.exports=ll;ll.blockSize=1024;ll.outSize=512;ll.hmacStrength=192;ll.padLength=128;ll.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 Uae=cl(),vSe=Oae();function x8(){if(!(this instanceof x8))return new x8;vSe.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}Uae.inherits(x8,vSe);wSe.exports=x8;x8.blockSize=1024;x8.outSize=384;x8.hmacStrength=192;x8.padLength=128;x8.prototype._digest=function(e){return e==="hex"?Uae.toHex32(this.h.slice(0,12),"big"):Uae.split32(this.h.slice(0,12),"big")}});var xSe=D(nT=>{"use strict";u();p();nT.sha1=cSe();nT.sha224=hSe();nT.sha256=Pae();nT.sha384=TSe();nT.sha512=Oae()});var kSe=D(ISe=>{"use strict";u();p();var n7=cl(),dQ0=Xw(),_U=n7.rotl32,ESe=n7.sum32,vk=n7.sum32_3,_Se=n7.sum32_4,CSe=dQ0.BlockHash;function Bu(){if(!(this instanceof Bu))return new Bu;CSe.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}n7.inherits(Bu,CSe);ISe.ripemd160=Bu;Bu.blockSize=512;Bu.outSize=160;Bu.hmacStrength=192;Bu.padLength=64;Bu.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=ESe(_U(_Se(a,ASe(y,r,f,i),e[pQ0[y]+n],lQ0(y)),mQ0[y]),s);a=s,s=i,i=_U(f,10),f=r,r=v,v=ESe(_U(_Se(o,ASe(79-y,c,d,l),e[hQ0[y]+n],uQ0(y)),bQ0[y]),h),o=h,h=l,l=_U(d,10),d=c,c=v}v=vk(this.h[1],f,l),this.h[1]=vk(this.h[2],i,h),this.h[2]=vk(this.h[3],s,o),this.h[3]=vk(this.h[4],a,c),this.h[4]=vk(this.h[0],r,d),this.h[0]=v};Bu.prototype._digest=function(e){return e==="hex"?n7.toHex32(this.h,"little"):n7.split32(this.h,"little")};function ASe(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 lQ0(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function uQ0(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}var pQ0=[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],hQ0=[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],mQ0=[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],bQ0=[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 RSe=D((UQn,SSe)=>{"use strict";u();p();var yQ0=cl(),gQ0=Mc();function aT(t,e,n){if(!(this instanceof aT))return new aT(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(yQ0.toArray(e,n))}SSe.exports=aT;aT.prototype._init=function(e){e.length>this.blockSize&&(e=new this.Hash().update(e).digest()),gQ0(e.length<=this.blockSize);for(var n=e.length;n{u();p();var to=MSe;to.utils=cl();to.common=Xw();to.sha=xSe();to.ripemd=kSe();to.hmac=RSe();to.sha1=to.sha.sha1;to.sha256=to.sha.sha256;to.sha224=to.sha.sha224;to.sha384=to.sha.sha384;to.sha512=to.sha.sha512;to.ripemd160=to.ripemd.ripemd160});var DSe=D((GQn,BSe)=>{u();p();BSe.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 AU=D(FSe=>{"use strict";u();p();var zae=FSe,U3=a7(),Hae=Mae(),vQ0=E6(),PSe=vQ0.assert;function LSe(t){t.type==="short"?this.curve=new Hae.short(t):t.type==="edwards"?this.curve=new Hae.edwards(t):this.curve=new Hae.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,PSe(this.g.validate(),"Invalid curve"),PSe(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}zae.PresetCurve=LSe;function H3(t,e){Object.defineProperty(zae,t,{configurable:!0,enumerable:!0,get:function(){var n=new LSe(e);return Object.defineProperty(zae,t,{configurable:!0,enumerable:!0,value:n}),n}})}H3("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:U3.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});H3("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:U3.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});H3("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:U3.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});H3("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:U3.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"]});H3("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:U3.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"]});H3("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:U3.sha256,gRed:!1,g:["9"]});H3("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:U3.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var Wae;try{Wae=DSe()}catch{Wae=void 0}H3("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:U3.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",Wae]})});var qae=D((JQn,OSe)=>{"use strict";u();p();var wQ0=a7(),r7=DN(),NSe=Mc();function z3(t){if(!(this instanceof z3))return new z3(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=r7.toArray(t.entropy,t.entropyEnc||"hex"),n=r7.toArray(t.nonce,t.nonceEnc||"hex"),a=r7.toArray(t.pers,t.persEnc||"hex");NSe(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,a)}OSe.exports=z3;z3.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};z3.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=r7.toArray(a,r||"hex"),this._update(a));for(var f=[];f.length{"use strict";u();p();var TQ0=kr(),xQ0=E6(),jae=xQ0.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)}USe.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 TQ0(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"?jae(e.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&jae(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()||jae(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 qSe=D((aVn,WSe)=>{"use strict";u();p();var CU=kr(),Qae=E6(),EQ0=Qae.assert;function IU(t,e){if(t instanceof IU)return t;this._importDER(t,e)||(EQ0(t.r&&t.s,"Signature without r or s"),this.r=new CU(t.r,16),this.s=new CU(t.s,16),t.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}WSe.exports=IU;function _Q0(){this.place=0}function Gae(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 zSe(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)}IU.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=zSe(n),a=zSe(a);!a[0]&&!(a[1]&128);)a=a.slice(1);var r=[2];Kae(r,n.length),r=r.concat(n),r.push(2),Kae(r,a.length);var f=r.concat(a),i=[48];return Kae(i,f.length),i=i.concat(f),Qae.encode(i,e)}});var QSe=D((iVn,KSe)=>{"use strict";u();p();var f7=kr(),jSe=qae(),AQ0=E6(),Vae=AU(),CQ0=zw(),GSe=AQ0.assert,Yae=HSe(),kU=qSe();function P5(t){if(!(this instanceof P5))return new P5(t);typeof t=="string"&&(GSe(Object.prototype.hasOwnProperty.call(Vae,t),"Unknown curve "+t),t=Vae[t]),t instanceof Vae.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}KSe.exports=P5;P5.prototype.keyPair=function(e){return new Yae(this,e)};P5.prototype.keyFromPrivate=function(e,n){return Yae.fromPrivate(this,e,n)};P5.prototype.keyFromPublic=function(e,n){return Yae.fromPublic(this,e,n)};P5.prototype.genKeyPair=function(e){e||(e={});for(var n=new jSe({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||CQ0(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),r=this.n.sub(new f7(2));;){var f=new f7(n.generate(a));if(!(f.cmp(r)>0))return f.iaddn(1),this.keyFromPrivate(f)}};P5.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};P5.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 f7(e,16));for(var f=this.n.byteLength(),i=n.getPrivate().toArray("be",f),s=e.toArray("be",f),o=new jSe({hash:this.hash,entropy:i,nonce:s,pers:r.pers,persEnc:r.persEnc||"utf8"}),c=this.n.sub(new f7(1)),d=0;;d++){var l=r.k?r.k(d):new f7(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 kU({r:v,s:k,recoveryParam:O})}}}}}};P5.prototype.verify=function(e,n,a,r){e=this._truncateToN(new f7(e,16)),a=this.keyFromPublic(a,r),n=new kU(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)};P5.prototype.recoverPubKey=function(t,e,n,a){GSe((3&n)===n,"The recovery param is more than two bits"),e=new kU(e,a);var r=this.n,f=new f7(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)};P5.prototype.getKeyRecoveryParam=function(t,e,n,a){if(e=new kU(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 JSe=D((cVn,$Se)=>{"use strict";u();p();var wk=E6(),YSe=wk.assert,VSe=wk.parseBytes,rT=wk.cachedProperty;function ws(t,e){this.eddsa=t,this._secret=VSe(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=VSe(e.pub)}ws.fromPublic=function(e,n){return n instanceof ws?n:new ws(e,{pub:n})};ws.fromSecret=function(e,n){return n instanceof ws?n:new ws(e,{secret:n})};ws.prototype.secret=function(){return this._secret};rT(ws,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});rT(ws,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});rT(ws,"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});rT(ws,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});rT(ws,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});rT(ws,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});ws.prototype.sign=function(e){return YSe(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)};ws.prototype.verify=function(e,n){return this.eddsa.verify(e,n,this)};ws.prototype.getSecret=function(e){return YSe(this._secret,"KeyPair is public only"),wk.encode(this.secret(),e)};ws.prototype.getPublic=function(e){return wk.encode(this.pubBytes(),e)};$Se.exports=ws});var ZSe=D((uVn,XSe)=>{"use strict";u();p();var IQ0=kr(),SU=E6(),kQ0=SU.assert,RU=SU.cachedProperty,SQ0=SU.parseBytes;function i7(t,e){this.eddsa=t,typeof e!="object"&&(e=SQ0(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),kQ0(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof IQ0&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}RU(i7,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});RU(i7,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});RU(i7,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});RU(i7,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});i7.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};i7.prototype.toHex=function(){return SU.encode(this.toBytes(),"hex").toUpperCase()};XSe.exports=i7});var rRe=D((mVn,aRe)=>{"use strict";u();p();var RQ0=a7(),MQ0=AU(),fT=E6(),BQ0=fT.assert,tRe=fT.parseBytes,nRe=JSe(),eRe=ZSe();function Pc(t){if(BQ0(t==="ed25519","only tested with ed25519 so far"),!(this instanceof Pc))return new Pc(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=RQ0.sha512}aRe.exports=Pc;Pc.prototype.sign=function(e,n){e=tRe(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})};Pc.prototype.verify=function(e,n,a){e=tRe(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)};Pc.prototype.hashInt=function(){for(var e=this.hash(),n=0;n{"use strict";u();p();var s7=fRe;s7.version=zke().version;s7.utils=E6();s7.rand=zw();s7.curve=Mae();s7.curves=AU();s7.ec=QSe();s7.eddsa=rRe()});var iRe=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 sRe=sT(),DQ0=Nt(),PQ0=oRe;PQ0.define=function(e,n){return new iT(e,n)};function iT(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}iT.prototype._createNamed=function(e){var n;try{n=iRe().runInThisContext("(function "+this.name+`(entity) { this._initNamed(entity); -})`)}catch{n=function(r){this._initNamed(r)}}return LQ0(n,e),n.prototype._initNamed=function(r){e.call(this,r)},new n(this)};rT.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(oRe.decoders[e])),this.decoders[e]};rT.prototype.decode=function(e,n,a){return this._getDecoder(n).decode(e,a)};rT.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(oRe.encoders[e])),this.encoders[e]};rT.prototype.encode=function(e,n,a){return this._getEncoder(n).encode(e,a)}});var uRe=D(lRe=>{u();p();var NQ0=Nt();function L5(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}lRe.Reporter=L5;L5.prototype.isError=function(e){return e instanceof iT};L5.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}};L5.prototype.restore=function(e){var n=this._reporterState;n.obj=e.obj,n.path=n.path.slice(0,e.pathLen)};L5.prototype.enterKey=function(e){return this._reporterState.path.push(e)};L5.prototype.exitKey=function(e){var n=this._reporterState;n.path=n.path.slice(0,e-1)};L5.prototype.leaveKey=function(e,n,a){var r=this._reporterState;this.exitKey(e),r.obj!==null&&(r.obj[n]=a)};L5.prototype.path=function(){return this._reporterState.path.join("/")};L5.prototype.enterObject=function(){var e=this._reporterState,n=e.obj;return e.obj={},n};L5.prototype.leaveObject=function(e){var n=this._reporterState,a=n.obj;return n.obj=e,a};L5.prototype.error=function(e){var n,a=this._reporterState,r=e instanceof iT;if(r?n=e:n=new iT(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};L5.prototype.wrapResult=function(e){var n=this._reporterState;return n.options.partial?{result:this.isError(e)?null:e,errors:n.errors}:e};function iT(t,e){this.path=t,this.rethrow(e)}NQ0(iT,Error);iT.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,iT),!this.stack)try{throw new Error(this.message)}catch(n){this.stack=n.stack}return this}});var $ae=D(Yae=>{u();p();var OQ0=Nt(),BU=sT().Reporter,Tk=Qf().Buffer;function Du(t,e){if(BU.call(this,e),!Tk.isBuffer(t)){this.error("Input not Buffer");return}this.base=t,this.offset=0,this.length=t.length}OQ0(Du,BU);Yae.DecoderBuffer=Du;Du.prototype.save=function(){return{offset:this.offset,reporter:BU.prototype.save.call(this)}};Du.prototype.restore=function(e){var n=new Du(this.base);return n.offset=e.offset,n.length=this.offset,this.offset=e.offset,BU.prototype.restore.call(this,e.reporter),n};Du.prototype.isEmpty=function(){return this.offset===this.length};Du.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")};Du.prototype.skip=function(e,n){if(!(this.offset+e<=this.length))return this.error(n||"DecoderBuffer overrun");var a=new Du(this.base);return a._reporterState=this._reporterState,a.offset=this.offset,a.length=this.offset+e,this.offset+=e,a};Du.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)};function MU(t,e){if(Array.isArray(t))this.length=0,this.value=t.map(function(n){return n instanceof MU||(n=new MU(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=Tk.byteLength(t);else if(Tk.isBuffer(t))this.value=t,this.length=t.length;else return e.error("Unsupported type: "+typeof t)}Yae.EncoderBuffer=MU;MU.prototype.join=function(e,n){return e||(e=new Tk(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):Tk.isBuffer(this.value)&&this.value.copy(e,n),n+=this.length)),e}});var mRe=D((SVn,hRe)=>{u();p();var UQ0=sT().Reporter,HQ0=sT().EncoderBuffer,zQ0=sT().DecoderBuffer,z1=Mc(),pRe=["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"],WQ0=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(pRe),qQ0=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function br(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())}hRe.exports=br;var jQ0=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];br.prototype.clone=function(){var e=this._baseState,n={};jQ0.forEach(function(r){n[r]=e[r]});var a=new this.constructor(n.parent);return a._baseState=n,a};br.prototype._wrap=function(){var e=this._baseState;WQ0.forEach(function(n){this[n]=function(){var r=new this.constructor(this);return e.children.push(r),r[n].apply(r,arguments)}},this)};br.prototype._init=function(e){var n=this._baseState;z1(n.parent===null),e.call(this),n.children=n.children.filter(function(a){return a._baseState.parent===this},this),z1.equal(n.children.length,1,"Root node can have only one child")};br.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&&(z1(n.children===null),n.children=a,a.forEach(function(r){r._baseState.parent=this},this)),e.length!==0&&(z1(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}))};qQ0.forEach(function(t){br.prototype[t]=function(){var n=this._baseState;throw new Error(t+" not implemented for encoding: "+n.enc)}});pRe.forEach(function(t){br.prototype[t]=function(){var n=this._baseState,a=Array.prototype.slice.call(arguments);return z1(n.tag===null),n.tag=t,this._useArgs(a),this}});br.prototype.use=function(e){z1(e);var n=this._baseState;return z1(n.use===null),n.use=e,this};br.prototype.optional=function(){var e=this._baseState;return e.optional=!0,this};br.prototype.def=function(e){var n=this._baseState;return z1(n.default===null),n.default=e,n.optional=!0,this};br.prototype.explicit=function(e){var n=this._baseState;return z1(n.explicit===null&&n.implicit===null),n.explicit=e,this};br.prototype.implicit=function(e){var n=this._baseState;return z1(n.explicit===null&&n.implicit===null),n.implicit=e,this};br.prototype.obj=function(){var e=this._baseState,n=Array.prototype.slice.call(arguments);return e.obj=!0,n.length!==0&&this._useArgs(n),this};br.prototype.key=function(e){var n=this._baseState;return z1(n.key===null),n.key=e,this};br.prototype.any=function(){var e=this._baseState;return e.any=!0,this};br.prototype.choice=function(e){var n=this._baseState;return z1(n.choice===null),n.choice=e,this._useArgs(Object.keys(e).map(function(a){return e[a]})),this};br.prototype.contains=function(e){var n=this._baseState;return z1(n.use===null),n.contains=e,this};br.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 zQ0(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};br.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)};br.prototype._getUse=function(e,n){var a=this._baseState;return a.useDecoder=this._use(e,n),z1(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};br.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")};br.prototype._createEncoderBuffer=function(e){return new HQ0(e,this.reporter)};br.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}};br.prototype._encodeValue=function(e,n,a){var r=this._baseState;if(r.parent===null)return r.children[0]._encode(e,n||new UQ0);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};br.prototype._encodeChoice=function(e,n){var a=this._baseState,r=a.choice[e.type];return r||z1(!1,e.type+" not found in "+JSON.stringify(Object.keys(a.choice))),r._encode(e.value,n)};br.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)};br.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)};br.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}});var sT=D(bRe=>{u();p();var DU=bRe;DU.Reporter=uRe().Reporter;DU.DecoderBuffer=$ae().DecoderBuffer;DU.EncoderBuffer=$ae().EncoderBuffer;DU.Node=mRe()});var gRe=D(i7=>{u();p();var yRe=Jae();i7.tagClass={0:"universal",1:"application",2:"context",3:"private"};i7.tagClassByName=yRe._reverse(i7.tagClass);i7.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"};i7.tagByName=yRe._reverse(i7.tag)});var Jae=D(wRe=>{u();p();var vRe=wRe;vRe._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};vRe.der=gRe()});var ere=D((zVn,_Re)=>{u();p();var GQ0=Nt(),Xae=fT(),PU=Xae.base,KQ0=Xae.bignum,TRe=Xae.constants.der;function xRe(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new _6,this.tree._init(t.body)}_Re.exports=xRe;xRe.prototype.decode=function(e,n){return e instanceof PU.DecoderBuffer||(e=new PU.DecoderBuffer(e,n)),this.tree._decode(e,n)};function _6(t){PU.Node.call(this,"der",t)}GQ0(_6,PU.Node);_6.prototype._peekTag=function(e,n,a){if(e.isEmpty())return!1;var r=e.save(),f=Zae(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)};_6.prototype._decodeTag=function(e,n,a){var r=Zae(e,'Failed to decode tag of "'+n+'"');if(e.isError(r))return r;var f=ERe(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+'"'))};_6.prototype._skipUntilEnd=function(e,n){for(;;){var a=Zae(e,n);if(e.isError(a))return a;var r=ERe(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}};_6.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};_6.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=TRe.tag[n];return{cls:a,primitive:r,tag:n,tagStr:i}}function ERe(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 QQ0=Nt(),VQ0=Qf().Buffer,tre=ere();function nre(t){tre.call(this,t),this.enc="pem"}QQ0(nre,tre);ARe.exports=nre;nre.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 IRe=kRe;IRe.der=ere();IRe.pem=CRe()});var rre=D(($Vn,DRe)=>{u();p();var YQ0=Nt(),E8=Qf().Buffer,RRe=fT(),MRe=RRe.base,are=RRe.constants.der;function BRe(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new ul,this.tree._init(t.body)}DRe.exports=BRe;BRe.prototype.encode=function(e,n){return this.tree._encode(e,n).join()};function ul(t){MRe.Node.call(this,"der",t)}YQ0(ul,MRe.Node);ul.prototype._encodeComposite=function(e,n,a,r){var f=$Q0(e,n,a,this.reporter);if(r.length<128){var o=new E8(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 E8(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])};ul.prototype._encodeStr=function(e,n){if(n==="bitstr")return this._createEncoderBuffer([e.unused|0,e.data]);if(n==="bmpstr"){for(var a=new E8(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 E8(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 F5(t){return t<10?"0"+t:t}ul.prototype._encodeTime=function(e,n){var a,r=new Date(e);return n==="gentime"?a=[F5(r.getFullYear()),F5(r.getUTCMonth()+1),F5(r.getUTCDate()),F5(r.getUTCHours()),F5(r.getUTCMinutes()),F5(r.getUTCSeconds()),"Z"].join(""):n==="utctime"?a=[F5(r.getFullYear()%100),F5(r.getUTCMonth()+1),F5(r.getUTCDate()),F5(r.getUTCHours()),F5(r.getUTCMinutes()),F5(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+n+" time is not supported yet"),this._encodeStr(a,"octstr")};ul.prototype._encodeNull=function(){return this._createEncoderBuffer("")};ul.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"&&!E8.isBuffer(e)){var a=e.toArray();!e.sign&&a[0]&128&&a.unshift(0),e=new E8(a)}if(E8.isBuffer(e)){var r=e.length;e.length===0&&r++;var i=new E8(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 E8(i))};ul.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)};ul.prototype._use=function(e,n){return typeof e=="function"&&(e=e(n)),e._getEncoder("der").tree};ul.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|=are.tagClassByName[n||"universal"]<<6,r)}});var LRe=D((ZVn,PRe)=>{u();p();var JQ0=Nt(),fre=rre();function ire(t){fre.call(this,t),this.enc="pem"}JQ0(ire,fre);PRe.exports=ire;ire.prototype.encode=function(e,n){for(var a=fre.prototype.encode.call(this,e),r=a.toString("base64"),f=["-----BEGIN "+n.label+"-----"],i=0;i{u();p();var FRe=NRe;FRe.der=rre();FRe.pem=LRe()});var fT=D(URe=>{u();p();var oT=URe;oT.bignum=kr();oT.define=dRe().define;oT.base=sT();oT.constants=Jae();oT.decoders=SRe();oT.encoders=ORe()});var qRe=D((oYn,WRe)=>{"use strict";u();p();var pl=fT(),HRe=pl.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),XQ0=pl.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),sre=pl.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),ZQ0=pl.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(sre),this.key("subjectPublicKey").bitstr())}),eV0=pl.define("RelativeDistinguishedName",function(){this.setof(XQ0)}),tV0=pl.define("RDNSequence",function(){this.seqof(eV0)}),zRe=pl.define("Name",function(){this.choice({rdnSequence:this.use(tV0)})}),nV0=pl.define("Validity",function(){this.seq().obj(this.key("notBefore").use(HRe),this.key("notAfter").use(HRe))}),aV0=pl.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),rV0=pl.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(sre),this.key("issuer").use(zRe),this.key("validity").use(nV0),this.key("subject").use(zRe),this.key("subjectPublicKeyInfo").use(ZQ0),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(aV0).optional())}),fV0=pl.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(rV0),this.key("signatureAlgorithm").use(sre),this.key("signatureValue").bitstr())});WRe.exports=fV0});var GRe=D(ml=>{"use strict";u();p();var hl=fT();ml.certificate=qRe();var iV0=hl.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())});ml.RSAPrivateKey=iV0;var sV0=hl.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});ml.RSAPublicKey=sV0;var jRe=hl.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())}),oV0=hl.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(jRe),this.key("subjectPublicKey").bitstr())});ml.PublicKey=oV0;var cV0=hl.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(jRe),this.key("subjectPrivateKey").octstr())});ml.PrivateKey=cV0;var dV0=hl.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())});ml.EncryptedPrivateKey=dV0;var lV0=hl.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())});ml.DSAPrivateKey=lV0;ml.DSAparam=hl.define("DSAparam",function(){this.int()});var uV0=hl.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),pV0=hl.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(uV0),this.key("publicKey").optional().explicit(1).bitstr())});ml.ECPrivateKey=pV0;ml.signature=hl.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})});var KRe=D((hYn,hV0)=>{hV0.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 VRe=D((mYn,QRe)=>{"use strict";u();p();var mV0=/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,bV0=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,yV0=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,gV0=ak(),vV0=aU(),LU=En().Buffer;QRe.exports=function(t,e){var n=t.toString(),a=n.match(mV0),r;if(a){var i="aes"+a[1],s=LU.from(a[2],"hex"),o=LU.from(a[3].replace(/[\r\n]/g,""),"base64"),c=gV0(e,s.slice(0,8),parseInt(a[1],10)).key,d=[],l=vV0.createDecipheriv(i,c,s);d.push(l.update(o)),d.push(l.final()),r=LU.concat(d)}else{var f=n.match(yV0);r=LU.from(f[2].replace(/[\r\n]/g,""),"base64")}var h=n.match(bV0)[1];return{tag:h,data:r}}});var xk=D((gYn,$Re)=>{"use strict";u();p();var Lc=GRe(),wV0=KRe(),TV0=VRe(),xV0=aU(),EV0=Fne(),ore=En().Buffer;function _V0(t,e){var n=t.algorithm.decrypt.kde.kdeparams.salt,a=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),r=wV0[t.algorithm.decrypt.cipher.algo.join(".")],f=t.algorithm.decrypt.cipher.iv,i=t.subjectPrivateKey,s=parseInt(r.split("-")[1],10)/8,o=EV0.pbkdf2Sync(e,n,a,s,"sha1"),c=xV0.createDecipheriv(r,o,f),d=[];return d.push(c.update(i)),d.push(c.final()),ore.concat(d)}function YRe(t){var e;typeof t=="object"&&!ore.isBuffer(t)&&(e=t.passphrase,t=t.key),typeof t=="string"&&(t=ore.from(t));var n=TV0(t,e),a=n.tag,r=n.data,f,i;switch(a){case"CERTIFICATE":i=Lc.certificate.decode(r,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(i||(i=Lc.PublicKey.decode(r,"der")),f=i.algorithm.algorithm.join("."),f){case"1.2.840.113549.1.1.1":return Lc.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=Lc.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=Lc.EncryptedPrivateKey.decode(r,"der"),r=_V0(r,e);case"PRIVATE KEY":switch(i=Lc.PrivateKey.decode(r,"der"),f=i.algorithm.algorithm.join("."),f){case"1.2.840.113549.1.1.1":return Lc.RSAPrivateKey.decode(i.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:i.algorithm.curve,privateKey:Lc.ECPrivateKey.decode(i.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return i.algorithm.params.priv_key=Lc.DSAparam.decode(i.subjectPrivateKey,"der"),{type:"dsa",params:i.algorithm.params};default:throw new Error("unknown key id "+f)}case"RSA PUBLIC KEY":return Lc.RSAPublicKey.decode(r,"der");case"RSA PRIVATE KEY":return Lc.RSAPrivateKey.decode(r,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:Lc.DSAPrivateKey.decode(r,"der")};case"EC PRIVATE KEY":return r=Lc.ECPrivateKey.decode(r,"der"),{curve:r.parameters.value,privateKey:r.privateKey};default:throw new Error("unknown key type "+a)}}YRe.signature=Lc.signature;$Re.exports=YRe});var cre=D((TYn,AV0)=>{AV0.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((xYn,NU)=>{"use strict";u();p();var Wo=En().Buffer,s7=Cne(),CV0=bU(),IV0=wk().ec,FU=Va(),kV0=xk(),SV0=cre(),RV0=1;function MV0(t,e,n,a,r){var f=kV0(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 DV0(t,f,n)}if(a!=="rsa"&&a!=="ecdsa/rsa")throw new Error("wrong private key type");if(e.padding!==void 0&&e.padding!==RV0)throw new Error("illegal or unsupported padding mode");t=Wo.concat([r,t]);for(var i=f.modulus.byteLength(),s=[0,1];t.length+s.length+10&&n.ishrn(a),n}function LV0(t,e){t=dre(t,e),t=t.mod(e);var n=Wo.from(t.toArray());if(n.length{"use strict";u();p();var lre=En().Buffer,Ek=Va(),NV0=wk().ec,tMe=xk(),OV0=cre();function UV0(t,e,n,a,r){var f=tMe(n);if(f.type==="ec"){if(a!=="ecdsa"&&a!=="ecdsa/rsa")throw new Error("wrong public key type");return HV0(t,e,f)}else if(f.type==="dsa"){if(a!=="dsa")throw new Error("wrong public key type");return zV0(t,e,f)}if(a!=="rsa"&&a!=="ecdsa/rsa")throw new Error("wrong public key type");e=lre.concat([r,e]);for(var i=f.modulus.byteLength(),s=[1],o=0;e.length+s.length+2=0)throw new Error("invalid sig")}nMe.exports=UV0});var cMe=D((kYn,oMe)=>{"use strict";u();p();var OU=En().Buffer,iMe=zy(),UU=Oke(),sMe=Nt(),WV0=ZRe(),qV0=aMe(),o7=Ine();Object.keys(o7).forEach(function(t){o7[t].id=OU.from(o7[t].id,"hex"),o7[t.toLowerCase()]=o7[t]});function _k(t){UU.Writable.call(this);var e=o7[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=iMe(e.hash),this._tag=e.id,this._signType=e.sign}sMe(_k,UU.Writable);_k.prototype._write=function(e,n,a){this._hash.update(e),a()};_k.prototype.update=function(e,n){return this._hash.update(typeof e=="string"?OU.from(e,n):e),this};_k.prototype.sign=function(e,n){this.end();var a=this._hash.digest(),r=WV0(a,e,this._hashType,this._signType,this._tag);return n?r.toString(n):r};function Ak(t){UU.Writable.call(this);var e=o7[t];if(!e)throw new Error("Unknown message digest");this._hash=iMe(e.hash),this._tag=e.id,this._signType=e.sign}sMe(Ak,UU.Writable);Ak.prototype._write=function(e,n,a){this._hash.update(e),a()};Ak.prototype.update=function(e,n){return this._hash.update(typeof e=="string"?OU.from(e,n):e),this};Ak.prototype.verify=function(e,n,a){var r=typeof n=="string"?OU.from(n,a):n;this.end();var f=this._hash.digest();return qV0(r,f,e,this._signType,this._tag)};function rMe(t){return new _k(t)}function fMe(t){return new Ak(t)}oMe.exports={Sign:rMe,Verify:fMe,createSign:rMe,createVerify:fMe}});var lMe=D((MYn,dMe)=>{u();p();var jV0=wk(),GV0=kr();dMe.exports=function(e){return new c7(e)};var A6={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}};A6.p224=A6.secp224r1;A6.p256=A6.secp256r1=A6.prime256v1;A6.p192=A6.secp192r1=A6.prime192v1;A6.p384=A6.secp384r1;A6.p521=A6.secp521r1;function c7(t){this.curveType=A6[t],this.curveType||(this.curveType={name:t}),this.curve=new jV0.ec(this.curveType.name),this.keys=void 0}c7.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)};c7.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 ure(r,n,this.curveType.byteLength)};c7.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),ure(n,t)};c7.prototype.getPrivateKey=function(t){return ure(this.keys.getPrivate(),t)};c7.prototype.setPublicKey=function(t,e){return e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),this.keys._importPublic(t),this};c7.prototype.setPrivateKey=function(t,e){e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e));var n=new GV0(t);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this};function ure(t,e,n){Array.isArray(t)||(t=t.toArray());var a=new _.Buffer(t);if(n&&a.length{u();p();var KV0=zy(),pre=En().Buffer;uMe.exports=function(t,e){for(var n=pre.alloc(0),a=0,r;n.length{u();p();pMe.exports=function(e,n){for(var a=e.length,r=-1;++r{u();p();var hMe=kr(),VV0=En().Buffer;function YV0(t,e){return VV0.from(t.toRed(hMe.mont(e.modulus)).redPow(new hMe(e.publicExponent)).fromRed().toArray())}mMe.exports=YV0});var vMe=D((qYn,gMe)=>{u();p();var $V0=xk(),yre=s8(),JV0=zy(),bMe=hre(),yMe=mre(),gre=kr(),XV0=bre(),ZV0=bU(),bl=En().Buffer;gMe.exports=function(e,n,a){var r;e.padding?r=e.padding:a?r=1:r=4;var f=$V0(e),i;if(r===4)i=eY0(f,n);else if(r===1)i=tY0(f,n,a);else if(r===3){if(i=new gre(n),i.cmp(f.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return a?ZV0(i,f):XV0(i,f)};function eY0(t,e){var n=t.modulus.byteLength(),a=e.length,r=JV0("sha1").update(bl.alloc(0)).digest(),f=r.length,i=2*f;if(a>n-i-2)throw new Error("message too long");var s=bl.alloc(n-a-i-2),o=n-f-1,c=yre(f),d=yMe(bl.concat([r,s,bl.alloc(1,1),e],o),bMe(c,o)),l=yMe(c,bMe(d,f));return new gre(bl.concat([bl.alloc(1),l,d],n))}function tY0(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=bl.alloc(r-a-3,255):f=nY0(r-a-3),new gre(bl.concat([bl.from([0,n?1:2]),f,bl.alloc(1),e],r))}function nY0(t){for(var e=bl.allocUnsafe(t),n=0,a=yre(t*2),r=0,f;n{u();p();var aY0=xk(),wMe=hre(),TMe=mre(),xMe=kr(),rY0=bU(),fY0=zy(),iY0=bre(),Ck=En().Buffer;EMe.exports=function(e,n,a){var r;e.padding?r=e.padding:a?r=1:r=4;var f=aY0(e),i=f.modulus.byteLength();if(n.length>i||new xMe(n).cmp(f.modulus)>=0)throw new Error("decryption error");var s;a?s=iY0(new xMe(n),f):s=rY0(n,f);var o=Ck.alloc(i-s.length);if(s=Ck.concat([o,s],i),r===4)return sY0(f,s);if(r===1)return oY0(f,s,a);if(r===3)return s;throw new Error("unknown padding")};function sY0(t,e){var n=t.modulus.byteLength(),a=fY0("sha1").update(Ck.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=TMe(f,wMe(i,r)),o=TMe(i,wMe(s,n-r-1));if(cY0(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 oY0(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 cY0(t,e){t=Ck.from(t),e=Ck.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();d7.publicEncrypt=vMe();d7.privateDecrypt=_Me();d7.privateEncrypt=function(e,n){return d7.publicEncrypt(e,n,!0)};d7.publicDecrypt=function(e,n){return d7.privateDecrypt(e,n,!0)}});var LMe=D(Ik=>{"use strict";u();p();function CMe(){throw new Error(`secure random number generation not supported by this browser -use chrome, FireFox or Internet Explorer 11`)}var kMe=En(),IMe=s8(),SMe=kMe.Buffer,RMe=kMe.kMaxLength,vre=global.crypto||global.msCrypto,MMe=Math.pow(2,32)-1;function BMe(t,e){if(typeof t!="number"||t!==t)throw new TypeError("offset must be a number");if(t>MMe||t<0)throw new TypeError("offset must be a uint32");if(t>RMe||t>e)throw new RangeError("offset out of range")}function DMe(t,e,n){if(typeof t!="number"||t!==t)throw new TypeError("size must be a number");if(t>MMe||t<0)throw new TypeError("size must be a uint32");if(t+e>n||t>RMe)throw new RangeError("buffer too small")}vre&&vre.getRandomValues||!x.browser?(Ik.randomFill=dY0,Ik.randomFillSync=lY0):(Ik.randomFill=CMe,Ik.randomFillSync=CMe);function dY0(t,e,n,a){if(!SMe.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 BMe(e,t.length),DMe(n,e,t.length),PMe(t,e,n,a)}function PMe(t,e,n,a){if(x.browser){var r=t.buffer,f=new Uint8Array(r,e,n);if(vre.getRandomValues(f),a){x.nextTick(function(){a(null,t)});return}return t}if(a){IMe(n,function(s,o){if(s)return a(s);o.copy(t,e),a(null,t)});return}var i=IMe(n);return i.copy(t,e),t}function lY0(t,e,n){if(typeof e>"u"&&(e=0),!SMe.isBuffer(t)&&!(t instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return BMe(e,t.length),n===void 0&&(n=t.length-e),DMe(n,e,t.length),PMe(t,e,n)}});var WU=D(_n=>{"use strict";u();p();_n.randomBytes=_n.rng=_n.pseudoRandomBytes=_n.prng=s8();_n.createHash=_n.Hash=zy();_n.createHmac=_n.Hmac=Cne();var uY0=yCe(),pY0=Object.keys(uY0),hY0=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(pY0);_n.getHashes=function(){return hY0};var FMe=Fne();_n.pbkdf2=FMe.pbkdf2;_n.pbkdf2Sync=FMe.pbkdf2Sync;var Pu=NIe();_n.Cipher=Pu.Cipher;_n.createCipher=Pu.createCipher;_n.Cipheriv=Pu.Cipheriv;_n.createCipheriv=Pu.createCipheriv;_n.Decipher=Pu.Decipher;_n.createDecipher=Pu.createDecipher;_n.Decipheriv=Pu.Decipheriv;_n.createDecipheriv=Pu.createDecipheriv;_n.getCiphers=Pu.getCiphers;_n.listCiphers=Pu.listCiphers;var kk=YIe();_n.DiffieHellmanGroup=kk.DiffieHellmanGroup;_n.createDiffieHellmanGroup=kk.createDiffieHellmanGroup;_n.getDiffieHellman=kk.getDiffieHellman;_n.createDiffieHellman=kk.createDiffieHellman;_n.DiffieHellman=kk.DiffieHellman;var HU=cMe();_n.createSign=HU.createSign;_n.Sign=HU.Sign;_n.createVerify=HU.createVerify;_n.Verify=HU.Verify;_n.createECDH=lMe();var zU=AMe();_n.publicEncrypt=zU.publicEncrypt;_n.privateEncrypt=zU.privateEncrypt;_n.publicDecrypt=zU.publicDecrypt;_n.privateDecrypt=zU.privateDecrypt;var NMe=LMe();_n.randomFill=NMe.randomFill;_n.randomFillSync=NMe.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 Uw=D((r$n,xre)=>{u();p();var wre;xre.exports=function(e){return wre||(wre=new W3(null)),wre.generate(e)};function W3(t){this.rand=t}xre.exports.Rand=W3;W3.prototype.generate=function(e){return this._rand(e)};W3.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 l7=kr(),Sk=x6(),qU=Sk.getNAF,mY0=Sk.getJSF,jU=Sk.assert;function q3(t,e){this.type=t,this.p=new l7(e.p,16),this.red=e.prime?l7.red(e.prime):l7.mont(this.p),this.zero=new l7(0).toRed(this.red),this.one=new l7(1).toRed(this.red),this.two=new l7(2).toRed(this.red),this.n=e.n&&new l7(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))}OMe.exports=q3;q3.prototype.point=function(){throw new Error("Not implemented")};q3.prototype.validate=function(){throw new Error("Not implemented")};q3.prototype._fixedNafMul=function(e,n){jU(e.precomputed);var a=e._getDoubles(),r=qU(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];jU(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};q3.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]=qU(a[v],i[v],this._bitLength),o[k]=qU(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=mY0(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};N5.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 bY0=x6(),Xf=kr(),Ere=Nt(),cT=Rk(),yY0=bY0.assert;function O5(t){cT.call(this,"short",t),this.a=new Xf(t.a,16).toRed(this.red),this.b=new Xf(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)}Ere(O5,cT);UMe.exports=O5;O5.prototype._getEndomorphism=function(e){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var n,a;if(e.beta)n=new Xf(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 Xf(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],yY0(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 Xf(s.a,16),b:new Xf(s.b,16)}}):i=this._getEndoBasis(a),{beta:n,lambda:a,basis:i}}};O5.prototype._getEndoRoots=function(e){var n=e===this.p?this.red:Xf.mont(e),a=new Xf(2).toRed(n).redInvm(),r=a.redNeg(),f=new Xf(3).toRed(n).redNeg().redSqrt().redMul(a),i=r.redAdd(f).fromRed(),s=r.redSub(f).fromRed();return[i,s]};O5.prototype._getEndoBasis=function(e){for(var n=this.n.ushrn(Math.floor(this.n.bitLength()/2)),a=e,r=this.n.clone(),f=new Xf(1),i=new Xf(0),s=new Xf(0),o=new Xf(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}]};O5.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}};O5.prototype.pointFromX=function(e,n){e=new Xf(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)};O5.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};O5.prototype._endoWnafMulAdd=function(e,n,a){for(var r=this._endoWnafT1,f=this._endoWnafT2,i=0;i":""};Ts.prototype.isInfinity=function(){return this.inf};Ts.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)};Ts.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)};Ts.prototype.getX=function(){return this.x.fromRed()};Ts.prototype.getY=function(){return this.y.fromRed()};Ts.prototype.mul=function(e){return e=new Xf(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)};Ts.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)};Ts.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)};Ts.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)};Ts.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};Ts.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 no(t,e,n,a){cT.BasePoint.call(this,t,"jacobian"),e===null&&n===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new Xf(0)):(this.x=new Xf(e,16),this.y=new Xf(n,16),this.z=new Xf(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}Ere(no,cT.BasePoint);O5.prototype.jpoint=function(e,n,a){return new no(this,e,n,a)};no.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)};no.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};no.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)};no.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)};no.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}};no.prototype.inspect=function(){return this.isInfinity()?"":""};no.prototype.isInfinity=function(){return this.z.cmpn(0)===0}});var qMe=D((p$n,WMe)=>{"use strict";u();p();var dT=kr(),zMe=Nt(),GU=Rk(),gY0=x6();function lT(t){GU.call(this,"mont",t),this.a=new dT(t.a,16).toRed(this.red),this.b=new dT(t.b,16).toRed(this.red),this.i4=new dT(4).toRed(this.red).redInvm(),this.two=new dT(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}zMe(lT,GU);WMe.exports=lT;lT.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 xs(t,e,n){GU.BasePoint.call(this,t,"projective"),e===null&&n===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new dT(e,16),this.z=new dT(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}zMe(xs,GU.BasePoint);lT.prototype.decodePoint=function(e,n){return this.point(gY0.toArray(e,n),1)};lT.prototype.point=function(e,n){return new xs(this,e,n)};lT.prototype.pointFromJSON=function(e){return xs.fromJSON(this,e)};xs.prototype.precompute=function(){};xs.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};xs.fromJSON=function(e,n){return new xs(e,n[0],n[1]||e.one)};xs.prototype.inspect=function(){return this.isInfinity()?"":""};xs.prototype.isInfinity=function(){return this.z.cmpn(0)===0};xs.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)};xs.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};xs.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)};xs.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};xs.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};xs.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};xs.prototype.eq=function(e){return this.getX().cmp(e.getX())===0};xs.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};xs.prototype.getX=function(){return this.normalize(),this.x.fromRed()}});var KMe=D((b$n,GMe)=>{"use strict";u();p();var vY0=x6(),_8=kr(),jMe=Nt(),KU=Rk(),wY0=vY0.assert;function Lu(t){this.twisted=(t.a|0)!==1,this.mOneA=this.twisted&&(t.a|0)===-1,this.extended=this.mOneA,KU.call(this,"edwards",t),this.a=new _8(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new _8(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new _8(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),wY0(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(t.c|0)===1}jMe(Lu,KU);GMe.exports=Lu;Lu.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)};Lu.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)};Lu.prototype.jpoint=function(e,n,a,r){return this.point(e,n,a,r)};Lu.prototype.pointFromX=function(e,n){e=new _8(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)};Lu.prototype.pointFromY=function(e,n){e=new _8(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)};Lu.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 Hr(t,e,n,a,r){KU.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 _8(e,16),this.y=new _8(n,16),this.z=a?new _8(a,16):this.curve.one,this.t=r&&new _8(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()))))}jMe(Hr,KU.BasePoint);Lu.prototype.pointFromJSON=function(e){return Hr.fromJSON(this,e)};Lu.prototype.point=function(e,n,a,r){return new Hr(this,e,n,a,r)};Hr.fromJSON=function(e,n){return new Hr(e,n[0],n[1],n[2])};Hr.prototype.inspect=function(){return this.isInfinity()?"":""};Hr.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};Hr.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)};Hr.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)};Hr.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()};Hr.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)};Hr.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)};Hr.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)};Hr.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)};Hr.prototype.mulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!1)};Hr.prototype.jmulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!0)};Hr.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};Hr.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};Hr.prototype.getX=function(){return this.normalize(),this.x.fromRed()};Hr.prototype.getY=function(){return this.normalize(),this.y.fromRed()};Hr.prototype.eq=function(e){return this===e||this.getX().cmp(e.getX())===0&&this.getY().cmp(e.getY())===0};Hr.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}};Hr.prototype.toP=Hr.prototype.normalize;Hr.prototype.mixedAdd=Hr.prototype.add});var _re=D(QMe=>{"use strict";u();p();var QU=QMe;QU.base=Rk();QU.short=HMe();QU.mont=qMe();QU.edwards=KMe()});var YMe=D((x$n,VMe)=>{u();p();VMe.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 VU=D(XMe=>{"use strict";u();p();var Cre=XMe,j3=t7(),Are=_re(),TY0=x6(),$Me=TY0.assert;function JMe(t){t.type==="short"?this.curve=new Are.short(t):t.type==="edwards"?this.curve=new Are.edwards(t):this.curve=new Are.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,$Me(this.g.validate(),"Invalid curve"),$Me(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}Cre.PresetCurve=JMe;function G3(t,e){Object.defineProperty(Cre,t,{configurable:!0,enumerable:!0,get:function(){var n=new JMe(e);return Object.defineProperty(Cre,t,{configurable:!0,enumerable:!0,value:n}),n}})}G3("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:j3.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});G3("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:j3.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});G3("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:j3.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});G3("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:j3.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"]});G3("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:j3.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"]});G3("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:j3.sha256,gRed:!1,g:["9"]});G3("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:j3.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var Ire;try{Ire=YMe()}catch{Ire=void 0}G3("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:j3.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",Ire]})});var eBe=D((k$n,ZMe)=>{"use strict";u();p();var xY0=kr(),EY0=x6(),kre=EY0.assert;function qo(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=qo;qo.fromPublic=function(e,n,a){return n instanceof qo?n:new qo(e,{pub:n,pubEnc:a})};qo.fromPrivate=function(e,n,a){return n instanceof qo?n:new qo(e,{priv:n,privEnc:a})};qo.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"}};qo.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};qo.prototype.getPrivate=function(e){return e==="hex"?this.priv.toString(16,2):this.priv};qo.prototype._importPrivate=function(e,n){this.priv=new xY0(e,n||16),this.priv=this.priv.umod(this.ec.curve.n)};qo.prototype._importPublic=function(e,n){if(e.x||e.y){this.ec.curve.type==="mont"?kre(e.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&kre(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)};qo.prototype.derive=function(e){return e.validate()||kre(e.validate(),"public point not validated"),e.mul(this.priv).getX()};qo.prototype.sign=function(e,n,a){return this.ec.sign(e,this,n,a)};qo.prototype.verify=function(e,n){return this.ec.verify(e,n,this)};qo.prototype.inspect=function(){return""}});var aBe=D((M$n,nBe)=>{"use strict";u();p();var YU=kr(),Mre=x6(),_Y0=Mre.assert;function $U(t,e){if(t instanceof $U)return t;this._importDER(t,e)||(_Y0(t.r&&t.s,"Signature without r or s"),this.r=new YU(t.r,16),this.s=new YU(t.s,16),t.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}nBe.exports=$U;function AY0(){this.place=0}function Sre(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 tBe(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)}$U.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=tBe(n),a=tBe(a);!a[0]&&!(a[1]&128);)a=a.slice(1);var r=[2];Rre(r,n.length),r=r.concat(n),r.push(2),Rre(r,a.length);var f=r.concat(a),i=[48];return Rre(i,f.length),i=i.concat(f),Mre.encode(i,e)}});var sBe=D((P$n,iBe)=>{"use strict";u();p();var u7=kr(),rBe=Wae(),CY0=x6(),Bre=VU(),IY0=Uw(),fBe=CY0.assert,Dre=eBe(),JU=aBe();function U5(t){if(!(this instanceof U5))return new U5(t);typeof t=="string"&&(fBe(Object.prototype.hasOwnProperty.call(Bre,t),"Unknown curve "+t),t=Bre[t]),t instanceof Bre.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}iBe.exports=U5;U5.prototype.keyPair=function(e){return new Dre(this,e)};U5.prototype.keyFromPrivate=function(e,n){return Dre.fromPrivate(this,e,n)};U5.prototype.keyFromPublic=function(e,n){return Dre.fromPublic(this,e,n)};U5.prototype.genKeyPair=function(e){e||(e={});for(var n=new rBe({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||IY0(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),r=this.n.sub(new u7(2));;){var f=new u7(n.generate(a));if(!(f.cmp(r)>0))return f.iaddn(1),this.keyFromPrivate(f)}};U5.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};U5.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 u7(e,16));for(var f=this.n.byteLength(),i=n.getPrivate().toArray("be",f),s=e.toArray("be",f),o=new rBe({hash:this.hash,entropy:i,nonce:s,pers:r.pers,persEnc:r.persEnc||"utf8"}),c=this.n.sub(new u7(1)),d=0;;d++){var l=r.k?r.k(d):new u7(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 JU({r:v,s:k,recoveryParam:O})}}}}}};U5.prototype.verify=function(e,n,a,r){e=this._truncateToN(new u7(e,16)),a=this.keyFromPublic(a,r),n=new JU(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)};U5.prototype.recoverPubKey=function(t,e,n,a){fBe((3&n)===n,"The recovery param is more than two bits"),e=new JU(e,a);var r=this.n,f=new u7(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)};U5.prototype.getKeyRecoveryParam=function(t,e,n,a){if(e=new JU(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 lBe=D((N$n,dBe)=>{"use strict";u();p();var Mk=x6(),cBe=Mk.assert,oBe=Mk.parseBytes,uT=Mk.cachedProperty;function Es(t,e){this.eddsa=t,this._secret=oBe(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=oBe(e.pub)}Es.fromPublic=function(e,n){return n instanceof Es?n:new Es(e,{pub:n})};Es.fromSecret=function(e,n){return n instanceof Es?n:new Es(e,{secret:n})};Es.prototype.secret=function(){return this._secret};uT(Es,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});uT(Es,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});uT(Es,"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});uT(Es,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});uT(Es,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});uT(Es,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});Es.prototype.sign=function(e){return cBe(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)};Es.prototype.verify=function(e,n){return this.eddsa.verify(e,n,this)};Es.prototype.getSecret=function(e){return cBe(this._secret,"KeyPair is public only"),Mk.encode(this.secret(),e)};Es.prototype.getPublic=function(e){return Mk.encode(this.pubBytes(),e)};dBe.exports=Es});var pBe=D((H$n,uBe)=>{"use strict";u();p();var kY0=kr(),XU=x6(),SY0=XU.assert,ZU=XU.cachedProperty,RY0=XU.parseBytes;function p7(t,e){this.eddsa=t,typeof e!="object"&&(e=RY0(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),SY0(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof kY0&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}ZU(p7,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});ZU(p7,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});ZU(p7,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});ZU(p7,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});p7.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};p7.prototype.toHex=function(){return XU.encode(this.toBytes(),"hex").toUpperCase()};uBe.exports=p7});var gBe=D((q$n,yBe)=>{"use strict";u();p();var MY0=t7(),BY0=VU(),pT=x6(),DY0=pT.assert,mBe=pT.parseBytes,bBe=lBe(),hBe=pBe();function Fc(t){if(DY0(t==="ed25519","only tested with ed25519 so far"),!(this instanceof Fc))return new Fc(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=MY0.sha512}yBe.exports=Fc;Fc.prototype.sign=function(e,n){e=mBe(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})};Fc.prototype.verify=function(e,n,a){e=mBe(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)};Fc.prototype.hashInt=function(){for(var e=this.hash(),n=0;n{"use strict";u();p();var h7=vBe;h7.version=xxe().version;h7.utils=x6();h7.rand=Uw();h7.curve=_re();h7.curves=VU();h7.ec=sBe();h7.eddsa=gBe()});var TBe=D(hT=>{"use strict";u();p();var PY0=hT&&hT.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hT,"__esModule",{value:!0});hT.EC=void 0;var LY0=PY0(wBe()),FY0=LY0.default.ec;hT.EC=FY0});var xBe=D(eH=>{"use strict";u();p();Object.defineProperty(eH,"__esModule",{value:!0});eH.version=void 0;eH.version="signing-key/5.7.0"});var Dk=D(K3=>{"use strict";u();p();Object.defineProperty(K3,"__esModule",{value:!0});K3.computePublicKey=K3.recoverPublicKey=K3.SigningKey=void 0;var NY0=TBe(),ki=Vt(),Bk=Ba(),OY0=Ft(),UY0=xBe(),Lre=new OY0.Logger(UY0.version),Pre=null;function Fu(){return Pre||(Pre=new NY0.EC("secp256k1")),Pre}var EBe=function(){function t(e){(0,Bk.defineReadOnly)(this,"curve","secp256k1"),(0,Bk.defineReadOnly)(this,"privateKey",(0,ki.hexlify)(e)),(0,ki.hexDataLength)(this.privateKey)!==32&&Lre.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");var n=Fu().keyFromPrivate((0,ki.arrayify)(this.privateKey));(0,Bk.defineReadOnly)(this,"publicKey","0x"+n.getPublic(!1,"hex")),(0,Bk.defineReadOnly)(this,"compressedPublicKey","0x"+n.getPublic(!0,"hex")),(0,Bk.defineReadOnly)(this,"_isSigningKey",!0)}return t.prototype._addPoint=function(e){var n=Fu().keyFromPublic((0,ki.arrayify)(this.publicKey)),a=Fu().keyFromPublic((0,ki.arrayify)(e));return"0x"+n.pub.add(a.pub).encodeCompressed("hex")},t.prototype.signDigest=function(e){var n=Fu().keyFromPrivate((0,ki.arrayify)(this.privateKey)),a=(0,ki.arrayify)(e);a.length!==32&&Lre.throwArgumentError("bad digest length","digest",e);var r=n.sign(a,{canonical:!0});return(0,ki.splitSignature)({recoveryParam:r.recoveryParam,r:(0,ki.hexZeroPad)("0x"+r.r.toString(16),32),s:(0,ki.hexZeroPad)("0x"+r.s.toString(16),32)})},t.prototype.computeSharedSecret=function(e){var n=Fu().keyFromPrivate((0,ki.arrayify)(this.privateKey)),a=Fu().keyFromPublic((0,ki.arrayify)(_Be(e)));return(0,ki.hexZeroPad)("0x"+n.derive(a.getPublic()).toString(16),32)},t.isSigningKey=function(e){return!!(e&&e._isSigningKey)},t}();K3.SigningKey=EBe;function HY0(t,e){var n=(0,ki.splitSignature)(e),a={r:(0,ki.arrayify)(n.r),s:(0,ki.arrayify)(n.s)};return"0x"+Fu().recoverPubKey((0,ki.arrayify)(t),a,n.recoveryParam).encode("hex",!1)}K3.recoverPublicKey=HY0;function _Be(t,e){var n=(0,ki.arrayify)(t);if(n.length===32){var a=new EBe(n);return e?"0x"+Fu().keyFromPrivate(n).getPublic(!0,"hex"):a.publicKey}else{if(n.length===33)return e?(0,ki.hexlify)(n):"0x"+Fu().keyFromPublic(n).getPublic(!1,"hex");if(n.length===65)return e?"0x"+Fu().keyFromPublic(n).getPublic(!0,"hex"):(0,ki.hexlify)(n)}return Lre.throwArgumentError("invalid public or private key","key","[REDACTED]")}K3.computePublicKey=_Be});var ABe=D(tH=>{"use strict";u();p();Object.defineProperty(tH,"__esModule",{value:!0});tH.version=void 0;tH.version="transactions/5.7.0"});var Nu=D(hi=>{"use strict";u();p();var zY0=hi&&hi.__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]}),WY0=hi&&hi.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),qY0=hi&&hi.__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)&&zY0(e,t,n);return WY0(e,t),e};Object.defineProperty(hi,"__esModule",{value:!0});hi.parse=hi.serialize=hi.accessListify=hi.recoverAddress=hi.computeAddress=hi.TransactionTypes=void 0;var Pk=Po(),m7=ia(),oa=Vt(),jY0=E3(),mT=H1(),GY0=Ba(),Q3=qY0(gI()),CBe=Dk(),Nre=Ft(),KY0=ABe(),Go=new Nre.Logger(KY0.version),QY0;(function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"})(QY0=hi.TransactionTypes||(hi.TransactionTypes={}));function Ore(t){return t==="0x"?null:(0,Pk.getAddress)(t)}function jo(t){return t==="0x"?jY0.Zero:m7.BigNumber.from(t)}var VY0=[{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"}],YY0={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function IBe(t){var e=(0,CBe.computePublicKey)(t);return(0,Pk.getAddress)((0,oa.hexDataSlice)((0,mT.keccak256)((0,oa.hexDataSlice)(e,1)),12))}hi.computeAddress=IBe;function Ure(t,e){return IBe((0,CBe.recoverPublicKey)((0,oa.arrayify)(t),e))}hi.recoverAddress=Ure;function C6(t,e){var n=(0,oa.stripZeros)(m7.BigNumber.from(t).toHexString());return n.length>32&&Go.throwArgumentError("invalid length for "+e,"transaction:"+e,t),n}function Fre(t,e){return{address:(0,Pk.getAddress)(t),storageKeys:(e||[]).map(function(n,a){return(0,oa.hexDataLength)(n)!==32&&Go.throwArgumentError("invalid access list storageKey","accessList["+t+":"+a+"]",n),n.toLowerCase()})}}function nH(t){if(Array.isArray(t))return t.map(function(n,a){return Array.isArray(n)?(n.length>2&&Go.throwArgumentError("access list expected to be [ address, storageKeys[] ]","value["+a+"]",n),Fre(n[0],n[1])):Fre(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 Fre(n,Object.keys(a).sort())});return e.sort(function(n,a){return n.address.localeCompare(a.address)}),e}hi.accessListify=nH;function kBe(t){return nH(t).map(function(e){return[e.address,e.storageKeys]})}function SBe(t,e){if(t.gasPrice!=null){var n=m7.BigNumber.from(t.gasPrice),a=m7.BigNumber.from(t.maxFeePerGas||0);n.eq(a)||Go.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:n,maxFeePerGas:a})}var r=[C6(t.chainId||0,"chainId"),C6(t.nonce||0,"nonce"),C6(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),C6(t.maxFeePerGas||0,"maxFeePerGas"),C6(t.gasLimit||0,"gasLimit"),t.to!=null?(0,Pk.getAddress)(t.to):"0x",C6(t.value||0,"value"),t.data||"0x",kBe(t.accessList||[])];if(e){var f=(0,oa.splitSignature)(e);r.push(C6(f.recoveryParam,"recoveryParam")),r.push((0,oa.stripZeros)(f.r)),r.push((0,oa.stripZeros)(f.s))}return(0,oa.hexConcat)(["0x02",Q3.encode(r)])}function RBe(t,e){var n=[C6(t.chainId||0,"chainId"),C6(t.nonce||0,"nonce"),C6(t.gasPrice||0,"gasPrice"),C6(t.gasLimit||0,"gasLimit"),t.to!=null?(0,Pk.getAddress)(t.to):"0x",C6(t.value||0,"value"),t.data||"0x",kBe(t.accessList||[])];if(e){var a=(0,oa.splitSignature)(e);n.push(C6(a.recoveryParam,"recoveryParam")),n.push((0,oa.stripZeros)(a.r)),n.push((0,oa.stripZeros)(a.s))}return(0,oa.hexConcat)(["0x01",Q3.encode(n)])}function $Y0(t,e){(0,GY0.checkProperties)(t,YY0);var n=[];VY0.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&&Go.throwArgumentError("invalid length for "+i.name,"transaction:"+i.name,s),i.maxLength&&(s=(0,oa.stripZeros)(s),s.length>i.maxLength&&Go.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"&&Go.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 Q3.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&&Go.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e)):r.v!==f&&Go.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))),Q3.encode(n)}function JY0(t,e){if(t.type==null||t.type===0)return t.accessList!=null&&Go.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",t),$Y0(t,e);switch(t.type){case 1:return RBe(t,e);case 2:return SBe(t,e);default:break}return Go.throwError("unsupported transaction type: "+t.type,Nre.Logger.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:t.type})}hi.serialize=JY0;function MBe(t,e,n){try{var a=jo(e[0]).toNumber();if(a!==0&&a!==1)throw new Error("bad recid");t.v=a}catch{Go.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,mT.keccak256)(n(t));t.from=Ure(r,{r:t.r,s:t.s,recoveryParam:t.v})}catch{}}function XY0(t){var e=Q3.decode(t.slice(1));e.length!==9&&e.length!==12&&Go.throwArgumentError("invalid component count for transaction type: 2","payload",(0,oa.hexlify)(t));var n=jo(e[2]),a=jo(e[3]),r={type:2,chainId:jo(e[0]).toNumber(),nonce:jo(e[1]).toNumber(),maxPriorityFeePerGas:n,maxFeePerGas:a,gasPrice:null,gasLimit:jo(e[4]),to:Ore(e[5]),value:jo(e[6]),data:e[7],accessList:nH(e[8])};return e.length===9||(r.hash=(0,mT.keccak256)(t),MBe(r,e.slice(9),SBe)),r}function ZY0(t){var e=Q3.decode(t.slice(1));e.length!==8&&e.length!==11&&Go.throwArgumentError("invalid component count for transaction type: 1","payload",(0,oa.hexlify)(t));var n={type:1,chainId:jo(e[0]).toNumber(),nonce:jo(e[1]).toNumber(),gasPrice:jo(e[2]),gasLimit:jo(e[3]),to:Ore(e[4]),value:jo(e[5]),data:e[6],accessList:nH(e[7])};return e.length===8||(n.hash=(0,mT.keccak256)(t),MBe(n,e.slice(8),RBe)),n}function e$0(t){var e=Q3.decode(t);e.length!==9&&e.length!==6&&Go.throwArgumentError("invalid raw transaction","rawTransaction",t);var n={nonce:jo(e[0]).toNumber(),gasPrice:jo(e[1]),gasLimit:jo(e[2]),to:Ore(e[3]),value:jo(e[4]),data:e[5],chainId:0};if(e.length===6)return n;try{n.v=m7.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),m7.BigNumber.from(n.r).isZero()&&m7.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,mT.keccak256)(Q3.encode(r));try{n.from=Ure(f,{r:(0,oa.hexlify)(n.r),s:(0,oa.hexlify)(n.s),recoveryParam:a})}catch{}n.hash=(0,mT.keccak256)(t)}return n.type=null,n}function t$0(t){var e=(0,oa.arrayify)(t);if(e[0]>127)return e$0(e);switch(e[0]){case 1:return ZY0(e);case 2:return XY0(e);default:break}return Go.throwError("unsupported transaction type: "+e[0],Nre.Logger.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:e[0]})}hi.parse=t$0});var BBe=D(aH=>{"use strict";u();p();Object.defineProperty(aH,"__esModule",{value:!0});aH.version=void 0;aH.version="contracts/5.7.0"});var HBe=D(Ko=>{"use strict";u();p();var iH=Ko&&Ko.__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)}}(),Y3=Ko&&Ko.__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())})},$3=Ko&&Ko.__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,Fk.getContractAddress)(e)},t.getInterface=function(e){return rH.Interface.isInterface(e)?e:new rH.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",ao.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",ao.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,ao.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 Hre.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 rH.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 d$0);if(e==="event")return this._normalizeRunningEvent(new Nk("event",null));if(e==="*")return this._normalizeRunningEvent(new LBe(this.address,this.interface));var n=this.interface.getEvent(e);return this._normalizeRunningEvent(new PBe(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 PBe(this.address,this.interface,n,e.topics))}catch{}var r={address:this.address,topics:e.topics};return this._normalizeRunningEvent(new Nk(OBe(r),r))}return this._normalizeRunningEvent(new LBe(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",ao.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,n$0([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,b7.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}();Ko.BaseContract=UBe;var zre=function(t){iH(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(UBe);Ko.Contract=zre;var l$0=function(){function t(e,n,a){var r=this.constructor,f=null;typeof n=="string"?f=n:(0,b7.isBytes)(n)?f=(0,b7.hexlify)(n):n&&typeof n.object=="string"?f=n.object:f="!",f.substring(0,2)!=="0x"&&(f="0x"+f),(!(0,b7.isHexString)(f)||f.length%2)&&yr.throwArgumentError("invalid bytecode","bytecode",n),a&&!Hre.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(J3,"__esModule",{value:!0});J3.Base58=J3.Base32=J3.BaseX=void 0;var zBe=Vt(),oH=Ba(),Wre=function(){function t(e){(0,oH.defineReadOnly)(this,"alphabet",e),(0,oH.defineReadOnly)(this,"base",e.length),(0,oH.defineReadOnly)(this,"_alphabetMap",{}),(0,oH.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(Ok,"__esModule",{value:!0});Ok.SupportedAlgorithm=void 0;var h$0;(function(t){t.sha256="sha256",t.sha512="sha512"})(h$0=Ok.SupportedAlgorithm||(Ok.SupportedAlgorithm={}))});var WBe=D(dH=>{"use strict";u();p();Object.defineProperty(dH,"__esModule",{value:!0});dH.version=void 0;dH.version="sha2/5.7.0"});var jBe=D(H5=>{"use strict";u();p();var m$0=H5&&H5.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(H5,"__esModule",{value:!0});H5.computeHmac=H5.sha512=H5.sha256=H5.ripemd160=void 0;var Uk=m$0(t7()),Hk=Vt(),b$0=qre(),qBe=Ft(),y$0=WBe(),g$0=new qBe.Logger(y$0.version);function v$0(t){return"0x"+Uk.default.ripemd160().update((0,Hk.arrayify)(t)).digest("hex")}H5.ripemd160=v$0;function w$0(t){return"0x"+Uk.default.sha256().update((0,Hk.arrayify)(t)).digest("hex")}H5.sha256=w$0;function T$0(t){return"0x"+Uk.default.sha512().update((0,Hk.arrayify)(t)).digest("hex")}H5.sha512=T$0;function x$0(t,e,n){return b$0.SupportedAlgorithm[t]||g$0.throwError("unsupported algorithm "+t,qBe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"hmac",algorithm:t}),"0x"+Uk.default.hmac(Uk.default[t],(0,Hk.arrayify)(e)).update((0,Hk.arrayify)(n)).digest("hex")}H5.computeHmac=x$0});var y7=D(z5=>{"use strict";u();p();Object.defineProperty(z5,"__esModule",{value:!0});z5.SupportedAlgorithm=z5.sha512=z5.sha256=z5.ripemd160=z5.computeHmac=void 0;var lH=jBe();Object.defineProperty(z5,"computeHmac",{enumerable:!0,get:function(){return lH.computeHmac}});Object.defineProperty(z5,"ripemd160",{enumerable:!0,get:function(){return lH.ripemd160}});Object.defineProperty(z5,"sha256",{enumerable:!0,get:function(){return lH.sha256}});Object.defineProperty(z5,"sha512",{enumerable:!0,get:function(){return lH.sha512}});var E$0=qre();Object.defineProperty(z5,"SupportedAlgorithm",{enumerable:!0,get:function(){return E$0.SupportedAlgorithm}})});var KBe=D(uH=>{"use strict";u();p();Object.defineProperty(uH,"__esModule",{value:!0});uH.pbkdf2=void 0;var bT=Vt(),GBe=y7();function _$0(t,e,n,a,r){t=(0,bT.arrayify)(t),e=(0,bT.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,bT.arrayify)((0,GBe.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(pH,"__esModule",{value:!0});pH.pbkdf2=void 0;var A$0=KBe();Object.defineProperty(pH,"pbkdf2",{enumerable:!0,get:function(){return A$0.pbkdf2}})});var QBe=D(mH=>{"use strict";u();p();Object.defineProperty(mH,"__esModule",{value:!0});mH.version=void 0;mH.version="wordlists/5.7.0"});var Ou=D(g7=>{"use strict";u();p();Object.defineProperty(g7,"__esModule",{value:!0});g7.Wordlist=g7.logger=void 0;var C$0=!1,I$0=A3(),VBe=Ba(),k$0=Ft(),S$0=QBe();g7.logger=new k$0.Logger(S$0.version);var R$0=function(){function t(e){var n=this.constructor;g7.logger.checkAbstract(n,t),(0,VBe.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,I$0.id)(n.join(` +})`)}catch{n=function(r){this._initNamed(r)}}return DQ0(n,e),n.prototype._initNamed=function(r){e.call(this,r)},new n(this)};iT.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(sRe.decoders[e])),this.decoders[e]};iT.prototype.decode=function(e,n,a){return this._getDecoder(n).decode(e,a)};iT.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(sRe.encoders[e])),this.encoders[e]};iT.prototype.encode=function(e,n,a){return this._getEncoder(n).encode(e,a)}});var lRe=D(dRe=>{u();p();var LQ0=Nt();function L5(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}dRe.Reporter=L5;L5.prototype.isError=function(e){return e instanceof oT};L5.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}};L5.prototype.restore=function(e){var n=this._reporterState;n.obj=e.obj,n.path=n.path.slice(0,e.pathLen)};L5.prototype.enterKey=function(e){return this._reporterState.path.push(e)};L5.prototype.exitKey=function(e){var n=this._reporterState;n.path=n.path.slice(0,e-1)};L5.prototype.leaveKey=function(e,n,a){var r=this._reporterState;this.exitKey(e),r.obj!==null&&(r.obj[n]=a)};L5.prototype.path=function(){return this._reporterState.path.join("/")};L5.prototype.enterObject=function(){var e=this._reporterState,n=e.obj;return e.obj={},n};L5.prototype.leaveObject=function(e){var n=this._reporterState,a=n.obj;return n.obj=e,a};L5.prototype.error=function(e){var n,a=this._reporterState,r=e instanceof oT;if(r?n=e:n=new oT(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};L5.prototype.wrapResult=function(e){var n=this._reporterState;return n.options.partial?{result:this.isError(e)?null:e,errors:n.errors}:e};function oT(t,e){this.path=t,this.rethrow(e)}LQ0(oT,Error);oT.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,oT),!this.stack)try{throw new Error(this.message)}catch(n){this.stack=n.stack}return this}});var Jae=D($ae=>{u();p();var FQ0=Nt(),BU=cT().Reporter,xk=Qf().Buffer;function Du(t,e){if(BU.call(this,e),!xk.isBuffer(t)){this.error("Input not Buffer");return}this.base=t,this.offset=0,this.length=t.length}FQ0(Du,BU);$ae.DecoderBuffer=Du;Du.prototype.save=function(){return{offset:this.offset,reporter:BU.prototype.save.call(this)}};Du.prototype.restore=function(e){var n=new Du(this.base);return n.offset=e.offset,n.length=this.offset,this.offset=e.offset,BU.prototype.restore.call(this,e.reporter),n};Du.prototype.isEmpty=function(){return this.offset===this.length};Du.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")};Du.prototype.skip=function(e,n){if(!(this.offset+e<=this.length))return this.error(n||"DecoderBuffer overrun");var a=new Du(this.base);return a._reporterState=this._reporterState,a.offset=this.offset,a.length=this.offset+e,this.offset+=e,a};Du.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)};function MU(t,e){if(Array.isArray(t))this.length=0,this.value=t.map(function(n){return n instanceof MU||(n=new MU(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=xk.byteLength(t);else if(xk.isBuffer(t))this.value=t,this.length=t.length;else return e.error("Unsupported type: "+typeof t)}$ae.EncoderBuffer=MU;MU.prototype.join=function(e,n){return e||(e=new xk(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):xk.isBuffer(this.value)&&this.value.copy(e,n),n+=this.length)),e}});var hRe=D((BVn,pRe)=>{u();p();var NQ0=cT().Reporter,OQ0=cT().EncoderBuffer,UQ0=cT().DecoderBuffer,z1=Mc(),uRe=["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"],HQ0=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(uRe),zQ0=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function br(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())}pRe.exports=br;var WQ0=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];br.prototype.clone=function(){var e=this._baseState,n={};WQ0.forEach(function(r){n[r]=e[r]});var a=new this.constructor(n.parent);return a._baseState=n,a};br.prototype._wrap=function(){var e=this._baseState;HQ0.forEach(function(n){this[n]=function(){var r=new this.constructor(this);return e.children.push(r),r[n].apply(r,arguments)}},this)};br.prototype._init=function(e){var n=this._baseState;z1(n.parent===null),e.call(this),n.children=n.children.filter(function(a){return a._baseState.parent===this},this),z1.equal(n.children.length,1,"Root node can have only one child")};br.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&&(z1(n.children===null),n.children=a,a.forEach(function(r){r._baseState.parent=this},this)),e.length!==0&&(z1(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}))};zQ0.forEach(function(t){br.prototype[t]=function(){var n=this._baseState;throw new Error(t+" not implemented for encoding: "+n.enc)}});uRe.forEach(function(t){br.prototype[t]=function(){var n=this._baseState,a=Array.prototype.slice.call(arguments);return z1(n.tag===null),n.tag=t,this._useArgs(a),this}});br.prototype.use=function(e){z1(e);var n=this._baseState;return z1(n.use===null),n.use=e,this};br.prototype.optional=function(){var e=this._baseState;return e.optional=!0,this};br.prototype.def=function(e){var n=this._baseState;return z1(n.default===null),n.default=e,n.optional=!0,this};br.prototype.explicit=function(e){var n=this._baseState;return z1(n.explicit===null&&n.implicit===null),n.explicit=e,this};br.prototype.implicit=function(e){var n=this._baseState;return z1(n.explicit===null&&n.implicit===null),n.implicit=e,this};br.prototype.obj=function(){var e=this._baseState,n=Array.prototype.slice.call(arguments);return e.obj=!0,n.length!==0&&this._useArgs(n),this};br.prototype.key=function(e){var n=this._baseState;return z1(n.key===null),n.key=e,this};br.prototype.any=function(){var e=this._baseState;return e.any=!0,this};br.prototype.choice=function(e){var n=this._baseState;return z1(n.choice===null),n.choice=e,this._useArgs(Object.keys(e).map(function(a){return e[a]})),this};br.prototype.contains=function(e){var n=this._baseState;return z1(n.use===null),n.contains=e,this};br.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 UQ0(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};br.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)};br.prototype._getUse=function(e,n){var a=this._baseState;return a.useDecoder=this._use(e,n),z1(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};br.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")};br.prototype._createEncoderBuffer=function(e){return new OQ0(e,this.reporter)};br.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}};br.prototype._encodeValue=function(e,n,a){var r=this._baseState;if(r.parent===null)return r.children[0]._encode(e,n||new NQ0);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};br.prototype._encodeChoice=function(e,n){var a=this._baseState,r=a.choice[e.type];return r||z1(!1,e.type+" not found in "+JSON.stringify(Object.keys(a.choice))),r._encode(e.value,n)};br.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)};br.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)};br.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}});var cT=D(mRe=>{u();p();var DU=mRe;DU.Reporter=lRe().Reporter;DU.DecoderBuffer=Jae().DecoderBuffer;DU.EncoderBuffer=Jae().EncoderBuffer;DU.Node=hRe()});var yRe=D(o7=>{u();p();var bRe=Xae();o7.tagClass={0:"universal",1:"application",2:"context",3:"private"};o7.tagClassByName=bRe._reverse(o7.tagClass);o7.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"};o7.tagByName=bRe._reverse(o7.tag)});var Xae=D(vRe=>{u();p();var gRe=vRe;gRe._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};gRe.der=yRe()});var tre=D((jVn,ERe)=>{u();p();var qQ0=Nt(),Zae=sT(),PU=Zae.base,jQ0=Zae.bignum,wRe=Zae.constants.der;function TRe(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new _6,this.tree._init(t.body)}ERe.exports=TRe;TRe.prototype.decode=function(e,n){return e instanceof PU.DecoderBuffer||(e=new PU.DecoderBuffer(e,n)),this.tree._decode(e,n)};function _6(t){PU.Node.call(this,"der",t)}qQ0(_6,PU.Node);_6.prototype._peekTag=function(e,n,a){if(e.isEmpty())return!1;var r=e.save(),f=ere(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)};_6.prototype._decodeTag=function(e,n,a){var r=ere(e,'Failed to decode tag of "'+n+'"');if(e.isError(r))return r;var f=xRe(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+'"'))};_6.prototype._skipUntilEnd=function(e,n){for(;;){var a=ere(e,n);if(e.isError(a))return a;var r=xRe(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}};_6.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};_6.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=wRe.tag[n];return{cls:a,primitive:r,tag:n,tagStr:i}}function xRe(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 GQ0=Nt(),KQ0=Qf().Buffer,nre=tre();function are(t){nre.call(this,t),this.enc="pem"}GQ0(are,nre);_Re.exports=are;are.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 CRe=IRe;CRe.der=tre();CRe.pem=ARe()});var fre=D((ZVn,BRe)=>{u();p();var QQ0=Nt(),E8=Qf().Buffer,SRe=sT(),RRe=SRe.base,rre=SRe.constants.der;function MRe(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new ul,this.tree._init(t.body)}BRe.exports=MRe;MRe.prototype.encode=function(e,n){return this.tree._encode(e,n).join()};function ul(t){RRe.Node.call(this,"der",t)}QQ0(ul,RRe.Node);ul.prototype._encodeComposite=function(e,n,a,r){var f=VQ0(e,n,a,this.reporter);if(r.length<128){var o=new E8(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 E8(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])};ul.prototype._encodeStr=function(e,n){if(n==="bitstr")return this._createEncoderBuffer([e.unused|0,e.data]);if(n==="bmpstr"){for(var a=new E8(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 E8(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 F5(t){return t<10?"0"+t:t}ul.prototype._encodeTime=function(e,n){var a,r=new Date(e);return n==="gentime"?a=[F5(r.getFullYear()),F5(r.getUTCMonth()+1),F5(r.getUTCDate()),F5(r.getUTCHours()),F5(r.getUTCMinutes()),F5(r.getUTCSeconds()),"Z"].join(""):n==="utctime"?a=[F5(r.getFullYear()%100),F5(r.getUTCMonth()+1),F5(r.getUTCDate()),F5(r.getUTCHours()),F5(r.getUTCMinutes()),F5(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+n+" time is not supported yet"),this._encodeStr(a,"octstr")};ul.prototype._encodeNull=function(){return this._createEncoderBuffer("")};ul.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"&&!E8.isBuffer(e)){var a=e.toArray();!e.sign&&a[0]&128&&a.unshift(0),e=new E8(a)}if(E8.isBuffer(e)){var r=e.length;e.length===0&&r++;var i=new E8(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 E8(i))};ul.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)};ul.prototype._use=function(e,n){return typeof e=="function"&&(e=e(n)),e._getEncoder("der").tree};ul.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|=rre.tagClassByName[n||"universal"]<<6,r)}});var PRe=D((nYn,DRe)=>{u();p();var YQ0=Nt(),ire=fre();function sre(t){ire.call(this,t),this.enc="pem"}YQ0(sre,ire);DRe.exports=sre;sre.prototype.encode=function(e,n){for(var a=ire.prototype.encode.call(this,e),r=a.toString("base64"),f=["-----BEGIN "+n.label+"-----"],i=0;i{u();p();var LRe=FRe;LRe.der=fre();LRe.pem=PRe()});var sT=D(ORe=>{u();p();var dT=ORe;dT.bignum=kr();dT.define=cRe().define;dT.base=cT();dT.constants=Xae();dT.decoders=kRe();dT.encoders=NRe()});var WRe=D((lYn,zRe)=>{"use strict";u();p();var pl=sT(),URe=pl.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),$Q0=pl.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),ore=pl.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),JQ0=pl.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(ore),this.key("subjectPublicKey").bitstr())}),XQ0=pl.define("RelativeDistinguishedName",function(){this.setof($Q0)}),ZQ0=pl.define("RDNSequence",function(){this.seqof(XQ0)}),HRe=pl.define("Name",function(){this.choice({rdnSequence:this.use(ZQ0)})}),eV0=pl.define("Validity",function(){this.seq().obj(this.key("notBefore").use(URe),this.key("notAfter").use(URe))}),tV0=pl.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),nV0=pl.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(ore),this.key("issuer").use(HRe),this.key("validity").use(eV0),this.key("subject").use(HRe),this.key("subjectPublicKeyInfo").use(JQ0),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(tV0).optional())}),aV0=pl.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(nV0),this.key("signatureAlgorithm").use(ore),this.key("signatureValue").bitstr())});zRe.exports=aV0});var jRe=D(ml=>{"use strict";u();p();var hl=sT();ml.certificate=WRe();var rV0=hl.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())});ml.RSAPrivateKey=rV0;var fV0=hl.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});ml.RSAPublicKey=fV0;var qRe=hl.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())}),iV0=hl.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(qRe),this.key("subjectPublicKey").bitstr())});ml.PublicKey=iV0;var sV0=hl.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(qRe),this.key("subjectPrivateKey").octstr())});ml.PrivateKey=sV0;var oV0=hl.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())});ml.EncryptedPrivateKey=oV0;var cV0=hl.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())});ml.DSAPrivateKey=cV0;ml.DSAparam=hl.define("DSAparam",function(){this.int()});var dV0=hl.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),lV0=hl.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(dV0),this.key("publicKey").optional().explicit(1).bitstr())});ml.ECPrivateKey=lV0;ml.signature=hl.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})});var GRe=D((yYn,uV0)=>{uV0.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 QRe=D((gYn,KRe)=>{"use strict";u();p();var pV0=/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,hV0=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,mV0=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,bV0=rk(),yV0=aU(),LU=En().Buffer;KRe.exports=function(t,e){var n=t.toString(),a=n.match(pV0),r;if(a){var i="aes"+a[1],s=LU.from(a[2],"hex"),o=LU.from(a[3].replace(/[\r\n]/g,""),"base64"),c=bV0(e,s.slice(0,8),parseInt(a[1],10)).key,d=[],l=yV0.createDecipheriv(i,c,s);d.push(l.update(o)),d.push(l.final()),r=LU.concat(d)}else{var f=n.match(mV0);r=LU.from(f[2].replace(/[\r\n]/g,""),"base64")}var h=n.match(hV0)[1];return{tag:h,data:r}}});var Ek=D((TYn,YRe)=>{"use strict";u();p();var Lc=jRe(),gV0=GRe(),vV0=QRe(),wV0=aU(),TV0=Nne(),cre=En().Buffer;function xV0(t,e){var n=t.algorithm.decrypt.kde.kdeparams.salt,a=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),r=gV0[t.algorithm.decrypt.cipher.algo.join(".")],f=t.algorithm.decrypt.cipher.iv,i=t.subjectPrivateKey,s=parseInt(r.split("-")[1],10)/8,o=TV0.pbkdf2Sync(e,n,a,s,"sha1"),c=wV0.createDecipheriv(r,o,f),d=[];return d.push(c.update(i)),d.push(c.final()),cre.concat(d)}function VRe(t){var e;typeof t=="object"&&!cre.isBuffer(t)&&(e=t.passphrase,t=t.key),typeof t=="string"&&(t=cre.from(t));var n=vV0(t,e),a=n.tag,r=n.data,f,i;switch(a){case"CERTIFICATE":i=Lc.certificate.decode(r,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(i||(i=Lc.PublicKey.decode(r,"der")),f=i.algorithm.algorithm.join("."),f){case"1.2.840.113549.1.1.1":return Lc.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=Lc.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=Lc.EncryptedPrivateKey.decode(r,"der"),r=xV0(r,e);case"PRIVATE KEY":switch(i=Lc.PrivateKey.decode(r,"der"),f=i.algorithm.algorithm.join("."),f){case"1.2.840.113549.1.1.1":return Lc.RSAPrivateKey.decode(i.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:i.algorithm.curve,privateKey:Lc.ECPrivateKey.decode(i.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return i.algorithm.params.priv_key=Lc.DSAparam.decode(i.subjectPrivateKey,"der"),{type:"dsa",params:i.algorithm.params};default:throw new Error("unknown key id "+f)}case"RSA PUBLIC KEY":return Lc.RSAPublicKey.decode(r,"der");case"RSA PRIVATE KEY":return Lc.RSAPrivateKey.decode(r,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:Lc.DSAPrivateKey.decode(r,"der")};case"EC PRIVATE KEY":return r=Lc.ECPrivateKey.decode(r,"der"),{curve:r.parameters.value,privateKey:r.privateKey};default:throw new Error("unknown key type "+a)}}VRe.signature=Lc.signature;YRe.exports=VRe});var dre=D((_Yn,EV0)=>{EV0.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 XRe=D((AYn,NU)=>{"use strict";u();p();var Wo=En().Buffer,c7=Ine(),_V0=bU(),AV0=Tk().ec,FU=Va(),CV0=Ek(),IV0=dre(),kV0=1;function SV0(t,e,n,a,r){var f=CV0(e);if(f.curve){if(a!=="ecdsa"&&a!=="ecdsa/rsa")throw new Error("wrong private key type");return RV0(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!==kV0)throw new Error("illegal or unsupported padding mode");t=Wo.concat([r,t]);for(var i=f.modulus.byteLength(),s=[0,1];t.length+s.length+10&&n.ishrn(a),n}function DV0(t,e){t=lre(t,e),t=t.mod(e);var n=Wo.from(t.toArray());if(n.length{"use strict";u();p();var ure=En().Buffer,_k=Va(),LV0=Tk().ec,eMe=Ek(),FV0=dre();function NV0(t,e,n,a,r){var f=eMe(n);if(f.type==="ec"){if(a!=="ecdsa"&&a!=="ecdsa/rsa")throw new Error("wrong public key type");return OV0(t,e,f)}else if(f.type==="dsa"){if(a!=="dsa")throw new Error("wrong public key type");return UV0(t,e,f)}if(a!=="rsa"&&a!=="ecdsa/rsa")throw new Error("wrong public key type");e=ure.concat([r,e]);for(var i=f.modulus.byteLength(),s=[1],o=0;e.length+s.length+2=0)throw new Error("invalid sig")}tMe.exports=NV0});var oMe=D((MYn,sMe)=>{"use strict";u();p();var OU=En().Buffer,fMe=qy(),UU=Nke(),iMe=Nt(),HV0=XRe(),zV0=nMe(),d7=kne();Object.keys(d7).forEach(function(t){d7[t].id=OU.from(d7[t].id,"hex"),d7[t.toLowerCase()]=d7[t]});function Ak(t){UU.Writable.call(this);var e=d7[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=fMe(e.hash),this._tag=e.id,this._signType=e.sign}iMe(Ak,UU.Writable);Ak.prototype._write=function(e,n,a){this._hash.update(e),a()};Ak.prototype.update=function(e,n){return this._hash.update(typeof e=="string"?OU.from(e,n):e),this};Ak.prototype.sign=function(e,n){this.end();var a=this._hash.digest(),r=HV0(a,e,this._hashType,this._signType,this._tag);return n?r.toString(n):r};function Ck(t){UU.Writable.call(this);var e=d7[t];if(!e)throw new Error("Unknown message digest");this._hash=fMe(e.hash),this._tag=e.id,this._signType=e.sign}iMe(Ck,UU.Writable);Ck.prototype._write=function(e,n,a){this._hash.update(e),a()};Ck.prototype.update=function(e,n){return this._hash.update(typeof e=="string"?OU.from(e,n):e),this};Ck.prototype.verify=function(e,n,a){var r=typeof n=="string"?OU.from(n,a):n;this.end();var f=this._hash.digest();return zV0(r,f,e,this._signType,this._tag)};function aMe(t){return new Ak(t)}function rMe(t){return new Ck(t)}sMe.exports={Sign:aMe,Verify:rMe,createSign:aMe,createVerify:rMe}});var dMe=D((PYn,cMe)=>{u();p();var WV0=Tk(),qV0=kr();cMe.exports=function(e){return new l7(e)};var A6={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}};A6.p224=A6.secp224r1;A6.p256=A6.secp256r1=A6.prime256v1;A6.p192=A6.secp192r1=A6.prime192v1;A6.p384=A6.secp384r1;A6.p521=A6.secp521r1;function l7(t){this.curveType=A6[t],this.curveType||(this.curveType={name:t}),this.curve=new WV0.ec(this.curveType.name),this.keys=void 0}l7.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)};l7.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 pre(r,n,this.curveType.byteLength)};l7.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),pre(n,t)};l7.prototype.getPrivateKey=function(t){return pre(this.keys.getPrivate(),t)};l7.prototype.setPublicKey=function(t,e){return e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),this.keys._importPublic(t),this};l7.prototype.setPrivateKey=function(t,e){e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e));var n=new qV0(t);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this};function pre(t,e,n){Array.isArray(t)||(t=t.toArray());var a=new _.Buffer(t);if(n&&a.length{u();p();var jV0=qy(),hre=En().Buffer;lMe.exports=function(t,e){for(var n=hre.alloc(0),a=0,r;n.length{u();p();uMe.exports=function(e,n){for(var a=e.length,r=-1;++r{u();p();var pMe=kr(),KV0=En().Buffer;function QV0(t,e){return KV0.from(t.toRed(pMe.mont(e.modulus)).redPow(new pMe(e.publicExponent)).fromRed().toArray())}hMe.exports=QV0});var gMe=D((KYn,yMe)=>{u();p();var VV0=Ek(),gre=s8(),YV0=qy(),mMe=mre(),bMe=bre(),vre=kr(),$V0=yre(),JV0=bU(),bl=En().Buffer;yMe.exports=function(e,n,a){var r;e.padding?r=e.padding:a?r=1:r=4;var f=VV0(e),i;if(r===4)i=XV0(f,n);else if(r===1)i=ZV0(f,n,a);else if(r===3){if(i=new vre(n),i.cmp(f.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return a?JV0(i,f):$V0(i,f)};function XV0(t,e){var n=t.modulus.byteLength(),a=e.length,r=YV0("sha1").update(bl.alloc(0)).digest(),f=r.length,i=2*f;if(a>n-i-2)throw new Error("message too long");var s=bl.alloc(n-a-i-2),o=n-f-1,c=gre(f),d=bMe(bl.concat([r,s,bl.alloc(1,1),e],o),mMe(c,o)),l=bMe(c,mMe(d,f));return new vre(bl.concat([bl.alloc(1),l,d],n))}function ZV0(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=bl.alloc(r-a-3,255):f=eY0(r-a-3),new vre(bl.concat([bl.from([0,n?1:2]),f,bl.alloc(1),e],r))}function eY0(t){for(var e=bl.allocUnsafe(t),n=0,a=gre(t*2),r=0,f;n{u();p();var tY0=Ek(),vMe=mre(),wMe=bre(),TMe=kr(),nY0=bU(),aY0=qy(),rY0=yre(),Ik=En().Buffer;xMe.exports=function(e,n,a){var r;e.padding?r=e.padding:a?r=1:r=4;var f=tY0(e),i=f.modulus.byteLength();if(n.length>i||new TMe(n).cmp(f.modulus)>=0)throw new Error("decryption error");var s;a?s=rY0(new TMe(n),f):s=nY0(n,f);var o=Ik.alloc(i-s.length);if(s=Ik.concat([o,s],i),r===4)return fY0(f,s);if(r===1)return iY0(f,s,a);if(r===3)return s;throw new Error("unknown padding")};function fY0(t,e){var n=t.modulus.byteLength(),a=aY0("sha1").update(Ik.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=wMe(f,vMe(i,r)),o=wMe(i,vMe(s,n-r-1));if(sY0(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 iY0(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 sY0(t,e){t=Ik.from(t),e=Ik.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();u7.publicEncrypt=gMe();u7.privateDecrypt=EMe();u7.privateEncrypt=function(e,n){return u7.publicEncrypt(e,n,!0)};u7.publicDecrypt=function(e,n){return u7.privateDecrypt(e,n,!0)}});var PMe=D(kk=>{"use strict";u();p();function AMe(){throw new Error(`secure random number generation not supported by this browser +use chrome, FireFox or Internet Explorer 11`)}var IMe=En(),CMe=s8(),kMe=IMe.Buffer,SMe=IMe.kMaxLength,wre=global.crypto||global.msCrypto,RMe=Math.pow(2,32)-1;function MMe(t,e){if(typeof t!="number"||t!==t)throw new TypeError("offset must be a number");if(t>RMe||t<0)throw new TypeError("offset must be a uint32");if(t>SMe||t>e)throw new RangeError("offset out of range")}function BMe(t,e,n){if(typeof t!="number"||t!==t)throw new TypeError("size must be a number");if(t>RMe||t<0)throw new TypeError("size must be a uint32");if(t+e>n||t>SMe)throw new RangeError("buffer too small")}wre&&wre.getRandomValues||!x.browser?(kk.randomFill=oY0,kk.randomFillSync=cY0):(kk.randomFill=AMe,kk.randomFillSync=AMe);function oY0(t,e,n,a){if(!kMe.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 MMe(e,t.length),BMe(n,e,t.length),DMe(t,e,n,a)}function DMe(t,e,n,a){if(x.browser){var r=t.buffer,f=new Uint8Array(r,e,n);if(wre.getRandomValues(f),a){x.nextTick(function(){a(null,t)});return}return t}if(a){CMe(n,function(s,o){if(s)return a(s);o.copy(t,e),a(null,t)});return}var i=CMe(n);return i.copy(t,e),t}function cY0(t,e,n){if(typeof e>"u"&&(e=0),!kMe.isBuffer(t)&&!(t instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return MMe(e,t.length),n===void 0&&(n=t.length-e),BMe(n,e,t.length),DMe(t,e,n)}});var WU=D(_n=>{"use strict";u();p();_n.randomBytes=_n.rng=_n.pseudoRandomBytes=_n.prng=s8();_n.createHash=_n.Hash=qy();_n.createHmac=_n.Hmac=Ine();var dY0=bCe(),lY0=Object.keys(dY0),uY0=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(lY0);_n.getHashes=function(){return uY0};var LMe=Nne();_n.pbkdf2=LMe.pbkdf2;_n.pbkdf2Sync=LMe.pbkdf2Sync;var Pu=FIe();_n.Cipher=Pu.Cipher;_n.createCipher=Pu.createCipher;_n.Cipheriv=Pu.Cipheriv;_n.createCipheriv=Pu.createCipheriv;_n.Decipher=Pu.Decipher;_n.createDecipher=Pu.createDecipher;_n.Decipheriv=Pu.Decipheriv;_n.createDecipheriv=Pu.createDecipheriv;_n.getCiphers=Pu.getCiphers;_n.listCiphers=Pu.listCiphers;var Sk=VIe();_n.DiffieHellmanGroup=Sk.DiffieHellmanGroup;_n.createDiffieHellmanGroup=Sk.createDiffieHellmanGroup;_n.getDiffieHellman=Sk.getDiffieHellman;_n.createDiffieHellman=Sk.createDiffieHellman;_n.DiffieHellman=Sk.DiffieHellman;var HU=oMe();_n.createSign=HU.createSign;_n.Sign=HU.Sign;_n.createVerify=HU.createVerify;_n.Verify=HU.Verify;_n.createECDH=dMe();var zU=_Me();_n.publicEncrypt=zU.publicEncrypt;_n.privateEncrypt=zU.privateEncrypt;_n.publicDecrypt=zU.publicDecrypt;_n.privateDecrypt=zU.privateDecrypt;var FMe=PMe();_n.randomFill=FMe.randomFill;_n.randomFillSync=FMe.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 zw=D((s$n,Ere)=>{u();p();var Tre;Ere.exports=function(e){return Tre||(Tre=new W3(null)),Tre.generate(e)};function W3(t){this.rand=t}Ere.exports.Rand=W3;W3.prototype.generate=function(e){return this._rand(e)};W3.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 p7=kr(),Rk=x6(),qU=Rk.getNAF,pY0=Rk.getJSF,jU=Rk.assert;function q3(t,e){this.type=t,this.p=new p7(e.p,16),this.red=e.prime?p7.red(e.prime):p7.mont(this.p),this.zero=new p7(0).toRed(this.red),this.one=new p7(1).toRed(this.red),this.two=new p7(2).toRed(this.red),this.n=e.n&&new p7(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))}NMe.exports=q3;q3.prototype.point=function(){throw new Error("Not implemented")};q3.prototype.validate=function(){throw new Error("Not implemented")};q3.prototype._fixedNafMul=function(e,n){jU(e.precomputed);var a=e._getDoubles(),r=qU(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];jU(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};q3.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]=qU(a[v],i[v],this._bitLength),o[k]=qU(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=pY0(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};N5.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 hY0=x6(),Xf=kr(),_re=Nt(),lT=Mk(),mY0=hY0.assert;function O5(t){lT.call(this,"short",t),this.a=new Xf(t.a,16).toRed(this.red),this.b=new Xf(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)}_re(O5,lT);OMe.exports=O5;O5.prototype._getEndomorphism=function(e){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var n,a;if(e.beta)n=new Xf(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 Xf(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],mY0(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 Xf(s.a,16),b:new Xf(s.b,16)}}):i=this._getEndoBasis(a),{beta:n,lambda:a,basis:i}}};O5.prototype._getEndoRoots=function(e){var n=e===this.p?this.red:Xf.mont(e),a=new Xf(2).toRed(n).redInvm(),r=a.redNeg(),f=new Xf(3).toRed(n).redNeg().redSqrt().redMul(a),i=r.redAdd(f).fromRed(),s=r.redSub(f).fromRed();return[i,s]};O5.prototype._getEndoBasis=function(e){for(var n=this.n.ushrn(Math.floor(this.n.bitLength()/2)),a=e,r=this.n.clone(),f=new Xf(1),i=new Xf(0),s=new Xf(0),o=new Xf(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}]};O5.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}};O5.prototype.pointFromX=function(e,n){e=new Xf(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)};O5.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};O5.prototype._endoWnafMulAdd=function(e,n,a){for(var r=this._endoWnafT1,f=this._endoWnafT2,i=0;i":""};Ts.prototype.isInfinity=function(){return this.inf};Ts.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)};Ts.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)};Ts.prototype.getX=function(){return this.x.fromRed()};Ts.prototype.getY=function(){return this.y.fromRed()};Ts.prototype.mul=function(e){return e=new Xf(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)};Ts.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)};Ts.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)};Ts.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)};Ts.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};Ts.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 no(t,e,n,a){lT.BasePoint.call(this,t,"jacobian"),e===null&&n===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new Xf(0)):(this.x=new Xf(e,16),this.y=new Xf(n,16),this.z=new Xf(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}_re(no,lT.BasePoint);O5.prototype.jpoint=function(e,n,a){return new no(this,e,n,a)};no.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)};no.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};no.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)};no.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)};no.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}};no.prototype.inspect=function(){return this.isInfinity()?"":""};no.prototype.isInfinity=function(){return this.z.cmpn(0)===0}});var WMe=D((b$n,zMe)=>{"use strict";u();p();var uT=kr(),HMe=Nt(),GU=Mk(),bY0=x6();function pT(t){GU.call(this,"mont",t),this.a=new uT(t.a,16).toRed(this.red),this.b=new uT(t.b,16).toRed(this.red),this.i4=new uT(4).toRed(this.red).redInvm(),this.two=new uT(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}HMe(pT,GU);zMe.exports=pT;pT.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 xs(t,e,n){GU.BasePoint.call(this,t,"projective"),e===null&&n===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new uT(e,16),this.z=new uT(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}HMe(xs,GU.BasePoint);pT.prototype.decodePoint=function(e,n){return this.point(bY0.toArray(e,n),1)};pT.prototype.point=function(e,n){return new xs(this,e,n)};pT.prototype.pointFromJSON=function(e){return xs.fromJSON(this,e)};xs.prototype.precompute=function(){};xs.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};xs.fromJSON=function(e,n){return new xs(e,n[0],n[1]||e.one)};xs.prototype.inspect=function(){return this.isInfinity()?"":""};xs.prototype.isInfinity=function(){return this.z.cmpn(0)===0};xs.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)};xs.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};xs.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)};xs.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};xs.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};xs.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};xs.prototype.eq=function(e){return this.getX().cmp(e.getX())===0};xs.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};xs.prototype.getX=function(){return this.normalize(),this.x.fromRed()}});var GMe=D((v$n,jMe)=>{"use strict";u();p();var yY0=x6(),_8=kr(),qMe=Nt(),KU=Mk(),gY0=yY0.assert;function Lu(t){this.twisted=(t.a|0)!==1,this.mOneA=this.twisted&&(t.a|0)===-1,this.extended=this.mOneA,KU.call(this,"edwards",t),this.a=new _8(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new _8(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new _8(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),gY0(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(t.c|0)===1}qMe(Lu,KU);jMe.exports=Lu;Lu.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)};Lu.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)};Lu.prototype.jpoint=function(e,n,a,r){return this.point(e,n,a,r)};Lu.prototype.pointFromX=function(e,n){e=new _8(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)};Lu.prototype.pointFromY=function(e,n){e=new _8(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)};Lu.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 Hr(t,e,n,a,r){KU.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 _8(e,16),this.y=new _8(n,16),this.z=a?new _8(a,16):this.curve.one,this.t=r&&new _8(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()))))}qMe(Hr,KU.BasePoint);Lu.prototype.pointFromJSON=function(e){return Hr.fromJSON(this,e)};Lu.prototype.point=function(e,n,a,r){return new Hr(this,e,n,a,r)};Hr.fromJSON=function(e,n){return new Hr(e,n[0],n[1],n[2])};Hr.prototype.inspect=function(){return this.isInfinity()?"":""};Hr.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};Hr.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)};Hr.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)};Hr.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()};Hr.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)};Hr.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)};Hr.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)};Hr.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)};Hr.prototype.mulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!1)};Hr.prototype.jmulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!0)};Hr.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};Hr.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};Hr.prototype.getX=function(){return this.normalize(),this.x.fromRed()};Hr.prototype.getY=function(){return this.normalize(),this.y.fromRed()};Hr.prototype.eq=function(e){return this===e||this.getX().cmp(e.getX())===0&&this.getY().cmp(e.getY())===0};Hr.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}};Hr.prototype.toP=Hr.prototype.normalize;Hr.prototype.mixedAdd=Hr.prototype.add});var Are=D(KMe=>{"use strict";u();p();var QU=KMe;QU.base=Mk();QU.short=UMe();QU.mont=WMe();QU.edwards=GMe()});var VMe=D((A$n,QMe)=>{u();p();QMe.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 VU=D(JMe=>{"use strict";u();p();var Ire=JMe,j3=a7(),Cre=Are(),vY0=x6(),YMe=vY0.assert;function $Me(t){t.type==="short"?this.curve=new Cre.short(t):t.type==="edwards"?this.curve=new Cre.edwards(t):this.curve=new Cre.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,YMe(this.g.validate(),"Invalid curve"),YMe(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}Ire.PresetCurve=$Me;function G3(t,e){Object.defineProperty(Ire,t,{configurable:!0,enumerable:!0,get:function(){var n=new $Me(e);return Object.defineProperty(Ire,t,{configurable:!0,enumerable:!0,value:n}),n}})}G3("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:j3.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});G3("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:j3.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});G3("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:j3.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});G3("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:j3.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"]});G3("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:j3.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"]});G3("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:j3.sha256,gRed:!1,g:["9"]});G3("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:j3.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var kre;try{kre=VMe()}catch{kre=void 0}G3("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:j3.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",kre]})});var ZMe=D((M$n,XMe)=>{"use strict";u();p();var wY0=kr(),TY0=x6(),Sre=TY0.assert;function qo(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)}XMe.exports=qo;qo.fromPublic=function(e,n,a){return n instanceof qo?n:new qo(e,{pub:n,pubEnc:a})};qo.fromPrivate=function(e,n,a){return n instanceof qo?n:new qo(e,{priv:n,privEnc:a})};qo.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"}};qo.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};qo.prototype.getPrivate=function(e){return e==="hex"?this.priv.toString(16,2):this.priv};qo.prototype._importPrivate=function(e,n){this.priv=new wY0(e,n||16),this.priv=this.priv.umod(this.ec.curve.n)};qo.prototype._importPublic=function(e,n){if(e.x||e.y){this.ec.curve.type==="mont"?Sre(e.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&Sre(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)};qo.prototype.derive=function(e){return e.validate()||Sre(e.validate(),"public point not validated"),e.mul(this.priv).getX()};qo.prototype.sign=function(e,n,a){return this.ec.sign(e,this,n,a)};qo.prototype.verify=function(e,n){return this.ec.verify(e,n,this)};qo.prototype.inspect=function(){return""}});var nBe=D((P$n,tBe)=>{"use strict";u();p();var YU=kr(),Bre=x6(),xY0=Bre.assert;function $U(t,e){if(t instanceof $U)return t;this._importDER(t,e)||(xY0(t.r&&t.s,"Signature without r or s"),this.r=new YU(t.r,16),this.s=new YU(t.s,16),t.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}tBe.exports=$U;function EY0(){this.place=0}function Rre(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 eBe(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)}$U.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=eBe(n),a=eBe(a);!a[0]&&!(a[1]&128);)a=a.slice(1);var r=[2];Mre(r,n.length),r=r.concat(n),r.push(2),Mre(r,a.length);var f=r.concat(a),i=[48];return Mre(i,f.length),i=i.concat(f),Bre.encode(i,e)}});var iBe=D((N$n,fBe)=>{"use strict";u();p();var h7=kr(),aBe=qae(),_Y0=x6(),Dre=VU(),AY0=zw(),rBe=_Y0.assert,Pre=ZMe(),JU=nBe();function U5(t){if(!(this instanceof U5))return new U5(t);typeof t=="string"&&(rBe(Object.prototype.hasOwnProperty.call(Dre,t),"Unknown curve "+t),t=Dre[t]),t instanceof Dre.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}fBe.exports=U5;U5.prototype.keyPair=function(e){return new Pre(this,e)};U5.prototype.keyFromPrivate=function(e,n){return Pre.fromPrivate(this,e,n)};U5.prototype.keyFromPublic=function(e,n){return Pre.fromPublic(this,e,n)};U5.prototype.genKeyPair=function(e){e||(e={});for(var n=new aBe({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||AY0(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),r=this.n.sub(new h7(2));;){var f=new h7(n.generate(a));if(!(f.cmp(r)>0))return f.iaddn(1),this.keyFromPrivate(f)}};U5.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};U5.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 h7(e,16));for(var f=this.n.byteLength(),i=n.getPrivate().toArray("be",f),s=e.toArray("be",f),o=new aBe({hash:this.hash,entropy:i,nonce:s,pers:r.pers,persEnc:r.persEnc||"utf8"}),c=this.n.sub(new h7(1)),d=0;;d++){var l=r.k?r.k(d):new h7(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 JU({r:v,s:k,recoveryParam:O})}}}}}};U5.prototype.verify=function(e,n,a,r){e=this._truncateToN(new h7(e,16)),a=this.keyFromPublic(a,r),n=new JU(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)};U5.prototype.recoverPubKey=function(t,e,n,a){rBe((3&n)===n,"The recovery param is more than two bits"),e=new JU(e,a);var r=this.n,f=new h7(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)};U5.prototype.getKeyRecoveryParam=function(t,e,n,a){if(e=new JU(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 dBe=D((H$n,cBe)=>{"use strict";u();p();var Bk=x6(),oBe=Bk.assert,sBe=Bk.parseBytes,hT=Bk.cachedProperty;function Es(t,e){this.eddsa=t,this._secret=sBe(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=sBe(e.pub)}Es.fromPublic=function(e,n){return n instanceof Es?n:new Es(e,{pub:n})};Es.fromSecret=function(e,n){return n instanceof Es?n:new Es(e,{secret:n})};Es.prototype.secret=function(){return this._secret};hT(Es,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});hT(Es,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});hT(Es,"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});hT(Es,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});hT(Es,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});hT(Es,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});Es.prototype.sign=function(e){return oBe(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)};Es.prototype.verify=function(e,n){return this.eddsa.verify(e,n,this)};Es.prototype.getSecret=function(e){return oBe(this._secret,"KeyPair is public only"),Bk.encode(this.secret(),e)};Es.prototype.getPublic=function(e){return Bk.encode(this.pubBytes(),e)};cBe.exports=Es});var uBe=D((q$n,lBe)=>{"use strict";u();p();var CY0=kr(),XU=x6(),IY0=XU.assert,ZU=XU.cachedProperty,kY0=XU.parseBytes;function m7(t,e){this.eddsa=t,typeof e!="object"&&(e=kY0(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),IY0(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof CY0&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}ZU(m7,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});ZU(m7,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});ZU(m7,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});ZU(m7,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});m7.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};m7.prototype.toHex=function(){return XU.encode(this.toBytes(),"hex").toUpperCase()};lBe.exports=m7});var yBe=D((K$n,bBe)=>{"use strict";u();p();var SY0=a7(),RY0=VU(),mT=x6(),MY0=mT.assert,hBe=mT.parseBytes,mBe=dBe(),pBe=uBe();function Fc(t){if(MY0(t==="ed25519","only tested with ed25519 so far"),!(this instanceof Fc))return new Fc(t);t=RY0[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=SY0.sha512}bBe.exports=Fc;Fc.prototype.sign=function(e,n){e=hBe(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})};Fc.prototype.verify=function(e,n,a){e=hBe(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)};Fc.prototype.hashInt=function(){for(var e=this.hash(),n=0;n{"use strict";u();p();var b7=gBe;b7.version=Txe().version;b7.utils=x6();b7.rand=zw();b7.curve=Are();b7.curves=VU();b7.ec=iBe();b7.eddsa=yBe()});var wBe=D(bT=>{"use strict";u();p();var BY0=bT&&bT.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(bT,"__esModule",{value:!0});bT.EC=void 0;var DY0=BY0(vBe()),PY0=DY0.default.ec;bT.EC=PY0});var TBe=D(eH=>{"use strict";u();p();Object.defineProperty(eH,"__esModule",{value:!0});eH.version=void 0;eH.version="signing-key/5.7.0"});var Pk=D(K3=>{"use strict";u();p();Object.defineProperty(K3,"__esModule",{value:!0});K3.computePublicKey=K3.recoverPublicKey=K3.SigningKey=void 0;var LY0=wBe(),ki=Vt(),Dk=Ba(),FY0=Ft(),NY0=TBe(),Fre=new FY0.Logger(NY0.version),Lre=null;function Fu(){return Lre||(Lre=new LY0.EC("secp256k1")),Lre}var xBe=function(){function t(e){(0,Dk.defineReadOnly)(this,"curve","secp256k1"),(0,Dk.defineReadOnly)(this,"privateKey",(0,ki.hexlify)(e)),(0,ki.hexDataLength)(this.privateKey)!==32&&Fre.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");var n=Fu().keyFromPrivate((0,ki.arrayify)(this.privateKey));(0,Dk.defineReadOnly)(this,"publicKey","0x"+n.getPublic(!1,"hex")),(0,Dk.defineReadOnly)(this,"compressedPublicKey","0x"+n.getPublic(!0,"hex")),(0,Dk.defineReadOnly)(this,"_isSigningKey",!0)}return t.prototype._addPoint=function(e){var n=Fu().keyFromPublic((0,ki.arrayify)(this.publicKey)),a=Fu().keyFromPublic((0,ki.arrayify)(e));return"0x"+n.pub.add(a.pub).encodeCompressed("hex")},t.prototype.signDigest=function(e){var n=Fu().keyFromPrivate((0,ki.arrayify)(this.privateKey)),a=(0,ki.arrayify)(e);a.length!==32&&Fre.throwArgumentError("bad digest length","digest",e);var r=n.sign(a,{canonical:!0});return(0,ki.splitSignature)({recoveryParam:r.recoveryParam,r:(0,ki.hexZeroPad)("0x"+r.r.toString(16),32),s:(0,ki.hexZeroPad)("0x"+r.s.toString(16),32)})},t.prototype.computeSharedSecret=function(e){var n=Fu().keyFromPrivate((0,ki.arrayify)(this.privateKey)),a=Fu().keyFromPublic((0,ki.arrayify)(EBe(e)));return(0,ki.hexZeroPad)("0x"+n.derive(a.getPublic()).toString(16),32)},t.isSigningKey=function(e){return!!(e&&e._isSigningKey)},t}();K3.SigningKey=xBe;function OY0(t,e){var n=(0,ki.splitSignature)(e),a={r:(0,ki.arrayify)(n.r),s:(0,ki.arrayify)(n.s)};return"0x"+Fu().recoverPubKey((0,ki.arrayify)(t),a,n.recoveryParam).encode("hex",!1)}K3.recoverPublicKey=OY0;function EBe(t,e){var n=(0,ki.arrayify)(t);if(n.length===32){var a=new xBe(n);return e?"0x"+Fu().keyFromPrivate(n).getPublic(!0,"hex"):a.publicKey}else{if(n.length===33)return e?(0,ki.hexlify)(n):"0x"+Fu().keyFromPublic(n).getPublic(!1,"hex");if(n.length===65)return e?"0x"+Fu().keyFromPublic(n).getPublic(!0,"hex"):(0,ki.hexlify)(n)}return Fre.throwArgumentError("invalid public or private key","key","[REDACTED]")}K3.computePublicKey=EBe});var _Be=D(tH=>{"use strict";u();p();Object.defineProperty(tH,"__esModule",{value:!0});tH.version=void 0;tH.version="transactions/5.7.0"});var Nu=D(hi=>{"use strict";u();p();var UY0=hi&&hi.__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]}),HY0=hi&&hi.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),zY0=hi&&hi.__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)&&UY0(e,t,n);return HY0(e,t),e};Object.defineProperty(hi,"__esModule",{value:!0});hi.parse=hi.serialize=hi.accessListify=hi.recoverAddress=hi.computeAddress=hi.TransactionTypes=void 0;var Lk=Po(),y7=ia(),oa=Vt(),WY0=E3(),yT=H1(),qY0=Ba(),Q3=zY0(vI()),ABe=Pk(),Ore=Ft(),jY0=_Be(),Go=new Ore.Logger(jY0.version),GY0;(function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"})(GY0=hi.TransactionTypes||(hi.TransactionTypes={}));function Ure(t){return t==="0x"?null:(0,Lk.getAddress)(t)}function jo(t){return t==="0x"?WY0.Zero:y7.BigNumber.from(t)}var KY0=[{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"}],QY0={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function CBe(t){var e=(0,ABe.computePublicKey)(t);return(0,Lk.getAddress)((0,oa.hexDataSlice)((0,yT.keccak256)((0,oa.hexDataSlice)(e,1)),12))}hi.computeAddress=CBe;function Hre(t,e){return CBe((0,ABe.recoverPublicKey)((0,oa.arrayify)(t),e))}hi.recoverAddress=Hre;function C6(t,e){var n=(0,oa.stripZeros)(y7.BigNumber.from(t).toHexString());return n.length>32&&Go.throwArgumentError("invalid length for "+e,"transaction:"+e,t),n}function Nre(t,e){return{address:(0,Lk.getAddress)(t),storageKeys:(e||[]).map(function(n,a){return(0,oa.hexDataLength)(n)!==32&&Go.throwArgumentError("invalid access list storageKey","accessList["+t+":"+a+"]",n),n.toLowerCase()})}}function nH(t){if(Array.isArray(t))return t.map(function(n,a){return Array.isArray(n)?(n.length>2&&Go.throwArgumentError("access list expected to be [ address, storageKeys[] ]","value["+a+"]",n),Nre(n[0],n[1])):Nre(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 Nre(n,Object.keys(a).sort())});return e.sort(function(n,a){return n.address.localeCompare(a.address)}),e}hi.accessListify=nH;function IBe(t){return nH(t).map(function(e){return[e.address,e.storageKeys]})}function kBe(t,e){if(t.gasPrice!=null){var n=y7.BigNumber.from(t.gasPrice),a=y7.BigNumber.from(t.maxFeePerGas||0);n.eq(a)||Go.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:n,maxFeePerGas:a})}var r=[C6(t.chainId||0,"chainId"),C6(t.nonce||0,"nonce"),C6(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),C6(t.maxFeePerGas||0,"maxFeePerGas"),C6(t.gasLimit||0,"gasLimit"),t.to!=null?(0,Lk.getAddress)(t.to):"0x",C6(t.value||0,"value"),t.data||"0x",IBe(t.accessList||[])];if(e){var f=(0,oa.splitSignature)(e);r.push(C6(f.recoveryParam,"recoveryParam")),r.push((0,oa.stripZeros)(f.r)),r.push((0,oa.stripZeros)(f.s))}return(0,oa.hexConcat)(["0x02",Q3.encode(r)])}function SBe(t,e){var n=[C6(t.chainId||0,"chainId"),C6(t.nonce||0,"nonce"),C6(t.gasPrice||0,"gasPrice"),C6(t.gasLimit||0,"gasLimit"),t.to!=null?(0,Lk.getAddress)(t.to):"0x",C6(t.value||0,"value"),t.data||"0x",IBe(t.accessList||[])];if(e){var a=(0,oa.splitSignature)(e);n.push(C6(a.recoveryParam,"recoveryParam")),n.push((0,oa.stripZeros)(a.r)),n.push((0,oa.stripZeros)(a.s))}return(0,oa.hexConcat)(["0x01",Q3.encode(n)])}function VY0(t,e){(0,qY0.checkProperties)(t,QY0);var n=[];KY0.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&&Go.throwArgumentError("invalid length for "+i.name,"transaction:"+i.name,s),i.maxLength&&(s=(0,oa.stripZeros)(s),s.length>i.maxLength&&Go.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"&&Go.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 Q3.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&&Go.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e)):r.v!==f&&Go.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))),Q3.encode(n)}function YY0(t,e){if(t.type==null||t.type===0)return t.accessList!=null&&Go.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",t),VY0(t,e);switch(t.type){case 1:return SBe(t,e);case 2:return kBe(t,e);default:break}return Go.throwError("unsupported transaction type: "+t.type,Ore.Logger.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:t.type})}hi.serialize=YY0;function RBe(t,e,n){try{var a=jo(e[0]).toNumber();if(a!==0&&a!==1)throw new Error("bad recid");t.v=a}catch{Go.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,yT.keccak256)(n(t));t.from=Hre(r,{r:t.r,s:t.s,recoveryParam:t.v})}catch{}}function $Y0(t){var e=Q3.decode(t.slice(1));e.length!==9&&e.length!==12&&Go.throwArgumentError("invalid component count for transaction type: 2","payload",(0,oa.hexlify)(t));var n=jo(e[2]),a=jo(e[3]),r={type:2,chainId:jo(e[0]).toNumber(),nonce:jo(e[1]).toNumber(),maxPriorityFeePerGas:n,maxFeePerGas:a,gasPrice:null,gasLimit:jo(e[4]),to:Ure(e[5]),value:jo(e[6]),data:e[7],accessList:nH(e[8])};return e.length===9||(r.hash=(0,yT.keccak256)(t),RBe(r,e.slice(9),kBe)),r}function JY0(t){var e=Q3.decode(t.slice(1));e.length!==8&&e.length!==11&&Go.throwArgumentError("invalid component count for transaction type: 1","payload",(0,oa.hexlify)(t));var n={type:1,chainId:jo(e[0]).toNumber(),nonce:jo(e[1]).toNumber(),gasPrice:jo(e[2]),gasLimit:jo(e[3]),to:Ure(e[4]),value:jo(e[5]),data:e[6],accessList:nH(e[7])};return e.length===8||(n.hash=(0,yT.keccak256)(t),RBe(n,e.slice(8),SBe)),n}function XY0(t){var e=Q3.decode(t);e.length!==9&&e.length!==6&&Go.throwArgumentError("invalid raw transaction","rawTransaction",t);var n={nonce:jo(e[0]).toNumber(),gasPrice:jo(e[1]),gasLimit:jo(e[2]),to:Ure(e[3]),value:jo(e[4]),data:e[5],chainId:0};if(e.length===6)return n;try{n.v=y7.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),y7.BigNumber.from(n.r).isZero()&&y7.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,yT.keccak256)(Q3.encode(r));try{n.from=Hre(f,{r:(0,oa.hexlify)(n.r),s:(0,oa.hexlify)(n.s),recoveryParam:a})}catch{}n.hash=(0,yT.keccak256)(t)}return n.type=null,n}function ZY0(t){var e=(0,oa.arrayify)(t);if(e[0]>127)return XY0(e);switch(e[0]){case 1:return JY0(e);case 2:return $Y0(e);default:break}return Go.throwError("unsupported transaction type: "+e[0],Ore.Logger.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:e[0]})}hi.parse=ZY0});var MBe=D(aH=>{"use strict";u();p();Object.defineProperty(aH,"__esModule",{value:!0});aH.version=void 0;aH.version="contracts/5.7.0"});var UBe=D(Ko=>{"use strict";u();p();var iH=Ko&&Ko.__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)}}(),Y3=Ko&&Ko.__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())})},$3=Ko&&Ko.__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,Nk.getContractAddress)(e)},t.getInterface=function(e){return rH.Interface.isInterface(e)?e:new rH.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",ao.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",ao.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,ao.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 zre.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 rH.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 o$0);if(e==="event")return this._normalizeRunningEvent(new Ok("event",null));if(e==="*")return this._normalizeRunningEvent(new PBe(this.address,this.interface));var n=this.interface.getEvent(e);return this._normalizeRunningEvent(new DBe(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 DBe(this.address,this.interface,n,e.topics))}catch{}var r={address:this.address,topics:e.topics};return this._normalizeRunningEvent(new Ok(NBe(r),r))}return this._normalizeRunningEvent(new PBe(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",ao.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,e$0([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,g7.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}();Ko.BaseContract=OBe;var Wre=function(t){iH(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(OBe);Ko.Contract=Wre;var c$0=function(){function t(e,n,a){var r=this.constructor,f=null;typeof n=="string"?f=n:(0,g7.isBytes)(n)?f=(0,g7.hexlify)(n):n&&typeof n.object=="string"?f=n.object:f="!",f.substring(0,2)!=="0x"&&(f="0x"+f),(!(0,g7.isHexString)(f)||f.length%2)&&yr.throwArgumentError("invalid bytecode","bytecode",n),a&&!zre.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(J3,"__esModule",{value:!0});J3.Base58=J3.Base32=J3.BaseX=void 0;var HBe=Vt(),oH=Ba(),qre=function(){function t(e){(0,oH.defineReadOnly)(this,"alphabet",e),(0,oH.defineReadOnly)(this,"base",e.length),(0,oH.defineReadOnly)(this,"_alphabetMap",{}),(0,oH.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(Uk,"__esModule",{value:!0});Uk.SupportedAlgorithm=void 0;var u$0;(function(t){t.sha256="sha256",t.sha512="sha512"})(u$0=Uk.SupportedAlgorithm||(Uk.SupportedAlgorithm={}))});var zBe=D(dH=>{"use strict";u();p();Object.defineProperty(dH,"__esModule",{value:!0});dH.version=void 0;dH.version="sha2/5.7.0"});var qBe=D(H5=>{"use strict";u();p();var p$0=H5&&H5.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(H5,"__esModule",{value:!0});H5.computeHmac=H5.sha512=H5.sha256=H5.ripemd160=void 0;var Hk=p$0(a7()),zk=Vt(),h$0=jre(),WBe=Ft(),m$0=zBe(),b$0=new WBe.Logger(m$0.version);function y$0(t){return"0x"+Hk.default.ripemd160().update((0,zk.arrayify)(t)).digest("hex")}H5.ripemd160=y$0;function g$0(t){return"0x"+Hk.default.sha256().update((0,zk.arrayify)(t)).digest("hex")}H5.sha256=g$0;function v$0(t){return"0x"+Hk.default.sha512().update((0,zk.arrayify)(t)).digest("hex")}H5.sha512=v$0;function w$0(t,e,n){return h$0.SupportedAlgorithm[t]||b$0.throwError("unsupported algorithm "+t,WBe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"hmac",algorithm:t}),"0x"+Hk.default.hmac(Hk.default[t],(0,zk.arrayify)(e)).update((0,zk.arrayify)(n)).digest("hex")}H5.computeHmac=w$0});var v7=D(z5=>{"use strict";u();p();Object.defineProperty(z5,"__esModule",{value:!0});z5.SupportedAlgorithm=z5.sha512=z5.sha256=z5.ripemd160=z5.computeHmac=void 0;var lH=qBe();Object.defineProperty(z5,"computeHmac",{enumerable:!0,get:function(){return lH.computeHmac}});Object.defineProperty(z5,"ripemd160",{enumerable:!0,get:function(){return lH.ripemd160}});Object.defineProperty(z5,"sha256",{enumerable:!0,get:function(){return lH.sha256}});Object.defineProperty(z5,"sha512",{enumerable:!0,get:function(){return lH.sha512}});var T$0=jre();Object.defineProperty(z5,"SupportedAlgorithm",{enumerable:!0,get:function(){return T$0.SupportedAlgorithm}})});var GBe=D(uH=>{"use strict";u();p();Object.defineProperty(uH,"__esModule",{value:!0});uH.pbkdf2=void 0;var gT=Vt(),jBe=v7();function x$0(t,e,n,a,r){t=(0,gT.arrayify)(t),e=(0,gT.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,gT.arrayify)((0,jBe.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(pH,"__esModule",{value:!0});pH.pbkdf2=void 0;var E$0=GBe();Object.defineProperty(pH,"pbkdf2",{enumerable:!0,get:function(){return E$0.pbkdf2}})});var KBe=D(mH=>{"use strict";u();p();Object.defineProperty(mH,"__esModule",{value:!0});mH.version=void 0;mH.version="wordlists/5.7.0"});var Ou=D(w7=>{"use strict";u();p();Object.defineProperty(w7,"__esModule",{value:!0});w7.Wordlist=w7.logger=void 0;var _$0=!1,A$0=A3(),QBe=Ba(),C$0=Ft(),I$0=KBe();w7.logger=new C$0.Logger(I$0.version);var k$0=function(){function t(e){var n=this.constructor;w7.logger.checkAbstract(n,t),(0,QBe.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,A$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,VBe.defineReadOnly)(a._ethers.wordlists,n,e))}catch{}},t}();g7.Wordlist=R$0});var JBe=D(yT=>{"use strict";u();p();var M$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.langCz=void 0;var jre=Ou(),B$0="AbdikaceAbecedaAdresaAgreseAkceAktovkaAlejAlkoholAmputaceAnanasAndulkaAnekdotaAnketaAntikaAnulovatArchaAroganceAsfaltAsistentAspiraceAstmaAstronomAtlasAtletikaAtolAutobusAzylBabkaBachorBacilBaculkaBadatelBagetaBagrBahnoBakterieBaladaBaletkaBalkonBalonekBalvanBalzaBambusBankomatBarbarBaretBarmanBarokoBarvaBaterkaBatohBavlnaBazalkaBazilikaBazukaBednaBeranBesedaBestieBetonBezinkaBezmocBeztakBicyklBidloBiftekBikinyBilanceBiografBiologBitvaBizonBlahobytBlatouchBlechaBleduleBleskBlikatBliznaBlokovatBlouditBludBobekBobrBodlinaBodnoutBohatostBojkotBojovatBokorysBolestBorecBoroviceBotaBoubelBouchatBoudaBouleBouratBoxerBradavkaBramboraBrankaBratrBreptaBriketaBrkoBrlohBronzBroskevBrunetkaBrusinkaBrzdaBrzyBublinaBubnovatBuchtaBuditelBudkaBudovaBufetBujarostBukviceBuldokBulvaBundaBunkrBurzaButikBuvolBuzolaBydletBylinaBytovkaBzukotCapartCarevnaCedrCeduleCejchCejnCelaCelerCelkemCelniceCeninaCennostCenovkaCentrumCenzorCestopisCetkaChalupaChapadloCharitaChataChechtatChemieChichotChirurgChladChlebaChlubitChmelChmuraChobotChocholChodbaCholeraChomoutChopitChorobaChovChrapotChrlitChrtChrupChtivostChudinaChutnatChvatChvilkaChvostChybaChystatChytitCibuleCigaretaCihelnaCihlaCinkotCirkusCisternaCitaceCitrusCizinecCizostClonaCokolivCouvatCtitelCtnostCudnostCuketaCukrCupotCvaknoutCvalCvikCvrkotCyklistaDalekoDarebaDatelDatumDceraDebataDechovkaDecibelDeficitDeflaceDeklDekretDemokratDepreseDerbyDeskaDetektivDikobrazDiktovatDiodaDiplomDiskDisplejDivadloDivochDlahaDlouhoDluhopisDnesDobroDobytekDocentDochutitDodnesDohledDohodaDohraDojemDojniceDokladDokolaDoktorDokumentDolarDolevaDolinaDomaDominantDomluvitDomovDonutitDopadDopisDoplnitDoposudDoprovodDopustitDorazitDorostDortDosahDoslovDostatekDosudDosytaDotazDotekDotknoutDoufatDoutnatDovozceDozaduDoznatDozorceDrahotaDrakDramatikDravecDrazeDrdolDrobnostDrogerieDrozdDrsnostDrtitDrzostDubenDuchovnoDudekDuhaDuhovkaDusitDusnoDutostDvojiceDvorecDynamitEkologEkonomieElektronElipsaEmailEmiseEmoceEmpatieEpizodaEpochaEpopejEposEsejEsenceEskortaEskymoEtiketaEuforieEvoluceExekuceExkurzeExpediceExplozeExportExtraktFackaFajfkaFakultaFanatikFantazieFarmacieFavoritFazoleFederaceFejetonFenkaFialkaFigurantFilozofFiltrFinanceFintaFixaceFjordFlanelFlirtFlotilaFondFosforFotbalFotkaFotonFrakceFreskaFrontaFukarFunkceFyzikaGalejeGarantGenetikaGeologGilotinaGlazuraGlejtGolemGolfistaGotikaGrafGramofonGranuleGrepGrilGrogGroteskaGumaHadiceHadrHalaHalenkaHanbaHanopisHarfaHarpunaHavranHebkostHejkalHejnoHejtmanHektarHelmaHematomHerecHernaHesloHezkyHistorikHladovkaHlasivkyHlavaHledatHlenHlodavecHlohHloupostHltatHlubinaHluchotaHmatHmotaHmyzHnisHnojivoHnoutHoblinaHobojHochHodinyHodlatHodnotaHodovatHojnostHokejHolinkaHolkaHolubHomoleHonitbaHonoraceHoralHordaHorizontHorkoHorlivecHormonHorninaHoroskopHorstvoHospodaHostinaHotovostHoubaHoufHoupatHouskaHovorHradbaHraniceHravostHrazdaHrbolekHrdinaHrdloHrdostHrnekHrobkaHromadaHrotHroudaHrozenHrstkaHrubostHryzatHubenostHubnoutHudbaHukotHumrHusitaHustotaHvozdHybnostHydrantHygienaHymnaHysterikIdylkaIhnedIkonaIluzeImunitaInfekceInflaceInkasoInovaceInspekceInternetInvalidaInvestorInzerceIronieJablkoJachtaJahodaJakmileJakostJalovecJantarJarmarkJaroJasanJasnoJatkaJavorJazykJedinecJedleJednatelJehlanJekotJelenJelitoJemnostJenomJepiceJeseterJevitJezdecJezeroJinakJindyJinochJiskraJistotaJitrniceJizvaJmenovatJogurtJurtaKabaretKabelKabinetKachnaKadetKadidloKahanKajakKajutaKakaoKaktusKalamitaKalhotyKalibrKalnostKameraKamkolivKamnaKanibalKanoeKantorKapalinaKapelaKapitolaKapkaKapleKapotaKaprKapustaKapybaraKaramelKarotkaKartonKasaKatalogKatedraKauceKauzaKavalecKazajkaKazetaKazivostKdekolivKdesiKedlubenKempKeramikaKinoKlacekKladivoKlamKlapotKlasikaKlaunKlecKlenbaKlepatKlesnoutKlidKlimaKlisnaKloboukKlokanKlopaKloubKlubovnaKlusatKluzkostKmenKmitatKmotrKnihaKnotKoaliceKoberecKobkaKoblihaKobylaKocourKohoutKojenecKokosKoktejlKolapsKoledaKolizeKoloKomandoKometaKomikKomnataKomoraKompasKomunitaKonatKonceptKondiceKonecKonfeseKongresKoninaKonkursKontaktKonzervaKopanecKopieKopnoutKoprovkaKorbelKorektorKormidloKoroptevKorpusKorunaKorytoKorzetKosatecKostkaKotelKotletaKotoulKoukatKoupelnaKousekKouzloKovbojKozaKozorohKrabiceKrachKrajinaKralovatKrasopisKravataKreditKrejcarKresbaKrevetaKriketKritikKrizeKrkavecKrmelecKrmivoKrocanKrokKronikaKropitKroupaKrovkaKrtekKruhadloKrupiceKrutostKrvinkaKrychleKryptaKrystalKrytKudlankaKufrKujnostKuklaKulajdaKulichKulkaKulometKulturaKunaKupodivuKurtKurzorKutilKvalitaKvasinkaKvestorKynologKyselinaKytaraKyticeKytkaKytovecKyvadloLabradorLachtanLadnostLaikLakomecLamelaLampaLanovkaLasiceLasoLasturaLatinkaLavinaLebkaLeckdyLedenLedniceLedovkaLedvinaLegendaLegieLegraceLehceLehkostLehnoutLektvarLenochodLentilkaLepenkaLepidloLetadloLetecLetmoLetokruhLevhartLevitaceLevobokLibraLichotkaLidojedLidskostLihovinaLijavecLilekLimetkaLinieLinkaLinoleumListopadLitinaLitovatLobistaLodivodLogikaLogopedLokalitaLoketLomcovatLopataLopuchLordLososLotrLoudalLouhLoukaLouskatLovecLstivostLucernaLuciferLumpLuskLustraceLviceLyraLyrikaLysinaMadamMadloMagistrMahagonMajetekMajitelMajoritaMakakMakoviceMakrelaMalbaMalinaMalovatMalviceMaminkaMandleMankoMarnostMasakrMaskotMasopustMaticeMatrikaMaturitaMazanecMazivoMazlitMazurkaMdlobaMechanikMeditaceMedovinaMelasaMelounMentolkaMetlaMetodaMetrMezeraMigraceMihnoutMihuleMikinaMikrofonMilenecMilimetrMilostMimikaMincovnaMinibarMinometMinulostMiskaMistrMixovatMladostMlhaMlhovinaMlokMlsatMluvitMnichMnohemMobilMocnostModelkaModlitbaMohylaMokroMolekulaMomentkaMonarchaMonoklMonstrumMontovatMonzunMosazMoskytMostMotivaceMotorkaMotykaMouchaMoudrostMozaikaMozekMozolMramorMravenecMrkevMrtvolaMrzetMrzutostMstitelMudrcMuflonMulatMumieMuniceMusetMutaceMuzeumMuzikantMyslivecMzdaNabouratNachytatNadaceNadbytekNadhozNadobroNadpisNahlasNahnatNahodileNahraditNaivitaNajednouNajistoNajmoutNaklonitNakonecNakrmitNalevoNamazatNamluvitNanometrNaokoNaopakNaostroNapadatNapevnoNaplnitNapnoutNaposledNaprostoNaroditNarubyNarychloNasaditNasekatNaslepoNastatNatolikNavenekNavrchNavzdoryNazvatNebeNechatNeckyNedalekoNedbatNeduhNegaceNehetNehodaNejenNejprveNeklidNelibostNemilostNemocNeochotaNeonkaNepokojNerostNervNesmyslNesouladNetvorNeuronNevinaNezvykleNicotaNijakNikamNikdyNiklNikterakNitroNoclehNohaviceNominaceNoraNorekNositelNosnostNouzeNovinyNovotaNozdraNudaNudleNugetNutitNutnostNutrieNymfaObalObarvitObavaObdivObecObehnatObejmoutObezitaObhajobaObilniceObjasnitObjektObklopitOblastOblekOblibaOblohaObludaObnosObohatitObojekOboutObrazecObrnaObrubaObrysObsahObsluhaObstaratObuvObvazObvinitObvodObvykleObyvatelObzorOcasOcelOcenitOchladitOchotaOchranaOcitnoutOdbojOdbytOdchodOdcizitOdebratOdeslatOdevzdatOdezvaOdhadceOdhoditOdjetOdjinudOdkazOdkoupitOdlivOdlukaOdmlkaOdolnostOdpadOdpisOdploutOdporOdpustitOdpykatOdrazkaOdsouditOdstupOdsunOdtokOdtudOdvahaOdvetaOdvolatOdvracetOdznakOfinaOfsajdOhlasOhniskoOhradaOhrozitOhryzekOkapOkeniceOklikaOknoOkouzlitOkovyOkrasaOkresOkrsekOkruhOkupantOkurkaOkusitOlejninaOlizovatOmakOmeletaOmezitOmladinaOmlouvatOmluvaOmylOnehdyOpakovatOpasekOperaceOpiceOpilostOpisovatOporaOpoziceOpravduOprotiOrbitalOrchestrOrgieOrliceOrlojOrtelOsadaOschnoutOsikaOsivoOslavaOslepitOslnitOslovitOsnovaOsobaOsolitOspalecOstenOstrahaOstudaOstychOsvojitOteplitOtiskOtopOtrhatOtrlostOtrokOtrubyOtvorOvanoutOvarOvesOvlivnitOvoceOxidOzdobaPachatelPacientPadouchPahorekPaktPalandaPalecPalivoPalubaPamfletPamlsekPanenkaPanikaPannaPanovatPanstvoPantoflePaprikaParketaParodiePartaParukaParybaPasekaPasivitaPastelkaPatentPatronaPavoukPaznehtPazourekPeckaPedagogPejsekPekloPelotonPenaltaPendrekPenzePeriskopPeroPestrostPetardaPeticePetrolejPevninaPexesoPianistaPihaPijavicePiklePiknikPilinaPilnostPilulkaPinzetaPipetaPisatelPistolePitevnaPivnicePivovarPlacentaPlakatPlamenPlanetaPlastikaPlatitPlavidloPlazPlechPlemenoPlentaPlesPletivoPlevelPlivatPlnitPlnoPlochaPlodinaPlombaPloutPlukPlynPobavitPobytPochodPocitPoctivecPodatPodcenitPodepsatPodhledPodivitPodkladPodmanitPodnikPodobaPodporaPodrazPodstataPodvodPodzimPoeziePohankaPohnutkaPohovorPohromaPohybPointaPojistkaPojmoutPokazitPoklesPokojPokrokPokutaPokynPolednePolibekPolknoutPolohaPolynomPomaluPominoutPomlkaPomocPomstaPomysletPonechatPonorkaPonurostPopadatPopelPopisekPoplachPoprositPopsatPopudPoradcePorcePorodPoruchaPoryvPosaditPosedPosilaPoskokPoslanecPosouditPospoluPostavaPosudekPosypPotahPotkanPotleskPotomekPotravaPotupaPotvoraPoukazPoutoPouzdroPovahaPovidlaPovlakPovozPovrchPovstatPovykPovzdechPozdravPozemekPoznatekPozorPozvatPracovatPrahoryPraktikaPralesPraotecPraporekPrasePravdaPrincipPrknoProbuditProcentoProdejProfeseProhraProjektProlomitPromilePronikatPropadProrokProsbaProtonProutekProvazPrskavkaPrstenPrudkostPrutPrvekPrvohoryPsanecPsovodPstruhPtactvoPubertaPuchPudlPukavecPuklinaPukrlePultPumpaPuncPupenPusaPusinkaPustinaPutovatPutykaPyramidaPyskPytelRacekRachotRadiaceRadniceRadonRaftRagbyRaketaRakovinaRamenoRampouchRandeRarachRaritaRasovnaRastrRatolestRazanceRazidloReagovatReakceReceptRedaktorReferentReflexRejnokReklamaRekordRekrutRektorReputaceRevizeRevmaRevolverRezervaRiskovatRizikoRobotikaRodokmenRohovkaRokleRokokoRomanetoRopovodRopuchaRorejsRosolRostlinaRotmistrRotopedRotundaRoubenkaRouchoRoupRouraRovinaRovniceRozborRozchodRozdatRozeznatRozhodceRozinkaRozjezdRozkazRozlohaRozmarRozpadRozruchRozsahRoztokRozumRozvodRubrikaRuchadloRukaviceRukopisRybaRybolovRychlostRydloRypadloRytinaRyzostSadistaSahatSakoSamecSamizdatSamotaSanitkaSardinkaSasankaSatelitSazbaSazeniceSborSchovatSebrankaSeceseSedadloSedimentSedloSehnatSejmoutSekeraSektaSekundaSekvojeSemenoSenoServisSesaditSeshoraSeskokSeslatSestraSesuvSesypatSetbaSetinaSetkatSetnoutSetrvatSeverSeznamShodaShrnoutSifonSilniceSirkaSirotekSirupSituaceSkafandrSkaliskoSkanzenSkautSkeptikSkicaSkladbaSkleniceSkloSkluzSkobaSkokanSkoroSkriptaSkrzSkupinaSkvostSkvrnaSlabikaSladidloSlaninaSlastSlavnostSledovatSlepecSlevaSlezinaSlibSlinaSlizniceSlonSloupekSlovoSluchSluhaSlunceSlupkaSlzaSmaragdSmetanaSmilstvoSmlouvaSmogSmradSmrkSmrtkaSmutekSmyslSnadSnahaSnobSobotaSochaSodovkaSokolSopkaSotvaSoubojSoucitSoudceSouhlasSouladSoumrakSoupravaSousedSoutokSouvisetSpalovnaSpasitelSpisSplavSpodekSpojenecSpoluSponzorSpornostSpoustaSprchaSpustitSrandaSrazSrdceSrnaSrnecSrovnatSrpenSrstSrubStaniceStarostaStatikaStavbaStehnoStezkaStodolaStolekStopaStornoStoupatStrachStresStrhnoutStromStrunaStudnaStupniceStvolStykSubjektSubtropySucharSudostSuknoSundatSunoutSurikataSurovinaSvahSvalstvoSvetrSvatbaSvazekSvisleSvitekSvobodaSvodidloSvorkaSvrabSykavkaSykotSynekSynovecSypatSypkostSyrovostSyselSytostTabletkaTabuleTahounTajemnoTajfunTajgaTajitTajnostTaktikaTamhleTamponTancovatTanecTankerTapetaTaveninaTazatelTechnikaTehdyTekutinaTelefonTemnotaTendenceTenistaTenorTeplotaTepnaTeprveTerapieTermoskaTextilTichoTiskopisTitulekTkadlecTkaninaTlapkaTleskatTlukotTlupaTmelToaletaTopinkaTopolTorzoTouhaToulecTradiceTraktorTrampTrasaTraverzaTrefitTrestTrezorTrhavinaTrhlinaTrochuTrojiceTroskaTroubaTrpceTrpitelTrpkostTrubecTruchlitTruhliceTrusTrvatTudyTuhnoutTuhostTundraTuristaTurnajTuzemskoTvarohTvorbaTvrdostTvrzTygrTykevUbohostUbozeUbratUbrousekUbrusUbytovnaUchoUctivostUdivitUhraditUjednatUjistitUjmoutUkazatelUklidnitUklonitUkotvitUkrojitUliceUlitaUlovitUmyvadloUnavitUniformaUniknoutUpadnoutUplatnitUplynoutUpoutatUpravitUranUrazitUsednoutUsilovatUsmrtitUsnadnitUsnoutUsouditUstlatUstrnoutUtahovatUtkatUtlumitUtonoutUtopenecUtrousitUvalitUvolnitUvozovkaUzdravitUzelUzeninaUzlinaUznatVagonValchaValounVanaVandalVanilkaVaranVarhanyVarovatVcelkuVchodVdovaVedroVegetaceVejceVelbloudVeletrhVelitelVelmocVelrybaVenkovVerandaVerzeVeselkaVeskrzeVesniceVespoduVestaVeterinaVeverkaVibraceVichrVideohraVidinaVidleVilaViniceVisetVitalitaVizeVizitkaVjezdVkladVkusVlajkaVlakVlasecVlevoVlhkostVlivVlnovkaVloupatVnucovatVnukVodaVodivostVodoznakVodstvoVojenskyVojnaVojskoVolantVolbaVolitVolnoVoskovkaVozidloVozovnaVpravoVrabecVracetVrahVrataVrbaVrcholekVrhatVrstvaVrtuleVsaditVstoupitVstupVtipVybavitVybratVychovatVydatVydraVyfotitVyhledatVyhnoutVyhoditVyhraditVyhubitVyjasnitVyjetVyjmoutVyklopitVykonatVylekatVymazatVymezitVymizetVymysletVynechatVynikatVynutitVypadatVyplatitVypravitVypustitVyrazitVyrovnatVyrvatVyslovitVysokoVystavitVysunoutVysypatVytasitVytesatVytratitVyvinoutVyvolatVyvrhelVyzdobitVyznatVzaduVzbuditVzchopitVzdorVzduchVzdychatVzestupVzhledemVzkazVzlykatVznikVzorekVzpouraVztahVztekXylofonZabratZabydletZachovatZadarmoZadusitZafoukatZahltitZahoditZahradaZahynoutZajatecZajetZajistitZaklepatZakoupitZalepitZamezitZamotatZamysletZanechatZanikatZaplatitZapojitZapsatZarazitZastavitZasunoutZatajitZatemnitZatknoutZaujmoutZavalitZaveletZavinitZavolatZavrtatZazvonitZbavitZbrusuZbudovatZbytekZdalekaZdarmaZdatnostZdivoZdobitZdrojZdvihZdymadloZeleninaZemanZeminaZeptatZezaduZezdolaZhatitZhltnoutZhlubokaZhotovitZhrubaZimaZimniceZjemnitZklamatZkoumatZkratkaZkumavkaZlatoZlehkaZlobaZlomZlostZlozvykZmapovatZmarZmatekZmijeZmizetZmocnitZmodratZmrzlinaZmutovatZnakZnalostZnamenatZnovuZobrazitZotavitZoubekZoufaleZploditZpomalitZpravaZprostitZprudkaZprvuZradaZranitZrcadloZrnitostZrnoZrovnaZrychlitZrzavostZtichaZtratitZubovinaZubrZvednoutZvenkuZveselaZvonZvratZvukovodZvyk",zk=null;function YBe(t){if(zk==null&&(zk=B$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),jre.Wordlist.check(t)!=="0x25f44555f4af25b51a711136e1c7d6e50ce9f8917d39d6b1f076b2bb4d2fac1a"))throw zk=null,new Error("BIP39 Wordlist for en (English) FAILED")}var D$0=function(t){M$0(e,t);function e(){return t.call(this,"cz")||this}return e.prototype.getWord=function(n){return YBe(this),zk[n]},e.prototype.getWordIndex=function(n){return YBe(this),zk.indexOf(n)},e}(jre.Wordlist),$Be=new D$0;yT.langCz=$Be;jre.Wordlist.register($Be)});var eDe=D(gT=>{"use strict";u();p();var P$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.langEn=void 0;var Gre=Ou(),L$0="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo",Wk=null;function XBe(t){if(Wk==null&&(Wk=L$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Gre.Wordlist.check(t)!=="0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"))throw Wk=null,new Error("BIP39 Wordlist for en (English) FAILED")}var F$0=function(t){P$0(e,t);function e(){return t.call(this,"en")||this}return e.prototype.getWord=function(n){return XBe(this),Wk[n]},e.prototype.getWordIndex=function(n){return XBe(this),Wk.indexOf(n)},e}(Gre.Wordlist),ZBe=new F$0;gT.langEn=ZBe;Gre.Wordlist.register(ZBe)});var fDe=D(vT=>{"use strict";u();p();var N$0=vT&&vT.__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(vT,"__esModule",{value:!0});vT.langEs=void 0;var bH=Ai(),yH=Ou(),O$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",nDe={},qk=null;function aDe(t){return yH.logger.checkNormalize(),(0,bH.toUtf8String)(Array.prototype.filter.call((0,bH.toUtf8Bytes)(t.normalize("NFD").toLowerCase()),function(e){return e>=65&&e<=90||e>=97&&e<=123}))}function U$0(t){var e=[];return Array.prototype.forEach.call((0,bH.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,bH.toUtf8String)(e)}function tDe(t){if(qk==null&&(qk=O$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map(function(e){return U$0(e)}),qk.forEach(function(e,n){nDe[aDe(e)]=n}),yH.Wordlist.check(t)!=="0xf74fb7092aeacdfbf8959557de22098da512207fb9f109cb526994938cf40300"))throw qk=null,new Error("BIP39 Wordlist for es (Spanish) FAILED")}var H$0=function(t){N$0(e,t);function e(){return t.call(this,"es")||this}return e.prototype.getWord=function(n){return tDe(this),qk[n]},e.prototype.getWordIndex=function(n){return tDe(this),nDe[aDe(n)]},e}(yH.Wordlist),rDe=new H$0;vT.langEs=rDe;yH.Wordlist.register(rDe)});var dDe=D(wT=>{"use strict";u();p();var z$0=wT&&wT.__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(wT,"__esModule",{value:!0});wT.langFr=void 0;var gH=Ai(),vH=Ou(),W$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",jk=null,sDe={};function oDe(t){return vH.logger.checkNormalize(),(0,gH.toUtf8String)(Array.prototype.filter.call((0,gH.toUtf8Bytes)(t.normalize("NFD").toLowerCase()),function(e){return e>=65&&e<=90||e>=97&&e<=123}))}function q$0(t){var e=[];return Array.prototype.forEach.call((0,gH.toUtf8Bytes)(t),function(n){n===47?(e.push(204),e.push(129)):n===45?(e.push(204),e.push(128)):e.push(n)}),(0,gH.toUtf8String)(e)}function iDe(t){if(jk==null&&(jk=W$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map(function(e){return q$0(e)}),jk.forEach(function(e,n){sDe[oDe(e)]=n}),vH.Wordlist.check(t)!=="0x51deb7ae009149dc61a6bd18a918eb7ac78d2775726c68e598b92d002519b045"))throw jk=null,new Error("BIP39 Wordlist for fr (French) FAILED")}var j$0=function(t){z$0(e,t);function e(){return t.call(this,"fr")||this}return e.prototype.getWord=function(n){return iDe(this),jk[n]},e.prototype.getWordIndex=function(n){return iDe(this),sDe[oDe(n)]},e}(vH.Wordlist),cDe=new j$0;wT.langFr=cDe;vH.Wordlist.register(cDe)});var hDe=D(TT=>{"use strict";u();p();var G$0=TT&&TT.__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(TT,"__esModule",{value:!0});TT.langJa=void 0;var K$0=Vt(),W5=Ai(),wH=Ou(),Q$0=["AQRASRAGBAGUAIRAHBAghAURAdBAdcAnoAMEAFBAFCBKFBQRBSFBCXBCDBCHBGFBEQBpBBpQBIkBHNBeOBgFBVCBhBBhNBmOBmRBiHBiFBUFBZDBvFBsXBkFBlcBjYBwDBMBBTBBTRBWBBWXXaQXaRXQWXSRXCFXYBXpHXOQXHRXhRXuRXmXXbRXlXXwDXTRXrCXWQXWGaBWaKcaYgasFadQalmaMBacAKaRKKBKKXKKjKQRKDRKCYKCRKIDKeVKHcKlXKjHKrYNAHNBWNaRNKcNIBNIONmXNsXNdXNnBNMBNRBNrXNWDNWMNFOQABQAHQBrQXBQXFQaRQKXQKDQKOQKFQNBQNDQQgQCXQCDQGBQGDQGdQYXQpBQpQQpHQLXQHuQgBQhBQhCQuFQmXQiDQUFQZDQsFQdRQkHQbRQlOQlmQPDQjDQwXQMBQMDQcFQTBQTHQrDDXQDNFDGBDGQDGRDpFDhFDmXDZXDbRDMYDRdDTRDrXSAhSBCSBrSGQSEQSHBSVRShYShkSyQSuFSiBSdcSoESocSlmSMBSFBSFKSFNSFdSFcCByCaRCKcCSBCSRCCrCGbCEHCYXCpBCpQCIBCIHCeNCgBCgFCVECVcCmkCmwCZXCZFCdRClOClmClFCjDCjdCnXCwBCwXCcRCFQCFjGXhGNhGDEGDMGCDGCHGIFGgBGVXGVEGVRGmXGsXGdYGoSGbRGnXGwXGwDGWRGFNGFLGFOGFdGFkEABEBDEBFEXOEaBEKSENBENDEYXEIgEIkEgBEgQEgHEhFEudEuFEiBEiHEiFEZDEvBEsXEsFEdXEdREkFEbBEbRElFEPCEfkEFNYAEYAhYBNYQdYDXYSRYCEYYoYgQYgRYuRYmCYZTYdBYbEYlXYjQYRbYWRpKXpQopQnpSFpCXpIBpISphNpdBpdRpbRpcZpFBpFNpFDpFopFrLADLBuLXQLXcLaFLCXLEhLpBLpFLHXLeVLhILdHLdRLoDLbRLrXIABIBQIBCIBsIBoIBMIBRIXaIaRIKYIKRINBINuICDIGBIIDIIkIgRIxFIyQIiHIdRIbYIbRIlHIwRIMYIcRIRVITRIFBIFNIFQOABOAFOBQOaFONBONMOQFOSFOCDOGBOEQOpBOLXOIBOIFOgQOgFOyQOycOmXOsXOdIOkHOMEOMkOWWHBNHXNHXWHNXHDuHDRHSuHSRHHoHhkHmRHdRHkQHlcHlRHwBHWcgAEgAggAkgBNgBQgBEgXOgYcgLXgHjgyQgiBgsFgdagMYgWSgFQgFEVBTVXEVKBVKNVKDVKYVKRVNBVNYVDBVDxVSBVSRVCjVGNVLXVIFVhBVhcVsXVdRVbRVlRhBYhKYhDYhGShxWhmNhdahdkhbRhjohMXhTRxAXxXSxKBxNBxEQxeNxeQxhXxsFxdbxlHxjcxFBxFNxFQxFOxFoyNYyYoybcyMYuBQuBRuBruDMuCouHBudQukkuoBulVuMXuFEmCYmCRmpRmeDmiMmjdmTFmFQiADiBOiaRiKRiNBiNRiSFiGkiGFiERipRiLFiIFihYibHijBijEiMXiWBiFBiFCUBQUXFUaRUNDUNcUNRUNFUDBUSHUCDUGBUGFUEqULNULoUIRUeEUeYUgBUhFUuRUiFUsXUdFUkHUbBUjSUjYUwXUMDUcHURdUTBUrBUrXUrQZAFZXZZaRZKFZNBZQFZCXZGBZYdZpBZLDZIFZHXZHNZeQZVRZVFZmXZiBZvFZdFZkFZbHZbFZwXZcCZcRZRBvBQvBGvBLvBWvCovMYsAFsBDsaRsKFsNFsDrsSHsSFsCXsCRsEBsEHsEfspBsLBsLDsIgsIRseGsbRsFBsFQsFSdNBdSRdCVdGHdYDdHcdVbdySduDdsXdlRdwXdWYdWcdWRkBMkXOkaRkNIkNFkSFkCFkYBkpRkeNkgBkhVkmXksFklVkMBkWDkFNoBNoaQoaFoNBoNXoNaoNEoSRoEroYXoYCoYbopRopFomXojkowXorFbBEbEIbdBbjYlaRlDElMXlFDjKjjSRjGBjYBjYkjpRjLXjIBjOFjeVjbRjwBnXQnSHnpFnLXnINnMBnTRwXBwXNwXYwNFwQFwSBwGFwLXwLDweNwgBwuHwjDwnXMBXMpFMIBMeNMTHcaQcNBcDHcSFcCXcpBcLXcLDcgFcuFcnXcwXccDcTQcrFTQErXNrCHrpFrgFrbFrTHrFcWNYWNbWEHWMXWTR","ABGHABIJAEAVAYJQALZJAIaRAHNXAHdcAHbRAZJMAZJRAZTRAdVJAklmAbcNAjdRAMnRAMWYAWpRAWgRAFgBAFhBAFdcBNJBBNJDBQKBBQhcBQlmBDEJBYJkBYJTBpNBBpJFBIJBBIJDBIcABOKXBOEJBOVJBOiJBOZJBepBBeLXBeIFBegBBgGJBVJXBuocBiJRBUJQBlXVBlITBwNFBMYVBcqXBTlmBWNFBWiJBWnRBFGHBFwXXKGJXNJBXNZJXDTTXSHSXSVRXSlHXCJDXGQJXEhXXYQJXYbRXOfXXeNcXVJFXhQJXhEJXdTRXjdXXMhBXcQTXRGBXTEBXTnQXFCXXFOFXFgFaBaFaBNJaBCJaBpBaBwXaNJKaNJDaQIBaDpRaEPDaHMFamDJalEJaMZJaFaFaFNBaFQJaFLDaFVHKBCYKBEBKBHDKXaFKXGdKXEJKXpHKXIBKXZDKXwXKKwLKNacKNYJKNJoKNWcKDGdKDTRKChXKGaRKGhBKGbRKEBTKEaRKEPTKLMDKLWRKOHDKVJcKdBcKlIBKlOPKFSBKFEPKFpFNBNJNJBQNBGHNBEPNBHXNBgFNBVXNBZDNBsXNBwXNNaRNNJDNNJENNJkNDCJNDVDNGJRNJiDNZJNNsCJNJFNNFSBNFCXNFEPNFLXNFIFQJBFQCaRQJEQQLJDQLJFQIaRQOqXQHaFQHHQQVJXQVJDQhNJQmEIQZJFQsJXQJrFQWbRDJABDBYJDXNFDXCXDXLXDXZDDXsJDQqXDSJFDJCXDEPkDEqXDYmQDpSJDOCkDOGQDHEIDVJDDuDuDWEBDJFgSBNDSBSFSBGHSBIBSBTQSKVYSJQNSJQiSJCXSEqXSJYVSIiJSOMYSHAHSHaQSeCFSepQSegBSHdHSHrFShSJSJuHSJUFSkNRSrSrSWEBSFaHSJFQSFCXSFGDSFYXSFODSFgBSFVXSFhBSFxFSFkFSFbBSFMFCADdCJXBCXaFCXKFCXNFCXCXCXGBCXEJCXYBCXLDCXIBCXOPCXHXCXgBCXhBCXiBCXlDCXcHCJNBCJNFCDCJCDGBCDVXCDhBCDiDCDJdCCmNCpJFCIaRCOqXCHCHCHZJCViJCuCuCmddCJiFCdNBCdHhClEJCnUJCreSCWlgCWTRCFBFCFNBCFYBCFVFCFhFCFdSCFTBCFWDGBNBGBQFGJBCGBEqGBpBGBgQGNBEGNJYGNkOGNJRGDUFGJpQGHaBGJeNGJeEGVBlGVKjGiJDGvJHGsVJGkEBGMIJGWjNGFBFGFCXGFGBGFYXGFpBGFMFEASJEAWpEJNFECJVEIXSEIQJEOqXEOcFEeNcEHEJEHlFEJgFEhlmEmDJEmZJEiMBEUqXEoSREPBFEPXFEPKFEPSFEPEFEPpFEPLXEPIBEJPdEPcFEPTBEJnXEqlHEMpREFCXEFODEFcFYASJYJAFYBaBYBVXYXpFYDhBYCJBYJGFYYbRYeNcYJeVYiIJYZJcYvJgYvJRYJsXYsJFYMYMYreVpBNHpBEJpBwXpQxFpYEJpeNDpJeDpeSFpeCHpHUJpHbBpHcHpmUJpiiJpUJrpsJuplITpFaBpFQqpFGBpFEfpFYBpFpBpFLJpFIDpFgBpFVXpFyQpFuFpFlFpFjDpFnXpFwXpJFMpFTBLXCJLXEFLXhFLXUJLXbFLalmLNJBLSJQLCLCLGJBLLDJLHaFLeNFLeSHLeCXLepFLhaRLZsJLsJDLsJrLocaLlLlLMdbLFNBLFSBLFEHLFkFIBBFIBXFIBaQIBKXIBSFIBpHIBLXIBgBIBhBIBuHIBmXIBiFIBZXIBvFIBbFIBjQIBwXIBWFIKTRIQUJIDGFICjQIYSRIINXIJeCIVaRImEkIZJFIvJRIsJXIdCJIJoRIbBQIjYBIcqXITFVIreVIFKFIFSFIFCJIFGFIFLDIFIBIJFOIFgBIFVXIJFhIFxFIFmXIFdHIFbBIJFrIJFWOBGBOQfXOOKjOUqXOfXBOqXEOcqXORVJOFIBOFlDHBIOHXiFHNTRHCJXHIaRHHJDHHEJHVbRHZJYHbIBHRsJHRkDHWlmgBKFgBSBgBCDgBGHgBpBgBIBgBVJgBuBgBvFgKDTgQVXgDUJgGSJgOqXgmUMgZIJgTUJgWIEgFBFgFNBgFDJgFSFgFGBgFYXgJFOgFgQgFVXgFhBgFbHgJFWVJABVQKcVDgFVOfXVeDFVhaRVmGdViJYVMaRVFNHhBNDhBCXhBEqhBpFhBLXhNJBhSJRheVXhhKEhxlmhZIJhdBQhkIJhbMNhMUJhMZJxNJgxQUJxDEkxDdFxSJRxplmxeSBxeCXxeGFxeYXxepQxegBxWVcxFEQxFLXxFIBxFgBxFxDxFZtxFdcxFbBxFwXyDJXyDlcuASJuDJpuDIBuCpJuGSJuIJFueEFuZIJusJXudWEuoIBuWGJuFBcuFKEuFNFuFQFuFDJuFGJuFVJuFUtuFdHuFTBmBYJmNJYmQhkmLJDmLJomIdXmiJYmvJRmsJRmklmmMBymMuCmclmmcnQiJABiJBNiJBDiBSFiBCJiBEFiBYBiBpFiBLXiBTHiJNciDEfiCZJiECJiJEqiOkHiHKFieNDiHJQieQcieDHieSFieCXieGFieEFieIHiegFihUJixNoioNXiFaBiFKFiFNDiFEPiFYXitFOitFHiFgBiFVEiFmXiFitiFbBiFMFiFrFUCXQUIoQUIJcUHQJUeCEUHwXUUJDUUqXUdWcUcqXUrnQUFNDUFSHUFCFUFEfUFLXUtFOZBXOZXSBZXpFZXVXZEQJZEJkZpDJZOqXZeNHZeCDZUqXZFBQZFEHZFLXvBAFvBKFvBCXvBEPvBpHvBIDvBgFvBuHvQNJvFNFvFGBvFIBvJFcsXCDsXLXsXsXsXlFsXcHsQqXsJQFsEqXseIFsFEHsFjDdBxOdNpRdNJRdEJbdpJRdhZJdnSJdrjNdFNJdFQHdFhNkNJDkYaRkHNRkHSRkVbRkuMRkjSJkcqDoSJFoEiJoYZJoOfXohEBoMGQocqXbBAFbBXFbBaFbBNDbBGBbBLXbBTBbBWDbGJYbIJHbFQqbFpQlDgQlOrFlVJRjGEBjZJRnXvJnXbBnEfHnOPDngJRnxfXnUJWwXEJwNpJwDpBwEfXwrEBMDCJMDGHMDIJMLJDcQGDcQpHcqXccqNFcqCXcFCJRBSBRBGBRBEJRBpQTBNFTBQJTBpBTBVXTFABTFSBTFCFTFGBTFMDrXCJrXLDrDNJrEfHrFQJrFitWNjdWNTR","AKLJMANOPFASNJIAEJWXAYJNRAIIbRAIcdaAeEfDAgidRAdjNYAMYEJAMIbRAFNJBAFpJFBBIJYBDZJFBSiJhBGdEBBEJfXBEJqXBEJWRBpaUJBLXrXBIYJMBOcfXBeEfFBestXBjNJRBcDJOBFEqXXNvJRXDMBhXCJNYXOAWpXONJWXHDEBXeIaRXhYJDXZJSJXMDJOXcASJXFVJXaBQqXaBZJFasXdQaFSJQaFEfXaFpJHaFOqXKBNSRKXvJBKQJhXKEJQJKEJGFKINJBKIJjNKgJNSKVElmKVhEBKiJGFKlBgJKjnUJKwsJYKMFIJKFNJDKFIJFKFOfXNJBSFNJBCXNBpJFNJBvQNJBMBNJLJXNJOqXNJeCXNJeGFNdsJCNbTKFNwXUJQNFEPQDiJcQDMSJQSFpBQGMQJQJeOcQyCJEQUJEBQJFBrQFEJqDXDJFDJXpBDJXIMDGiJhDIJGRDJeYcDHrDJDVXgFDkAWpDkIgRDjDEqDMvJRDJFNFDJFIBSKclmSJQOFSJQVHSJQjDSJGJBSJGJFSECJoSHEJqSJHTBSJVJDSViJYSZJNBSJsJDSFSJFSFEfXSJFLXCBUJVCJXSBCJXpBCXVJXCJXsXCJXdFCJNJHCLIJgCHiJFCVNJMChCJhCUHEJCsJTRCJdYcCoQJCCFEfXCFIJgCFUJxCFstFGJBaQGJBIDGQJqXGYJNRGJHKFGeQqDGHEJFGJeLXGHIiJGHdBlGUJEBGkIJTGFQPDGJFEqEAGegEJIJBEJVJXEhQJTEiJNcEJZJFEJoEqEjDEqEPDsXEPGJBEPOqXEPeQFEfDiDEJfEFEfepQEfMiJEqXNBEqDIDEqeSFEqVJXEMvJRYXNJDYXEJHYKVJcYYJEBYJeEcYJUqXYFpJFYFstXpAZJMpBSJFpNBNFpeQPDpHLJDpHIJFpHgJFpeitFpHZJFpJFADpFSJFpJFCJpFOqXpFitBpJFZJLXIJFLIJgRLVNJWLVHJMLwNpJLFGJBLFLJDLFOqXLJFUJIBDJXIBGJBIJBYQIJBIBIBOqXIBcqDIEGJFILNJTIIJEBIOiJhIJeNBIJeIBIhiJIIWoTRIJFAHIJFpBIJFuHIFUtFIJFTHOSBYJOEcqXOHEJqOvBpFOkVJrObBVJOncqDOcNJkHhNJRHuHJuHdMhBgBUqXgBsJXgONJBgHNJDgHHJQgJeitgHsJXgJyNagyDJBgZJDrgsVJQgkEJNgkjSJgJFAHgFCJDgFZtMVJXNFVXQfXVJXDJVXoQJVQVJQVDEfXVDvJHVEqNFVeQfXVHpJFVHxfXVVJSRVVmaRVlIJOhCXVJhHjYkhxCJVhWVUJhWiJcxBNJIxeEqDxfXBFxcFEPxFSJFxFYJXyBDQJydaUJyFOPDuYCJYuLvJRuHLJXuZJLDuFOPDuFZJHuFcqXmKHJdmCQJcmOsVJiJAGFitLCFieOfXiestXiZJMEikNJQirXzFiFQqXiFIJFiFZJFiFvtFUHpJFUteIcUteOcUVCJkUhdHcUbEJEUJqXQUMNJhURjYkUFitFZDGJHZJIxDZJVJXZJFDJZJFpQvBNJBvBSJFvJxBrseQqDsVFVJdFLJDkEJNBkmNJYkFLJDoQJOPoGsJRoEAHBoEJfFbBQqDbBZJHbFVJXlFIJBjYIrXjeitcjjCEBjWMNBwXQfXwXOaFwDsJXwCJTRwrCZJMDNJQcDDJFcqDOPRYiJFTBsJXTQIJBTFEfXTFLJDrXEJFrEJXMrFZJFWEJdEWYTlm","ABCDEFACNJTRAMBDJdAcNJVXBLNJEBXSIdWRXErNJkXYDJMBXZJCJaXMNJaYKKVJKcKDEJqXKDcNJhKVJrNYKbgJVXKFVJSBNBYBwDNJeQfXNJeEqXNhGJWENJFiJRQlIJbEQJfXxDQqXcfXQFNDEJQFwXUJDYcnUJDJIBgQDIUJTRDJFEqDSJQSJFSJQIJFSOPeZtSJFZJHCJXQfXCTDEqFGJBSJFGJBOfXGJBcqXGJHNJDGJRLiJEJfXEqEJFEJPEFpBEJYJBZJFYBwXUJYiJMEBYJZJyTYTONJXpQMFXFpeGIDdpJFstXpJFcPDLBVSJRLHQJqXLJFZJFIJBNJDIJBUqXIBkFDJIJEJPTIYJGWRIJeQPDIJeEfHIJFsJXOqGDSFHXEJqXgJCsJCgGQJqXgdQYJEgFMFNBgJFcqDVJwXUJVJFZJchIgJCCxOEJqXxOwXUJyDJBVRuscisciJBiJBieUtqXiJFDJkiFsJXQUGEZJcUJFsJXZtXIrXZDZJDrZJFNJDZJFstXvJFQqXvJFCJEsJXQJqkhkNGBbDJdTRbYJMEBlDwXUJMEFiJFcfXNJDRcNJWMTBLJXC","BraFUtHBFSJFdbNBLJXVJQoYJNEBSJBEJfHSJHwXUJCJdAZJMGjaFVJXEJPNJBlEJfFiJFpFbFEJqIJBVJCrIBdHiJhOPFChvJVJZJNJWxGFNIFLueIBQJqUHEJfUFstOZJDrlXEASJRlXVJXSFwVJNJWD","QJEJNNJDQJEJIBSFQJEJxegBQJEJfHEPSJBmXEJFSJCDEJqXLXNJFQqXIcQsFNJFIFEJqXUJgFsJXIJBUJEJfHNFvJxEqXNJnXUJFQqD","IJBEJqXZJ"],V$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",I6=null;function lDe(t){return(0,K$0.hexlify)((0,W5.toUtf8Bytes)(t))}var Y$0="0xe3818de38284e3818f",$$0="0xe3818de38283e3818f";function uDe(t){if(I6!==null)return;I6=[];var e={};e[(0,W5.toUtf8String)([227,130,154])]=!1,e[(0,W5.toUtf8String)([227,130,153])]=!1,e[(0,W5.toUtf8String)([227,130,133])]=(0,W5.toUtf8String)([227,130,134]),e[(0,W5.toUtf8String)([227,129,163])]=(0,W5.toUtf8String)([227,129,164]),e[(0,W5.toUtf8String)([227,130,131])]=(0,W5.toUtf8String)([227,130,132]),e[(0,W5.toUtf8String)([227,130,135])]=(0,W5.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=Q$0[r-3],i=0;i{"use strict";u();p();var X$0=xT&&xT.__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(xT,"__esModule",{value:!0});xT.langKo=void 0;var Z$0=Ai(),Kre=Ou(),eJ0=["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"],tJ0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*";function nJ0(t){return t>=40?t=t+168-40:t>=19&&(t=t+97-19),(0,Z$0.toUtf8String)([225,(t>>6)+132,(t&63)+128])}var v7=null;function mDe(t){if(v7==null&&(v7=[],eJ0.forEach(function(e,n){n+=4;for(var a=0;a{"use strict";u();p();var rJ0=ET&&ET.__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(ET,"__esModule",{value:!0});ET.langIt=void 0;var Qre=Ou(),fJ0="AbacoAbbaglioAbbinatoAbeteAbissoAbolireAbrasivoAbrogatoAccadereAccennoAccusatoAcetoneAchilleAcidoAcquaAcreAcrilicoAcrobataAcutoAdagioAddebitoAddomeAdeguatoAderireAdipeAdottareAdulareAffabileAffettoAffissoAffrantoAforismaAfosoAfricanoAgaveAgenteAgevoleAggancioAgireAgitareAgonismoAgricoloAgrumetoAguzzoAlabardaAlatoAlbatroAlberatoAlboAlbumeAlceAlcolicoAlettoneAlfaAlgebraAlianteAlibiAlimentoAllagatoAllegroAllievoAllodolaAllusivoAlmenoAlogenoAlpacaAlpestreAltalenaAlternoAlticcioAltroveAlunnoAlveoloAlzareAmalgamaAmanitaAmarenaAmbitoAmbratoAmebaAmericaAmetistaAmicoAmmassoAmmendaAmmirareAmmonitoAmoreAmpioAmpliareAmuletoAnacardoAnagrafeAnalistaAnarchiaAnatraAncaAncellaAncoraAndareAndreaAnelloAngeloAngolareAngustoAnimaAnnegareAnnidatoAnnoAnnuncioAnonimoAnticipoAnziApaticoAperturaApodeApparireAppetitoAppoggioApprodoAppuntoAprileArabicaArachideAragostaAraldicaArancioAraturaArazzoArbitroArchivioArditoArenileArgentoArgineArgutoAriaArmoniaArneseArredatoArringaArrostoArsenicoArsoArteficeArzilloAsciuttoAscoltoAsepsiAsetticoAsfaltoAsinoAsolaAspiratoAsproAssaggioAsseAssolutoAssurdoAstaAstenutoAsticeAstrattoAtavicoAteismoAtomicoAtonoAttesaAttivareAttornoAttritoAttualeAusilioAustriaAutistaAutonomoAutunnoAvanzatoAvereAvvenireAvvisoAvvolgereAzioneAzotoAzzimoAzzurroBabeleBaccanoBacinoBacoBadessaBadilataBagnatoBaitaBalconeBaldoBalenaBallataBalzanoBambinoBandireBaraondaBarbaroBarcaBaritonoBarlumeBaroccoBasilicoBassoBatostaBattutoBauleBavaBavosaBeccoBeffaBelgioBelvaBendaBenevoleBenignoBenzinaBereBerlinaBetaBibitaBiciBidoneBifidoBigaBilanciaBimboBinocoloBiologoBipedeBipolareBirbanteBirraBiscottoBisestoBisnonnoBisonteBisturiBizzarroBlandoBlattaBollitoBonificoBordoBoscoBotanicoBottinoBozzoloBraccioBradipoBramaBrancaBravuraBretellaBrevettoBrezzaBrigliaBrillanteBrindareBroccoloBrodoBronzinaBrulloBrunoBubboneBucaBudinoBuffoneBuioBulboBuonoBurloneBurrascaBussolaBustaCadettoCaducoCalamaroCalcoloCalesseCalibroCalmoCaloriaCambusaCamerataCamiciaCamminoCamolaCampaleCanapaCandelaCaneCaninoCanottoCantinaCapaceCapelloCapitoloCapogiroCapperoCapraCapsulaCarapaceCarcassaCardoCarismaCarovanaCarrettoCartolinaCasaccioCascataCasermaCasoCassoneCastelloCasualeCatastaCatenaCatrameCautoCavilloCedibileCedrataCefaloCelebreCellulareCenaCenoneCentesimoCeramicaCercareCertoCerumeCervelloCesoiaCespoCetoChelaChiaroChiccaChiedereChimeraChinaChirurgoChitarraCiaoCiclismoCifrareCignoCilindroCiottoloCircaCirrosiCitricoCittadinoCiuffoCivettaCivileClassicoClinicaCloroCoccoCodardoCodiceCoerenteCognomeCollareColmatoColoreColposoColtivatoColzaComaCometaCommandoComodoComputerComuneConcisoCondurreConfermaCongelareConiugeConnessoConoscereConsumoContinuoConvegnoCopertoCopioneCoppiaCopricapoCorazzaCordataCoricatoCorniceCorollaCorpoCorredoCorsiaCorteseCosmicoCostanteCotturaCovatoCratereCravattaCreatoCredereCremosoCrescitaCretaCricetoCrinaleCrisiCriticoCroceCronacaCrostataCrucialeCruscaCucireCuculoCuginoCullatoCupolaCuratoreCursoreCurvoCuscinoCustodeDadoDainoDalmataDamerinoDanielaDannosoDanzareDatatoDavantiDavveroDebuttoDecennioDecisoDeclinoDecolloDecretoDedicatoDefinitoDeformeDegnoDelegareDelfinoDelirioDeltaDemenzaDenotatoDentroDepositoDerapataDerivareDerogaDescrittoDesertoDesiderioDesumereDetersivoDevotoDiametroDicembreDiedroDifesoDiffusoDigerireDigitaleDiluvioDinamicoDinnanziDipintoDiplomaDipoloDiradareDireDirottoDirupoDisagioDiscretoDisfareDisgeloDispostoDistanzaDisumanoDitoDivanoDiveltoDividereDivoratoDobloneDocenteDoganaleDogmaDolceDomatoDomenicaDominareDondoloDonoDormireDoteDottoreDovutoDozzinaDragoDruidoDubbioDubitareDucaleDunaDuomoDupliceDuraturoEbanoEccessoEccoEclissiEconomiaEderaEdicolaEdileEditoriaEducareEgemoniaEgliEgoismoEgregioElaboratoElargireEleganteElencatoElettoElevareElficoElicaElmoElsaElusoEmanatoEmblemaEmessoEmiroEmotivoEmozioneEmpiricoEmuloEndemicoEnduroEnergiaEnfasiEnotecaEntrareEnzimaEpatiteEpilogoEpisodioEpocaleEppureEquatoreErarioErbaErbosoEredeEremitaErigereErmeticoEroeErosivoErranteEsagonoEsameEsanimeEsaudireEscaEsempioEsercitoEsibitoEsigenteEsistereEsitoEsofagoEsortatoEsosoEspansoEspressoEssenzaEssoEstesoEstimareEstoniaEstrosoEsultareEtilicoEtnicoEtruscoEttoEuclideoEuropaEvasoEvidenzaEvitatoEvolutoEvvivaFabbricaFaccendaFachiroFalcoFamigliaFanaleFanfaraFangoFantasmaFareFarfallaFarinosoFarmacoFasciaFastosoFasulloFaticareFatoFavolosoFebbreFecolaFedeFegatoFelpaFeltroFemminaFendereFenomenoFermentoFerroFertileFessuraFestivoFettaFeudoFiabaFiduciaFifaFiguratoFiloFinanzaFinestraFinireFioreFiscaleFisicoFiumeFlaconeFlamencoFleboFlemmaFloridoFluenteFluoroFobicoFocacciaFocosoFoderatoFoglioFolataFolcloreFolgoreFondenteFoneticoFoniaFontanaForbitoForchettaForestaFormicaFornaioForoFortezzaForzareFosfatoFossoFracassoFranaFrassinoFratelloFreccettaFrenataFrescoFrigoFrollinoFrondeFrugaleFruttaFucilataFucsiaFuggenteFulmineFulvoFumanteFumettoFumosoFuneFunzioneFuocoFurboFurgoneFuroreFusoFutileGabbianoGaffeGalateoGallinaGaloppoGamberoGammaGaranziaGarboGarofanoGarzoneGasdottoGasolioGastricoGattoGaudioGazeboGazzellaGecoGelatinaGelsoGemelloGemmatoGeneGenitoreGennaioGenotipoGergoGhepardoGhiaccioGhisaGialloGildaGineproGiocareGioielloGiornoGioveGiratoGironeGittataGiudizioGiuratoGiustoGlobuloGlutineGnomoGobbaGolfGomitoGommoneGonfioGonnaGovernoGracileGradoGraficoGrammoGrandeGrattareGravosoGraziaGrecaGreggeGrifoneGrigioGrinzaGrottaGruppoGuadagnoGuaioGuantoGuardareGufoGuidareIbernatoIconaIdenticoIdillioIdoloIdraIdricoIdrogenoIgieneIgnaroIgnoratoIlareIllesoIllogicoIlludereImballoImbevutoImboccoImbutoImmaneImmersoImmolatoImpaccoImpetoImpiegoImportoImprontaInalareInarcareInattivoIncantoIncendioInchinoIncisivoInclusoIncontroIncrocioIncuboIndagineIndiaIndoleIneditoInfattiInfilareInflittoIngaggioIngegnoIngleseIngordoIngrossoInnescoInodoreInoltrareInondatoInsanoInsettoInsiemeInsonniaInsulinaIntasatoInteroIntonacoIntuitoInumidireInvalidoInveceInvitoIperboleIpnoticoIpotesiIppicaIrideIrlandaIronicoIrrigatoIrrorareIsolatoIsotopoIstericoIstitutoIstriceItaliaIterareLabbroLabirintoLaccaLaceratoLacrimaLacunaLaddoveLagoLampoLancettaLanternaLardosoLargaLaringeLastraLatenzaLatinoLattugaLavagnaLavoroLegaleLeggeroLemboLentezzaLenzaLeoneLepreLesivoLessatoLestoLetteraleLevaLevigatoLiberoLidoLievitoLillaLimaturaLimitareLimpidoLineareLinguaLiquidoLiraLiricaLiscaLiteLitigioLivreaLocandaLodeLogicaLombareLondraLongevoLoquaceLorenzoLotoLotteriaLuceLucidatoLumacaLuminosoLungoLupoLuppoloLusingaLussoLuttoMacabroMacchinaMaceroMacinatoMadamaMagicoMagliaMagneteMagroMaiolicaMalafedeMalgradoMalintesoMalsanoMaltoMalumoreManaManciaMandorlaMangiareManifestoMannaroManovraMansardaMantideManubrioMappaMaratonaMarcireMarettaMarmoMarsupioMascheraMassaiaMastinoMaterassoMatricolaMattoneMaturoMazurcaMeandroMeccanicoMecenateMedesimoMeditareMegaMelassaMelisMelodiaMeningeMenoMensolaMercurioMerendaMerloMeschinoMeseMessereMestoloMetalloMetodoMettereMiagolareMicaMicelioMicheleMicroboMidolloMieleMiglioreMilanoMiliteMimosaMineraleMiniMinoreMirinoMirtilloMiscelaMissivaMistoMisurareMitezzaMitigareMitraMittenteMnemonicoModelloModificaModuloMoganoMogioMoleMolossoMonasteroMoncoMondinaMonetarioMonileMonotonoMonsoneMontatoMonvisoMoraMordereMorsicatoMostroMotivatoMotosegaMottoMovenzaMovimentoMozzoMuccaMucosaMuffaMughettoMugnaioMulattoMulinelloMultiploMummiaMuntoMuovereMuraleMusaMuscoloMusicaMutevoleMutoNababboNaftaNanometroNarcisoNariceNarratoNascereNastrareNaturaleNauticaNaviglioNebulosaNecrosiNegativoNegozioNemmenoNeofitaNerettoNervoNessunoNettunoNeutraleNeveNevroticoNicchiaNinfaNitidoNobileNocivoNodoNomeNominaNordicoNormaleNorvegeseNostranoNotareNotiziaNotturnoNovellaNucleoNullaNumeroNuovoNutrireNuvolaNuzialeOasiObbedireObbligoObeliscoOblioOboloObsoletoOccasioneOcchioOccidenteOccorrereOccultareOcraOculatoOdiernoOdorareOffertaOffrireOffuscatoOggettoOggiOgnunoOlandeseOlfattoOliatoOlivaOlogrammaOltreOmaggioOmbelicoOmbraOmegaOmissioneOndosoOnereOniceOnnivoroOnorevoleOntaOperatoOpinioneOppostoOracoloOrafoOrdineOrecchinoOreficeOrfanoOrganicoOrigineOrizzonteOrmaOrmeggioOrnativoOrologioOrrendoOrribileOrtensiaOrticaOrzataOrzoOsareOscurareOsmosiOspedaleOspiteOssaOssidareOstacoloOsteOtiteOtreOttagonoOttimoOttobreOvaleOvestOvinoOviparoOvocitoOvunqueOvviareOzioPacchettoPacePacificoPadellaPadronePaesePagaPaginaPalazzinaPalesarePallidoPaloPaludePandoroPannelloPaoloPaonazzoPapricaParabolaParcellaParerePargoloPariParlatoParolaPartireParvenzaParzialePassivoPasticcaPataccaPatologiaPattumePavonePeccatoPedalarePedonalePeggioPelosoPenarePendicePenisolaPennutoPenombraPensarePentolaPepePepitaPerbenePercorsoPerdonatoPerforarePergamenaPeriodoPermessoPernoPerplessoPersuasoPertugioPervasoPesatorePesistaPesoPestiferoPetaloPettinePetulantePezzoPiacerePiantaPiattinoPiccinoPicozzaPiegaPietraPifferoPigiamaPigolioPigroPilaPiliferoPillolaPilotaPimpantePinetaPinnaPinoloPioggiaPiomboPiramidePireticoPiritePirolisiPitonePizzicoPlaceboPlanarePlasmaPlatanoPlenarioPochezzaPoderosoPodismoPoesiaPoggiarePolentaPoligonoPollicePolmonitePolpettaPolsoPoltronaPolverePomicePomodoroPontePopolosoPorfidoPorosoPorporaPorrePortataPosaPositivoPossessoPostulatoPotassioPoterePranzoPrassiPraticaPreclusoPredicaPrefissoPregiatoPrelievoPremerePrenotarePreparatoPresenzaPretestoPrevalsoPrimaPrincipePrivatoProblemaProcuraProdurreProfumoProgettoProlungaPromessaPronomePropostaProrogaProtesoProvaPrudentePrugnaPruritoPsichePubblicoPudicaPugilatoPugnoPulcePulitoPulsantePuntarePupazzoPupillaPuroQuadroQualcosaQuasiQuerelaQuotaRaccoltoRaddoppioRadicaleRadunatoRafficaRagazzoRagioneRagnoRamarroRamingoRamoRandagioRantolareRapatoRapinaRappresoRasaturaRaschiatoRasenteRassegnaRastrelloRataRavvedutoRealeRecepireRecintoReclutaReconditoRecuperoRedditoRedimereRegalatoRegistroRegolaRegressoRelazioneRemareRemotoRennaReplicaReprimereReputareResaResidenteResponsoRestauroReteRetinaRetoricaRettificaRevocatoRiassuntoRibadireRibelleRibrezzoRicaricaRiccoRicevereRiciclatoRicordoRicredutoRidicoloRidurreRifasareRiflessoRiformaRifugioRigareRigettatoRighelloRilassatoRilevatoRimanereRimbalzoRimedioRimorchioRinascitaRincaroRinforzoRinnovoRinomatoRinsavitoRintoccoRinunciaRinvenireRiparatoRipetutoRipienoRiportareRipresaRipulireRisataRischioRiservaRisibileRisoRispettoRistoroRisultatoRisvoltoRitardoRitegnoRitmicoRitrovoRiunioneRivaRiversoRivincitaRivoltoRizomaRobaRoboticoRobustoRocciaRocoRodaggioRodereRoditoreRogitoRollioRomanticoRompereRonzioRosolareRospoRotanteRotondoRotulaRovescioRubizzoRubricaRugaRullinoRumineRumorosoRuoloRupeRussareRusticoSabatoSabbiareSabotatoSagomaSalassoSaldaturaSalgemmaSalivareSalmoneSaloneSaltareSalutoSalvoSapereSapidoSaporitoSaracenoSarcasmoSartoSassosoSatelliteSatiraSatolloSaturnoSavanaSavioSaziatoSbadiglioSbalzoSbancatoSbarraSbattereSbavareSbendareSbirciareSbloccatoSbocciatoSbrinareSbruffoneSbuffareScabrosoScadenzaScalaScambiareScandaloScapolaScarsoScatenareScavatoSceltoScenicoScettroSchedaSchienaSciarpaScienzaScindereScippoSciroppoScivoloSclerareScodellaScolpitoScompartoSconfortoScoprireScortaScossoneScozzeseScribaScrollareScrutinioScuderiaScultoreScuolaScuroScusareSdebitareSdoganareSeccaturaSecondoSedanoSeggiolaSegnalatoSegregatoSeguitoSelciatoSelettivoSellaSelvaggioSemaforoSembrareSemeSeminatoSempreSensoSentireSepoltoSequenzaSerataSerbatoSerenoSerioSerpenteSerraglioServireSestinaSetolaSettimanaSfaceloSfaldareSfamatoSfarzosoSfaticatoSferaSfidaSfilatoSfingeSfocatoSfoderareSfogoSfoltireSforzatoSfrattoSfruttatoSfuggitoSfumareSfusoSgabelloSgarbatoSgonfiareSgorbioSgrassatoSguardoSibiloSiccomeSierraSiglaSignoreSilenzioSillabaSimboloSimpaticoSimulatoSinfoniaSingoloSinistroSinoSintesiSinusoideSiparioSismaSistoleSituatoSlittaSlogaturaSlovenoSmarritoSmemoratoSmentitoSmeraldoSmilzoSmontareSmottatoSmussatoSnellireSnervatoSnodoSobbalzoSobrioSoccorsoSocialeSodaleSoffittoSognoSoldatoSolenneSolidoSollazzoSoloSolubileSolventeSomaticoSommaSondaSonettoSonniferoSopireSoppesoSopraSorgereSorpassoSorrisoSorsoSorteggioSorvolatoSospiroSostaSottileSpadaSpallaSpargereSpatolaSpaventoSpazzolaSpecieSpedireSpegnereSpelaturaSperanzaSpessoreSpettraleSpezzatoSpiaSpigolosoSpillatoSpinosoSpiraleSplendidoSportivoSposoSprangaSprecareSpronatoSpruzzoSpuntinoSquilloSradicareSrotolatoStabileStaccoStaffaStagnareStampatoStantioStarnutoStaseraStatutoSteloSteppaSterzoStilettoStimaStirpeStivaleStizzosoStonatoStoricoStrappoStregatoStriduloStrozzareStruttoStuccareStufoStupendoSubentroSuccosoSudoreSuggeritoSugoSultanoSuonareSuperboSupportoSurgelatoSurrogatoSussurroSuturaSvagareSvedeseSveglioSvelareSvenutoSveziaSviluppoSvistaSvizzeraSvoltaSvuotareTabaccoTabulatoTacciareTaciturnoTaleTalismanoTamponeTanninoTaraTardivoTargatoTariffaTarpareTartarugaTastoTatticoTavernaTavolataTazzaTecaTecnicoTelefonoTemerarioTempoTemutoTendoneTeneroTensioneTentacoloTeoremaTermeTerrazzoTerzettoTesiTesseratoTestatoTetroTettoiaTifareTigellaTimbroTintoTipicoTipografoTiraggioTiroTitanioTitoloTitubanteTizioTizzoneToccareTollerareToltoTombolaTomoTonfoTonsillaTopazioTopologiaToppaTorbaTornareTorroneTortoraToscanoTossireTostaturaTotanoTraboccoTracheaTrafilaTragediaTralcioTramontoTransitoTrapanoTrarreTraslocoTrattatoTraveTrecciaTremolioTrespoloTributoTrichecoTrifoglioTrilloTrinceaTrioTristezzaTrituratoTrivellaTrombaTronoTroppoTrottolaTrovareTruccatoTubaturaTuffatoTulipanoTumultoTunisiaTurbareTurchinoTutaTutelaUbicatoUccelloUccisoreUdireUditivoUffaUfficioUgualeUlisseUltimatoUmanoUmileUmorismoUncinettoUngereUnghereseUnicornoUnificatoUnisonoUnitarioUnteUovoUpupaUraganoUrgenzaUrloUsanzaUsatoUscitoUsignoloUsuraioUtensileUtilizzoUtopiaVacanteVaccinatoVagabondoVagliatoValangaValgoValicoVallettaValorosoValutareValvolaVampataVangareVanitosoVanoVantaggioVanveraVaporeVaranoVarcatoVarianteVascaVedettaVedovaVedutoVegetaleVeicoloVelcroVelinaVellutoVeloceVenatoVendemmiaVentoVeraceVerbaleVergognaVerificaVeroVerrucaVerticaleVescicaVessilloVestaleVeteranoVetrinaVetustoViandanteVibranteVicendaVichingoVicinanzaVidimareVigiliaVignetoVigoreVileVillanoViminiVincitoreViolaViperaVirgolaVirologoVirulentoViscosoVisioneVispoVissutoVisuraVitaVitelloVittimaVivandaVividoViziareVoceVogaVolatileVolereVolpeVoragineVulcanoZampognaZannaZappatoZatteraZavorraZefiroZelanteZeloZenzeroZerbinoZibettoZincoZirconeZittoZollaZoticoZuccheroZufoloZuluZuppa",Gk=null;function gDe(t){if(Gk==null&&(Gk=fJ0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Qre.Wordlist.check(t)!=="0x5c1362d88fd4cf614a96f3234941d29f7d37c08c5292fde03bf62c2db6ff7620"))throw Gk=null,new Error("BIP39 Wordlist for it (Italian) FAILED")}var iJ0=function(t){rJ0(e,t);function e(){return t.call(this,"it")||this}return e.prototype.getWord=function(n){return gDe(this),Gk[n]},e.prototype.getWordIndex=function(n){return gDe(this),Gk.indexOf(n)},e}(Qre.Wordlist),vDe=new iJ0;ET.langIt=vDe;Qre.Wordlist.register(vDe)});var _De=D(X3=>{"use strict";u();p();var sJ0=X3&&X3.__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(X3,"__esModule",{value:!0});X3.langZhTw=X3.langZhCn=void 0;var oJ0=Ai(),Kk=Ou(),Vre="}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 TDe(t){if(_T[t.locale]===null){_T[t.locale]=[];for(var e=0,n=0;n<2048;n++){var a=lJ0.indexOf(Vre[n*3]),r=[228+(a>>2),128+Yre.indexOf(Vre[n*3+1]),128+Yre.indexOf(Vre[n*3+2])];if(t.locale==="zh_tw")for(var f=a%4,i=f;i<3;i++)r[i]=Yre.indexOf(cJ0[e++])+(i==0?228:128);_T[t.locale].push((0,oJ0.toUtf8String)(r))}if(Kk.Wordlist.check(t)!==dJ0[t.locale])throw _T[t.locale]=null,new Error("BIP39 Wordlist for "+t.locale+" (Chinese) FAILED")}}var xDe=function(t){sJ0(e,t);function e(n){return t.call(this,"zh_"+n)||this}return e.prototype.getWord=function(n){return TDe(this),_T[this.locale][n]},e.prototype.getWordIndex=function(n){return TDe(this),_T[this.locale].indexOf(n)},e.prototype.split=function(n){return n=n.replace(/(?:\u3000| )+/g,""),n.split("")},e}(Kk.Wordlist),$re=new xDe("cn");X3.langZhCn=$re;Kk.Wordlist.register($re);Kk.Wordlist.register($re,"zh");var EDe=new xDe("tw");X3.langZhTw=EDe;Kk.Wordlist.register(EDe)});var ADe=D(TH=>{"use strict";u();p();Object.defineProperty(TH,"__esModule",{value:!0});TH.wordlists=void 0;var uJ0=JBe(),pJ0=eDe(),hJ0=fDe(),mJ0=dDe(),bJ0=hDe(),yJ0=yDe(),gJ0=wDe(),Jre=_De();TH.wordlists={cz:uJ0.langCz,en:pJ0.langEn,es:hJ0.langEs,fr:mJ0.langFr,it:gJ0.langIt,ja:bJ0.langJa,ko:yJ0.langKo,zh:Jre.langZhCn,zh_cn:Jre.langZhCn,zh_tw:Jre.langZhTw}});var Xre=D(Z3=>{"use strict";u();p();Object.defineProperty(Z3,"__esModule",{value:!0});Z3.wordlists=Z3.Wordlist=Z3.logger=void 0;var CDe=Ou();Object.defineProperty(Z3,"logger",{enumerable:!0,get:function(){return CDe.logger}});Object.defineProperty(Z3,"Wordlist",{enumerable:!0,get:function(){return CDe.Wordlist}});var vJ0=ADe();Object.defineProperty(Z3,"wordlists",{enumerable:!0,get:function(){return vJ0.wordlists}})});var IDe=D(xH=>{"use strict";u();p();Object.defineProperty(xH,"__esModule",{value:!0});xH.version=void 0;xH.version="hdnode/5.7.0"});var _H=D(Vo=>{"use strict";u();p();Object.defineProperty(Vo,"__esModule",{value:!0});Vo.getAccountPath=Vo.isValidMnemonic=Vo.entropyToMnemonic=Vo.mnemonicToEntropy=Vo.mnemonicToSeed=Vo.HDNode=Vo.defaultPath=void 0;var MDe=cH(),gr=Vt(),BDe=ia(),Qk=Ai(),wJ0=hH(),Qo=Ba(),kDe=Dk(),Uu=y7(),TJ0=Nu(),SDe=Xre(),xJ0=Ft(),EJ0=IDe(),Vk=new xJ0.Logger(EJ0.version),_J0=BDe.BigNumber.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),AJ0=(0,Qk.toUtf8Bytes)("Bitcoin seed"),CT=2147483648;function DDe(t){return(1<=256)throw new Error("Depth too large!");return RDe((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(AT,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&~CT));var a=new Uint8Array(37);if(e&CT){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,Uu.computeHmac)(Uu.SupportedAlgorithm.sha512,this.chainCode,a)),i=f.slice(0,32),s=f.slice(32),o=null,c=null;if(this.privateKey)o=EH(BDe.BigNumber.from(i).add(this.privateKey).mod(_J0));else{var d=new kDe.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(AT,o,c,this.fingerprint,EH(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=CT)throw new Error("invalid path index - "+f);a=a._derive(CT+i)}else if(f.match(/^[0-9]+$/)){var i=parseInt(f);if(i>=CT)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,Uu.computeHmac)(Uu.SupportedAlgorithm.sha512,AJ0,a));return new t(AT,EH(r.slice(0,32)),null,"0x00000000",EH(r.slice(32)),0,0,n)},t.fromMnemonic=function(e,n,a){return a=Zre(a),e=LDe(efe(e,a),a),t._fromSeed(PDe(e,n),{phrase:e,path:"m",locale:a.locale})},t.fromSeed=function(e){return t._fromSeed(e,null)},t.fromExtendedKey=function(e){var n=MDe.Base58.decode(e);(n.length!==82||RDe(n.slice(0,78))!==e)&&Vk.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(AT,null,(0,gr.hexlify)(s),r,i,f,a,null);case"0x0488ade4":case"0x04358394 ":if(s[0]!==0)break;return new t(AT,(0,gr.hexlify)(s.slice(1)),null,r,i,f,a,null)}return Vk.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")},t}();Vo.HDNode=IJ0;function PDe(t,e){e||(e="");var n=(0,Qk.toUtf8Bytes)("mnemonic"+e,Qk.UnicodeNormalizationForm.NFKD);return(0,wJ0.pbkdf2)((0,Qk.toUtf8Bytes)(t,Qk.UnicodeNormalizationForm.NFKD),n,2048,64,"sha512")}Vo.mnemonicToSeed=PDe;function efe(t,e){e=Zre(e),Vk.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=DDe(c),l=(0,gr.arrayify)((0,Uu.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))}Vo.mnemonicToEntropy=efe;function LDe(t,e){if(e=Zre(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,Uu.sha256)(t))[0]&DDe(f);return n[n.length-1]<<=f,n[n.length-1]|=i>>8-f,e.join(n.map(function(s){return e.getWord(s)}))}Vo.entropyToMnemonic=LDe;function kJ0(t,e){try{return efe(t,e),!0}catch{}return!1}Vo.isValidMnemonic=kJ0;function SJ0(t){return(typeof t!="number"||t<0||t>=CT||t%1)&&Vk.throwArgumentError("invalid account index","index",t),"m/44'/60'/"+t+"'/0/0"}Vo.getAccountPath=SJ0});var FDe=D(AH=>{"use strict";u();p();Object.defineProperty(AH,"__esModule",{value:!0});AH.version=void 0;AH.version="random/5.7.0"});var UDe=D(IH=>{"use strict";u();p();Object.defineProperty(IH,"__esModule",{value:!0});IH.randomBytes=void 0;var RJ0=Vt(),ODe=Ft(),MJ0=FDe(),tfe=new ODe.Logger(MJ0.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 NDe=BJ0(),CH=NDe.crypto||NDe.msCrypto;(!CH||!CH.getRandomValues)&&(tfe.warn("WARNING: Missing strong random number source"),CH={getRandomValues:function(t){return tfe.throwError("no secure random source avaialble",ODe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});function DJ0(t){(t<=0||t>1024||t%1||t!=t)&&tfe.throwArgumentError("invalid length","length",t);var e=new Uint8Array(t);return CH.getRandomValues(e),(0,RJ0.arrayify)(e)}IH.randomBytes=DJ0});var HDe=D(kH=>{"use strict";u();p();Object.defineProperty(kH,"__esModule",{value:!0});kH.shuffled=void 0;function PJ0(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}kH.shuffled=PJ0});var Yk=D(IT=>{"use strict";u();p();Object.defineProperty(IT,"__esModule",{value:!0});IT.shuffled=IT.randomBytes=void 0;var LJ0=UDe();Object.defineProperty(IT,"randomBytes",{enumerable:!0,get:function(){return LJ0.randomBytes}});var FJ0=HDe();Object.defineProperty(IT,"shuffled",{enumerable:!0,get:function(){return FJ0.shuffled}})});var afe=D((nfe,zDe)=>{"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},b.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},b.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 b||(B=new b(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(SH,"__esModule",{value:!0});SH.version=void 0;SH.version="json-wallets/5.7.0"});var ffe=D(q5=>{"use strict";u();p();Object.defineProperty(q5,"__esModule",{value:!0});q5.uuidV4=q5.searchPath=q5.getPassword=q5.zpad=q5.looseArrayify=void 0;var RH=Vt(),WDe=Ai();function NJ0(t){return typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),(0,RH.arrayify)(t)}q5.looseArrayify=NJ0;function OJ0(t,e){for(t=String(t);t.length{"use strict";u();p();var WJ0=Hu&&Hu.__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)}}(),qJ0=Hu&&Hu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Hu,"__esModule",{value:!0});Hu.decrypt=Hu.CrowdsaleAccount=void 0;var qDe=qJ0(afe()),jJ0=Po(),jDe=Vt(),GJ0=H1(),KJ0=hH(),QJ0=Ai(),VJ0=Ba(),YJ0=Ft(),$J0=rfe(),JJ0=new YJ0.Logger($J0.version),MH=ffe(),GDe=function(t){WJ0(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isCrowdsaleAccount=function(n){return!!(n&&n._isCrowdsaleAccount)},e}(VJ0.Description);Hu.CrowdsaleAccount=GDe;function XJ0(t,e){var n=JSON.parse(t);e=(0,MH.getPassword)(e);var a=(0,jJ0.getAddress)((0,MH.searchPath)(n,"ethaddr")),r=(0,MH.looseArrayify)((0,MH.searchPath)(n,"encseed"));(!r||r.length%16!==0)&&JJ0.throwArgumentError("invalid encseed","json",t);for(var f=(0,jDe.arrayify)((0,KJ0.pbkdf2)(e,e,2e3,32,"sha256")).slice(0,16),i=r.slice(0,16),s=r.slice(16),o=new qDe.default.ModeOfOperation.cbc(f,i),c=qDe.default.padding.pkcs7.strip((0,jDe.arrayify)(o.decrypt(s))),d="",l=0;l{"use strict";u();p();Object.defineProperty(em,"__esModule",{value:!0});em.getJsonWalletAddress=em.isKeystoreWallet=em.isCrowdsaleWallet=void 0;var QDe=Po();function VDe(t){var e=null;try{e=JSON.parse(t)}catch{return!1}return e.encseed&&e.ethaddr}em.isCrowdsaleWallet=VDe;function YDe(t){var e=null;try{e=JSON.parse(t)}catch{return!1}return!(!e.version||parseInt(e.version)!==e.version||parseInt(e.version)!==3)}em.isKeystoreWallet=YDe;function ZJ0(t){if(VDe(t))try{return(0,QDe.getAddress)(JSON.parse(t).ethaddr)}catch{return null}if(YDe(t))try{return(0,QDe.getAddress)(JSON.parse(t).address)}catch{return null}return null}em.getJsonWalletAddress=ZJ0});var XDe=D((ife,JDe)=>{"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 E=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=((E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10))+(E&g^E&B^g&B)|0,U=ee,ee=q,q=S,S=M+ue|0,M=B,B=g,g=E,E=ue+Y|0;k=k+E|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,b=y.slice(y.length-R,y.length);for(b.push(128),G=R+1;G>>24&255),b.push(T>>>16&255),b.push(T>>>8&255),b.push(T>>>0&255),b.push(N>>>24&255),b.push(N>>>16&255),b.push(N>>>8&255),b.push(N>>>0&255),K(b),[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 ife<"u"?JDe.exports=h:typeof define=="function"&&define.amd?define(h):t&&(t.scrypt&&(t._scrypt=t.scrypt),t.scrypt=h)})(ife)});var oPe=D(_s=>{"use strict";u();p();var eX0=_s&&_s.__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)}}(),tX0=_s&&_s.__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())})},nX0=_s&&_s.__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(Ri,"__esModule",{value:!0});Ri.decryptJsonWalletSync=Ri.decryptJsonWallet=Ri.getJsonWalletAddress=Ri.isKeystoreWallet=Ri.isCrowdsaleWallet=Ri.encryptKeystore=Ri.decryptKeystoreSync=Ri.decryptKeystore=Ri.decryptCrowdsale=void 0;var dfe=KDe();Object.defineProperty(Ri,"decryptCrowdsale",{enumerable:!0,get:function(){return dfe.decrypt}});var T7=$De();Object.defineProperty(Ri,"getJsonWalletAddress",{enumerable:!0,get:function(){return T7.getJsonWalletAddress}});Object.defineProperty(Ri,"isCrowdsaleWallet",{enumerable:!0,get:function(){return T7.isCrowdsaleWallet}});Object.defineProperty(Ri,"isKeystoreWallet",{enumerable:!0,get:function(){return T7.isKeystoreWallet}});var $k=oPe();Object.defineProperty(Ri,"decryptKeystore",{enumerable:!0,get:function(){return $k.decrypt}});Object.defineProperty(Ri,"decryptKeystoreSync",{enumerable:!0,get:function(){return $k.decryptSync}});Object.defineProperty(Ri,"encryptKeystore",{enumerable:!0,get:function(){return $k.encrypt}});function lX0(t,e,n){if((0,T7.isCrowdsaleWallet)(t)){n&&n(0);var a=(0,dfe.decrypt)(t,e);return n&&n(1),Promise.resolve(a)}return(0,T7.isKeystoreWallet)(t)?(0,$k.decrypt)(t,e,n):Promise.reject(new Error("invalid JSON wallet"))}Ri.decryptJsonWallet=lX0;function uX0(t,e){if((0,T7.isCrowdsaleWallet)(t))return(0,dfe.decrypt)(t,e);if((0,T7.isKeystoreWallet)(t))return(0,$k.decryptSync)(t,e);throw new Error("invalid JSON wallet")}Ri.decryptJsonWalletSync=uX0});var cPe=D(DH=>{"use strict";u();p();Object.defineProperty(DH,"__esModule",{value:!0});DH.version=void 0;DH.version="wallet/5.7.0"});var hfe=D(Nc=>{"use strict";u();p();var pX0=Nc&&Nc.__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)}}(),dPe=Nc&&Nc.__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())})},lPe=Nc&&Nc.__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(PH,"__esModule",{value:!0});PH.version=void 0;PH.version="networks/5.7.1"});var mfe=D(NH=>{"use strict";u();p();Object.defineProperty(NH,"__esModule",{value:!0});NH.getNetwork=void 0;var EX0=Ft(),_X0=mPe(),bPe=new EX0.Logger(_X0.version);function AX0(t){return t&&typeof t.renetwork=="function"}function A8(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 A8(n)},e}function FH(t,e){var n=function(a,r){return a.JsonRpcProvider?new a.JsonRpcProvider(t,e):null};return n.renetwork=function(a){return FH(t,a)},n}var yPe={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:A8("homestead")},gPe={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:A8("ropsten")},vPe={chainId:63,name:"classicMordor",_defaultProvider:FH("https://www.ethercluster.com/mordor","classicMordor")},LH={unspecified:{chainId:0,name:"unspecified"},homestead:yPe,mainnet:yPe,morden:{chainId:2,name:"morden"},ropsten:gPe,testnet:gPe,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:A8("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:A8("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:A8("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},sepolia:{chainId:11155111,name:"sepolia",_defaultProvider:A8("sepolia")},classic:{chainId:61,name:"classic",_defaultProvider:FH("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:vPe,classicTestnet:vPe,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:FH("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:A8("matic")},maticmum:{chainId:80001,name:"maticmum"},optimism:{chainId:10,name:"optimism",_defaultProvider:A8("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 LH){var n=LH[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=LH[t];return a==null?null:{name:a.name,chainId:a.chainId,ensAddress:a.ensAddress,_defaultProvider:a._defaultProvider||null}}var r=LH[t.name];if(!r)return typeof t.chainId!="number"&&bPe.throwArgumentError("invalid network chainId","network",t),t;t.chainId!==0&&t.chainId!==r.chainId&&bPe.throwArgumentError("network chainId mismatch","network",t);var f=t._defaultProvider||null;return f==null&&r._defaultProvider&&(AX0(r._defaultProvider)?f=r._defaultProvider.renetwork(t):f=r._defaultProvider),{name:t.name,chainId:r.chainId,ensAddress:t.ensAddress||r.ensAddress||null,_defaultProvider:f}}NH.getNetwork=CX0});var wPe=D(OH=>{"use strict";u();p();Object.defineProperty(OH,"__esModule",{value:!0});OH.version=void 0;OH.version="web/5.7.1"});var TPe=D(nm=>{"use strict";u();p();var IX0=nm&&nm.__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())})},kX0=nm&&nm.__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 MX0=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())})},BX0=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]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;yl.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)&&yl.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&&yl.throwError("basic authentication requires a secure https url",C8.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,xPe.encode)((0,Zk.toUtf8Bytes)(y))}}t.skipFetchSetup!=null&&(c.skipFetchSetup=!!t.skipFetchSetup),t.fetchOptions!=null&&(c.fetchOptions=(0,UH.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,xPe.decode)(k[3]):LX0(k[3])},F=O.body;return n&&(F=n(O.body,O)),Promise.resolve(F)}catch(Q){yl.throwError("processing response error",C8.Logger.errors.SERVER_ERROR,{body:am(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(yl.makeError("timeout",C8.Logger.errors.TIMEOUT,{requestBody:am(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 MX0(this,void 0,void 0,function(){var Q,V,X,b,K,G,R,T,N,w,b,A;return BX0(this,function(P){switch(P.label){case 0:Q=0,P.label=1;case 1:if(!(Q=300)&&(W.cancel(),yl.throwError("bad response",C8.Logger.errors.SERVER_ERROR,{status:V.statusCode,headers:V.headers,body:am(T,V.headers?V.headers["content-type"]:null),requestBody:am(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()})}j5.poll=NX0});var SPe=D((CZn,kPe)=>{"use strict";u();p();var zH="qpzry9x8gf2tvdw0s3jn54khce6mua7l",bfe={};for(eS=0;eS>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 CPe(t){for(var e=1,n=0;n126)return"Invalid prefix ("+t+")";e=RT(e)^a>>5}for(e=RT(e),n=0;nn)throw new TypeError("Exceeds length limit");t=t.toLowerCase();var a=CPe(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=RT(a)^i,r+=zH.charAt(i)}for(f=0;f<6;++f)a=RT(a);for(a^=1,f=0;f<6;++f){var s=a>>(5-f)*5&31;r+=zH.charAt(s)}return r}function IPe(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=CPe(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 UX0(){var t=IPe.apply(null,arguments);if(typeof t=="object")return t}function HX0(t){var e=IPe.apply(null,arguments);if(typeof e=="object")return e;throw new Error(e)}function WH(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(qH,"__esModule",{value:!0});qH.version=void 0;qH.version="providers/5.7.2"});var rm=D(qu=>{"use strict";u();p();Object.defineProperty(qu,"__esModule",{value:!0});qu.showThrottleMessage=qu.isCommunityResource=qu.isCommunityResourcable=qu.Formatter=void 0;var yfe=Po(),k8=ia(),Wu=Vt(),GX0=E3(),KX0=Ba(),RPe=Nu(),QX0=Ft(),VX0=ro(),tS=new QX0.Logger(VX0.version),YX0=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,KX0.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,RPe.accessListify)(e||[])},t.prototype.number=function(e){return e==="0x"?0:k8.BigNumber.from(e).toNumber()},t.prototype.type=function(e){return e==="0x"||e==null?0:k8.BigNumber.from(e).toNumber()},t.prototype.bigNumber=function(e){return k8.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,Wu.isHexString)(e))?e.toLowerCase():tS.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,yfe.getAddress)(e)},t.prototype.callAddress=function(e){if(!(0,Wu.isHexString)(e,32))return null;var n=(0,yfe.getAddress)((0,Wu.hexDataSlice)(e,12));return n===GX0.AddressZero?null:n},t.prototype.contractAddress=function(e){return(0,yfe.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,Wu.isHexString)(e))return(0,Wu.hexValue)(e);throw new Error("invalid blockTag")},t.prototype.hash=function(e,n){var a=this.hex(e,n);return(0,Wu.hexDataLength)(a)!==32?tS.throwArgumentError("invalid hash","value",e):a},t.prototype.difficulty=function(e){if(e==null)return null;var n=k8.BigNumber.from(e);try{return n.toNumber()}catch{}return null},t.prototype.uint256=function(e){if(!(0,Wu.isHexString)(e))throw new Error("invalid uint256");return(0,Wu.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:k8.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&&k8.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,Wu.isHexString)(a)&&(a=k8.BigNumber.from(a).toNumber()),n.chainId=a}else{var a=e.networkId;a==null&&n.v==null&&(a=e.chainId),(0,Wu.isHexString)(a)&&(a=k8.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,RPe.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=k8.BigNumber.from(n.root).toNumber();a===0||a===1?(n.status!=null&&n.status!==a&&tS.throwArgumentError("alt-root-status/status mismatch","value",{root:n.root,status:n.status}),n.status=a,delete n.root):tS.throwArgumentError("invalid alt-root-status","value.root",n.root)}else n.root.length!==66&&tS.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}();qu.Formatter=YX0;function BPe(t){return t&&typeof t.isCommunityResource=="function"}qu.isCommunityResourcable=BPe;function $X0(t){return BPe(t)&&t.isCommunityResource()}qu.isCommunityResource=$X0;var MPe=!1;function JX0(){MPe||(MPe=!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("=========================="))}qu.showThrottleMessage=JX0});var fS=D($o=>{"use strict";u();p();var XX0=$o&&$o.__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=$o&&$o.__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=$o&&$o.__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[FPe(r)]=!0});var a=Object.keys(n);return a.sort(),a.join("|")}else return FPe(e)}).join("&")}function fZ0(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 MT(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:*:"+NPe(t);if(WPe.ForkEvent.isForkEvent(t))throw Hn.warn("not implemented"),new Error("not implemented");if(t&&typeof t=="object")return"filter:"+(t.address||"*")+":"+NPe(t.topics||[])}throw new Error("invalid event - "+t)}function nS(){return new Date().getTime()}function OPe(t){return new Promise(function(e){setTimeout(e,t)})}var iZ0=["block","network","pending","poll"],qPe=function(){function t(e,n,a){(0,mi.defineReadOnly)(this,"tag",e),(0,mi.defineReadOnly)(this,"listener",n),(0,mi.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=fZ0(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||iZ0.indexOf(this.tag)>=0},t}();$o.Event=qPe;var sZ0={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 gfe(t){return(0,jt.hexZeroPad)(Yo.BigNumber.from(t).toHexString(),32)}function UPe(t){return Tfe.Base58.encode((0,jt.concat)([t,(0,jt.hexDataSlice)((0,DPe.sha256)((0,DPe.sha256)(t)),0,4)]))}var jPe=new RegExp("^(ipfs)://(.*)$","i"),HPe=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),jPe,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function jH(t,e){try{return(0,xfe.toUtf8String)(rS(t,e))}catch{}return null}function rS(t,e){if(t==="0x")return null;var n=Yo.BigNumber.from((0,jt.hexDataSlice)(t,e,e+32)).toNumber(),a=Yo.BigNumber.from((0,jt.hexDataSlice)(t,n,n+32)).toNumber();return(0,jt.hexDataSlice)(t,n+32,n+32+a)}function vfe(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 zPe(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 oZ0(t){if(t.length%32===0)return t;var e=new Uint8Array(Math.ceil(t.length/32)*32);return e.set(t),e}function GPe(t){for(var e=[],n=0,a=0;a=1&&i<=75)return UPe((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 UPe((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=PPe.default.toWords(r.slice(2));return l.unshift(d),PPe.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===tZ0.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",gfe(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,BT.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(),nS()-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=nS(),s=(0,mi.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=nS();return l=Yo.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,OPe(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=nS();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,Yo.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,mi.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,Yo.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,mi.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,Yo.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,mi.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,mi.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?Yo.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,mi.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,mi.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>=rZ0&&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),Yo.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=Yo.BigNumber.from((0,jt.hexDataSlice)(s,32,64)).toNumber(),l=Yo.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 qPe(MT(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 Cfe=G5&&G5.__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)}}(),S8=G5&&G5.__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())})},R8=G5&&G5.__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/)&&Mi.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",Xi.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:a}),e}function VPe(t){return new Promise(function(e){setTimeout(e,t)})}function bZ0(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 iS(t){return t&&t.toLowerCase()}var Afe={},Ife=function(t){Cfe(e,t);function e(n,a,r){var f=t.call(this)||this;if(n!==Afe)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");return(0,bi.defineReadOnly)(f,"provider",a),r==null&&(r=0),typeof r=="string"?((0,bi.defineReadOnly)(f,"_address",f.provider.formatter.address(r)),(0,bi.defineReadOnly)(f,"_index",null)):typeof r=="number"?((0,bi.defineReadOnly)(f,"_index",r),(0,bi.defineReadOnly)(f,"_address",null)):Mi.throwArgumentError("invalid address or index","addressOrIndex",r),f}return e.prototype.connect=function(n){return Mi.throwError("cannot alter JSON-RPC Signer connection",Xi.Logger.errors.UNSUPPORTED_OPERATION,{operation:"connect"})},e.prototype.connectUnchecked=function(){return new yZ0(Afe,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&&Mi.throwError("unknown account #"+n._index,Xi.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),n.provider.formatter.address(a[n._index])})},e.prototype.sendUncheckedTransaction=function(n){var a=this;n=(0,bi.shallowCopy)(n);var r=this.getAddress().then(function(i){return i&&(i=i.toLowerCase()),i});if(n.gasLimit==null){var f=(0,bi.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 S8(a,void 0,void 0,function(){var s;return R8(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&&Mi.throwArgumentError("provided ENS name resolves to null","tx.to",i),[2,s]}})})})),(0,bi.resolveProperties)({tx:(0,bi.resolveProperties)(n),sender:r}).then(function(i){var s=i.tx,o=i.sender;s.from!=null?s.from.toLowerCase()!==o&&Mi.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)&&Mi.throwError("user rejected transaction",Xi.Logger.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:s}),$Pe("sendTransaction",d,c)})})},e.prototype.signTransaction=function(n){return Mi.throwError("signing transactions is unsupported",Xi.Logger.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})},e.prototype.sendTransaction=function(n){return S8(this,void 0,void 0,function(){var a,r,f,i=this;return R8(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,YPe.poll)(function(){return S8(i,void 0,void 0,function(){var o;return R8(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 S8(this,void 0,void 0,function(){var a,r,f;return R8(this,function(i){switch(i.label){case 0:return a=typeof n=="string"?(0,QPe.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,DT.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)&&Mi.throwError("user rejected signing",Xi.Logger.errors.ACTION_REJECTED,{action:"signMessage",from:r,messageData:n}),f;case 5:return[2]}})})},e.prototype._legacySignMessage=function(n){return S8(this,void 0,void 0,function(){var a,r,f;return R8(this,function(i){switch(i.label){case 0:return a=typeof n=="string"?(0,QPe.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,DT.hexlify)(a)])];case 3:return[2,i.sent()];case 4:throw f=i.sent(),typeof f.message=="string"&&f.message.match(/user denied/i)&&Mi.throwError("user rejected signing",Xi.Logger.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:r,messageData:n}),f;case 5:return[2]}})})},e.prototype._signTypedData=function(n,a,r){return S8(this,void 0,void 0,function(){var f,i,s,o=this;return R8(this,function(c){switch(c.label){case 0:return[4,KPe._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(KPe._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)&&Mi.throwError("user rejected signing",Xi.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 S8(this,void 0,void 0,function(){var a,r;return R8(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}(lZ0.Signer);G5.JsonRpcSigner=Ife;var yZ0=function(t){Cfe(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}(Ife),gZ0={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0},vZ0=function(t){Cfe(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,bi.getStatic)(r.constructor,"defaultUrl")()),typeof n=="string"?(0,bi.defineReadOnly)(r,"connection",Object.freeze({url:n})):(0,bi.defineReadOnly)(r,"connection",Object.freeze((0,bi.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 S8(this,void 0,void 0,function(){var n,a,r,f;return R8(this,function(i){switch(i.label){case 0:return[4,VPe(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,bi.getStatic)(this.constructor,"getNetwork");try{return[2,f(_fe.BigNumber.from(n).toNumber())]}catch(s){return[2,Mi.throwError("could not detect network",Xi.Logger.errors.NETWORK_ERROR,{chainId:n,event:"invalidNetwork",serverError:s})]}}return[2,Mi.throwError("could not detect network",Xi.Logger.errors.NETWORK_ERROR,{event:"noNetwork"})]}})})},e.prototype.getSigner=function(n){return new Ife(Afe,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,bi.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,YPe.fetchJson)(this.connection,JSON.stringify(f),bZ0).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",[iS(a.address),a.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[iS(a.address),a.blockTag]];case"getCode":return["eth_getCode",[iS(a.address),a.blockTag]];case"getStorageAt":return["eth_getStorageAt",[iS(a.address),(0,DT.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,bi.getStatic)(this.constructor,"hexlifyTransaction");return["eth_call",[r(a.transaction,{from:!0}),a.blockTag]]}case"estimateGas":{var r=(0,bi.getStatic)(this.constructor,"hexlifyTransaction");return["eth_estimateGas",[r(a.transaction,{from:!0})]]}case"getLogs":return a.filter&&a.filter.address!=null&&(a.filter.address=iS(a.filter.address)),["eth_getLogs",[a.filter]];default:break}return null},e.prototype.perform=function(n,a){return S8(this,void 0,void 0,function(){var r,f,i,s;return R8(this,function(o){switch(o.label){case 0:return n==="call"||n==="estimateGas"?(r=a.transaction,r&&r.type!=null&&_fe.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,bi.shallowCopy)(a),a.transaction=(0,bi.shallowCopy)(r),delete a.transaction.type),o.label=2;case 2:i=this.prepareRequest(n,a),i==null&&Mi.throwError(n+" not implemented",Xi.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,$Pe(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 VPe(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,bi.shallowCopy)(gZ0);if(a)for(var f in a)a[f]&&(r[f]=!0);(0,bi.checkProperties)(n,r);var i={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach(function(s){if(n[s]!=null){var o=(0,DT.hexValue)(_fe.BigNumber.from(n[s]));s==="gasLimit"&&(s="gas"),i[s]=o}}),["from","to","data"].forEach(function(s){n[s]!=null&&(i[s]=(0,DT.hexlify)(n[s]))}),n.accessList&&(i.accessList=(0,uZ0.accessListify)(n.accessList)),i},e}(hZ0.BaseProvider);G5.JsonRpcProvider=vZ0});var ZPe=D(LT=>{"use strict";u();p();Object.defineProperty(LT,"__esModule",{value:!0});LT.WebSocket=void 0;var JPe=Ft(),wZ0=ro(),GH=null;LT.WebSocket=GH;try{if(LT.WebSocket=GH=WebSocket,GH==null)throw new Error("inject please")}catch{XPe=new JPe.Logger(wZ0.version),LT.WebSocket=GH=function(){XPe.throwError("WebSockets not supported in this environment",JPe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new WebSocket()"})}}var XPe});var QH=D(ju=>{"use strict";u();p();var TZ0=ju&&ju.__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)}}(),kfe=ju&&ju.__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())})},Sfe=ju&&ju.__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 tLe=K5&&K5.__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)}}(),IZ0=K5&&K5.__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())})},kZ0=K5&&K5.__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 rLe=sm&&sm.__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(sm,"__esModule",{value:!0});sm.AlchemyProvider=sm.AlchemyWebSocketProvider=void 0;var BZ0=Ba(),DZ0=rm(),PZ0=QH(),LZ0=Ft(),FZ0=ro(),aLe=new LZ0.Logger(FZ0.version),NZ0=im(),YH="_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC",fLe=function(t){rLe(e,t);function e(n,a){var r=this,f=new iLe(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===YH},e}(PZ0.WebSocketProvider);sm.AlchemyWebSocketProvider=fLe;var iLe=function(t){rLe(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getWebSocketProvider=function(n,a){return new fLe(n,a)},e.getApiKey=function(n){return n==null?YH:(n&&typeof n!="string"&&aLe.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:aLe.throwArgumentError("unsupported network","network",arguments[0])}return{allowGzip:!0,url:"https://"+r+a,throttleCallback:function(f,i){return a===YH&&(0,DZ0.showThrottleMessage)(),Promise.resolve(!0)}}},e.prototype.isCommunityResource=function(){return this.apiKey===YH},e}(NZ0.UrlJsonRpcProvider);sm.AlchemyProvider=iLe});var oLe=D(NT=>{"use strict";u();p();var OZ0=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.AnkrProvider=void 0;var UZ0=rm(),HZ0=im(),zZ0=Ft(),WZ0=ro(),qZ0=new zZ0.Logger(WZ0.version),$H="9f7d929b018cdffb338517efa06f58359e86ff1ffd350bc889738523659e7972";function jZ0(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 qZ0.throwArgumentError("unsupported network","name",t)}var GZ0=function(t){OZ0(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isCommunityResource=function(){return this.apiKey===$H},e.getApiKey=function(n){return n??$H},e.getUrl=function(n,a){a==null&&(a=$H);var r={allowGzip:!0,url:"https://"+jZ0(n.name)+a,throttleCallback:function(f,i){return a.apiKey===$H&&(0,UZ0.showThrottleMessage)(),Promise.resolve(!0)}};return a.projectSecret!=null&&(r.user="",r.password=a.projectSecret),r},e}(HZ0.UrlJsonRpcProvider);NT.AnkrProvider=GZ0});var dLe=D(Gu=>{"use strict";u();p();var KZ0=Gu&&Gu.__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)}}(),QZ0=Gu&&Gu.__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())})},VZ0=Gu&&Gu.__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 ZZ0=Qu&&Qu.__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)}}(),JH=Qu&&Qu.__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())})},XH=Qu&&Qu.__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 uLe(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 pLe(t){if(t==="pending")throw new Error("pending not supported");return t==="latest"?t:parseInt(t.substring(2),16)}function Mfe(t,e,n){if(t==="call"&&e.code===Ku.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,ZH.isHexString)(r))return r;om.throwError("missing revert data in call exception",Ku.Logger.errors.CALL_EXCEPTION,{error:e,data:"0x"})}}var f=e.message;throw e.code===Ku.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/)&&om.throwError("insufficient funds for intrinsic transaction cost",Ku.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/)&&om.throwError("nonce has already been used",Ku.Logger.errors.NONCE_EXPIRED,{error:e,method:t,transaction:n}),f.match(/another transaction with same nonce/)&&om.throwError("replacement fee too low",Ku.Logger.errors.REPLACEMENT_UNDERPRICED,{error:e,method:t,transaction:n}),f.match(/execution failed due to an exception|execution reverted/)&&om.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",Ku.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:n}),e}var iet=function(t){ZZ0(e,t);function e(n,a){var r=t.call(this,n)||this;return(0,Rfe.defineReadOnly)(r,"baseUrl",r.getBaseUrl()),(0,Rfe.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 om.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 JH(this,void 0,void 0,function(){var f,i,s,o,c,d,l=this;return XH(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"?uLe:fet,this.emit("debug",{action:"request",request:f,provider:this}),o={url:f,throttleSlotInterval:1e3,throttleCallback:function(y,v){return l.isCommunityResource()&&(0,net.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,tet.fetchJson)(o,c,s||uLe)];case 1:return d=h.sent(),this.emit("debug",{action:"response",request:f,response:(0,Rfe.deepCopy)(d),provider:this}),[2,d]}})})},e.prototype.detectNetwork=function(){return JH(this,void 0,void 0,function(){return XH(this,function(n){return[2,this.network]})})},e.prototype.perform=function(n,a){return JH(this,void 0,void 0,function(){var r,i,f,i,s,o,c,d,l,h,y,v,k;return XH(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 Mfe("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=lLe(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,Mfe("call",f,a.transaction)];case 15:i=lLe(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,Mfe("estimateGas",s,a.transaction)];case 19:return o={action:"getLogs"},a.filter.fromBlock&&(o.fromBlock=pLe(a.filter.fromBlock)),a.filter.toBlock&&(o.toBlock=pLe(a.filter.toBlock)),a.filter.address&&(o.address=a.filter.address),a.filter.topics&&a.filter.topics.length>0&&(a.filter.topics.length>1&&om.throwError("unsupported topic count",Ku.Logger.errors.UNSUPPORTED_OPERATION,{topics:a.filter.topics}),a.filter.topics.length===1&&(c=a.filter.topics[0],(typeof c!="string"||c.length!==66)&&om.throwError("unsupported topic format",Ku.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 set=Yu&&Yu.__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)}}(),nz=Yu&&Yu.__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())})},lS=Yu&&Yu.__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 UT(t){if(t===null)return"null";if(typeof t=="number"||typeof t=="boolean")return JSON.stringify(t);if(typeof t=="string")return t;if(cet.BigNumber.isBigNumber(t))return t.toString();if(Array.isArray(t))return JSON.stringify(t.map(function(n){return UT(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=UT(a),JSON.stringify(n)+":"+a}).join(",")+"}"}throw new Error("unknown value type: "+typeof t)}var met=1;function gLe(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 bet=[cm.Logger.errors.CALL_EXCEPTION,cm.Logger.errors.INSUFFICIENT_FUNDS,cm.Logger.errors.NONCE_EXPIRED,cm.Logger.errors.REPLACEMENT_UNDERPRICED,cm.Logger.errors.UNPREDICTABLE_GAS_LIMIT],yet=["address","args","errorArgs","errorSignature","method","transaction"];function tz(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 get(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 vet(t,e,n){var a=UT;switch(e){case"getBlockNumber":return function(r){var f=r.map(function(s){return s.result}),i=yLe(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 yLe(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,Vu.shallowCopy)(r),r.confirmations=-1,UT(r))};break;case"getBlock":n.includeTransactions?a=function(r){return r==null?null:(r=(0,Vu.shallowCopy)(r),r.transactions=r.transactions.map(function(f){return f=(0,Vu.shallowCopy)(f),f.confirmations=-1,f}),UT(r))}:a=function(r){return r==null?null:UT(r)};break;default:throw new Error("unknown method: "+e)}return get(a,t.quorum)}function dS(t,e){return nz(this,void 0,void 0,function(){var n;return lS(this,function(a){return n=t.provider,n.blockNumber!=null&&n.blockNumber>=e||e===-1?[2,n]:[2,(0,uet.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 wet(t,e,n,a){return nz(this,void 0,void 0,function(){var r,f,i;return lS(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,OT.isHexString)(a.blockTag)?[4,dS(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,OT.isHexString)(a.blockTag)?[4,dS(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,OT.isHexString)(a.blockTag)?[4,dS(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,OT.isHexString)(a.blockTag)?[4,dS(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,OT.isHexString)(i.fromBlock)||i.toBlock&&(0,OT.isHexString)(i.toBlock)?[4,dS(t,e)]:[3,18];case 17:r=s.sent(),s.label=18;case 18:return[2,r.getLogs(i)];case 19:return[2,E7.throwError("unknown method error",cm.Logger.errors.UNKNOWN_ERROR,{method:n,params:a})]}})})}var Tet=function(t){set(e,t);function e(n,a){var r=this;n.length===0&&E7.throwArgumentError("missing providers","providers",n);var f=n.map(function(o,c){if(oet.Provider.isProvider(o)){var d=(0,mLe.isCommunityResource)(o)?2e3:750,l=1;return Object.freeze({provider:o,weight:1,stallTimeout:d,priority:l})}var h=(0,Vu.shallowCopy)(o);h.priority==null&&(h.priority=1),h.stallTimeout==null&&(h.stallTimeout=(0,mLe.isCommunityResource)(o)?2e3:750),h.weight==null&&(h.weight=1);var y=h.weight;return(y%1||y>512||y<1)&&E7.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&&E7.throwArgumentError("quorum will always fail; larger than total weight","quorum",a);var s=bLe(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,Vu.defineReadOnly)(r,"providerConfigs",Object.freeze(f)),(0,Vu.defineReadOnly)(r,"quorum",a),r._highestBlockNumber=-1,r}return e.prototype.detectNetwork=function(){return nz(this,void 0,void 0,function(){var n;return lS(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,bLe(n)]}})})},e.prototype.perform=function(n,a){return nz(this,void 0,void 0,function(){var r,f,i,s,o,c,d,l,h,y,v,k=this;return lS(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,gLe(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 bet.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(az,"__esModule",{value:!0});az.IpcProvider=void 0;var xet=null;az.IpcProvider=xet});var _Le=D(dm=>{"use strict";u();p();var TLe=dm&&dm.__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(dm,"__esModule",{value:!0});dm.InfuraProvider=dm.InfuraWebSocketProvider=void 0;var Bfe=Ba(),Eet=QH(),_et=rm(),Dfe=Ft(),Aet=ro(),rz=new Dfe.Logger(Aet.version),Cet=im(),uS="84842078b09946638c03157f83405213",xLe=function(t){TLe(e,t);function e(n,a){var r=this,f=new ELe(n,a),i=f.connection;i.password&&rz.throwError("INFURA WebSocket project secrets unsupported",Dfe.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,Bfe.defineReadOnly)(r,"apiKey",f.projectId),(0,Bfe.defineReadOnly)(r,"projectId",f.projectId),(0,Bfe.defineReadOnly)(r,"projectSecret",f.projectSecret),r}return e.prototype.isCommunityResource=function(){return this.projectId===uS},e}(Eet.WebSocketProvider);dm.InfuraWebSocketProvider=xLe;var ELe=function(t){TLe(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getWebSocketProvider=function(n,a){return new xLe(n,a)},e.getApiKey=function(n){var a={apiKey:uS,projectId:uS,projectSecret:null};return n==null||(typeof n=="string"?a.projectId=n:n.projectSecret!=null?(rz.assertArgument(typeof n.projectId=="string","projectSecret requires a projectId","projectId",n.projectId),rz.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:rz.throwError("unsupported network",Dfe.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===uS&&(0,_et.showThrottleMessage)(),Promise.resolve(!0)}};return a.projectSecret!=null&&(f.user="",f.password=a.projectSecret),f},e.prototype.isCommunityResource=function(){return this.projectId===uS},e}(Cet.UrlJsonRpcProvider);dm.InfuraProvider=ELe});var ALe=D(HT=>{"use strict";u();p();var Iet=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.JsonRpcBatchProvider=void 0;var ket=Ba(),Ret=I8(),Met=PT(),Bet=function(t){Iet(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,ket.deepCopy)(c),provider:r}),(0,Ret.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}(Met.JsonRpcProvider);HT.JsonRpcBatchProvider=Bet});var CLe=D(zT=>{"use strict";u();p();var Det=zT&&zT.__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(zT,"__esModule",{value:!0});zT.NodesmithProvider=void 0;var Pet=im(),Let=Ft(),Fet=ro(),Pfe=new Let.Logger(Fet.version),Net="ETHERS_JS_SHARED",Oet=function(t){Det(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getApiKey=function(n){return n&&typeof n!="string"&&Pfe.throwArgumentError("invalid apiKey","apiKey",n),n||Net},e.getUrl=function(n,a){Pfe.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:Pfe.throwArgumentError("unsupported network","network",arguments[0])}return r+"?apiKey="+a},e}(Pet.UrlJsonRpcProvider);zT.NodesmithProvider=Oet});var RLe=D(WT=>{"use strict";u();p();var Uet=WT&&WT.__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(WT,"__esModule",{value:!0});WT.PocketProvider=void 0;var SLe=Ft(),Het=ro(),ILe=new SLe.Logger(Het.version),zet=im(),kLe="62e1ad51b37b8e00394bda3b",Wet=function(t){Uet(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=kLe:typeof n=="string"?a.applicationId=n:n.applicationSecretKey!=null?(a.applicationId=n.applicationId,a.applicationSecretKey=n.applicationSecretKey):n.applicationId?a.applicationId=n.applicationId:ILe.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:ILe.throwError("unsupported network",SLe.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===kLe},e}(zet.UrlJsonRpcProvider);WT.PocketProvider=Wet});var DLe=D(qT=>{"use strict";u();p();var qet=qT&&qT.__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(qT,"__esModule",{value:!0});qT.Web3Provider=void 0;var fz=Ba(),jet=Ft(),Get=ro(),MLe=new jet.Logger(Get.version),Ket=PT(),Qet=1;function BLe(t,e){var n="Web3LegacyFetcher";return function(a,r){var f=this,i={method:a,params:r,id:Qet++,jsonrpc:"2.0"};return new Promise(function(s,o){f.emit("debug",{action:"request",fetcher:n,request:(0,fz.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 Vet(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,fz.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 Yet=function(t){qet(e,t);function e(n,a){var r=this;n==null&&MLe.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=Vet(n)):n.sendAsync?i=BLe(n,n.sendAsync.bind(n)):n.send?i=BLe(n,n.send.bind(n)):MLe.throwArgumentError("unsupported provider","provider",n),f||(f="unknown:")),r=t.call(this,f,a)||this,(0,fz.defineReadOnly)(r,"jsonRpcFetchFunc",i),(0,fz.defineReadOnly)(r,"provider",s),r}return e.prototype.send=function(n,a){return this.jsonRpcFetchFunc(n,a)},e}(Ket.JsonRpcProvider);qT.Web3Provider=Yet});var oz=D(bt=>{"use strict";u();p();Object.defineProperty(bt,"__esModule",{value:!0});bt.Formatter=bt.showThrottleMessage=bt.isCommunityResourcable=bt.isCommunityResource=bt.getNetwork=bt.getDefaultProvider=bt.JsonRpcSigner=bt.IpcProvider=bt.WebSocketProvider=bt.Web3Provider=bt.StaticJsonRpcProvider=bt.PocketProvider=bt.NodesmithProvider=bt.JsonRpcBatchProvider=bt.JsonRpcProvider=bt.InfuraWebSocketProvider=bt.InfuraProvider=bt.EtherscanProvider=bt.CloudflareProvider=bt.AnkrProvider=bt.AlchemyWebSocketProvider=bt.AlchemyProvider=bt.FallbackProvider=bt.UrlJsonRpcProvider=bt.Resolver=bt.BaseProvider=bt.Provider=void 0;var $et=C3();Object.defineProperty(bt,"Provider",{enumerable:!0,get:function(){return $et.Provider}});var LLe=mfe();Object.defineProperty(bt,"getNetwork",{enumerable:!0,get:function(){return LLe.getNetwork}});var FLe=fS();Object.defineProperty(bt,"BaseProvider",{enumerable:!0,get:function(){return FLe.BaseProvider}});Object.defineProperty(bt,"Resolver",{enumerable:!0,get:function(){return FLe.Resolver}});var Lfe=sLe();Object.defineProperty(bt,"AlchemyProvider",{enumerable:!0,get:function(){return Lfe.AlchemyProvider}});Object.defineProperty(bt,"AlchemyWebSocketProvider",{enumerable:!0,get:function(){return Lfe.AlchemyWebSocketProvider}});var NLe=oLe();Object.defineProperty(bt,"AnkrProvider",{enumerable:!0,get:function(){return NLe.AnkrProvider}});var OLe=dLe();Object.defineProperty(bt,"CloudflareProvider",{enumerable:!0,get:function(){return OLe.CloudflareProvider}});var ULe=hLe();Object.defineProperty(bt,"EtherscanProvider",{enumerable:!0,get:function(){return ULe.EtherscanProvider}});var HLe=vLe();Object.defineProperty(bt,"FallbackProvider",{enumerable:!0,get:function(){return HLe.FallbackProvider}});var zLe=wLe();Object.defineProperty(bt,"IpcProvider",{enumerable:!0,get:function(){return zLe.IpcProvider}});var Ffe=_Le();Object.defineProperty(bt,"InfuraProvider",{enumerable:!0,get:function(){return Ffe.InfuraProvider}});Object.defineProperty(bt,"InfuraWebSocketProvider",{enumerable:!0,get:function(){return Ffe.InfuraWebSocketProvider}});var iz=PT();Object.defineProperty(bt,"JsonRpcProvider",{enumerable:!0,get:function(){return iz.JsonRpcProvider}});Object.defineProperty(bt,"JsonRpcSigner",{enumerable:!0,get:function(){return iz.JsonRpcSigner}});var Jet=ALe();Object.defineProperty(bt,"JsonRpcBatchProvider",{enumerable:!0,get:function(){return Jet.JsonRpcBatchProvider}});var WLe=CLe();Object.defineProperty(bt,"NodesmithProvider",{enumerable:!0,get:function(){return WLe.NodesmithProvider}});var qLe=RLe();Object.defineProperty(bt,"PocketProvider",{enumerable:!0,get:function(){return qLe.PocketProvider}});var jLe=im();Object.defineProperty(bt,"StaticJsonRpcProvider",{enumerable:!0,get:function(){return jLe.StaticJsonRpcProvider}});Object.defineProperty(bt,"UrlJsonRpcProvider",{enumerable:!0,get:function(){return jLe.UrlJsonRpcProvider}});var GLe=DLe();Object.defineProperty(bt,"Web3Provider",{enumerable:!0,get:function(){return GLe.Web3Provider}});var KLe=QH();Object.defineProperty(bt,"WebSocketProvider",{enumerable:!0,get:function(){return KLe.WebSocketProvider}});var sz=rm();Object.defineProperty(bt,"Formatter",{enumerable:!0,get:function(){return sz.Formatter}});Object.defineProperty(bt,"isCommunityResourcable",{enumerable:!0,get:function(){return sz.isCommunityResourcable}});Object.defineProperty(bt,"isCommunityResource",{enumerable:!0,get:function(){return sz.isCommunityResource}});Object.defineProperty(bt,"showThrottleMessage",{enumerable:!0,get:function(){return sz.showThrottleMessage}});var QLe=Ft(),Xet=ro(),PLe=new QLe.Logger(Xet.version);function Zet(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 iz.JsonRpcProvider(t);case"ws":case"wss":return new KLe.WebSocketProvider(t);default:PLe.throwArgumentError("unsupported URL scheme","network",t)}}var a=(0,LLe.getNetwork)(t);return(!a||!a._defaultProvider)&&PLe.throwError("unsupported getDefaultProvider network",QLe.Logger.errors.NETWORK_ERROR,{operation:"getDefaultProvider",network:t}),a._defaultProvider({FallbackProvider:HLe.FallbackProvider,AlchemyProvider:Lfe.AlchemyProvider,AnkrProvider:NLe.AnkrProvider,CloudflareProvider:OLe.CloudflareProvider,EtherscanProvider:ULe.EtherscanProvider,InfuraProvider:Ffe.InfuraProvider,JsonRpcProvider:iz.JsonRpcProvider,NodesmithProvider:WLe.NodesmithProvider,PocketProvider:qLe.PocketProvider,Web3Provider:GLe.Web3Provider,IpcProvider:zLe.IpcProvider},e)}bt.getDefaultProvider=Zet});var VLe=D(cz=>{"use strict";u();p();Object.defineProperty(cz,"__esModule",{value:!0});cz.version=void 0;cz.version="solidity/5.7.0"});var Ofe=D(lm=>{"use strict";u();p();Object.defineProperty(lm,"__esModule",{value:!0});lm.sha256=lm.keccak256=lm.pack=void 0;var e0t=ia(),gl=Vt(),t0t=H1(),n0t=y7(),a0t=Ai(),r0t=new RegExp("^bytes([0-9]+)$"),f0t=new RegExp("^(u?int)([0-9]*)$"),i0t=new RegExp("^(.*)\\[([0-9]*)\\]$"),s0t="0000000000000000000000000000000000000000000000000000000000000000",o0t=Ft(),c0t=VLe(),jT=new o0t.Logger(c0t.version);function YLe(t,e,n){switch(t){case"address":return n?(0,gl.zeroPad)(e,32):(0,gl.arrayify)(e);case"string":return(0,a0t.toUtf8Bytes)(e);case"bytes":return(0,gl.arrayify)(e);case"bool":return e=e?"0x01":"0x00",n?(0,gl.zeroPad)(e,32):(0,gl.arrayify)(e)}var a=t.match(f0t);if(a){var r=parseInt(a[2]||"256");return(a[2]&&String(r)!==a[2]||r%8!==0||r===0||r>256)&&jT.throwArgumentError("invalid number type","type",t),n&&(r=256),e=e0t.BigNumber.from(e).toTwos(r),(0,gl.zeroPad)(e,r/8)}if(a=t.match(r0t),a){var r=parseInt(a[1]);return(String(r)!==a[1]||r===0||r>32)&&jT.throwArgumentError("invalid bytes type","type",t),(0,gl.arrayify)(e).byteLength!==r&&jT.throwArgumentError("invalid value for "+t,"value",e),n?(0,gl.arrayify)((e+s0t).substring(0,66)):e}if(a=t.match(i0t),a&&Array.isArray(e)){var f=a[1],i=parseInt(a[2]||String(e.length));i!=e.length&&jT.throwArgumentError("invalid array length for "+t,"value",e);var s=[];return e.forEach(function(o){s.push(YLe(f,o,!0))}),(0,gl.concat)(s)}return jT.throwArgumentError("invalid type","type",t)}function Nfe(t,e){t.length!=e.length&&jT.throwArgumentError("wrong number of values; expected ${ types.length }","values",e);var n=[];return t.forEach(function(a,r){n.push(YLe(a,e[r]))}),(0,gl.hexlify)((0,gl.concat)(n))}lm.pack=Nfe;function d0t(t,e){return(0,t0t.keccak256)(Nfe(t,e))}lm.keccak256=d0t;function l0t(t,e){return(0,n0t.sha256)(Nfe(t,e))}lm.sha256=l0t});var $Le=D(dz=>{"use strict";u();p();Object.defineProperty(dz,"__esModule",{value:!0});dz.version=void 0;dz.version="units/5.7.0"});var nFe=D(Q5=>{"use strict";u();p();Object.defineProperty(Q5,"__esModule",{value:!0});Q5.parseEther=Q5.formatEther=Q5.parseUnits=Q5.formatUnits=Q5.commify=void 0;var JLe=ia(),u0t=Ft(),p0t=$Le(),XLe=new u0t.Logger(p0t.version),ZLe=["wei","kwei","mwei","gwei","szabo","finney","ether"];function h0t(t){var e=String(t).split(".");(e.length>2||!e[0].match(/^-?[0-9]*$/)||e[1]&&!e[1].match(/^[0-9]*$/)||t==="."||t==="-.")&&XLe.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}Q5.commify=h0t;function eFe(t,e){if(typeof e=="string"){var n=ZLe.indexOf(e);n!==-1&&(e=3*n)}return(0,JLe.formatFixed)(t,e??18)}Q5.formatUnits=eFe;function tFe(t,e){if(typeof t!="string"&&XLe.throwArgumentError("value must be a string","value",t),typeof e=="string"){var n=ZLe.indexOf(e);n!==-1&&(e=3*n)}return(0,JLe.parseFixed)(t,e??18)}Q5.parseUnits=tFe;function m0t(t){return eFe(t,18)}Q5.formatEther=m0t;function b0t(t){return tFe(t,18)}Q5.parseEther=b0t});var A7=D(ke=>{"use strict";u();p();var y0t=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]}),g0t=ke&&ke.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),aFe=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)&&y0t(e,t,n);return g0t(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 Oc=vw();Object.defineProperty(ke,"AbiCoder",{enumerable:!0,get:function(){return Oc.AbiCoder}});Object.defineProperty(ke,"checkResultErrors",{enumerable:!0,get:function(){return Oc.checkResultErrors}});Object.defineProperty(ke,"ConstructorFragment",{enumerable:!0,get:function(){return Oc.ConstructorFragment}});Object.defineProperty(ke,"defaultAbiCoder",{enumerable:!0,get:function(){return Oc.defaultAbiCoder}});Object.defineProperty(ke,"ErrorFragment",{enumerable:!0,get:function(){return Oc.ErrorFragment}});Object.defineProperty(ke,"EventFragment",{enumerable:!0,get:function(){return Oc.EventFragment}});Object.defineProperty(ke,"FormatTypes",{enumerable:!0,get:function(){return Oc.FormatTypes}});Object.defineProperty(ke,"Fragment",{enumerable:!0,get:function(){return Oc.Fragment}});Object.defineProperty(ke,"FunctionFragment",{enumerable:!0,get:function(){return Oc.FunctionFragment}});Object.defineProperty(ke,"Indexed",{enumerable:!0,get:function(){return Oc.Indexed}});Object.defineProperty(ke,"Interface",{enumerable:!0,get:function(){return Oc.Interface}});Object.defineProperty(ke,"LogDescription",{enumerable:!0,get:function(){return Oc.LogDescription}});Object.defineProperty(ke,"ParamType",{enumerable:!0,get:function(){return Oc.ParamType}});Object.defineProperty(ke,"TransactionDescription",{enumerable:!0,get:function(){return Oc.TransactionDescription}});var pS=Po();Object.defineProperty(ke,"getAddress",{enumerable:!0,get:function(){return pS.getAddress}});Object.defineProperty(ke,"getCreate2Address",{enumerable:!0,get:function(){return pS.getCreate2Address}});Object.defineProperty(ke,"getContractAddress",{enumerable:!0,get:function(){return pS.getContractAddress}});Object.defineProperty(ke,"getIcapAddress",{enumerable:!0,get:function(){return pS.getIcapAddress}});Object.defineProperty(ke,"isAddress",{enumerable:!0,get:function(){return pS.isAddress}});var v0t=aFe(wI());ke.base64=v0t;var w0t=cH();Object.defineProperty(ke,"base58",{enumerable:!0,get:function(){return w0t.Base58}});var Jo=Vt();Object.defineProperty(ke,"arrayify",{enumerable:!0,get:function(){return Jo.arrayify}});Object.defineProperty(ke,"concat",{enumerable:!0,get:function(){return Jo.concat}});Object.defineProperty(ke,"hexConcat",{enumerable:!0,get:function(){return Jo.hexConcat}});Object.defineProperty(ke,"hexDataSlice",{enumerable:!0,get:function(){return Jo.hexDataSlice}});Object.defineProperty(ke,"hexDataLength",{enumerable:!0,get:function(){return Jo.hexDataLength}});Object.defineProperty(ke,"hexlify",{enumerable:!0,get:function(){return Jo.hexlify}});Object.defineProperty(ke,"hexStripZeros",{enumerable:!0,get:function(){return Jo.hexStripZeros}});Object.defineProperty(ke,"hexValue",{enumerable:!0,get:function(){return Jo.hexValue}});Object.defineProperty(ke,"hexZeroPad",{enumerable:!0,get:function(){return Jo.hexZeroPad}});Object.defineProperty(ke,"isBytes",{enumerable:!0,get:function(){return Jo.isBytes}});Object.defineProperty(ke,"isBytesLike",{enumerable:!0,get:function(){return Jo.isBytesLike}});Object.defineProperty(ke,"isHexString",{enumerable:!0,get:function(){return Jo.isHexString}});Object.defineProperty(ke,"joinSignature",{enumerable:!0,get:function(){return Jo.joinSignature}});Object.defineProperty(ke,"zeroPad",{enumerable:!0,get:function(){return Jo.zeroPad}});Object.defineProperty(ke,"splitSignature",{enumerable:!0,get:function(){return Jo.splitSignature}});Object.defineProperty(ke,"stripZeros",{enumerable:!0,get:function(){return Jo.stripZeros}});var GT=A3();Object.defineProperty(ke,"_TypedDataEncoder",{enumerable:!0,get:function(){return GT._TypedDataEncoder}});Object.defineProperty(ke,"dnsEncode",{enumerable:!0,get:function(){return GT.dnsEncode}});Object.defineProperty(ke,"hashMessage",{enumerable:!0,get:function(){return GT.hashMessage}});Object.defineProperty(ke,"id",{enumerable:!0,get:function(){return GT.id}});Object.defineProperty(ke,"isValidName",{enumerable:!0,get:function(){return GT.isValidName}});Object.defineProperty(ke,"namehash",{enumerable:!0,get:function(){return GT.namehash}});var _7=_H();Object.defineProperty(ke,"defaultPath",{enumerable:!0,get:function(){return _7.defaultPath}});Object.defineProperty(ke,"entropyToMnemonic",{enumerable:!0,get:function(){return _7.entropyToMnemonic}});Object.defineProperty(ke,"getAccountPath",{enumerable:!0,get:function(){return _7.getAccountPath}});Object.defineProperty(ke,"HDNode",{enumerable:!0,get:function(){return _7.HDNode}});Object.defineProperty(ke,"isValidMnemonic",{enumerable:!0,get:function(){return _7.isValidMnemonic}});Object.defineProperty(ke,"mnemonicToEntropy",{enumerable:!0,get:function(){return _7.mnemonicToEntropy}});Object.defineProperty(ke,"mnemonicToSeed",{enumerable:!0,get:function(){return _7.mnemonicToSeed}});var T0t=lfe();Object.defineProperty(ke,"getJsonWalletAddress",{enumerable:!0,get:function(){return T0t.getJsonWalletAddress}});var x0t=H1();Object.defineProperty(ke,"keccak256",{enumerable:!0,get:function(){return x0t.keccak256}});var E0t=Ft();Object.defineProperty(ke,"Logger",{enumerable:!0,get:function(){return E0t.Logger}});var lz=y7();Object.defineProperty(ke,"computeHmac",{enumerable:!0,get:function(){return lz.computeHmac}});Object.defineProperty(ke,"ripemd160",{enumerable:!0,get:function(){return lz.ripemd160}});Object.defineProperty(ke,"sha256",{enumerable:!0,get:function(){return lz.sha256}});Object.defineProperty(ke,"sha512",{enumerable:!0,get:function(){return lz.sha512}});var Ufe=Ofe();Object.defineProperty(ke,"solidityKeccak256",{enumerable:!0,get:function(){return Ufe.keccak256}});Object.defineProperty(ke,"solidityPack",{enumerable:!0,get:function(){return Ufe.pack}});Object.defineProperty(ke,"soliditySha256",{enumerable:!0,get:function(){return Ufe.sha256}});var rFe=Yk();Object.defineProperty(ke,"randomBytes",{enumerable:!0,get:function(){return rFe.randomBytes}});Object.defineProperty(ke,"shuffled",{enumerable:!0,get:function(){return rFe.shuffled}});var KT=Ba();Object.defineProperty(ke,"checkProperties",{enumerable:!0,get:function(){return KT.checkProperties}});Object.defineProperty(ke,"deepCopy",{enumerable:!0,get:function(){return KT.deepCopy}});Object.defineProperty(ke,"defineReadOnly",{enumerable:!0,get:function(){return KT.defineReadOnly}});Object.defineProperty(ke,"getStatic",{enumerable:!0,get:function(){return KT.getStatic}});Object.defineProperty(ke,"resolveProperties",{enumerable:!0,get:function(){return KT.resolveProperties}});Object.defineProperty(ke,"shallowCopy",{enumerable:!0,get:function(){return KT.shallowCopy}});var _0t=aFe(gI());ke.RLP=_0t;var Hfe=Dk();Object.defineProperty(ke,"computePublicKey",{enumerable:!0,get:function(){return Hfe.computePublicKey}});Object.defineProperty(ke,"recoverPublicKey",{enumerable:!0,get:function(){return Hfe.recoverPublicKey}});Object.defineProperty(ke,"SigningKey",{enumerable:!0,get:function(){return Hfe.SigningKey}});var um=Ai();Object.defineProperty(ke,"formatBytes32String",{enumerable:!0,get:function(){return um.formatBytes32String}});Object.defineProperty(ke,"nameprep",{enumerable:!0,get:function(){return um.nameprep}});Object.defineProperty(ke,"parseBytes32String",{enumerable:!0,get:function(){return um.parseBytes32String}});Object.defineProperty(ke,"_toEscapedUtf8String",{enumerable:!0,get:function(){return um._toEscapedUtf8String}});Object.defineProperty(ke,"toUtf8Bytes",{enumerable:!0,get:function(){return um.toUtf8Bytes}});Object.defineProperty(ke,"toUtf8CodePoints",{enumerable:!0,get:function(){return um.toUtf8CodePoints}});Object.defineProperty(ke,"toUtf8String",{enumerable:!0,get:function(){return um.toUtf8String}});Object.defineProperty(ke,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return um.Utf8ErrorFuncs}});var QT=Nu();Object.defineProperty(ke,"accessListify",{enumerable:!0,get:function(){return QT.accessListify}});Object.defineProperty(ke,"computeAddress",{enumerable:!0,get:function(){return QT.computeAddress}});Object.defineProperty(ke,"parseTransaction",{enumerable:!0,get:function(){return QT.parse}});Object.defineProperty(ke,"recoverAddress",{enumerable:!0,get:function(){return QT.recoverAddress}});Object.defineProperty(ke,"serializeTransaction",{enumerable:!0,get:function(){return QT.serialize}});Object.defineProperty(ke,"TransactionTypes",{enumerable:!0,get:function(){return QT.TransactionTypes}});var hS=nFe();Object.defineProperty(ke,"commify",{enumerable:!0,get:function(){return hS.commify}});Object.defineProperty(ke,"formatEther",{enumerable:!0,get:function(){return hS.formatEther}});Object.defineProperty(ke,"parseEther",{enumerable:!0,get:function(){return hS.parseEther}});Object.defineProperty(ke,"formatUnits",{enumerable:!0,get:function(){return hS.formatUnits}});Object.defineProperty(ke,"parseUnits",{enumerable:!0,get:function(){return hS.parseUnits}});var fFe=hfe();Object.defineProperty(ke,"verifyMessage",{enumerable:!0,get:function(){return fFe.verifyMessage}});Object.defineProperty(ke,"verifyTypedData",{enumerable:!0,get:function(){return fFe.verifyTypedData}});var zfe=I8();Object.defineProperty(ke,"_fetchData",{enumerable:!0,get:function(){return zfe._fetchData}});Object.defineProperty(ke,"fetchJson",{enumerable:!0,get:function(){return zfe.fetchJson}});Object.defineProperty(ke,"poll",{enumerable:!0,get:function(){return zfe.poll}});var A0t=y7();Object.defineProperty(ke,"SupportedAlgorithm",{enumerable:!0,get:function(){return A0t.SupportedAlgorithm}});var iFe=Ai();Object.defineProperty(ke,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return iFe.UnicodeNormalizationForm}});Object.defineProperty(ke,"Utf8ErrorReason",{enumerable:!0,get:function(){return iFe.Utf8ErrorReason}})});var sFe=D(uz=>{"use strict";u();p();Object.defineProperty(uz,"__esModule",{value:!0});uz.version=void 0;uz.version="ethers/5.7.2"});var jfe=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]}),I0t=dn&&dn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Wfe=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 I0t(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 qfe=HBe();Object.defineProperty(dn,"BaseContract",{enumerable:!0,get:function(){return qfe.BaseContract}});Object.defineProperty(dn,"Contract",{enumerable:!0,get:function(){return qfe.Contract}});Object.defineProperty(dn,"ContractFactory",{enumerable:!0,get:function(){return qfe.ContractFactory}});var oFe=ia();Object.defineProperty(dn,"BigNumber",{enumerable:!0,get:function(){return oFe.BigNumber}});Object.defineProperty(dn,"FixedNumber",{enumerable:!0,get:function(){return oFe.FixedNumber}});var cFe=i8();Object.defineProperty(dn,"Signer",{enumerable:!0,get:function(){return cFe.Signer}});Object.defineProperty(dn,"VoidSigner",{enumerable:!0,get:function(){return cFe.VoidSigner}});var k0t=hfe();Object.defineProperty(dn,"Wallet",{enumerable:!0,get:function(){return k0t.Wallet}});var S0t=Wfe(E3());dn.constants=S0t;var R0t=Wfe(oz());dn.providers=R0t;var M0t=oz();Object.defineProperty(dn,"getDefaultProvider",{enumerable:!0,get:function(){return M0t.getDefaultProvider}});var dFe=Xre();Object.defineProperty(dn,"Wordlist",{enumerable:!0,get:function(){return dFe.Wordlist}});Object.defineProperty(dn,"wordlists",{enumerable:!0,get:function(){return dFe.wordlists}});var B0t=Wfe(A7());dn.utils=B0t;var lFe=Ft();Object.defineProperty(dn,"errors",{enumerable:!0,get:function(){return lFe.ErrorCode}});var uFe=sFe();Object.defineProperty(dn,"version",{enumerable:!0,get:function(){return uFe.version}});var D0t=new lFe.Logger(uFe.version);dn.logger=D0t});var Je=D(Jt=>{"use strict";u();p();var P0t=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]}),L0t=Jt&&Jt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),F0t=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)&&P0t(e,t,n);return L0t(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 pFe=F0t(jfe());Jt.ethers=pFe;try{Gfe=window,Gfe._ethers==null&&(Gfe._ethers=pFe)}catch{}var Gfe,fo=jfe();Object.defineProperty(Jt,"Signer",{enumerable:!0,get:function(){return fo.Signer}});Object.defineProperty(Jt,"Wallet",{enumerable:!0,get:function(){return fo.Wallet}});Object.defineProperty(Jt,"VoidSigner",{enumerable:!0,get:function(){return fo.VoidSigner}});Object.defineProperty(Jt,"getDefaultProvider",{enumerable:!0,get:function(){return fo.getDefaultProvider}});Object.defineProperty(Jt,"providers",{enumerable:!0,get:function(){return fo.providers}});Object.defineProperty(Jt,"BaseContract",{enumerable:!0,get:function(){return fo.BaseContract}});Object.defineProperty(Jt,"Contract",{enumerable:!0,get:function(){return fo.Contract}});Object.defineProperty(Jt,"ContractFactory",{enumerable:!0,get:function(){return fo.ContractFactory}});Object.defineProperty(Jt,"BigNumber",{enumerable:!0,get:function(){return fo.BigNumber}});Object.defineProperty(Jt,"FixedNumber",{enumerable:!0,get:function(){return fo.FixedNumber}});Object.defineProperty(Jt,"constants",{enumerable:!0,get:function(){return fo.constants}});Object.defineProperty(Jt,"errors",{enumerable:!0,get:function(){return fo.errors}});Object.defineProperty(Jt,"logger",{enumerable:!0,get:function(){return fo.logger}});Object.defineProperty(Jt,"utils",{enumerable:!0,get:function(){return fo.utils}});Object.defineProperty(Jt,"wordlists",{enumerable:!0,get:function(){return fo.wordlists}});Object.defineProperty(Jt,"version",{enumerable:!0,get:function(){return fo.version}});Object.defineProperty(Jt,"Wordlist",{enumerable:!0,get:function(){return fo.Wordlist}})});function H0t(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){z0t(t);return}return e}function z0t(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function mS(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(!U0t.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(N0t.test(t)||O0t.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,H0t)}return JSON.parse(t)}catch(a){if(e.strict)throw a;return t}}var N0t,O0t,U0t,hFe=oe(()=>{u();p();N0t=/"(?:_|\\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*:/,O0t=/"(?: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*:/,U0t=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/});function W0t(t){return!t||typeof t.then!="function"?Promise.resolve(t):t}function Zi(t,...e){try{return W0t(t(...e))}catch(n){return Promise.reject(n)}}function q0t(t){let e=typeof t;return t===null||e!=="object"&&e!=="function"}function j0t(t){let e=Object.getPrototypeOf(t);return!e||e.isPrototypeOf(Object)}function bS(t){if(q0t(t))return String(t);if(j0t(t)||Array.isArray(t))return JSON.stringify(t);if(typeof t.toJSON=="function")return bS(t.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function mFe(){if(typeof _.Buffer===void 0)throw new TypeError("[unstorage] Buffer is not supported!")}function bFe(t){if(typeof t=="string")return t;mFe();let e=_.Buffer.from(t).toString("base64");return Kfe+e}function yFe(t){return typeof t!="string"||!t.startsWith(Kfe)?t:(mFe(),_.Buffer.from(t.slice(Kfe.length),"base64"))}function W1(t){return t?t.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function gFe(...t){return W1(t.join(":"))}function yS(t){return t=W1(t),t?t+":":""}var Kfe,vFe=oe(()=>{u();p();Kfe="base64:"});function xFe(t={}){let e={mounts:{"":t.driver||K0t()},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=W1(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 wFe(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=W1(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=W1(c);let{relativeKey:l,driver:h}=n(c);return Zi(h.hasItem,l,d)},getItem(c,d={}){c=W1(c);let{relativeKey:l,driver:h}=n(c);return Zi(h.getItem,l,d).then(y=>mS(y))},getItems(c,d){return s(c,d,l=>l.driver.getItems?Zi(l.driver.getItems,l.items.map(h=>({key:h.relativeKey,options:h.options})),d).then(h=>h.map(y=>({key:gFe(l.base,y.key),value:mS(y.value)}))):Promise.all(l.items.map(h=>Zi(l.driver.getItem,h.relativeKey,h.options).then(y=>({key:h.key,value:mS(y)})))))},getItemRaw(c,d={}){c=W1(c);let{relativeKey:l,driver:h}=n(c);return h.getItemRaw?Zi(h.getItemRaw,l,d):Zi(h.getItem,l,d).then(y=>yFe(y))},async setItem(c,d,l={}){if(d===void 0)return o.removeItem(c);c=W1(c);let{relativeKey:h,driver:y}=n(c);y.setItem&&(await Zi(y.setItem,h,bS(d),l),y.watch||r("update",c))},async setItems(c,d){await s(c,d,async l=>{if(l.driver.setItems)return Zi(l.driver.setItems,l.items.map(h=>({key:h.relativeKey,value:bS(h.value),options:h.options})),d);l.driver.setItem&&await Promise.all(l.items.map(h=>Zi(l.driver.setItem,h.relativeKey,bS(h.value),h.options)))})},async setItemRaw(c,d,l={}){if(d===void 0)return o.removeItem(c,l);c=W1(c);let{relativeKey:h,driver:y}=n(c);if(y.setItemRaw)await Zi(y.setItemRaw,h,d,l);else if(y.setItem)await Zi(y.setItem,h,bFe(d),l);else return;y.watch||r("update",c)},async removeItem(c,d={}){typeof d=="boolean"&&(d={removeMeta:d}),c=W1(c);let{relativeKey:l,driver:h}=n(c);h.removeItem&&(await Zi(h.removeItem,l,d),(d.removeMeta||d.removeMata)&&await Zi(h.removeItem,l+"$",d),h.watch||r("remove",c))},async getMeta(c,d={}){typeof d=="boolean"&&(d={nativeOnly:d}),c=W1(c);let{relativeKey:l,driver:h}=n(c),y=Object.create(null);if(h.getMeta&&Object.assign(y,await Zi(h.getMeta,l,d)),!d.nativeOnly){let v=await Zi(h.getItem,l+"$",d).then(k=>mS(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=yS(c);let l=a(c,!0),h=[],y=[];for(let v of l){let O=(await Zi(v.driver.getKeys,v.relativeBase,d)).map(F=>v.mountpoint+W1(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=yS(c),await Promise.all(a(c,!1).map(async l=>{if(l.driver.clear)return Zi(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=>TFe(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=yS(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(wFe(d,r,c)).then(l=>{e.unwatch[c]=l}).catch(console.error),o},async unmount(c,d=!0){c=yS(c),!(!c||!e.mounts[c])&&(e.watching&&c in e.unwatch&&(e.unwatch[c](),delete e.unwatch[c]),d&&await TFe(e.mounts[c]),e.mountpoints=e.mountpoints.filter(l=>l!==c),delete e.mounts[c])},getMount(c=""){c=W1(c)+":";let d=n(c);return{driver:d.driver,base:d.base}},getMounts(c="",d={}){return c=W1(c),a(c,d.parents).map(h=>({driver:h.driver,base:h.mountpoint}))}};return o}function wFe(t,e,n){return t.watch?t.watch((a,r)=>e(a,n+r)):()=>{}}async function TFe(t){typeof t.dispose=="function"&&await Zi(t.dispose)}var G0t,K0t,EFe=oe(()=>{u();p();hFe();vFe();G0t="memory",K0t=()=>{let t=new Map;return{name:G0t,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 C7(t){return new Promise((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)})}function Vfe(t,e){let n=indexedDB.open(t);n.onupgradeneeded=()=>n.result.createObjectStore(e);let a=C7(n);return(r,f)=>a.then(i=>f(i.transaction(e,r).objectStore(e)))}function gS(){return Qfe||(Qfe=Vfe("keyval-store","keyval")),Qfe}function Yfe(t,e=gS()){return e("readonly",n=>C7(n.get(t)))}function _Fe(t,e,n=gS()){return n("readwrite",a=>(a.put(e,t),C7(a.transaction)))}function AFe(t,e=gS()){return e("readwrite",n=>(n.delete(t),C7(n.transaction)))}function CFe(t=gS()){return t("readwrite",e=>(e.clear(),C7(e.transaction)))}function Q0t(t,e){return t.openCursor().onsuccess=function(){this.result&&(e(this.result),this.result.continue())},C7(t.transaction)}function IFe(t=gS()){return t("readonly",e=>{if(e.getAllKeys)return C7(e.getAllKeys());let n=[];return Q0t(e,a=>n.push(a.key)).then(()=>n)})}var Qfe,kFe=oe(()=>{u();p()});function $u(t){if(typeof t!="string")throw new Error(`Cannot safe json parse value of type ${typeof t}`);try{return Y0t(t)}catch{return t}}function q1(t){return typeof t=="string"?t:V0t(t)||""}var V0t,Y0t,I7=oe(()=>{u();p();V0t=t=>JSON.stringify(t,(e,n)=>typeof n=="bigint"?n.toString()+"n":n),Y0t=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 ett(t){var e;return[t[0],$u((e=t[1])!=null?e:"")]}var $0t,J0t,X0t,Z0t,Jfe,$fe,pz,Xfe,ttt,SFe,ntt,att,hz,RFe=oe(()=>{u();p();EFe();kFe();I7();$0t="idb-keyval",J0t=(t={})=>{let e=t.base&&t.base.length>0?`${t.base}:`:"",n=r=>e+r,a;return t.dbName&&t.storeName&&(a=Vfe(t.dbName,t.storeName)),{name:$0t,options:t,async hasItem(r){return!(typeof await Yfe(n(r),a)>"u")},async getItem(r){return await Yfe(n(r),a)??null},setItem(r,f){return _Fe(n(r),f,a)},removeItem(r){return AFe(n(r),a)},getKeys(){return IFe(a)},clear(){return CFe(a)}}},X0t="WALLET_CONNECT_V2_INDEXED_DB",Z0t="keyvaluestorage",Jfe=class{constructor(){this.indexedDb=xFe({driver:J0t({dbName:X0t,storeName:Z0t})})}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,q1(n))}async removeItem(e){await this.indexedDb.removeItem(e)}},$fe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},pz={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 $fe<"u"&&$fe.localStorage?pz.exports=$fe.localStorage:typeof window<"u"&&window.localStorage?pz.exports=window.localStorage:pz.exports=new e})();Xfe=class{constructor(){this.localStorage=pz.exports}async getKeys(){return Object.keys(this.localStorage)}async getEntries(){return Object.entries(this.localStorage).map(ett)}async getItem(e){let n=this.localStorage.getItem(e);if(n!==null)return $u(n)}async setItem(e,n){this.localStorage.setItem(e,q1(n))}async removeItem(e){this.localStorage.removeItem(e)}},ttt="wc_storage_version",SFe=1,ntt=async(t,e,n)=>{let a=ttt,r=await e.getItem(a);if(r&&r>=SFe){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,SFe),n(e),att(t,i)},att=async(t,e)=>{e.length&&e.forEach(async n=>{await t.removeItem(n)})},hz=class{constructor(){this.initialized=!1,this.setInitialized=n=>{this.storage=n,this.initialized=!0};let e=new Xfe;this.storage=e;try{let n=new Jfe;ntt(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 Ju={};G0(Ju,{__assign:()=>eie,__asyncDelegator:()=>btt,__asyncGenerator:()=>mtt,__asyncValues:()=>ytt,__await:()=>vS,__awaiter:()=>ctt,__classPrivateFieldGet:()=>Ttt,__classPrivateFieldSet:()=>xtt,__createBinding:()=>ltt,__decorate:()=>itt,__exportStar:()=>utt,__extends:()=>rtt,__generator:()=>dtt,__importDefault:()=>wtt,__importStar:()=>vtt,__makeTemplateObject:()=>gtt,__metadata:()=>ott,__param:()=>stt,__read:()=>MFe,__rest:()=>ftt,__spread:()=>ptt,__spreadArrays:()=>htt,__values:()=>tie});function rtt(t,e){Zfe(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function ftt(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 stt(t,e){return function(n,a){e(n,a,t)}}function ott(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function ctt(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 dtt(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 MFe(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 ptt(){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 vS?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 btt(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:vS(t[r](i)),done:r==="return"}:f?f(i):i}:f}}function ytt(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 tie=="function"?tie(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 gtt(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function vtt(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 wtt(t){return t&&t.__esModule?t:{default:t}}function Ttt(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function xtt(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 Zfe,eie,Xu=oe(()=>{u();p();Zfe=function(t,e){return Zfe=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])},Zfe(t,e)};eie=function(){return eie=Object.assign||function(e){for(var n,a=1,r=arguments.length;a{"use strict";u();p();Object.defineProperty(mz,"__esModule",{value:!0});mz.delay=void 0;function Ett(t){return new Promise(e=>{setTimeout(()=>{e(!0)},t)})}mz.delay=Ett});var DFe=D(VT=>{"use strict";u();p();Object.defineProperty(VT,"__esModule",{value:!0});VT.ONE_THOUSAND=VT.ONE_HUNDRED=void 0;VT.ONE_HUNDRED=100;VT.ONE_THOUSAND=1e3});var PFe=D(X0=>{"use strict";u();p();Object.defineProperty(X0,"__esModule",{value:!0});X0.ONE_YEAR=X0.FOUR_WEEKS=X0.THREE_WEEKS=X0.TWO_WEEKS=X0.ONE_WEEK=X0.THIRTY_DAYS=X0.SEVEN_DAYS=X0.FIVE_DAYS=X0.THREE_DAYS=X0.ONE_DAY=X0.TWENTY_FOUR_HOURS=X0.TWELVE_HOURS=X0.SIX_HOURS=X0.THREE_HOURS=X0.ONE_HOUR=X0.SIXTY_MINUTES=X0.THIRTY_MINUTES=X0.TEN_MINUTES=X0.FIVE_MINUTES=X0.ONE_MINUTE=X0.SIXTY_SECONDS=X0.THIRTY_SECONDS=X0.TEN_SECONDS=X0.FIVE_SECONDS=X0.ONE_SECOND=void 0;X0.ONE_SECOND=1;X0.FIVE_SECONDS=5;X0.TEN_SECONDS=10;X0.THIRTY_SECONDS=30;X0.SIXTY_SECONDS=60;X0.ONE_MINUTE=X0.SIXTY_SECONDS;X0.FIVE_MINUTES=X0.ONE_MINUTE*5;X0.TEN_MINUTES=X0.ONE_MINUTE*10;X0.THIRTY_MINUTES=X0.ONE_MINUTE*30;X0.SIXTY_MINUTES=X0.ONE_MINUTE*60;X0.ONE_HOUR=X0.SIXTY_MINUTES;X0.THREE_HOURS=X0.ONE_HOUR*3;X0.SIX_HOURS=X0.ONE_HOUR*6;X0.TWELVE_HOURS=X0.ONE_HOUR*12;X0.TWENTY_FOUR_HOURS=X0.ONE_HOUR*24;X0.ONE_DAY=X0.TWENTY_FOUR_HOURS;X0.THREE_DAYS=X0.ONE_DAY*3;X0.FIVE_DAYS=X0.ONE_DAY*5;X0.SEVEN_DAYS=X0.ONE_DAY*7;X0.THIRTY_DAYS=X0.ONE_DAY*30;X0.ONE_WEEK=X0.SEVEN_DAYS;X0.TWO_WEEKS=X0.ONE_WEEK*2;X0.THREE_WEEKS=X0.ONE_WEEK*3;X0.FOUR_WEEKS=X0.ONE_WEEK*4;X0.ONE_YEAR=X0.ONE_DAY*365});var nie=D(bz=>{"use strict";u();p();Object.defineProperty(bz,"__esModule",{value:!0});var LFe=(Xu(),vn(Ju));LFe.__exportStar(DFe(),bz);LFe.__exportStar(PFe(),bz)});var NFe=D(YT=>{"use strict";u();p();Object.defineProperty(YT,"__esModule",{value:!0});YT.fromMiliseconds=YT.toMiliseconds=void 0;var FFe=nie();function _tt(t){return t*FFe.ONE_THOUSAND}YT.toMiliseconds=_tt;function Att(t){return Math.floor(t/FFe.ONE_THOUSAND)}YT.fromMiliseconds=Att});var UFe=D(yz=>{"use strict";u();p();Object.defineProperty(yz,"__esModule",{value:!0});var OFe=(Xu(),vn(Ju));OFe.__exportStar(BFe(),yz);OFe.__exportStar(NFe(),yz)});var HFe=D(wS=>{"use strict";u();p();Object.defineProperty(wS,"__esModule",{value:!0});wS.Watch=void 0;var gz=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}};wS.Watch=gz;wS.default=gz});var zFe=D(vz=>{"use strict";u();p();Object.defineProperty(vz,"__esModule",{value:!0});vz.IWatch=void 0;var aie=class{};vz.IWatch=aie});var WFe=D(rie=>{"use strict";u();p();Object.defineProperty(rie,"__esModule",{value:!0});var Ctt=(Xu(),vn(Ju));Ctt.__exportStar(zFe(),rie)});var k7=D($T=>{"use strict";u();p();Object.defineProperty($T,"__esModule",{value:!0});var wz=(Xu(),vn(Ju));wz.__exportStar(UFe(),$T);wz.__exportStar(HFe(),$T);wz.__exportStar(WFe(),$T);wz.__exportStar(nie(),$T)});var Zu,qFe=oe(()=>{u();p();Zu=class{}});var jFe={};G0(jFe,{IEvents:()=>Zu});var fie=oe(()=>{u();p();qFe()});var KFe=D((cta,GFe)=>{"use strict";u();p();function Itt(t){try{return JSON.stringify(t)}catch{return'"[Circular]"'}}GFe.exports=ktt;function ktt(t,e,n){var a=n&&n.stringify||Itt,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 QFe=KFe();$Fe.exports=e2;var TS=Ott().console||{},Stt={mapHttpRequest:Tz,mapHttpResponse:Tz,wrapRequestSerializer:iie,wrapResponseSerializer:iie,wrapErrorSerializer:iie,req:Tz,res:Tz,err:Ptt};function Rtt(t,e){return Array.isArray(t)?t.filter(function(a){return a!=="!stdSerializers.err"}):t===!0?Object.keys(e):!1}function e2(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||TS;t.browser.write&&(t.browser.asObject=!0);let a=t.serializers||{},r=Rtt(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=xS),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:Ltt(t)};o.levels=e2.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=xS,o.serializers=a,o._serialize=r,o._stdErrSerialize=f,o.child=y,e&&(o._logEvent=sie());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,JT(c,o,"error","log"),JT(c,o,"fatal","error"),JT(c,o,"warn","error"),JT(c,o,"info","log"),JT(c,o,"debug","log"),JT(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,xz([v],z,F,this._stdErrSerialize)}function W(j){this._childLevel=(j._childLevel|0)+1,this.error=XT(j,v,"error"),this.fatal=XT(j,v,"fatal"),this.warn=XT(j,v,"warn"),this.info=XT(j,v,"info"),this.debug=XT(j,v,"debug"),this.trace=XT(j,v,"trace"),F&&(this.serializers=F,this._serialize=z),e&&(this._logEvent=sie([].concat(j._logEvent.bindings,v)))}return W.prototype=this,new W(this)}return o}e2.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"}};e2.stdSerializers=Stt;e2.stdTimeFunctions=Object.assign({},{nullTime:VFe,epochTime:YFe,unixTime:Ftt,isoTime:Ntt});function JT(t,e,n,a){let r=Object.getPrototypeOf(e);e[n]=e.levelVal>e.levels.values[n]?xS:r[n]?r[n]:TS[n]||TS[a]||xS,Mtt(t,e,n)}function Mtt(t,e,n){!t.transmit&&e[n]===xS||(e[n]=function(a){return function(){let f=t.timestamp(),i=new Array(arguments.length),s=Object.getPrototypeOf&&Object.getPrototypeOf(this)===TS?TS:this;for(var o=0;o-1&&f in n&&(t[r][f]=n[f](t[r][f]))}function XT(t,e,n){return function(){let a=new Array(1+arguments.length);a[0]=e;for(var r=1;r"u"?n=Gtt(t,e):n=t.bindings().context||"",n}function Qtt(t,e,n=ES){let a=Xo(t,n);return a.trim()?`${a}/${e}`:e}function Zo(t,e,n=ES){let a=Qtt(t,e,n),r=t.child({context:a});return Ktt(r,a,n)}function Vtt(t){var e,n;let a=new die((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:(0,M8.default)(Cz(Az({},t.opts),{level:"trace",browser:Cz(Az({},(n=t.opts)==null?void 0:n.browser),{write:r=>a.write(r)})})),chunkLoggerController:a}}function Ytt(t){var e;let n=new lie((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:(0,M8.default)(Cz(Az({},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"?Vtt(t):Ytt(t)}var M8,S7,Utt,ES,uie,cie,Ez,_z,die,lie,Htt,ztt,Wtt,JFe,qtt,jtt,XFe,Az,Cz,Iz=oe(()=>{u();p();M8=Ee(oie()),S7=Ee(oie());I7();Utt={level:"info"},ES="custom_context",uie=1e3*1024,cie=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}},Ez=class{constructor(e){this.head=null,this.tail=null,this.lengthInNodes=0,this.maxSizeInBytes=e,this.sizeInBytes=0}append(e){let n=new cie(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}}}}},_z=class{constructor(e,n=uie){this.level=e??"error",this.levelValue=M8.levels.values[this.level],this.MAX_LOG_SIZE_IN_BYTES=n,this.logs=new Ez(this.MAX_LOG_SIZE_IN_BYTES)}forwardToConsole(e,n){n===M8.levels.values.error?console.error(e):n===M8.levels.values.warn?console.warn(e):n===M8.levels.values.debug?console.debug(e):n===M8.levels.values.trace?console.trace(e):console.log(e)}appendToLogs(e){this.logs.append(q1({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 Ez(this.MAX_LOG_SIZE_IN_BYTES)}getLogArray(){return Array.from(this.logs)}logsToBlob(e){let n=this.getLogArray();return n.push(q1({extraMetadata:e})),new Blob(n,{type:"application/json"})}},die=class{constructor(e,n=uie){this.baseChunkLogger=new _z(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)}},lie=class{constructor(e,n=uie){this.baseChunkLogger=new _z(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)}},Htt=Object.defineProperty,ztt=Object.defineProperties,Wtt=Object.getOwnPropertyDescriptors,JFe=Object.getOwnPropertySymbols,qtt=Object.prototype.hasOwnProperty,jtt=Object.prototype.propertyIsEnumerable,XFe=(t,e,n)=>e in t?Htt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Az=(t,e)=>{for(var n in e||(e={}))qtt.call(e,n)&&XFe(t,n,e[n]);if(JFe)for(var n of JFe(e))jtt.call(e,n)&&XFe(t,n,e[n]);return t},Cz=(t,e)=>ztt(t,Wtt(e))});var tNe=D(kz=>{"use strict";u();p();Object.defineProperty(kz,"__esModule",{value:!0});kz.BrowserRandomSource=void 0;var eNe=65536,pie=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(hie,"__esModule",{value:!0});function $tt(t){for(var e=0;e{"use strict";u();p();Object.defineProperty(Sz,"__esModule",{value:!0});Sz.NodeRandomSource=void 0;var Jtt=V5(),mie=class{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof Vd<"u"){let e=WU();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(Rz,"__esModule",{value:!0});Rz.SystemRandomSource=void 0;var Xtt=tNe(),Ztt=nNe(),bie=class{constructor(){if(this.isAvailable=!1,this.name="",this._source=new Xtt.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new Ztt.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)}};Rz.SystemRandomSource=bie});var rNe=D(k6=>{"use strict";u();p();Object.defineProperty(k6,"__esModule",{value:!0});function ent(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}k6.mul=Math.imul||ent;function tnt(t,e){return t+e|0}k6.add=tnt;function nnt(t,e){return t-e|0}k6.sub=nnt;function ant(t,e){return t<>>32-e}k6.rotl=ant;function rnt(t,e){return t<<32-e|t>>>e}k6.rotr=rnt;function fnt(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}k6.isInteger=Number.isInteger||fnt;k6.MAX_SAFE_INTEGER=9007199254740991;k6.isSafeInteger=function(t){return k6.isInteger(t)&&t>=-k6.MAX_SAFE_INTEGER&&t<=k6.MAX_SAFE_INTEGER}});var ZT=D(zn=>{"use strict";u();p();Object.defineProperty(zn,"__esModule",{value:!0});var fNe=rNe();function int(t,e){return e===void 0&&(e=0),(t[e+0]<<8|t[e+1])<<16>>16}zn.readInt16BE=int;function snt(t,e){return e===void 0&&(e=0),(t[e+0]<<8|t[e+1])>>>0}zn.readUint16BE=snt;function ont(t,e){return e===void 0&&(e=0),(t[e+1]<<8|t[e])<<16>>16}zn.readInt16LE=ont;function cnt(t,e){return e===void 0&&(e=0),(t[e+1]<<8|t[e])>>>0}zn.readUint16LE=cnt;function iNe(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=iNe;zn.writeInt16BE=iNe;function sNe(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=sNe;zn.writeInt16LE=sNe;function yie(t,e){return e===void 0&&(e=0),t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3]}zn.readInt32BE=yie;function gie(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=gie;function vie(t,e){return e===void 0&&(e=0),t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]}zn.readInt32LE=vie;function wie(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=wie;function Mz(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=Mz;zn.writeInt32BE=Mz;function Bz(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=Bz;zn.writeInt32LE=Bz;function dnt(t,e){e===void 0&&(e=0);var n=yie(t,e),a=yie(t,e+4);return n*4294967296+a-(a>>31)*4294967296}zn.readInt64BE=dnt;function lnt(t,e){e===void 0&&(e=0);var n=gie(t,e),a=gie(t,e+4);return n*4294967296+a}zn.readUint64BE=lnt;function unt(t,e){e===void 0&&(e=0);var n=vie(t,e),a=vie(t,e+4);return a*4294967296+n-(n>>31)*4294967296}zn.readInt64LE=unt;function pnt(t,e){e===void 0&&(e=0);var n=wie(t,e),a=wie(t,e+4);return a*4294967296+n}zn.readUint64LE=pnt;function oNe(t,e,n){return e===void 0&&(e=new Uint8Array(8)),n===void 0&&(n=0),Mz(t/4294967296>>>0,e,n),Mz(t>>>0,e,n+4),e}zn.writeUint64BE=oNe;zn.writeInt64BE=oNe;function cNe(t,e,n){return e===void 0&&(e=new Uint8Array(8)),n===void 0&&(n=0),Bz(t>>>0,e,n),Bz(t/4294967296>>>0,e,n+4),e}zn.writeUint64LE=cNe;zn.writeInt64LE=cNe;function hnt(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=hnt;function mnt(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=bnt;function ynt(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(!fNe.isSafeInteger(e))throw new Error("writeUintLE value must be an integer");for(var r=1,f=a;f{"use strict";u();p();Object.defineProperty(e1,"__esModule",{value:!0});e1.randomStringForEntropy=e1.randomString=e1.randomUint32=e1.randomBytes=e1.defaultRandomSource=void 0;var Cnt=aNe(),Int=ZT(),dNe=V5();e1.defaultRandomSource=new Cnt.SystemRandomSource;function Tie(t,e=e1.defaultRandomSource){return e.randomBytes(t)}e1.randomBytes=Tie;function knt(t=e1.defaultRandomSource){let e=Tie(4,t),n=(0,Int.readUint32LE)(e);return(0,dNe.wipe)(e),n}e1.randomUint32=knt;var lNe="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function uNe(t,e=lNe,n=e1.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=Tie(Math.ceil(t*256/f),n);for(let s=0;s0;s++){let o=i[s];o{"use strict";u();p();Object.defineProperty(B8,"__esModule",{value:!0});var tx=ZT(),ex=V5();B8.DIGEST_LENGTH=64;B8.BLOCK_SIZE=128;var hNe=function(){function t(){this.digestLength=B8.DIGEST_LENGTH,this.blockSize=B8.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(){ex.wipe(this._buffer),ex.wipe(this._tempHi),ex.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&&(xie(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(n>=this.blockSize&&(a=xie(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){ex.wipe(e.stateHi),ex.wipe(e.stateLo),e.buffer&&ex.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},t}();B8.SHA512=hNe;var pNe=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 xie(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,b;i>=128;){for(var A=0;A<16;A++){var P=8*A+f;t[A]=tx.readUint32BE(r,P),e[A]=tx.readUint32BE(r,P+4)}for(var A=0;A<80;A++){var L=s,E=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,b=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,b+=X>>>16,X=l&h^~l&y,K=W&j^~W&Q,T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,X=pNe[A*2],K=pNe[A*2+1],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,X=t[A%16],K=e[A%16],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,G=w&65535|b<<16,R=T&65535|N<<16,X=G,K=R,T=K&65535,N=K>>>16,w=X&65535,b=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,b+=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,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,ee=w&65535|b<<16,ie=T&65535|N<<16,X=B,K=ne,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=G,K=R,T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,B=w&65535|b<<16,ne=T&65535|N<<16,o=L,c=E,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,b=X>>>16,X=t[(P+9)%16],K=e[(P+9)%16],T+=K&65535,N+=K>>>16,w+=X&65535,b+=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,b+=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,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,t[P]=w&65535|b<<16,e[P]=T&65535|N<<16}X=s,K=k,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[0],K=a[0],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[0]=s=w&65535|b<<16,a[0]=k=T&65535|N<<16,X=o,K=O,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[1],K=a[1],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[1]=o=w&65535|b<<16,a[1]=O=T&65535|N<<16,X=c,K=F,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[2],K=a[2],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[2]=c=w&65535|b<<16,a[2]=F=T&65535|N<<16,X=d,K=z,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[3],K=a[3],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[3]=d=w&65535|b<<16,a[3]=z=T&65535|N<<16,X=l,K=W,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[4],K=a[4],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[4]=l=w&65535|b<<16,a[4]=W=T&65535|N<<16,X=h,K=j,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[5],K=a[5],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[5]=h=w&65535|b<<16,a[5]=j=T&65535|N<<16,X=y,K=Q,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[6],K=a[6],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[6]=y=w&65535|b<<16,a[6]=Q=T&65535|N<<16,X=v,K=V,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[7],K=a[7],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[7]=v=w&65535|b<<16,a[7]=V=T&65535|N<<16,f+=128,i-=128}return f}function Rnt(t){var e=new hNe;e.update(t);var n=e.digest();return e.clean(),n}B8.hash=Rnt});var SNe=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 Mnt=_S(),AS=mNe(),wNe=V5();$a.SIGNATURE_LENGTH=64;$a.PUBLIC_KEY_LENGTH=32;$a.SECRET_KEY_LENGTH=64;$a.SEED_LENGTH=32;function yt(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,TNe(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 xNe(t,e){let n=0;for(let a=0;a<32;a++)n|=t[a]^e[a];return(1&n-1>>>8)-1}function gNe(t,e){let n=new Uint8Array(32),a=new Uint8Array(32);return CS(n,t),CS(a,e),xNe(n,a)}function ENe(t){let e=new Uint8Array(32);return CS(e,t),e[0]&1}function Fnt(t,e){for(let n=0;n<16;n++)t[n]=e[2*n]+(e[2*n+1]<<8);t[15]&=32767}function M7(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]+n[a]}function D7(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,b=0,A=0,P=0,L=0,E=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,b+=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,b+=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,b+=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,b+=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,b+=a*re,A+=a*ie,P+=a*ge,L+=a*de,E+=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,b+=a*Y,A+=a*re,P+=a*ie,L+=a*ge,E+=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*b,k+=38*A,O+=38*P,F+=38*L,z+=38*E,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 B7(t,e){vr(t,e,e)}function _Ne(t,e){let n=yt(),a;for(a=0;a<16;a++)n[a]=e[a];for(a=253;a>=0;a--)B7(n,n),a!==2&&a!==4&&vr(n,n,e);for(a=0;a<16;a++)t[a]=n[a]}function Nnt(t,e){let n=yt(),a;for(a=0;a<16;a++)n[a]=e[a];for(a=250;a>=0;a--)B7(n,n),a!==1&&vr(n,n,e);for(a=0;a<16;a++)t[a]=n[a]}function Cie(t,e){let n=yt(),a=yt(),r=yt(),f=yt(),i=yt(),s=yt(),o=yt(),c=yt(),d=yt();D7(n,t[1],t[0]),D7(d,e[1],e[0]),vr(n,n,d),M7(a,t[0],t[1]),M7(d,e[0],e[1]),vr(a,a,d),vr(r,t[3],e[3]),vr(r,r,Pnt),vr(f,t[2],e[2]),M7(f,f,f),D7(i,a,n),D7(s,f,r),M7(o,f,r),M7(c,a,n),vr(t[0],i,s),vr(t[1],c,o),vr(t[2],o,s),vr(t[3],i,c)}function vNe(t,e,n){for(let a=0;a<4;a++)TNe(t[a],e[a],n)}function kie(t,e){let n=yt(),a=yt(),r=yt();_Ne(r,e[2]),vr(n,e[0],r),vr(a,e[1],r),CS(t,a),t[31]^=ENe(n)<<7}function ANe(t,e,n){pm(t[0],Aie),pm(t[1],nx),pm(t[2],nx),pm(t[3],Aie);for(let a=255;a>=0;--a){let r=n[a/8|0]>>(a&7)&1;vNe(t,e,r),Cie(e,t),Cie(t,t),vNe(t,e,r)}}function Sie(t,e){let n=[yt(),yt(),yt(),yt()];pm(n[0],bNe),pm(n[1],yNe),pm(n[2],nx),vr(n[3],bNe,yNe),ANe(t,n,e)}function CNe(t){if(t.length!==$a.SEED_LENGTH)throw new Error(`ed25519: seed must be ${$a.SEED_LENGTH} bytes`);let e=(0,AS.hash)(t);e[0]&=248,e[31]&=127,e[31]|=64;let n=new Uint8Array(32),a=[yt(),yt(),yt(),yt()];Sie(a,e),kie(n,a);let r=new Uint8Array(64);return r.set(t),r.set(n,32),{publicKey:n,secretKey:r}}$a.generateKeyPairFromSeed=CNe;function Ont(t){let e=(0,Mnt.randomBytes)(32,t),n=CNe(e);return(0,wNe.wipe)(e),n}$a.generateKeyPair=Ont;function Unt(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=Unt;var _ie=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 INe(t,e){let n,a,r,f;for(a=63;a>=32;--a){for(n=0,r=a-32,f=a-12;r>4)*_ie[r],n=e[r]>>8,e[r]&=255;for(r=0;r<32;r++)e[r]-=n*_ie[r];for(a=0;a<32;a++)e[a+1]+=e[a]>>8,t[a]=e[a]&255}function Iie(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;INe(t,e)}function Hnt(t,e){let n=new Float64Array(64),a=[yt(),yt(),yt(),yt()],r=(0,AS.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 AS.SHA512;i.update(f.subarray(32)),i.update(e);let s=i.digest();i.clean(),Iie(s),Sie(a,s),kie(f,a),i.reset(),i.update(f.subarray(0,32)),i.update(t.subarray(32)),i.update(e);let o=i.digest();Iie(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 INe(f.subarray(32),n),f}$a.sign=Hnt;function kNe(t,e){let n=yt(),a=yt(),r=yt(),f=yt(),i=yt(),s=yt(),o=yt();return pm(t[2],nx),Fnt(t[1],e),B7(r,t[1]),vr(f,r,Dnt),D7(r,r,t[2]),M7(f,t[2],f),B7(i,f),B7(s,i),vr(o,s,i),vr(n,o,r),vr(n,n,f),Nnt(n,n),vr(n,n,r),vr(n,n,f),vr(n,n,f),vr(t[0],n,f),B7(a,t[0]),vr(a,a,f),gNe(a,r)&&vr(t[0],t[0],Lnt),B7(a,t[0]),vr(a,a,f),gNe(a,r)?-1:(ENe(t[0])===e[31]>>7&&D7(t[0],Aie,t[0]),vr(t[3],t[0],t[1]),0)}function znt(t,e,n){let a=new Uint8Array(32),r=[yt(),yt(),yt(),yt()],f=[yt(),yt(),yt(),yt()];if(n.length!==$a.SIGNATURE_LENGTH)throw new Error(`ed25519: signature must be ${$a.SIGNATURE_LENGTH} bytes`);if(kNe(f,t))return!1;let i=new AS.SHA512;i.update(n.subarray(0,32)),i.update(t),i.update(e);let s=i.digest();return Iie(s),ANe(r,f,s),Sie(f,n.subarray(32)),Cie(r,f),kie(a,r),!xNe(n,a)}$a.verify=znt;function Wnt(t){let e=[yt(),yt(),yt(),yt()];if(kNe(e,t))throw new Error("Ed25519: invalid public key");let n=yt(),a=yt(),r=e[1];M7(n,nx,r),D7(a,nx,r),_Ne(a,a),vr(n,n,a);let f=new Uint8Array(32);return CS(f,n),f}$a.convertPublicKeyToX25519=Wnt;function qnt(t){let e=(0,AS.hash)(t.subarray(0,32));e[0]&=248,e[31]&=127,e[31]|=64;let n=new Uint8Array(e.subarray(0,32));return(0,wNe.wipe)(e),n}$a.convertSecretKeyToX25519=qnt});var RNe,MNe,Rie,Mie,BNe,DNe,PNe,LNe,FNe,Bie,NNe,ONe,Dz=oe(()=>{u();p();RNe="EdDSA",MNe="JWT",Rie=".",Mie="base64url",BNe="utf8",DNe="utf8",PNe=":",LNe="did",FNe="key",Bie="base58btc",NNe="z",ONe="K36"});function P7(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}var IS=oe(()=>{u();p()});function kS(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?P7(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}var Pz=oe(()=>{u();p();IS()});var Lz={};G0(Lz,{concat:()=>L7});function L7(t,e){e||(e=t.reduce((r,f)=>r+f.length,0));let n=kS(e),a=0;for(let r of t)n.set(r,a),a+=r.length;return P7(n)}var ax=oe(()=>{u();p();Pz();IS()});function jnt(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 Gnt,Knt,UNe,HNe=oe(()=>{u();p();Gnt=jnt,Knt=Gnt,UNe=Knt});var Fz={};G0(Fz,{coerce:()=>Y5,empty:()=>zNe,equals:()=>Die,fromHex:()=>Vnt,fromString:()=>Pie,isBinary:()=>Ynt,toHex:()=>Qnt,toString:()=>Lie});var zNe,Qnt,Vnt,Die,Y5,Ynt,Pie,Lie,hm=oe(()=>{u();p();zNe=new Uint8Array(0),Qnt=t=>t.reduce((e,n)=>e+n.toString(16).padStart(2,"0"),""),Vnt=t=>{let e=t.match(/../g);return e?new Uint8Array(e.map(n=>parseInt(n,16))):zNe},Die=(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")},Ynt=t=>t instanceof ArrayBuffer||ArrayBuffer.isView(t),Pie=t=>new TextEncoder().encode(t),Lie=t=>new TextDecoder().decode(t)});var Fie,Nie,Oie,WNe,Uie,rx,mm,$nt,Jnt,Zf,vl=oe(()=>{u();p();HNe();hm();Fie=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")}},Nie=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 WNe(this,e)}},Oie=class{constructor(e){this.decoders=e}or(e){return WNe(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`)}},WNe=(t,e)=>new Oie({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}}),Uie=class{constructor(e,n,a,r){this.name=e,this.prefix=n,this.baseEncode=a,this.baseDecode=r,this.encoder=new Fie(e,n,a),this.decoder=new Nie(e,n,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}},rx=({name:t,prefix:e,encode:n,decode:a})=>new Uie(t,e,n,a),mm=({prefix:t,name:e,alphabet:n})=>{let{encode:a,decode:r}=UNe(n,e);return rx({prefix:t,name:e,encode:a,decode:f=>Y5(r(f))})},$nt=(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},Jnt=(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<rx({prefix:e,name:t,encode(r){return Jnt(r,a,n)},decode(r){return $nt(r,a,n,t)}})});var Hie={};G0(Hie,{identity:()=>Xnt});var Xnt,qNe=oe(()=>{u();p();vl();hm();Xnt=rx({prefix:"\0",name:"identity",encode:t=>Lie(t),decode:t=>Pie(t)})});var zie={};G0(zie,{base2:()=>Znt});var Znt,jNe=oe(()=>{u();p();vl();Znt=Zf({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1})});var Wie={};G0(Wie,{base8:()=>eat});var eat,GNe=oe(()=>{u();p();vl();eat=Zf({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3})});var qie={};G0(qie,{base10:()=>tat});var tat,KNe=oe(()=>{u();p();vl();tat=mm({prefix:"9",name:"base10",alphabet:"0123456789"})});var jie={};G0(jie,{base16:()=>nat,base16upper:()=>aat});var nat,aat,QNe=oe(()=>{u();p();vl();nat=Zf({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),aat=Zf({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4})});var Gie={};G0(Gie,{base32:()=>fx,base32hex:()=>sat,base32hexpad:()=>cat,base32hexpadupper:()=>dat,base32hexupper:()=>oat,base32pad:()=>fat,base32padupper:()=>iat,base32upper:()=>rat,base32z:()=>lat});var fx,rat,fat,iat,sat,oat,cat,dat,lat,Kie=oe(()=>{u();p();vl();fx=Zf({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),rat=Zf({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),fat=Zf({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),iat=Zf({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),sat=Zf({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),oat=Zf({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),cat=Zf({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),dat=Zf({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),lat=Zf({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5})});var Qie={};G0(Qie,{base36:()=>uat,base36upper:()=>pat});var uat,pat,VNe=oe(()=>{u();p();vl();uat=mm({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),pat=mm({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"})});var Vie={};G0(Vie,{base58btc:()=>t2,base58flickr:()=>hat});var t2,hat,Yie=oe(()=>{u();p();vl();t2=mm({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),hat=mm({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"})});var $ie={};G0($ie,{base64:()=>mat,base64pad:()=>bat,base64url:()=>yat,base64urlpad:()=>gat});var mat,bat,yat,gat,YNe=oe(()=>{u();p();vl();mat=Zf({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),bat=Zf({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),yat=Zf({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),gat=Zf({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6})});var Jie={};G0(Jie,{base256emoji:()=>Eat});function Tat(t){return t.reduce((e,n)=>(e+=vat[n],e),"")}function xat(t){let e=[];for(let n of t){let a=wat[n.codePointAt(0)];if(a===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(a)}return new Uint8Array(e)}var $Ne,vat,wat,Eat,JNe=oe(()=>{u();p();vl();$Ne=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}"),vat=$Ne.reduce((t,e,n)=>(t[n]=e,t),[]),wat=$Ne.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);Eat=rx({prefix:"\u{1F680}",name:"base256emoji",encode:Tat,decode:xat})});function eOe(t,e,n){e=e||[],n=n||0;for(var a=n;t>=Iat;)e[n++]=t&255|XNe,t/=128;for(;t&Cat;)e[n++]=t&255|XNe,t>>>=7;return e[n]=t|0,eOe.bytes=n-a+1,e}function Xie(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s)throw Xie.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&ZNe)<=Sat);return Xie.bytes=f-a,n}var _at,XNe,Aat,Cat,Iat,kat,Sat,ZNe,Rat,Mat,Bat,Dat,Pat,Lat,Fat,Nat,Oat,Uat,Hat,zat,SS,tOe=oe(()=>{u();p();_at=eOe,XNe=128,Aat=127,Cat=~Aat,Iat=Math.pow(2,31);kat=Xie,Sat=128,ZNe=127;Rat=Math.pow(2,7),Mat=Math.pow(2,14),Bat=Math.pow(2,21),Dat=Math.pow(2,28),Pat=Math.pow(2,35),Lat=Math.pow(2,42),Fat=Math.pow(2,49),Nat=Math.pow(2,56),Oat=Math.pow(2,63),Uat=function(t){return tix,encodeTo:()=>F7,encodingLength:()=>N7});var ix,F7,N7,Nz=oe(()=>{u();p();tOe();ix=(t,e=0)=>[SS.decode(t,e),SS.decode.bytes],F7=(t,e,n=0)=>(SS.encode(t,e,n),e),N7=t=>SS.encodingLength(t)});var U7={};G0(U7,{Digest:()=>O7,create:()=>bm,decode:()=>Zie,equals:()=>ese});var bm,Zie,ese,O7,RS=oe(()=>{u();p();hm();Nz();bm=(t,e)=>{let n=e.byteLength,a=N7(t),r=a+N7(n),f=new Uint8Array(r+n);return F7(t,f,0),F7(n,f,a),f.set(e,r),new O7(t,n,e,f)},Zie=t=>{let e=Y5(t),[n,a]=ix(e),[r,f]=ix(e.subarray(a)),i=e.subarray(a+f);if(i.byteLength!==r)throw new Error("Incorrect length");return new O7(n,r,i,e)},ese=(t,e)=>t===e?!0:t.code===e.code&&t.size===e.size&&Die(t.bytes,e.bytes),O7=class{constructor(e,n,a,r){this.code=e,this.size=n,this.digest=a,this.bytes=r}}});var Hz={};G0(Hz,{Hasher:()=>Oz,from:()=>Uz});var Uz,Oz,tse=oe(()=>{u();p();RS();Uz=({name:t,code:e,encode:n})=>new Oz(t,e,n),Oz=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?bm(this.code,n):n.then(a=>bm(this.code,a))}else throw Error("Unknown type, must be binary type")}}});var nse={};G0(nse,{sha256:()=>Wat,sha512:()=>qat});var nOe,Wat,qat,aOe=oe(()=>{u();p();tse();nOe=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),Wat=Uz({name:"sha2-256",code:18,encode:nOe("SHA-256")}),qat=Uz({name:"sha2-512",code:19,encode:nOe("SHA-512")})});var ase={};G0(ase,{identity:()=>Kat});var rOe,jat,fOe,Gat,Kat,iOe=oe(()=>{u();p();hm();RS();rOe=0,jat="identity",fOe=Y5,Gat=t=>bm(rOe,fOe(t)),Kat={code:rOe,name:jat,encode:fOe,digest:Gat}});var rse={};G0(rse,{code:()=>Vat,decode:()=>$at,encode:()=>Yat,name:()=>Qat});var Qat,Vat,Yat,$at,sOe=oe(()=>{u();p();hm();Qat="raw",Vat=85,Yat=t=>Y5(t),$at=t=>Y5(t)});var fse={};G0(fse,{code:()=>ert,decode:()=>nrt,encode:()=>trt,name:()=>Zat});var Jat,Xat,Zat,ert,trt,nrt,oOe=oe(()=>{u();p();Jat=new TextEncoder,Xat=new TextDecoder,Zat="json",ert=512,trt=t=>Jat.encode(JSON.stringify(t)),nrt=t=>JSON.parse(Xat.decode(t))});var BS,art,rrt,frt,MS,irt,cOe,dOe,zz,Wz,srt,ort,crt,lOe=oe(()=>{u();p();Nz();RS();Yie();Kie();hm();BS=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:Wz,byteLength:Wz,code:zz,version:zz,multihash:zz,bytes:zz,_baseCache:Wz,asCID:Wz})}toV0(){switch(this.version){case 0:return this;default:{let{code:e,multihash:n}=this;if(e!==MS)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(n.code!==irt)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=bm(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&&ese(this.multihash,e.multihash)}toString(e){let{bytes:n,version:a,_baseCache:r}=this;switch(a){case 0:return rrt(n,r,e||t2.encoder);default:return frt(n,r,e||fx.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 ort(/^0\.0/,crt),!!(e&&(e[dOe]||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||cOe(n,a,r.bytes))}else if(e!=null&&e[dOe]===!0){let{version:n,multihash:a,code:r}=e,f=Zie(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!==MS)throw new Error(`Version 0 CID must use dag-pb (code: ${MS}) block encoding`);return new t(e,n,a,a.bytes)}case 1:{let r=cOe(e,n,a.bytes);return new t(e,n,a,r)}default:throw new Error("Invalid version")}}static createV0(e){return t.create(0,MS,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=Y5(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 O7(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]=ix(e.subarray(n));return n+=h,l},r=a(),f=MS;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]=art(e,n),f=t.decode(r);return f._baseCache.set(a,e),f}},art=(t,e)=>{switch(t[0]){case"Q":{let n=e||t2;return[t2.prefix,n.decode(`${t2.prefix}${t}`)]}case t2.prefix:{let n=e||t2;return[t2.prefix,n.decode(t)]}case fx.prefix:{let n=e||fx;return[fx.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)]}}},rrt=(t,e,n)=>{let{prefix:a}=n;if(a!==t2.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},frt=(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},MS=112,irt=18,cOe=(t,e,n)=>{let a=N7(t),r=a+N7(e),f=new Uint8Array(r+n.byteLength);return F7(t,f,0),F7(e,f,a),f.set(n,r),f},dOe=Symbol.for("@ipld/js-cid/CID"),zz={writable:!1,configurable:!1,enumerable:!0},Wz={writable:!1,enumerable:!1,configurable:!1},srt="0.0.0-dev",ort=(t,e)=>{if(t.test(srt))console.warn(e);else throw new Error(e)},crt=`CID.isCID(v) is deprecated and will be removed in the next major release. +`)},t.register=function(e,n){if(n||(n=e.locale),_$0)try{var a=window;a._ethers&&a._ethers.wordlists&&(a._ethers.wordlists[n]||(0,QBe.defineReadOnly)(a._ethers.wordlists,n,e))}catch{}},t}();w7.Wordlist=k$0});var $Be=D(vT=>{"use strict";u();p();var S$0=vT&&vT.__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(vT,"__esModule",{value:!0});vT.langCz=void 0;var Gre=Ou(),R$0="AbdikaceAbecedaAdresaAgreseAkceAktovkaAlejAlkoholAmputaceAnanasAndulkaAnekdotaAnketaAntikaAnulovatArchaAroganceAsfaltAsistentAspiraceAstmaAstronomAtlasAtletikaAtolAutobusAzylBabkaBachorBacilBaculkaBadatelBagetaBagrBahnoBakterieBaladaBaletkaBalkonBalonekBalvanBalzaBambusBankomatBarbarBaretBarmanBarokoBarvaBaterkaBatohBavlnaBazalkaBazilikaBazukaBednaBeranBesedaBestieBetonBezinkaBezmocBeztakBicyklBidloBiftekBikinyBilanceBiografBiologBitvaBizonBlahobytBlatouchBlechaBleduleBleskBlikatBliznaBlokovatBlouditBludBobekBobrBodlinaBodnoutBohatostBojkotBojovatBokorysBolestBorecBoroviceBotaBoubelBouchatBoudaBouleBouratBoxerBradavkaBramboraBrankaBratrBreptaBriketaBrkoBrlohBronzBroskevBrunetkaBrusinkaBrzdaBrzyBublinaBubnovatBuchtaBuditelBudkaBudovaBufetBujarostBukviceBuldokBulvaBundaBunkrBurzaButikBuvolBuzolaBydletBylinaBytovkaBzukotCapartCarevnaCedrCeduleCejchCejnCelaCelerCelkemCelniceCeninaCennostCenovkaCentrumCenzorCestopisCetkaChalupaChapadloCharitaChataChechtatChemieChichotChirurgChladChlebaChlubitChmelChmuraChobotChocholChodbaCholeraChomoutChopitChorobaChovChrapotChrlitChrtChrupChtivostChudinaChutnatChvatChvilkaChvostChybaChystatChytitCibuleCigaretaCihelnaCihlaCinkotCirkusCisternaCitaceCitrusCizinecCizostClonaCokolivCouvatCtitelCtnostCudnostCuketaCukrCupotCvaknoutCvalCvikCvrkotCyklistaDalekoDarebaDatelDatumDceraDebataDechovkaDecibelDeficitDeflaceDeklDekretDemokratDepreseDerbyDeskaDetektivDikobrazDiktovatDiodaDiplomDiskDisplejDivadloDivochDlahaDlouhoDluhopisDnesDobroDobytekDocentDochutitDodnesDohledDohodaDohraDojemDojniceDokladDokolaDoktorDokumentDolarDolevaDolinaDomaDominantDomluvitDomovDonutitDopadDopisDoplnitDoposudDoprovodDopustitDorazitDorostDortDosahDoslovDostatekDosudDosytaDotazDotekDotknoutDoufatDoutnatDovozceDozaduDoznatDozorceDrahotaDrakDramatikDravecDrazeDrdolDrobnostDrogerieDrozdDrsnostDrtitDrzostDubenDuchovnoDudekDuhaDuhovkaDusitDusnoDutostDvojiceDvorecDynamitEkologEkonomieElektronElipsaEmailEmiseEmoceEmpatieEpizodaEpochaEpopejEposEsejEsenceEskortaEskymoEtiketaEuforieEvoluceExekuceExkurzeExpediceExplozeExportExtraktFackaFajfkaFakultaFanatikFantazieFarmacieFavoritFazoleFederaceFejetonFenkaFialkaFigurantFilozofFiltrFinanceFintaFixaceFjordFlanelFlirtFlotilaFondFosforFotbalFotkaFotonFrakceFreskaFrontaFukarFunkceFyzikaGalejeGarantGenetikaGeologGilotinaGlazuraGlejtGolemGolfistaGotikaGrafGramofonGranuleGrepGrilGrogGroteskaGumaHadiceHadrHalaHalenkaHanbaHanopisHarfaHarpunaHavranHebkostHejkalHejnoHejtmanHektarHelmaHematomHerecHernaHesloHezkyHistorikHladovkaHlasivkyHlavaHledatHlenHlodavecHlohHloupostHltatHlubinaHluchotaHmatHmotaHmyzHnisHnojivoHnoutHoblinaHobojHochHodinyHodlatHodnotaHodovatHojnostHokejHolinkaHolkaHolubHomoleHonitbaHonoraceHoralHordaHorizontHorkoHorlivecHormonHorninaHoroskopHorstvoHospodaHostinaHotovostHoubaHoufHoupatHouskaHovorHradbaHraniceHravostHrazdaHrbolekHrdinaHrdloHrdostHrnekHrobkaHromadaHrotHroudaHrozenHrstkaHrubostHryzatHubenostHubnoutHudbaHukotHumrHusitaHustotaHvozdHybnostHydrantHygienaHymnaHysterikIdylkaIhnedIkonaIluzeImunitaInfekceInflaceInkasoInovaceInspekceInternetInvalidaInvestorInzerceIronieJablkoJachtaJahodaJakmileJakostJalovecJantarJarmarkJaroJasanJasnoJatkaJavorJazykJedinecJedleJednatelJehlanJekotJelenJelitoJemnostJenomJepiceJeseterJevitJezdecJezeroJinakJindyJinochJiskraJistotaJitrniceJizvaJmenovatJogurtJurtaKabaretKabelKabinetKachnaKadetKadidloKahanKajakKajutaKakaoKaktusKalamitaKalhotyKalibrKalnostKameraKamkolivKamnaKanibalKanoeKantorKapalinaKapelaKapitolaKapkaKapleKapotaKaprKapustaKapybaraKaramelKarotkaKartonKasaKatalogKatedraKauceKauzaKavalecKazajkaKazetaKazivostKdekolivKdesiKedlubenKempKeramikaKinoKlacekKladivoKlamKlapotKlasikaKlaunKlecKlenbaKlepatKlesnoutKlidKlimaKlisnaKloboukKlokanKlopaKloubKlubovnaKlusatKluzkostKmenKmitatKmotrKnihaKnotKoaliceKoberecKobkaKoblihaKobylaKocourKohoutKojenecKokosKoktejlKolapsKoledaKolizeKoloKomandoKometaKomikKomnataKomoraKompasKomunitaKonatKonceptKondiceKonecKonfeseKongresKoninaKonkursKontaktKonzervaKopanecKopieKopnoutKoprovkaKorbelKorektorKormidloKoroptevKorpusKorunaKorytoKorzetKosatecKostkaKotelKotletaKotoulKoukatKoupelnaKousekKouzloKovbojKozaKozorohKrabiceKrachKrajinaKralovatKrasopisKravataKreditKrejcarKresbaKrevetaKriketKritikKrizeKrkavecKrmelecKrmivoKrocanKrokKronikaKropitKroupaKrovkaKrtekKruhadloKrupiceKrutostKrvinkaKrychleKryptaKrystalKrytKudlankaKufrKujnostKuklaKulajdaKulichKulkaKulometKulturaKunaKupodivuKurtKurzorKutilKvalitaKvasinkaKvestorKynologKyselinaKytaraKyticeKytkaKytovecKyvadloLabradorLachtanLadnostLaikLakomecLamelaLampaLanovkaLasiceLasoLasturaLatinkaLavinaLebkaLeckdyLedenLedniceLedovkaLedvinaLegendaLegieLegraceLehceLehkostLehnoutLektvarLenochodLentilkaLepenkaLepidloLetadloLetecLetmoLetokruhLevhartLevitaceLevobokLibraLichotkaLidojedLidskostLihovinaLijavecLilekLimetkaLinieLinkaLinoleumListopadLitinaLitovatLobistaLodivodLogikaLogopedLokalitaLoketLomcovatLopataLopuchLordLososLotrLoudalLouhLoukaLouskatLovecLstivostLucernaLuciferLumpLuskLustraceLviceLyraLyrikaLysinaMadamMadloMagistrMahagonMajetekMajitelMajoritaMakakMakoviceMakrelaMalbaMalinaMalovatMalviceMaminkaMandleMankoMarnostMasakrMaskotMasopustMaticeMatrikaMaturitaMazanecMazivoMazlitMazurkaMdlobaMechanikMeditaceMedovinaMelasaMelounMentolkaMetlaMetodaMetrMezeraMigraceMihnoutMihuleMikinaMikrofonMilenecMilimetrMilostMimikaMincovnaMinibarMinometMinulostMiskaMistrMixovatMladostMlhaMlhovinaMlokMlsatMluvitMnichMnohemMobilMocnostModelkaModlitbaMohylaMokroMolekulaMomentkaMonarchaMonoklMonstrumMontovatMonzunMosazMoskytMostMotivaceMotorkaMotykaMouchaMoudrostMozaikaMozekMozolMramorMravenecMrkevMrtvolaMrzetMrzutostMstitelMudrcMuflonMulatMumieMuniceMusetMutaceMuzeumMuzikantMyslivecMzdaNabouratNachytatNadaceNadbytekNadhozNadobroNadpisNahlasNahnatNahodileNahraditNaivitaNajednouNajistoNajmoutNaklonitNakonecNakrmitNalevoNamazatNamluvitNanometrNaokoNaopakNaostroNapadatNapevnoNaplnitNapnoutNaposledNaprostoNaroditNarubyNarychloNasaditNasekatNaslepoNastatNatolikNavenekNavrchNavzdoryNazvatNebeNechatNeckyNedalekoNedbatNeduhNegaceNehetNehodaNejenNejprveNeklidNelibostNemilostNemocNeochotaNeonkaNepokojNerostNervNesmyslNesouladNetvorNeuronNevinaNezvykleNicotaNijakNikamNikdyNiklNikterakNitroNoclehNohaviceNominaceNoraNorekNositelNosnostNouzeNovinyNovotaNozdraNudaNudleNugetNutitNutnostNutrieNymfaObalObarvitObavaObdivObecObehnatObejmoutObezitaObhajobaObilniceObjasnitObjektObklopitOblastOblekOblibaOblohaObludaObnosObohatitObojekOboutObrazecObrnaObrubaObrysObsahObsluhaObstaratObuvObvazObvinitObvodObvykleObyvatelObzorOcasOcelOcenitOchladitOchotaOchranaOcitnoutOdbojOdbytOdchodOdcizitOdebratOdeslatOdevzdatOdezvaOdhadceOdhoditOdjetOdjinudOdkazOdkoupitOdlivOdlukaOdmlkaOdolnostOdpadOdpisOdploutOdporOdpustitOdpykatOdrazkaOdsouditOdstupOdsunOdtokOdtudOdvahaOdvetaOdvolatOdvracetOdznakOfinaOfsajdOhlasOhniskoOhradaOhrozitOhryzekOkapOkeniceOklikaOknoOkouzlitOkovyOkrasaOkresOkrsekOkruhOkupantOkurkaOkusitOlejninaOlizovatOmakOmeletaOmezitOmladinaOmlouvatOmluvaOmylOnehdyOpakovatOpasekOperaceOpiceOpilostOpisovatOporaOpoziceOpravduOprotiOrbitalOrchestrOrgieOrliceOrlojOrtelOsadaOschnoutOsikaOsivoOslavaOslepitOslnitOslovitOsnovaOsobaOsolitOspalecOstenOstrahaOstudaOstychOsvojitOteplitOtiskOtopOtrhatOtrlostOtrokOtrubyOtvorOvanoutOvarOvesOvlivnitOvoceOxidOzdobaPachatelPacientPadouchPahorekPaktPalandaPalecPalivoPalubaPamfletPamlsekPanenkaPanikaPannaPanovatPanstvoPantoflePaprikaParketaParodiePartaParukaParybaPasekaPasivitaPastelkaPatentPatronaPavoukPaznehtPazourekPeckaPedagogPejsekPekloPelotonPenaltaPendrekPenzePeriskopPeroPestrostPetardaPeticePetrolejPevninaPexesoPianistaPihaPijavicePiklePiknikPilinaPilnostPilulkaPinzetaPipetaPisatelPistolePitevnaPivnicePivovarPlacentaPlakatPlamenPlanetaPlastikaPlatitPlavidloPlazPlechPlemenoPlentaPlesPletivoPlevelPlivatPlnitPlnoPlochaPlodinaPlombaPloutPlukPlynPobavitPobytPochodPocitPoctivecPodatPodcenitPodepsatPodhledPodivitPodkladPodmanitPodnikPodobaPodporaPodrazPodstataPodvodPodzimPoeziePohankaPohnutkaPohovorPohromaPohybPointaPojistkaPojmoutPokazitPoklesPokojPokrokPokutaPokynPolednePolibekPolknoutPolohaPolynomPomaluPominoutPomlkaPomocPomstaPomysletPonechatPonorkaPonurostPopadatPopelPopisekPoplachPoprositPopsatPopudPoradcePorcePorodPoruchaPoryvPosaditPosedPosilaPoskokPoslanecPosouditPospoluPostavaPosudekPosypPotahPotkanPotleskPotomekPotravaPotupaPotvoraPoukazPoutoPouzdroPovahaPovidlaPovlakPovozPovrchPovstatPovykPovzdechPozdravPozemekPoznatekPozorPozvatPracovatPrahoryPraktikaPralesPraotecPraporekPrasePravdaPrincipPrknoProbuditProcentoProdejProfeseProhraProjektProlomitPromilePronikatPropadProrokProsbaProtonProutekProvazPrskavkaPrstenPrudkostPrutPrvekPrvohoryPsanecPsovodPstruhPtactvoPubertaPuchPudlPukavecPuklinaPukrlePultPumpaPuncPupenPusaPusinkaPustinaPutovatPutykaPyramidaPyskPytelRacekRachotRadiaceRadniceRadonRaftRagbyRaketaRakovinaRamenoRampouchRandeRarachRaritaRasovnaRastrRatolestRazanceRazidloReagovatReakceReceptRedaktorReferentReflexRejnokReklamaRekordRekrutRektorReputaceRevizeRevmaRevolverRezervaRiskovatRizikoRobotikaRodokmenRohovkaRokleRokokoRomanetoRopovodRopuchaRorejsRosolRostlinaRotmistrRotopedRotundaRoubenkaRouchoRoupRouraRovinaRovniceRozborRozchodRozdatRozeznatRozhodceRozinkaRozjezdRozkazRozlohaRozmarRozpadRozruchRozsahRoztokRozumRozvodRubrikaRuchadloRukaviceRukopisRybaRybolovRychlostRydloRypadloRytinaRyzostSadistaSahatSakoSamecSamizdatSamotaSanitkaSardinkaSasankaSatelitSazbaSazeniceSborSchovatSebrankaSeceseSedadloSedimentSedloSehnatSejmoutSekeraSektaSekundaSekvojeSemenoSenoServisSesaditSeshoraSeskokSeslatSestraSesuvSesypatSetbaSetinaSetkatSetnoutSetrvatSeverSeznamShodaShrnoutSifonSilniceSirkaSirotekSirupSituaceSkafandrSkaliskoSkanzenSkautSkeptikSkicaSkladbaSkleniceSkloSkluzSkobaSkokanSkoroSkriptaSkrzSkupinaSkvostSkvrnaSlabikaSladidloSlaninaSlastSlavnostSledovatSlepecSlevaSlezinaSlibSlinaSlizniceSlonSloupekSlovoSluchSluhaSlunceSlupkaSlzaSmaragdSmetanaSmilstvoSmlouvaSmogSmradSmrkSmrtkaSmutekSmyslSnadSnahaSnobSobotaSochaSodovkaSokolSopkaSotvaSoubojSoucitSoudceSouhlasSouladSoumrakSoupravaSousedSoutokSouvisetSpalovnaSpasitelSpisSplavSpodekSpojenecSpoluSponzorSpornostSpoustaSprchaSpustitSrandaSrazSrdceSrnaSrnecSrovnatSrpenSrstSrubStaniceStarostaStatikaStavbaStehnoStezkaStodolaStolekStopaStornoStoupatStrachStresStrhnoutStromStrunaStudnaStupniceStvolStykSubjektSubtropySucharSudostSuknoSundatSunoutSurikataSurovinaSvahSvalstvoSvetrSvatbaSvazekSvisleSvitekSvobodaSvodidloSvorkaSvrabSykavkaSykotSynekSynovecSypatSypkostSyrovostSyselSytostTabletkaTabuleTahounTajemnoTajfunTajgaTajitTajnostTaktikaTamhleTamponTancovatTanecTankerTapetaTaveninaTazatelTechnikaTehdyTekutinaTelefonTemnotaTendenceTenistaTenorTeplotaTepnaTeprveTerapieTermoskaTextilTichoTiskopisTitulekTkadlecTkaninaTlapkaTleskatTlukotTlupaTmelToaletaTopinkaTopolTorzoTouhaToulecTradiceTraktorTrampTrasaTraverzaTrefitTrestTrezorTrhavinaTrhlinaTrochuTrojiceTroskaTroubaTrpceTrpitelTrpkostTrubecTruchlitTruhliceTrusTrvatTudyTuhnoutTuhostTundraTuristaTurnajTuzemskoTvarohTvorbaTvrdostTvrzTygrTykevUbohostUbozeUbratUbrousekUbrusUbytovnaUchoUctivostUdivitUhraditUjednatUjistitUjmoutUkazatelUklidnitUklonitUkotvitUkrojitUliceUlitaUlovitUmyvadloUnavitUniformaUniknoutUpadnoutUplatnitUplynoutUpoutatUpravitUranUrazitUsednoutUsilovatUsmrtitUsnadnitUsnoutUsouditUstlatUstrnoutUtahovatUtkatUtlumitUtonoutUtopenecUtrousitUvalitUvolnitUvozovkaUzdravitUzelUzeninaUzlinaUznatVagonValchaValounVanaVandalVanilkaVaranVarhanyVarovatVcelkuVchodVdovaVedroVegetaceVejceVelbloudVeletrhVelitelVelmocVelrybaVenkovVerandaVerzeVeselkaVeskrzeVesniceVespoduVestaVeterinaVeverkaVibraceVichrVideohraVidinaVidleVilaViniceVisetVitalitaVizeVizitkaVjezdVkladVkusVlajkaVlakVlasecVlevoVlhkostVlivVlnovkaVloupatVnucovatVnukVodaVodivostVodoznakVodstvoVojenskyVojnaVojskoVolantVolbaVolitVolnoVoskovkaVozidloVozovnaVpravoVrabecVracetVrahVrataVrbaVrcholekVrhatVrstvaVrtuleVsaditVstoupitVstupVtipVybavitVybratVychovatVydatVydraVyfotitVyhledatVyhnoutVyhoditVyhraditVyhubitVyjasnitVyjetVyjmoutVyklopitVykonatVylekatVymazatVymezitVymizetVymysletVynechatVynikatVynutitVypadatVyplatitVypravitVypustitVyrazitVyrovnatVyrvatVyslovitVysokoVystavitVysunoutVysypatVytasitVytesatVytratitVyvinoutVyvolatVyvrhelVyzdobitVyznatVzaduVzbuditVzchopitVzdorVzduchVzdychatVzestupVzhledemVzkazVzlykatVznikVzorekVzpouraVztahVztekXylofonZabratZabydletZachovatZadarmoZadusitZafoukatZahltitZahoditZahradaZahynoutZajatecZajetZajistitZaklepatZakoupitZalepitZamezitZamotatZamysletZanechatZanikatZaplatitZapojitZapsatZarazitZastavitZasunoutZatajitZatemnitZatknoutZaujmoutZavalitZaveletZavinitZavolatZavrtatZazvonitZbavitZbrusuZbudovatZbytekZdalekaZdarmaZdatnostZdivoZdobitZdrojZdvihZdymadloZeleninaZemanZeminaZeptatZezaduZezdolaZhatitZhltnoutZhlubokaZhotovitZhrubaZimaZimniceZjemnitZklamatZkoumatZkratkaZkumavkaZlatoZlehkaZlobaZlomZlostZlozvykZmapovatZmarZmatekZmijeZmizetZmocnitZmodratZmrzlinaZmutovatZnakZnalostZnamenatZnovuZobrazitZotavitZoubekZoufaleZploditZpomalitZpravaZprostitZprudkaZprvuZradaZranitZrcadloZrnitostZrnoZrovnaZrychlitZrzavostZtichaZtratitZubovinaZubrZvednoutZvenkuZveselaZvonZvratZvukovodZvyk",Wk=null;function VBe(t){if(Wk==null&&(Wk=R$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Gre.Wordlist.check(t)!=="0x25f44555f4af25b51a711136e1c7d6e50ce9f8917d39d6b1f076b2bb4d2fac1a"))throw Wk=null,new Error("BIP39 Wordlist for en (English) FAILED")}var M$0=function(t){S$0(e,t);function e(){return t.call(this,"cz")||this}return e.prototype.getWord=function(n){return VBe(this),Wk[n]},e.prototype.getWordIndex=function(n){return VBe(this),Wk.indexOf(n)},e}(Gre.Wordlist),YBe=new M$0;vT.langCz=YBe;Gre.Wordlist.register(YBe)});var ZBe=D(wT=>{"use strict";u();p();var B$0=wT&&wT.__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(wT,"__esModule",{value:!0});wT.langEn=void 0;var Kre=Ou(),D$0="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo",qk=null;function JBe(t){if(qk==null&&(qk=D$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Kre.Wordlist.check(t)!=="0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"))throw qk=null,new Error("BIP39 Wordlist for en (English) FAILED")}var P$0=function(t){B$0(e,t);function e(){return t.call(this,"en")||this}return e.prototype.getWord=function(n){return JBe(this),qk[n]},e.prototype.getWordIndex=function(n){return JBe(this),qk.indexOf(n)},e}(Kre.Wordlist),XBe=new P$0;wT.langEn=XBe;Kre.Wordlist.register(XBe)});var rDe=D(TT=>{"use strict";u();p();var L$0=TT&&TT.__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(TT,"__esModule",{value:!0});TT.langEs=void 0;var bH=Ai(),yH=Ou(),F$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",tDe={},jk=null;function nDe(t){return yH.logger.checkNormalize(),(0,bH.toUtf8String)(Array.prototype.filter.call((0,bH.toUtf8Bytes)(t.normalize("NFD").toLowerCase()),function(e){return e>=65&&e<=90||e>=97&&e<=123}))}function N$0(t){var e=[];return Array.prototype.forEach.call((0,bH.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,bH.toUtf8String)(e)}function eDe(t){if(jk==null&&(jk=F$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map(function(e){return N$0(e)}),jk.forEach(function(e,n){tDe[nDe(e)]=n}),yH.Wordlist.check(t)!=="0xf74fb7092aeacdfbf8959557de22098da512207fb9f109cb526994938cf40300"))throw jk=null,new Error("BIP39 Wordlist for es (Spanish) FAILED")}var O$0=function(t){L$0(e,t);function e(){return t.call(this,"es")||this}return e.prototype.getWord=function(n){return eDe(this),jk[n]},e.prototype.getWordIndex=function(n){return eDe(this),tDe[nDe(n)]},e}(yH.Wordlist),aDe=new O$0;TT.langEs=aDe;yH.Wordlist.register(aDe)});var cDe=D(xT=>{"use strict";u();p();var U$0=xT&&xT.__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(xT,"__esModule",{value:!0});xT.langFr=void 0;var gH=Ai(),vH=Ou(),H$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",Gk=null,iDe={};function sDe(t){return vH.logger.checkNormalize(),(0,gH.toUtf8String)(Array.prototype.filter.call((0,gH.toUtf8Bytes)(t.normalize("NFD").toLowerCase()),function(e){return e>=65&&e<=90||e>=97&&e<=123}))}function z$0(t){var e=[];return Array.prototype.forEach.call((0,gH.toUtf8Bytes)(t),function(n){n===47?(e.push(204),e.push(129)):n===45?(e.push(204),e.push(128)):e.push(n)}),(0,gH.toUtf8String)(e)}function fDe(t){if(Gk==null&&(Gk=H$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map(function(e){return z$0(e)}),Gk.forEach(function(e,n){iDe[sDe(e)]=n}),vH.Wordlist.check(t)!=="0x51deb7ae009149dc61a6bd18a918eb7ac78d2775726c68e598b92d002519b045"))throw Gk=null,new Error("BIP39 Wordlist for fr (French) FAILED")}var W$0=function(t){U$0(e,t);function e(){return t.call(this,"fr")||this}return e.prototype.getWord=function(n){return fDe(this),Gk[n]},e.prototype.getWordIndex=function(n){return fDe(this),iDe[sDe(n)]},e}(vH.Wordlist),oDe=new W$0;xT.langFr=oDe;vH.Wordlist.register(oDe)});var pDe=D(ET=>{"use strict";u();p();var q$0=ET&&ET.__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(ET,"__esModule",{value:!0});ET.langJa=void 0;var j$0=Vt(),W5=Ai(),wH=Ou(),G$0=["AQRASRAGBAGUAIRAHBAghAURAdBAdcAnoAMEAFBAFCBKFBQRBSFBCXBCDBCHBGFBEQBpBBpQBIkBHNBeOBgFBVCBhBBhNBmOBmRBiHBiFBUFBZDBvFBsXBkFBlcBjYBwDBMBBTBBTRBWBBWXXaQXaRXQWXSRXCFXYBXpHXOQXHRXhRXuRXmXXbRXlXXwDXTRXrCXWQXWGaBWaKcaYgasFadQalmaMBacAKaRKKBKKXKKjKQRKDRKCYKCRKIDKeVKHcKlXKjHKrYNAHNBWNaRNKcNIBNIONmXNsXNdXNnBNMBNRBNrXNWDNWMNFOQABQAHQBrQXBQXFQaRQKXQKDQKOQKFQNBQNDQQgQCXQCDQGBQGDQGdQYXQpBQpQQpHQLXQHuQgBQhBQhCQuFQmXQiDQUFQZDQsFQdRQkHQbRQlOQlmQPDQjDQwXQMBQMDQcFQTBQTHQrDDXQDNFDGBDGQDGRDpFDhFDmXDZXDbRDMYDRdDTRDrXSAhSBCSBrSGQSEQSHBSVRShYShkSyQSuFSiBSdcSoESocSlmSMBSFBSFKSFNSFdSFcCByCaRCKcCSBCSRCCrCGbCEHCYXCpBCpQCIBCIHCeNCgBCgFCVECVcCmkCmwCZXCZFCdRClOClmClFCjDCjdCnXCwBCwXCcRCFQCFjGXhGNhGDEGDMGCDGCHGIFGgBGVXGVEGVRGmXGsXGdYGoSGbRGnXGwXGwDGWRGFNGFLGFOGFdGFkEABEBDEBFEXOEaBEKSENBENDEYXEIgEIkEgBEgQEgHEhFEudEuFEiBEiHEiFEZDEvBEsXEsFEdXEdREkFEbBEbRElFEPCEfkEFNYAEYAhYBNYQdYDXYSRYCEYYoYgQYgRYuRYmCYZTYdBYbEYlXYjQYRbYWRpKXpQopQnpSFpCXpIBpISphNpdBpdRpbRpcZpFBpFNpFDpFopFrLADLBuLXQLXcLaFLCXLEhLpBLpFLHXLeVLhILdHLdRLoDLbRLrXIABIBQIBCIBsIBoIBMIBRIXaIaRIKYIKRINBINuICDIGBIIDIIkIgRIxFIyQIiHIdRIbYIbRIlHIwRIMYIcRIRVITRIFBIFNIFQOABOAFOBQOaFONBONMOQFOSFOCDOGBOEQOpBOLXOIBOIFOgQOgFOyQOycOmXOsXOdIOkHOMEOMkOWWHBNHXNHXWHNXHDuHDRHSuHSRHHoHhkHmRHdRHkQHlcHlRHwBHWcgAEgAggAkgBNgBQgBEgXOgYcgLXgHjgyQgiBgsFgdagMYgWSgFQgFEVBTVXEVKBVKNVKDVKYVKRVNBVNYVDBVDxVSBVSRVCjVGNVLXVIFVhBVhcVsXVdRVbRVlRhBYhKYhDYhGShxWhmNhdahdkhbRhjohMXhTRxAXxXSxKBxNBxEQxeNxeQxhXxsFxdbxlHxjcxFBxFNxFQxFOxFoyNYyYoybcyMYuBQuBRuBruDMuCouHBudQukkuoBulVuMXuFEmCYmCRmpRmeDmiMmjdmTFmFQiADiBOiaRiKRiNBiNRiSFiGkiGFiERipRiLFiIFihYibHijBijEiMXiWBiFBiFCUBQUXFUaRUNDUNcUNRUNFUDBUSHUCDUGBUGFUEqULNULoUIRUeEUeYUgBUhFUuRUiFUsXUdFUkHUbBUjSUjYUwXUMDUcHURdUTBUrBUrXUrQZAFZXZZaRZKFZNBZQFZCXZGBZYdZpBZLDZIFZHXZHNZeQZVRZVFZmXZiBZvFZdFZkFZbHZbFZwXZcCZcRZRBvBQvBGvBLvBWvCovMYsAFsBDsaRsKFsNFsDrsSHsSFsCXsCRsEBsEHsEfspBsLBsLDsIgsIRseGsbRsFBsFQsFSdNBdSRdCVdGHdYDdHcdVbdySduDdsXdlRdwXdWYdWcdWRkBMkXOkaRkNIkNFkSFkCFkYBkpRkeNkgBkhVkmXksFklVkMBkWDkFNoBNoaQoaFoNBoNXoNaoNEoSRoEroYXoYCoYbopRopFomXojkowXorFbBEbEIbdBbjYlaRlDElMXlFDjKjjSRjGBjYBjYkjpRjLXjIBjOFjeVjbRjwBnXQnSHnpFnLXnINnMBnTRwXBwXNwXYwNFwQFwSBwGFwLXwLDweNwgBwuHwjDwnXMBXMpFMIBMeNMTHcaQcNBcDHcSFcCXcpBcLXcLDcgFcuFcnXcwXccDcTQcrFTQErXNrCHrpFrgFrbFrTHrFcWNYWNbWEHWMXWTR","ABGHABIJAEAVAYJQALZJAIaRAHNXAHdcAHbRAZJMAZJRAZTRAdVJAklmAbcNAjdRAMnRAMWYAWpRAWgRAFgBAFhBAFdcBNJBBNJDBQKBBQhcBQlmBDEJBYJkBYJTBpNBBpJFBIJBBIJDBIcABOKXBOEJBOVJBOiJBOZJBepBBeLXBeIFBegBBgGJBVJXBuocBiJRBUJQBlXVBlITBwNFBMYVBcqXBTlmBWNFBWiJBWnRBFGHBFwXXKGJXNJBXNZJXDTTXSHSXSVRXSlHXCJDXGQJXEhXXYQJXYbRXOfXXeNcXVJFXhQJXhEJXdTRXjdXXMhBXcQTXRGBXTEBXTnQXFCXXFOFXFgFaBaFaBNJaBCJaBpBaBwXaNJKaNJDaQIBaDpRaEPDaHMFamDJalEJaMZJaFaFaFNBaFQJaFLDaFVHKBCYKBEBKBHDKXaFKXGdKXEJKXpHKXIBKXZDKXwXKKwLKNacKNYJKNJoKNWcKDGdKDTRKChXKGaRKGhBKGbRKEBTKEaRKEPTKLMDKLWRKOHDKVJcKdBcKlIBKlOPKFSBKFEPKFpFNBNJNJBQNBGHNBEPNBHXNBgFNBVXNBZDNBsXNBwXNNaRNNJDNNJENNJkNDCJNDVDNGJRNJiDNZJNNsCJNJFNNFSBNFCXNFEPNFLXNFIFQJBFQCaRQJEQQLJDQLJFQIaRQOqXQHaFQHHQQVJXQVJDQhNJQmEIQZJFQsJXQJrFQWbRDJABDBYJDXNFDXCXDXLXDXZDDXsJDQqXDSJFDJCXDEPkDEqXDYmQDpSJDOCkDOGQDHEIDVJDDuDuDWEBDJFgSBNDSBSFSBGHSBIBSBTQSKVYSJQNSJQiSJCXSEqXSJYVSIiJSOMYSHAHSHaQSeCFSepQSegBSHdHSHrFShSJSJuHSJUFSkNRSrSrSWEBSFaHSJFQSFCXSFGDSFYXSFODSFgBSFVXSFhBSFxFSFkFSFbBSFMFCADdCJXBCXaFCXKFCXNFCXCXCXGBCXEJCXYBCXLDCXIBCXOPCXHXCXgBCXhBCXiBCXlDCXcHCJNBCJNFCDCJCDGBCDVXCDhBCDiDCDJdCCmNCpJFCIaRCOqXCHCHCHZJCViJCuCuCmddCJiFCdNBCdHhClEJCnUJCreSCWlgCWTRCFBFCFNBCFYBCFVFCFhFCFdSCFTBCFWDGBNBGBQFGJBCGBEqGBpBGBgQGNBEGNJYGNkOGNJRGDUFGJpQGHaBGJeNGJeEGVBlGVKjGiJDGvJHGsVJGkEBGMIJGWjNGFBFGFCXGFGBGFYXGFpBGFMFEASJEAWpEJNFECJVEIXSEIQJEOqXEOcFEeNcEHEJEHlFEJgFEhlmEmDJEmZJEiMBEUqXEoSREPBFEPXFEPKFEPSFEPEFEPpFEPLXEPIBEJPdEPcFEPTBEJnXEqlHEMpREFCXEFODEFcFYASJYJAFYBaBYBVXYXpFYDhBYCJBYJGFYYbRYeNcYJeVYiIJYZJcYvJgYvJRYJsXYsJFYMYMYreVpBNHpBEJpBwXpQxFpYEJpeNDpJeDpeSFpeCHpHUJpHbBpHcHpmUJpiiJpUJrpsJuplITpFaBpFQqpFGBpFEfpFYBpFpBpFLJpFIDpFgBpFVXpFyQpFuFpFlFpFjDpFnXpFwXpJFMpFTBLXCJLXEFLXhFLXUJLXbFLalmLNJBLSJQLCLCLGJBLLDJLHaFLeNFLeSHLeCXLepFLhaRLZsJLsJDLsJrLocaLlLlLMdbLFNBLFSBLFEHLFkFIBBFIBXFIBaQIBKXIBSFIBpHIBLXIBgBIBhBIBuHIBmXIBiFIBZXIBvFIBbFIBjQIBwXIBWFIKTRIQUJIDGFICjQIYSRIINXIJeCIVaRImEkIZJFIvJRIsJXIdCJIJoRIbBQIjYBIcqXITFVIreVIFKFIFSFIFCJIFGFIFLDIFIBIJFOIFgBIFVXIJFhIFxFIFmXIFdHIFbBIJFrIJFWOBGBOQfXOOKjOUqXOfXBOqXEOcqXORVJOFIBOFlDHBIOHXiFHNTRHCJXHIaRHHJDHHEJHVbRHZJYHbIBHRsJHRkDHWlmgBKFgBSBgBCDgBGHgBpBgBIBgBVJgBuBgBvFgKDTgQVXgDUJgGSJgOqXgmUMgZIJgTUJgWIEgFBFgFNBgFDJgFSFgFGBgFYXgJFOgFgQgFVXgFhBgFbHgJFWVJABVQKcVDgFVOfXVeDFVhaRVmGdViJYVMaRVFNHhBNDhBCXhBEqhBpFhBLXhNJBhSJRheVXhhKEhxlmhZIJhdBQhkIJhbMNhMUJhMZJxNJgxQUJxDEkxDdFxSJRxplmxeSBxeCXxeGFxeYXxepQxegBxWVcxFEQxFLXxFIBxFgBxFxDxFZtxFdcxFbBxFwXyDJXyDlcuASJuDJpuDIBuCpJuGSJuIJFueEFuZIJusJXudWEuoIBuWGJuFBcuFKEuFNFuFQFuFDJuFGJuFVJuFUtuFdHuFTBmBYJmNJYmQhkmLJDmLJomIdXmiJYmvJRmsJRmklmmMBymMuCmclmmcnQiJABiJBNiJBDiBSFiBCJiBEFiBYBiBpFiBLXiBTHiJNciDEfiCZJiECJiJEqiOkHiHKFieNDiHJQieQcieDHieSFieCXieGFieEFieIHiegFihUJixNoioNXiFaBiFKFiFNDiFEPiFYXitFOitFHiFgBiFVEiFmXiFitiFbBiFMFiFrFUCXQUIoQUIJcUHQJUeCEUHwXUUJDUUqXUdWcUcqXUrnQUFNDUFSHUFCFUFEfUFLXUtFOZBXOZXSBZXpFZXVXZEQJZEJkZpDJZOqXZeNHZeCDZUqXZFBQZFEHZFLXvBAFvBKFvBCXvBEPvBpHvBIDvBgFvBuHvQNJvFNFvFGBvFIBvJFcsXCDsXLXsXsXsXlFsXcHsQqXsJQFsEqXseIFsFEHsFjDdBxOdNpRdNJRdEJbdpJRdhZJdnSJdrjNdFNJdFQHdFhNkNJDkYaRkHNRkHSRkVbRkuMRkjSJkcqDoSJFoEiJoYZJoOfXohEBoMGQocqXbBAFbBXFbBaFbBNDbBGBbBLXbBTBbBWDbGJYbIJHbFQqbFpQlDgQlOrFlVJRjGEBjZJRnXvJnXbBnEfHnOPDngJRnxfXnUJWwXEJwNpJwDpBwEfXwrEBMDCJMDGHMDIJMLJDcQGDcQpHcqXccqNFcqCXcFCJRBSBRBGBRBEJRBpQTBNFTBQJTBpBTBVXTFABTFSBTFCFTFGBTFMDrXCJrXLDrDNJrEfHrFQJrFitWNjdWNTR","AKLJMANOPFASNJIAEJWXAYJNRAIIbRAIcdaAeEfDAgidRAdjNYAMYEJAMIbRAFNJBAFpJFBBIJYBDZJFBSiJhBGdEBBEJfXBEJqXBEJWRBpaUJBLXrXBIYJMBOcfXBeEfFBestXBjNJRBcDJOBFEqXXNvJRXDMBhXCJNYXOAWpXONJWXHDEBXeIaRXhYJDXZJSJXMDJOXcASJXFVJXaBQqXaBZJFasXdQaFSJQaFEfXaFpJHaFOqXKBNSRKXvJBKQJhXKEJQJKEJGFKINJBKIJjNKgJNSKVElmKVhEBKiJGFKlBgJKjnUJKwsJYKMFIJKFNJDKFIJFKFOfXNJBSFNJBCXNBpJFNJBvQNJBMBNJLJXNJOqXNJeCXNJeGFNdsJCNbTKFNwXUJQNFEPQDiJcQDMSJQSFpBQGMQJQJeOcQyCJEQUJEBQJFBrQFEJqDXDJFDJXpBDJXIMDGiJhDIJGRDJeYcDHrDJDVXgFDkAWpDkIgRDjDEqDMvJRDJFNFDJFIBSKclmSJQOFSJQVHSJQjDSJGJBSJGJFSECJoSHEJqSJHTBSJVJDSViJYSZJNBSJsJDSFSJFSFEfXSJFLXCBUJVCJXSBCJXpBCXVJXCJXsXCJXdFCJNJHCLIJgCHiJFCVNJMChCJhCUHEJCsJTRCJdYcCoQJCCFEfXCFIJgCFUJxCFstFGJBaQGJBIDGQJqXGYJNRGJHKFGeQqDGHEJFGJeLXGHIiJGHdBlGUJEBGkIJTGFQPDGJFEqEAGegEJIJBEJVJXEhQJTEiJNcEJZJFEJoEqEjDEqEPDsXEPGJBEPOqXEPeQFEfDiDEJfEFEfepQEfMiJEqXNBEqDIDEqeSFEqVJXEMvJRYXNJDYXEJHYKVJcYYJEBYJeEcYJUqXYFpJFYFstXpAZJMpBSJFpNBNFpeQPDpHLJDpHIJFpHgJFpeitFpHZJFpJFADpFSJFpJFCJpFOqXpFitBpJFZJLXIJFLIJgRLVNJWLVHJMLwNpJLFGJBLFLJDLFOqXLJFUJIBDJXIBGJBIJBYQIJBIBIBOqXIBcqDIEGJFILNJTIIJEBIOiJhIJeNBIJeIBIhiJIIWoTRIJFAHIJFpBIJFuHIFUtFIJFTHOSBYJOEcqXOHEJqOvBpFOkVJrObBVJOncqDOcNJkHhNJRHuHJuHdMhBgBUqXgBsJXgONJBgHNJDgHHJQgJeitgHsJXgJyNagyDJBgZJDrgsVJQgkEJNgkjSJgJFAHgFCJDgFZtMVJXNFVXQfXVJXDJVXoQJVQVJQVDEfXVDvJHVEqNFVeQfXVHpJFVHxfXVVJSRVVmaRVlIJOhCXVJhHjYkhxCJVhWVUJhWiJcxBNJIxeEqDxfXBFxcFEPxFSJFxFYJXyBDQJydaUJyFOPDuYCJYuLvJRuHLJXuZJLDuFOPDuFZJHuFcqXmKHJdmCQJcmOsVJiJAGFitLCFieOfXiestXiZJMEikNJQirXzFiFQqXiFIJFiFZJFiFvtFUHpJFUteIcUteOcUVCJkUhdHcUbEJEUJqXQUMNJhURjYkUFitFZDGJHZJIxDZJVJXZJFDJZJFpQvBNJBvBSJFvJxBrseQqDsVFVJdFLJDkEJNBkmNJYkFLJDoQJOPoGsJRoEAHBoEJfFbBQqDbBZJHbFVJXlFIJBjYIrXjeitcjjCEBjWMNBwXQfXwXOaFwDsJXwCJTRwrCZJMDNJQcDDJFcqDOPRYiJFTBsJXTQIJBTFEfXTFLJDrXEJFrEJXMrFZJFWEJdEWYTlm","ABCDEFACNJTRAMBDJdAcNJVXBLNJEBXSIdWRXErNJkXYDJMBXZJCJaXMNJaYKKVJKcKDEJqXKDcNJhKVJrNYKbgJVXKFVJSBNBYBwDNJeQfXNJeEqXNhGJWENJFiJRQlIJbEQJfXxDQqXcfXQFNDEJQFwXUJDYcnUJDJIBgQDIUJTRDJFEqDSJQSJFSJQIJFSOPeZtSJFZJHCJXQfXCTDEqFGJBSJFGJBOfXGJBcqXGJHNJDGJRLiJEJfXEqEJFEJPEFpBEJYJBZJFYBwXUJYiJMEBYJZJyTYTONJXpQMFXFpeGIDdpJFstXpJFcPDLBVSJRLHQJqXLJFZJFIJBNJDIJBUqXIBkFDJIJEJPTIYJGWRIJeQPDIJeEfHIJFsJXOqGDSFHXEJqXgJCsJCgGQJqXgdQYJEgFMFNBgJFcqDVJwXUJVJFZJchIgJCCxOEJqXxOwXUJyDJBVRuscisciJBiJBieUtqXiJFDJkiFsJXQUGEZJcUJFsJXZtXIrXZDZJDrZJFNJDZJFstXvJFQqXvJFCJEsJXQJqkhkNGBbDJdTRbYJMEBlDwXUJMEFiJFcfXNJDRcNJWMTBLJXC","BraFUtHBFSJFdbNBLJXVJQoYJNEBSJBEJfHSJHwXUJCJdAZJMGjaFVJXEJPNJBlEJfFiJFpFbFEJqIJBVJCrIBdHiJhOPFChvJVJZJNJWxGFNIFLueIBQJqUHEJfUFstOZJDrlXEASJRlXVJXSFwVJNJWD","QJEJNNJDQJEJIBSFQJEJxegBQJEJfHEPSJBmXEJFSJCDEJqXLXNJFQqXIcQsFNJFIFEJqXUJgFsJXIJBUJEJfHNFvJxEqXNJnXUJFQqD","IJBEJqXZJ"],K$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",I6=null;function dDe(t){return(0,j$0.hexlify)((0,W5.toUtf8Bytes)(t))}var Q$0="0xe3818de38284e3818f",V$0="0xe3818de38283e3818f";function lDe(t){if(I6!==null)return;I6=[];var e={};e[(0,W5.toUtf8String)([227,130,154])]=!1,e[(0,W5.toUtf8String)([227,130,153])]=!1,e[(0,W5.toUtf8String)([227,130,133])]=(0,W5.toUtf8String)([227,130,134]),e[(0,W5.toUtf8String)([227,129,163])]=(0,W5.toUtf8String)([227,129,164]),e[(0,W5.toUtf8String)([227,130,131])]=(0,W5.toUtf8String)([227,130,132]),e[(0,W5.toUtf8String)([227,130,135])]=(0,W5.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=G$0[r-3],i=0;i{"use strict";u();p();var $$0=_T&&_T.__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(_T,"__esModule",{value:!0});_T.langKo=void 0;var J$0=Ai(),Qre=Ou(),X$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"],Z$0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*";function eJ0(t){return t>=40?t=t+168-40:t>=19&&(t=t+97-19),(0,J$0.toUtf8String)([225,(t>>6)+132,(t&63)+128])}var T7=null;function hDe(t){if(T7==null&&(T7=[],X$0.forEach(function(e,n){n+=4;for(var a=0;a{"use strict";u();p();var nJ0=AT&&AT.__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(AT,"__esModule",{value:!0});AT.langIt=void 0;var Vre=Ou(),aJ0="AbacoAbbaglioAbbinatoAbeteAbissoAbolireAbrasivoAbrogatoAccadereAccennoAccusatoAcetoneAchilleAcidoAcquaAcreAcrilicoAcrobataAcutoAdagioAddebitoAddomeAdeguatoAderireAdipeAdottareAdulareAffabileAffettoAffissoAffrantoAforismaAfosoAfricanoAgaveAgenteAgevoleAggancioAgireAgitareAgonismoAgricoloAgrumetoAguzzoAlabardaAlatoAlbatroAlberatoAlboAlbumeAlceAlcolicoAlettoneAlfaAlgebraAlianteAlibiAlimentoAllagatoAllegroAllievoAllodolaAllusivoAlmenoAlogenoAlpacaAlpestreAltalenaAlternoAlticcioAltroveAlunnoAlveoloAlzareAmalgamaAmanitaAmarenaAmbitoAmbratoAmebaAmericaAmetistaAmicoAmmassoAmmendaAmmirareAmmonitoAmoreAmpioAmpliareAmuletoAnacardoAnagrafeAnalistaAnarchiaAnatraAncaAncellaAncoraAndareAndreaAnelloAngeloAngolareAngustoAnimaAnnegareAnnidatoAnnoAnnuncioAnonimoAnticipoAnziApaticoAperturaApodeApparireAppetitoAppoggioApprodoAppuntoAprileArabicaArachideAragostaAraldicaArancioAraturaArazzoArbitroArchivioArditoArenileArgentoArgineArgutoAriaArmoniaArneseArredatoArringaArrostoArsenicoArsoArteficeArzilloAsciuttoAscoltoAsepsiAsetticoAsfaltoAsinoAsolaAspiratoAsproAssaggioAsseAssolutoAssurdoAstaAstenutoAsticeAstrattoAtavicoAteismoAtomicoAtonoAttesaAttivareAttornoAttritoAttualeAusilioAustriaAutistaAutonomoAutunnoAvanzatoAvereAvvenireAvvisoAvvolgereAzioneAzotoAzzimoAzzurroBabeleBaccanoBacinoBacoBadessaBadilataBagnatoBaitaBalconeBaldoBalenaBallataBalzanoBambinoBandireBaraondaBarbaroBarcaBaritonoBarlumeBaroccoBasilicoBassoBatostaBattutoBauleBavaBavosaBeccoBeffaBelgioBelvaBendaBenevoleBenignoBenzinaBereBerlinaBetaBibitaBiciBidoneBifidoBigaBilanciaBimboBinocoloBiologoBipedeBipolareBirbanteBirraBiscottoBisestoBisnonnoBisonteBisturiBizzarroBlandoBlattaBollitoBonificoBordoBoscoBotanicoBottinoBozzoloBraccioBradipoBramaBrancaBravuraBretellaBrevettoBrezzaBrigliaBrillanteBrindareBroccoloBrodoBronzinaBrulloBrunoBubboneBucaBudinoBuffoneBuioBulboBuonoBurloneBurrascaBussolaBustaCadettoCaducoCalamaroCalcoloCalesseCalibroCalmoCaloriaCambusaCamerataCamiciaCamminoCamolaCampaleCanapaCandelaCaneCaninoCanottoCantinaCapaceCapelloCapitoloCapogiroCapperoCapraCapsulaCarapaceCarcassaCardoCarismaCarovanaCarrettoCartolinaCasaccioCascataCasermaCasoCassoneCastelloCasualeCatastaCatenaCatrameCautoCavilloCedibileCedrataCefaloCelebreCellulareCenaCenoneCentesimoCeramicaCercareCertoCerumeCervelloCesoiaCespoCetoChelaChiaroChiccaChiedereChimeraChinaChirurgoChitarraCiaoCiclismoCifrareCignoCilindroCiottoloCircaCirrosiCitricoCittadinoCiuffoCivettaCivileClassicoClinicaCloroCoccoCodardoCodiceCoerenteCognomeCollareColmatoColoreColposoColtivatoColzaComaCometaCommandoComodoComputerComuneConcisoCondurreConfermaCongelareConiugeConnessoConoscereConsumoContinuoConvegnoCopertoCopioneCoppiaCopricapoCorazzaCordataCoricatoCorniceCorollaCorpoCorredoCorsiaCorteseCosmicoCostanteCotturaCovatoCratereCravattaCreatoCredereCremosoCrescitaCretaCricetoCrinaleCrisiCriticoCroceCronacaCrostataCrucialeCruscaCucireCuculoCuginoCullatoCupolaCuratoreCursoreCurvoCuscinoCustodeDadoDainoDalmataDamerinoDanielaDannosoDanzareDatatoDavantiDavveroDebuttoDecennioDecisoDeclinoDecolloDecretoDedicatoDefinitoDeformeDegnoDelegareDelfinoDelirioDeltaDemenzaDenotatoDentroDepositoDerapataDerivareDerogaDescrittoDesertoDesiderioDesumereDetersivoDevotoDiametroDicembreDiedroDifesoDiffusoDigerireDigitaleDiluvioDinamicoDinnanziDipintoDiplomaDipoloDiradareDireDirottoDirupoDisagioDiscretoDisfareDisgeloDispostoDistanzaDisumanoDitoDivanoDiveltoDividereDivoratoDobloneDocenteDoganaleDogmaDolceDomatoDomenicaDominareDondoloDonoDormireDoteDottoreDovutoDozzinaDragoDruidoDubbioDubitareDucaleDunaDuomoDupliceDuraturoEbanoEccessoEccoEclissiEconomiaEderaEdicolaEdileEditoriaEducareEgemoniaEgliEgoismoEgregioElaboratoElargireEleganteElencatoElettoElevareElficoElicaElmoElsaElusoEmanatoEmblemaEmessoEmiroEmotivoEmozioneEmpiricoEmuloEndemicoEnduroEnergiaEnfasiEnotecaEntrareEnzimaEpatiteEpilogoEpisodioEpocaleEppureEquatoreErarioErbaErbosoEredeEremitaErigereErmeticoEroeErosivoErranteEsagonoEsameEsanimeEsaudireEscaEsempioEsercitoEsibitoEsigenteEsistereEsitoEsofagoEsortatoEsosoEspansoEspressoEssenzaEssoEstesoEstimareEstoniaEstrosoEsultareEtilicoEtnicoEtruscoEttoEuclideoEuropaEvasoEvidenzaEvitatoEvolutoEvvivaFabbricaFaccendaFachiroFalcoFamigliaFanaleFanfaraFangoFantasmaFareFarfallaFarinosoFarmacoFasciaFastosoFasulloFaticareFatoFavolosoFebbreFecolaFedeFegatoFelpaFeltroFemminaFendereFenomenoFermentoFerroFertileFessuraFestivoFettaFeudoFiabaFiduciaFifaFiguratoFiloFinanzaFinestraFinireFioreFiscaleFisicoFiumeFlaconeFlamencoFleboFlemmaFloridoFluenteFluoroFobicoFocacciaFocosoFoderatoFoglioFolataFolcloreFolgoreFondenteFoneticoFoniaFontanaForbitoForchettaForestaFormicaFornaioForoFortezzaForzareFosfatoFossoFracassoFranaFrassinoFratelloFreccettaFrenataFrescoFrigoFrollinoFrondeFrugaleFruttaFucilataFucsiaFuggenteFulmineFulvoFumanteFumettoFumosoFuneFunzioneFuocoFurboFurgoneFuroreFusoFutileGabbianoGaffeGalateoGallinaGaloppoGamberoGammaGaranziaGarboGarofanoGarzoneGasdottoGasolioGastricoGattoGaudioGazeboGazzellaGecoGelatinaGelsoGemelloGemmatoGeneGenitoreGennaioGenotipoGergoGhepardoGhiaccioGhisaGialloGildaGineproGiocareGioielloGiornoGioveGiratoGironeGittataGiudizioGiuratoGiustoGlobuloGlutineGnomoGobbaGolfGomitoGommoneGonfioGonnaGovernoGracileGradoGraficoGrammoGrandeGrattareGravosoGraziaGrecaGreggeGrifoneGrigioGrinzaGrottaGruppoGuadagnoGuaioGuantoGuardareGufoGuidareIbernatoIconaIdenticoIdillioIdoloIdraIdricoIdrogenoIgieneIgnaroIgnoratoIlareIllesoIllogicoIlludereImballoImbevutoImboccoImbutoImmaneImmersoImmolatoImpaccoImpetoImpiegoImportoImprontaInalareInarcareInattivoIncantoIncendioInchinoIncisivoInclusoIncontroIncrocioIncuboIndagineIndiaIndoleIneditoInfattiInfilareInflittoIngaggioIngegnoIngleseIngordoIngrossoInnescoInodoreInoltrareInondatoInsanoInsettoInsiemeInsonniaInsulinaIntasatoInteroIntonacoIntuitoInumidireInvalidoInveceInvitoIperboleIpnoticoIpotesiIppicaIrideIrlandaIronicoIrrigatoIrrorareIsolatoIsotopoIstericoIstitutoIstriceItaliaIterareLabbroLabirintoLaccaLaceratoLacrimaLacunaLaddoveLagoLampoLancettaLanternaLardosoLargaLaringeLastraLatenzaLatinoLattugaLavagnaLavoroLegaleLeggeroLemboLentezzaLenzaLeoneLepreLesivoLessatoLestoLetteraleLevaLevigatoLiberoLidoLievitoLillaLimaturaLimitareLimpidoLineareLinguaLiquidoLiraLiricaLiscaLiteLitigioLivreaLocandaLodeLogicaLombareLondraLongevoLoquaceLorenzoLotoLotteriaLuceLucidatoLumacaLuminosoLungoLupoLuppoloLusingaLussoLuttoMacabroMacchinaMaceroMacinatoMadamaMagicoMagliaMagneteMagroMaiolicaMalafedeMalgradoMalintesoMalsanoMaltoMalumoreManaManciaMandorlaMangiareManifestoMannaroManovraMansardaMantideManubrioMappaMaratonaMarcireMarettaMarmoMarsupioMascheraMassaiaMastinoMaterassoMatricolaMattoneMaturoMazurcaMeandroMeccanicoMecenateMedesimoMeditareMegaMelassaMelisMelodiaMeningeMenoMensolaMercurioMerendaMerloMeschinoMeseMessereMestoloMetalloMetodoMettereMiagolareMicaMicelioMicheleMicroboMidolloMieleMiglioreMilanoMiliteMimosaMineraleMiniMinoreMirinoMirtilloMiscelaMissivaMistoMisurareMitezzaMitigareMitraMittenteMnemonicoModelloModificaModuloMoganoMogioMoleMolossoMonasteroMoncoMondinaMonetarioMonileMonotonoMonsoneMontatoMonvisoMoraMordereMorsicatoMostroMotivatoMotosegaMottoMovenzaMovimentoMozzoMuccaMucosaMuffaMughettoMugnaioMulattoMulinelloMultiploMummiaMuntoMuovereMuraleMusaMuscoloMusicaMutevoleMutoNababboNaftaNanometroNarcisoNariceNarratoNascereNastrareNaturaleNauticaNaviglioNebulosaNecrosiNegativoNegozioNemmenoNeofitaNerettoNervoNessunoNettunoNeutraleNeveNevroticoNicchiaNinfaNitidoNobileNocivoNodoNomeNominaNordicoNormaleNorvegeseNostranoNotareNotiziaNotturnoNovellaNucleoNullaNumeroNuovoNutrireNuvolaNuzialeOasiObbedireObbligoObeliscoOblioOboloObsoletoOccasioneOcchioOccidenteOccorrereOccultareOcraOculatoOdiernoOdorareOffertaOffrireOffuscatoOggettoOggiOgnunoOlandeseOlfattoOliatoOlivaOlogrammaOltreOmaggioOmbelicoOmbraOmegaOmissioneOndosoOnereOniceOnnivoroOnorevoleOntaOperatoOpinioneOppostoOracoloOrafoOrdineOrecchinoOreficeOrfanoOrganicoOrigineOrizzonteOrmaOrmeggioOrnativoOrologioOrrendoOrribileOrtensiaOrticaOrzataOrzoOsareOscurareOsmosiOspedaleOspiteOssaOssidareOstacoloOsteOtiteOtreOttagonoOttimoOttobreOvaleOvestOvinoOviparoOvocitoOvunqueOvviareOzioPacchettoPacePacificoPadellaPadronePaesePagaPaginaPalazzinaPalesarePallidoPaloPaludePandoroPannelloPaoloPaonazzoPapricaParabolaParcellaParerePargoloPariParlatoParolaPartireParvenzaParzialePassivoPasticcaPataccaPatologiaPattumePavonePeccatoPedalarePedonalePeggioPelosoPenarePendicePenisolaPennutoPenombraPensarePentolaPepePepitaPerbenePercorsoPerdonatoPerforarePergamenaPeriodoPermessoPernoPerplessoPersuasoPertugioPervasoPesatorePesistaPesoPestiferoPetaloPettinePetulantePezzoPiacerePiantaPiattinoPiccinoPicozzaPiegaPietraPifferoPigiamaPigolioPigroPilaPiliferoPillolaPilotaPimpantePinetaPinnaPinoloPioggiaPiomboPiramidePireticoPiritePirolisiPitonePizzicoPlaceboPlanarePlasmaPlatanoPlenarioPochezzaPoderosoPodismoPoesiaPoggiarePolentaPoligonoPollicePolmonitePolpettaPolsoPoltronaPolverePomicePomodoroPontePopolosoPorfidoPorosoPorporaPorrePortataPosaPositivoPossessoPostulatoPotassioPoterePranzoPrassiPraticaPreclusoPredicaPrefissoPregiatoPrelievoPremerePrenotarePreparatoPresenzaPretestoPrevalsoPrimaPrincipePrivatoProblemaProcuraProdurreProfumoProgettoProlungaPromessaPronomePropostaProrogaProtesoProvaPrudentePrugnaPruritoPsichePubblicoPudicaPugilatoPugnoPulcePulitoPulsantePuntarePupazzoPupillaPuroQuadroQualcosaQuasiQuerelaQuotaRaccoltoRaddoppioRadicaleRadunatoRafficaRagazzoRagioneRagnoRamarroRamingoRamoRandagioRantolareRapatoRapinaRappresoRasaturaRaschiatoRasenteRassegnaRastrelloRataRavvedutoRealeRecepireRecintoReclutaReconditoRecuperoRedditoRedimereRegalatoRegistroRegolaRegressoRelazioneRemareRemotoRennaReplicaReprimereReputareResaResidenteResponsoRestauroReteRetinaRetoricaRettificaRevocatoRiassuntoRibadireRibelleRibrezzoRicaricaRiccoRicevereRiciclatoRicordoRicredutoRidicoloRidurreRifasareRiflessoRiformaRifugioRigareRigettatoRighelloRilassatoRilevatoRimanereRimbalzoRimedioRimorchioRinascitaRincaroRinforzoRinnovoRinomatoRinsavitoRintoccoRinunciaRinvenireRiparatoRipetutoRipienoRiportareRipresaRipulireRisataRischioRiservaRisibileRisoRispettoRistoroRisultatoRisvoltoRitardoRitegnoRitmicoRitrovoRiunioneRivaRiversoRivincitaRivoltoRizomaRobaRoboticoRobustoRocciaRocoRodaggioRodereRoditoreRogitoRollioRomanticoRompereRonzioRosolareRospoRotanteRotondoRotulaRovescioRubizzoRubricaRugaRullinoRumineRumorosoRuoloRupeRussareRusticoSabatoSabbiareSabotatoSagomaSalassoSaldaturaSalgemmaSalivareSalmoneSaloneSaltareSalutoSalvoSapereSapidoSaporitoSaracenoSarcasmoSartoSassosoSatelliteSatiraSatolloSaturnoSavanaSavioSaziatoSbadiglioSbalzoSbancatoSbarraSbattereSbavareSbendareSbirciareSbloccatoSbocciatoSbrinareSbruffoneSbuffareScabrosoScadenzaScalaScambiareScandaloScapolaScarsoScatenareScavatoSceltoScenicoScettroSchedaSchienaSciarpaScienzaScindereScippoSciroppoScivoloSclerareScodellaScolpitoScompartoSconfortoScoprireScortaScossoneScozzeseScribaScrollareScrutinioScuderiaScultoreScuolaScuroScusareSdebitareSdoganareSeccaturaSecondoSedanoSeggiolaSegnalatoSegregatoSeguitoSelciatoSelettivoSellaSelvaggioSemaforoSembrareSemeSeminatoSempreSensoSentireSepoltoSequenzaSerataSerbatoSerenoSerioSerpenteSerraglioServireSestinaSetolaSettimanaSfaceloSfaldareSfamatoSfarzosoSfaticatoSferaSfidaSfilatoSfingeSfocatoSfoderareSfogoSfoltireSforzatoSfrattoSfruttatoSfuggitoSfumareSfusoSgabelloSgarbatoSgonfiareSgorbioSgrassatoSguardoSibiloSiccomeSierraSiglaSignoreSilenzioSillabaSimboloSimpaticoSimulatoSinfoniaSingoloSinistroSinoSintesiSinusoideSiparioSismaSistoleSituatoSlittaSlogaturaSlovenoSmarritoSmemoratoSmentitoSmeraldoSmilzoSmontareSmottatoSmussatoSnellireSnervatoSnodoSobbalzoSobrioSoccorsoSocialeSodaleSoffittoSognoSoldatoSolenneSolidoSollazzoSoloSolubileSolventeSomaticoSommaSondaSonettoSonniferoSopireSoppesoSopraSorgereSorpassoSorrisoSorsoSorteggioSorvolatoSospiroSostaSottileSpadaSpallaSpargereSpatolaSpaventoSpazzolaSpecieSpedireSpegnereSpelaturaSperanzaSpessoreSpettraleSpezzatoSpiaSpigolosoSpillatoSpinosoSpiraleSplendidoSportivoSposoSprangaSprecareSpronatoSpruzzoSpuntinoSquilloSradicareSrotolatoStabileStaccoStaffaStagnareStampatoStantioStarnutoStaseraStatutoSteloSteppaSterzoStilettoStimaStirpeStivaleStizzosoStonatoStoricoStrappoStregatoStriduloStrozzareStruttoStuccareStufoStupendoSubentroSuccosoSudoreSuggeritoSugoSultanoSuonareSuperboSupportoSurgelatoSurrogatoSussurroSuturaSvagareSvedeseSveglioSvelareSvenutoSveziaSviluppoSvistaSvizzeraSvoltaSvuotareTabaccoTabulatoTacciareTaciturnoTaleTalismanoTamponeTanninoTaraTardivoTargatoTariffaTarpareTartarugaTastoTatticoTavernaTavolataTazzaTecaTecnicoTelefonoTemerarioTempoTemutoTendoneTeneroTensioneTentacoloTeoremaTermeTerrazzoTerzettoTesiTesseratoTestatoTetroTettoiaTifareTigellaTimbroTintoTipicoTipografoTiraggioTiroTitanioTitoloTitubanteTizioTizzoneToccareTollerareToltoTombolaTomoTonfoTonsillaTopazioTopologiaToppaTorbaTornareTorroneTortoraToscanoTossireTostaturaTotanoTraboccoTracheaTrafilaTragediaTralcioTramontoTransitoTrapanoTrarreTraslocoTrattatoTraveTrecciaTremolioTrespoloTributoTrichecoTrifoglioTrilloTrinceaTrioTristezzaTrituratoTrivellaTrombaTronoTroppoTrottolaTrovareTruccatoTubaturaTuffatoTulipanoTumultoTunisiaTurbareTurchinoTutaTutelaUbicatoUccelloUccisoreUdireUditivoUffaUfficioUgualeUlisseUltimatoUmanoUmileUmorismoUncinettoUngereUnghereseUnicornoUnificatoUnisonoUnitarioUnteUovoUpupaUraganoUrgenzaUrloUsanzaUsatoUscitoUsignoloUsuraioUtensileUtilizzoUtopiaVacanteVaccinatoVagabondoVagliatoValangaValgoValicoVallettaValorosoValutareValvolaVampataVangareVanitosoVanoVantaggioVanveraVaporeVaranoVarcatoVarianteVascaVedettaVedovaVedutoVegetaleVeicoloVelcroVelinaVellutoVeloceVenatoVendemmiaVentoVeraceVerbaleVergognaVerificaVeroVerrucaVerticaleVescicaVessilloVestaleVeteranoVetrinaVetustoViandanteVibranteVicendaVichingoVicinanzaVidimareVigiliaVignetoVigoreVileVillanoViminiVincitoreViolaViperaVirgolaVirologoVirulentoViscosoVisioneVispoVissutoVisuraVitaVitelloVittimaVivandaVividoViziareVoceVogaVolatileVolereVolpeVoragineVulcanoZampognaZannaZappatoZatteraZavorraZefiroZelanteZeloZenzeroZerbinoZibettoZincoZirconeZittoZollaZoticoZuccheroZufoloZuluZuppa",Kk=null;function yDe(t){if(Kk==null&&(Kk=aJ0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Vre.Wordlist.check(t)!=="0x5c1362d88fd4cf614a96f3234941d29f7d37c08c5292fde03bf62c2db6ff7620"))throw Kk=null,new Error("BIP39 Wordlist for it (Italian) FAILED")}var rJ0=function(t){nJ0(e,t);function e(){return t.call(this,"it")||this}return e.prototype.getWord=function(n){return yDe(this),Kk[n]},e.prototype.getWordIndex=function(n){return yDe(this),Kk.indexOf(n)},e}(Vre.Wordlist),gDe=new rJ0;AT.langIt=gDe;Vre.Wordlist.register(gDe)});var EDe=D(X3=>{"use strict";u();p();var fJ0=X3&&X3.__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(X3,"__esModule",{value:!0});X3.langZhTw=X3.langZhCn=void 0;var iJ0=Ai(),Qk=Ou(),Yre="}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 wDe(t){if(CT[t.locale]===null){CT[t.locale]=[];for(var e=0,n=0;n<2048;n++){var a=cJ0.indexOf(Yre[n*3]),r=[228+(a>>2),128+$re.indexOf(Yre[n*3+1]),128+$re.indexOf(Yre[n*3+2])];if(t.locale==="zh_tw")for(var f=a%4,i=f;i<3;i++)r[i]=$re.indexOf(sJ0[e++])+(i==0?228:128);CT[t.locale].push((0,iJ0.toUtf8String)(r))}if(Qk.Wordlist.check(t)!==oJ0[t.locale])throw CT[t.locale]=null,new Error("BIP39 Wordlist for "+t.locale+" (Chinese) FAILED")}}var TDe=function(t){fJ0(e,t);function e(n){return t.call(this,"zh_"+n)||this}return e.prototype.getWord=function(n){return wDe(this),CT[this.locale][n]},e.prototype.getWordIndex=function(n){return wDe(this),CT[this.locale].indexOf(n)},e.prototype.split=function(n){return n=n.replace(/(?:\u3000| )+/g,""),n.split("")},e}(Qk.Wordlist),Jre=new TDe("cn");X3.langZhCn=Jre;Qk.Wordlist.register(Jre);Qk.Wordlist.register(Jre,"zh");var xDe=new TDe("tw");X3.langZhTw=xDe;Qk.Wordlist.register(xDe)});var _De=D(TH=>{"use strict";u();p();Object.defineProperty(TH,"__esModule",{value:!0});TH.wordlists=void 0;var dJ0=$Be(),lJ0=ZBe(),uJ0=rDe(),pJ0=cDe(),hJ0=pDe(),mJ0=bDe(),bJ0=vDe(),Xre=EDe();TH.wordlists={cz:dJ0.langCz,en:lJ0.langEn,es:uJ0.langEs,fr:pJ0.langFr,it:bJ0.langIt,ja:hJ0.langJa,ko:mJ0.langKo,zh:Xre.langZhCn,zh_cn:Xre.langZhCn,zh_tw:Xre.langZhTw}});var Zre=D(Z3=>{"use strict";u();p();Object.defineProperty(Z3,"__esModule",{value:!0});Z3.wordlists=Z3.Wordlist=Z3.logger=void 0;var ADe=Ou();Object.defineProperty(Z3,"logger",{enumerable:!0,get:function(){return ADe.logger}});Object.defineProperty(Z3,"Wordlist",{enumerable:!0,get:function(){return ADe.Wordlist}});var yJ0=_De();Object.defineProperty(Z3,"wordlists",{enumerable:!0,get:function(){return yJ0.wordlists}})});var CDe=D(xH=>{"use strict";u();p();Object.defineProperty(xH,"__esModule",{value:!0});xH.version=void 0;xH.version="hdnode/5.7.0"});var _H=D(Vo=>{"use strict";u();p();Object.defineProperty(Vo,"__esModule",{value:!0});Vo.getAccountPath=Vo.isValidMnemonic=Vo.entropyToMnemonic=Vo.mnemonicToEntropy=Vo.mnemonicToSeed=Vo.HDNode=Vo.defaultPath=void 0;var RDe=cH(),gr=Vt(),MDe=ia(),Vk=Ai(),gJ0=hH(),Qo=Ba(),IDe=Pk(),Uu=v7(),vJ0=Nu(),kDe=Zre(),wJ0=Ft(),TJ0=CDe(),Yk=new wJ0.Logger(TJ0.version),xJ0=MDe.BigNumber.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),EJ0=(0,Vk.toUtf8Bytes)("Bitcoin seed"),kT=2147483648;function BDe(t){return(1<=256)throw new Error("Depth too large!");return SDe((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(IT,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&~kT));var a=new Uint8Array(37);if(e&kT){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,Uu.computeHmac)(Uu.SupportedAlgorithm.sha512,this.chainCode,a)),i=f.slice(0,32),s=f.slice(32),o=null,c=null;if(this.privateKey)o=EH(MDe.BigNumber.from(i).add(this.privateKey).mod(xJ0));else{var d=new IDe.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(IT,o,c,this.fingerprint,EH(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=kT)throw new Error("invalid path index - "+f);a=a._derive(kT+i)}else if(f.match(/^[0-9]+$/)){var i=parseInt(f);if(i>=kT)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,Uu.computeHmac)(Uu.SupportedAlgorithm.sha512,EJ0,a));return new t(IT,EH(r.slice(0,32)),null,"0x00000000",EH(r.slice(32)),0,0,n)},t.fromMnemonic=function(e,n,a){return a=efe(a),e=PDe(tfe(e,a),a),t._fromSeed(DDe(e,n),{phrase:e,path:"m",locale:a.locale})},t.fromSeed=function(e){return t._fromSeed(e,null)},t.fromExtendedKey=function(e){var n=RDe.Base58.decode(e);(n.length!==82||SDe(n.slice(0,78))!==e)&&Yk.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(IT,null,(0,gr.hexlify)(s),r,i,f,a,null);case"0x0488ade4":case"0x04358394 ":if(s[0]!==0)break;return new t(IT,(0,gr.hexlify)(s.slice(1)),null,r,i,f,a,null)}return Yk.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")},t}();Vo.HDNode=AJ0;function DDe(t,e){e||(e="");var n=(0,Vk.toUtf8Bytes)("mnemonic"+e,Vk.UnicodeNormalizationForm.NFKD);return(0,gJ0.pbkdf2)((0,Vk.toUtf8Bytes)(t,Vk.UnicodeNormalizationForm.NFKD),n,2048,64,"sha512")}Vo.mnemonicToSeed=DDe;function tfe(t,e){e=efe(e),Yk.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=BDe(c),l=(0,gr.arrayify)((0,Uu.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))}Vo.mnemonicToEntropy=tfe;function PDe(t,e){if(e=efe(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]&_J0(8-a)),a+=3);var f=t.length/4,i=(0,gr.arrayify)((0,Uu.sha256)(t))[0]&BDe(f);return n[n.length-1]<<=f,n[n.length-1]|=i>>8-f,e.join(n.map(function(s){return e.getWord(s)}))}Vo.entropyToMnemonic=PDe;function CJ0(t,e){try{return tfe(t,e),!0}catch{}return!1}Vo.isValidMnemonic=CJ0;function IJ0(t){return(typeof t!="number"||t<0||t>=kT||t%1)&&Yk.throwArgumentError("invalid account index","index",t),"m/44'/60'/"+t+"'/0/0"}Vo.getAccountPath=IJ0});var LDe=D(AH=>{"use strict";u();p();Object.defineProperty(AH,"__esModule",{value:!0});AH.version=void 0;AH.version="random/5.7.0"});var ODe=D(IH=>{"use strict";u();p();Object.defineProperty(IH,"__esModule",{value:!0});IH.randomBytes=void 0;var kJ0=Vt(),NDe=Ft(),SJ0=LDe(),nfe=new NDe.Logger(SJ0.version);function RJ0(){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 FDe=RJ0(),CH=FDe.crypto||FDe.msCrypto;(!CH||!CH.getRandomValues)&&(nfe.warn("WARNING: Missing strong random number source"),CH={getRandomValues:function(t){return nfe.throwError("no secure random source avaialble",NDe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});function MJ0(t){(t<=0||t>1024||t%1||t!=t)&&nfe.throwArgumentError("invalid length","length",t);var e=new Uint8Array(t);return CH.getRandomValues(e),(0,kJ0.arrayify)(e)}IH.randomBytes=MJ0});var UDe=D(kH=>{"use strict";u();p();Object.defineProperty(kH,"__esModule",{value:!0});kH.shuffled=void 0;function BJ0(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}kH.shuffled=BJ0});var $k=D(ST=>{"use strict";u();p();Object.defineProperty(ST,"__esModule",{value:!0});ST.shuffled=ST.randomBytes=void 0;var DJ0=ODe();Object.defineProperty(ST,"randomBytes",{enumerable:!0,get:function(){return DJ0.randomBytes}});var PJ0=UDe();Object.defineProperty(ST,"shuffled",{enumerable:!0,get:function(){return PJ0.shuffled}})});var rfe=D((afe,HDe)=>{"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},b.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},b.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 b||(B=new b(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(SH,"__esModule",{value:!0});SH.version=void 0;SH.version="json-wallets/5.7.0"});var ife=D(q5=>{"use strict";u();p();Object.defineProperty(q5,"__esModule",{value:!0});q5.uuidV4=q5.searchPath=q5.getPassword=q5.zpad=q5.looseArrayify=void 0;var RH=Vt(),zDe=Ai();function LJ0(t){return typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),(0,RH.arrayify)(t)}q5.looseArrayify=LJ0;function FJ0(t,e){for(t=String(t);t.length{"use strict";u();p();var HJ0=Hu&&Hu.__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)}}(),zJ0=Hu&&Hu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Hu,"__esModule",{value:!0});Hu.decrypt=Hu.CrowdsaleAccount=void 0;var WDe=zJ0(rfe()),WJ0=Po(),qDe=Vt(),qJ0=H1(),jJ0=hH(),GJ0=Ai(),KJ0=Ba(),QJ0=Ft(),VJ0=ffe(),YJ0=new QJ0.Logger(VJ0.version),MH=ife(),jDe=function(t){HJ0(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isCrowdsaleAccount=function(n){return!!(n&&n._isCrowdsaleAccount)},e}(KJ0.Description);Hu.CrowdsaleAccount=jDe;function $J0(t,e){var n=JSON.parse(t);e=(0,MH.getPassword)(e);var a=(0,WJ0.getAddress)((0,MH.searchPath)(n,"ethaddr")),r=(0,MH.looseArrayify)((0,MH.searchPath)(n,"encseed"));(!r||r.length%16!==0)&&YJ0.throwArgumentError("invalid encseed","json",t);for(var f=(0,qDe.arrayify)((0,jJ0.pbkdf2)(e,e,2e3,32,"sha256")).slice(0,16),i=r.slice(0,16),s=r.slice(16),o=new WDe.default.ModeOfOperation.cbc(f,i),c=WDe.default.padding.pkcs7.strip((0,qDe.arrayify)(o.decrypt(s))),d="",l=0;l{"use strict";u();p();Object.defineProperty(em,"__esModule",{value:!0});em.getJsonWalletAddress=em.isKeystoreWallet=em.isCrowdsaleWallet=void 0;var KDe=Po();function QDe(t){var e=null;try{e=JSON.parse(t)}catch{return!1}return e.encseed&&e.ethaddr}em.isCrowdsaleWallet=QDe;function VDe(t){var e=null;try{e=JSON.parse(t)}catch{return!1}return!(!e.version||parseInt(e.version)!==e.version||parseInt(e.version)!==3)}em.isKeystoreWallet=VDe;function JJ0(t){if(QDe(t))try{return(0,KDe.getAddress)(JSON.parse(t).ethaddr)}catch{return null}if(VDe(t))try{return(0,KDe.getAddress)(JSON.parse(t).address)}catch{return null}return null}em.getJsonWalletAddress=JJ0});var JDe=D((sfe,$De)=>{"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 E=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=((E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10))+(E&g^E&B^g&B)|0,U=ee,ee=q,q=S,S=M+ue|0,M=B,B=g,g=E,E=ue+Y|0;k=k+E|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,b=y.slice(y.length-R,y.length);for(b.push(128),G=R+1;G>>24&255),b.push(T>>>16&255),b.push(T>>>8&255),b.push(T>>>0&255),b.push(N>>>24&255),b.push(N>>>16&255),b.push(N>>>8&255),b.push(N>>>0&255),K(b),[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 sfe<"u"?$De.exports=h:typeof define=="function"&&define.amd?define(h):t&&(t.scrypt&&(t._scrypt=t.scrypt),t.scrypt=h)})(sfe)});var sPe=D(_s=>{"use strict";u();p();var XJ0=_s&&_s.__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)}}(),ZJ0=_s&&_s.__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())})},eX0=_s&&_s.__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(Ri,"__esModule",{value:!0});Ri.decryptJsonWalletSync=Ri.decryptJsonWallet=Ri.getJsonWalletAddress=Ri.isKeystoreWallet=Ri.isCrowdsaleWallet=Ri.encryptKeystore=Ri.decryptKeystoreSync=Ri.decryptKeystore=Ri.decryptCrowdsale=void 0;var lfe=GDe();Object.defineProperty(Ri,"decryptCrowdsale",{enumerable:!0,get:function(){return lfe.decrypt}});var E7=YDe();Object.defineProperty(Ri,"getJsonWalletAddress",{enumerable:!0,get:function(){return E7.getJsonWalletAddress}});Object.defineProperty(Ri,"isCrowdsaleWallet",{enumerable:!0,get:function(){return E7.isCrowdsaleWallet}});Object.defineProperty(Ri,"isKeystoreWallet",{enumerable:!0,get:function(){return E7.isKeystoreWallet}});var Jk=sPe();Object.defineProperty(Ri,"decryptKeystore",{enumerable:!0,get:function(){return Jk.decrypt}});Object.defineProperty(Ri,"decryptKeystoreSync",{enumerable:!0,get:function(){return Jk.decryptSync}});Object.defineProperty(Ri,"encryptKeystore",{enumerable:!0,get:function(){return Jk.encrypt}});function cX0(t,e,n){if((0,E7.isCrowdsaleWallet)(t)){n&&n(0);var a=(0,lfe.decrypt)(t,e);return n&&n(1),Promise.resolve(a)}return(0,E7.isKeystoreWallet)(t)?(0,Jk.decrypt)(t,e,n):Promise.reject(new Error("invalid JSON wallet"))}Ri.decryptJsonWallet=cX0;function dX0(t,e){if((0,E7.isCrowdsaleWallet)(t))return(0,lfe.decrypt)(t,e);if((0,E7.isKeystoreWallet)(t))return(0,Jk.decryptSync)(t,e);throw new Error("invalid JSON wallet")}Ri.decryptJsonWalletSync=dX0});var oPe=D(DH=>{"use strict";u();p();Object.defineProperty(DH,"__esModule",{value:!0});DH.version=void 0;DH.version="wallet/5.7.0"});var mfe=D(Nc=>{"use strict";u();p();var lX0=Nc&&Nc.__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)}}(),cPe=Nc&&Nc.__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())})},dPe=Nc&&Nc.__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(PH,"__esModule",{value:!0});PH.version=void 0;PH.version="networks/5.7.1"});var bfe=D(NH=>{"use strict";u();p();Object.defineProperty(NH,"__esModule",{value:!0});NH.getNetwork=void 0;var TX0=Ft(),xX0=hPe(),mPe=new TX0.Logger(xX0.version);function EX0(t){return t&&typeof t.renetwork=="function"}function A8(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 A8(n)},e}function FH(t,e){var n=function(a,r){return a.JsonRpcProvider?new a.JsonRpcProvider(t,e):null};return n.renetwork=function(a){return FH(t,a)},n}var bPe={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:A8("homestead")},yPe={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:A8("ropsten")},gPe={chainId:63,name:"classicMordor",_defaultProvider:FH("https://www.ethercluster.com/mordor","classicMordor")},LH={unspecified:{chainId:0,name:"unspecified"},homestead:bPe,mainnet:bPe,morden:{chainId:2,name:"morden"},ropsten:yPe,testnet:yPe,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:A8("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:A8("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:A8("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},sepolia:{chainId:11155111,name:"sepolia",_defaultProvider:A8("sepolia")},classic:{chainId:61,name:"classic",_defaultProvider:FH("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:gPe,classicTestnet:gPe,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:FH("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:A8("matic")},maticmum:{chainId:80001,name:"maticmum"},optimism:{chainId:10,name:"optimism",_defaultProvider:A8("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 _X0(t){if(t==null)return null;if(typeof t=="number"){for(var e in LH){var n=LH[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=LH[t];return a==null?null:{name:a.name,chainId:a.chainId,ensAddress:a.ensAddress,_defaultProvider:a._defaultProvider||null}}var r=LH[t.name];if(!r)return typeof t.chainId!="number"&&mPe.throwArgumentError("invalid network chainId","network",t),t;t.chainId!==0&&t.chainId!==r.chainId&&mPe.throwArgumentError("network chainId mismatch","network",t);var f=t._defaultProvider||null;return f==null&&r._defaultProvider&&(EX0(r._defaultProvider)?f=r._defaultProvider.renetwork(t):f=r._defaultProvider),{name:t.name,chainId:r.chainId,ensAddress:t.ensAddress||r.ensAddress||null,_defaultProvider:f}}NH.getNetwork=_X0});var vPe=D(OH=>{"use strict";u();p();Object.defineProperty(OH,"__esModule",{value:!0});OH.version=void 0;OH.version="web/5.7.1"});var wPe=D(nm=>{"use strict";u();p();var AX0=nm&&nm.__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())})},CX0=nm&&nm.__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 SX0=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())})},RX0=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]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;yl.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)&&yl.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&&yl.throwError("basic authentication requires a secure https url",C8.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,TPe.encode)((0,eS.toUtf8Bytes)(y))}}t.skipFetchSetup!=null&&(c.skipFetchSetup=!!t.skipFetchSetup),t.fetchOptions!=null&&(c.fetchOptions=(0,UH.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,TPe.decode)(k[3]):DX0(k[3])},F=O.body;return n&&(F=n(O.body,O)),Promise.resolve(F)}catch(Q){yl.throwError("processing response error",C8.Logger.errors.SERVER_ERROR,{body:am(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(yl.makeError("timeout",C8.Logger.errors.TIMEOUT,{requestBody:am(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 SX0(this,void 0,void 0,function(){var Q,V,X,b,K,G,R,T,N,w,b,A;return RX0(this,function(P){switch(P.label){case 0:Q=0,P.label=1;case 1:if(!(Q=300)&&(W.cancel(),yl.throwError("bad response",C8.Logger.errors.SERVER_ERROR,{status:V.statusCode,headers:V.headers,body:am(T,V.headers?V.headers["content-type"]:null),requestBody:am(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()})}j5.poll=LX0});var kPe=D((SZn,IPe)=>{"use strict";u();p();var zH="qpzry9x8gf2tvdw0s3jn54khce6mua7l",yfe={};for(tS=0;tS>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 APe(t){for(var e=1,n=0;n126)return"Invalid prefix ("+t+")";e=BT(e)^a>>5}for(e=BT(e),n=0;nn)throw new TypeError("Exceeds length limit");t=t.toLowerCase();var a=APe(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=BT(a)^i,r+=zH.charAt(i)}for(f=0;f<6;++f)a=BT(a);for(a^=1,f=0;f<6;++f){var s=a>>(5-f)*5&31;r+=zH.charAt(s)}return r}function CPe(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=APe(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 NX0(){var t=CPe.apply(null,arguments);if(typeof t=="object")return t}function OX0(t){var e=CPe.apply(null,arguments);if(typeof e=="object")return e;throw new Error(e)}function WH(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(qH,"__esModule",{value:!0});qH.version=void 0;qH.version="providers/5.7.2"});var rm=D(qu=>{"use strict";u();p();Object.defineProperty(qu,"__esModule",{value:!0});qu.showThrottleMessage=qu.isCommunityResource=qu.isCommunityResourcable=qu.Formatter=void 0;var gfe=Po(),k8=ia(),Wu=Vt(),qX0=E3(),jX0=Ba(),SPe=Nu(),GX0=Ft(),KX0=ro(),nS=new GX0.Logger(KX0.version),QX0=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,jX0.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,SPe.accessListify)(e||[])},t.prototype.number=function(e){return e==="0x"?0:k8.BigNumber.from(e).toNumber()},t.prototype.type=function(e){return e==="0x"||e==null?0:k8.BigNumber.from(e).toNumber()},t.prototype.bigNumber=function(e){return k8.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,Wu.isHexString)(e))?e.toLowerCase():nS.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,gfe.getAddress)(e)},t.prototype.callAddress=function(e){if(!(0,Wu.isHexString)(e,32))return null;var n=(0,gfe.getAddress)((0,Wu.hexDataSlice)(e,12));return n===qX0.AddressZero?null:n},t.prototype.contractAddress=function(e){return(0,gfe.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,Wu.isHexString)(e))return(0,Wu.hexValue)(e);throw new Error("invalid blockTag")},t.prototype.hash=function(e,n){var a=this.hex(e,n);return(0,Wu.hexDataLength)(a)!==32?nS.throwArgumentError("invalid hash","value",e):a},t.prototype.difficulty=function(e){if(e==null)return null;var n=k8.BigNumber.from(e);try{return n.toNumber()}catch{}return null},t.prototype.uint256=function(e){if(!(0,Wu.isHexString)(e))throw new Error("invalid uint256");return(0,Wu.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:k8.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&&k8.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,Wu.isHexString)(a)&&(a=k8.BigNumber.from(a).toNumber()),n.chainId=a}else{var a=e.networkId;a==null&&n.v==null&&(a=e.chainId),(0,Wu.isHexString)(a)&&(a=k8.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,SPe.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=k8.BigNumber.from(n.root).toNumber();a===0||a===1?(n.status!=null&&n.status!==a&&nS.throwArgumentError("alt-root-status/status mismatch","value",{root:n.root,status:n.status}),n.status=a,delete n.root):nS.throwArgumentError("invalid alt-root-status","value.root",n.root)}else n.root.length!==66&&nS.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}();qu.Formatter=QX0;function MPe(t){return t&&typeof t.isCommunityResource=="function"}qu.isCommunityResourcable=MPe;function VX0(t){return MPe(t)&&t.isCommunityResource()}qu.isCommunityResource=VX0;var RPe=!1;function YX0(){RPe||(RPe=!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("=========================="))}qu.showThrottleMessage=YX0});var iS=D($o=>{"use strict";u();p();var $X0=$o&&$o.__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=$o&&$o.__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=$o&&$o.__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[LPe(r)]=!0});var a=Object.keys(n);return a.sort(),a.join("|")}else return LPe(e)}).join("&")}function aZ0(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 DT(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:*:"+FPe(t);if(zPe.ForkEvent.isForkEvent(t))throw Hn.warn("not implemented"),new Error("not implemented");if(t&&typeof t=="object")return"filter:"+(t.address||"*")+":"+FPe(t.topics||[])}throw new Error("invalid event - "+t)}function aS(){return new Date().getTime()}function NPe(t){return new Promise(function(e){setTimeout(e,t)})}var rZ0=["block","network","pending","poll"],WPe=function(){function t(e,n,a){(0,mi.defineReadOnly)(this,"tag",e),(0,mi.defineReadOnly)(this,"listener",n),(0,mi.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=aZ0(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||rZ0.indexOf(this.tag)>=0},t}();$o.Event=WPe;var fZ0={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 vfe(t){return(0,jt.hexZeroPad)(Yo.BigNumber.from(t).toHexString(),32)}function OPe(t){return xfe.Base58.encode((0,jt.concat)([t,(0,jt.hexDataSlice)((0,BPe.sha256)((0,BPe.sha256)(t)),0,4)]))}var qPe=new RegExp("^(ipfs)://(.*)$","i"),UPe=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),qPe,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function jH(t,e){try{return(0,Efe.toUtf8String)(fS(t,e))}catch{}return null}function fS(t,e){if(t==="0x")return null;var n=Yo.BigNumber.from((0,jt.hexDataSlice)(t,e,e+32)).toNumber(),a=Yo.BigNumber.from((0,jt.hexDataSlice)(t,n,n+32)).toNumber();return(0,jt.hexDataSlice)(t,n+32,n+32+a)}function wfe(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 HPe(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 iZ0(t){if(t.length%32===0)return t;var e=new Uint8Array(Math.ceil(t.length/32)*32);return e.set(t),e}function jPe(t){for(var e=[],n=0,a=0;a=1&&i<=75)return OPe((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 OPe((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=DPe.default.toWords(r.slice(2));return l.unshift(d),DPe.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===ZX0.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",vfe(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,PT.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(),aS()-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=aS(),s=(0,mi.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=aS();return l=Yo.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,NPe(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=aS();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,Yo.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,mi.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,Yo.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,mi.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,Yo.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,mi.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,mi.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?Yo.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,mi.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,mi.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>=nZ0&&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),Yo.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=Yo.BigNumber.from((0,jt.hexDataSlice)(s,32,64)).toNumber(),l=Yo.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 WPe(DT(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 Ife=G5&&G5.__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)}}(),S8=G5&&G5.__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())})},R8=G5&&G5.__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/)&&Mi.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",Xi.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:a}),e}function QPe(t){return new Promise(function(e){setTimeout(e,t)})}function hZ0(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 sS(t){return t&&t.toLowerCase()}var Cfe={},kfe=function(t){Ife(e,t);function e(n,a,r){var f=t.call(this)||this;if(n!==Cfe)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");return(0,bi.defineReadOnly)(f,"provider",a),r==null&&(r=0),typeof r=="string"?((0,bi.defineReadOnly)(f,"_address",f.provider.formatter.address(r)),(0,bi.defineReadOnly)(f,"_index",null)):typeof r=="number"?((0,bi.defineReadOnly)(f,"_index",r),(0,bi.defineReadOnly)(f,"_address",null)):Mi.throwArgumentError("invalid address or index","addressOrIndex",r),f}return e.prototype.connect=function(n){return Mi.throwError("cannot alter JSON-RPC Signer connection",Xi.Logger.errors.UNSUPPORTED_OPERATION,{operation:"connect"})},e.prototype.connectUnchecked=function(){return new mZ0(Cfe,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&&Mi.throwError("unknown account #"+n._index,Xi.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),n.provider.formatter.address(a[n._index])})},e.prototype.sendUncheckedTransaction=function(n){var a=this;n=(0,bi.shallowCopy)(n);var r=this.getAddress().then(function(i){return i&&(i=i.toLowerCase()),i});if(n.gasLimit==null){var f=(0,bi.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 S8(a,void 0,void 0,function(){var s;return R8(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&&Mi.throwArgumentError("provided ENS name resolves to null","tx.to",i),[2,s]}})})})),(0,bi.resolveProperties)({tx:(0,bi.resolveProperties)(n),sender:r}).then(function(i){var s=i.tx,o=i.sender;s.from!=null?s.from.toLowerCase()!==o&&Mi.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)&&Mi.throwError("user rejected transaction",Xi.Logger.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:s}),YPe("sendTransaction",d,c)})})},e.prototype.signTransaction=function(n){return Mi.throwError("signing transactions is unsupported",Xi.Logger.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})},e.prototype.sendTransaction=function(n){return S8(this,void 0,void 0,function(){var a,r,f,i=this;return R8(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,VPe.poll)(function(){return S8(i,void 0,void 0,function(){var o;return R8(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 S8(this,void 0,void 0,function(){var a,r,f;return R8(this,function(i){switch(i.label){case 0:return a=typeof n=="string"?(0,KPe.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,LT.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)&&Mi.throwError("user rejected signing",Xi.Logger.errors.ACTION_REJECTED,{action:"signMessage",from:r,messageData:n}),f;case 5:return[2]}})})},e.prototype._legacySignMessage=function(n){return S8(this,void 0,void 0,function(){var a,r,f;return R8(this,function(i){switch(i.label){case 0:return a=typeof n=="string"?(0,KPe.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,LT.hexlify)(a)])];case 3:return[2,i.sent()];case 4:throw f=i.sent(),typeof f.message=="string"&&f.message.match(/user denied/i)&&Mi.throwError("user rejected signing",Xi.Logger.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:r,messageData:n}),f;case 5:return[2]}})})},e.prototype._signTypedData=function(n,a,r){return S8(this,void 0,void 0,function(){var f,i,s,o=this;return R8(this,function(c){switch(c.label){case 0:return[4,GPe._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(GPe._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)&&Mi.throwError("user rejected signing",Xi.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 S8(this,void 0,void 0,function(){var a,r;return R8(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}(cZ0.Signer);G5.JsonRpcSigner=kfe;var mZ0=function(t){Ife(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}(kfe),bZ0={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0},yZ0=function(t){Ife(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,bi.getStatic)(r.constructor,"defaultUrl")()),typeof n=="string"?(0,bi.defineReadOnly)(r,"connection",Object.freeze({url:n})):(0,bi.defineReadOnly)(r,"connection",Object.freeze((0,bi.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 S8(this,void 0,void 0,function(){var n,a,r,f;return R8(this,function(i){switch(i.label){case 0:return[4,QPe(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,bi.getStatic)(this.constructor,"getNetwork");try{return[2,f(Afe.BigNumber.from(n).toNumber())]}catch(s){return[2,Mi.throwError("could not detect network",Xi.Logger.errors.NETWORK_ERROR,{chainId:n,event:"invalidNetwork",serverError:s})]}}return[2,Mi.throwError("could not detect network",Xi.Logger.errors.NETWORK_ERROR,{event:"noNetwork"})]}})})},e.prototype.getSigner=function(n){return new kfe(Cfe,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,bi.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,VPe.fetchJson)(this.connection,JSON.stringify(f),hZ0).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",[sS(a.address),a.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[sS(a.address),a.blockTag]];case"getCode":return["eth_getCode",[sS(a.address),a.blockTag]];case"getStorageAt":return["eth_getStorageAt",[sS(a.address),(0,LT.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,bi.getStatic)(this.constructor,"hexlifyTransaction");return["eth_call",[r(a.transaction,{from:!0}),a.blockTag]]}case"estimateGas":{var r=(0,bi.getStatic)(this.constructor,"hexlifyTransaction");return["eth_estimateGas",[r(a.transaction,{from:!0})]]}case"getLogs":return a.filter&&a.filter.address!=null&&(a.filter.address=sS(a.filter.address)),["eth_getLogs",[a.filter]];default:break}return null},e.prototype.perform=function(n,a){return S8(this,void 0,void 0,function(){var r,f,i,s;return R8(this,function(o){switch(o.label){case 0:return n==="call"||n==="estimateGas"?(r=a.transaction,r&&r.type!=null&&Afe.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,bi.shallowCopy)(a),a.transaction=(0,bi.shallowCopy)(r),delete a.transaction.type),o.label=2;case 2:i=this.prepareRequest(n,a),i==null&&Mi.throwError(n+" not implemented",Xi.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,YPe(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 QPe(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,bi.shallowCopy)(bZ0);if(a)for(var f in a)a[f]&&(r[f]=!0);(0,bi.checkProperties)(n,r);var i={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach(function(s){if(n[s]!=null){var o=(0,LT.hexValue)(Afe.BigNumber.from(n[s]));s==="gasLimit"&&(s="gas"),i[s]=o}}),["from","to","data"].forEach(function(s){n[s]!=null&&(i[s]=(0,LT.hexlify)(n[s]))}),n.accessList&&(i.accessList=(0,dZ0.accessListify)(n.accessList)),i},e}(uZ0.BaseProvider);G5.JsonRpcProvider=yZ0});var XPe=D(NT=>{"use strict";u();p();Object.defineProperty(NT,"__esModule",{value:!0});NT.WebSocket=void 0;var $Pe=Ft(),gZ0=ro(),GH=null;NT.WebSocket=GH;try{if(NT.WebSocket=GH=WebSocket,GH==null)throw new Error("inject please")}catch{JPe=new $Pe.Logger(gZ0.version),NT.WebSocket=GH=function(){JPe.throwError("WebSockets not supported in this environment",$Pe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new WebSocket()"})}}var JPe});var QH=D(ju=>{"use strict";u();p();var vZ0=ju&&ju.__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)}}(),Sfe=ju&&ju.__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())})},Rfe=ju&&ju.__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 eLe=K5&&K5.__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)}}(),AZ0=K5&&K5.__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())})},CZ0=K5&&K5.__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 aLe=sm&&sm.__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(sm,"__esModule",{value:!0});sm.AlchemyProvider=sm.AlchemyWebSocketProvider=void 0;var RZ0=Ba(),MZ0=rm(),BZ0=QH(),DZ0=Ft(),PZ0=ro(),nLe=new DZ0.Logger(PZ0.version),LZ0=im(),YH="_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC",rLe=function(t){aLe(e,t);function e(n,a){var r=this,f=new fLe(n,a),i=f.connection.url.replace(/^http/i,"ws").replace(".alchemyapi.",".ws.alchemyapi.");return r=t.call(this,i,f.network)||this,(0,RZ0.defineReadOnly)(r,"apiKey",f.apiKey),r}return e.prototype.isCommunityResource=function(){return this.apiKey===YH},e}(BZ0.WebSocketProvider);sm.AlchemyWebSocketProvider=rLe;var fLe=function(t){aLe(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getWebSocketProvider=function(n,a){return new rLe(n,a)},e.getApiKey=function(n){return n==null?YH:(n&&typeof n!="string"&&nLe.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:nLe.throwArgumentError("unsupported network","network",arguments[0])}return{allowGzip:!0,url:"https://"+r+a,throttleCallback:function(f,i){return a===YH&&(0,MZ0.showThrottleMessage)(),Promise.resolve(!0)}}},e.prototype.isCommunityResource=function(){return this.apiKey===YH},e}(LZ0.UrlJsonRpcProvider);sm.AlchemyProvider=fLe});var sLe=D(UT=>{"use strict";u();p();var FZ0=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.AnkrProvider=void 0;var NZ0=rm(),OZ0=im(),UZ0=Ft(),HZ0=ro(),zZ0=new UZ0.Logger(HZ0.version),$H="9f7d929b018cdffb338517efa06f58359e86ff1ffd350bc889738523659e7972";function WZ0(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 zZ0.throwArgumentError("unsupported network","name",t)}var qZ0=function(t){FZ0(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isCommunityResource=function(){return this.apiKey===$H},e.getApiKey=function(n){return n??$H},e.getUrl=function(n,a){a==null&&(a=$H);var r={allowGzip:!0,url:"https://"+WZ0(n.name)+a,throttleCallback:function(f,i){return a.apiKey===$H&&(0,NZ0.showThrottleMessage)(),Promise.resolve(!0)}};return a.projectSecret!=null&&(r.user="",r.password=a.projectSecret),r},e}(OZ0.UrlJsonRpcProvider);UT.AnkrProvider=qZ0});var cLe=D(Gu=>{"use strict";u();p();var jZ0=Gu&&Gu.__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)}}(),GZ0=Gu&&Gu.__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())})},KZ0=Gu&&Gu.__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 JZ0=Qu&&Qu.__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)}}(),JH=Qu&&Qu.__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())})},XH=Qu&&Qu.__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 lLe(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 uLe(t){if(t==="pending")throw new Error("pending not supported");return t==="latest"?t:parseInt(t.substring(2),16)}function Bfe(t,e,n){if(t==="call"&&e.code===Ku.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,ZH.isHexString)(r))return r;om.throwError("missing revert data in call exception",Ku.Logger.errors.CALL_EXCEPTION,{error:e,data:"0x"})}}var f=e.message;throw e.code===Ku.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/)&&om.throwError("insufficient funds for intrinsic transaction cost",Ku.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/)&&om.throwError("nonce has already been used",Ku.Logger.errors.NONCE_EXPIRED,{error:e,method:t,transaction:n}),f.match(/another transaction with same nonce/)&&om.throwError("replacement fee too low",Ku.Logger.errors.REPLACEMENT_UNDERPRICED,{error:e,method:t,transaction:n}),f.match(/execution failed due to an exception|execution reverted/)&&om.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",Ku.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:n}),e}var ret=function(t){JZ0(e,t);function e(n,a){var r=t.call(this,n)||this;return(0,Mfe.defineReadOnly)(r,"baseUrl",r.getBaseUrl()),(0,Mfe.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 om.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 JH(this,void 0,void 0,function(){var f,i,s,o,c,d,l=this;return XH(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"?lLe:aet,this.emit("debug",{action:"request",request:f,provider:this}),o={url:f,throttleSlotInterval:1e3,throttleCallback:function(y,v){return l.isCommunityResource()&&(0,eet.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,ZZ0.fetchJson)(o,c,s||lLe)];case 1:return d=h.sent(),this.emit("debug",{action:"response",request:f,response:(0,Mfe.deepCopy)(d),provider:this}),[2,d]}})})},e.prototype.detectNetwork=function(){return JH(this,void 0,void 0,function(){return XH(this,function(n){return[2,this.network]})})},e.prototype.perform=function(n,a){return JH(this,void 0,void 0,function(){var r,i,f,i,s,o,c,d,l,h,y,v,k;return XH(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 Bfe("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=dLe(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,Bfe("call",f,a.transaction)];case 15:i=dLe(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,Bfe("estimateGas",s,a.transaction)];case 19:return o={action:"getLogs"},a.filter.fromBlock&&(o.fromBlock=uLe(a.filter.fromBlock)),a.filter.toBlock&&(o.toBlock=uLe(a.filter.toBlock)),a.filter.address&&(o.address=a.filter.address),a.filter.topics&&a.filter.topics.length>0&&(a.filter.topics.length>1&&om.throwError("unsupported topic count",Ku.Logger.errors.UNSUPPORTED_OPERATION,{topics:a.filter.topics}),a.filter.topics.length===1&&(c=a.filter.topics[0],(typeof c!="string"||c.length!==66)&&om.throwError("unsupported topic format",Ku.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 fet=Yu&&Yu.__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)}}(),nz=Yu&&Yu.__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())})},uS=Yu&&Yu.__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 zT(t){if(t===null)return"null";if(typeof t=="number"||typeof t=="boolean")return JSON.stringify(t);if(typeof t=="string")return t;if(set.BigNumber.isBigNumber(t))return t.toString();if(Array.isArray(t))return JSON.stringify(t.map(function(n){return zT(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=zT(a),JSON.stringify(n)+":"+a}).join(",")+"}"}throw new Error("unknown value type: "+typeof t)}var pet=1;function yLe(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 het=[cm.Logger.errors.CALL_EXCEPTION,cm.Logger.errors.INSUFFICIENT_FUNDS,cm.Logger.errors.NONCE_EXPIRED,cm.Logger.errors.REPLACEMENT_UNDERPRICED,cm.Logger.errors.UNPREDICTABLE_GAS_LIMIT],met=["address","args","errorArgs","errorSignature","method","transaction"];function tz(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 bet(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 yet(t,e,n){var a=zT;switch(e){case"getBlockNumber":return function(r){var f=r.map(function(s){return s.result}),i=bLe(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 bLe(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,Vu.shallowCopy)(r),r.confirmations=-1,zT(r))};break;case"getBlock":n.includeTransactions?a=function(r){return r==null?null:(r=(0,Vu.shallowCopy)(r),r.transactions=r.transactions.map(function(f){return f=(0,Vu.shallowCopy)(f),f.confirmations=-1,f}),zT(r))}:a=function(r){return r==null?null:zT(r)};break;default:throw new Error("unknown method: "+e)}return bet(a,t.quorum)}function lS(t,e){return nz(this,void 0,void 0,function(){var n;return uS(this,function(a){return n=t.provider,n.blockNumber!=null&&n.blockNumber>=e||e===-1?[2,n]:[2,(0,cet.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 get(t,e,n,a){return nz(this,void 0,void 0,function(){var r,f,i;return uS(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,HT.isHexString)(a.blockTag)?[4,lS(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,HT.isHexString)(a.blockTag)?[4,lS(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,HT.isHexString)(a.blockTag)?[4,lS(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,HT.isHexString)(a.blockTag)?[4,lS(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,HT.isHexString)(i.fromBlock)||i.toBlock&&(0,HT.isHexString)(i.toBlock)?[4,lS(t,e)]:[3,18];case 17:r=s.sent(),s.label=18;case 18:return[2,r.getLogs(i)];case 19:return[2,A7.throwError("unknown method error",cm.Logger.errors.UNKNOWN_ERROR,{method:n,params:a})]}})})}var vet=function(t){fet(e,t);function e(n,a){var r=this;n.length===0&&A7.throwArgumentError("missing providers","providers",n);var f=n.map(function(o,c){if(iet.Provider.isProvider(o)){var d=(0,hLe.isCommunityResource)(o)?2e3:750,l=1;return Object.freeze({provider:o,weight:1,stallTimeout:d,priority:l})}var h=(0,Vu.shallowCopy)(o);h.priority==null&&(h.priority=1),h.stallTimeout==null&&(h.stallTimeout=(0,hLe.isCommunityResource)(o)?2e3:750),h.weight==null&&(h.weight=1);var y=h.weight;return(y%1||y>512||y<1)&&A7.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&&A7.throwArgumentError("quorum will always fail; larger than total weight","quorum",a);var s=mLe(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,Vu.defineReadOnly)(r,"providerConfigs",Object.freeze(f)),(0,Vu.defineReadOnly)(r,"quorum",a),r._highestBlockNumber=-1,r}return e.prototype.detectNetwork=function(){return nz(this,void 0,void 0,function(){var n;return uS(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,mLe(n)]}})})},e.prototype.perform=function(n,a){return nz(this,void 0,void 0,function(){var r,f,i,s,o,c,d,l,h,y,v,k=this;return uS(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,yLe(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 het.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(az,"__esModule",{value:!0});az.IpcProvider=void 0;var wet=null;az.IpcProvider=wet});var ELe=D(dm=>{"use strict";u();p();var wLe=dm&&dm.__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(dm,"__esModule",{value:!0});dm.InfuraProvider=dm.InfuraWebSocketProvider=void 0;var Dfe=Ba(),Tet=QH(),xet=rm(),Pfe=Ft(),Eet=ro(),rz=new Pfe.Logger(Eet.version),_et=im(),pS="84842078b09946638c03157f83405213",TLe=function(t){wLe(e,t);function e(n,a){var r=this,f=new xLe(n,a),i=f.connection;i.password&&rz.throwError("INFURA WebSocket project secrets unsupported",Pfe.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,Dfe.defineReadOnly)(r,"apiKey",f.projectId),(0,Dfe.defineReadOnly)(r,"projectId",f.projectId),(0,Dfe.defineReadOnly)(r,"projectSecret",f.projectSecret),r}return e.prototype.isCommunityResource=function(){return this.projectId===pS},e}(Tet.WebSocketProvider);dm.InfuraWebSocketProvider=TLe;var xLe=function(t){wLe(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getWebSocketProvider=function(n,a){return new TLe(n,a)},e.getApiKey=function(n){var a={apiKey:pS,projectId:pS,projectSecret:null};return n==null||(typeof n=="string"?a.projectId=n:n.projectSecret!=null?(rz.assertArgument(typeof n.projectId=="string","projectSecret requires a projectId","projectId",n.projectId),rz.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:rz.throwError("unsupported network",Pfe.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===pS&&(0,xet.showThrottleMessage)(),Promise.resolve(!0)}};return a.projectSecret!=null&&(f.user="",f.password=a.projectSecret),f},e.prototype.isCommunityResource=function(){return this.projectId===pS},e}(_et.UrlJsonRpcProvider);dm.InfuraProvider=xLe});var _Le=D(WT=>{"use strict";u();p();var Aet=WT&&WT.__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(WT,"__esModule",{value:!0});WT.JsonRpcBatchProvider=void 0;var Cet=Ba(),Iet=I8(),ket=FT(),Ret=function(t){Aet(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,Cet.deepCopy)(c),provider:r}),(0,Iet.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}(ket.JsonRpcProvider);WT.JsonRpcBatchProvider=Ret});var ALe=D(qT=>{"use strict";u();p();var Met=qT&&qT.__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(qT,"__esModule",{value:!0});qT.NodesmithProvider=void 0;var Bet=im(),Det=Ft(),Pet=ro(),Lfe=new Det.Logger(Pet.version),Let="ETHERS_JS_SHARED",Fet=function(t){Met(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getApiKey=function(n){return n&&typeof n!="string"&&Lfe.throwArgumentError("invalid apiKey","apiKey",n),n||Let},e.getUrl=function(n,a){Lfe.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:Lfe.throwArgumentError("unsupported network","network",arguments[0])}return r+"?apiKey="+a},e}(Bet.UrlJsonRpcProvider);qT.NodesmithProvider=Fet});var SLe=D(jT=>{"use strict";u();p();var Net=jT&&jT.__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(jT,"__esModule",{value:!0});jT.PocketProvider=void 0;var kLe=Ft(),Oet=ro(),CLe=new kLe.Logger(Oet.version),Uet=im(),ILe="62e1ad51b37b8e00394bda3b",Het=function(t){Net(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=ILe:typeof n=="string"?a.applicationId=n:n.applicationSecretKey!=null?(a.applicationId=n.applicationId,a.applicationSecretKey=n.applicationSecretKey):n.applicationId?a.applicationId=n.applicationId:CLe.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:CLe.throwError("unsupported network",kLe.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===ILe},e}(Uet.UrlJsonRpcProvider);jT.PocketProvider=Het});var BLe=D(GT=>{"use strict";u();p();var zet=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.Web3Provider=void 0;var fz=Ba(),Wet=Ft(),qet=ro(),RLe=new Wet.Logger(qet.version),jet=FT(),Get=1;function MLe(t,e){var n="Web3LegacyFetcher";return function(a,r){var f=this,i={method:a,params:r,id:Get++,jsonrpc:"2.0"};return new Promise(function(s,o){f.emit("debug",{action:"request",fetcher:n,request:(0,fz.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 Ket(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,fz.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 Qet=function(t){zet(e,t);function e(n,a){var r=this;n==null&&RLe.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=Ket(n)):n.sendAsync?i=MLe(n,n.sendAsync.bind(n)):n.send?i=MLe(n,n.send.bind(n)):RLe.throwArgumentError("unsupported provider","provider",n),f||(f="unknown:")),r=t.call(this,f,a)||this,(0,fz.defineReadOnly)(r,"jsonRpcFetchFunc",i),(0,fz.defineReadOnly)(r,"provider",s),r}return e.prototype.send=function(n,a){return this.jsonRpcFetchFunc(n,a)},e}(jet.JsonRpcProvider);GT.Web3Provider=Qet});var oz=D(bt=>{"use strict";u();p();Object.defineProperty(bt,"__esModule",{value:!0});bt.Formatter=bt.showThrottleMessage=bt.isCommunityResourcable=bt.isCommunityResource=bt.getNetwork=bt.getDefaultProvider=bt.JsonRpcSigner=bt.IpcProvider=bt.WebSocketProvider=bt.Web3Provider=bt.StaticJsonRpcProvider=bt.PocketProvider=bt.NodesmithProvider=bt.JsonRpcBatchProvider=bt.JsonRpcProvider=bt.InfuraWebSocketProvider=bt.InfuraProvider=bt.EtherscanProvider=bt.CloudflareProvider=bt.AnkrProvider=bt.AlchemyWebSocketProvider=bt.AlchemyProvider=bt.FallbackProvider=bt.UrlJsonRpcProvider=bt.Resolver=bt.BaseProvider=bt.Provider=void 0;var Vet=C3();Object.defineProperty(bt,"Provider",{enumerable:!0,get:function(){return Vet.Provider}});var PLe=bfe();Object.defineProperty(bt,"getNetwork",{enumerable:!0,get:function(){return PLe.getNetwork}});var LLe=iS();Object.defineProperty(bt,"BaseProvider",{enumerable:!0,get:function(){return LLe.BaseProvider}});Object.defineProperty(bt,"Resolver",{enumerable:!0,get:function(){return LLe.Resolver}});var Ffe=iLe();Object.defineProperty(bt,"AlchemyProvider",{enumerable:!0,get:function(){return Ffe.AlchemyProvider}});Object.defineProperty(bt,"AlchemyWebSocketProvider",{enumerable:!0,get:function(){return Ffe.AlchemyWebSocketProvider}});var FLe=sLe();Object.defineProperty(bt,"AnkrProvider",{enumerable:!0,get:function(){return FLe.AnkrProvider}});var NLe=cLe();Object.defineProperty(bt,"CloudflareProvider",{enumerable:!0,get:function(){return NLe.CloudflareProvider}});var OLe=pLe();Object.defineProperty(bt,"EtherscanProvider",{enumerable:!0,get:function(){return OLe.EtherscanProvider}});var ULe=gLe();Object.defineProperty(bt,"FallbackProvider",{enumerable:!0,get:function(){return ULe.FallbackProvider}});var HLe=vLe();Object.defineProperty(bt,"IpcProvider",{enumerable:!0,get:function(){return HLe.IpcProvider}});var Nfe=ELe();Object.defineProperty(bt,"InfuraProvider",{enumerable:!0,get:function(){return Nfe.InfuraProvider}});Object.defineProperty(bt,"InfuraWebSocketProvider",{enumerable:!0,get:function(){return Nfe.InfuraWebSocketProvider}});var iz=FT();Object.defineProperty(bt,"JsonRpcProvider",{enumerable:!0,get:function(){return iz.JsonRpcProvider}});Object.defineProperty(bt,"JsonRpcSigner",{enumerable:!0,get:function(){return iz.JsonRpcSigner}});var Yet=_Le();Object.defineProperty(bt,"JsonRpcBatchProvider",{enumerable:!0,get:function(){return Yet.JsonRpcBatchProvider}});var zLe=ALe();Object.defineProperty(bt,"NodesmithProvider",{enumerable:!0,get:function(){return zLe.NodesmithProvider}});var WLe=SLe();Object.defineProperty(bt,"PocketProvider",{enumerable:!0,get:function(){return WLe.PocketProvider}});var qLe=im();Object.defineProperty(bt,"StaticJsonRpcProvider",{enumerable:!0,get:function(){return qLe.StaticJsonRpcProvider}});Object.defineProperty(bt,"UrlJsonRpcProvider",{enumerable:!0,get:function(){return qLe.UrlJsonRpcProvider}});var jLe=BLe();Object.defineProperty(bt,"Web3Provider",{enumerable:!0,get:function(){return jLe.Web3Provider}});var GLe=QH();Object.defineProperty(bt,"WebSocketProvider",{enumerable:!0,get:function(){return GLe.WebSocketProvider}});var sz=rm();Object.defineProperty(bt,"Formatter",{enumerable:!0,get:function(){return sz.Formatter}});Object.defineProperty(bt,"isCommunityResourcable",{enumerable:!0,get:function(){return sz.isCommunityResourcable}});Object.defineProperty(bt,"isCommunityResource",{enumerable:!0,get:function(){return sz.isCommunityResource}});Object.defineProperty(bt,"showThrottleMessage",{enumerable:!0,get:function(){return sz.showThrottleMessage}});var KLe=Ft(),$et=ro(),DLe=new KLe.Logger($et.version);function Jet(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 iz.JsonRpcProvider(t);case"ws":case"wss":return new GLe.WebSocketProvider(t);default:DLe.throwArgumentError("unsupported URL scheme","network",t)}}var a=(0,PLe.getNetwork)(t);return(!a||!a._defaultProvider)&&DLe.throwError("unsupported getDefaultProvider network",KLe.Logger.errors.NETWORK_ERROR,{operation:"getDefaultProvider",network:t}),a._defaultProvider({FallbackProvider:ULe.FallbackProvider,AlchemyProvider:Ffe.AlchemyProvider,AnkrProvider:FLe.AnkrProvider,CloudflareProvider:NLe.CloudflareProvider,EtherscanProvider:OLe.EtherscanProvider,InfuraProvider:Nfe.InfuraProvider,JsonRpcProvider:iz.JsonRpcProvider,NodesmithProvider:zLe.NodesmithProvider,PocketProvider:WLe.PocketProvider,Web3Provider:jLe.Web3Provider,IpcProvider:HLe.IpcProvider},e)}bt.getDefaultProvider=Jet});var QLe=D(cz=>{"use strict";u();p();Object.defineProperty(cz,"__esModule",{value:!0});cz.version=void 0;cz.version="solidity/5.7.0"});var Ufe=D(lm=>{"use strict";u();p();Object.defineProperty(lm,"__esModule",{value:!0});lm.sha256=lm.keccak256=lm.pack=void 0;var Xet=ia(),gl=Vt(),Zet=H1(),e0t=v7(),t0t=Ai(),n0t=new RegExp("^bytes([0-9]+)$"),a0t=new RegExp("^(u?int)([0-9]*)$"),r0t=new RegExp("^(.*)\\[([0-9]*)\\]$"),f0t="0000000000000000000000000000000000000000000000000000000000000000",i0t=Ft(),s0t=QLe(),KT=new i0t.Logger(s0t.version);function VLe(t,e,n){switch(t){case"address":return n?(0,gl.zeroPad)(e,32):(0,gl.arrayify)(e);case"string":return(0,t0t.toUtf8Bytes)(e);case"bytes":return(0,gl.arrayify)(e);case"bool":return e=e?"0x01":"0x00",n?(0,gl.zeroPad)(e,32):(0,gl.arrayify)(e)}var a=t.match(a0t);if(a){var r=parseInt(a[2]||"256");return(a[2]&&String(r)!==a[2]||r%8!==0||r===0||r>256)&&KT.throwArgumentError("invalid number type","type",t),n&&(r=256),e=Xet.BigNumber.from(e).toTwos(r),(0,gl.zeroPad)(e,r/8)}if(a=t.match(n0t),a){var r=parseInt(a[1]);return(String(r)!==a[1]||r===0||r>32)&&KT.throwArgumentError("invalid bytes type","type",t),(0,gl.arrayify)(e).byteLength!==r&&KT.throwArgumentError("invalid value for "+t,"value",e),n?(0,gl.arrayify)((e+f0t).substring(0,66)):e}if(a=t.match(r0t),a&&Array.isArray(e)){var f=a[1],i=parseInt(a[2]||String(e.length));i!=e.length&&KT.throwArgumentError("invalid array length for "+t,"value",e);var s=[];return e.forEach(function(o){s.push(VLe(f,o,!0))}),(0,gl.concat)(s)}return KT.throwArgumentError("invalid type","type",t)}function Ofe(t,e){t.length!=e.length&&KT.throwArgumentError("wrong number of values; expected ${ types.length }","values",e);var n=[];return t.forEach(function(a,r){n.push(VLe(a,e[r]))}),(0,gl.hexlify)((0,gl.concat)(n))}lm.pack=Ofe;function o0t(t,e){return(0,Zet.keccak256)(Ofe(t,e))}lm.keccak256=o0t;function c0t(t,e){return(0,e0t.sha256)(Ofe(t,e))}lm.sha256=c0t});var YLe=D(dz=>{"use strict";u();p();Object.defineProperty(dz,"__esModule",{value:!0});dz.version=void 0;dz.version="units/5.7.0"});var tFe=D(Q5=>{"use strict";u();p();Object.defineProperty(Q5,"__esModule",{value:!0});Q5.parseEther=Q5.formatEther=Q5.parseUnits=Q5.formatUnits=Q5.commify=void 0;var $Le=ia(),d0t=Ft(),l0t=YLe(),JLe=new d0t.Logger(l0t.version),XLe=["wei","kwei","mwei","gwei","szabo","finney","ether"];function u0t(t){var e=String(t).split(".");(e.length>2||!e[0].match(/^-?[0-9]*$/)||e[1]&&!e[1].match(/^[0-9]*$/)||t==="."||t==="-.")&&JLe.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}Q5.commify=u0t;function ZLe(t,e){if(typeof e=="string"){var n=XLe.indexOf(e);n!==-1&&(e=3*n)}return(0,$Le.formatFixed)(t,e??18)}Q5.formatUnits=ZLe;function eFe(t,e){if(typeof t!="string"&&JLe.throwArgumentError("value must be a string","value",t),typeof e=="string"){var n=XLe.indexOf(e);n!==-1&&(e=3*n)}return(0,$Le.parseFixed)(t,e??18)}Q5.parseUnits=eFe;function p0t(t){return ZLe(t,18)}Q5.formatEther=p0t;function h0t(t){return eFe(t,18)}Q5.parseEther=h0t});var I7=D(ke=>{"use strict";u();p();var m0t=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]}),b0t=ke&&ke.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),nFe=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)&&m0t(e,t,n);return b0t(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 Oc=Tw();Object.defineProperty(ke,"AbiCoder",{enumerable:!0,get:function(){return Oc.AbiCoder}});Object.defineProperty(ke,"checkResultErrors",{enumerable:!0,get:function(){return Oc.checkResultErrors}});Object.defineProperty(ke,"ConstructorFragment",{enumerable:!0,get:function(){return Oc.ConstructorFragment}});Object.defineProperty(ke,"defaultAbiCoder",{enumerable:!0,get:function(){return Oc.defaultAbiCoder}});Object.defineProperty(ke,"ErrorFragment",{enumerable:!0,get:function(){return Oc.ErrorFragment}});Object.defineProperty(ke,"EventFragment",{enumerable:!0,get:function(){return Oc.EventFragment}});Object.defineProperty(ke,"FormatTypes",{enumerable:!0,get:function(){return Oc.FormatTypes}});Object.defineProperty(ke,"Fragment",{enumerable:!0,get:function(){return Oc.Fragment}});Object.defineProperty(ke,"FunctionFragment",{enumerable:!0,get:function(){return Oc.FunctionFragment}});Object.defineProperty(ke,"Indexed",{enumerable:!0,get:function(){return Oc.Indexed}});Object.defineProperty(ke,"Interface",{enumerable:!0,get:function(){return Oc.Interface}});Object.defineProperty(ke,"LogDescription",{enumerable:!0,get:function(){return Oc.LogDescription}});Object.defineProperty(ke,"ParamType",{enumerable:!0,get:function(){return Oc.ParamType}});Object.defineProperty(ke,"TransactionDescription",{enumerable:!0,get:function(){return Oc.TransactionDescription}});var hS=Po();Object.defineProperty(ke,"getAddress",{enumerable:!0,get:function(){return hS.getAddress}});Object.defineProperty(ke,"getCreate2Address",{enumerable:!0,get:function(){return hS.getCreate2Address}});Object.defineProperty(ke,"getContractAddress",{enumerable:!0,get:function(){return hS.getContractAddress}});Object.defineProperty(ke,"getIcapAddress",{enumerable:!0,get:function(){return hS.getIcapAddress}});Object.defineProperty(ke,"isAddress",{enumerable:!0,get:function(){return hS.isAddress}});var y0t=nFe(TI());ke.base64=y0t;var g0t=cH();Object.defineProperty(ke,"base58",{enumerable:!0,get:function(){return g0t.Base58}});var Jo=Vt();Object.defineProperty(ke,"arrayify",{enumerable:!0,get:function(){return Jo.arrayify}});Object.defineProperty(ke,"concat",{enumerable:!0,get:function(){return Jo.concat}});Object.defineProperty(ke,"hexConcat",{enumerable:!0,get:function(){return Jo.hexConcat}});Object.defineProperty(ke,"hexDataSlice",{enumerable:!0,get:function(){return Jo.hexDataSlice}});Object.defineProperty(ke,"hexDataLength",{enumerable:!0,get:function(){return Jo.hexDataLength}});Object.defineProperty(ke,"hexlify",{enumerable:!0,get:function(){return Jo.hexlify}});Object.defineProperty(ke,"hexStripZeros",{enumerable:!0,get:function(){return Jo.hexStripZeros}});Object.defineProperty(ke,"hexValue",{enumerable:!0,get:function(){return Jo.hexValue}});Object.defineProperty(ke,"hexZeroPad",{enumerable:!0,get:function(){return Jo.hexZeroPad}});Object.defineProperty(ke,"isBytes",{enumerable:!0,get:function(){return Jo.isBytes}});Object.defineProperty(ke,"isBytesLike",{enumerable:!0,get:function(){return Jo.isBytesLike}});Object.defineProperty(ke,"isHexString",{enumerable:!0,get:function(){return Jo.isHexString}});Object.defineProperty(ke,"joinSignature",{enumerable:!0,get:function(){return Jo.joinSignature}});Object.defineProperty(ke,"zeroPad",{enumerable:!0,get:function(){return Jo.zeroPad}});Object.defineProperty(ke,"splitSignature",{enumerable:!0,get:function(){return Jo.splitSignature}});Object.defineProperty(ke,"stripZeros",{enumerable:!0,get:function(){return Jo.stripZeros}});var QT=A3();Object.defineProperty(ke,"_TypedDataEncoder",{enumerable:!0,get:function(){return QT._TypedDataEncoder}});Object.defineProperty(ke,"dnsEncode",{enumerable:!0,get:function(){return QT.dnsEncode}});Object.defineProperty(ke,"hashMessage",{enumerable:!0,get:function(){return QT.hashMessage}});Object.defineProperty(ke,"id",{enumerable:!0,get:function(){return QT.id}});Object.defineProperty(ke,"isValidName",{enumerable:!0,get:function(){return QT.isValidName}});Object.defineProperty(ke,"namehash",{enumerable:!0,get:function(){return QT.namehash}});var C7=_H();Object.defineProperty(ke,"defaultPath",{enumerable:!0,get:function(){return C7.defaultPath}});Object.defineProperty(ke,"entropyToMnemonic",{enumerable:!0,get:function(){return C7.entropyToMnemonic}});Object.defineProperty(ke,"getAccountPath",{enumerable:!0,get:function(){return C7.getAccountPath}});Object.defineProperty(ke,"HDNode",{enumerable:!0,get:function(){return C7.HDNode}});Object.defineProperty(ke,"isValidMnemonic",{enumerable:!0,get:function(){return C7.isValidMnemonic}});Object.defineProperty(ke,"mnemonicToEntropy",{enumerable:!0,get:function(){return C7.mnemonicToEntropy}});Object.defineProperty(ke,"mnemonicToSeed",{enumerable:!0,get:function(){return C7.mnemonicToSeed}});var v0t=ufe();Object.defineProperty(ke,"getJsonWalletAddress",{enumerable:!0,get:function(){return v0t.getJsonWalletAddress}});var w0t=H1();Object.defineProperty(ke,"keccak256",{enumerable:!0,get:function(){return w0t.keccak256}});var T0t=Ft();Object.defineProperty(ke,"Logger",{enumerable:!0,get:function(){return T0t.Logger}});var lz=v7();Object.defineProperty(ke,"computeHmac",{enumerable:!0,get:function(){return lz.computeHmac}});Object.defineProperty(ke,"ripemd160",{enumerable:!0,get:function(){return lz.ripemd160}});Object.defineProperty(ke,"sha256",{enumerable:!0,get:function(){return lz.sha256}});Object.defineProperty(ke,"sha512",{enumerable:!0,get:function(){return lz.sha512}});var Hfe=Ufe();Object.defineProperty(ke,"solidityKeccak256",{enumerable:!0,get:function(){return Hfe.keccak256}});Object.defineProperty(ke,"solidityPack",{enumerable:!0,get:function(){return Hfe.pack}});Object.defineProperty(ke,"soliditySha256",{enumerable:!0,get:function(){return Hfe.sha256}});var aFe=$k();Object.defineProperty(ke,"randomBytes",{enumerable:!0,get:function(){return aFe.randomBytes}});Object.defineProperty(ke,"shuffled",{enumerable:!0,get:function(){return aFe.shuffled}});var VT=Ba();Object.defineProperty(ke,"checkProperties",{enumerable:!0,get:function(){return VT.checkProperties}});Object.defineProperty(ke,"deepCopy",{enumerable:!0,get:function(){return VT.deepCopy}});Object.defineProperty(ke,"defineReadOnly",{enumerable:!0,get:function(){return VT.defineReadOnly}});Object.defineProperty(ke,"getStatic",{enumerable:!0,get:function(){return VT.getStatic}});Object.defineProperty(ke,"resolveProperties",{enumerable:!0,get:function(){return VT.resolveProperties}});Object.defineProperty(ke,"shallowCopy",{enumerable:!0,get:function(){return VT.shallowCopy}});var x0t=nFe(vI());ke.RLP=x0t;var zfe=Pk();Object.defineProperty(ke,"computePublicKey",{enumerable:!0,get:function(){return zfe.computePublicKey}});Object.defineProperty(ke,"recoverPublicKey",{enumerable:!0,get:function(){return zfe.recoverPublicKey}});Object.defineProperty(ke,"SigningKey",{enumerable:!0,get:function(){return zfe.SigningKey}});var um=Ai();Object.defineProperty(ke,"formatBytes32String",{enumerable:!0,get:function(){return um.formatBytes32String}});Object.defineProperty(ke,"nameprep",{enumerable:!0,get:function(){return um.nameprep}});Object.defineProperty(ke,"parseBytes32String",{enumerable:!0,get:function(){return um.parseBytes32String}});Object.defineProperty(ke,"_toEscapedUtf8String",{enumerable:!0,get:function(){return um._toEscapedUtf8String}});Object.defineProperty(ke,"toUtf8Bytes",{enumerable:!0,get:function(){return um.toUtf8Bytes}});Object.defineProperty(ke,"toUtf8CodePoints",{enumerable:!0,get:function(){return um.toUtf8CodePoints}});Object.defineProperty(ke,"toUtf8String",{enumerable:!0,get:function(){return um.toUtf8String}});Object.defineProperty(ke,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return um.Utf8ErrorFuncs}});var YT=Nu();Object.defineProperty(ke,"accessListify",{enumerable:!0,get:function(){return YT.accessListify}});Object.defineProperty(ke,"computeAddress",{enumerable:!0,get:function(){return YT.computeAddress}});Object.defineProperty(ke,"parseTransaction",{enumerable:!0,get:function(){return YT.parse}});Object.defineProperty(ke,"recoverAddress",{enumerable:!0,get:function(){return YT.recoverAddress}});Object.defineProperty(ke,"serializeTransaction",{enumerable:!0,get:function(){return YT.serialize}});Object.defineProperty(ke,"TransactionTypes",{enumerable:!0,get:function(){return YT.TransactionTypes}});var mS=tFe();Object.defineProperty(ke,"commify",{enumerable:!0,get:function(){return mS.commify}});Object.defineProperty(ke,"formatEther",{enumerable:!0,get:function(){return mS.formatEther}});Object.defineProperty(ke,"parseEther",{enumerable:!0,get:function(){return mS.parseEther}});Object.defineProperty(ke,"formatUnits",{enumerable:!0,get:function(){return mS.formatUnits}});Object.defineProperty(ke,"parseUnits",{enumerable:!0,get:function(){return mS.parseUnits}});var rFe=mfe();Object.defineProperty(ke,"verifyMessage",{enumerable:!0,get:function(){return rFe.verifyMessage}});Object.defineProperty(ke,"verifyTypedData",{enumerable:!0,get:function(){return rFe.verifyTypedData}});var Wfe=I8();Object.defineProperty(ke,"_fetchData",{enumerable:!0,get:function(){return Wfe._fetchData}});Object.defineProperty(ke,"fetchJson",{enumerable:!0,get:function(){return Wfe.fetchJson}});Object.defineProperty(ke,"poll",{enumerable:!0,get:function(){return Wfe.poll}});var E0t=v7();Object.defineProperty(ke,"SupportedAlgorithm",{enumerable:!0,get:function(){return E0t.SupportedAlgorithm}});var fFe=Ai();Object.defineProperty(ke,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return fFe.UnicodeNormalizationForm}});Object.defineProperty(ke,"Utf8ErrorReason",{enumerable:!0,get:function(){return fFe.Utf8ErrorReason}})});var iFe=D(uz=>{"use strict";u();p();Object.defineProperty(uz,"__esModule",{value:!0});uz.version=void 0;uz.version="ethers/5.7.2"});var Gfe=D(dn=>{"use strict";u();p();var _0t=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]}),A0t=dn&&dn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),qfe=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)&&_0t(e,t,n);return A0t(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 jfe=UBe();Object.defineProperty(dn,"BaseContract",{enumerable:!0,get:function(){return jfe.BaseContract}});Object.defineProperty(dn,"Contract",{enumerable:!0,get:function(){return jfe.Contract}});Object.defineProperty(dn,"ContractFactory",{enumerable:!0,get:function(){return jfe.ContractFactory}});var sFe=ia();Object.defineProperty(dn,"BigNumber",{enumerable:!0,get:function(){return sFe.BigNumber}});Object.defineProperty(dn,"FixedNumber",{enumerable:!0,get:function(){return sFe.FixedNumber}});var oFe=i8();Object.defineProperty(dn,"Signer",{enumerable:!0,get:function(){return oFe.Signer}});Object.defineProperty(dn,"VoidSigner",{enumerable:!0,get:function(){return oFe.VoidSigner}});var C0t=mfe();Object.defineProperty(dn,"Wallet",{enumerable:!0,get:function(){return C0t.Wallet}});var I0t=qfe(E3());dn.constants=I0t;var k0t=qfe(oz());dn.providers=k0t;var S0t=oz();Object.defineProperty(dn,"getDefaultProvider",{enumerable:!0,get:function(){return S0t.getDefaultProvider}});var cFe=Zre();Object.defineProperty(dn,"Wordlist",{enumerable:!0,get:function(){return cFe.Wordlist}});Object.defineProperty(dn,"wordlists",{enumerable:!0,get:function(){return cFe.wordlists}});var R0t=qfe(I7());dn.utils=R0t;var dFe=Ft();Object.defineProperty(dn,"errors",{enumerable:!0,get:function(){return dFe.ErrorCode}});var lFe=iFe();Object.defineProperty(dn,"version",{enumerable:!0,get:function(){return lFe.version}});var M0t=new dFe.Logger(lFe.version);dn.logger=M0t});var Je=D(Jt=>{"use strict";u();p();var B0t=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]}),D0t=Jt&&Jt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),P0t=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)&&B0t(e,t,n);return D0t(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 uFe=P0t(Gfe());Jt.ethers=uFe;try{Kfe=window,Kfe._ethers==null&&(Kfe._ethers=uFe)}catch{}var Kfe,fo=Gfe();Object.defineProperty(Jt,"Signer",{enumerable:!0,get:function(){return fo.Signer}});Object.defineProperty(Jt,"Wallet",{enumerable:!0,get:function(){return fo.Wallet}});Object.defineProperty(Jt,"VoidSigner",{enumerable:!0,get:function(){return fo.VoidSigner}});Object.defineProperty(Jt,"getDefaultProvider",{enumerable:!0,get:function(){return fo.getDefaultProvider}});Object.defineProperty(Jt,"providers",{enumerable:!0,get:function(){return fo.providers}});Object.defineProperty(Jt,"BaseContract",{enumerable:!0,get:function(){return fo.BaseContract}});Object.defineProperty(Jt,"Contract",{enumerable:!0,get:function(){return fo.Contract}});Object.defineProperty(Jt,"ContractFactory",{enumerable:!0,get:function(){return fo.ContractFactory}});Object.defineProperty(Jt,"BigNumber",{enumerable:!0,get:function(){return fo.BigNumber}});Object.defineProperty(Jt,"FixedNumber",{enumerable:!0,get:function(){return fo.FixedNumber}});Object.defineProperty(Jt,"constants",{enumerable:!0,get:function(){return fo.constants}});Object.defineProperty(Jt,"errors",{enumerable:!0,get:function(){return fo.errors}});Object.defineProperty(Jt,"logger",{enumerable:!0,get:function(){return fo.logger}});Object.defineProperty(Jt,"utils",{enumerable:!0,get:function(){return fo.utils}});Object.defineProperty(Jt,"wordlists",{enumerable:!0,get:function(){return fo.wordlists}});Object.defineProperty(Jt,"version",{enumerable:!0,get:function(){return fo.version}});Object.defineProperty(Jt,"Wordlist",{enumerable:!0,get:function(){return fo.Wordlist}})});function O0t(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){U0t(t);return}return e}function U0t(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function bS(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(!N0t.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(L0t.test(t)||F0t.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,O0t)}return JSON.parse(t)}catch(a){if(e.strict)throw a;return t}}var L0t,F0t,N0t,pFe=oe(()=>{u();p();L0t=/"(?:_|\\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*:/,F0t=/"(?: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*:/,N0t=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/});function H0t(t){return!t||typeof t.then!="function"?Promise.resolve(t):t}function Zi(t,...e){try{return H0t(t(...e))}catch(n){return Promise.reject(n)}}function z0t(t){let e=typeof t;return t===null||e!=="object"&&e!=="function"}function W0t(t){let e=Object.getPrototypeOf(t);return!e||e.isPrototypeOf(Object)}function yS(t){if(z0t(t))return String(t);if(W0t(t)||Array.isArray(t))return JSON.stringify(t);if(typeof t.toJSON=="function")return yS(t.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function hFe(){if(typeof _.Buffer===void 0)throw new TypeError("[unstorage] Buffer is not supported!")}function mFe(t){if(typeof t=="string")return t;hFe();let e=_.Buffer.from(t).toString("base64");return Qfe+e}function bFe(t){return typeof t!="string"||!t.startsWith(Qfe)?t:(hFe(),_.Buffer.from(t.slice(Qfe.length),"base64"))}function W1(t){return t?t.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function yFe(...t){return W1(t.join(":"))}function gS(t){return t=W1(t),t?t+":":""}var Qfe,gFe=oe(()=>{u();p();Qfe="base64:"});function TFe(t={}){let e={mounts:{"":t.driver||j0t()},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=W1(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 vFe(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=W1(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=W1(c);let{relativeKey:l,driver:h}=n(c);return Zi(h.hasItem,l,d)},getItem(c,d={}){c=W1(c);let{relativeKey:l,driver:h}=n(c);return Zi(h.getItem,l,d).then(y=>bS(y))},getItems(c,d){return s(c,d,l=>l.driver.getItems?Zi(l.driver.getItems,l.items.map(h=>({key:h.relativeKey,options:h.options})),d).then(h=>h.map(y=>({key:yFe(l.base,y.key),value:bS(y.value)}))):Promise.all(l.items.map(h=>Zi(l.driver.getItem,h.relativeKey,h.options).then(y=>({key:h.key,value:bS(y)})))))},getItemRaw(c,d={}){c=W1(c);let{relativeKey:l,driver:h}=n(c);return h.getItemRaw?Zi(h.getItemRaw,l,d):Zi(h.getItem,l,d).then(y=>bFe(y))},async setItem(c,d,l={}){if(d===void 0)return o.removeItem(c);c=W1(c);let{relativeKey:h,driver:y}=n(c);y.setItem&&(await Zi(y.setItem,h,yS(d),l),y.watch||r("update",c))},async setItems(c,d){await s(c,d,async l=>{if(l.driver.setItems)return Zi(l.driver.setItems,l.items.map(h=>({key:h.relativeKey,value:yS(h.value),options:h.options})),d);l.driver.setItem&&await Promise.all(l.items.map(h=>Zi(l.driver.setItem,h.relativeKey,yS(h.value),h.options)))})},async setItemRaw(c,d,l={}){if(d===void 0)return o.removeItem(c,l);c=W1(c);let{relativeKey:h,driver:y}=n(c);if(y.setItemRaw)await Zi(y.setItemRaw,h,d,l);else if(y.setItem)await Zi(y.setItem,h,mFe(d),l);else return;y.watch||r("update",c)},async removeItem(c,d={}){typeof d=="boolean"&&(d={removeMeta:d}),c=W1(c);let{relativeKey:l,driver:h}=n(c);h.removeItem&&(await Zi(h.removeItem,l,d),(d.removeMeta||d.removeMata)&&await Zi(h.removeItem,l+"$",d),h.watch||r("remove",c))},async getMeta(c,d={}){typeof d=="boolean"&&(d={nativeOnly:d}),c=W1(c);let{relativeKey:l,driver:h}=n(c),y=Object.create(null);if(h.getMeta&&Object.assign(y,await Zi(h.getMeta,l,d)),!d.nativeOnly){let v=await Zi(h.getItem,l+"$",d).then(k=>bS(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=gS(c);let l=a(c,!0),h=[],y=[];for(let v of l){let O=(await Zi(v.driver.getKeys,v.relativeBase,d)).map(F=>v.mountpoint+W1(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=gS(c),await Promise.all(a(c,!1).map(async l=>{if(l.driver.clear)return Zi(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=>wFe(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=gS(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(vFe(d,r,c)).then(l=>{e.unwatch[c]=l}).catch(console.error),o},async unmount(c,d=!0){c=gS(c),!(!c||!e.mounts[c])&&(e.watching&&c in e.unwatch&&(e.unwatch[c](),delete e.unwatch[c]),d&&await wFe(e.mounts[c]),e.mountpoints=e.mountpoints.filter(l=>l!==c),delete e.mounts[c])},getMount(c=""){c=W1(c)+":";let d=n(c);return{driver:d.driver,base:d.base}},getMounts(c="",d={}){return c=W1(c),a(c,d.parents).map(h=>({driver:h.driver,base:h.mountpoint}))}};return o}function vFe(t,e,n){return t.watch?t.watch((a,r)=>e(a,n+r)):()=>{}}async function wFe(t){typeof t.dispose=="function"&&await Zi(t.dispose)}var q0t,j0t,xFe=oe(()=>{u();p();pFe();gFe();q0t="memory",j0t=()=>{let t=new Map;return{name:q0t,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 k7(t){return new Promise((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)})}function Yfe(t,e){let n=indexedDB.open(t);n.onupgradeneeded=()=>n.result.createObjectStore(e);let a=k7(n);return(r,f)=>a.then(i=>f(i.transaction(e,r).objectStore(e)))}function vS(){return Vfe||(Vfe=Yfe("keyval-store","keyval")),Vfe}function $fe(t,e=vS()){return e("readonly",n=>k7(n.get(t)))}function EFe(t,e,n=vS()){return n("readwrite",a=>(a.put(e,t),k7(a.transaction)))}function _Fe(t,e=vS()){return e("readwrite",n=>(n.delete(t),k7(n.transaction)))}function AFe(t=vS()){return t("readwrite",e=>(e.clear(),k7(e.transaction)))}function G0t(t,e){return t.openCursor().onsuccess=function(){this.result&&(e(this.result),this.result.continue())},k7(t.transaction)}function CFe(t=vS()){return t("readonly",e=>{if(e.getAllKeys)return k7(e.getAllKeys());let n=[];return G0t(e,a=>n.push(a.key)).then(()=>n)})}var Vfe,IFe=oe(()=>{u();p()});function $u(t){if(typeof t!="string")throw new Error(`Cannot safe json parse value of type ${typeof t}`);try{return Q0t(t)}catch{return t}}function q1(t){return typeof t=="string"?t:K0t(t)||""}var K0t,Q0t,S7=oe(()=>{u();p();K0t=t=>JSON.stringify(t,(e,n)=>typeof n=="bigint"?n.toString()+"n":n),Q0t=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 X0t(t){var e;return[t[0],$u((e=t[1])!=null?e:"")]}var V0t,Y0t,$0t,J0t,Xfe,Jfe,pz,Zfe,Z0t,kFe,ett,ttt,hz,SFe=oe(()=>{u();p();xFe();IFe();S7();V0t="idb-keyval",Y0t=(t={})=>{let e=t.base&&t.base.length>0?`${t.base}:`:"",n=r=>e+r,a;return t.dbName&&t.storeName&&(a=Yfe(t.dbName,t.storeName)),{name:V0t,options:t,async hasItem(r){return!(typeof await $fe(n(r),a)>"u")},async getItem(r){return await $fe(n(r),a)??null},setItem(r,f){return EFe(n(r),f,a)},removeItem(r){return _Fe(n(r),a)},getKeys(){return CFe(a)},clear(){return AFe(a)}}},$0t="WALLET_CONNECT_V2_INDEXED_DB",J0t="keyvaluestorage",Xfe=class{constructor(){this.indexedDb=TFe({driver:Y0t({dbName:$0t,storeName:J0t})})}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,q1(n))}async removeItem(e){await this.indexedDb.removeItem(e)}},Jfe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},pz={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 Jfe<"u"&&Jfe.localStorage?pz.exports=Jfe.localStorage:typeof window<"u"&&window.localStorage?pz.exports=window.localStorage:pz.exports=new e})();Zfe=class{constructor(){this.localStorage=pz.exports}async getKeys(){return Object.keys(this.localStorage)}async getEntries(){return Object.entries(this.localStorage).map(X0t)}async getItem(e){let n=this.localStorage.getItem(e);if(n!==null)return $u(n)}async setItem(e,n){this.localStorage.setItem(e,q1(n))}async removeItem(e){this.localStorage.removeItem(e)}},Z0t="wc_storage_version",kFe=1,ett=async(t,e,n)=>{let a=Z0t,r=await e.getItem(a);if(r&&r>=kFe){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,kFe),n(e),ttt(t,i)},ttt=async(t,e)=>{e.length&&e.forEach(async n=>{await t.removeItem(n)})},hz=class{constructor(){this.initialized=!1,this.setInitialized=n=>{this.storage=n,this.initialized=!0};let e=new Zfe;this.storage=e;try{let n=new Xfe;ett(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 Ju={};G0(Ju,{__assign:()=>tie,__asyncDelegator:()=>htt,__asyncGenerator:()=>ptt,__asyncValues:()=>mtt,__await:()=>wS,__awaiter:()=>stt,__classPrivateFieldGet:()=>vtt,__classPrivateFieldSet:()=>wtt,__createBinding:()=>ctt,__decorate:()=>rtt,__exportStar:()=>dtt,__extends:()=>ntt,__generator:()=>ott,__importDefault:()=>gtt,__importStar:()=>ytt,__makeTemplateObject:()=>btt,__metadata:()=>itt,__param:()=>ftt,__read:()=>RFe,__rest:()=>att,__spread:()=>ltt,__spreadArrays:()=>utt,__values:()=>nie});function ntt(t,e){eie(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function att(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 ftt(t,e){return function(n,a){e(n,a,t)}}function itt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function stt(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 ott(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 RFe(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 ltt(){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 wS?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 htt(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:wS(t[r](i)),done:r==="return"}:f?f(i):i}:f}}function mtt(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 nie=="function"?nie(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 btt(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function ytt(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 gtt(t){return t&&t.__esModule?t:{default:t}}function vtt(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function wtt(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 eie,tie,Xu=oe(()=>{u();p();eie=function(t,e){return eie=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])},eie(t,e)};tie=function(){return tie=Object.assign||function(e){for(var n,a=1,r=arguments.length;a{"use strict";u();p();Object.defineProperty(mz,"__esModule",{value:!0});mz.delay=void 0;function Ttt(t){return new Promise(e=>{setTimeout(()=>{e(!0)},t)})}mz.delay=Ttt});var BFe=D($T=>{"use strict";u();p();Object.defineProperty($T,"__esModule",{value:!0});$T.ONE_THOUSAND=$T.ONE_HUNDRED=void 0;$T.ONE_HUNDRED=100;$T.ONE_THOUSAND=1e3});var DFe=D(X0=>{"use strict";u();p();Object.defineProperty(X0,"__esModule",{value:!0});X0.ONE_YEAR=X0.FOUR_WEEKS=X0.THREE_WEEKS=X0.TWO_WEEKS=X0.ONE_WEEK=X0.THIRTY_DAYS=X0.SEVEN_DAYS=X0.FIVE_DAYS=X0.THREE_DAYS=X0.ONE_DAY=X0.TWENTY_FOUR_HOURS=X0.TWELVE_HOURS=X0.SIX_HOURS=X0.THREE_HOURS=X0.ONE_HOUR=X0.SIXTY_MINUTES=X0.THIRTY_MINUTES=X0.TEN_MINUTES=X0.FIVE_MINUTES=X0.ONE_MINUTE=X0.SIXTY_SECONDS=X0.THIRTY_SECONDS=X0.TEN_SECONDS=X0.FIVE_SECONDS=X0.ONE_SECOND=void 0;X0.ONE_SECOND=1;X0.FIVE_SECONDS=5;X0.TEN_SECONDS=10;X0.THIRTY_SECONDS=30;X0.SIXTY_SECONDS=60;X0.ONE_MINUTE=X0.SIXTY_SECONDS;X0.FIVE_MINUTES=X0.ONE_MINUTE*5;X0.TEN_MINUTES=X0.ONE_MINUTE*10;X0.THIRTY_MINUTES=X0.ONE_MINUTE*30;X0.SIXTY_MINUTES=X0.ONE_MINUTE*60;X0.ONE_HOUR=X0.SIXTY_MINUTES;X0.THREE_HOURS=X0.ONE_HOUR*3;X0.SIX_HOURS=X0.ONE_HOUR*6;X0.TWELVE_HOURS=X0.ONE_HOUR*12;X0.TWENTY_FOUR_HOURS=X0.ONE_HOUR*24;X0.ONE_DAY=X0.TWENTY_FOUR_HOURS;X0.THREE_DAYS=X0.ONE_DAY*3;X0.FIVE_DAYS=X0.ONE_DAY*5;X0.SEVEN_DAYS=X0.ONE_DAY*7;X0.THIRTY_DAYS=X0.ONE_DAY*30;X0.ONE_WEEK=X0.SEVEN_DAYS;X0.TWO_WEEKS=X0.ONE_WEEK*2;X0.THREE_WEEKS=X0.ONE_WEEK*3;X0.FOUR_WEEKS=X0.ONE_WEEK*4;X0.ONE_YEAR=X0.ONE_DAY*365});var aie=D(bz=>{"use strict";u();p();Object.defineProperty(bz,"__esModule",{value:!0});var PFe=(Xu(),vn(Ju));PFe.__exportStar(BFe(),bz);PFe.__exportStar(DFe(),bz)});var FFe=D(JT=>{"use strict";u();p();Object.defineProperty(JT,"__esModule",{value:!0});JT.fromMiliseconds=JT.toMiliseconds=void 0;var LFe=aie();function xtt(t){return t*LFe.ONE_THOUSAND}JT.toMiliseconds=xtt;function Ett(t){return Math.floor(t/LFe.ONE_THOUSAND)}JT.fromMiliseconds=Ett});var OFe=D(yz=>{"use strict";u();p();Object.defineProperty(yz,"__esModule",{value:!0});var NFe=(Xu(),vn(Ju));NFe.__exportStar(MFe(),yz);NFe.__exportStar(FFe(),yz)});var UFe=D(TS=>{"use strict";u();p();Object.defineProperty(TS,"__esModule",{value:!0});TS.Watch=void 0;var gz=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}};TS.Watch=gz;TS.default=gz});var HFe=D(vz=>{"use strict";u();p();Object.defineProperty(vz,"__esModule",{value:!0});vz.IWatch=void 0;var rie=class{};vz.IWatch=rie});var zFe=D(fie=>{"use strict";u();p();Object.defineProperty(fie,"__esModule",{value:!0});var _tt=(Xu(),vn(Ju));_tt.__exportStar(HFe(),fie)});var R7=D(XT=>{"use strict";u();p();Object.defineProperty(XT,"__esModule",{value:!0});var wz=(Xu(),vn(Ju));wz.__exportStar(OFe(),XT);wz.__exportStar(UFe(),XT);wz.__exportStar(zFe(),XT);wz.__exportStar(aie(),XT)});var Zu,WFe=oe(()=>{u();p();Zu=class{}});var qFe={};G0(qFe,{IEvents:()=>Zu});var iie=oe(()=>{u();p();WFe()});var GFe=D((uta,jFe)=>{"use strict";u();p();function Att(t){try{return JSON.stringify(t)}catch{return'"[Circular]"'}}jFe.exports=Ctt;function Ctt(t,e,n){var a=n&&n.stringify||Att,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 KFe=GFe();YFe.exports=e2;var xS=Ftt().console||{},Itt={mapHttpRequest:Tz,mapHttpResponse:Tz,wrapRequestSerializer:sie,wrapResponseSerializer:sie,wrapErrorSerializer:sie,req:Tz,res:Tz,err:Btt};function ktt(t,e){return Array.isArray(t)?t.filter(function(a){return a!=="!stdSerializers.err"}):t===!0?Object.keys(e):!1}function e2(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||xS;t.browser.write&&(t.browser.asObject=!0);let a=t.serializers||{},r=ktt(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=ES),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:Dtt(t)};o.levels=e2.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=ES,o.serializers=a,o._serialize=r,o._stdErrSerialize=f,o.child=y,e&&(o._logEvent=oie());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,ZT(c,o,"error","log"),ZT(c,o,"fatal","error"),ZT(c,o,"warn","error"),ZT(c,o,"info","log"),ZT(c,o,"debug","log"),ZT(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,xz([v],z,F,this._stdErrSerialize)}function W(j){this._childLevel=(j._childLevel|0)+1,this.error=ex(j,v,"error"),this.fatal=ex(j,v,"fatal"),this.warn=ex(j,v,"warn"),this.info=ex(j,v,"info"),this.debug=ex(j,v,"debug"),this.trace=ex(j,v,"trace"),F&&(this.serializers=F,this._serialize=z),e&&(this._logEvent=oie([].concat(j._logEvent.bindings,v)))}return W.prototype=this,new W(this)}return o}e2.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"}};e2.stdSerializers=Itt;e2.stdTimeFunctions=Object.assign({},{nullTime:QFe,epochTime:VFe,unixTime:Ptt,isoTime:Ltt});function ZT(t,e,n,a){let r=Object.getPrototypeOf(e);e[n]=e.levelVal>e.levels.values[n]?ES:r[n]?r[n]:xS[n]||xS[a]||ES,Stt(t,e,n)}function Stt(t,e,n){!t.transmit&&e[n]===ES||(e[n]=function(a){return function(){let f=t.timestamp(),i=new Array(arguments.length),s=Object.getPrototypeOf&&Object.getPrototypeOf(this)===xS?xS:this;for(var o=0;o-1&&f in n&&(t[r][f]=n[f](t[r][f]))}function ex(t,e,n){return function(){let a=new Array(1+arguments.length);a[0]=e;for(var r=1;r"u"?n=qtt(t,e):n=t.bindings().context||"",n}function Gtt(t,e,n=_S){let a=Xo(t,n);return a.trim()?`${a}/${e}`:e}function Zo(t,e,n=_S){let a=Gtt(t,e,n),r=t.child({context:a});return jtt(r,a,n)}function Ktt(t){var e,n;let a=new lie((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:(0,M8.default)(Cz(Az({},t.opts),{level:"trace",browser:Cz(Az({},(n=t.opts)==null?void 0:n.browser),{write:r=>a.write(r)})})),chunkLoggerController:a}}function Qtt(t){var e;let n=new uie((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:(0,M8.default)(Cz(Az({},t.opts),{level:"trace"}),n),chunkLoggerController:n}}function XFe(t){return typeof t.loggerOverride<"u"&&typeof t.loggerOverride!="string"?{logger:t.loggerOverride,chunkLoggerController:null}:typeof window<"u"?Ktt(t):Qtt(t)}var M8,M7,Ntt,_S,pie,die,Ez,_z,lie,uie,Ott,Utt,Htt,$Fe,ztt,Wtt,JFe,Az,Cz,Iz=oe(()=>{u();p();M8=Ee(cie()),M7=Ee(cie());S7();Ntt={level:"info"},_S="custom_context",pie=1e3*1024,die=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}},Ez=class{constructor(e){this.head=null,this.tail=null,this.lengthInNodes=0,this.maxSizeInBytes=e,this.sizeInBytes=0}append(e){let n=new die(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}}}}},_z=class{constructor(e,n=pie){this.level=e??"error",this.levelValue=M8.levels.values[this.level],this.MAX_LOG_SIZE_IN_BYTES=n,this.logs=new Ez(this.MAX_LOG_SIZE_IN_BYTES)}forwardToConsole(e,n){n===M8.levels.values.error?console.error(e):n===M8.levels.values.warn?console.warn(e):n===M8.levels.values.debug?console.debug(e):n===M8.levels.values.trace?console.trace(e):console.log(e)}appendToLogs(e){this.logs.append(q1({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 Ez(this.MAX_LOG_SIZE_IN_BYTES)}getLogArray(){return Array.from(this.logs)}logsToBlob(e){let n=this.getLogArray();return n.push(q1({extraMetadata:e})),new Blob(n,{type:"application/json"})}},lie=class{constructor(e,n=pie){this.baseChunkLogger=new _z(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)}},uie=class{constructor(e,n=pie){this.baseChunkLogger=new _z(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)}},Ott=Object.defineProperty,Utt=Object.defineProperties,Htt=Object.getOwnPropertyDescriptors,$Fe=Object.getOwnPropertySymbols,ztt=Object.prototype.hasOwnProperty,Wtt=Object.prototype.propertyIsEnumerable,JFe=(t,e,n)=>e in t?Ott(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Az=(t,e)=>{for(var n in e||(e={}))ztt.call(e,n)&&JFe(t,n,e[n]);if($Fe)for(var n of $Fe(e))Wtt.call(e,n)&&JFe(t,n,e[n]);return t},Cz=(t,e)=>Utt(t,Htt(e))});var eNe=D(kz=>{"use strict";u();p();Object.defineProperty(kz,"__esModule",{value:!0});kz.BrowserRandomSource=void 0;var ZFe=65536,hie=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(mie,"__esModule",{value:!0});function Vtt(t){for(var e=0;e{"use strict";u();p();Object.defineProperty(Sz,"__esModule",{value:!0});Sz.NodeRandomSource=void 0;var Ytt=V5(),bie=class{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof Vd<"u"){let e=WU();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(Rz,"__esModule",{value:!0});Rz.SystemRandomSource=void 0;var $tt=eNe(),Jtt=tNe(),yie=class{constructor(){if(this.isAvailable=!1,this.name="",this._source=new $tt.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new Jtt.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)}};Rz.SystemRandomSource=yie});var aNe=D(k6=>{"use strict";u();p();Object.defineProperty(k6,"__esModule",{value:!0});function Xtt(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}k6.mul=Math.imul||Xtt;function Ztt(t,e){return t+e|0}k6.add=Ztt;function ent(t,e){return t-e|0}k6.sub=ent;function tnt(t,e){return t<>>32-e}k6.rotl=tnt;function nnt(t,e){return t<<32-e|t>>>e}k6.rotr=nnt;function ant(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}k6.isInteger=Number.isInteger||ant;k6.MAX_SAFE_INTEGER=9007199254740991;k6.isSafeInteger=function(t){return k6.isInteger(t)&&t>=-k6.MAX_SAFE_INTEGER&&t<=k6.MAX_SAFE_INTEGER}});var tx=D(zn=>{"use strict";u();p();Object.defineProperty(zn,"__esModule",{value:!0});var rNe=aNe();function rnt(t,e){return e===void 0&&(e=0),(t[e+0]<<8|t[e+1])<<16>>16}zn.readInt16BE=rnt;function fnt(t,e){return e===void 0&&(e=0),(t[e+0]<<8|t[e+1])>>>0}zn.readUint16BE=fnt;function int(t,e){return e===void 0&&(e=0),(t[e+1]<<8|t[e])<<16>>16}zn.readInt16LE=int;function snt(t,e){return e===void 0&&(e=0),(t[e+1]<<8|t[e])>>>0}zn.readUint16LE=snt;function fNe(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=fNe;zn.writeInt16BE=fNe;function iNe(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=iNe;zn.writeInt16LE=iNe;function gie(t,e){return e===void 0&&(e=0),t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3]}zn.readInt32BE=gie;function vie(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=vie;function wie(t,e){return e===void 0&&(e=0),t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]}zn.readInt32LE=wie;function Tie(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=Tie;function Mz(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=Mz;zn.writeInt32BE=Mz;function Bz(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=Bz;zn.writeInt32LE=Bz;function ont(t,e){e===void 0&&(e=0);var n=gie(t,e),a=gie(t,e+4);return n*4294967296+a-(a>>31)*4294967296}zn.readInt64BE=ont;function cnt(t,e){e===void 0&&(e=0);var n=vie(t,e),a=vie(t,e+4);return n*4294967296+a}zn.readUint64BE=cnt;function dnt(t,e){e===void 0&&(e=0);var n=wie(t,e),a=wie(t,e+4);return a*4294967296+n-(n>>31)*4294967296}zn.readInt64LE=dnt;function lnt(t,e){e===void 0&&(e=0);var n=Tie(t,e),a=Tie(t,e+4);return a*4294967296+n}zn.readUint64LE=lnt;function sNe(t,e,n){return e===void 0&&(e=new Uint8Array(8)),n===void 0&&(n=0),Mz(t/4294967296>>>0,e,n),Mz(t>>>0,e,n+4),e}zn.writeUint64BE=sNe;zn.writeInt64BE=sNe;function oNe(t,e,n){return e===void 0&&(e=new Uint8Array(8)),n===void 0&&(n=0),Bz(t>>>0,e,n),Bz(t/4294967296>>>0,e,n+4),e}zn.writeUint64LE=oNe;zn.writeInt64LE=oNe;function unt(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=unt;function pnt(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=hnt;function mnt(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(!rNe.isSafeInteger(e))throw new Error("writeUintLE value must be an integer");for(var r=1,f=a;f{"use strict";u();p();Object.defineProperty(e1,"__esModule",{value:!0});e1.randomStringForEntropy=e1.randomString=e1.randomUint32=e1.randomBytes=e1.defaultRandomSource=void 0;var _nt=nNe(),Ant=tx(),cNe=V5();e1.defaultRandomSource=new _nt.SystemRandomSource;function xie(t,e=e1.defaultRandomSource){return e.randomBytes(t)}e1.randomBytes=xie;function Cnt(t=e1.defaultRandomSource){let e=xie(4,t),n=(0,Ant.readUint32LE)(e);return(0,cNe.wipe)(e),n}e1.randomUint32=Cnt;var dNe="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function lNe(t,e=dNe,n=e1.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=xie(Math.ceil(t*256/f),n);for(let s=0;s0;s++){let o=i[s];o{"use strict";u();p();Object.defineProperty(B8,"__esModule",{value:!0});var ax=tx(),nx=V5();B8.DIGEST_LENGTH=64;B8.BLOCK_SIZE=128;var pNe=function(){function t(){this.digestLength=B8.DIGEST_LENGTH,this.blockSize=B8.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(){nx.wipe(this._buffer),nx.wipe(this._tempHi),nx.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&&(Eie(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(n>=this.blockSize&&(a=Eie(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){nx.wipe(e.stateHi),nx.wipe(e.stateLo),e.buffer&&nx.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},t}();B8.SHA512=pNe;var uNe=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 Eie(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,b;i>=128;){for(var A=0;A<16;A++){var P=8*A+f;t[A]=ax.readUint32BE(r,P),e[A]=ax.readUint32BE(r,P+4)}for(var A=0;A<80;A++){var L=s,E=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,b=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,b+=X>>>16,X=l&h^~l&y,K=W&j^~W&Q,T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,X=uNe[A*2],K=uNe[A*2+1],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,X=t[A%16],K=e[A%16],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,G=w&65535|b<<16,R=T&65535|N<<16,X=G,K=R,T=K&65535,N=K>>>16,w=X&65535,b=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,b+=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,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,ee=w&65535|b<<16,ie=T&65535|N<<16,X=B,K=ne,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=G,K=R,T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,B=w&65535|b<<16,ne=T&65535|N<<16,o=L,c=E,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,b=X>>>16,X=t[(P+9)%16],K=e[(P+9)%16],T+=K&65535,N+=K>>>16,w+=X&65535,b+=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,b+=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,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,t[P]=w&65535|b<<16,e[P]=T&65535|N<<16}X=s,K=k,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[0],K=a[0],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[0]=s=w&65535|b<<16,a[0]=k=T&65535|N<<16,X=o,K=O,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[1],K=a[1],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[1]=o=w&65535|b<<16,a[1]=O=T&65535|N<<16,X=c,K=F,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[2],K=a[2],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[2]=c=w&65535|b<<16,a[2]=F=T&65535|N<<16,X=d,K=z,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[3],K=a[3],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[3]=d=w&65535|b<<16,a[3]=z=T&65535|N<<16,X=l,K=W,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[4],K=a[4],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[4]=l=w&65535|b<<16,a[4]=W=T&65535|N<<16,X=h,K=j,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[5],K=a[5],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[5]=h=w&65535|b<<16,a[5]=j=T&65535|N<<16,X=y,K=Q,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[6],K=a[6],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[6]=y=w&65535|b<<16,a[6]=Q=T&65535|N<<16,X=v,K=V,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[7],K=a[7],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[7]=v=w&65535|b<<16,a[7]=V=T&65535|N<<16,f+=128,i-=128}return f}function knt(t){var e=new pNe;e.update(t);var n=e.digest();return e.clean(),n}B8.hash=knt});var kNe=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 Snt=AS(),CS=hNe(),vNe=V5();$a.SIGNATURE_LENGTH=64;$a.PUBLIC_KEY_LENGTH=32;$a.SECRET_KEY_LENGTH=64;$a.SEED_LENGTH=32;function yt(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,wNe(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 TNe(t,e){let n=0;for(let a=0;a<32;a++)n|=t[a]^e[a];return(1&n-1>>>8)-1}function yNe(t,e){let n=new Uint8Array(32),a=new Uint8Array(32);return IS(n,t),IS(a,e),TNe(n,a)}function xNe(t){let e=new Uint8Array(32);return IS(e,t),e[0]&1}function Pnt(t,e){for(let n=0;n<16;n++)t[n]=e[2*n]+(e[2*n+1]<<8);t[15]&=32767}function D7(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]+n[a]}function L7(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,b=0,A=0,P=0,L=0,E=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,b+=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,b+=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,b+=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,b+=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,b+=a*re,A+=a*ie,P+=a*ge,L+=a*de,E+=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,b+=a*Y,A+=a*re,P+=a*ie,L+=a*ge,E+=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*b,k+=38*A,O+=38*P,F+=38*L,z+=38*E,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 P7(t,e){vr(t,e,e)}function ENe(t,e){let n=yt(),a;for(a=0;a<16;a++)n[a]=e[a];for(a=253;a>=0;a--)P7(n,n),a!==2&&a!==4&&vr(n,n,e);for(a=0;a<16;a++)t[a]=n[a]}function Lnt(t,e){let n=yt(),a;for(a=0;a<16;a++)n[a]=e[a];for(a=250;a>=0;a--)P7(n,n),a!==1&&vr(n,n,e);for(a=0;a<16;a++)t[a]=n[a]}function Iie(t,e){let n=yt(),a=yt(),r=yt(),f=yt(),i=yt(),s=yt(),o=yt(),c=yt(),d=yt();L7(n,t[1],t[0]),L7(d,e[1],e[0]),vr(n,n,d),D7(a,t[0],t[1]),D7(d,e[0],e[1]),vr(a,a,d),vr(r,t[3],e[3]),vr(r,r,Bnt),vr(f,t[2],e[2]),D7(f,f,f),L7(i,a,n),L7(s,f,r),D7(o,f,r),D7(c,a,n),vr(t[0],i,s),vr(t[1],c,o),vr(t[2],o,s),vr(t[3],i,c)}function gNe(t,e,n){for(let a=0;a<4;a++)wNe(t[a],e[a],n)}function Sie(t,e){let n=yt(),a=yt(),r=yt();ENe(r,e[2]),vr(n,e[0],r),vr(a,e[1],r),IS(t,a),t[31]^=xNe(n)<<7}function _Ne(t,e,n){pm(t[0],Cie),pm(t[1],rx),pm(t[2],rx),pm(t[3],Cie);for(let a=255;a>=0;--a){let r=n[a/8|0]>>(a&7)&1;gNe(t,e,r),Iie(e,t),Iie(t,t),gNe(t,e,r)}}function Rie(t,e){let n=[yt(),yt(),yt(),yt()];pm(n[0],mNe),pm(n[1],bNe),pm(n[2],rx),vr(n[3],mNe,bNe),_Ne(t,n,e)}function ANe(t){if(t.length!==$a.SEED_LENGTH)throw new Error(`ed25519: seed must be ${$a.SEED_LENGTH} bytes`);let e=(0,CS.hash)(t);e[0]&=248,e[31]&=127,e[31]|=64;let n=new Uint8Array(32),a=[yt(),yt(),yt(),yt()];Rie(a,e),Sie(n,a);let r=new Uint8Array(64);return r.set(t),r.set(n,32),{publicKey:n,secretKey:r}}$a.generateKeyPairFromSeed=ANe;function Fnt(t){let e=(0,Snt.randomBytes)(32,t),n=ANe(e);return(0,vNe.wipe)(e),n}$a.generateKeyPair=Fnt;function Nnt(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=Nnt;var Aie=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 CNe(t,e){let n,a,r,f;for(a=63;a>=32;--a){for(n=0,r=a-32,f=a-12;r>4)*Aie[r],n=e[r]>>8,e[r]&=255;for(r=0;r<32;r++)e[r]-=n*Aie[r];for(a=0;a<32;a++)e[a+1]+=e[a]>>8,t[a]=e[a]&255}function kie(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;CNe(t,e)}function Ont(t,e){let n=new Float64Array(64),a=[yt(),yt(),yt(),yt()],r=(0,CS.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 CS.SHA512;i.update(f.subarray(32)),i.update(e);let s=i.digest();i.clean(),kie(s),Rie(a,s),Sie(f,a),i.reset(),i.update(f.subarray(0,32)),i.update(t.subarray(32)),i.update(e);let o=i.digest();kie(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 CNe(f.subarray(32),n),f}$a.sign=Ont;function INe(t,e){let n=yt(),a=yt(),r=yt(),f=yt(),i=yt(),s=yt(),o=yt();return pm(t[2],rx),Pnt(t[1],e),P7(r,t[1]),vr(f,r,Mnt),L7(r,r,t[2]),D7(f,t[2],f),P7(i,f),P7(s,i),vr(o,s,i),vr(n,o,r),vr(n,n,f),Lnt(n,n),vr(n,n,r),vr(n,n,f),vr(n,n,f),vr(t[0],n,f),P7(a,t[0]),vr(a,a,f),yNe(a,r)&&vr(t[0],t[0],Dnt),P7(a,t[0]),vr(a,a,f),yNe(a,r)?-1:(xNe(t[0])===e[31]>>7&&L7(t[0],Cie,t[0]),vr(t[3],t[0],t[1]),0)}function Unt(t,e,n){let a=new Uint8Array(32),r=[yt(),yt(),yt(),yt()],f=[yt(),yt(),yt(),yt()];if(n.length!==$a.SIGNATURE_LENGTH)throw new Error(`ed25519: signature must be ${$a.SIGNATURE_LENGTH} bytes`);if(INe(f,t))return!1;let i=new CS.SHA512;i.update(n.subarray(0,32)),i.update(t),i.update(e);let s=i.digest();return kie(s),_Ne(r,f,s),Rie(f,n.subarray(32)),Iie(r,f),Sie(a,r),!TNe(n,a)}$a.verify=Unt;function Hnt(t){let e=[yt(),yt(),yt(),yt()];if(INe(e,t))throw new Error("Ed25519: invalid public key");let n=yt(),a=yt(),r=e[1];D7(n,rx,r),L7(a,rx,r),ENe(a,a),vr(n,n,a);let f=new Uint8Array(32);return IS(f,n),f}$a.convertPublicKeyToX25519=Hnt;function znt(t){let e=(0,CS.hash)(t.subarray(0,32));e[0]&=248,e[31]&=127,e[31]|=64;let n=new Uint8Array(e.subarray(0,32));return(0,vNe.wipe)(e),n}$a.convertSecretKeyToX25519=znt});var SNe,RNe,Mie,Bie,MNe,BNe,DNe,PNe,LNe,Die,FNe,NNe,Dz=oe(()=>{u();p();SNe="EdDSA",RNe="JWT",Mie=".",Bie="base64url",MNe="utf8",BNe="utf8",DNe=":",PNe="did",LNe="key",Die="base58btc",FNe="z",NNe="K36"});function F7(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}var kS=oe(()=>{u();p()});function SS(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?F7(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}var Pz=oe(()=>{u();p();kS()});var Lz={};G0(Lz,{concat:()=>N7});function N7(t,e){e||(e=t.reduce((r,f)=>r+f.length,0));let n=SS(e),a=0;for(let r of t)n.set(r,a),a+=r.length;return F7(n)}var fx=oe(()=>{u();p();Pz();kS()});function Wnt(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 qnt,jnt,ONe,UNe=oe(()=>{u();p();qnt=Wnt,jnt=qnt,ONe=jnt});var Fz={};G0(Fz,{coerce:()=>Y5,empty:()=>HNe,equals:()=>Pie,fromHex:()=>Knt,fromString:()=>Lie,isBinary:()=>Qnt,toHex:()=>Gnt,toString:()=>Fie});var HNe,Gnt,Knt,Pie,Y5,Qnt,Lie,Fie,hm=oe(()=>{u();p();HNe=new Uint8Array(0),Gnt=t=>t.reduce((e,n)=>e+n.toString(16).padStart(2,"0"),""),Knt=t=>{let e=t.match(/../g);return e?new Uint8Array(e.map(n=>parseInt(n,16))):HNe},Pie=(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")},Qnt=t=>t instanceof ArrayBuffer||ArrayBuffer.isView(t),Lie=t=>new TextEncoder().encode(t),Fie=t=>new TextDecoder().decode(t)});var Nie,Oie,Uie,zNe,Hie,ix,mm,Vnt,Ynt,Zf,vl=oe(()=>{u();p();UNe();hm();Nie=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")}},Oie=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 zNe(this,e)}},Uie=class{constructor(e){this.decoders=e}or(e){return zNe(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`)}},zNe=(t,e)=>new Uie({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}}),Hie=class{constructor(e,n,a,r){this.name=e,this.prefix=n,this.baseEncode=a,this.baseDecode=r,this.encoder=new Nie(e,n,a),this.decoder=new Oie(e,n,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}},ix=({name:t,prefix:e,encode:n,decode:a})=>new Hie(t,e,n,a),mm=({prefix:t,name:e,alphabet:n})=>{let{encode:a,decode:r}=ONe(n,e);return ix({prefix:t,name:e,encode:a,decode:f=>Y5(r(f))})},Vnt=(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},Ynt=(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<ix({prefix:e,name:t,encode(r){return Ynt(r,a,n)},decode(r){return Vnt(r,a,n,t)}})});var zie={};G0(zie,{identity:()=>$nt});var $nt,WNe=oe(()=>{u();p();vl();hm();$nt=ix({prefix:"\0",name:"identity",encode:t=>Fie(t),decode:t=>Lie(t)})});var Wie={};G0(Wie,{base2:()=>Jnt});var Jnt,qNe=oe(()=>{u();p();vl();Jnt=Zf({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1})});var qie={};G0(qie,{base8:()=>Xnt});var Xnt,jNe=oe(()=>{u();p();vl();Xnt=Zf({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3})});var jie={};G0(jie,{base10:()=>Znt});var Znt,GNe=oe(()=>{u();p();vl();Znt=mm({prefix:"9",name:"base10",alphabet:"0123456789"})});var Gie={};G0(Gie,{base16:()=>eat,base16upper:()=>tat});var eat,tat,KNe=oe(()=>{u();p();vl();eat=Zf({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),tat=Zf({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4})});var Kie={};G0(Kie,{base32:()=>sx,base32hex:()=>fat,base32hexpad:()=>sat,base32hexpadupper:()=>oat,base32hexupper:()=>iat,base32pad:()=>aat,base32padupper:()=>rat,base32upper:()=>nat,base32z:()=>cat});var sx,nat,aat,rat,fat,iat,sat,oat,cat,Qie=oe(()=>{u();p();vl();sx=Zf({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),nat=Zf({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),aat=Zf({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),rat=Zf({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),fat=Zf({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),iat=Zf({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),sat=Zf({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),oat=Zf({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),cat=Zf({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5})});var Vie={};G0(Vie,{base36:()=>dat,base36upper:()=>lat});var dat,lat,QNe=oe(()=>{u();p();vl();dat=mm({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),lat=mm({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"})});var Yie={};G0(Yie,{base58btc:()=>t2,base58flickr:()=>uat});var t2,uat,$ie=oe(()=>{u();p();vl();t2=mm({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),uat=mm({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"})});var Jie={};G0(Jie,{base64:()=>pat,base64pad:()=>hat,base64url:()=>mat,base64urlpad:()=>bat});var pat,hat,mat,bat,VNe=oe(()=>{u();p();vl();pat=Zf({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),hat=Zf({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),mat=Zf({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),bat=Zf({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6})});var Xie={};G0(Xie,{base256emoji:()=>Tat});function vat(t){return t.reduce((e,n)=>(e+=yat[n],e),"")}function wat(t){let e=[];for(let n of t){let a=gat[n.codePointAt(0)];if(a===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(a)}return new Uint8Array(e)}var YNe,yat,gat,Tat,$Ne=oe(()=>{u();p();vl();YNe=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}"),yat=YNe.reduce((t,e,n)=>(t[n]=e,t),[]),gat=YNe.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);Tat=ix({prefix:"\u{1F680}",name:"base256emoji",encode:vat,decode:wat})});function ZNe(t,e,n){e=e||[],n=n||0;for(var a=n;t>=Aat;)e[n++]=t&255|JNe,t/=128;for(;t&_at;)e[n++]=t&255|JNe,t>>>=7;return e[n]=t|0,ZNe.bytes=n-a+1,e}function Zie(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s)throw Zie.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&XNe)<=Iat);return Zie.bytes=f-a,n}var xat,JNe,Eat,_at,Aat,Cat,Iat,XNe,kat,Sat,Rat,Mat,Bat,Dat,Pat,Lat,Fat,Nat,Oat,Uat,RS,eOe=oe(()=>{u();p();xat=ZNe,JNe=128,Eat=127,_at=~Eat,Aat=Math.pow(2,31);Cat=Zie,Iat=128,XNe=127;kat=Math.pow(2,7),Sat=Math.pow(2,14),Rat=Math.pow(2,21),Mat=Math.pow(2,28),Bat=Math.pow(2,35),Dat=Math.pow(2,42),Pat=Math.pow(2,49),Lat=Math.pow(2,56),Fat=Math.pow(2,63),Nat=function(t){return tox,encodeTo:()=>O7,encodingLength:()=>U7});var ox,O7,U7,Nz=oe(()=>{u();p();eOe();ox=(t,e=0)=>[RS.decode(t,e),RS.decode.bytes],O7=(t,e,n=0)=>(RS.encode(t,e,n),e),U7=t=>RS.encodingLength(t)});var z7={};G0(z7,{Digest:()=>H7,create:()=>bm,decode:()=>ese,equals:()=>tse});var bm,ese,tse,H7,MS=oe(()=>{u();p();hm();Nz();bm=(t,e)=>{let n=e.byteLength,a=U7(t),r=a+U7(n),f=new Uint8Array(r+n);return O7(t,f,0),O7(n,f,a),f.set(e,r),new H7(t,n,e,f)},ese=t=>{let e=Y5(t),[n,a]=ox(e),[r,f]=ox(e.subarray(a)),i=e.subarray(a+f);if(i.byteLength!==r)throw new Error("Incorrect length");return new H7(n,r,i,e)},tse=(t,e)=>t===e?!0:t.code===e.code&&t.size===e.size&&Pie(t.bytes,e.bytes),H7=class{constructor(e,n,a,r){this.code=e,this.size=n,this.digest=a,this.bytes=r}}});var Hz={};G0(Hz,{Hasher:()=>Oz,from:()=>Uz});var Uz,Oz,nse=oe(()=>{u();p();MS();Uz=({name:t,code:e,encode:n})=>new Oz(t,e,n),Oz=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?bm(this.code,n):n.then(a=>bm(this.code,a))}else throw Error("Unknown type, must be binary type")}}});var ase={};G0(ase,{sha256:()=>Hat,sha512:()=>zat});var tOe,Hat,zat,nOe=oe(()=>{u();p();nse();tOe=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),Hat=Uz({name:"sha2-256",code:18,encode:tOe("SHA-256")}),zat=Uz({name:"sha2-512",code:19,encode:tOe("SHA-512")})});var rse={};G0(rse,{identity:()=>jat});var aOe,Wat,rOe,qat,jat,fOe=oe(()=>{u();p();hm();MS();aOe=0,Wat="identity",rOe=Y5,qat=t=>bm(aOe,rOe(t)),jat={code:aOe,name:Wat,encode:rOe,digest:qat}});var fse={};G0(fse,{code:()=>Kat,decode:()=>Vat,encode:()=>Qat,name:()=>Gat});var Gat,Kat,Qat,Vat,iOe=oe(()=>{u();p();hm();Gat="raw",Kat=85,Qat=t=>Y5(t),Vat=t=>Y5(t)});var ise={};G0(ise,{code:()=>Xat,decode:()=>ert,encode:()=>Zat,name:()=>Jat});var Yat,$at,Jat,Xat,Zat,ert,sOe=oe(()=>{u();p();Yat=new TextEncoder,$at=new TextDecoder,Jat="json",Xat=512,Zat=t=>Yat.encode(JSON.stringify(t)),ert=t=>JSON.parse($at.decode(t))});var DS,trt,nrt,art,BS,rrt,oOe,cOe,zz,Wz,frt,irt,srt,dOe=oe(()=>{u();p();Nz();MS();$ie();Qie();hm();DS=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:Wz,byteLength:Wz,code:zz,version:zz,multihash:zz,bytes:zz,_baseCache:Wz,asCID:Wz})}toV0(){switch(this.version){case 0:return this;default:{let{code:e,multihash:n}=this;if(e!==BS)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(n.code!==rrt)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=bm(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&&tse(this.multihash,e.multihash)}toString(e){let{bytes:n,version:a,_baseCache:r}=this;switch(a){case 0:return nrt(n,r,e||t2.encoder);default:return art(n,r,e||sx.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 irt(/^0\.0/,srt),!!(e&&(e[cOe]||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||oOe(n,a,r.bytes))}else if(e!=null&&e[cOe]===!0){let{version:n,multihash:a,code:r}=e,f=ese(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!==BS)throw new Error(`Version 0 CID must use dag-pb (code: ${BS}) block encoding`);return new t(e,n,a,a.bytes)}case 1:{let r=oOe(e,n,a.bytes);return new t(e,n,a,r)}default:throw new Error("Invalid version")}}static createV0(e){return t.create(0,BS,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=Y5(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 H7(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]=ox(e.subarray(n));return n+=h,l},r=a(),f=BS;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]=trt(e,n),f=t.decode(r);return f._baseCache.set(a,e),f}},trt=(t,e)=>{switch(t[0]){case"Q":{let n=e||t2;return[t2.prefix,n.decode(`${t2.prefix}${t}`)]}case t2.prefix:{let n=e||t2;return[t2.prefix,n.decode(t)]}case sx.prefix:{let n=e||sx;return[sx.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)]}}},nrt=(t,e,n)=>{let{prefix:a}=n;if(a!==t2.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},art=(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},BS=112,rrt=18,oOe=(t,e,n)=>{let a=U7(t),r=a+U7(e),f=new Uint8Array(r+n.byteLength);return O7(t,f,0),O7(e,f,a),f.set(n,r),f},cOe=Symbol.for("@ipld/js-cid/CID"),zz={writable:!1,configurable:!1,enumerable:!0},Wz={writable:!1,enumerable:!1,configurable:!1},frt="0.0.0-dev",irt=(t,e)=>{if(t.test(frt))console.warn(e);else throw new Error(e)},srt=`CID.isCID(v) is deprecated and will be removed in the next major release. Following code pattern: if (CID.isCID(value)) { @@ -30,87 +30,87 @@ if (cid) { // Make sure to use cid instead of value doSomethingWithCID(cid) } -`});var uOe=oe(()=>{u();p();lOe();Nz();hm();tse();RS()});var pOe={};G0(pOe,{CID:()=>BS,bases:()=>qz,bytes:()=>Fz,codecs:()=>lrt,digest:()=>U7,hasher:()=>Hz,hashes:()=>drt,varint:()=>sx});var qz,drt,lrt,ise=oe(()=>{u();p();qNe();jNe();GNe();KNe();QNe();Kie();VNe();Yie();YNe();JNe();aOe();iOe();sOe();oOe();uOe();qz={...Hie,...zie,...Wie,...qie,...jie,...Gie,...Qie,...Vie,...$ie,...Jie},drt={...nse,...ase},lrt={raw:rse,json:fse}});function mOe(t,e,n,a){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:a}}}var hOe,sse,urt,jz,ose=oe(()=>{u();p();ise();Pz();hOe=mOe("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),sse=mOe("ascii","a",t=>{let e="a";for(let n=0;n{t=t.substring(1);let e=kS(t.length);for(let n=0;nBi});function Bi(t,e="utf8"){let n=jz[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 ox=oe(()=>{u();p();ose()});var cse={};G0(cse,{fromString:()=>As});function As(t,e="utf8"){let n=jz[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?P7(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}var DS=oe(()=>{u();p();ose();IS()});function Kz(t){return Bi(As(q1(t),BNe),Mie)}function Qz(t){let e=As(ONe,Bie),n=NNe+Bi(L7([e,t]),Bie);return[LNe,FNe,n].join(PNe)}function prt(t){return Bi(t,Mie)}function bOe(t){return As([Kz(t.header),Kz(t.payload)].join(Rie),DNe)}function yOe(t){return[Kz(t.header),Kz(t.payload),prt(t.signature)].join(Rie)}var dse=oe(()=>{u();p();ax();ox();DS();I7();Dz()});function lse(t=(0,gOe.randomBytes)(32)){return PS.generateKeyPairFromSeed(t)}async function wOe(t,e,n,a,r=(0,vOe.fromMiliseconds)(Date.now())){let f={alg:RNe,typ:MNe},i=Qz(a.publicKey),s=r+n,o={iss:i,sub:t,aud:e,iat:r,exp:s},c=bOe({header:f,payload:o}),d=PS.sign(a.secretKey,c);return yOe({header:f,payload:o,signature:d})}var PS,gOe,vOe,TOe=oe(()=>{u();p();PS=Ee(SNe()),gOe=Ee(_S()),vOe=Ee(k7());Dz();dse()});var xOe=oe(()=>{u();p()});var EOe=oe(()=>{u();p();TOe();Dz();xOe();dse()});function Vz(t){return t?IOe(t):typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new wrt:typeof navigator<"u"?IOe(navigator.userAgent):Crt()}function _rt(t){return t!==""&&Ert.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 IOe(t){var e=_rt(t);if(!e)return null;var n=e[0],a=e[1];if(n==="searchbot")return new vrt;var r=a[1]&&a[1].split(".").join("_").split("_").slice(0,3);r?r.length{u();p();_Oe=function(t,e,n){if(n||arguments.length===2)for(var a=0,r=e.length,f;a{"use strict";u();p();Object.defineProperty(zr,"__esModule",{value:!0});zr.getLocalStorage=zr.getLocalStorageOrThrow=zr.getCrypto=zr.getCryptoOrThrow=zr.getLocation=zr.getLocationOrThrow=zr.getNavigator=zr.getNavigatorOrThrow=zr.getDocument=zr.getDocumentOrThrow=zr.getFromWindowOrThrow=zr.getFromWindow=void 0;function H7(t){let e;return typeof window<"u"&&typeof window[t]<"u"&&(e=window[t]),e}zr.getFromWindow=H7;function cx(t){let e=H7(t);if(!e)throw new Error(`${t} is not defined in Window`);return e}zr.getFromWindowOrThrow=cx;function krt(){return cx("document")}zr.getDocumentOrThrow=krt;function Srt(){return H7("document")}zr.getDocument=Srt;function Rrt(){return cx("navigator")}zr.getNavigatorOrThrow=Rrt;function Mrt(){return H7("navigator")}zr.getNavigator=Mrt;function Brt(){return cx("location")}zr.getLocationOrThrow=Brt;function Drt(){return H7("location")}zr.getLocation=Drt;function Prt(){return cx("crypto")}zr.getCryptoOrThrow=Prt;function Lrt(){return H7("crypto")}zr.getCrypto=Lrt;function Frt(){return cx("localStorage")}zr.getLocalStorageOrThrow=Frt;function Nrt(){return H7("localStorage")}zr.getLocalStorage=Nrt});var SOe=D(Yz=>{"use strict";u();p();Object.defineProperty(Yz,"__esModule",{value:!0});Yz.getWindowMetadata=void 0;var kOe=pse();function Ort(){let t,e;try{t=kOe.getDocumentOrThrow(),e=kOe.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}}Yz.getWindowMetadata=Ort});var MOe=D((wra,ROe)=>{"use strict";u();p();ROe.exports=t=>encodeURIComponent(t).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)});var FOe=D((Era,LOe)=>{"use strict";u();p();var POe="%[a-f0-9]{2}",BOe=new RegExp("("+POe+")|([^%]+?)","gi"),DOe=new RegExp("("+POe+")+","gi");function hse(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([],hse(n),hse(a))}function Urt(t){try{return decodeURIComponent(t)}catch{for(var e=t.match(BOe)||[],n=1;n{"use strict";u();p();NOe.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 HOe=D((Sra,UOe)=>{"use strict";u();p();UOe.exports=function(t,e){for(var n={},a=Object.keys(t),r=Array.isArray(e),f=0;f{"use strict";u();p();var zrt=MOe(),Wrt=FOe(),WOe=OOe(),qrt=HOe(),jrt=t=>t==null,mse=Symbol("encodeFragmentIdentifier");function Grt(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,[yi(e,t),"[",r,"]"].join("")]:[...n,[yi(e,t),"[",yi(r,t),"]=",yi(a,t)].join("")]};case"bracket":return e=>(n,a)=>a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,[yi(e,t),"[]"].join("")]:[...n,[yi(e,t),"[]=",yi(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,[yi(e,t),":list="].join("")]:[...n,[yi(e,t),":list=",yi(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?[[yi(n,t),e,yi(r,t)].join("")]:[[a,yi(r,t)].join(t.arrayFormatSeparator)])}default:return e=>(n,a)=>a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,yi(e,t)]:[...n,[yi(e,t),"=",yi(a,t)].join("")]}}function Krt(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&&D8(a,t).includes(t.arrayFormatSeparator);a=i?D8(a,t):a;let s=f||i?a.split(t.arrayFormatSeparator).map(o=>D8(o,t)):a===null?a:D8(a,t);r[n]=s};case"bracket-separator":return(n,a,r)=>{let f=/(\[\])$/.test(n);if(n=n.replace(/\[\]$/,""),!f){r[n]=a&&D8(a,t);return}let i=a===null?[]:a.split(t.arrayFormatSeparator).map(s=>D8(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 qOe(t){if(typeof t!="string"||t.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function yi(t,e){return e.encode?e.strict?zrt(t):encodeURIComponent(t):t}function D8(t,e){return e.decode?Wrt(t):t}function jOe(t){return Array.isArray(t)?t.sort():typeof t=="object"?jOe(Object.keys(t)).sort((e,n)=>Number(e)-Number(n)).map(e=>t[e]):t}function GOe(t){let e=t.indexOf("#");return e!==-1&&(t=t.slice(0,e)),t}function Qrt(t){let e="",n=t.indexOf("#");return n!==-1&&(e=t.slice(n)),e}function KOe(t){t=GOe(t);let e=t.indexOf("?");return e===-1?"":t.slice(e+1)}function zOe(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 QOe(t,e){e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e),qOe(e.arrayFormatSeparator);let n=Krt(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]=WOe(e.decode?r.replace(/\+/g," "):r,"=");i=i===void 0?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?i:D8(i,e),n(D8(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]=zOe(f[i],e);else a[r]=zOe(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]=jOe(i):r[f]=i,r},Object.create(null))}Uc.extract=KOe;Uc.parse=QOe;Uc.stringify=(t,e)=>{if(!t)return"";e=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},e),qOe(e.arrayFormatSeparator);let n=i=>e.skipNull&&jrt(t[i])||e.skipEmptyString&&t[i]==="",a=Grt(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?yi(i,e):Array.isArray(s)?s.length===0&&e.arrayFormat==="bracket-separator"?yi(i,e)+"[]":s.reduce(a(i),[]).join("&"):yi(i,e)+"="+yi(s,e)}).filter(i=>i.length>0).join("&")};Uc.parseUrl=(t,e)=>{e=Object.assign({decode:!0},e);let[n,a]=WOe(t,"#");return Object.assign({url:n.split("?")[0]||"",query:QOe(KOe(t),e)},e&&e.parseFragmentIdentifier&&a?{fragmentIdentifier:D8(a,e)}:{})};Uc.stringifyUrl=(t,e)=>{e=Object.assign({encode:!0,strict:!0,[mse]:!0},e);let n=GOe(t.url).split("?")[0]||"",a=Uc.extract(t.url),r=Uc.parse(a,{sort:!1}),f=Object.assign(r,t.query),i=Uc.stringify(f,e);i&&(i=`?${i}`);let s=Qrt(t.url);return t.fragmentIdentifier&&(s=`#${e[mse]?yi(t.fragmentIdentifier,e):t.fragmentIdentifier}`),`${n}${i}${s}`};Uc.pick=(t,e,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[mse]:!1},n);let{url:a,query:r,fragmentIdentifier:f}=Uc.parseUrl(t,n);return Uc.stringifyUrl({url:a,query:qrt(r,e),fragmentIdentifier:f},n)};Uc.exclude=(t,e,n)=>{let a=Array.isArray(e)?r=>!e.includes(r):(r,f)=>!e(r,f);return Uc.pick(t,a,n)}});var $Oe=D($z=>{"use strict";u();p();Object.defineProperty($z,"__esModule",{value:!0});var t1=ZT(),bse=V5(),Vrt=20;function Yrt(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,b=v,A=k,P=O,L=F,E=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,E^=V,E=E>>>16|E<<16,b=b+E|0,R^=b,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,E^=V,E=E>>>24|E<<8,b=b+E|0,R^=b,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,E^=W,E=E>>>16|E<<16,w=w+E|0,K^=w,K=K>>>20|K<<12,j=j+G|0,A^=j,A=A>>>16|A<<16,b=b+A|0,G^=b,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,b=b+A|0,G^=b,G=G>>>25|G<<7,W=W+K|0,E^=W,E=E>>>24|E<<8,w=w+E|0,K^=w,K=K>>>25|K<<7;t1.writeUint32LE(W+a|0,t,0),t1.writeUint32LE(j+r|0,t,4),t1.writeUint32LE(Q+f|0,t,8),t1.writeUint32LE(V+i|0,t,12),t1.writeUint32LE(X+s|0,t,16),t1.writeUint32LE(K+o|0,t,20),t1.writeUint32LE(G+c|0,t,24),t1.writeUint32LE(R+d|0,t,28),t1.writeUint32LE(T+l|0,t,32),t1.writeUint32LE(N+h|0,t,36),t1.writeUint32LE(w+y|0,t,40),t1.writeUint32LE(b+v|0,t,44),t1.writeUint32LE(A+k|0,t,48),t1.writeUint32LE(P+O|0,t,52),t1.writeUint32LE(L+F|0,t,56),t1.writeUint32LE(E+z|0,t,60)}function YOe(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 Jz=D(dx=>{"use strict";u();p();Object.defineProperty(dx,"__esModule",{value:!0});function Xrt(t,e,n){return~(t-1)&e|t-1&n}dx.select=Xrt;function Zrt(t,e){return(t|0)-(e|0)-1>>>31&1}dx.lessOrEqual=Zrt;function JOe(t,e){if(t.length!==e.length)return 0;for(var n=0,a=0;a>>8}dx.compare=JOe;function eft(t,e){return t.length===0||e.length===0?!1:JOe(t,e)!==0}dx.equal=eft});var ZOe=D(P8=>{"use strict";u();p();Object.defineProperty(P8,"__esModule",{value:!0});var tft=Jz(),Xz=V5();P8.DIGEST_LENGTH=16;var XOe=function(){function t(e){this.digestLength=P8.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 b=e[n+10]|e[n+11]<<8;l+=(w>>>14|b<<2)&8191;var A=e[n+12]|e[n+13]<<8;h+=(b>>>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,E=L;E+=f*k,E+=i*(5*K),E+=s*(5*X),E+=o*(5*V),E+=c*(5*Q),L=E>>>13,E&=8191,E+=d*(5*j),E+=l*(5*W),E+=h*(5*z),E+=y*(5*F),E+=v*(5*O),L+=E>>>13,E&=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+E|0,E=L&8191,L=L>>>13,g+=L,f=E,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(L8,"__esModule",{value:!0});var Zz=$Oe(),rft=ZOe(),LS=V5(),eUe=ZT(),fft=Jz();L8.KEY_LENGTH=32;L8.NONCE_LENGTH=12;L8.TAG_LENGTH=16;var tUe=new Uint8Array(16),ift=function(){function t(e){if(this.nonceLength=L8.NONCE_LENGTH,this.tagLength=L8.TAG_LENGTH,e.length!==L8.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);Zz.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 Zz.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),LS.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(tUe.subarray(r.length%16))),f.update(a),a.length%16>0&&f.update(tUe.subarray(a.length%16));var i=new Uint8Array(8);r&&eUe.writeUint64LE(r.length,i),f.update(i),eUe.writeUint64LE(a.length,i),f.update(i);for(var s=f.digest(),o=0;o{"use strict";u();p();Object.defineProperty(yse,"__esModule",{value:!0});function sft(t){return typeof t.saveState<"u"&&typeof t.restoreState<"u"&&typeof t.cleanSavedState<"u"}yse.isSerializableHash=sft});var fUe=D(FS=>{"use strict";u();p();Object.defineProperty(FS,"__esModule",{value:!0});var n2=aUe(),oft=Jz(),cft=V5(),rUe=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(gse,"__esModule",{value:!0});var iUe=fUe(),sUe=V5(),lft=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=iUe.hmac(this._hash,a,n);this._hmac=new iUe.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(ym,"__esModule",{value:!0});var tW=ZT(),eW=V5();ym.DIGEST_LENGTH=32;ym.BLOCK_SIZE=64;var cUe=function(){function t(){this.digestLength=ym.DIGEST_LENGTH,this.blockSize=ym.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(){eW.wipe(this._buffer),eW.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&&(vse(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(n>=this.blockSize&&(a=vse(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){eW.wipe(e.state),e.buffer&&eW.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},t}();ym.SHA256=cUe;var uft=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 vse(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]=tW.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+(uft[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 pft(t){var e=new cUe;e.update(t);var n=e.digest();return e.clean(),n}ym.hash=pft});var hUe=D(ei=>{"use strict";u();p();Object.defineProperty(ei,"__esModule",{value:!0});ei.sharedKey=ei.generateKeyPair=ei.generateKeyPairFromSeed=ei.scalarMultBase=ei.scalarMult=ei.SHARED_KEY_LENGTH=ei.SECRET_KEY_LENGTH=ei.PUBLIC_KEY_LENGTH=void 0;var hft=_S(),mft=V5();ei.PUBLIC_KEY_LENGTH=32;ei.SECRET_KEY_LENGTH=32;ei.SHARED_KEY_LENGTH=32;function a2(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,NS(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 gft(t,e){for(let n=0;n<16;n++)t[n]=e[2*n]+(e[2*n+1]<<8);t[15]&=32767}function nW(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]+n[a]}function aW(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]-n[a]}function F8(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,b=0,A=0,P=0,L=0,E=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,b+=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,b+=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,b+=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,b+=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,b+=a*re,A+=a*ie,P+=a*ge,L+=a*de,E+=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,b+=a*Y,A+=a*re,P+=a*ie,L+=a*ge,E+=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*b,k+=38*A,O+=38*P,F+=38*L,z+=38*E,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 OS(t,e){F8(t,e,e)}function vft(t,e){let n=a2();for(let a=0;a<16;a++)n[a]=e[a];for(let a=253;a>=0;a--)OS(n,n),a!==2&&a!==4&&F8(n,n,e);for(let a=0;a<16;a++)t[a]=n[a]}function Tse(t,e){let n=new Uint8Array(32),a=new Float64Array(80),r=a2(),f=a2(),i=a2(),s=a2(),o=a2(),c=a2();for(let y=0;y<31;y++)n[y]=t[y];n[31]=t[31]&127|64,n[0]&=248,gft(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;NS(r,f,v),NS(i,s,v),nW(o,r,i),aW(r,r,i),nW(i,f,s),aW(f,f,s),OS(s,o),OS(c,r),F8(r,i,r),F8(i,f,o),nW(o,r,i),aW(r,r,i),OS(f,r),aW(i,s,c),F8(r,i,bft),nW(r,r,s),F8(i,i,r),F8(r,s,c),F8(s,f,a),OS(f,o),NS(r,f,v),NS(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);vft(d,d),F8(l,l,d);let h=new Uint8Array(32);return yft(h,l),h}ei.scalarMult=Tse;function uUe(t){return Tse(t,lUe)}ei.scalarMultBase=uUe;function pUe(t){if(t.length!==ei.SECRET_KEY_LENGTH)throw new Error(`x25519: seed must be ${ei.SECRET_KEY_LENGTH} bytes`);let e=new Uint8Array(t);return{publicKey:uUe(e),secretKey:e}}ei.generateKeyPairFromSeed=pUe;function wft(t){let e=(0,hft.randomBytes)(32,t),n=pUe(e);return(0,mft.wipe)(e),n}ei.generateKeyPair=wft;function Tft(t,e,n=!1){if(t.length!==ei.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect secret key length");if(e.length!==ei.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect public key length");let a=Tse(t,e);if(n){let r=0;for(let f=0;f{u();p();mUe={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 yUe,gUe,vUe,wUe,rW,US,xse,fW,gm,HS,iW=oe(()=>{u();p();yUe="PARSE_ERROR",gUe="INVALID_REQUEST",vUe="METHOD_NOT_FOUND",wUe="INVALID_PARAMS",rW="INTERNAL_ERROR",US="SERVER_ERROR",xse=[-32700,-32600,-32601,-32602,-32603],fW=[-32e3,-32099],gm={[yUe]:{code:-32700,message:"Parse error"},[gUe]:{code:-32600,message:"Invalid Request"},[vUe]:{code:-32601,message:"Method not found"},[wUe]:{code:-32602,message:"Invalid params"},[rW]:{code:-32603,message:"Internal error"},[US]:{code:-32e3,message:"Server error"}},HS=US});function xft(t){return t<=fW[0]&&t>=fW[1]}function sW(t){return xse.includes(t)}function TUe(t){return typeof t=="number"}function oW(t){return Object.keys(gm).includes(t)?gm[t]:gm[HS]}function cW(t){let e=Object.values(gm).find(n=>n.code===t);return e||gm[HS]}function Eft(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(!TUe(t.error.code))return{valid:!1,error:`Invalid error code type for JSON-RPC: ${t.error.code}`};if(sW(t.error.code)){let e=cW(t.error.code);if(e.message!==gm[HS].message&&t.error.message===e.message)return{valid:!1,error:`Invalid error code message for JSON-RPC: ${t.error.code}`}}return{valid:!0}}function zS(t,e,n){return t.message.includes("getaddrinfo ENOTFOUND")||t.message.includes("connect ECONNREFUSED")?new Error(`Unavailable ${n} RPC url at ${e}`):t}var Ese=oe(()=>{u();p();iW()});var EUe=D(vm=>{"use strict";u();p();Object.defineProperty(vm,"__esModule",{value:!0});vm.isBrowserCryptoAvailable=vm.getSubtleCrypto=vm.getBrowerCrypto=void 0;function _se(){return(global===null||global===void 0?void 0:global.crypto)||(global===null||global===void 0?void 0:global.msCrypto)||{}}vm.getBrowerCrypto=_se;function xUe(){let t=_se();return t.subtle||t.webkitSubtle}vm.getSubtleCrypto=xUe;function _ft(){return!!_se()&&!!xUe()}vm.isBrowserCryptoAvailable=_ft});var CUe=D(wm=>{"use strict";u();p();Object.defineProperty(wm,"__esModule",{value:!0});wm.isBrowser=wm.isNode=wm.isReactNative=void 0;function _Ue(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}wm.isReactNative=_Ue;function AUe(){return typeof x<"u"&&typeof x.versions<"u"&&typeof x.versions.node<"u"}wm.isNode=AUe;function Aft(){return!_Ue()&&!AUe()}wm.isBrowser=Aft});var Ase=D(dW=>{"use strict";u();p();Object.defineProperty(dW,"__esModule",{value:!0});var IUe=(Xu(),vn(Ju));IUe.__exportStar(EUe(),dW);IUe.__exportStar(CUe(),dW)});var Di={};G0(Di,{isNodeJs:()=>SUe});var kUe,SUe,RUe=oe(()=>{u();p();kUe=Ee(Ase());$i(Di,Ee(Ase()));SUe=kUe.isNode});function r2(t=3){let e=Date.now()*Math.pow(10,t),n=Math.floor(Math.random()*Math.pow(10,t));return e+n}function wl(t=6){return BigInt(r2(t))}function f2(t,e,n){return{id:n||r2(),jsonrpc:"2.0",method:t,params:e}}function N8(t,e){return{id:t,jsonrpc:"2.0",result:e}}function O8(t,e,n){return{id:t,jsonrpc:"2.0",error:MUe(e,n)}}function MUe(t,e){return typeof t>"u"?oW(rW):(typeof t=="string"&&(t=Object.assign(Object.assign({},oW(US)),{message:t})),typeof e<"u"&&(t.data=e),sW(t.code)&&(t=cW(t.code)),t)}var BUe=oe(()=>{u();p();Ese();iW()});function Cft(t){return t.includes("*")?uW(t):!/\W/g.test(t)}function lW(t){return t==="*"}function uW(t){return lW(t)?!0:!(!t.includes("*")||t.split("*").length!==2||t.split("*").filter(e=>e.trim()==="").length!==1)}function Ift(t){return!lW(t)&&uW(t)&&!t.split("*")[0].trim()}function kft(t){return!lW(t)&&uW(t)&&!t.split("*")[1].trim()}var DUe=oe(()=>{u();p()});var WS,Cse,pW,qS,PUe=oe(()=>{u();p();WS=class{},Cse=class extends WS{constructor(e){super()}},pW=class extends WS{constructor(){super()}},qS=class extends pW{constructor(e){super()}}});var LUe=oe(()=>{u();p();PUe()});function Mft(t){let e=t.match(new RegExp(/^\w+:/,"gi"));if(!(!e||!e.length))return e[0]}function FUe(t,e){let n=Mft(t);return typeof n>"u"?!1:new RegExp(e).test(n)}function hW(t){return FUe(t,Sft)}function mW(t){return FUe(t,Rft)}function Ise(t){return new RegExp("wss?://localhost(:d{2,5})?").test(t)}var Sft,Rft,NUe=oe(()=>{u();p();Sft="^https?:",Rft="^wss?:"});function kse(t){return typeof t=="object"&&"id"in t&&"jsonrpc"in t&&t.jsonrpc==="2.0"}function lx(t){return kse(t)&&"method"in t}function Tm(t){return kse(t)&&(S6(t)||n1(t))}function S6(t){return"result"in t}function n1(t){return"error"in t}function Bft(t){return"error"in t&&t.valid===!1}var OUe=oe(()=>{u();p()});var j1={};G0(j1,{DEFAULT_ERROR:()=>HS,IBaseJsonRpcProvider:()=>pW,IEvents:()=>WS,IJsonRpcConnection:()=>Cse,IJsonRpcProvider:()=>qS,INTERNAL_ERROR:()=>rW,INVALID_PARAMS:()=>wUe,INVALID_REQUEST:()=>gUe,METHOD_NOT_FOUND:()=>vUe,PARSE_ERROR:()=>yUe,RESERVED_ERROR_CODES:()=>xse,SERVER_ERROR:()=>US,SERVER_ERROR_CODE_RANGE:()=>fW,STANDARD_ERROR_MAP:()=>gm,formatErrorMessage:()=>MUe,formatJsonRpcError:()=>O8,formatJsonRpcRequest:()=>f2,formatJsonRpcResult:()=>N8,getBigIntRpcId:()=>wl,getError:()=>oW,getErrorByCode:()=>cW,isHttpUrl:()=>hW,isJsonRpcError:()=>n1,isJsonRpcPayload:()=>kse,isJsonRpcRequest:()=>lx,isJsonRpcResponse:()=>Tm,isJsonRpcResult:()=>S6,isJsonRpcValidationInvalid:()=>Bft,isLocalhostUrl:()=>Ise,isNodeJs:()=>SUe,isReservedErrorCode:()=>sW,isServerErrorCode:()=>xft,isValidDefaultRoute:()=>lW,isValidErrorCode:()=>TUe,isValidLeadingWildcardRoute:()=>Ift,isValidRoute:()=>Cft,isValidTrailingWildcardRoute:()=>kft,isValidWildcardRoute:()=>uW,isWsUrl:()=>mW,parseConnectionError:()=>zS,payloadId:()=>r2,validateJsonRpcError:()=>Eft});var xm=oe(()=>{u();p();iW();Ese();RUe();$i(j1,Di);BUe();DUe();LUe();NUe();OUe()});var HUe=D((sia,UUe)=>{"use strict";u();p();UUe.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}});var qUe,Dft,Pft,zUe,WUe,Lft,bW,jUe=oe(()=>{u();p();qUe=Ee(Or());I7();xm();Dft=()=>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:HUe(),Pft=()=>typeof WebSocket<"u"||typeof global<"u"&&typeof global.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u",zUe=t=>t.split("?")[0],WUe=10,Lft=Dft(),bW=class{constructor(e){if(this.url=e,this.events=new qUe.EventEmitter,this.registering=!1,!mW(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(q1(e))}catch(n){this.onError(e.id,n)}}register(e=this.url){if(!mW(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,j1.isReactNative)()?{headers:{origin:r}}:{rejectUnauthorized:!Ise(e)},i=new Lft(e,[],f);Pft()?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"?$u(e.data):e.data;this.events.emit("payload",n)}onError(e,n){let a=this.parseError(n),r=a.message||a.toString(),f=O8(e,r);this.events.emit("payload",f)}parseError(e,n=this.url){return zS(e,zUe(n),"WS")}resetMaxListeners(){this.events.getMaxListeners()>WUe&&this.events.setMaxListeners(WUe)}emitError(e){let n=this.parseError(new Error(e?.message||`WebSocket connection failed for host: ${zUe(this.url)}`));return this.events.emit("register_error",n),n}}});var AHe=D((jS,px)=>{u();p();var Fft=200,Use="__lodash_hash_undefined__",_W=1,nHe=2,aHe=9007199254740991,yW="[object Arguments]",Bse="[object Array]",Nft="[object AsyncFunction]",rHe="[object Boolean]",fHe="[object Date]",iHe="[object Error]",sHe="[object Function]",Oft="[object GeneratorFunction]",gW="[object Map]",oHe="[object Number]",Uft="[object Null]",ux="[object Object]",GUe="[object Promise]",Hft="[object Proxy]",cHe="[object RegExp]",vW="[object Set]",dHe="[object String]",zft="[object Symbol]",Wft="[object Undefined]",Dse="[object WeakMap]",lHe="[object ArrayBuffer]",wW="[object DataView]",qft="[object Float32Array]",jft="[object Float64Array]",Gft="[object Int8Array]",Kft="[object Int16Array]",Qft="[object Int32Array]",Vft="[object Uint8Array]",Yft="[object Uint8ClampedArray]",$ft="[object Uint16Array]",Jft="[object Uint32Array]",Xft=/[\\^$.*+?()[\]{}|]/g,Zft=/^\[object .+?Constructor\]$/,eit=/^(?:0|[1-9]\d*)$/,tf={};tf[qft]=tf[jft]=tf[Gft]=tf[Kft]=tf[Qft]=tf[Vft]=tf[Yft]=tf[$ft]=tf[Jft]=!0;tf[yW]=tf[Bse]=tf[lHe]=tf[rHe]=tf[wW]=tf[fHe]=tf[iHe]=tf[sHe]=tf[gW]=tf[oHe]=tf[ux]=tf[cHe]=tf[vW]=tf[dHe]=tf[Dse]=!1;var uHe=typeof global=="object"&&global&&global.Object===Object&&global,tit=typeof self=="object"&&self&&self.Object===Object&&self,U8=uHe||tit||Function("return this")(),pHe=typeof jS=="object"&&jS&&!jS.nodeType&&jS,KUe=pHe&&typeof px=="object"&&px&&!px.nodeType&&px,hHe=KUe&&KUe.exports===pHe,Sse=hHe&&uHe.process,QUe=function(){try{return Sse&&Sse.binding&&Sse.binding("util")}catch{}}(),VUe=QUe&&QUe.isTypedArray;function nit(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=CW(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this}H8.prototype.clear=kit;H8.prototype.delete=Sit;H8.prototype.get=Rit;H8.prototype.has=Mit;H8.prototype.set=Bit;function q7(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&nHe?new xW:void 0;for(f.set(t,e),f.set(e,t);++d-1&&t%1==0&&t-1&&t%1==0&&t<=aHe}function EHe(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function QS(t){return t!=null&&typeof t=="object"}var _He=VUe?iit(VUe):Yit;function cst(t){return sst(t)?Git(t):$it(t)}function dst(){return[]}function lst(){return!1}px.exports=ost});var Hse=D((yia,CHe)=>{u();p();CHe.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 kHe=D((wia,IHe)=>{u();p();IHe.exports=self.fetch||(self.fetch=Hse().default||Hse())});var Wse=D((Eia,zse)=>{"use strict";u();p();var ust=Object.prototype.hasOwnProperty,G1="~";function YS(){}Object.create&&(YS.prototype=Object.create(null),new YS().__proto__||(G1=!1));function pst(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function SHe(t,e,n,a,r){if(typeof n!="function")throw new TypeError("The listener must be a function");var f=new pst(n,a||t,r),i=G1?G1+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 kW(t,e){--t._eventsCount===0?t._events=new YS:delete t._events[e]}function a1(){this._events=new YS,this._eventsCount=0}a1.prototype.eventNames=function(){var e=[],n,a;if(this._eventsCount===0)return e;for(a in n=this._events)ust.call(n,a)&&e.push(G1?a.slice(1):a);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(n)):e};a1.prototype.listeners=function(e){var n=G1?G1+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();RHe=Ee(Wse(),1),R6=RHe.default});function Tl(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 z8(t,e){try{return{...t,rpc:Tl(t,e)}}catch{return t}}function zHe(){return $S||($S={},iFt.forEach(t=>{$S[t.chainId]=t}),$S)}function sFt(t){let e=zHe();return t in e}function WHe(t){if(sFt(t))return zHe()[t];throw new Error(`Chain with chainId "${t}" not found`)}var M6,hst,mst,bst,yst,gst,vst,wst,Tst,SW,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,eot,tot,not,aot,rot,fot,iot,sot,oot,cot,dot,lot,uot,MHe,pot,hot,mot,bot,yot,got,vot,wot,Tot,xot,Eot,_ot,Aot,Cot,Iot,kot,Sot,Rot,Mot,Bot,Dot,Pot,Lot,Fot,Not,Oot,Uot,Hot,zot,Wot,qot,jot,Got,Kot,Qot,Vot,Yot,$ot,Jot,Xot,BHe,Zot,e1t,t1t,n1t,a1t,r1t,f1t,i1t,s1t,o1t,c1t,d1t,l1t,u1t,p1t,h1t,m1t,b1t,y1t,g1t,v1t,w1t,T1t,x1t,E1t,_1t,A1t,C1t,I1t,k1t,S1t,R1t,M1t,B1t,D1t,P1t,L1t,F1t,G7,N1t,O1t,U1t,H1t,z1t,W1t,q1t,qse,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,mct,bct,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,e6t,DHe,t6t,n6t,a6t,r6t,f6t,i6t,s6t,o6t,c6t,d6t,l6t,u6t,p6t,h6t,m6t,b6t,y6t,g6t,v6t,w6t,T6t,x6t,jse,E6t,_6t,A6t,C6t,I6t,k6t,S6t,R6t,M6t,B6t,D6t,P6t,L6t,Gse,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,m5t,b5t,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,mdt,bdt,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,mlt,blt,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,eut,tut,nut,aut,rut,fut,iut,sut,out,cut,dut,lut,uut,put,hut,mut,but,yut,gut,vut,Kse,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,e2t,t2t,n2t,PHe,a2t,r2t,f2t,i2t,s2t,o2t,c2t,d2t,l2t,u2t,p2t,h2t,m2t,b2t,y2t,g2t,v2t,w2t,T2t,x2t,E2t,_2t,A2t,C2t,I2t,k2t,S2t,R2t,M2t,B2t,D2t,P2t,L2t,F2t,N2t,O2t,U2t,H2t,z2t,W2t,q2t,j2t,G2t,K2t,Q2t,V2t,Y2t,$2t,J2t,X2t,Z2t,ept,tpt,npt,apt,rpt,fpt,ipt,spt,opt,cpt,dpt,lpt,upt,ppt,hpt,mpt,bpt,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,m8t,b8t,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,mht,bht,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,m3t,b3t,y3t,g3t,v3t,w3t,T3t,x3t,E3t,_3t,A3t,C3t,I3t,k3t,S3t,R3t,M3t,B3t,D3t,P3t,L3t,F3t,N3t,O3t,U3t,H3t,z3t,W3t,q3t,j3t,LHe,G3t,K3t,Q3t,V3t,Y3t,$3t,J3t,X3t,Z3t,emt,tmt,nmt,amt,rmt,fmt,imt,smt,omt,cmt,dmt,lmt,umt,pmt,hmt,mmt,bmt,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,mbt,bbt,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,e4t,t4t,n4t,a4t,r4t,f4t,i4t,s4t,o4t,c4t,d4t,l4t,u4t,p4t,h4t,m4t,b4t,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,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,myt,byt,RW,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,m7t,b7t,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,m9t,b9t,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,mgt,bgt,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,mvt,bvt,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,mwt,bwt,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,mTt,bTt,yTt,gTt,vTt,wTt,TTt,xTt,ETt,_Tt,ATt,CTt,ITt,kTt,STt,RTt,MTt,BTt,DTt,PTt,LTt,FTt,NTt,OTt,UTt,HTt,zTt,WTt,qTt,jTt,GTt,KTt,QTt,VTt,YTt,$Tt,JTt,XTt,ZTt,ext,txt,nxt,axt,rxt,fxt,ixt,sxt,oxt,FHe,cxt,JS,dxt,lxt,uxt,pxt,hxt,mxt,bxt,yxt,gxt,vxt,wxt,NHe,OHe,Txt,xxt,Ext,_xt,Axt,Cxt,Ixt,kxt,XS,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,mEt,bEt,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,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,m_t,b_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,Qse,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,mAt,bAt,yAt,gAt,vAt,wAt,TAt,xAt,EAt,_At,AAt,CAt,IAt,kAt,SAt,RAt,MAt,BAt,DAt,PAt,LAt,FAt,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,mCt,bCt,yCt,gCt,vCt,wCt,TCt,xCt,ECt,_Ct,ACt,CCt,ICt,kCt,SCt,RCt,MCt,BCt,DCt,PCt,LCt,FCt,MW,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,mIt,BW,bIt,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,mkt,bkt,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,mSt,bSt,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,uRt,pRt,hRt,mRt,bRt,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,mMt,bMt,yMt,gMt,UHe,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,mBt,bBt,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,eDt,tDt,nDt,aDt,rDt,fDt,iDt,sDt,oDt,cDt,dDt,lDt,uDt,pDt,hDt,mDt,bDt,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,Vse,VDt,YDt,$Dt,JDt,XDt,ZDt,ePt,tPt,nPt,aPt,rPt,fPt,HHe,DW,iPt,sPt,oPt,cPt,dPt,lPt,uPt,pPt,hPt,mPt,bPt,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,eLt,tLt,nLt,aLt,rLt,fLt,iLt,sLt,oLt,cLt,dLt,lLt,Yse,uLt,pLt,hLt,mLt,bLt,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,eFt,tFt,nFt,aFt,rFt,fFt,r1,iFt,$S,Hc=oe(()=>{"use strict";u();p();M6={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},hst={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},mst={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"},bst={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"},yst={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"},gst={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"},vst={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},wst={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},Tst={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},SW={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},xst={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},Est={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},_st={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},Ast={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},Ist={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},kst={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},Sst={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},Rst={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},Mst={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},Dst={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},Pst={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},Lst={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},Fst={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},Nst={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},Ost={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},Ust={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},Hst={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},zst={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},Wst={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},qst={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},jst={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},Gst={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},Kst={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},Qst={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},Vst={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},Yst={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},$st={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},Jst={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},Xst={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},Zst={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},eot={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},tot={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},not={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},aot={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},rot={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},fot={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},iot={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},sot={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},oot={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},cot={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},dot={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},lot={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},uot={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},MHe={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},pot={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},hot={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},mot={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},bot={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},yot={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"},got={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"},vot={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"},wot={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},Tot={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},xot={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},Eot={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},_ot={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},Aot={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},Iot={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},kot={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},Sot={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},Rot={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},Mot={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},Dot={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},Pot={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},Lot={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},Fot={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},Not={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},Oot={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},Uot={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},Hot={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},zot={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},Wot={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},qot={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},jot={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},Got={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},Kot={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},Qot={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},Vot={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},Yot={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},$ot={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},Jot={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},Xot={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},BHe={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},Zot={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},e1t={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},t1t={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},n1t={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},a1t={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},r1t={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},f1t={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},i1t={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},s1t={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},o1t={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},c1t={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},d1t={chain:"Shibarium",chainId:109,explorers:[{name:"Shibariumscan",url:"https://www.shibariumscan.io",standard:"EIP3091",icon:{url:"https://www.shibariumscan.io/assets/configs/network_icon_dark.png",width:360,height:360,format:"png"}}],faucets:[],features:[],icon:{url:"https://chewyswap.dog/images/chains/109.png",width:200,height:200,format:"png"},infoURL:"https://shibariumecosystem.com",name:"Shibarium",nativeCurrency:{name:"BONE Shibarium",symbol:"BONE",decimals:18},networkId:109,redFlags:[],rpc:["https://109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shibrpc.com","https://www.shibrpc.com"],shortName:"shibariumecosystem",slug:"shibarium",testnet:!1},l1t={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},u1t={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},p1t={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},h1t={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},m1t={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},b1t={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},y1t={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},g1t={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},v1t={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},w1t={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},T1t={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},x1t={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},E1t={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},_1t={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},A1t={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},I1t={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},k1t={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},S1t={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},R1t={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},M1t={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},D1t={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"},P1t={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},L1t={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},F1t={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},G7={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},N1t={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},O1t={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},U1t={chain:"Eter",chainId:140,explorers:[],faucets:[],icon:{url:"ipfs://bafybeibexfskndvhn5xtrcmpjoifp2ufnzgwiwbfrjcxat55alergskkve",width:122,height:133,format:"svg"},infoURL:"https://eternalcoin.io",name:"Eternal 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:"eternal",testnet:!1},H1t={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},z1t={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},W1t={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},q1t={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},qse={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},j1t={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"},G1t={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},K1t={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},Q1t={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},V1t={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},Y1t={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},$1t={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"},J1t={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},X1t={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},Z1t={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},ect={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},tct={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},nct={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},act={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},rct={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},fct={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},ict={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},sct={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},oct={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},cct={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},dct={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},lct={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},uct={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},pct={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},hct={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},mct={chain:"Waterfall Network",chainId:181,explorers:[],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmSDJPBKh9cLVL8UZ5KYwdwPyhD8bRWNb33jjt48wtu5Uc",width:241,height:179,format:"png"},infoURL:"https://waterfall.network",name:"Waterfall Network",nativeCurrency:{name:"WATER",symbol:"WATER",decimals:18},networkId:181,rpc:["https://181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.waterfall.network/"],shortName:"water",slug:"waterfall-network",testnet:!1},bct={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},yct={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},gct={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},vct={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},wct={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},Tct={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},xct={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},Ect={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},_ct={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},Act={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},Cct={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},Ict={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},kct={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},Sct={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},Rct={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},Mct={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},Bct={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},Dct={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},Pct={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},Lct={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},Fct={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"},Nct={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},Oct={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},Uct={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},Hct={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},zct={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},Wct={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},qct={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"},jct={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},Gct={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},Qct={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},Vct={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},Yct={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},$ct={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},Jct={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},Xct={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},Zct={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},e6t={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},DHe={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},t6t={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},n6t={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},a6t={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},r6t={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},f6t={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},i6t={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},s6t={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"},o6t={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"},c6t={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"},d6t={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},l6t={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},u6t={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},p6t={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},h6t={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},m6t={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},b6t={chain:"CronosZkEVMTestnet",chainId:282,explorers:[{name:"Cronos zkEVM Testnet Explorer",url:"https://explorer.zkevm.cronos.org/testnet",standard:"none"}],faucets:["https://zkevm.cronos.org/faucet"],infoURL:"https://docs-zkevm.cronos.org",name:"Cronos zkEVM Testnet",nativeCurrency:{name:"Cronos zkEVM Test Coin",symbol:"zkTCRO",decimals:18},networkId:282,rpc:["https://282.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.zkevm.cronos.org"],shortName:"zkTCRO",slip44:1,slug:"cronos-zkevm-testnet",testnet:!0},y6t={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},g6t={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},v6t={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},w6t={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},T6t={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},x6t={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},jse={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},E6t={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},_6t={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},A6t={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"},I6t={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},k6t={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},S6t={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},R6t={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},M6t={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},D6t={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},P6t={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},L6t={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},Gse={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},F6t={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},N6t={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},O6t={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},U6t={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},H6t={chain:"Trust Smart Chain",chainId:345,explorers:[{name:"tscscan",url:"https://www.tscscan.io",standard:"none",icon:{url:"ipfs://QmZWF4RcDtxuFRRGgMMuDV7FWCYR6kA9cAUTk12iADU52U",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYmQAo5hSr16LDeSbWbXfKdF6qa2zCoK7e88r2f7RiFdt",width:1024,height:1024,format:"png"},infoURL:"https://www.trias.one",name:"TSC Mainnet",nativeCurrency:{name:"TAS",symbol:"TAS",decimals:18},networkId:16,rpc:["https://345.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc01.trias.one"],shortName:"TSC",slug:"tsc",testnet:!1},z6t={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},W6t={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},q6t={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},j6t={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},G6t={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},K6t={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},Q6t={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},V6t={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},Y6t={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},$6t={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},J6t={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},X6t={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},Z6t={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},e5t={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},t5t={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},n5t={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"},a5t={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},r5t={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},f5t={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},i5t={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},s5t={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},o5t={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},c5t={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},d5t={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},l5t={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},u5t={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},p5t={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"},h5t={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},m5t={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},b5t={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},y5t={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},g5t={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},v5t={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},w5t={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},T5t={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"},x5t={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},E5t={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},_5t={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},A5t={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},I5t={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},k5t={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},S5t={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},R5t={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},M5t={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},D5t={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},P5t={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},L5t={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://rpc.ankr.com/rollux","https://rollux.rpc.syscoin.org","wss://rollux.rpc.syscoin.org/wss"],shortName:"sys-rollux",slug:"rollux",testnet:!1},F5t={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},N5t={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},O5t={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},U5t={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},H5t={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},z5t={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},W5t={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},q5t={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},j5t={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},G5t={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},K5t={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},Q5t={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},V5t={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},Y5t={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},$5t={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},J5t={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},X5t={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},Z5t={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},edt={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},tdt={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},ndt={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"},adt={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},rdt={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},fdt={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},idt={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},sdt={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},odt={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},cdt={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},ddt={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},ldt={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},udt={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},pdt={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},hdt={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},mdt={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},bdt={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},ydt={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},gdt={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},vdt={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},wdt={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},Tdt={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},xdt={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},Edt={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},_dt={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},Adt={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},Idt={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},kdt={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},Sdt={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},Rdt={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},Mdt={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},Ddt={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"},Pdt={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},Ldt={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},Fdt={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},Ndt={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},Odt={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},Udt={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},Hdt={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},zdt={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},Wdt={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},qdt={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},jdt={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},Gdt={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},Kdt={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},Qdt={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"},Vdt={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},Ydt={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:"MAXI GAS",symbol:"MGAS",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},$dt={chain:"MAXI",chainId:899,explorers:[{name:"Maxi Chain Mainnet Explorer",url:"https://mainnet.maxi.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXMLcCaNPMyWCEYX2MZDJHNvj5cpj2cR5dRQtedBRNypT",width:512,height:512,format:"png"},infoURL:"https://maxi.network",name:"MAXI Chain Mainnet",nativeCurrency:{name:"MAXI GAS",symbol:"MGAS",decimals:18},networkId:899,rpc:["https://899.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.maxi.network"],shortName:"maxi-mainnet",slug:"maxi-chain",testnet:!1},Jdt={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},Xdt={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},Zdt={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},elt={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},tlt={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},nlt={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},alt={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"},rlt={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},flt={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},ilt={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},slt={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},olt={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},clt={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},dlt={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},llt={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},ult={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},plt={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},hlt={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},mlt={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},blt={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},ylt={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},glt={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"},vlt={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},wlt={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},Tlt={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},xlt={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},Elt={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},_lt={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},Alt={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},Clt={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},Ilt={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},klt={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},Slt={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},Rlt={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},Mlt={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},Blt={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"},Dlt={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},Plt={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},Llt={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},Flt={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},Nlt={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"},Olt={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},Ult={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},Hlt={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},zlt={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},Wlt={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},qlt={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},jlt={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},Glt={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},Qlt={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"},Vlt={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"},Ylt={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"},$lt={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"},Jlt={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"},Xlt={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"},Zlt={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},eut={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},tut={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},nut={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},aut={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"},rut={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},fut={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},iut={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},sut={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},out={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},cut={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},dut={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},lut={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},uut={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"},put={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},hut={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},mut={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},but={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:[],icon:{url:"ipfs://QmVTS8jmWD5e7jVEn86wLjJsuMnc6s8fym3JbtE4etzSKf",width:400,height:400,format:"png"},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},yut={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},gut={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},vut={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},Kse={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},wut={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},Tut={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},xut={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},Eut={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},_ut={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},Aut={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},Cut={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},Iut={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},kut={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},Sut={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},Rut={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},Mut={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},But={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},Dut={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},Put={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},Lut={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},Fut={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"},Nut={chain:"ITX",chainId:1235,explorers:[{name:"ITX Mainnet Explorer (Blockscout)",url:"https://explorer.itxchain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://explorer.itxchain.com",name:"ITX Mainnet",nativeCurrency:{name:"ITX",symbol:"ITX",decimals:18},networkId:1235,rpc:["https://1235.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.itxchain.com"],shortName:"itx",slug:"itx",testnet:!1},Out={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},Uut={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},Hut={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},zut={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},Wut={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},qut={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},jut={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},Gut={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},Kut={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},Qut={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},Vut={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},Yut={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},$ut={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},Jut={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},Xut={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},Zut={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},e2t={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},t2t={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},PHe={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},a2t={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"},r2t={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"},f2t={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},i2t={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},s2t={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},o2t={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},c2t={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},d2t={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},l2t={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},u2t={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},p2t={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"},h2t={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"},m2t={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"},b2t={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"},y2t={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},g2t={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"},v2t={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},w2t={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"},T2t={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},x2t={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"},E2t={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},_2t={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},A2t={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},C2t={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},I2t={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},k2t={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"},S2t={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},R2t={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},M2t={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},B2t={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},D2t={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},P2t={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},L2t={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},F2t={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},N2t={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},O2t={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},U2t={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},H2t={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},z2t={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},W2t={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"},q2t={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"},j2t={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},G2t={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},K2t={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},Q2t={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},V2t={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},Y2t={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},$2t={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},J2t={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},X2t={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"},Z2t={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},ept={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},tpt={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},npt={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},apt={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},rpt={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},fpt={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},ipt={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},spt={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},opt={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},cpt={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},dpt={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},lpt={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},upt={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},ppt={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},hpt={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},mpt={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},bpt={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},ypt={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},gpt={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"},vpt={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},wpt={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},Tpt={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},xpt={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},Ept={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},_pt={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},Apt={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"},Cpt={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},Ipt={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},kpt={chain:"ALTR",chainId:1971,explorers:[],faucets:[],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"},Spt={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},Rpt={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"},Mpt={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},Bpt={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},Dpt={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},Ppt={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},Lpt={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},Fpt={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"},Npt={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},Opt={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},Upt={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},Hpt={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},zpt={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},Wpt={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},qpt={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},jpt={chain:"MetaLink",chainId:2004,explorers:[{name:"MetaScan",url:"http://twoto3.com:3000",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfSXRkDPSwt7heQ24pDtWKN6vvervEaTJHmueyRp1mpg1",width:800,height:800,format:"jpg"},infoURL:"http://totwo3.com:3000",name:"MetaLink Network",nativeCurrency:{name:"MetaLink",symbol:"MTL",decimals:18},networkId:2004,rpc:["https://2004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://77.237.237.69:9933"],shortName:"mtl",slug:"metalink-network",testnet:!1},Gpt={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},Kpt={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},Qpt={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},Vpt={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},Ypt={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},$pt={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"},Jpt={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"},Xpt={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"},Zpt={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"},e8t={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},t8t={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},n8t={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},a8t={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},r8t={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},f8t={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},i8t={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},s8t={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},o8t={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},c8t={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},d8t={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},l8t={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},u8t={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"},p8t={chain:"NEUROWEB",chainId:2043,explorers:[],faucets:[],infoURL:"https://neuroweb.ai",name:"NeuroWeb",nativeCurrency:{name:"NeuroWeb Token",symbol:"NEURO",decimals:12},networkId:2043,rpc:["https://2043.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://astrosat.origintrail.network","wss://parachain-rpc.origin-trail.network"],shortName:"NEURO",slug:"neuroweb",testnet:!1},h8t={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},m8t={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},b8t={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},y8t={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},g8t={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},v8t={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},w8t={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},x8t={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},E8t={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},_8t={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},A8t={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},C8t={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},I8t={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},k8t={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},S8t={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},R8t={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},M8t={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},B8t={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},D8t={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},P8t={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},L8t={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},F8t={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},N8t={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},O8t={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},U8t={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},H8t={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},z8t={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},W8t={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},q8t={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},j8t={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},G8t={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},K8t={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},Q8t={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},V8t={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},Y8t={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},$8t={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},J8t={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},X8t={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},Z8t={chain:"Atleta",chainId:2340,explorers:[{name:"Atleta Olympia Explorer",url:"https://blockscout.atleta.network",standard:"none",icon:{url:"ipfs://QmV2JVr4FCcb6aRiUoA3wS5erLoxtLBLonQ1Nvz8fNuEcR",width:128,height:128,format:"png"}},{name:"Atleta Olympia Polka Explorer",url:"https://polkadot-explorer.atleta.network/#/explorer",standard:"none",icon:{url:"ipfs://QmV2JVr4FCcb6aRiUoA3wS5erLoxtLBLonQ1Nvz8fNuEcR",width:128,height:128,format:"png"}}],faucets:["https://app-olympia.atleta.network/faucet"],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","https://testnet-rpc.atleta.network"],shortName:"atla",slip44:1,slug:"atleta-olympia",testnet:!0},eht={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},tht={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"},nht={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"},aht={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"},rht={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},fht={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},iht={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},sht={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},oht={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},cht={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"},dht={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"},lht={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},uht={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},pht={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},hht={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},mht={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},bht={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},yht={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},ght={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},vht={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"},wht={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},xht={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},Eht={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},_ht={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},Aht={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},Cht={chain:"Avalanche",chainId:2715,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3583",nativeCurrency:{name:"QaUser3583 Token",symbol:"XDR",decimals:18},networkId:2715,redFlags:[],rpc:["https://2715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3583",slug:"qauser3583",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"},kht={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},Sht={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},Rht={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"},Mht={chain:"GM Network Mainnet",chainId:2777,explorers:[{name:"GM Network Mainnet Explorer",url:"https://scan.gmnetwork.ai",standard:"EIP3091"}],faucets:[],infoURL:"https://gmnetwork.ai",name:"GM Network Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2777,rpc:["https://2777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gmnetwork.ai"],shortName:"gmnetwork-mainnet",slug:"gm-network",status:"active",testnet:!1},Bht={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"},Dht={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},Pht={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},Lht={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},Fht={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},Nht={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},Oht={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},Uht={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},Hht={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},zht={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},qht={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},jht={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},Ght={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},Kht={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"},Qht={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},Vht={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"},Yht={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},$ht={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},Jht={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},Xht={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},Zht={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},e3t={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},t3t={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},n3t={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},a3t={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},r3t={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},f3t={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},i3t={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},s3t={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},o3t={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},c3t={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},d3t={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},l3t={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},u3t={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},p3t={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},h3t={chain:"LayerEdge",chainId:3456,explorers:[{name:"LayerEdge Testnet Explorer",url:"https://testnet-explorer.layeredge.io",standard:"EIP3091",icon:{url:"ipfs://QmT2RotFAn8edji6FqBiP1TpTb1EFqHr28qbQGoRaJ9nTN",width:218,height:211,format:"svg"}}],faucets:["https://testnet-faucet.layeredge.io"],icon:{url:"ipfs://QmT2RotFAn8edji6FqBiP1TpTb1EFqHr28qbQGoRaJ9nTN",width:218,height:211,format:"svg"},infoURL:"https://www.layeredge.io",name:"LayerEdge testnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:3456,rpc:["https://3456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.layeredge.io"],shortName:"LayerEdge-testnet",slug:"layeredge-testnet",testnet:!0},m3t={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},b3t={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},y3t={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},g3t={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},v3t={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},w3t={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},T3t={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},x3t={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},_3t={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},A3t={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},C3t={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},I3t={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},k3t={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},S3t={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},R3t={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"},M3t={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},B3t={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},P3t={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"},L3t={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},F3t={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},N3t={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"}],icon:{url:"ipfs://QmXbsQe7QsVFZJZdBmbZVvS6LgX9ZFoaTMBs9MiQXUzJTw",width:256,height:256,format:"png"},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},O3t={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},U3t={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},H3t={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},z3t={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},W3t={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},q3t={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},j3t={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},LHe={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},G3t={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},K3t={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},Q3t={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},V3t={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},Y3t={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},$3t={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},J3t={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},X3t={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},Z3t={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"},emt={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},tmt={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},nmt={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},amt={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},rmt={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},fmt={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},imt={chain:"XFI",chainId:4157,explorers:[{name:"CrossFi Testnet Scan",url:"https://test.xfiscan.com",standard:"EIP3091",icon:{url:"ipfs://QmbRJzDeAdMkEXkqDwBwezpUxyjTPHZ2iXEomqKPvWZcWE",width:40,height:42,format:"svg"}},{name:"Scan Testnet",url:"https://scan.testnet.ms/",standard:"EIP1559"}],faucets:[],features:[],icon:{url:"ipfs://QmbRJzDeAdMkEXkqDwBwezpUxyjTPHZ2iXEomqKPvWZcWE",width:40,height:42,format:"svg"},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/"},smt={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},omt={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"},cmt={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},dmt={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:["https://app.optimism.io/faucet"],icon:{url:"ipfs://QmVTS8jmWD5e7jVEn86wLjJsuMnc6s8fym3JbtE4etzSKf",width:400,height:400,format:"png"},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},lmt={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},umt={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},pmt={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},hmt={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},mmt={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},bmt={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},ymt={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},gmt={chain:"HYDRA",chainId:4488,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVxyUjuA8t9q3oWDgv8ExqaUXcRuDqiKrZAiLaBWHYcmG",width:722,height:813,format:"png"},infoURL:"https://hydrachain.org",name:"Hydra Chain",nativeCurrency:{name:"Hydra",symbol:"HYDRA",decimals:18},networkId:4488,rpc:[],shortName:"HYDRA",slug:"hydra-chain",status:"incubating",testnet:!1},vmt={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},wmt={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"},Tmt={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},xmt={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"},Emt={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},_mt={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},Amt={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},Cmt={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},Imt={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},kmt={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},Smt={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},Rmt={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},Mmt={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},Bmt={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},Dmt={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},Pmt={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},Lmt={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},Fmt={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},Nmt={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},Omt={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},Umt={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},Hmt={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},zmt={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},Wmt={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"},qmt={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"},jmt={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},Gmt={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},Kmt={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},Qmt={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},Vmt={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},Ymt={chain:"Ham",chainId:5112,explorers:[{name:"blockscout",url:"https://explorer.ham.fun",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcbYVenTET9HBS7vs7SGv1MNqnRscAKVF5kaRVHaVCfvs",width:500,height:500,format:"jpg"},infoURL:"https://ham.fun",name:"Ham",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5112,rpc:["https://5112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ham.fun"],shortName:"ham",slug:"ham",status:"active",testnet:!1},$mt={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"},Jmt={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},Xmt={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},Zmt={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},ebt={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},tbt={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},nbt={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},abt={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},rbt={chain:"ITX",chainId:5321,explorers:[{name:"ITX Testnet Explorer (Blockscout)",url:"https://explorer.testnet.itxchain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://explorer.testnet.itxchain.com",name:"ITX Testnet",nativeCurrency:{name:"ITX",symbol:"ITX",decimals:18},networkId:5321,rpc:["https://5321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.itxchain.com"],shortName:"itx-testnet",slug:"itx-testnet",testnet:!0},fbt={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},ibt={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},sbt={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},obt={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},cbt={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},dbt={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},lbt={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},ubt={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},pbt={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},hbt={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},mbt={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},bbt={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},ybt={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},gbt={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},vbt={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},wbt={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},Tbt={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"},xbt={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},Ebt={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"},_bt={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},Abt={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},Cbt={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},Ibt={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},kbt={chain:"BounceBit",chainId:6e3,explorers:[{name:"BBScan Testnet Explorer",url:"https://bbscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXry4fg4n371PCokLGKUMwmws1SoJb5giZM3EedeEQaZz",width:192,height:192,format:"png"},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},Sbt={chain:"BounceBit",chainId:6001,explorers:[{name:"BBScan Mainnet Explorer",url:"https://bbscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXry4fg4n371PCokLGKUMwmws1SoJb5giZM3EedeEQaZz",width:192,height:192,format:"png"},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},Rbt={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},Mbt={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},Bbt={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},Dbt={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},Pbt={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},Lbt={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},Fbt={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},Nbt={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},Obt={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},Ubt={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},Hbt={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},zbt={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},Wbt={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},qbt={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},jbt={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},Gbt={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},Kbt={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},Qbt={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},Vbt={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},Ybt={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},$bt={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},Jbt={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},Xbt={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},Zbt={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},e4t={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},t4t={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},n4t={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},a4t={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},r4t={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},f4t={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},i4t={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"},s4t={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},o4t={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},c4t={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},d4t={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},l4t={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},u4t={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},p4t={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},h4t={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},m4t={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},b4t={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},y4t={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},g4t={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},v4t={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},w4t={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},T4t={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},x4t={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},E4t={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},_4t={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},A4t={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},C4t={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},I4t={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},k4t={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},S4t={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},M4t={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},B4t={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},D4t={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"},P4t={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},L4t={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},F4t={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},N4t={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},O4t={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},U4t={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},z4t={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},W4t={chain:"MO",chainId:7924,explorers:[{name:"MO Explorer",url:"https://moscan.app",standard:"none"}],faucets:["https://faucet.mochain.app/"],icon:{url:"ipfs://QmfJYJiR7L8xMG3KAWroVA9CQEfRGcbprC4JmVsiVk1E4e",width:512,height:512,format:"png"},infoURL:"https://mochain.app",name:"MO Mainnet",nativeCurrency:{name:"MO",symbol:"MO",decimals:18},networkId:7924,rpc:["https://7924.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.mochain.app/"],shortName:"MO",slug:"mo",testnet:!1},q4t={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},j4t={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},K4t={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},Q4t={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"},V4t={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"},Y4t={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},$4t={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},J4t={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},X4t={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},Z4t={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},eyt={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},tyt={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},nyt={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},ayt={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},ryt={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},fyt={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},iyt={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},syt={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},oyt={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},cyt={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},dyt={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},lyt={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},uyt={chain:"Avalanche",chainId:8227,explorers:[{name:"SPACE Explorer",url:"https://subnets.avax.network/space",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:"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},pyt={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},hyt={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},myt={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},byt={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"},RW={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},yyt={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},gyt={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},vyt={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},wyt={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},Tyt={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},xyt={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},Eyt={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},_yt={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},Ayt={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},Cyt={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"},Iyt={chain:"HYDRA",chainId:8844,explorers:[{name:"Hydra Chain Testnet explorer",url:"https://hydragon.hydrachain.org",standard:"EIP3091",icon:{url:"ipfs://QmVxyUjuA8t9q3oWDgv8ExqaUXcRuDqiKrZAiLaBWHYcmG",width:722,height:813,format:"png"}}],faucets:["https://app.testnet.hydrachain.org/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVxyUjuA8t9q3oWDgv8ExqaUXcRuDqiKrZAiLaBWHYcmG",width:722,height:813,format:"png"},infoURL:"https://hydrachain.org",name:"Hydra Chain Testnet",nativeCurrency:{name:"tHydra",symbol:"tHYDRA",decimals:18},networkId:8844,rpc:["https://8844.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.hydrachain.org"],shortName:"THYDRA",slug:"hydra-chain-testnet",testnet:!0},kyt={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},Syt={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},Ryt={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},Myt={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},Byt={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},Dyt={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},Pyt={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},Lyt={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},Fyt={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},Nyt={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"},Oyt={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},Uyt={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},Hyt={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},zyt={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},Wyt={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},qyt={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"},jyt={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},Gyt={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","https://evmos-testnet-evm-rpc.publicnode.com","wss://evmos-testnet-evm-rpc.publicnode.com"],shortName:"evmos-testnet",slip44:1,slug:"evmos-testnet",testnet:!0},Kyt={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-rpc.publicnode.com","wss://evmos-evm-rpc.publicnode.com"],shortName:"evmos",slug:"evmos",testnet:!1},Qyt={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},Vyt={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},Yyt={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},$yt={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},Jyt={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},Xyt={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},Zyt={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},e7t={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},t7t={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},n7t={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},a7t={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},r7t={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},f7t={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},i7t={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},s7t={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},o7t={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},c7t={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"},d7t={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},l7t={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},u7t={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},p7t={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},h7t={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},m7t={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},b7t={chain:"OptimusZ7",chainId:9797,explorers:[{name:"OptimusZ7 Mainnet Explorer",url:"https://explorer.optimusz7.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmerd9Q3otjDuQAFbdiQyUnZk7UfPvkCr21E5N4VCNvhbj",width:493,height:506,format:"png"},infoURL:"http://optimusz7.com",name:"OptimusZ7 Mainnet",nativeCurrency:{name:"OptimusZ7",symbol:"OZ7",decimals:18},networkId:9797,rpc:["https://9797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.optimusz7.com"],shortName:"OZ7m",slug:"optimusz7",testnet:!1},y7t={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},g7t={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},v7t={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},w7t={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},T7t={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"},x7t={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},E7t={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},_7t={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},A7t={chain:"Avalanche",chainId:9981,explorers:[{name:"Volley Mainnet Explorer",url:"https://volleyscan.io",standard:"EIP3091"}],faucets:[],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","https://main-rpc.volleychain.com"],shortName:"QaUser4131",slug:"qauser4131",testnet:!0},C7t={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},I7t={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},k7t={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},S7t={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},R7t={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},M7t={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},B7t={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},D7t={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},P7t={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},L7t={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},F7t={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},N7t={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},O7t={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},U7t={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},H7t={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},z7t={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},W7t={chain:"GLC",chainId:10222,explorers:[{name:"GLScan Explorer",url:"https://glscan.io",standard:"none",icon:{url:"ipfs://QmTw21p6UfXVH2BCU81G2Ck28ecoknz4v9mC35fF8Z987i",width:512,height:557,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTw21p6UfXVH2BCU81G2Ck28ecoknz4v9mC35fF8Z987i",width:512,height:557,format:"png"},infoURL:"https://glscan.io/",name:"GLScan",nativeCurrency:{name:"GLC",symbol:"GLC",decimals:18},networkId:10222,rpc:["https://10222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://glc-dataseed.glscan.io/"],shortName:"glc",slip44:1,slug:"glscan",testnet:!1},q7t={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},j7t={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},G7t={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},K7t={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},Q7t={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},V7t={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},Y7t={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},$7t={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},J7t={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},Z7t={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},e9t={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},t9t={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},n9t={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},a9t={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},r9t={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},f9t={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},i9t={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},s9t={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},o9t={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},c9t={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},d9t={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},l9t={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},u9t={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},p9t={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},h9t={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},m9t={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},b9t={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},y9t={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},g9t={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},v9t={chain:"Santiment Intelligence Network DEPRECATED",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 DEPRECATED",nativeCurrency:{name:"SANold",symbol:"SANold",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:"SANold",slug:"santiment-intelligence-network-deprecated",status:"deprecated",testnet:!1},w9t={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},T9t={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},x9t={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},E9t={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},_9t={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},A9t={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},C9t={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},I9t={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},k9t={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},S9t={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},R9t={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},M9t={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},B9t={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},D9t={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"},P9t={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},L9t={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"},F9t={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},N9t={chain:"Avalanche",chainId:12885,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I3",nativeCurrency:{name:"QI0603I3 Token",symbol:"UQI",decimals:18},networkId:12885,redFlags:[],rpc:["https://12885.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I3",slug:"qi0603i3",testnet:!0},O9t={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},U9t={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},H9t={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},z9t={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},W9t={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},q9t={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},j9t={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},G9t={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},K9t={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},Q9t={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},V9t={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"},Y9t={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},$9t={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},J9t={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},X9t={chain:"Avalanche",chainId:14093,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6598",nativeCurrency:{name:"QaUser6598 Token",symbol:"UQC",decimals:18},networkId:14093,redFlags:[],rpc:["https://14093.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6598",slug:"qauser6598",testnet:!0},Z9t={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},egt={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},tgt={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"},ngt={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},agt={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},rgt={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},fgt={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},igt={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},sgt={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},ogt={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},cgt={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},dgt={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},lgt={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},ugt={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},pgt={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},hgt={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},mgt={chain:"Avalanche",chainId:16316,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Stripe Test",nativeCurrency:{name:"Stripe Test Token",symbol:"STR",decimals:18},networkId:16316,redFlags:[],rpc:["https://16316.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Stripe Test",slug:"stripe-test",testnet:!0},bgt={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},ygt={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},ggt={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},vgt={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},wgt={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},Tgt={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"},xgt={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},Egt={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},_gt={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},Agt={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},Cgt={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},Igt={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},kgt={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},Sgt={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},Rgt={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},Mgt={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},Bgt={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},Dgt={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},Pgt={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},Lgt={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},Fgt={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},Ngt={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"},Ogt={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},Ugt={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"},Hgt={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"},zgt={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},Wgt={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},qgt={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},jgt={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},Ggt={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},Kgt={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},Qgt={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},Vgt={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},Ygt={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},$gt={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},Jgt={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},Xgt={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},Zgt={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},evt={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},tvt={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},nvt={chain:"NIZA",chainId:20041,explorers:[{name:"NizaScan",url:"https://nizascan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPh2FdjoPWBaCKNrknv6HjruxdUCr8AvJYvhpgHZP6e2C",width:512,height:512,format:"png"},infoURL:"https://niza.io",name:"Niza Chain Mainnet",nativeCurrency:{name:"Niza Global",symbol:"NIZA",decimals:18},networkId:20041,rpc:["https://20041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nizascan.io/rpc"],shortName:"niza",slug:"niza-chain",testnet:!1},avt={chain:"NIZA",chainId:20073,explorers:[{name:"NizaScan",url:"https://testnet.nizascan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPh2FdjoPWBaCKNrknv6HjruxdUCr8AvJYvhpgHZP6e2C",width:512,height:512,format:"png"},infoURL:"https://niza.io",name:"Niza Chain Testnet",nativeCurrency:{name:"Niza Global",symbol:"NIZA",decimals:18},networkId:20073,rpc:["https://20073.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.nizascan.io/rpc"],shortName:"niza_testnet",slug:"niza-chain-testnet",testnet:!0},rvt={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},fvt={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},ivt={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},svt={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},ovt={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},cvt={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},dvt={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},lvt={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},uvt={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},pvt={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},hvt={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},mvt={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},bvt={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},yvt={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},gvt={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},vvt={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},wvt={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},Tvt={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},xvt={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},Evt={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},_vt={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},Avt={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},Cvt={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},Ivt={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},kvt={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},Svt={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},Rvt={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},Mvt={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},Bvt={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},Dvt={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},Pvt={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},Lvt={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},Fvt={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},Ovt={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},Uvt={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},Hvt={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},zvt={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},Wvt={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},qvt={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},jvt={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},Gvt={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},Kvt={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},Qvt={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},Vvt={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},Yvt={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},$vt={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},Jvt={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},Xvt={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},Zvt={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},ewt={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},twt={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},nwt={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},awt={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},rwt={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},fwt={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},iwt={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},swt={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},owt={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"},cwt={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"},dwt={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},lwt={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},uwt={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},pwt={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},hwt={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"},mwt={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"},bwt={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},ywt={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},gwt={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},vwt={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},wwt={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},Twt={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},xwt={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},Ewt={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},_wt={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},Awt={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},Cwt={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},Iwt={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},kwt={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},Swt={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},Rwt={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},Mwt={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},Bwt={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},Dwt={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},Pwt={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},Lwt={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},Fwt={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},Owt={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},Uwt={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},Hwt={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},zwt={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},Wwt={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},qwt={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},jwt={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},Gwt={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},Kwt={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},Qwt={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},Vwt={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},Ywt={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},$wt={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},Jwt={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},Xwt={chain:"Avalanche",chainId:32112,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606S1T",nativeCurrency:{name:"QR0606S1T Token",symbol:"GKN",decimals:18},networkId:32112,redFlags:[],rpc:["https://32112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606s1t/testnet/rpc"],shortName:"QR0606S1T",slug:"qr0606s1t",testnet:!0},Zwt={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},eTt={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},tTt={chain:"Santiment Intelligence Network",chainId:32382,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:32382,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sanr.app"}]},rpc:["https://32382.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.sanr.app"],shortName:"SANR",slug:"santiment-intelligence-network",testnet:!1},nTt={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},aTt={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},rTt={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},fTt={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},iTt={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},sTt={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},oTt={chain:"Avalanche",chainId:33100,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7864",nativeCurrency:{name:"QaUser7864 Token",symbol:"MBP",decimals:18},networkId:33100,redFlags:[],rpc:["https://33100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7864",slug:"qauser7864",testnet:!0},cTt={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},dTt={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},lTt={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},uTt={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},pTt={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},hTt={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},mTt={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},bTt={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},yTt={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},gTt={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},vTt={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},wTt={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},TTt={chain:"ETH",chainId:34443,explorers:[{name:"modescout",url:"https://explorer.mode.network",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreidi5y7afj5z4xrz7uz5rkg2mcsv2p2n4ui4g7q4k4ecdz65i2agou",width:2160,height:2160,format:"png"},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},xTt={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},ETt={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},_Tt={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},ATt={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},CTt={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},ITt={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},kTt={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},STt={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},RTt={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},MTt={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},BTt={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},DTt={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},PTt={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},LTt={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},FTt={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},NTt={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},OTt={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},UTt={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},HTt={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},zTt={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},WTt={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},qTt={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},jTt={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},GTt={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},KTt={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},QTt={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},VTt={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},YTt={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},$Tt={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},JTt={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},XTt={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},ZTt={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},ext={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},txt={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},nxt={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},axt={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},rxt={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},fxt={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},ixt={chain:"Avalanche",chainId:41847,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606T3TP",nativeCurrency:{name:"QR0606T3TP Token",symbol:"HRQ",decimals:18},networkId:41847,redFlags:[],rpc:["https://41847.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606t3tp/testnet/rpc"],shortName:"QR0606T3TP",slug:"qr0606t3tp",testnet:!0},sxt={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},oxt={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},FHe={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},cxt={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},JS={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},dxt={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},lxt={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},uxt={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},pxt={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},hxt={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"},mxt={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},bxt={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},yxt={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},gxt={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"},vxt={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},wxt={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},NHe={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},OHe={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},Txt={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},xxt={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},Ext={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},_xt={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},Axt={chain:"Avalanche",chainId:43994,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606T1TP",nativeCurrency:{name:"QR0606T1TP Token",symbol:"HRQ",decimals:18},networkId:43994,redFlags:[],rpc:["https://43994.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606t1tp/testnet/rpc"],shortName:"QR0606T1TP",slug:"qr0606t1tp",testnet:!0},Cxt={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},Ixt={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},kxt={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},XS={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},Sxt={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},Rxt={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},Mxt={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},Bxt={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},Dxt={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"},Pxt={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},Lxt={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},Fxt={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},Nxt={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},Oxt={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},Uxt={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},Hxt={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},zxt={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},Wxt={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},qxt={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},jxt={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},Gxt={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},Kxt={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},Qxt={chain:"Avalanche",chainId:48795,explorers:[{name:"SPACE Explorer",url:"https://subnets-test.avax.network/space",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:"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},Vxt={chain:"Zircuit Testnet",chainId:48899,explorers:[{name:"Zircuit",url:"https://explorer.zircuit.com",standard:"none",icon:{url:"ipfs://QmV4nUUiRaTTZSyWubpF98ZL9jNCoXkrgg6AWR6FKqdxMk",width:256,height:256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmV4nUUiRaTTZSyWubpF98ZL9jNCoXkrgg6AWR6FKqdxMk",width:256,height:256,format:"png"},infoURL:"https://www.zircuit.com/",name:"Zircuit Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:48899,rpc:["https://48899.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zircuit1.p2pify.com/"],shortName:"zircuit-testnet",slug:"zircuit-testnet",testnet:!0},Yxt={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"},$xt={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},Jxt={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"},Xxt={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},Zxt={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},eEt={chain:"Avalanche",chainId:49995,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606T2TP",nativeCurrency:{name:"QR0606T2TP Token",symbol:"HRQ",decimals:18},networkId:49995,redFlags:[],rpc:["https://49995.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606t2tp/testnet/rpc"],shortName:"QR0606T2TP",slug:"qr0606t2tp",testnet:!0},tEt={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},nEt={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},aEt={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},rEt={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},fEt={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},iEt={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},sEt={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},oEt={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},cEt={chain:"Avalanche",chainId:51173,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1544",nativeCurrency:{name:"QaUser1544 Token",symbol:"ECX",decimals:18},networkId:51173,redFlags:[],rpc:["https://51173.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1544",slug:"qauser1544",testnet:!0},dEt={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},lEt={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},uEt={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},pEt={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},hEt={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},mEt={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},bEt={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},yEt={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},gEt={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},vEt={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},wEt={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},TEt={chain:"Superseed Sepolia Testnet",chainId:53302,explorers:[{name:"blockscout",url:"https://sepolia-explorer.superseed.xyz",standard:"EIP3091",icon:{url:"ipfs://QmSyw4AhwGALxb17qWLZgzpHJksqdqNvWuNrhuoMPfb61C",width:512,height:512,format:"svg"}}],faucets:["https://sepoliafaucet.com"],features:[],icon:{url:"ipfs://QmSyw4AhwGALxb17qWLZgzpHJksqdqNvWuNrhuoMPfb61C",width:512,height:512,format:"svg"},infoURL:"https://www.superseed.xyz",name:"Superseed Sepolia Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:53302,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://sepolia-bridge.superseed.xyz/"}]},redFlags:[],rpc:["https://53302.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.superseed.xyz","wss://sepolia.superseed.xyz"],shortName:"superseed-sepolia-testnet",slip44:1,slug:"superseed-sepolia-testnet",testnet:!0},xEt={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},EEt={chain:"Avalanche",chainId:53399,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I4",nativeCurrency:{name:"QI0603I4 Token",symbol:"UQI",decimals:18},networkId:53399,redFlags:[],rpc:["https://53399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I4",slug:"qi0603i4",testnet:!0},_Et={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"},AEt={chain:"Avalanche",chainId:53654,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0610S1TS",nativeCurrency:{name:"QI0610S1TS Token",symbol:"TQA",decimals:18},networkId:53654,redFlags:[],rpc:["https://53654.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0610S1TS",slug:"qi0610s1ts",testnet:!0},CEt={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},IEt={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},kEt={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},SEt={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},REt={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},MEt={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},BEt={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},DEt={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},PEt={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},LEt={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},FEt={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},NEt={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},OEt={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},UEt={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},HEt={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},zEt={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},WEt={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},qEt={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},jEt={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},GEt={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},KEt={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},QEt={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},VEt={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},YEt={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},$Et={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},JEt={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},XEt={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},ZEt={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},e_t={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},t_t={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},n_t={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},a_t={chain:"Avalanche",chainId:57822,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6586",nativeCurrency:{name:"QaUser6586 Token",symbol:"FUS",decimals:18},networkId:57822,redFlags:[],rpc:["https://57822.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6586",slug:"qauser6586",testnet:!0},r_t={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},f_t={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},i_t={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},s_t={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},o_t={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},c_t={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},d_t={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},l_t={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"},u_t={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"},p_t={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"},h_t={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},m_t={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},b_t={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},y_t={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},g_t={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},v_t={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},w_t={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},T_t={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},x_t={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},E_t={chain:"Avalanche",chainId:60147,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6828",nativeCurrency:{name:"QaUser6828 Token",symbol:"CLL",decimals:18},networkId:60147,redFlags:[],rpc:["https://60147.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6828",slug:"qauser6828",testnet:!0},__t={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","https://bob-mainnet.public.blastapi.io","wss://bob-mainnet.public.blastapi.io"],shortName:"bob",slug:"bob",status:"active",testnet:!1},A_t={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},C_t={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},I_t={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},k_t={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},S_t={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},R_t={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},M_t={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},B_t={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},D_t={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},P_t={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},L_t={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},F_t={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},N_t={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},O_t={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},U_t={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},H_t={chain:"Citrea",chainId:62298,explorers:[{name:"Citrea Devnet Explorer",url:"https://explorer.devnet.citrea.xyz",standard:"EIP3091",icon:{url:"ipfs://QmTfgH4X7ZWkHprKgjUZ7SDcCGtS5f2CBuaTEtQYMsydmJ",width:480,height:480,format:"png"}}],faucets:["https://citrea.xyz/bridge"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTfgH4X7ZWkHprKgjUZ7SDcCGtS5f2CBuaTEtQYMsydmJ",width:480,height:480,format:"png"},infoURL:"https://citrea.xyz",name:"Citrea Devnet",nativeCurrency:{name:"Citrea BTC",symbol:"cBTC",decimals:18},networkId:62298,rpc:["https://62298.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.devnet.citrea.xyz"],shortName:"citrea-devnet",slug:"citrea-devnet",testnet:!1},Qse={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},z_t={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},W_t={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},q_t={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},j_t={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},G_t={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},K_t={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},Q_t={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},V_t={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},Y_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={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},J_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},X_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},Z_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},eAt={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},tAt={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},nAt={chain:"Avalanche",chainId:64947,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0604S1T",nativeCurrency:{name:"QR0604S1T Token",symbol:"GKN",decimals:18},networkId:64947,redFlags:[],rpc:["https://64947.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0604s1t/testnet/rpc"],shortName:"QR0604S1T",slug:"qr0604s1t",testnet:!0},aAt={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},rAt={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},fAt={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},iAt={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},sAt={chain:"Avalanche",chainId:65622,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Live Stripe Test",nativeCurrency:{name:"Live Stripe Test Token",symbol:"LST",decimals:18},networkId:65622,redFlags:[],rpc:["https://65622.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/livestripe/testnet/rpc"],shortName:"Live Stripe Test",slug:"live-stripe-test",testnet:!0},oAt={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},cAt={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},dAt={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},lAt={chain:"Avalanche",chainId:66729,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0605S1T",nativeCurrency:{name:"QR0605S1T Token",symbol:"GKN",decimals:18},networkId:66729,redFlags:[],rpc:["https://66729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0605s1t/testnet/rpc"],shortName:"QR0605S1T",slug:"qr0605s1t",testnet:!0},uAt={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},pAt={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},hAt={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},mAt={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},bAt={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},yAt={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},gAt={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},vAt={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},wAt={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},TAt={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},xAt={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},EAt={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},_At={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},AAt={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},CAt={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"},IAt={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},kAt={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},SAt={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},RAt={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},MAt={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},BAt={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},DAt={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},PAt={chain:"Avalanche",chainId:70157,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"jonoperf",nativeCurrency:{name:"jonoperf Token",symbol:"JONO",decimals:18},networkId:70157,redFlags:[],rpc:["https://70157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jonoperf/testnet/rpc"],shortName:"jonoperf",slug:"jonoperf",testnet:!0},LAt={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},FAt={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},NAt={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},OAt={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},UAt={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},HAt={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},zAt={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},WAt={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},qAt={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},jAt={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},GAt={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},KAt={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},QAt={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},VAt={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},YAt={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},$At={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},JAt={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},XAt={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},ZAt={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},eCt={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},tCt={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},nCt={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},aCt={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},rCt={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},fCt={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},iCt={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},sCt={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},oCt={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},cCt={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},dCt={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},lCt={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},uCt={chain:"GEEK Test",chainId:75513,explorers:[{name:"Geek Testnet Explorer",url:"https://explorer-testnet.geekout-pte.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.geekout-pte.com",name:"GEEK Verse Testnet",nativeCurrency:{name:"Geek",symbol:"GEEK",decimals:18},networkId:75513,rpc:["https://75513.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.geekout-pte.com"],shortName:"GEEK_Test",slug:"geek-verse-testnet",testnet:!0},pCt={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},hCt={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},mCt={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},bCt={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},yCt={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},gCt={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},vCt={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},wCt={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},TCt={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},xCt={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},ECt={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},_Ct={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},ACt={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},CCt={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},ICt={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},kCt={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},SCt={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},RCt={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"},MCt={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},BCt={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},DCt={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},PCt={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},LCt={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},FCt={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},MW={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"},NCt={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"},OCt={chain:"Berachain",chainId:80084,explorers:[{name:"Beratrail",url:"https://bartio.beratrail.io",standard:"none"}],faucets:["https://bartio.faucet.berachain.com/"],features:[],icon:{url:"https://d391b93f5f62d9c15f67142e43841acc.ipfscdn.io/ipfs/QmW2xrDkSqBB7qgftp5PUecEGg4zwUBJgSN45CaR7CKJMr",width:360,height:360,format:"png"},name:"Berachain bArtio",nativeCurrency:{name:"BERA",symbol:"BERA",decimals:18},networkId:80084,redFlags:[],rpc:["https://80084.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://quicknode-rpc.berachain.com","https://bartio.rpc.berachain.com","https://rpc.ankr.com/berachain_testnet"],shortName:"Berachain",slug:"berachain-bartio",testnet:!0},UCt={chain:"Berachain",chainId:80085,explorers:[{name:"Beratrail",url:"https://artio.beratrail.io",standard:"none"}],faucets:["https://artio.faucet.berachain.com"],features:[],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},HCt={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},zCt={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},WCt={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},qCt={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},jCt={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},GCt={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},KCt={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},QCt={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},VCt={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},YCt={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},$Ct={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},JCt={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},XCt={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},ZCt={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},eIt={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},tIt={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},nIt={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","https://blast-rpc.publicnode.com"],shortName:"blastmainnet",slug:"blast-blastmainnet",status:"active",testnet:!1},aIt={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},rIt={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},fIt={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},iIt={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},sIt={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},oIt={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},cIt={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},dIt={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},lIt={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},uIt={chain:"ZEDXION",chainId:83872,explorers:[{name:"Zedscan",url:"http://zedscan.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZ5DXJVxuMRvKzKstFte3TahJ4LSDsGd8DWTrYEPbSjTu",width:254,height:254,format:"png"},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},pIt={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},hIt={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},mIt={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},BW={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},bIt={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},yIt={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},gIt={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},vIt={chain:"Avalanche",chainId:84977,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1151",nativeCurrency:{name:"QaUser1151 Token",symbol:"AWU",decimals:18},networkId:84977,redFlags:[],rpc:["https://84977.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1151",slug:"qauser1151",testnet:!0},wIt={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},TIt={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},xIt={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},EIt={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},_It={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},AIt={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},CIt={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},IIt={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},kIt={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},SIt={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},RIt={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},MIt={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},BIt={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},DIt={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},PIt={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},LIt={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},FIt={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},NIt={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},OIt={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},UIt={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},HIt={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},zIt={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},WIt={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"},qIt={chain:"Avalanche",chainId:90343,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I2",nativeCurrency:{name:"QI0603I2 Token",symbol:"UQI",decimals:18},networkId:90343,redFlags:[],rpc:["https://90343.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I2",slug:"qi0603i2",testnet:!0},jIt={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},GIt={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},KIt={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},QIt={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"},VIt={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},YIt={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},$It={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"},JIt={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},XIt={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},ZIt={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},ekt={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},tkt={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},nkt={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},akt={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},rkt={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},fkt={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},ikt={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},skt={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},okt={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},ckt={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},dkt={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},lkt={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},ukt={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},pkt={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},hkt={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},mkt={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},bkt={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},ykt={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},gkt={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},vkt={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},wkt={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},Tkt={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},xkt={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},Ekt={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},_kt={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},Akt={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},Ckt={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},Ikt={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},kkt={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},Skt={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},Rkt={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},Mkt={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},Bkt={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},Dkt={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},Pkt={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},Lkt={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},Fkt={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},Nkt={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},Okt={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},Ukt={chain:"OptimusZ7",chainId:97970,explorers:[{name:"OptimusZ7 Testnet Explorer",url:"https://testnet.optimusz7.com",standard:"EIP3091"}],faucets:["https://faucet.optimusz7.com"],icon:{url:"ipfs://Qmerd9Q3otjDuQAFbdiQyUnZk7UfPvkCr21E5N4VCNvhbj",width:493,height:506,format:"png"},infoURL:"http://optimusz7.com",name:"OptimusZ7 Testnet",nativeCurrency:{name:"OptimusZ7",symbol:"OZ7",decimals:18},networkId:97970,rpc:["https://97970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.optimusz7.com"],shortName:"OZ7t",slug:"optimusz7-testnet",testnet:!0},Hkt={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},zkt={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},Wkt={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},qkt={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},jkt={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"},Gkt={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},Kkt={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},Qkt={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},Vkt={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},Ykt={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},$kt={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},Jkt={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},Xkt={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},Zkt={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},eSt={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},tSt={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},nSt={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},aSt={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},rSt={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},fSt={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},iSt={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},sSt={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},oSt={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},cSt={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},dSt={chain:"QuarkChain",chainId:100011,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain L2 Mainnet",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100011,parent:{type:"L2",chain:"eip155-100000"},rpc:["https://100011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-l2-ethapi.quarkchain.io"],shortName:"qkc-l2",slug:"quarkchain-l2",testnet:!1},lSt={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},uSt={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},pSt={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},hSt={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},mSt={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},bSt={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},ySt={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},gSt={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},vSt={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},wSt={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},TSt={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},xSt={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},ESt={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},_St={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},ASt={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},CSt={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},ISt={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},kSt={chain:"QuarkChain",chainId:110011,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain L2 Testnet",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110011,parent:{type:"L2",chain:"eip155-110000"},rpc:["https://110011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-l2-ethapi.quarkchain.io"],shortName:"qkc-l2-t",slug:"quarkchain-l2-testnet",testnet:!0},SSt={chain:"SBR",chainId:111e3,explorers:[{name:"Siberium Testnet Explorer - blockscout",url:"https://explorer.test.siberium.net",standard:"EIP3091"}],faucets:[],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},RSt={chain:"SBR",chainId:111111,explorers:[{name:"Siberium Mainnet Explorer - blockscout - 2",url:"https://explorer.main.siberium.net.ru",standard:"EIP3091"}],faucets:[],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},MSt={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"},BSt={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},DSt={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"},PSt={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},LSt={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},FSt={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},NSt={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},OSt={chain:"Form",chainId:132902,explorers:[{name:"Form Testnet explorer",url:"https://testnet-explorer.form.network",standard:"EIP3091"}],faucets:["https://info.form.network/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],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","https://testnet-rpc.form.network/http","wss://testnet-rpc.form.network/ws"],shortName:"Form",slug:"form-testnet",testnet:!0,title:"https://explorer.form.network/"},USt={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},HSt={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"},zSt={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},WSt={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},qSt={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},jSt={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},GSt={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},KSt={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},QSt={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},VSt={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},YSt={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},$St={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},JSt={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},XSt={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},ZSt={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},eRt={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},tRt={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},nRt={chain:"Bitlayer",chainId:200810,explorers:[{name:"bitlayer testnet scan",url:"https://testnet.btrscan.com",standard:"EIP3091"}],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},aRt={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},rRt={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},fRt={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},iRt={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},sRt={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},oRt={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},cRt={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},dRt={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"},lRt={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},uRt={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"},pRt={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},hRt={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},mRt={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},bRt={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},yRt={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},gRt={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},vRt={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},wRt={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},TRt={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},xRt={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},ERt={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},_Rt={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},ARt={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},CRt={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},IRt={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},kRt={chain:"Orange Chain",chainId:240515,explorers:[{name:"Blockscout",url:"https://testnet-scan.orangechain.xyz",standard:"EIP3091",icon:{url:"ipfs://QmWcaVLcPYBxi76HYJc4qudLJwXtfNCDJieLHAs632jMEA",width:1042,height:1042,format:"png"}}],faucets:[],icon:{url:"ipfs://QmWcaVLcPYBxi76HYJc4qudLJwXtfNCDJieLHAs632jMEA",width:1042,height:1042,format:"png"},infoURL:"https://orangechain.xyz",name:"Orange Chain Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:240515,rpc:["https://240515.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.orangechain.xyz"],shortName:"Orange-Chain-Testnet",slug:"orange-chain-testnet",testnet:!0,title:"Orange Chain Testnet"},SRt={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},RRt={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},MRt={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},BRt={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},DRt={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},PRt={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},LRt={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},FRt={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},NRt={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},ORt={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},URt={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},HRt={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},zRt={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},WRt={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},qRt={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},jRt={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"},GRt={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},KRt={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},QRt={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},VRt={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},YRt={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},$Rt={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},JRt={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},XRt={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},ZRt={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},eMt={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},tMt={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},nMt={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},aMt={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},rMt={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},fMt={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},iMt={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},sMt={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},oMt={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},cMt={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},dMt={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},lMt={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},uMt={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},pMt={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},hMt={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},mMt={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},bMt={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},yMt={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"},gMt={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"},UHe={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"},vMt={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"},wMt={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},TMt={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},xMt={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},EMt={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},_Mt={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"},AMt={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},CMt={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},IMt={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},kMt={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},SMt={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},RMt={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},MMt={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},BMt={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"},DMt={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},PMt={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},LMt={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},FMt={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},NMt={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},OMt={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"},UMt={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},HMt={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},zMt={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},WMt={chain:"ATLAS",chainId:622463,explorers:[{name:"Atlas Testnet Scan",url:"https://explorer.testnet.atl.network",standard:"EIP3091",icon:{url:"ipfs://QmcSWGcoqC3y8VKahRdqPDgD68rr6A1gWVQPRt5FcpgWmG",width:587,height:174,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmcSWGcoqC3y8VKahRdqPDgD68rr6A1gWVQPRt5FcpgWmG",width:587,height:174,format:"svg"},infoURL:"https://atl.network",name:"Atlas",nativeCurrency:{name:"TON",symbol:"TON",decimals:18},networkId:622463,rpc:["https://622463.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.atl.network"],shortName:"atlas-testnet",slug:"atlas",testnet:!0,title:"Atlas Testnet"},qMt={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},jMt={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},GMt={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},KMt={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},QMt={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},VMt={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},YMt={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},$Mt={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},JMt={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},XMt={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},ZMt={chain:"ERAM",chainId:721529,explorers:[{name:"Eramscan",url:"https://eramscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQyu82MtGVLYMwCc5rseNXDV12V3UUX7iNq8q86SyeaPh",width:258,height:258,format:"png"},infoURL:"http://doc.eramscan.com/",name:"ERAM Mainnet",nativeCurrency:{name:"ERAM",symbol:"ERAM",decimals:18},networkId:721529,rpc:["https://721529.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.eramscan.com"],shortName:"ERAM",slug:"eram",testnet:!1},eBt={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},tBt={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},nBt={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},aBt={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},rBt={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},fBt={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},iBt={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},sBt={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},oBt={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},cBt={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},dBt={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},lBt={chain:"Trust Smart Chain Testnet",chainId:820522,explorers:[{name:"tscscan",url:"https://testnet.tscscan.io",standard:"none",icon:{url:"ipfs://QmZWF4RcDtxuFRRGgMMuDV7FWCYR6kA9cAUTk12iADU52U",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYmQAo5hSr16LDeSbWbXfKdF6qa2zCoK7e88r2f7RiFdt",width:1024,height:1024,format:"png"},infoURL:"https://www.trias.one",name:"TSC Testnet",nativeCurrency:{name:"TAS",symbol:"tTAS",decimals:18},networkId:820025,rpc:["https://820522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.tscscan.io/testrpc"],shortName:"tTSC",slug:"tsc-testnet",testnet:!0},uBt={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},pBt={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},hBt={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},mBt={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},bBt={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},yBt={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"},gBt={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},vBt={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},wBt={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},TBt={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},xBt={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},EBt={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},_Bt={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},ABt={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},CBt={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},IBt={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},kBt={chain:"Avalanche",chainId:922935,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0607t1ts",nativeCurrency:{name:"QR0607t1ts Token",symbol:"WAP",decimals:18},networkId:922935,redFlags:[],rpc:["https://922935.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0607t1ts/testnet/rpc"],shortName:"QR0607t1ts",slug:"qr0607t1ts",testnet:!0},SBt={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},RBt={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},MBt={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},BBt={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},DBt={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},PBt={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},LBt={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},FBt={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},NBt={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},OBt={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},UBt={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},HBt={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},zBt={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},WBt={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},qBt={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},jBt={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},GBt={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},KBt={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},QBt={chain:"treasure",chainId:978657,explorers:[{name:"treasurescan",url:"https://testnet.treasurescan.io",standard:"EIP3091",icon:{url:"ipfs://Qmd532nWBVgUJy8m9ajGKwb2oaFPdnB7Xngepge2sarNBm",width:24,height:24,format:"svg"}},{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:[{name:"EIP155"},{name:"EIP1559"}],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,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://portal.treasure.lol/bridge"}]},redFlags:[],rpc:["https://978657.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.treasure.lol/http","wss://rpc-testnet.treasure.lol/ws"],shortName:"MAGIC",slip44:1,slug:"treasure-ruby",testnet:!0},VBt={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},YBt={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},$Bt={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},JBt={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},XBt={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},ZBt={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},eDt={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},tDt={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},nDt={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},aDt={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},rDt={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},fDt={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},iDt={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"},sDt={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"},oDt={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},cDt={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"},dDt={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},lDt={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},uDt={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"},pDt={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},hDt={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},mDt={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},bDt={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},yDt={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},gDt={chain:"Xterio Testnet",chainId:1637450,explorers:[{name:"Xterio Testnet Explorer",url:"https://testnet.xterscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://xter.io",name:"Xterio Testnet",nativeCurrency:{name:"tBNB",symbol:"tBNB",decimals:18},networkId:1637450,rpc:["https://1637450.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xterio-testnet.alt.technology"],shortName:"xteriotest",slug:"xterio-testnet",testnet:!0},vDt={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},wDt={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},TDt={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},xDt={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},EDt={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},_Dt={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},ADt={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},CDt={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},IDt={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},kDt={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},SDt={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},RDt={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},MDt={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},BDt={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},DDt={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},PDt={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},LDt={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},FDt={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},NDt={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},ODt={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"},UDt={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},HDt={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},zDt={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"},WDt={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},qDt={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},jDt={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},GDt={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},KDt={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},QDt={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},Vse={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},VDt={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},YDt={chain:"tFHE",chainId:8008135,explorers:[{name:"Fhenix Helium Explorer (Blockscout)",url:"https://explorer.helium.fhenix.zone",standard:"EIP3091"}],faucets:["https://get-helium.fhenix.zone"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.fhenix.io",name:"Fhenix Helium",nativeCurrency:{name:"tFHE",symbol:"tFHE",decimals:18},networkId:8008135,rpc:["https://8008135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.helium.fhenix.zone"],shortName:"fhe-helium",slug:"fhenix-helium",testnet:!1},$Dt={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},JDt={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},XDt={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},ZDt={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},ePt={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},tPt={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"},nPt={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"},aPt={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},rPt={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},fPt={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},HHe={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"},DW={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},iPt={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"},sPt={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},oPt={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},cPt={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},dPt={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},lPt={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},uPt={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},pPt={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},hPt={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},mPt={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},bPt={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},yPt={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},gPt={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},vPt={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},wPt={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},TPt={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},xPt={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},EPt={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},_Pt={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},APt={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},CPt={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},IPt={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"},kPt={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},SPt={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},RPt={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},MPt={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},BPt={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},DPt={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},PPt={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},LPt={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},FPt={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},NPt={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},OPt={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},UPt={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},HPt={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"},zPt={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},WPt={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"},qPt={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},jPt={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"},GPt={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"},KPt={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},QPt={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},VPt={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"},YPt={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},$Pt={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},JPt={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},XPt={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},ZPt={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},eLt={chain:"ETH",chainId:328527624,explorers:[{name:"Nal Sepolia Testnet Network Explorer",url:"https://testnet-scan.nal.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZLZHX18YUswejxo1JFNPx5EwMsVhUwBeBWEcd1JUHAK5",width:640,height:640,format:"png"},infoURL:"https://www.nal.network",name:"Nal Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:328527624,rpc:["https://328527624.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.nal.network"],shortName:"nalsep",slug:"nal-sepolia-testnet",testnet:!0},tLt={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"},nLt={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"},aLt={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},rLt={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"},fLt={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},iLt={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},sLt={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"},oLt={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},cLt={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"},dLt={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"},lLt={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"},Yse={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},uLt={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"},pLt={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},hLt={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},mLt={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"},bLt={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},yLt={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},gLt={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},vLt={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},wLt={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},TLt={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"},xLt={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},ELt={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},_Lt={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"},ALt={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},CLt={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},ILt={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},kLt={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},SLt={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},RLt={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},MLt={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},BLt={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},DLt={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},PLt={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},LLt={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},FLt={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},NLt={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},OLt={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},ULt={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},HLt={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},zLt={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},WLt={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},qLt={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},jLt={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},GLt={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"},KLt={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},QLt={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},VLt={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"},YLt={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},$Lt={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},JLt={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},XLt={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},ZLt={chain:"GM Network Testnet",chainId:202402181627,explorers:[{name:"gmnetwork-testnet",url:"https://gmnetwork-testnet-explorer.alt.technology",standard:"EIP3091"}],faucets:[],infoURL:"https://gmnetwork.ai",name:"GM Network Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:202402181627,rpc:["https://202402181627.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gmnetwork-testnet.alt.technology/"],shortName:"gmnetwork-testnet",slug:"gm-network-testnet",testnet:!0},eFt={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},tFt={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},nFt={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},aFt={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},rFt={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"},fFt={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"};r1=[M6,HHe,RW,BW,G7,MW,FHe,UHe,SW,DW,MHe,BHe,DHe,LHe,OHe,NHe,PHe],iFt=[M6,hst,mst,bst,yst,gst,vst,wst,Tst,SW,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,eot,tot,not,aot,rot,fot,iot,sot,oot,cot,dot,lot,uot,MHe,pot,hot,mot,bot,yot,got,vot,wot,Tot,xot,Eot,_ot,Aot,Cot,Iot,kot,Sot,Rot,Mot,Bot,Dot,Pot,Lot,Fot,Not,Oot,Uot,Hot,zot,Wot,qot,jot,Got,Kot,Qot,Vot,Yot,$ot,Jot,Xot,BHe,Zot,e1t,t1t,n1t,a1t,r1t,f1t,i1t,s1t,o1t,c1t,d1t,l1t,u1t,p1t,h1t,m1t,b1t,y1t,g1t,v1t,w1t,T1t,x1t,E1t,_1t,A1t,C1t,I1t,k1t,S1t,R1t,M1t,B1t,D1t,P1t,L1t,F1t,G7,N1t,O1t,U1t,H1t,z1t,W1t,q1t,qse,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,mct,bct,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,e6t,DHe,t6t,n6t,a6t,r6t,f6t,i6t,s6t,o6t,c6t,d6t,l6t,u6t,p6t,h6t,m6t,b6t,y6t,g6t,v6t,w6t,T6t,x6t,jse,E6t,_6t,A6t,C6t,I6t,k6t,S6t,R6t,M6t,B6t,D6t,P6t,L6t,Gse,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,m5t,b5t,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,mdt,bdt,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,mlt,blt,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,eut,tut,nut,aut,rut,fut,iut,sut,out,cut,dut,lut,uut,put,hut,mut,but,yut,gut,vut,Kse,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,e2t,t2t,n2t,PHe,a2t,r2t,f2t,i2t,s2t,o2t,c2t,d2t,l2t,u2t,p2t,h2t,m2t,b2t,y2t,g2t,v2t,w2t,T2t,x2t,E2t,_2t,A2t,C2t,I2t,k2t,S2t,R2t,M2t,B2t,D2t,P2t,L2t,F2t,N2t,O2t,U2t,H2t,z2t,W2t,q2t,j2t,G2t,K2t,Q2t,V2t,Y2t,$2t,J2t,X2t,Z2t,ept,tpt,npt,apt,rpt,fpt,ipt,spt,opt,cpt,dpt,lpt,upt,ppt,hpt,mpt,bpt,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,m8t,b8t,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,mht,bht,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,m3t,b3t,y3t,g3t,v3t,w3t,T3t,x3t,E3t,_3t,A3t,C3t,I3t,k3t,S3t,R3t,M3t,B3t,D3t,P3t,L3t,F3t,N3t,O3t,U3t,H3t,z3t,W3t,q3t,j3t,LHe,G3t,K3t,Q3t,V3t,Y3t,$3t,J3t,X3t,Z3t,emt,tmt,nmt,amt,rmt,fmt,imt,smt,omt,cmt,dmt,lmt,umt,pmt,hmt,mmt,bmt,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,mbt,bbt,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,e4t,t4t,n4t,a4t,r4t,f4t,i4t,s4t,o4t,c4t,d4t,l4t,u4t,p4t,h4t,m4t,b4t,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,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,myt,byt,RW,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,m7t,b7t,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,m9t,b9t,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,mgt,bgt,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,mvt,bvt,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,mwt,bwt,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,mTt,bTt,yTt,gTt,vTt,wTt,TTt,xTt,ETt,_Tt,ATt,CTt,ITt,kTt,STt,RTt,MTt,BTt,DTt,PTt,LTt,FTt,NTt,OTt,UTt,HTt,zTt,WTt,qTt,jTt,GTt,KTt,QTt,VTt,YTt,$Tt,JTt,XTt,ZTt,ext,txt,nxt,axt,rxt,fxt,ixt,sxt,oxt,FHe,cxt,JS,dxt,lxt,uxt,pxt,hxt,mxt,bxt,yxt,gxt,vxt,wxt,NHe,OHe,Txt,xxt,Ext,_xt,Axt,Cxt,Ixt,kxt,XS,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,mEt,bEt,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,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,m_t,b_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,Qse,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,mAt,bAt,yAt,gAt,vAt,wAt,TAt,xAt,EAt,_At,AAt,CAt,IAt,kAt,SAt,RAt,MAt,BAt,DAt,PAt,LAt,FAt,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,mCt,bCt,yCt,gCt,vCt,wCt,TCt,xCt,ECt,_Ct,ACt,CCt,ICt,kCt,SCt,RCt,MCt,BCt,DCt,PCt,LCt,FCt,MW,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,mIt,BW,bIt,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,mkt,bkt,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,mSt,bSt,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,uRt,pRt,hRt,mRt,bRt,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,mMt,bMt,yMt,gMt,UHe,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,mBt,bBt,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,eDt,tDt,nDt,aDt,rDt,fDt,iDt,sDt,oDt,cDt,dDt,lDt,uDt,pDt,hDt,mDt,bDt,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,Vse,VDt,YDt,$Dt,JDt,XDt,ZDt,ePt,tPt,nPt,aPt,rPt,fPt,HHe,DW,iPt,sPt,oPt,cPt,dPt,lPt,uPt,pPt,hPt,mPt,bPt,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,eLt,tLt,nLt,aLt,rLt,fLt,iLt,sLt,oLt,cLt,dLt,lLt,Yse,uLt,pLt,hLt,mLt,bLt,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,eFt,tFt,nFt,aFt,rFt,fFt]});function oFt(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 cFt(t){var e=oFt(t,"string");return typeof e=="symbol"?e:e+""}function Pe(t,e,n){return e=cFt(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ct=oe(()=>{"use strict";u();p()});function dFt(t){return t instanceof Uint8Array||t!=null&&typeof t=="object"&&t.constructor.name==="Uint8Array"}function $se(t,...e){if(!dFt(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 qHe(t,e){$se(t);let n=e.outputLen;if(t.length{u();p()});function lFt(t){if(typeof t!="string")throw new Error(`utf8ToBytes expected string, got ${typeof t}`);return new Uint8Array(new TextEncoder().encode(t))}function Zse(t){return typeof t=="string"&&(t=lFt(t)),$se(t),t}function jHe(t){let e=a=>t().update(Zse(a)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}var LW,xl,Wia,PW,qia,eoe=oe(()=>{u();p();Xse();LW=t=>new DataView(t.buffer,t.byteOffset,t.byteLength),xl=(t,e)=>t<<32-e|t>>>e,Wia=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;PW=class{clone(){return this._cloneInto()}},qia={}.toString});function uFt(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 GHe,KHe,FW,QHe=oe(()=>{u();p();Xse();eoe();GHe=(t,e,n)=>t&e^~t&n,KHe=(t,e,n)=>t&e^t&n^e&n,FW=class extends PW{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=LW(this.buffer)}update(e){Jse(this);let{view:n,buffer:a,blockLen:r}=this;e=Zse(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();QHe();eoe();pFt=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]),Am=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Cm=new Uint32Array(64),toe=class extends FW{constructor(){super(64,32,8,!1),this.A=Am[0]|0,this.B=Am[1]|0,this.C=Am[2]|0,this.D=Am[3]|0,this.E=Am[4]|0,this.F=Am[5]|0,this.G=Am[6]|0,this.H=Am[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)Cm[l]=e.getUint32(n,!1);for(let l=16;l<64;l++){let h=Cm[l-15],y=Cm[l-2],v=xl(h,7)^xl(h,18)^h>>>3,k=xl(y,17)^xl(y,19)^y>>>10;Cm[l]=k+Cm[l-7]+v+Cm[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=xl(s,6)^xl(s,11)^xl(s,25),y=d+h+GHe(s,o,c)+pFt[l]+Cm[l]|0,k=(xl(a,2)^xl(a,13)^xl(a,22))+KHe(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(){Cm.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},VHe=jHe(()=>new toe)});var $He=D((asa,NW)=>{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 x=="object"&&x.versions&&x.versions.node;f?a=global:r&&(a=self);for(var i=!a.JS_SHA3_NO_COMMON_JS&&typeof NW=="object"&&NW.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,me,ye,_e,ze,je,Ue,m0,h0,$e,M0,P0,t0,j0,z0,Ke,B0,K0,s0,J0,Y0,l0,Q0,et,p0,Z0,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,Q0=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,K0=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,et=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,Z0=Y[34]<<15|Y[35]>>>17,Et=Y[35]<<15|Y[34]>>>17,m0=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,J0=Y[8]<<27|Y[9]>>>5,Y0=Y[9]<<27|Y[8]>>>5,me=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^~me&_e,Y[11]=Ve^~ye&ze,Y[20]=$e^~P0&j0,Y[21]=M0^~t0&z0,Y[30]=J0^~l0&et,Y[31]=Y0^~Q0&p0,Y[40]=Pn^~Fn&On,Y[41]=Ln^~Nn&Ha,Y[2]=he^~Ce&Qe,Y[3]=Te^~Se&u0,Y[12]=me^~_e&je,Y[13]=ye^~ze&Ue,Y[22]=P0^~j0&Ke,Y[23]=t0^~z0&B0,Y[32]=l0^~et&Z0,Y[33]=Q0^~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&m0,Y[15]=ze^~Ue&h0,Y[24]=j0^~Ke&K0,Y[25]=z0^~B0&s0,Y[34]=et^~Z0&$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^~m0&w0,Y[17]=Ue^~h0&Ve,Y[26]=Ke^~K0&$e,Y[27]=B0^~s0&M0,Y[36]=Z0^~$0&J0,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]=m0^~w0&me,Y[19]=h0^~Ve&ye,Y[28]=K0^~$e&P0,Y[29]=s0^~M0&t0,Y[38]=$0^~J0&l0,Y[39]=Tt^~Y0&Q0,Y[48]=hr^~Pn&Fn,Y[49]=ar^~Ln&Nn,Y[0]^=k[ge],Y[1]^=k[ge+1]};if(i)NW.exports=g;else{for(M=0;Mr+f.length,0));let n=new Uint8Array(e),a=0;for(let r of t)soe(r),n.set(r,a),a+=r.length;return n}function TFt(t){if(typeof t!="string")throw new TypeError(`Expected \`string\`, got \`${typeof t}\``)}function xFt(t){return t.replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}function EFt(t){return t.replaceAll("-","+").replaceAll("_","/")}function AFt(t){let{urlSafe:e=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};soe(t);let n;if(t.length<_Ft)n=globalThis.btoa(String.fromCodePoint.apply(this,t));else{n="";for(let a of t)n+=String.fromCodePoint(a);n=globalThis.btoa(n)}return e?xFt(n):n}function tze(t){return TFt(t),Uint8Array.from(globalThis.atob(EFt(t)),e=>e.codePointAt(0))}function IFt(t){soe(t);let e="";for(let n=0;n3&&arguments[3]!==void 0?arguments[3]:{},i=await OW(),{key:s,iv:o}=await BFt(n,t,a,r,f);try{let c=await i.subtle.decrypt({name:"AES-CBC",iv:o},s,e);return eze().decode(c)}catch{throw new Error("Decrypt failed")}}function MFt(t){let e=null,n=tze(t),[a,r]=foe(n,kFt*4),f=new DataView(a.buffer);return f.getInt32(0)===1398893684&&f.getInt32(4)===1701076831&&([e,n]=foe(r,SFt*4)),{ciphertext:n,salt:e}}async function BFt(t,e,n,a,r){let f=await OW(),i=ioe().encode(t),s=DFt(i,e,n+a,r),[o,c]=foe(s,n*4);return{key:await f.subtle.importKey("raw",o,"AES-CBC",!1,["decrypt"]),iv:c}}function DFt(t,e,n,a){let r=new Uint8Array,f=new Uint8Array;for(;r.byteLength{"use strict";u();p();YHe();hFt=Ee($He()),noe=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 noe;JHe="input is invalid type",mFt="finalize already called",bFt=[128,32768,8388608,-2147483648];aoe=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(mFt);let[n,a]=yFt(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]|=bFt[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}};gFt=Object.prototype.toString,vFt="[object Uint8Array]";_Ft=65535;CFt=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));kFt=2,SFt=2});function d0(t,e){if(!t){if(FFt)throw new Error(ooe);var n=typeof e=="function"?e():e,a=n?"".concat(ooe,": ").concat(n):ooe;throw new Error(a)}}var FFt,ooe,ir=oe(()=>{u();p();FFt=x.env.NODE_ENV==="production",ooe="Invariant failed"});var fze=D((hsa,rze)=>{"use strict";u();p();function NFt(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}}rze.exports=NFt});var io=D((ysa,ize)=>{u();p();var OFt=fze(),UFt="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";ize.exports=OFt(UFt)});var oze,sze=oe(()=>{oze=[{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 coe,cze=oe(()=>{coe=[{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 lze,dze=oe(()=>{lze=[{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 doe,uze=oe(()=>{doe=[{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 loe,pze=oe(()=>{loe=[{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 K1=D((Asa,GFt)=>{GFt.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 mze,hze=oe(()=>{mze=[{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 uoe,bze=oe(()=>{uoe=[{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 zW,yze=oe(()=>{zW=[{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"}]});var vze,gze=oe(()=>{vze=[{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 poe=D((Rsa,$Ft)=>{$Ft.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 Tze,wze=oe(()=>{Tze=[{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"}]});var Eze,xze=oe(()=>{Eze=[{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 hoe,_ze=oe(()=>{hoe=[{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 Cze,Aze=oe(()=>{Cze=[{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 mx=D((Lsa,tNt)=>{tNt.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 kze,Ize=oe(()=>{kze=[{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 Rze,Sze=oe(()=>{Rze=[{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 Bze,Mze=oe(()=>{Bze=[{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var ZS,Dze=oe(()=>{ZS=[{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 moe,Pze=oe(()=>{moe=[{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 Fze,Lze=oe(()=>{Fze=[{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 Oze,Nze=oe(()=>{Oze=[{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 Hze,Uze=oe(()=>{Hze=[{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 Wze,zze=oe(()=>{Wze=[{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 jze,qze=oe(()=>{jze=[{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 Kze,Gze=oe(()=>{Kze=[{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 boe,Qze=oe(()=>{boe=[{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 yoe=D((Vsa,hNt)=>{hNt.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 Yze,Vze=oe(()=>{Yze=[{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 Jze,$ze=oe(()=>{Jze=[{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,Xze=oe(()=>{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 goe,eWe=oe(()=>{goe=[{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 nWe,tWe=oe(()=>{nWe=[{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 rWe,aWe=oe(()=>{rWe=[{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 bx=D((toa,TNt)=>{TNt.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 voe=D((noa,xNt)=>{xNt.exports=[{type:"function",name:"uri",inputs:[{name:"_id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}]});var iWe,fWe=oe(()=>{iWe=[{type:"function",name:"totalSupply",inputs:[{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var oWe,sWe=oe(()=>{oWe=[{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var woe,cWe=oe(()=>{woe=[{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 lWe,dWe=oe(()=>{lWe=[{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 pWe,uWe=oe(()=>{pWe=[{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"}]});var mWe,hWe=oe(()=>{mWe=[{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 yWe,bWe=oe(()=>{yWe=[{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 vWe,gWe=oe(()=>{vWe=[{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 TWe,wWe=oe(()=>{TWe=[{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 EWe,xWe=oe(()=>{EWe=[{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 WW,Toe=oe(()=>{WW=[{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 AWe,_We=oe(()=>{AWe=[{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 IWe,CWe=oe(()=>{IWe=[{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 SWe,kWe=oe(()=>{SWe=[{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 MWe,RWe=oe(()=>{MWe=[{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 DWe,BWe=oe(()=>{DWe=[{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 LWe,PWe=oe(()=>{LWe=[{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 NWe,FWe=oe(()=>{NWe=[{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 UWe,OWe=oe(()=>{UWe=[{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 zWe,HWe=oe(()=>{zWe=[{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 qWe,WWe=oe(()=>{qWe=[{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 GWe,jWe=oe(()=>{GWe=[{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 QWe,KWe=oe(()=>{QWe=[{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 YWe,VWe=oe(()=>{YWe=[{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 qW=D((Ioa,QNt)=>{QNt.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 xoe=D((koa,VNt)=>{VNt.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 Eoe=D((Soa,YNt)=>{YNt.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 eR=D((Roa,$Nt)=>{$Nt.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 JWe=D((Moa,$We)=>{"use strict";u();p();function JNt(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}}$We.exports=JNt});var jW=D((Poa,XWe)=>{"use strict";u();p();var XNt=new TextDecoder,ZNt=t=>XNt.decode(t),eOt=new TextEncoder,tOt=t=>eOt.encode(t);function nOt(t,e){let n=new Uint8Array(e),a=0;for(let r of t)n.set(r,a),a+=r.length;return n}XWe.exports={decodeText:ZNt,encodeText:tOt,concat:nOt}});var eqe=D((Noa,ZWe)=>{"use strict";u();p();var{encodeText:aOt}=jW(),_oe=class{constructor(e,n,a,r){this.name=e,this.code=n,this.codeBuf=aOt(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=_oe});var nqe=D((Hoa,tqe)=>{"use strict";u();p();var rOt=(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},fOt=(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 fOt(n,e,t)},decode(n){return rOt(n,e,t)}});tqe.exports={rfc4648:iOt}});var iqe=D((qoa,fqe)=>{"use strict";u();p();var tR=JWe(),sOt=eqe(),{rfc4648:so}=nqe(),{decodeText:oOt,encodeText:cOt}=jW(),dOt=()=>({encode:oOt,decode:cOt}),aqe=[["identity","\0",dOt,""],["base2","0",so(1),"01"],["base8","7",so(3),"01234567"],["base10","9",tR,"0123456789"],["base16","f",so(4),"0123456789abcdef"],["base16upper","F",so(4),"0123456789ABCDEF"],["base32hex","v",so(5),"0123456789abcdefghijklmnopqrstuv"],["base32hexupper","V",so(5),"0123456789ABCDEFGHIJKLMNOPQRSTUV"],["base32hexpad","t",so(5),"0123456789abcdefghijklmnopqrstuv="],["base32hexpadupper","T",so(5),"0123456789ABCDEFGHIJKLMNOPQRSTUV="],["base32","b",so(5),"abcdefghijklmnopqrstuvwxyz234567"],["base32upper","B",so(5),"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"],["base32pad","c",so(5),"abcdefghijklmnopqrstuvwxyz234567="],["base32padupper","C",so(5),"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567="],["base32z","h",so(5),"ybndrfg8ejkmcpqxot1uwisza345h769"],["base36","k",tR,"0123456789abcdefghijklmnopqrstuvwxyz"],["base36upper","K",tR,"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"],["base58btc","z",tR,"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"],["base58flickr","Z",tR,"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"],["base64","m",so(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"],["base64pad","M",so(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],["base64url","u",so(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"],["base64urlpad","U",so(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="]],rqe=aqe.reduce((t,e)=>(t[e[0]]=new sOt(e[0],e[1],e[2],e[3]),t),{}),lOt=aqe.reduce((t,e)=>(t[e[1]]=rqe[e[0]],t),{});fqe.exports={names:rqe,codes:lOt}});var nR=D((W8,oqe)=>{"use strict";u();p();var yx=iqe(),{encodeText:uOt,decodeText:GW,concat:sqe}=jW();function pOt(t,e){if(!e)throw new Error("requires an encoded Uint8Array");let{name:n,codeBuf:a}=K7(t);return yOt(n,e),sqe([a,e],a.length+e.length)}function hOt(t,e){let n=K7(t),a=uOt(n.encode(e));return sqe([n.codeBuf,a],n.codeBuf.length+a.length)}function mOt(t){t instanceof Uint8Array&&(t=GW(t));let e=t[0];return["f","F","v","V","t","T","b","B","c","C","h","k","K"].includes(e)&&(t=t.toLowerCase()),K7(t[0]).decode(t.substring(1))}function bOt(t){if(t instanceof Uint8Array&&(t=GW(t)),Object.prototype.toString.call(t)!=="[object String]")return!1;try{return K7(t[0]).name}catch{return!1}}function yOt(t,e){K7(t).decode(GW(e))}function K7(t){if(Object.prototype.hasOwnProperty.call(yx.names,t))return yx.names[t];if(Object.prototype.hasOwnProperty.call(yx.codes,t))return yx.codes[t];throw new Error(`Unsupported encoding: ${t}`)}function gOt(t){return t instanceof Uint8Array&&(t=GW(t)),K7(t[0])}W8=oqe.exports=pOt;W8.encode=hOt;W8.decode=mOt;W8.isEncoded=bOt;W8.encoding=K7;W8.encodingFromData=gOt;var vOt=Object.freeze(yx.names),wOt=Object.freeze(yx.codes);W8.names=vOt;W8.codes=wOt});var uqe=D((Voa,lqe)=>{u();p();lqe.exports=dqe;var cqe=128,TOt=127,xOt=~TOt,EOt=Math.pow(2,31);function dqe(t,e,n){e=e||[],n=n||0;for(var a=n;t>=EOt;)e[n++]=t&255|cqe,t/=128;for(;t&xOt;)e[n++]=t&255|cqe,t>>>=7;return e[n]=t|0,dqe.bytes=n-a+1,e}});var mqe=D((Joa,hqe)=>{u();p();hqe.exports=Aoe;var _Ot=128,pqe=127;function Aoe(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s)throw Aoe.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&pqe)<=_Ot);return Aoe.bytes=f-a,n}});var yqe=D((e1a,bqe)=>{u();p();var AOt=Math.pow(2,7),COt=Math.pow(2,14),IOt=Math.pow(2,21),kOt=Math.pow(2,28),SOt=Math.pow(2,35),ROt=Math.pow(2,42),MOt=Math.pow(2,49),BOt=Math.pow(2,56),DOt=Math.pow(2,63);bqe.exports=function(t){return t{u();p();gqe.exports={encode:uqe(),decode:mqe(),encodingLength:yqe()}});var Tqe=D((i1a,wqe)=>{"use strict";u();p();var POt=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});wqe.exports={names:POt}});var rR=D((c1a,Iqe)=>{"use strict";u();p();var xqe=nR(),gx=vqe(),{names:aR}=Tqe(),{toString:KW}=(ox(),vn(Gz)),{fromString:LOt}=(DS(),vn(cse)),{concat:FOt}=(ax(),vn(Lz)),vx={};for(let t in aR){let e=t;vx[aR[e]]=e}Object.freeze(vx);function NOt(t){if(!(t instanceof Uint8Array))throw new Error("must be passed a Uint8Array");return KW(t,"base16")}function OOt(t){return LOt(t,"base16")}function UOt(t){if(!(t instanceof Uint8Array))throw new Error("must be passed a Uint8Array");return KW(xqe.encode("base58btc",t)).slice(1)}function HOt(t){let e=t instanceof Uint8Array?KW(t):t;return xqe.decode("z"+e)}function Eqe(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=gx.decode(t);if(!Aqe(e))throw new Error(`multihash unknown function code: 0x${e.toString(16)}`);t=t.slice(gx.decode.bytes);let n=gx.decode(t);if(n<0)throw new Error(`multihash invalid length: ${n}`);if(t=t.slice(gx.decode.bytes),t.length!==n)throw new Error(`multihash length inconsistent: 0x${KW(t,"base16")}`);return{code:e,name:vx[e],length:n,digest:t}}function zOt(t,e,n){if(!t||e===void 0)throw new Error("multihash encode requires at least two args: digest, code");let a=_qe(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=gx.encode(a),f=gx.encode(n);return FOt([r,f,t],r.length+f.length+t.length)}function _qe(t){let e=t;if(typeof t=="string"){if(aR[t]===void 0)throw new Error(`Unrecognized hash function named: ${t}`);e=aR[t]}if(typeof e!="number")throw new Error(`Hash function code should be a number. Got: ${e}`);if(vx[e]===void 0&&!Coe(e))throw new Error(`Unrecognized function code: ${e}`);return e}function Coe(t){return t>0&&t<16}function Aqe(t){return!!(Coe(t)||vx[t])}function Cqe(t){Eqe(t)}function WOt(t){return Cqe(t),t.subarray(0,2)}Iqe.exports={names:aR,codes:vx,toHexString:NOt,fromHexString:OOt,toB58String:UOt,fromB58String:HOt,decode:Eqe,encode:zOt,coerceCode:_qe,isAppCode:Coe,validate:Cqe,prefix:WOt,isValidCode:Aqe}});var Rqe=D((u1a,Sqe)=>{u();p();Sqe.exports=Ioe;var kqe=128,qOt=127,jOt=~qOt,GOt=Math.pow(2,31);function Ioe(t,e,n){if(Number.MAX_SAFE_INTEGER&&t>Number.MAX_SAFE_INTEGER)throw Ioe.bytes=0,new RangeError("Could not encode varint");e=e||[],n=n||0;for(var a=n;t>=GOt;)e[n++]=t&255|kqe,t/=128;for(;t&jOt;)e[n++]=t&255|kqe,t>>>=7;return e[n]=t|0,Ioe.bytes=n-a+1,e}});var Dqe=D((m1a,Bqe)=>{u();p();Bqe.exports=koe;var KOt=128,Mqe=127;function koe(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s||r>49)throw koe.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&Mqe)<=KOt);return koe.bytes=f-a,n}});var Lqe=D((g1a,Pqe)=>{u();p();var QOt=Math.pow(2,7),VOt=Math.pow(2,14),YOt=Math.pow(2,21),$Ot=Math.pow(2,28),JOt=Math.pow(2,35),XOt=Math.pow(2,42),ZOt=Math.pow(2,49),eUt=Math.pow(2,56),tUt=Math.pow(2,63);Pqe.exports=function(t){return t{u();p();Fqe.exports={encode:Rqe(),decode:Dqe(),encodingLength:Lqe()}});var Roe=D((_1a,Uqe)=>{"use strict";u();p();var Nqe=Soe(),{toString:nUt}=(ox(),vn(Gz)),{fromString:aUt}=(DS(),vn(cse));Uqe.exports={numberToUint8Array:rUt,uint8ArrayToNumber:Oqe,varintUint8ArrayEncode:fUt,varintEncode:iUt};function Oqe(t){return parseInt(nUt(t,"base16"),16)}function rUt(t){let e=t.toString(16);return e.length%2===1&&(e="0"+e),aUt(e,"base16")}function fUt(t){return Uint8Array.from(Nqe.encode(Oqe(t)))}function iUt(t){return Uint8Array.from(Nqe.encode(t))}});var zqe=D((I1a,Hqe)=>{"use strict";u();p();var sUt=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});Hqe.exports={baseTable:sUt}});var qqe=D((R1a,Wqe)=>{"use strict";u();p();var{baseTable:Moe}=zqe(),oUt=Roe().varintEncode,Boe={},Doe={},QW={};for(let t in Moe){let e=t,n=Moe[e];Boe[e]=oUt(n);let a=e.toUpperCase().replace(/-/g,"_");Doe[a]=n,QW[n]||(QW[n]=e)}Object.freeze(Boe);Object.freeze(Doe);Object.freeze(QW);var cUt=Object.freeze(Moe);Wqe.exports={nameToVarint:Boe,constantToCode:Doe,nameToCode:cUt,codeToName:QW}});var Zqe=D((D1a,Xqe)=>{"use strict";u();p();var VW=Soe(),{concat:dUt}=(ax(),vn(Lz)),jqe=Roe(),{nameToVarint:YW,constantToCode:lUt,nameToCode:Gqe,codeToName:Poe}=qqe();function uUt(t,e){let n;if(t instanceof Uint8Array)n=jqe.varintUint8ArrayEncode(t);else if(YW[t])n=YW[t];else throw new Error("multicodec not recognized");return dUt([n,e],n.length+e.length)}function pUt(t){return VW.decode(t),t.slice(VW.decode.bytes)}function Kqe(t){let e=VW.decode(t),n=Poe[e];if(n===void 0)throw new Error(`Code "${e}" not found`);return n}function Qqe(t){return Poe[t]}function Vqe(t){let e=Gqe[t];if(e===void 0)throw new Error(`Codec "${t}" not found`);return e}function Yqe(t){return VW.decode(t)}function $qe(t){let e=YW[t];if(e===void 0)throw new Error(`Codec "${t}" not found`);return e}function Jqe(t){return jqe.varintEncode(t)}function hUt(t){return Kqe(t)}function mUt(t){return Qqe(t)}function bUt(t){return Vqe(t)}function yUt(t){return Yqe(t)}function gUt(t){return $qe(t)}function vUt(t){return Array.from(Jqe(t))}Xqe.exports={addPrefix:uUt,rmPrefix:pUt,getNameFromData:Kqe,getNameFromCode:Qqe,getCodeFromName:Vqe,getCodeFromData:Yqe,getVarintFromName:$qe,getVarintFromCode:Jqe,getCodec:hUt,getName:mUt,getNumber:bUt,getCode:yUt,getCodeVarint:gUt,getVarint:vUt,...lUt,nameToVarint:YW,nameToCode:Gqe,codeToName:Poe}});var tje=D((F1a,eje)=>{"use strict";u();p();var wUt=rR(),TUt={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{wUt.validate(t.multihash)}catch(e){let n=e.message;return n||(n="Multihash validation failed"),n}}};eje.exports=TUt});var aje={};G0(aje,{equals:()=>nje});function nje(t,e){if(t===e)return!0;if(t.byteLength!==e.byteLength)return!1;for(let n=0;n{u();p()});var ZW=D((z1a,ije)=>{"use strict";u();p();var $W=rR(),Foe=nR(),Q7=Zqe(),xUt=tje(),{concat:rje}=(ax(),vn(Lz)),{toString:EUt}=(ox(),vn(Gz)),{equals:_Ut}=(Loe(),vn(aje)),JW=Q7.nameToCode,AUt=Object.keys(JW).reduce((t,e)=>(t[JW[e]]=e,t),{}),fje=Symbol.for("@ipld/js-cid/CID"),XW=class t{constructor(e,n,a,r){if(this.version,this.codec,this.multihash,Object.defineProperty(this,fje,{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=Foe.isEncoded(e);if(f){let i=Foe.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=$W.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=AUt[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=rje([[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=$W.prefix(this.multihash);return rje([[this.version],e,n],1+e.byteLength+n.byteLength)}get code(){return JW[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}=$W.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=$W.toB58String(this.multihash)}else if(this.version===1)n=EUt(Foe.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&&_Ut(this.multihash,e.multihash)}static validateCID(e){let n=xUt.checkCIDComponents(e);if(n)throw new Error(n)}static isCID(e){return e instanceof t||!!(e&&e[fje])}};XW.codecs=JW;ije.exports=XW});var Noe=D((G1a,oje)=>{u();p();function sje(t){if(t.stack&&t.name&&t.message)return t.stack.substring(t.name.length+3+t.message.length).split(` +`});var lOe=oe(()=>{u();p();dOe();Nz();hm();nse();MS()});var uOe={};G0(uOe,{CID:()=>DS,bases:()=>qz,bytes:()=>Fz,codecs:()=>crt,digest:()=>z7,hasher:()=>Hz,hashes:()=>ort,varint:()=>cx});var qz,ort,crt,sse=oe(()=>{u();p();WNe();qNe();jNe();GNe();KNe();Qie();QNe();$ie();VNe();$Ne();nOe();fOe();iOe();sOe();lOe();qz={...zie,...Wie,...qie,...jie,...Gie,...Kie,...Vie,...Yie,...Jie,...Xie},ort={...ase,...rse},crt={raw:fse,json:ise}});function hOe(t,e,n,a){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:a}}}var pOe,ose,drt,jz,cse=oe(()=>{u();p();sse();Pz();pOe=hOe("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),ose=hOe("ascii","a",t=>{let e="a";for(let n=0;n{t=t.substring(1);let e=SS(t.length);for(let n=0;nBi});function Bi(t,e="utf8"){let n=jz[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 dx=oe(()=>{u();p();cse()});var dse={};G0(dse,{fromString:()=>As});function As(t,e="utf8"){let n=jz[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?F7(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}var PS=oe(()=>{u();p();cse();kS()});function Kz(t){return Bi(As(q1(t),MNe),Bie)}function Qz(t){let e=As(NNe,Die),n=FNe+Bi(N7([e,t]),Die);return[PNe,LNe,n].join(DNe)}function lrt(t){return Bi(t,Bie)}function mOe(t){return As([Kz(t.header),Kz(t.payload)].join(Mie),BNe)}function bOe(t){return[Kz(t.header),Kz(t.payload),lrt(t.signature)].join(Mie)}var lse=oe(()=>{u();p();fx();dx();PS();S7();Dz()});function use(t=(0,yOe.randomBytes)(32)){return LS.generateKeyPairFromSeed(t)}async function vOe(t,e,n,a,r=(0,gOe.fromMiliseconds)(Date.now())){let f={alg:SNe,typ:RNe},i=Qz(a.publicKey),s=r+n,o={iss:i,sub:t,aud:e,iat:r,exp:s},c=mOe({header:f,payload:o}),d=LS.sign(a.secretKey,c);return bOe({header:f,payload:o,signature:d})}var LS,yOe,gOe,wOe=oe(()=>{u();p();LS=Ee(kNe()),yOe=Ee(AS()),gOe=Ee(R7());Dz();lse()});var TOe=oe(()=>{u();p()});var xOe=oe(()=>{u();p();wOe();Dz();TOe();lse()});function Vz(t){return t?COe(t):typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new grt:typeof navigator<"u"?COe(navigator.userAgent):_rt()}function xrt(t){return t!==""&&Trt.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 COe(t){var e=xrt(t);if(!e)return null;var n=e[0],a=e[1];if(n==="searchbot")return new yrt;var r=a[1]&&a[1].split(".").join("_").split("_").slice(0,3);r?r.length<_Oe&&(r=EOe(EOe([],r,!0),Art(_Oe-r.length),!0)):r=[];var f=r.join("."),i=Ert(t),s=wrt.exec(t);return s&&s[1]?new brt(n,f,i,s[1]):new hrt(n,f,i)}function Ert(t){for(var e=0,n=AOe.length;e{u();p();EOe=function(t,e,n){if(n||arguments.length===2)for(var a=0,r=e.length,f;a{"use strict";u();p();Object.defineProperty(zr,"__esModule",{value:!0});zr.getLocalStorage=zr.getLocalStorageOrThrow=zr.getCrypto=zr.getCryptoOrThrow=zr.getLocation=zr.getLocationOrThrow=zr.getNavigator=zr.getNavigatorOrThrow=zr.getDocument=zr.getDocumentOrThrow=zr.getFromWindowOrThrow=zr.getFromWindow=void 0;function W7(t){let e;return typeof window<"u"&&typeof window[t]<"u"&&(e=window[t]),e}zr.getFromWindow=W7;function lx(t){let e=W7(t);if(!e)throw new Error(`${t} is not defined in Window`);return e}zr.getFromWindowOrThrow=lx;function Crt(){return lx("document")}zr.getDocumentOrThrow=Crt;function Irt(){return W7("document")}zr.getDocument=Irt;function krt(){return lx("navigator")}zr.getNavigatorOrThrow=krt;function Srt(){return W7("navigator")}zr.getNavigator=Srt;function Rrt(){return lx("location")}zr.getLocationOrThrow=Rrt;function Mrt(){return W7("location")}zr.getLocation=Mrt;function Brt(){return lx("crypto")}zr.getCryptoOrThrow=Brt;function Drt(){return W7("crypto")}zr.getCrypto=Drt;function Prt(){return lx("localStorage")}zr.getLocalStorageOrThrow=Prt;function Lrt(){return W7("localStorage")}zr.getLocalStorage=Lrt});var kOe=D(Yz=>{"use strict";u();p();Object.defineProperty(Yz,"__esModule",{value:!0});Yz.getWindowMetadata=void 0;var IOe=hse();function Frt(){let t,e;try{t=IOe.getDocumentOrThrow(),e=IOe.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}}Yz.getWindowMetadata=Frt});var ROe=D((Era,SOe)=>{"use strict";u();p();SOe.exports=t=>encodeURIComponent(t).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)});var LOe=D((Cra,POe)=>{"use strict";u();p();var DOe="%[a-f0-9]{2}",MOe=new RegExp("("+DOe+")|([^%]+?)","gi"),BOe=new RegExp("("+DOe+")+","gi");function mse(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([],mse(n),mse(a))}function Nrt(t){try{return decodeURIComponent(t)}catch{for(var e=t.match(MOe)||[],n=1;n{"use strict";u();p();FOe.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 UOe=D((Bra,OOe)=>{"use strict";u();p();OOe.exports=function(t,e){for(var n={},a=Object.keys(t),r=Array.isArray(e),f=0;f{"use strict";u();p();var Urt=ROe(),Hrt=LOe(),zOe=NOe(),zrt=UOe(),Wrt=t=>t==null,bse=Symbol("encodeFragmentIdentifier");function qrt(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,[yi(e,t),"[",r,"]"].join("")]:[...n,[yi(e,t),"[",yi(r,t),"]=",yi(a,t)].join("")]};case"bracket":return e=>(n,a)=>a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,[yi(e,t),"[]"].join("")]:[...n,[yi(e,t),"[]=",yi(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,[yi(e,t),":list="].join("")]:[...n,[yi(e,t),":list=",yi(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?[[yi(n,t),e,yi(r,t)].join("")]:[[a,yi(r,t)].join(t.arrayFormatSeparator)])}default:return e=>(n,a)=>a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,yi(e,t)]:[...n,[yi(e,t),"=",yi(a,t)].join("")]}}function jrt(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&&D8(a,t).includes(t.arrayFormatSeparator);a=i?D8(a,t):a;let s=f||i?a.split(t.arrayFormatSeparator).map(o=>D8(o,t)):a===null?a:D8(a,t);r[n]=s};case"bracket-separator":return(n,a,r)=>{let f=/(\[\])$/.test(n);if(n=n.replace(/\[\]$/,""),!f){r[n]=a&&D8(a,t);return}let i=a===null?[]:a.split(t.arrayFormatSeparator).map(s=>D8(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 WOe(t){if(typeof t!="string"||t.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function yi(t,e){return e.encode?e.strict?Urt(t):encodeURIComponent(t):t}function D8(t,e){return e.decode?Hrt(t):t}function qOe(t){return Array.isArray(t)?t.sort():typeof t=="object"?qOe(Object.keys(t)).sort((e,n)=>Number(e)-Number(n)).map(e=>t[e]):t}function jOe(t){let e=t.indexOf("#");return e!==-1&&(t=t.slice(0,e)),t}function Grt(t){let e="",n=t.indexOf("#");return n!==-1&&(e=t.slice(n)),e}function GOe(t){t=jOe(t);let e=t.indexOf("?");return e===-1?"":t.slice(e+1)}function HOe(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 KOe(t,e){e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e),WOe(e.arrayFormatSeparator);let n=jrt(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]=zOe(e.decode?r.replace(/\+/g," "):r,"=");i=i===void 0?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?i:D8(i,e),n(D8(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]=HOe(f[i],e);else a[r]=HOe(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]=qOe(i):r[f]=i,r},Object.create(null))}Uc.extract=GOe;Uc.parse=KOe;Uc.stringify=(t,e)=>{if(!t)return"";e=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},e),WOe(e.arrayFormatSeparator);let n=i=>e.skipNull&&Wrt(t[i])||e.skipEmptyString&&t[i]==="",a=qrt(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?yi(i,e):Array.isArray(s)?s.length===0&&e.arrayFormat==="bracket-separator"?yi(i,e)+"[]":s.reduce(a(i),[]).join("&"):yi(i,e)+"="+yi(s,e)}).filter(i=>i.length>0).join("&")};Uc.parseUrl=(t,e)=>{e=Object.assign({decode:!0},e);let[n,a]=zOe(t,"#");return Object.assign({url:n.split("?")[0]||"",query:KOe(GOe(t),e)},e&&e.parseFragmentIdentifier&&a?{fragmentIdentifier:D8(a,e)}:{})};Uc.stringifyUrl=(t,e)=>{e=Object.assign({encode:!0,strict:!0,[bse]:!0},e);let n=jOe(t.url).split("?")[0]||"",a=Uc.extract(t.url),r=Uc.parse(a,{sort:!1}),f=Object.assign(r,t.query),i=Uc.stringify(f,e);i&&(i=`?${i}`);let s=Grt(t.url);return t.fragmentIdentifier&&(s=`#${e[bse]?yi(t.fragmentIdentifier,e):t.fragmentIdentifier}`),`${n}${i}${s}`};Uc.pick=(t,e,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[bse]:!1},n);let{url:a,query:r,fragmentIdentifier:f}=Uc.parseUrl(t,n);return Uc.stringifyUrl({url:a,query:zrt(r,e),fragmentIdentifier:f},n)};Uc.exclude=(t,e,n)=>{let a=Array.isArray(e)?r=>!e.includes(r):(r,f)=>!e(r,f);return Uc.pick(t,a,n)}});var YOe=D($z=>{"use strict";u();p();Object.defineProperty($z,"__esModule",{value:!0});var t1=tx(),yse=V5(),Krt=20;function Qrt(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,b=v,A=k,P=O,L=F,E=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,E^=V,E=E>>>16|E<<16,b=b+E|0,R^=b,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,E^=V,E=E>>>24|E<<8,b=b+E|0,R^=b,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,E^=W,E=E>>>16|E<<16,w=w+E|0,K^=w,K=K>>>20|K<<12,j=j+G|0,A^=j,A=A>>>16|A<<16,b=b+A|0,G^=b,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,b=b+A|0,G^=b,G=G>>>25|G<<7,W=W+K|0,E^=W,E=E>>>24|E<<8,w=w+E|0,K^=w,K=K>>>25|K<<7;t1.writeUint32LE(W+a|0,t,0),t1.writeUint32LE(j+r|0,t,4),t1.writeUint32LE(Q+f|0,t,8),t1.writeUint32LE(V+i|0,t,12),t1.writeUint32LE(X+s|0,t,16),t1.writeUint32LE(K+o|0,t,20),t1.writeUint32LE(G+c|0,t,24),t1.writeUint32LE(R+d|0,t,28),t1.writeUint32LE(T+l|0,t,32),t1.writeUint32LE(N+h|0,t,36),t1.writeUint32LE(w+y|0,t,40),t1.writeUint32LE(b+v|0,t,44),t1.writeUint32LE(A+k|0,t,48),t1.writeUint32LE(P+O|0,t,52),t1.writeUint32LE(L+F|0,t,56),t1.writeUint32LE(E+z|0,t,60)}function VOe(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 Jz=D(ux=>{"use strict";u();p();Object.defineProperty(ux,"__esModule",{value:!0});function $rt(t,e,n){return~(t-1)&e|t-1&n}ux.select=$rt;function Jrt(t,e){return(t|0)-(e|0)-1>>>31&1}ux.lessOrEqual=Jrt;function $Oe(t,e){if(t.length!==e.length)return 0;for(var n=0,a=0;a>>8}ux.compare=$Oe;function Xrt(t,e){return t.length===0||e.length===0?!1:$Oe(t,e)!==0}ux.equal=Xrt});var XOe=D(P8=>{"use strict";u();p();Object.defineProperty(P8,"__esModule",{value:!0});var Zrt=Jz(),Xz=V5();P8.DIGEST_LENGTH=16;var JOe=function(){function t(e){this.digestLength=P8.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 b=e[n+10]|e[n+11]<<8;l+=(w>>>14|b<<2)&8191;var A=e[n+12]|e[n+13]<<8;h+=(b>>>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,E=L;E+=f*k,E+=i*(5*K),E+=s*(5*X),E+=o*(5*V),E+=c*(5*Q),L=E>>>13,E&=8191,E+=d*(5*j),E+=l*(5*W),E+=h*(5*z),E+=y*(5*F),E+=v*(5*O),L+=E>>>13,E&=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+E|0,E=L&8191,L=L>>>13,g+=L,f=E,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(L8,"__esModule",{value:!0});var Zz=YOe(),nft=XOe(),FS=V5(),ZOe=tx(),aft=Jz();L8.KEY_LENGTH=32;L8.NONCE_LENGTH=12;L8.TAG_LENGTH=16;var eUe=new Uint8Array(16),rft=function(){function t(e){if(this.nonceLength=L8.NONCE_LENGTH,this.tagLength=L8.TAG_LENGTH,e.length!==L8.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);Zz.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 Zz.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),FS.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(eUe.subarray(r.length%16))),f.update(a),a.length%16>0&&f.update(eUe.subarray(a.length%16));var i=new Uint8Array(8);r&&ZOe.writeUint64LE(r.length,i),f.update(i),ZOe.writeUint64LE(a.length,i),f.update(i);for(var s=f.digest(),o=0;o{"use strict";u();p();Object.defineProperty(gse,"__esModule",{value:!0});function fft(t){return typeof t.saveState<"u"&&typeof t.restoreState<"u"&&typeof t.cleanSavedState<"u"}gse.isSerializableHash=fft});var rUe=D(NS=>{"use strict";u();p();Object.defineProperty(NS,"__esModule",{value:!0});var n2=nUe(),ift=Jz(),sft=V5(),aUe=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(vse,"__esModule",{value:!0});var fUe=rUe(),iUe=V5(),cft=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=fUe.hmac(this._hash,a,n);this._hmac=new fUe.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(ym,"__esModule",{value:!0});var tW=tx(),eW=V5();ym.DIGEST_LENGTH=32;ym.BLOCK_SIZE=64;var oUe=function(){function t(){this.digestLength=ym.DIGEST_LENGTH,this.blockSize=ym.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(){eW.wipe(this._buffer),eW.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&&(wse(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(n>=this.blockSize&&(a=wse(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){eW.wipe(e.state),e.buffer&&eW.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},t}();ym.SHA256=oUe;var dft=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 wse(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]=tW.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+(dft[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 lft(t){var e=new oUe;e.update(t);var n=e.digest();return e.clean(),n}ym.hash=lft});var pUe=D(ei=>{"use strict";u();p();Object.defineProperty(ei,"__esModule",{value:!0});ei.sharedKey=ei.generateKeyPair=ei.generateKeyPairFromSeed=ei.scalarMultBase=ei.scalarMult=ei.SHARED_KEY_LENGTH=ei.SECRET_KEY_LENGTH=ei.PUBLIC_KEY_LENGTH=void 0;var uft=AS(),pft=V5();ei.PUBLIC_KEY_LENGTH=32;ei.SECRET_KEY_LENGTH=32;ei.SHARED_KEY_LENGTH=32;function a2(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,OS(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 bft(t,e){for(let n=0;n<16;n++)t[n]=e[2*n]+(e[2*n+1]<<8);t[15]&=32767}function nW(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]+n[a]}function aW(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]-n[a]}function F8(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,b=0,A=0,P=0,L=0,E=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,b+=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,b+=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,b+=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,b+=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,b+=a*re,A+=a*ie,P+=a*ge,L+=a*de,E+=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,b+=a*Y,A+=a*re,P+=a*ie,L+=a*ge,E+=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*b,k+=38*A,O+=38*P,F+=38*L,z+=38*E,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 US(t,e){F8(t,e,e)}function yft(t,e){let n=a2();for(let a=0;a<16;a++)n[a]=e[a];for(let a=253;a>=0;a--)US(n,n),a!==2&&a!==4&&F8(n,n,e);for(let a=0;a<16;a++)t[a]=n[a]}function xse(t,e){let n=new Uint8Array(32),a=new Float64Array(80),r=a2(),f=a2(),i=a2(),s=a2(),o=a2(),c=a2();for(let y=0;y<31;y++)n[y]=t[y];n[31]=t[31]&127|64,n[0]&=248,bft(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;OS(r,f,v),OS(i,s,v),nW(o,r,i),aW(r,r,i),nW(i,f,s),aW(f,f,s),US(s,o),US(c,r),F8(r,i,r),F8(i,f,o),nW(o,r,i),aW(r,r,i),US(f,r),aW(i,s,c),F8(r,i,hft),nW(r,r,s),F8(i,i,r),F8(r,s,c),F8(s,f,a),US(f,o),OS(r,f,v),OS(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);yft(d,d),F8(l,l,d);let h=new Uint8Array(32);return mft(h,l),h}ei.scalarMult=xse;function lUe(t){return xse(t,dUe)}ei.scalarMultBase=lUe;function uUe(t){if(t.length!==ei.SECRET_KEY_LENGTH)throw new Error(`x25519: seed must be ${ei.SECRET_KEY_LENGTH} bytes`);let e=new Uint8Array(t);return{publicKey:lUe(e),secretKey:e}}ei.generateKeyPairFromSeed=uUe;function gft(t){let e=(0,uft.randomBytes)(32,t),n=uUe(e);return(0,pft.wipe)(e),n}ei.generateKeyPair=gft;function vft(t,e,n=!1){if(t.length!==ei.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect secret key length");if(e.length!==ei.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect public key length");let a=xse(t,e);if(n){let r=0;for(let f=0;f{u();p();hUe={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 bUe,yUe,gUe,vUe,rW,HS,Ese,fW,gm,zS,iW=oe(()=>{u();p();bUe="PARSE_ERROR",yUe="INVALID_REQUEST",gUe="METHOD_NOT_FOUND",vUe="INVALID_PARAMS",rW="INTERNAL_ERROR",HS="SERVER_ERROR",Ese=[-32700,-32600,-32601,-32602,-32603],fW=[-32e3,-32099],gm={[bUe]:{code:-32700,message:"Parse error"},[yUe]:{code:-32600,message:"Invalid Request"},[gUe]:{code:-32601,message:"Method not found"},[vUe]:{code:-32602,message:"Invalid params"},[rW]:{code:-32603,message:"Internal error"},[HS]:{code:-32e3,message:"Server error"}},zS=HS});function wft(t){return t<=fW[0]&&t>=fW[1]}function sW(t){return Ese.includes(t)}function wUe(t){return typeof t=="number"}function oW(t){return Object.keys(gm).includes(t)?gm[t]:gm[zS]}function cW(t){let e=Object.values(gm).find(n=>n.code===t);return e||gm[zS]}function Tft(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(!wUe(t.error.code))return{valid:!1,error:`Invalid error code type for JSON-RPC: ${t.error.code}`};if(sW(t.error.code)){let e=cW(t.error.code);if(e.message!==gm[zS].message&&t.error.message===e.message)return{valid:!1,error:`Invalid error code message for JSON-RPC: ${t.error.code}`}}return{valid:!0}}function WS(t,e,n){return t.message.includes("getaddrinfo ENOTFOUND")||t.message.includes("connect ECONNREFUSED")?new Error(`Unavailable ${n} RPC url at ${e}`):t}var _se=oe(()=>{u();p();iW()});var xUe=D(vm=>{"use strict";u();p();Object.defineProperty(vm,"__esModule",{value:!0});vm.isBrowserCryptoAvailable=vm.getSubtleCrypto=vm.getBrowerCrypto=void 0;function Ase(){return(global===null||global===void 0?void 0:global.crypto)||(global===null||global===void 0?void 0:global.msCrypto)||{}}vm.getBrowerCrypto=Ase;function TUe(){let t=Ase();return t.subtle||t.webkitSubtle}vm.getSubtleCrypto=TUe;function xft(){return!!Ase()&&!!TUe()}vm.isBrowserCryptoAvailable=xft});var AUe=D(wm=>{"use strict";u();p();Object.defineProperty(wm,"__esModule",{value:!0});wm.isBrowser=wm.isNode=wm.isReactNative=void 0;function EUe(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}wm.isReactNative=EUe;function _Ue(){return typeof x<"u"&&typeof x.versions<"u"&&typeof x.versions.node<"u"}wm.isNode=_Ue;function Eft(){return!EUe()&&!_Ue()}wm.isBrowser=Eft});var Cse=D(dW=>{"use strict";u();p();Object.defineProperty(dW,"__esModule",{value:!0});var CUe=(Xu(),vn(Ju));CUe.__exportStar(xUe(),dW);CUe.__exportStar(AUe(),dW)});var Di={};G0(Di,{isNodeJs:()=>kUe});var IUe,kUe,SUe=oe(()=>{u();p();IUe=Ee(Cse());$i(Di,Ee(Cse()));kUe=IUe.isNode});function r2(t=3){let e=Date.now()*Math.pow(10,t),n=Math.floor(Math.random()*Math.pow(10,t));return e+n}function wl(t=6){return BigInt(r2(t))}function f2(t,e,n){return{id:n||r2(),jsonrpc:"2.0",method:t,params:e}}function N8(t,e){return{id:t,jsonrpc:"2.0",result:e}}function O8(t,e,n){return{id:t,jsonrpc:"2.0",error:RUe(e,n)}}function RUe(t,e){return typeof t>"u"?oW(rW):(typeof t=="string"&&(t=Object.assign(Object.assign({},oW(HS)),{message:t})),typeof e<"u"&&(t.data=e),sW(t.code)&&(t=cW(t.code)),t)}var MUe=oe(()=>{u();p();_se();iW()});function _ft(t){return t.includes("*")?uW(t):!/\W/g.test(t)}function lW(t){return t==="*"}function uW(t){return lW(t)?!0:!(!t.includes("*")||t.split("*").length!==2||t.split("*").filter(e=>e.trim()==="").length!==1)}function Aft(t){return!lW(t)&&uW(t)&&!t.split("*")[0].trim()}function Cft(t){return!lW(t)&&uW(t)&&!t.split("*")[1].trim()}var BUe=oe(()=>{u();p()});var qS,Ise,pW,jS,DUe=oe(()=>{u();p();qS=class{},Ise=class extends qS{constructor(e){super()}},pW=class extends qS{constructor(){super()}},jS=class extends pW{constructor(e){super()}}});var PUe=oe(()=>{u();p();DUe()});function Sft(t){let e=t.match(new RegExp(/^\w+:/,"gi"));if(!(!e||!e.length))return e[0]}function LUe(t,e){let n=Sft(t);return typeof n>"u"?!1:new RegExp(e).test(n)}function hW(t){return LUe(t,Ift)}function mW(t){return LUe(t,kft)}function kse(t){return new RegExp("wss?://localhost(:d{2,5})?").test(t)}var Ift,kft,FUe=oe(()=>{u();p();Ift="^https?:",kft="^wss?:"});function Sse(t){return typeof t=="object"&&"id"in t&&"jsonrpc"in t&&t.jsonrpc==="2.0"}function px(t){return Sse(t)&&"method"in t}function Tm(t){return Sse(t)&&(S6(t)||n1(t))}function S6(t){return"result"in t}function n1(t){return"error"in t}function Rft(t){return"error"in t&&t.valid===!1}var NUe=oe(()=>{u();p()});var j1={};G0(j1,{DEFAULT_ERROR:()=>zS,IBaseJsonRpcProvider:()=>pW,IEvents:()=>qS,IJsonRpcConnection:()=>Ise,IJsonRpcProvider:()=>jS,INTERNAL_ERROR:()=>rW,INVALID_PARAMS:()=>vUe,INVALID_REQUEST:()=>yUe,METHOD_NOT_FOUND:()=>gUe,PARSE_ERROR:()=>bUe,RESERVED_ERROR_CODES:()=>Ese,SERVER_ERROR:()=>HS,SERVER_ERROR_CODE_RANGE:()=>fW,STANDARD_ERROR_MAP:()=>gm,formatErrorMessage:()=>RUe,formatJsonRpcError:()=>O8,formatJsonRpcRequest:()=>f2,formatJsonRpcResult:()=>N8,getBigIntRpcId:()=>wl,getError:()=>oW,getErrorByCode:()=>cW,isHttpUrl:()=>hW,isJsonRpcError:()=>n1,isJsonRpcPayload:()=>Sse,isJsonRpcRequest:()=>px,isJsonRpcResponse:()=>Tm,isJsonRpcResult:()=>S6,isJsonRpcValidationInvalid:()=>Rft,isLocalhostUrl:()=>kse,isNodeJs:()=>kUe,isReservedErrorCode:()=>sW,isServerErrorCode:()=>wft,isValidDefaultRoute:()=>lW,isValidErrorCode:()=>wUe,isValidLeadingWildcardRoute:()=>Aft,isValidRoute:()=>_ft,isValidTrailingWildcardRoute:()=>Cft,isValidWildcardRoute:()=>uW,isWsUrl:()=>mW,parseConnectionError:()=>WS,payloadId:()=>r2,validateJsonRpcError:()=>Tft});var xm=oe(()=>{u();p();iW();_se();SUe();$i(j1,Di);MUe();BUe();PUe();FUe();NUe()});var UUe=D((dia,OUe)=>{"use strict";u();p();OUe.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}});var WUe,Mft,Bft,HUe,zUe,Dft,bW,qUe=oe(()=>{u();p();WUe=Ee(Or());S7();xm();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:UUe(),Bft=()=>typeof WebSocket<"u"||typeof global<"u"&&typeof global.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u",HUe=t=>t.split("?")[0],zUe=10,Dft=Mft(),bW=class{constructor(e){if(this.url=e,this.events=new WUe.EventEmitter,this.registering=!1,!mW(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(q1(e))}catch(n){this.onError(e.id,n)}}register(e=this.url){if(!mW(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,j1.isReactNative)()?{headers:{origin:r}}:{rejectUnauthorized:!kse(e)},i=new Dft(e,[],f);Bft()?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"?$u(e.data):e.data;this.events.emit("payload",n)}onError(e,n){let a=this.parseError(n),r=a.message||a.toString(),f=O8(e,r);this.events.emit("payload",f)}parseError(e,n=this.url){return WS(e,HUe(n),"WS")}resetMaxListeners(){this.events.getMaxListeners()>zUe&&this.events.setMaxListeners(zUe)}emitError(e){let n=this.parseError(new Error(e?.message||`WebSocket connection failed for host: ${HUe(this.url)}`));return this.events.emit("register_error",n),n}}});var _He=D((GS,mx)=>{u();p();var Pft=200,Hse="__lodash_hash_undefined__",_W=1,tHe=2,nHe=9007199254740991,yW="[object Arguments]",Dse="[object Array]",Lft="[object AsyncFunction]",aHe="[object Boolean]",rHe="[object Date]",fHe="[object Error]",iHe="[object Function]",Fft="[object GeneratorFunction]",gW="[object Map]",sHe="[object Number]",Nft="[object Null]",hx="[object Object]",jUe="[object Promise]",Oft="[object Proxy]",oHe="[object RegExp]",vW="[object Set]",cHe="[object String]",Uft="[object Symbol]",Hft="[object Undefined]",Pse="[object WeakMap]",dHe="[object ArrayBuffer]",wW="[object DataView]",zft="[object Float32Array]",Wft="[object Float64Array]",qft="[object Int8Array]",jft="[object Int16Array]",Gft="[object Int32Array]",Kft="[object Uint8Array]",Qft="[object Uint8ClampedArray]",Vft="[object Uint16Array]",Yft="[object Uint32Array]",$ft=/[\\^$.*+?()[\]{}|]/g,Jft=/^\[object .+?Constructor\]$/,Xft=/^(?:0|[1-9]\d*)$/,tf={};tf[zft]=tf[Wft]=tf[qft]=tf[jft]=tf[Gft]=tf[Kft]=tf[Qft]=tf[Vft]=tf[Yft]=!0;tf[yW]=tf[Dse]=tf[dHe]=tf[aHe]=tf[wW]=tf[rHe]=tf[fHe]=tf[iHe]=tf[gW]=tf[sHe]=tf[hx]=tf[oHe]=tf[vW]=tf[cHe]=tf[Pse]=!1;var lHe=typeof global=="object"&&global&&global.Object===Object&&global,Zft=typeof self=="object"&&self&&self.Object===Object&&self,U8=lHe||Zft||Function("return this")(),uHe=typeof GS=="object"&&GS&&!GS.nodeType&&GS,GUe=uHe&&typeof mx=="object"&&mx&&!mx.nodeType&&mx,pHe=GUe&&GUe.exports===uHe,Rse=pHe&&lHe.process,KUe=function(){try{return Rse&&Rse.binding&&Rse.binding("util")}catch{}}(),QUe=KUe&&KUe.isTypedArray;function eit(t,e){for(var n=-1,a=t==null?0:t.length,r=0,f=[];++n-1}function Rit(t,e){var n=this.__data__,a=CW(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this}H8.prototype.clear=Cit;H8.prototype.delete=Iit;H8.prototype.get=kit;H8.prototype.has=Sit;H8.prototype.set=Rit;function G7(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&tHe?new xW:void 0;for(f.set(t,e),f.set(e,t);++d-1&&t%1==0&&t-1&&t%1==0&&t<=nHe}function xHe(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function VS(t){return t!=null&&typeof t=="object"}var EHe=QUe?rit(QUe):Qit;function sst(t){return fst(t)?qit(t):Vit(t)}function ost(){return[]}function cst(){return!1}mx.exports=ist});var zse=D((wia,AHe)=>{u();p();AHe.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 IHe=D((Eia,CHe)=>{u();p();CHe.exports=self.fetch||(self.fetch=zse().default||zse())});var qse=D((Cia,Wse)=>{"use strict";u();p();var dst=Object.prototype.hasOwnProperty,G1="~";function $S(){}Object.create&&($S.prototype=Object.create(null),new $S().__proto__||(G1=!1));function lst(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function kHe(t,e,n,a,r){if(typeof n!="function")throw new TypeError("The listener must be a function");var f=new lst(n,a||t,r),i=G1?G1+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 kW(t,e){--t._eventsCount===0?t._events=new $S:delete t._events[e]}function a1(){this._events=new $S,this._eventsCount=0}a1.prototype.eventNames=function(){var e=[],n,a;if(this._eventsCount===0)return e;for(a in n=this._events)dst.call(n,a)&&e.push(G1?a.slice(1):a);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(n)):e};a1.prototype.listeners=function(e){var n=G1?G1+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();SHe=Ee(qse(),1),R6=SHe.default});function Tl(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 z8(t,e){try{return{...t,rpc:Tl(t,e)}}catch{return t}}function HHe(){return JS||(JS={},cFt.forEach(t=>{JS[t.chainId]=t}),JS)}function dFt(t){let e=HHe();return t in e}function zHe(t){if(dFt(t))return HHe()[t];throw new Error(`Chain with chainId "${t}" not found`)}var M6,ust,pst,hst,mst,bst,yst,gst,vst,SW,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,eot,tot,not,aot,rot,fot,iot,sot,oot,cot,dot,RHe,lot,uot,pot,hot,mot,bot,yot,got,vot,wot,Tot,xot,Eot,_ot,Aot,Cot,Iot,kot,Sot,Rot,Mot,Bot,Dot,Pot,Lot,Fot,Not,Oot,Uot,Hot,zot,Wot,qot,jot,Got,Kot,Qot,Vot,Yot,$ot,MHe,Jot,Xot,Zot,e1t,t1t,n1t,a1t,r1t,f1t,i1t,s1t,o1t,c1t,d1t,l1t,u1t,p1t,h1t,m1t,b1t,y1t,g1t,v1t,w1t,T1t,x1t,E1t,_1t,A1t,C1t,I1t,k1t,S1t,R1t,M1t,B1t,D1t,P1t,Q7,L1t,F1t,N1t,O1t,U1t,H1t,z1t,jse,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,mct,bct,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,BHe,Zct,e6t,t6t,n6t,a6t,r6t,f6t,i6t,s6t,o6t,c6t,d6t,l6t,u6t,p6t,h6t,m6t,b6t,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,m5t,b5t,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,mdt,bdt,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,mlt,blt,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,eut,tut,nut,aut,rut,fut,iut,sut,out,cut,dut,lut,uut,put,hut,mut,but,yut,gut,vut,Gse,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,e2t,t2t,n2t,a2t,DHe,r2t,f2t,i2t,s2t,o2t,c2t,d2t,l2t,u2t,p2t,h2t,m2t,b2t,y2t,g2t,v2t,w2t,T2t,x2t,E2t,_2t,A2t,C2t,I2t,k2t,S2t,R2t,M2t,B2t,D2t,P2t,L2t,F2t,N2t,O2t,U2t,H2t,z2t,W2t,q2t,j2t,G2t,K2t,Q2t,V2t,Y2t,$2t,J2t,X2t,Z2t,ept,tpt,npt,apt,rpt,fpt,ipt,spt,opt,cpt,dpt,lpt,upt,ppt,hpt,mpt,bpt,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,m8t,b8t,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,mht,bht,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,m3t,b3t,y3t,g3t,v3t,w3t,T3t,x3t,E3t,_3t,A3t,C3t,I3t,k3t,S3t,R3t,M3t,B3t,D3t,P3t,L3t,F3t,N3t,O3t,U3t,H3t,z3t,W3t,q3t,j3t,G3t,PHe,K3t,Q3t,V3t,Y3t,$3t,J3t,X3t,Z3t,emt,tmt,nmt,amt,rmt,fmt,imt,smt,omt,cmt,dmt,lmt,umt,pmt,hmt,mmt,bmt,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,mbt,bbt,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,e4t,t4t,n4t,a4t,r4t,f4t,i4t,s4t,o4t,c4t,d4t,l4t,u4t,p4t,h4t,m4t,b4t,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,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,myt,byt,yyt,RW,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,m7t,b7t,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,m9t,b9t,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,mgt,bgt,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,mvt,bvt,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,mwt,bwt,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,mTt,bTt,yTt,gTt,vTt,wTt,TTt,xTt,ETt,_Tt,ATt,CTt,ITt,kTt,STt,RTt,MTt,BTt,DTt,PTt,LTt,FTt,NTt,OTt,UTt,HTt,zTt,WTt,qTt,jTt,GTt,KTt,QTt,VTt,YTt,$Tt,JTt,XTt,ZTt,ext,txt,nxt,axt,rxt,fxt,ixt,sxt,oxt,cxt,LHe,dxt,XS,lxt,uxt,pxt,hxt,mxt,bxt,yxt,gxt,vxt,wxt,Txt,FHe,NHe,xxt,Ext,_xt,Axt,Cxt,Ixt,kxt,Sxt,ZS,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,mEt,bEt,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,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,m_t,b_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,Kse,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,mAt,bAt,yAt,gAt,vAt,wAt,TAt,xAt,EAt,_At,AAt,CAt,IAt,kAt,SAt,RAt,MAt,BAt,DAt,PAt,LAt,FAt,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,mCt,bCt,yCt,gCt,vCt,wCt,TCt,xCt,ECt,_Ct,ACt,CCt,ICt,kCt,SCt,RCt,MCt,BCt,DCt,PCt,LCt,FCt,NCt,OCt,MW,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,mIt,bIt,yIt,BW,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,mkt,bkt,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,mSt,bSt,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,uRt,pRt,hRt,mRt,bRt,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,mMt,bMt,yMt,gMt,vMt,wMt,TMt,OHe,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,mBt,bBt,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,eDt,tDt,nDt,aDt,rDt,fDt,iDt,sDt,oDt,cDt,dDt,lDt,uDt,pDt,hDt,mDt,bDt,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,Qse,JDt,XDt,ZDt,ePt,tPt,nPt,aPt,rPt,fPt,iPt,sPt,oPt,UHe,DW,cPt,dPt,lPt,uPt,pPt,hPt,mPt,bPt,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,eLt,tLt,nLt,aLt,rLt,fLt,iLt,sLt,oLt,cLt,dLt,lLt,uLt,pLt,hLt,Vse,mLt,bLt,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,eFt,tFt,nFt,aFt,rFt,fFt,iFt,sFt,oFt,r1,cFt,JS,Hc=oe(()=>{"use strict";u();p();M6={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},ust={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},pst={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"},hst={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"},mst={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"},bst={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"},yst={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},gst={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},vst={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},SW={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},wst={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},Tst={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},xst={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},Est={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},_st={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},Ast={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},Cst={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},Ist={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},kst={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},Sst={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},Rst={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},Bst={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},Dst={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},Pst={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.drpc.org","wss://cronos.drpc.org","https://cronos-evm-rpc.publicnode.com","wss://cronos-evm-rpc.publicnode.com","https://cronos.blockpi.network/v1/rpc/public","https://evm.cronos.org"],shortName:"cro",slug:"cronos",testnet:!1},Lst={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},Fst={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},Nst={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},Ost={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},Ust={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},Hst={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},zst={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},Wst={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},qst={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},jst={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},Gst={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},Kst={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},Qst={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},Vst={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},Yst={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},$st={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},Jst={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},Xst={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},Zst={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},eot={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},tot={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},not={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},aot={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},rot={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},fot={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},iot={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},sot={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},oot={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},cot={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},dot={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},RHe={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},lot={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},uot={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},pot={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},hot={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},mot={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"},bot={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"},yot={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"},got={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},vot={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},wot={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},Tot={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},xot={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},Eot={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"},_ot={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},Aot={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},Cot={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},Iot={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},kot={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},Sot={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},Rot={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},Bot={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},Dot={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},Pot={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},Lot={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},Fot={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},Not={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},Oot={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},Uot={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},Hot={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},zot={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},Wot={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},qot={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},jot={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},Got={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},Kot={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},Qot={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},Vot={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},Yot={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},$ot={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},MHe={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},Jot={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},Xot={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},Zot={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},e1t={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},t1t={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},n1t={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},a1t={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},r1t={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},f1t={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},i1t={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},s1t={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},o1t={chain:"Shibarium",chainId:109,explorers:[{name:"Shibariumscan",url:"https://www.shibariumscan.io",standard:"EIP3091",icon:{url:"https://www.shibariumscan.io/assets/configs/network_icon_dark.png",width:360,height:360,format:"png"}}],faucets:[],features:[],icon:{url:"https://chewyswap.dog/images/chains/109.png",width:200,height:200,format:"png"},infoURL:"https://shibariumecosystem.com",name:"Shibarium",nativeCurrency:{name:"BONE Shibarium",symbol:"BONE",decimals:18},networkId:109,redFlags:[],rpc:["https://109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shibrpc.com","https://www.shibrpc.com"],shortName:"shibariumecosystem",slug:"shibarium",testnet:!1},c1t={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},d1t={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},l1t={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},u1t={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},p1t={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},h1t={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},m1t={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},b1t={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},y1t={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},g1t={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},v1t={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},w1t={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},T1t={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},x1t={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},E1t={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},_1t={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},A1t={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},C1t={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},I1t={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},k1t={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},S1t={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},R1t={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"},B1t={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},D1t={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},P1t={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},Q7={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},L1t={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},F1t={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},N1t={chain:"Eter",chainId:140,explorers:[],faucets:[],icon:{url:"ipfs://bafybeibexfskndvhn5xtrcmpjoifp2ufnzgwiwbfrjcxat55alergskkve",width:122,height:133,format:"svg"},infoURL:"https://eternalcoin.io",name:"Eternal 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:"eternal",testnet:!1},O1t={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},U1t={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},H1t={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},z1t={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},jse={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},W1t={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"},q1t={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},j1t={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},G1t={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},K1t={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},Q1t={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},V1t={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"},Y1t={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},$1t={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},J1t={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},X1t={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},Z1t={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},ect={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},tct={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},nct={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},act={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},rct={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},fct={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},ict={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},sct={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},oct={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},cct={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},dct={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},lct={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},uct={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},pct={chain:"Waterfall Network",chainId:181,explorers:[],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmSDJPBKh9cLVL8UZ5KYwdwPyhD8bRWNb33jjt48wtu5Uc",width:241,height:179,format:"png"},infoURL:"https://waterfall.network",name:"Waterfall Network",nativeCurrency:{name:"WATER",symbol:"WATER",decimals:18},networkId:181,rpc:["https://181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.waterfall.network/"],shortName:"water",slug:"waterfall-network",testnet:!1},hct={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},mct={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},bct={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},yct={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},gct={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},vct={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},wct={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},Tct={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},xct={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},Ect={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},_ct={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},Act={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},Cct={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},Ict={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},kct={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},Sct={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},Rct={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},Mct={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},Bct={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},Dct={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},Pct={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"},Lct={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},Fct={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},Nct={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},Oct={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},Uct={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},Hct={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},zct={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"},Wct={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},qct={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},jct={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},Gct={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},Kct={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},Qct={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},Vct={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},Yct={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},$ct={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},Jct={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},Xct={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},BHe={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},Zct={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},e6t={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},t6t={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},n6t={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},a6t={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},r6t={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},f6t={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"},i6t={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"},s6t={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"},o6t={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},c6t={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},d6t={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},l6t={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},u6t={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},p6t={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},h6t={chain:"CronosZkEVMTestnet",chainId:282,explorers:[{name:"Cronos zkEVM Testnet Explorer",url:"https://explorer.zkevm.cronos.org/testnet",standard:"none"}],faucets:["https://zkevm.cronos.org/faucet"],infoURL:"https://docs-zkevm.cronos.org",name:"Cronos zkEVM Testnet",nativeCurrency:{name:"Cronos zkEVM Test Coin",symbol:"zkTCRO",decimals:18},networkId:282,rpc:["https://282.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.zkevm.cronos.org"],shortName:"zkTCRO",slip44:1,slug:"cronos-zkevm-testnet",testnet:!0},m6t={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},b6t={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},y6t={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},g6t={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},v6t={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},w6t={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},T6t={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},x6t={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},E6t={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},_6t={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},A6t={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"},C6t={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},I6t={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},k6t={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},S6t={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},R6t={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},M6t={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},B6t={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},D6t={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},P6t={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},L6t={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},F6t={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},N6t={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},O6t={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},U6t={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},H6t={chain:"Trust Smart Chain",chainId:345,explorers:[{name:"tscscan",url:"https://www.tscscan.io",standard:"none",icon:{url:"ipfs://QmZWF4RcDtxuFRRGgMMuDV7FWCYR6kA9cAUTk12iADU52U",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYmQAo5hSr16LDeSbWbXfKdF6qa2zCoK7e88r2f7RiFdt",width:1024,height:1024,format:"png"},infoURL:"https://www.trias.one",name:"TSC Mainnet",nativeCurrency:{name:"TAS",symbol:"TAS",decimals:18},networkId:16,rpc:["https://345.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc01.trias.one"],shortName:"TSC",slug:"tsc",testnet:!1},z6t={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},W6t={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},q6t={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},j6t={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},G6t={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},K6t={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},Q6t={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},V6t={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},Y6t={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},$6t={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},J6t={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},X6t={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},Z6t={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},e5t={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},t5t={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},n5t={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"},a5t={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},r5t={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},f5t={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},i5t={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},s5t={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},o5t={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},c5t={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},d5t={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},l5t={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},u5t={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},p5t={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"},h5t={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},m5t={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},b5t={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},y5t={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},g5t={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},v5t={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},w5t={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},T5t={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"},x5t={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},E5t={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},_5t={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},A5t={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},I5t={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},k5t={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},S5t={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},R5t={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},M5t={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},D5t={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},P5t={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},L5t={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://rpc.ankr.com/rollux","https://rollux.rpc.syscoin.org","wss://rollux.rpc.syscoin.org/wss"],shortName:"sys-rollux",slug:"rollux",testnet:!1},F5t={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},N5t={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},O5t={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},U5t={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},H5t={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},z5t={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},W5t={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},q5t={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},j5t={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},G5t={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},K5t={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},Q5t={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},V5t={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},Y5t={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},$5t={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},J5t={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},X5t={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},Z5t={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},edt={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},tdt={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},ndt={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"},adt={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},rdt={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},fdt={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},idt={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},sdt={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},odt={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},cdt={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},ddt={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},ldt={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},udt={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},pdt={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},hdt={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},mdt={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},bdt={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},ydt={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},gdt={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},vdt={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},wdt={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},Tdt={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},xdt={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},Edt={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},_dt={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},Adt={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},Idt={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},kdt={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},Sdt={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},Rdt={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},Mdt={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},Ddt={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"},Pdt={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},Ldt={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},Fdt={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},Ndt={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},Odt={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},Udt={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},Hdt={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},zdt={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},Wdt={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},qdt={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},jdt={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},Gdt={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},Kdt={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},Qdt={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"},Vdt={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},Ydt={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:"MAXI GAS",symbol:"MGAS",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},$dt={chain:"MAXI",chainId:899,explorers:[{name:"Maxi Chain Mainnet Explorer",url:"https://mainnet.maxi.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXMLcCaNPMyWCEYX2MZDJHNvj5cpj2cR5dRQtedBRNypT",width:512,height:512,format:"png"},infoURL:"https://maxi.network",name:"MAXI Chain Mainnet",nativeCurrency:{name:"MAXI GAS",symbol:"MGAS",decimals:18},networkId:899,rpc:["https://899.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.maxi.network"],shortName:"maxi-mainnet",slug:"maxi-chain",testnet:!1},Jdt={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},Xdt={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},Zdt={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},elt={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},tlt={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},nlt={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},alt={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"},rlt={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},flt={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},ilt={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},slt={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},olt={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},clt={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},dlt={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},llt={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},ult={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},plt={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},hlt={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},mlt={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},blt={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},ylt={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},glt={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"},vlt={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},wlt={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},Tlt={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},xlt={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},Elt={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},_lt={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},Alt={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},Clt={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},Ilt={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},klt={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},Slt={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},Rlt={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},Mlt={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},Blt={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"},Dlt={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},Plt={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},Llt={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},Flt={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},Nlt={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"},Olt={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},Ult={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},Hlt={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},zlt={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},Wlt={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},qlt={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},jlt={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},Glt={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},Qlt={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"},Vlt={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"},Ylt={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"},$lt={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"},Jlt={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"},Xlt={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"},Zlt={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},eut={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},tut={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},nut={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},aut={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"},rut={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},fut={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},iut={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},sut={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},out={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},cut={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},dut={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},lut={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},uut={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"},put={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},hut={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},mut={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},but={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:[],icon:{url:"ipfs://QmVTS8jmWD5e7jVEn86wLjJsuMnc6s8fym3JbtE4etzSKf",width:400,height:400,format:"png"},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},yut={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},gut={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},vut={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},Gse={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},wut={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},Tut={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},xut={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},Eut={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},_ut={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},Aut={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},Cut={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},Iut={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},kut={chain:"CuckooAI",chainId:1210,explorers:[{name:"Cuckoo Sepolia Explorer",url:"https://testnet-scan.cuckoo.network",standard:"EIP3091"}],faucets:["https://cuckoo.network/portal/faucet/"],icon:{url:"ipfs://QmZjVDfk56DjqkCPymaweJJaj9ASGjjgcwJ95XsFDzj9us",width:512,height:512,format:"png"},infoURL:"https://cuckoo.network",name:"Cuckoo Sepolia",nativeCurrency:{name:"CuckooAI",symbol:"CAI",decimals:18},networkId:1210,rpc:["https://1210.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.cuckoo.network","wss://testnet-rpc.cuckoo.network"],shortName:"caisepolia",slug:"cuckoo-sepolia",testnet:!0,title:"Cuckoo AI Testnet Sepolia"},Sut={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},Rut={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},Mut={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},But={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},Dut={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},Put={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},Lut={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},Fut={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},Nut={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"},Out={chain:"ITX",chainId:1235,explorers:[{name:"ITX Mainnet Explorer (Blockscout)",url:"https://explorer.itxchain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://explorer.itxchain.com",name:"ITX Mainnet",nativeCurrency:{name:"ITX",symbol:"ITX",decimals:18},networkId:1235,rpc:["https://1235.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.itxchain.com"],shortName:"itx",slug:"itx",testnet:!1},Uut={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},Hut={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},zut={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},Wut={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},qut={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},jut={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},Gut={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},Kut={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},Qut={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},Vut={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},Yut={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},$ut={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},Jut={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},Xut={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},Zut={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},e2t={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},t2t={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},n2t={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},a2t={chain:"Sei",chainId:1329,explorers:[{name:"Seitrace",url:"https://seitrace.com",standard:"EIP3091"},{name:"Sei Explorer",url:"https://github.com/sei-protocol/sei-chain/blob/main/assets/SeiLogo.png",standard:"EIP3091",icon:{url:"https://github.com/sei-protocol/sei-chain/blob/main/assets/SeiLogo.png",width:231,height:231,format:"png"}}],faucets:[],features:[],icon:{url:"https://github.com/sei-protocol/sei-chain/blob/main/assets/SeiLogo.png",width:231,height:231,format:"png"},infoURL:"https://www.sei.io",name:"Sei",nativeCurrency:{name:"Sei",symbol:"Sei",decimals:18},networkId:1329,redFlags:[],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",testnet:!1},DHe={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},r2t={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"},f2t={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"},i2t={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},s2t={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},o2t={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},c2t={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},d2t={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},l2t={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},u2t={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},p2t={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},h2t={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"},m2t={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"},b2t={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"},y2t={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"},g2t={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},v2t={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"},w2t={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},T2t={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"},x2t={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},E2t={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"},_2t={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},A2t={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},C2t={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},I2t={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},k2t={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},S2t={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"},R2t={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},M2t={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},B2t={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},D2t={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},P2t={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},L2t={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},F2t={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},N2t={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},O2t={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},U2t={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},H2t={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},z2t={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},W2t={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},q2t={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"},j2t={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"},G2t={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},K2t={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},Q2t={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},V2t={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},Y2t={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},$2t={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},J2t={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},X2t={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},Z2t={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"},ept={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},tpt={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},npt={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},apt={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},rpt={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},fpt={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},ipt={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},spt={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},opt={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},cpt={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},dpt={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},lpt={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},upt={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},ppt={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},hpt={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},mpt={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},bpt={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},ypt={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},gpt={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},vpt={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"},wpt={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},xpt={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},Ept={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},_pt={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},Apt={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},Cpt={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"},Ipt={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},kpt={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},Spt={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"},Rpt={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},Mpt={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"},Bpt={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},Dpt={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},Ppt={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},Lpt={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},Fpt={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},Npt={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"},Opt={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},Upt={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},Hpt={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},zpt={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},Wpt={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},qpt={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},jpt={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},Gpt={chain:"MetaLink",chainId:2004,explorers:[{name:"MetaScan",url:"http://twoto3.com:3000",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfSXRkDPSwt7heQ24pDtWKN6vvervEaTJHmueyRp1mpg1",width:800,height:800,format:"jpg"},infoURL:"http://totwo3.com:3000",name:"MetaLink Network",nativeCurrency:{name:"MetaLink",symbol:"MTL",decimals:18},networkId:2004,rpc:["https://2004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://77.237.237.69:9933"],shortName:"mtl",slug:"metalink-network",testnet:!1},Kpt={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},Qpt={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},Vpt={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},Ypt={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},$pt={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},Jpt={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"},Xpt={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"},Zpt={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"},e8t={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"},t8t={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},n8t={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},a8t={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},r8t={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},f8t={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},i8t={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},s8t={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},o8t={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},c8t={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},d8t={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},l8t={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},u8t={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},p8t={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"},h8t={chain:"NEUROWEB",chainId:2043,explorers:[],faucets:[],infoURL:"https://neuroweb.ai",name:"NeuroWeb",nativeCurrency:{name:"NeuroWeb Token",symbol:"NEURO",decimals:12},networkId:2043,rpc:["https://2043.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://astrosat.origintrail.network","wss://parachain-rpc.origin-trail.network"],shortName:"NEURO",slug:"neuroweb",testnet:!1},m8t={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},b8t={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},y8t={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},g8t={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},v8t={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},w8t={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},T8t={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},x8t={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},E8t={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},_8t={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},A8t={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},C8t={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},k8t={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},S8t={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},R8t={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},M8t={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},B8t={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},D8t={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},L8t={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},F8t={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},N8t={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},O8t={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},U8t={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},H8t={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},z8t={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},W8t={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},q8t={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},j8t={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},G8t={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},K8t={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},Q8t={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},V8t={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},Y8t={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},$8t={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},J8t={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},X8t={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},Z8t={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},eht={chain:"Atleta",chainId:2340,explorers:[{name:"Atleta Olympia Explorer",url:"https://blockscout.atleta.network",standard:"none",icon:{url:"ipfs://QmV2JVr4FCcb6aRiUoA3wS5erLoxtLBLonQ1Nvz8fNuEcR",width:128,height:128,format:"png"}},{name:"Atleta Olympia Polka Explorer",url:"https://polkadot-explorer.atleta.network/#/explorer",standard:"none",icon:{url:"ipfs://QmV2JVr4FCcb6aRiUoA3wS5erLoxtLBLonQ1Nvz8fNuEcR",width:128,height:128,format:"png"}}],faucets:["https://app-olympia.atleta.network/faucet"],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","https://testnet-rpc.atleta.network"],shortName:"atla",slip44:1,slug:"atleta-olympia",testnet:!0},tht={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},nht={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"},aht={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"},rht={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"},fht={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},iht={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},sht={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},oht={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},cht={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},dht={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"},lht={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"},uht={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},pht={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},hht={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},mht={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},bht={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},yht={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},ght={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},vht={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},wht={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"},Tht={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},xht={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},Eht={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},_ht={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},Aht={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},Cht={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:"Avalanche",chainId:2715,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3583",nativeCurrency:{name:"QaUser3583 Token",symbol:"XDR",decimals:18},networkId:2715,redFlags:[],rpc:["https://2715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3583",slug:"qauser3583",testnet:!0},kht={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},Rht={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},Mht={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"},Bht={chain:"GM Network Mainnet",chainId:2777,explorers:[{name:"GM Network Mainnet Explorer",url:"https://scan.gmnetwork.ai",standard:"EIP3091"}],faucets:[],infoURL:"https://gmnetwork.ai",name:"GM Network Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2777,rpc:["https://2777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gmnetwork.ai"],shortName:"gmnetwork-mainnet",slug:"gm-network",status:"active",testnet:!1},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"},Pht={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},Lht={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},Fht={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},Nht={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},Oht={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},Uht={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},Hht={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},zht={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},Wht={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},qht={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},jht={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},Ght={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},Kht={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},Qht={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"},Vht={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},Yht={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"},$ht={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},Jht={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},Xht={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},Zht={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},e3t={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},t3t={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},n3t={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},a3t={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},r3t={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},f3t={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},i3t={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},s3t={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},o3t={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},c3t={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},d3t={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},l3t={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},u3t={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},p3t={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},h3t={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},m3t={chain:"LayerEdge",chainId:3456,explorers:[{name:"LayerEdge Testnet Explorer",url:"https://testnet-explorer.layeredge.io",standard:"EIP3091",icon:{url:"ipfs://QmT2RotFAn8edji6FqBiP1TpTb1EFqHr28qbQGoRaJ9nTN",width:218,height:211,format:"svg"}}],faucets:["https://testnet-faucet.layeredge.io"],icon:{url:"ipfs://QmT2RotFAn8edji6FqBiP1TpTb1EFqHr28qbQGoRaJ9nTN",width:218,height:211,format:"svg"},infoURL:"https://www.layeredge.io",name:"LayerEdge testnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:3456,rpc:["https://3456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.layeredge.io"],shortName:"LayerEdge-testnet",slug:"layeredge-testnet",testnet:!0},b3t={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},y3t={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},g3t={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},v3t={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},w3t={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},T3t={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},x3t={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},E3t={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},_3t={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},A3t={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},C3t={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},I3t={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},k3t={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},S3t={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},R3t={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},M3t={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"},B3t={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},D3t={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},P3t={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"},F3t={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},N3t={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},O3t={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"}],icon:{url:"ipfs://QmXbsQe7QsVFZJZdBmbZVvS6LgX9ZFoaTMBs9MiQXUzJTw",width:256,height:256,format:"png"},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},U3t={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},H3t={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},z3t={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},W3t={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},q3t={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},j3t={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},G3t={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},PHe={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},K3t={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},Q3t={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},V3t={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},Y3t={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},$3t={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},J3t={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},X3t={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},Z3t={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},emt={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"},tmt={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},nmt={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},amt={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},rmt={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},fmt={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},imt={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},smt={chain:"XFI",chainId:4157,explorers:[{name:"CrossFi Testnet Scan",url:"https://test.xfiscan.com",standard:"EIP3091",icon:{url:"ipfs://QmbRJzDeAdMkEXkqDwBwezpUxyjTPHZ2iXEomqKPvWZcWE",width:40,height:42,format:"svg"}},{name:"Scan Testnet",url:"https://scan.testnet.ms/",standard:"EIP1559"}],faucets:[],features:[],icon:{url:"ipfs://QmbRJzDeAdMkEXkqDwBwezpUxyjTPHZ2iXEomqKPvWZcWE",width:40,height:42,format:"svg"},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/"},omt={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},cmt={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"},dmt={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},lmt={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:["https://app.optimism.io/faucet"],icon:{url:"ipfs://QmVTS8jmWD5e7jVEn86wLjJsuMnc6s8fym3JbtE4etzSKf",width:400,height:400,format:"png"},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},umt={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},pmt={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},hmt={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},mmt={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},bmt={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},ymt={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},gmt={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},vmt={chain:"HYDRA",chainId:4488,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVxyUjuA8t9q3oWDgv8ExqaUXcRuDqiKrZAiLaBWHYcmG",width:722,height:813,format:"png"},infoURL:"https://hydrachain.org",name:"Hydra Chain",nativeCurrency:{name:"Hydra",symbol:"HYDRA",decimals:18},networkId:4488,rpc:[],shortName:"HYDRA",slug:"hydra-chain",status:"incubating",testnet:!1},wmt={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},Tmt={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"},xmt={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},Emt={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"},_mt={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},Amt={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},Cmt={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},Imt={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},kmt={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},Smt={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},Rmt={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},Mmt={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},Bmt={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},Dmt={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},Pmt={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},Lmt={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},Fmt={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},Nmt={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},Omt={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},Umt={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},Hmt={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},zmt={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},Wmt={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},qmt={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"},jmt={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"},Gmt={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},Kmt={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},Qmt={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},Vmt={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},Ymt={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},$mt={chain:"Ham",chainId:5112,explorers:[{name:"blockscout",url:"https://explorer.ham.fun",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcbYVenTET9HBS7vs7SGv1MNqnRscAKVF5kaRVHaVCfvs",width:500,height:500,format:"jpg"},infoURL:"https://ham.fun",name:"Ham",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5112,rpc:["https://5112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ham.fun"],shortName:"ham",slug:"ham",status:"active",testnet:!1},Jmt={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"},Xmt={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},Zmt={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},ebt={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},tbt={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},nbt={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},abt={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},rbt={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},fbt={chain:"ITX",chainId:5321,explorers:[{name:"ITX Testnet Explorer (Blockscout)",url:"https://explorer.testnet.itxchain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://explorer.testnet.itxchain.com",name:"ITX Testnet",nativeCurrency:{name:"ITX",symbol:"ITX",decimals:18},networkId:5321,rpc:["https://5321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.itxchain.com"],shortName:"itx-testnet",slug:"itx-testnet",testnet:!0},ibt={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},sbt={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},obt={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},cbt={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},dbt={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},lbt={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},pbt={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},hbt={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},mbt={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},bbt={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},ybt={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},vbt={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},wbt={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},Tbt={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},xbt={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"},Ebt={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},_bt={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"},Abt={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},Cbt={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},Ibt={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},kbt={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},Sbt={chain:"BounceBit",chainId:6e3,explorers:[{name:"BBScan Testnet Explorer",url:"https://bbscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXry4fg4n371PCokLGKUMwmws1SoJb5giZM3EedeEQaZz",width:192,height:192,format:"png"},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},Rbt={chain:"BounceBit",chainId:6001,explorers:[{name:"BBScan Mainnet Explorer",url:"https://bbscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXry4fg4n371PCokLGKUMwmws1SoJb5giZM3EedeEQaZz",width:192,height:192,format:"png"},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},Mbt={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},Bbt={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},Dbt={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},Pbt={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},Lbt={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},Fbt={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},Nbt={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},Obt={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},Ubt={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},Hbt={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},zbt={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},Wbt={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},qbt={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},jbt={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},Gbt={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},Kbt={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},Qbt={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},Vbt={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},Ybt={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},$bt={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},Jbt={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},Xbt={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},Zbt={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},e4t={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},t4t={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},n4t={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},a4t={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},r4t={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},f4t={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},i4t={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},s4t={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"},o4t={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},c4t={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},d4t={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},l4t={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},u4t={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},p4t={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},h4t={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},m4t={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},b4t={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},y4t={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},g4t={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},v4t={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},w4t={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},T4t={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},x4t={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},E4t={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},_4t={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},A4t={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},C4t={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},I4t={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},k4t={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},S4t={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},R4t={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},M4t={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},B4t={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},D4t={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},P4t={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"},L4t={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},F4t={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},N4t={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},O4t={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},H4t={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},z4t={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},W4t={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},q4t={chain:"MO",chainId:7924,explorers:[{name:"MO Explorer",url:"https://moscan.app",standard:"none"}],faucets:["https://faucet.mochain.app/"],icon:{url:"ipfs://QmfJYJiR7L8xMG3KAWroVA9CQEfRGcbprC4JmVsiVk1E4e",width:512,height:512,format:"png"},infoURL:"https://mochain.app",name:"MO Mainnet",nativeCurrency:{name:"MO",symbol:"MO",decimals:18},networkId:7924,rpc:["https://7924.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.mochain.app/"],shortName:"MO",slug:"mo",testnet:!1},j4t={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},G4t={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},K4t={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},Q4t={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},V4t={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"},Y4t={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"},$4t={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},J4t={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},X4t={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},Z4t={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},eyt={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},tyt={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},nyt={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},ayt={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},ryt={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},fyt={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},iyt={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},syt={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},oyt={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},cyt={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},dyt={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},lyt={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},uyt={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},pyt={chain:"Avalanche",chainId:8227,explorers:[{name:"SPACE Explorer",url:"https://subnets.avax.network/space",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:"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},hyt={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},myt={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},byt={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},yyt={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"},RW={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},gyt={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},vyt={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},wyt={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},Tyt={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},xyt={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},Eyt={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},_yt={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},Ayt={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},Cyt={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},Iyt={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"},kyt={chain:"HYDRA",chainId:8844,explorers:[{name:"Hydra Chain Testnet explorer",url:"https://hydragon.hydrachain.org",standard:"EIP3091",icon:{url:"ipfs://QmVxyUjuA8t9q3oWDgv8ExqaUXcRuDqiKrZAiLaBWHYcmG",width:722,height:813,format:"png"}}],faucets:["https://app.testnet.hydrachain.org/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVxyUjuA8t9q3oWDgv8ExqaUXcRuDqiKrZAiLaBWHYcmG",width:722,height:813,format:"png"},infoURL:"https://hydrachain.org",name:"Hydra Chain Testnet",nativeCurrency:{name:"tHydra",symbol:"tHYDRA",decimals:18},networkId:8844,rpc:["https://8844.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.hydrachain.org"],shortName:"THYDRA",slug:"hydra-chain-testnet",testnet:!0},Syt={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},Ryt={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},Myt={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},Byt={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},Dyt={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},Pyt={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},Lyt={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},Fyt={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},Nyt={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},Oyt={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"},Uyt={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},Hyt={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},zyt={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},Wyt={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},qyt={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},jyt={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"},Gyt={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},Kyt={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","https://evmos-testnet-evm-rpc.publicnode.com","wss://evmos-testnet-evm-rpc.publicnode.com"],shortName:"evmos-testnet",slip44:1,slug:"evmos-testnet",testnet:!0},Qyt={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-rpc.publicnode.com","wss://evmos-evm-rpc.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},Yyt={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},$yt={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},Jyt={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},Xyt={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},Zyt={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},e7t={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},t7t={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},n7t={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},a7t={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},r7t={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},f7t={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},i7t={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},s7t={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},o7t={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},c7t={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},d7t={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"},l7t={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},u7t={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},p7t={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},h7t={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},m7t={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},b7t={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},y7t={chain:"OptimusZ7",chainId:9797,explorers:[{name:"OptimusZ7 Mainnet Explorer",url:"https://explorer.optimusz7.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmerd9Q3otjDuQAFbdiQyUnZk7UfPvkCr21E5N4VCNvhbj",width:493,height:506,format:"png"},infoURL:"http://optimusz7.com",name:"OptimusZ7 Mainnet",nativeCurrency:{name:"OptimusZ7",symbol:"OZ7",decimals:18},networkId:9797,rpc:["https://9797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.optimusz7.com"],shortName:"OZ7m",slug:"optimusz7",testnet:!1},g7t={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},v7t={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},w7t={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},T7t={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},x7t={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"},E7t={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},_7t={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},A7t={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},C7t={chain:"Avalanche",chainId:9981,explorers:[{name:"Volley Mainnet Explorer",url:"https://volleyscan.io",standard:"EIP3091"}],faucets:[],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","https://main-rpc.volleychain.com"],shortName:"QaUser4131",slug:"qauser4131",testnet:!0},I7t={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},k7t={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},S7t={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},R7t={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},M7t={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},B7t={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},D7t={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},P7t={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},L7t={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},F7t={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},N7t={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},U7t={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},H7t={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},z7t={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},W7t={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},q7t={chain:"GLC",chainId:10222,explorers:[{name:"GLScan Explorer",url:"https://glscan.io",standard:"none",icon:{url:"ipfs://QmTw21p6UfXVH2BCU81G2Ck28ecoknz4v9mC35fF8Z987i",width:512,height:557,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTw21p6UfXVH2BCU81G2Ck28ecoknz4v9mC35fF8Z987i",width:512,height:557,format:"png"},infoURL:"https://glscan.io/",name:"GLScan",nativeCurrency:{name:"GLC",symbol:"GLC",decimals:18},networkId:10222,rpc:["https://10222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://glc-dataseed.glscan.io/"],shortName:"glc",slip44:1,slug:"glscan",testnet:!1},j7t={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},G7t={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},K7t={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},Q7t={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},V7t={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},Y7t={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},$7t={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},J7t={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},X7t={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},Z7t={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},e9t={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},t9t={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},n9t={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},a9t={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},r9t={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},f9t={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},i9t={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},s9t={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},o9t={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},c9t={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},d9t={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},l9t={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},u9t={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},p9t={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},h9t={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},m9t={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},b9t={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},y9t={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},g9t={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},v9t={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},w9t={chain:"Santiment Intelligence Network DEPRECATED",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 DEPRECATED",nativeCurrency:{name:"SANold",symbol:"SANold",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:"SANold",slug:"santiment-intelligence-network-deprecated",status:"deprecated",testnet:!1},T9t={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},x9t={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},E9t={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},_9t={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},A9t={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},C9t={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},I9t={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},k9t={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},S9t={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},R9t={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},M9t={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},B9t={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},D9t={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},P9t={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"},L9t={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"},N9t={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},O9t={chain:"Avalanche",chainId:12885,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I3",nativeCurrency:{name:"QI0603I3 Token",symbol:"UQI",decimals:18},networkId:12885,redFlags:[],rpc:["https://12885.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I3",slug:"qi0603i3",testnet:!0},U9t={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},H9t={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},z9t={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},W9t={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},q9t={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},j9t={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},G9t={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},K9t={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},Q9t={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},V9t={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"},$9t={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},J9t={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},X9t={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},Z9t={chain:"Avalanche",chainId:14093,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6598",nativeCurrency:{name:"QaUser6598 Token",symbol:"UQC",decimals:18},networkId:14093,redFlags:[],rpc:["https://14093.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6598",slug:"qauser6598",testnet:!0},egt={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},tgt={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},ngt={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"},agt={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},rgt={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},fgt={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},igt={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},sgt={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},ogt={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},cgt={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},dgt={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},lgt={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},ugt={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},pgt={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},hgt={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},mgt={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},bgt={chain:"Avalanche",chainId:16316,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Stripe Test",nativeCurrency:{name:"Stripe Test Token",symbol:"STR",decimals:18},networkId:16316,redFlags:[],rpc:["https://16316.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Stripe Test",slug:"stripe-test",testnet:!0},ygt={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},ggt={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},vgt={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},wgt={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},Tgt={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},xgt={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"},Egt={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},_gt={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},Agt={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},Cgt={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},Igt={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},kgt={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},Sgt={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},Rgt={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},Mgt={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},Bgt={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},Dgt={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},Pgt={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},Lgt={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},Fgt={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},Ngt={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},Ogt={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"},Ugt={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},Hgt={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"},zgt={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"},Wgt={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},qgt={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},jgt={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},Ggt={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},Kgt={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},Qgt={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},Vgt={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},Ygt={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},$gt={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},Jgt={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},Xgt={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},Zgt={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},evt={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},tvt={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},nvt={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},avt={chain:"NIZA",chainId:20041,explorers:[{name:"NizaScan",url:"https://nizascan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPh2FdjoPWBaCKNrknv6HjruxdUCr8AvJYvhpgHZP6e2C",width:512,height:512,format:"png"},infoURL:"https://niza.io",name:"Niza Chain Mainnet",nativeCurrency:{name:"Niza Global",symbol:"NIZA",decimals:18},networkId:20041,rpc:["https://20041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nizascan.io/rpc"],shortName:"niza",slug:"niza-chain",testnet:!1},rvt={chain:"NIZA",chainId:20073,explorers:[{name:"NizaScan",url:"https://testnet.nizascan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPh2FdjoPWBaCKNrknv6HjruxdUCr8AvJYvhpgHZP6e2C",width:512,height:512,format:"png"},infoURL:"https://niza.io",name:"Niza Chain Testnet",nativeCurrency:{name:"Niza Global",symbol:"NIZA",decimals:18},networkId:20073,rpc:["https://20073.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.nizascan.io/rpc"],shortName:"niza_testnet",slug:"niza-chain-testnet",testnet:!0},fvt={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},ivt={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},svt={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},ovt={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},cvt={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},dvt={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},lvt={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},uvt={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},pvt={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},hvt={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},mvt={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},bvt={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},yvt={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},gvt={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},vvt={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},wvt={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},Tvt={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},xvt={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},Evt={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},_vt={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},Avt={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},Cvt={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},Ivt={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},kvt={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},Svt={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},Rvt={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},Mvt={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},Bvt={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},Dvt={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},Pvt={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},Lvt={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},Fvt={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},Nvt={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},Ovt={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},Uvt={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},Hvt={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},zvt={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},Wvt={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},qvt={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},jvt={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},Gvt={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},Kvt={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},Qvt={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},Vvt={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},Yvt={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},$vt={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},Jvt={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},Xvt={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},Zvt={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},ewt={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},twt={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},nwt={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},awt={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},rwt={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},fwt={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},iwt={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},swt={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},owt={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},cwt={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"},dwt={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"},lwt={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},uwt={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},pwt={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},hwt={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},mwt={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"},bwt={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"},ywt={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},gwt={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},vwt={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},wwt={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},Twt={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},xwt={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},Ewt={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},_wt={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},Awt={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},Cwt={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},Iwt={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},kwt={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},Swt={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},Rwt={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},Mwt={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},Bwt={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},Dwt={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},Pwt={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},Lwt={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},Fwt={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},Nwt={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},Owt={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},Uwt={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},Hwt={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},zwt={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},Wwt={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},qwt={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},jwt={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},Gwt={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},Kwt={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},Qwt={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},Vwt={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},Ywt={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},$wt={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},Jwt={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},Xwt={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},Zwt={chain:"Avalanche",chainId:32112,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606S1T",nativeCurrency:{name:"QR0606S1T Token",symbol:"GKN",decimals:18},networkId:32112,redFlags:[],rpc:["https://32112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606s1t/testnet/rpc"],shortName:"QR0606S1T",slug:"qr0606s1t",testnet:!0},eTt={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},tTt={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},nTt={chain:"Santiment Intelligence Network",chainId:32382,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:32382,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sanr.app"}]},rpc:["https://32382.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.sanr.app"],shortName:"SANR",slug:"santiment-intelligence-network",testnet:!1},aTt={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},rTt={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},fTt={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},iTt={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},sTt={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},oTt={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},cTt={chain:"Avalanche",chainId:33100,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7864",nativeCurrency:{name:"QaUser7864 Token",symbol:"MBP",decimals:18},networkId:33100,redFlags:[],rpc:["https://33100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7864",slug:"qauser7864",testnet:!0},dTt={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},lTt={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},uTt={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},pTt={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},hTt={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},mTt={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},bTt={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},yTt={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},gTt={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},vTt={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},wTt={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},TTt={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},xTt={chain:"ETH",chainId:34443,explorers:[{name:"modescout",url:"https://explorer.mode.network",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreidi5y7afj5z4xrz7uz5rkg2mcsv2p2n4ui4g7q4k4ecdz65i2agou",width:2160,height:2160,format:"png"},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},ETt={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},_Tt={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},ATt={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},CTt={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},ITt={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},kTt={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},STt={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},RTt={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},MTt={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},BTt={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},DTt={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},PTt={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},LTt={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},FTt={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},NTt={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},OTt={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},UTt={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},HTt={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},zTt={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},WTt={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},qTt={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},jTt={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},GTt={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},KTt={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},QTt={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},VTt={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},YTt={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},$Tt={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},JTt={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},XTt={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},ZTt={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},ext={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},txt={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},nxt={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},axt={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},rxt={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},fxt={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},ixt={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},sxt={chain:"Avalanche",chainId:41847,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606T3TP",nativeCurrency:{name:"QR0606T3TP Token",symbol:"HRQ",decimals:18},networkId:41847,redFlags:[],rpc:["https://41847.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606t3tp/testnet/rpc"],shortName:"QR0606T3TP",slug:"qr0606t3tp",testnet:!0},oxt={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},cxt={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},LHe={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},dxt={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},XS={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},lxt={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},uxt={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},pxt={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},hxt={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},mxt={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"},bxt={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},yxt={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},gxt={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},vxt={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"},wxt={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},Txt={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},FHe={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},NHe={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},xxt={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},Ext={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},_xt={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},Axt={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},Cxt={chain:"Avalanche",chainId:43994,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606T1TP",nativeCurrency:{name:"QR0606T1TP Token",symbol:"HRQ",decimals:18},networkId:43994,redFlags:[],rpc:["https://43994.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606t1tp/testnet/rpc"],shortName:"QR0606T1TP",slug:"qr0606t1tp",testnet:!0},Ixt={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},kxt={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},Sxt={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},ZS={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},Rxt={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},Mxt={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},Bxt={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},Dxt={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},Pxt={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"},Lxt={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},Fxt={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},Nxt={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},Oxt={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},Uxt={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},Hxt={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},zxt={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},Wxt={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},qxt={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},jxt={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},Gxt={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},Kxt={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},Qxt={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},Vxt={chain:"Avalanche",chainId:48795,explorers:[{name:"SPACE Explorer",url:"https://subnets-test.avax.network/space",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:"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},Yxt={chain:"Zircuit Testnet",chainId:48899,explorers:[{name:"Zircuit",url:"https://explorer.zircuit.com",standard:"none",icon:{url:"ipfs://QmV4nUUiRaTTZSyWubpF98ZL9jNCoXkrgg6AWR6FKqdxMk",width:256,height:256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmV4nUUiRaTTZSyWubpF98ZL9jNCoXkrgg6AWR6FKqdxMk",width:256,height:256,format:"png"},infoURL:"https://www.zircuit.com/",name:"Zircuit Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:48899,rpc:["https://48899.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zircuit1.p2pify.com/"],shortName:"zircuit-testnet",slug:"zircuit-testnet",testnet:!0},$xt={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"},Jxt={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},Xxt={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"},Zxt={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},eEt={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},tEt={chain:"Avalanche",chainId:49995,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606T2TP",nativeCurrency:{name:"QR0606T2TP Token",symbol:"HRQ",decimals:18},networkId:49995,redFlags:[],rpc:["https://49995.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606t2tp/testnet/rpc"],shortName:"QR0606T2TP",slug:"qr0606t2tp",testnet:!0},nEt={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},aEt={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},rEt={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},fEt={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},iEt={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},sEt={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},oEt={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},cEt={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},dEt={chain:"Avalanche",chainId:51173,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1544",nativeCurrency:{name:"QaUser1544 Token",symbol:"ECX",decimals:18},networkId:51173,redFlags:[],rpc:["https://51173.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1544",slug:"qauser1544",testnet:!0},lEt={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},uEt={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},pEt={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},hEt={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},mEt={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},bEt={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},yEt={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},gEt={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},vEt={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},wEt={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},TEt={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},xEt={chain:"Superseed Sepolia Testnet",chainId:53302,explorers:[{name:"blockscout",url:"https://sepolia-explorer.superseed.xyz",standard:"EIP3091",icon:{url:"ipfs://QmSyw4AhwGALxb17qWLZgzpHJksqdqNvWuNrhuoMPfb61C",width:512,height:512,format:"svg"}}],faucets:["https://sepoliafaucet.com"],features:[],icon:{url:"ipfs://QmSyw4AhwGALxb17qWLZgzpHJksqdqNvWuNrhuoMPfb61C",width:512,height:512,format:"svg"},infoURL:"https://www.superseed.xyz",name:"Superseed Sepolia Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:53302,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://sepolia-bridge.superseed.xyz/"}]},redFlags:[],rpc:["https://53302.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.superseed.xyz","wss://sepolia.superseed.xyz"],shortName:"superseed-sepolia-testnet",slip44:1,slug:"superseed-sepolia-testnet",testnet:!0},EEt={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},_Et={chain:"Avalanche",chainId:53399,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I4",nativeCurrency:{name:"QI0603I4 Token",symbol:"UQI",decimals:18},networkId:53399,redFlags:[],rpc:["https://53399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I4",slug:"qi0603i4",testnet:!0},AEt={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"},CEt={chain:"Avalanche",chainId:53654,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0610S1TS",nativeCurrency:{name:"QI0610S1TS Token",symbol:"TQA",decimals:18},networkId:53654,redFlags:[],rpc:["https://53654.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0610S1TS",slug:"qi0610s1ts",testnet:!0},IEt={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},kEt={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},SEt={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},REt={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},MEt={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},BEt={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},DEt={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},PEt={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},LEt={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},FEt={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},NEt={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},OEt={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},UEt={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},HEt={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},zEt={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},WEt={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},qEt={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},jEt={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},GEt={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},KEt={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},QEt={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},VEt={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},YEt={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},$Et={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},JEt={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},XEt={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},ZEt={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},e_t={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},t_t={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},n_t={chain:"coinsecnetwork",chainId:57451,explorers:[{name:"coinsec network",url:"https://explorer.coinsec.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWm9biSavZ4ixNNSe8KhxiYgYaejY6Y4xRaqmz9fXimo5",width:1136,height:1112,format:"png"},infoURL:"https://explorer.coinsec.network/",name:"COINSEC",nativeCurrency:{name:"COINSEC",symbol:"SEC",decimals:18},networkId:57451,rpc:["https://57451.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.coinsec.network"],shortName:"coinsecnetwork",slug:"coinsec",testnet:!1,title:"COINSEC Network"},a_t={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},r_t={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},f_t={chain:"Avalanche",chainId:57822,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6586",nativeCurrency:{name:"QaUser6586 Token",symbol:"FUS",decimals:18},networkId:57822,redFlags:[],rpc:["https://57822.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6586",slug:"qauser6586",testnet:!0},i_t={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},s_t={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},o_t={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},c_t={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},d_t={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},l_t={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},u_t={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},p_t={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"},h_t={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"},m_t={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"},b_t={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},y_t={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},g_t={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},v_t={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},w_t={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},T_t={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},x_t={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},E_t={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},__t={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},A_t={chain:"Avalanche",chainId:60147,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6828",nativeCurrency:{name:"QaUser6828 Token",symbol:"CLL",decimals:18},networkId:60147,redFlags:[],rpc:["https://60147.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6828",slug:"qauser6828",testnet:!0},C_t={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","https://bob-mainnet.public.blastapi.io","wss://bob-mainnet.public.blastapi.io"],shortName:"bob",slug:"bob",status:"active",testnet:!1},I_t={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},k_t={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},S_t={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},R_t={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},M_t={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},B_t={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},D_t={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},P_t={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},L_t={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},F_t={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},N_t={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},O_t={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},U_t={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},H_t={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},z_t={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},W_t={chain:"Citrea",chainId:62298,explorers:[{name:"Citrea Devnet Explorer",url:"https://explorer.devnet.citrea.xyz",standard:"EIP3091",icon:{url:"ipfs://QmTfgH4X7ZWkHprKgjUZ7SDcCGtS5f2CBuaTEtQYMsydmJ",width:480,height:480,format:"png"}}],faucets:["https://citrea.xyz/bridge"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTfgH4X7ZWkHprKgjUZ7SDcCGtS5f2CBuaTEtQYMsydmJ",width:480,height:480,format:"png"},infoURL:"https://citrea.xyz",name:"Citrea Devnet",nativeCurrency:{name:"Citrea BTC",symbol:"cBTC",decimals:18},networkId:62298,rpc:["https://62298.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.devnet.citrea.xyz"],shortName:"citrea-devnet",slug:"citrea-devnet",testnet:!1},Kse={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},q_t={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},j_t={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},G_t={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},K_t={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},Q_t={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},V_t={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},Y_t={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},$_t={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},J_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},X_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},Z_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},eAt={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},tAt={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},nAt={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},aAt={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},rAt={chain:"Avalanche",chainId:64947,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0604S1T",nativeCurrency:{name:"QR0604S1T Token",symbol:"GKN",decimals:18},networkId:64947,redFlags:[],rpc:["https://64947.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0604s1t/testnet/rpc"],shortName:"QR0604S1T",slug:"qr0604s1t",testnet:!0},fAt={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},iAt={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},sAt={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},oAt={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},cAt={chain:"Avalanche",chainId:65622,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Live Stripe Test",nativeCurrency:{name:"Live Stripe Test Token",symbol:"LST",decimals:18},networkId:65622,redFlags:[],rpc:["https://65622.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/livestripe/testnet/rpc"],shortName:"Live Stripe Test",slug:"live-stripe-test",testnet:!0},dAt={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},lAt={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},uAt={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},pAt={chain:"Avalanche",chainId:66729,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0605S1T",nativeCurrency:{name:"QR0605S1T Token",symbol:"GKN",decimals:18},networkId:66729,redFlags:[],rpc:["https://66729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0605s1t/testnet/rpc"],shortName:"QR0605S1T",slug:"qr0605s1t",testnet:!0},hAt={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},mAt={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},bAt={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},yAt={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},gAt={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},vAt={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},wAt={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},TAt={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},xAt={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},EAt={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},_At={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},AAt={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},CAt={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},IAt={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},kAt={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"},SAt={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},RAt={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},MAt={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},BAt={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},DAt={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},PAt={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},LAt={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},FAt={chain:"Avalanche",chainId:70157,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"jonoperf",nativeCurrency:{name:"jonoperf Token",symbol:"JONO",decimals:18},networkId:70157,redFlags:[],rpc:["https://70157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jonoperf/testnet/rpc"],shortName:"jonoperf",slug:"jonoperf",testnet:!0},NAt={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},OAt={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},UAt={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},HAt={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},zAt={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},WAt={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},qAt={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},jAt={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},GAt={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},KAt={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},QAt={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},VAt={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},YAt={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},$At={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},JAt={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},XAt={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},ZAt={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},eCt={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},tCt={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},nCt={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},aCt={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},rCt={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},fCt={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},iCt={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},sCt={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},oCt={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},cCt={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},dCt={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},lCt={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},uCt={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},pCt={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},hCt={chain:"GEEK Test",chainId:75513,explorers:[{name:"Geek Testnet Explorer",url:"https://explorer-testnet.geekout-pte.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.geekout-pte.com",name:"GEEK Verse Testnet",nativeCurrency:{name:"Geek",symbol:"GEEK",decimals:18},networkId:75513,rpc:["https://75513.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.geekout-pte.com"],shortName:"GEEK_Test",slug:"geek-verse-testnet",testnet:!0},mCt={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},bCt={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},yCt={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},gCt={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},vCt={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},wCt={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},TCt={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},xCt={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},ECt={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},_Ct={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},ACt={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},CCt={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},ICt={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},kCt={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},SCt={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},RCt={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},MCt={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},BCt={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"},DCt={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},PCt={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},LCt={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},FCt={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},NCt={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},OCt={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},MW={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"},UCt={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"},HCt={chain:"Berachain",chainId:80084,explorers:[{name:"Beratrail",url:"https://bartio.beratrail.io",standard:"none"}],faucets:["https://bartio.faucet.berachain.com/"],features:[],icon:{url:"https://d391b93f5f62d9c15f67142e43841acc.ipfscdn.io/ipfs/QmW2xrDkSqBB7qgftp5PUecEGg4zwUBJgSN45CaR7CKJMr",width:360,height:360,format:"png"},name:"Berachain bArtio",nativeCurrency:{name:"BERA",symbol:"BERA",decimals:18},networkId:80084,redFlags:[],rpc:["https://80084.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://quicknode-rpc.berachain.com","https://bartio.rpc.berachain.com","https://rpc.ankr.com/berachain_testnet"],shortName:"Berachain",slug:"berachain-bartio",testnet:!0},zCt={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},WCt={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},qCt={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},jCt={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},GCt={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},KCt={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},QCt={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},VCt={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},YCt={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},$Ct={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},JCt={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},XCt={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},ZCt={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},eIt={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},tIt={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},nIt={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},aIt={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},rIt={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","https://blast-rpc.publicnode.com"],shortName:"blastmainnet",slug:"blast-blastmainnet",status:"active",testnet:!1},fIt={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},iIt={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},sIt={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},oIt={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},cIt={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},dIt={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},lIt={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},uIt={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},pIt={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},hIt={chain:"ZEDXION",chainId:83872,explorers:[{name:"Zedscan",url:"http://zedscan.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZ5DXJVxuMRvKzKstFte3TahJ4LSDsGd8DWTrYEPbSjTu",width:254,height:254,format:"png"},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},mIt={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},bIt={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},yIt={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},BW={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},gIt={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},vIt={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},wIt={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},TIt={chain:"Avalanche",chainId:84977,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1151",nativeCurrency:{name:"QaUser1151 Token",symbol:"AWU",decimals:18},networkId:84977,redFlags:[],rpc:["https://84977.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1151",slug:"qauser1151",testnet:!0},xIt={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},EIt={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},_It={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},AIt={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},CIt={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},IIt={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},kIt={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},SIt={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},RIt={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},MIt={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},BIt={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},DIt={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},PIt={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},LIt={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},FIt={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},NIt={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},OIt={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},UIt={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},HIt={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},zIt={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},WIt={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},qIt={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},jIt={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"},GIt={chain:"Avalanche",chainId:90343,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I2",nativeCurrency:{name:"QI0603I2 Token",symbol:"UQI",decimals:18},networkId:90343,redFlags:[],rpc:["https://90343.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I2",slug:"qi0603i2",testnet:!0},KIt={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},QIt={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},VIt={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},YIt={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"},$It={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},JIt={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},XIt={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"},ZIt={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},ekt={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},tkt={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},nkt={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},akt={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},rkt={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},fkt={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},ikt={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},skt={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},okt={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},ckt={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},dkt={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},lkt={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},ukt={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},pkt={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},hkt={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},mkt={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},bkt={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},ykt={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},gkt={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},vkt={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},wkt={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},Tkt={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},xkt={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},Ekt={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},_kt={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},Akt={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},Ckt={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},Ikt={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},kkt={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},Skt={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},Rkt={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},Mkt={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},Bkt={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},Dkt={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},Pkt={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},Lkt={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},Fkt={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},Nkt={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},Okt={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},Ukt={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},Hkt={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},zkt={chain:"OptimusZ7",chainId:97970,explorers:[{name:"OptimusZ7 Testnet Explorer",url:"https://testnet.optimusz7.com",standard:"EIP3091"}],faucets:["https://faucet.optimusz7.com"],icon:{url:"ipfs://Qmerd9Q3otjDuQAFbdiQyUnZk7UfPvkCr21E5N4VCNvhbj",width:493,height:506,format:"png"},infoURL:"http://optimusz7.com",name:"OptimusZ7 Testnet",nativeCurrency:{name:"OptimusZ7",symbol:"OZ7",decimals:18},networkId:97970,rpc:["https://97970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.optimusz7.com"],shortName:"OZ7t",slug:"optimusz7-testnet",testnet:!0},Wkt={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},qkt={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},jkt={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},Gkt={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},Kkt={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"},Qkt={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},Vkt={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},Ykt={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},$kt={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},Jkt={chain:"Avalanche",chainId:99512,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0611I1",nativeCurrency:{name:"QI0611I1 Token",symbol:"IJQ",decimals:18},networkId:99512,redFlags:[],rpc:["https://99512.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0611I1",slug:"qi0611i1",testnet:!0},Xkt={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},Zkt={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},eSt={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},tSt={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},nSt={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},aSt={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},rSt={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},fSt={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},iSt={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},sSt={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},oSt={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},cSt={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},dSt={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},lSt={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},uSt={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},pSt={chain:"QuarkChain",chainId:100011,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain L2 Mainnet",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100011,parent:{type:"L2",chain:"eip155-100000"},rpc:["https://100011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-l2-ethapi.quarkchain.io"],shortName:"qkc-l2",slug:"quarkchain-l2",testnet:!1},hSt={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},mSt={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},bSt={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},ySt={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},gSt={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},vSt={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},wSt={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},TSt={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},xSt={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},ESt={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},_St={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},ASt={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},CSt={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},ISt={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},kSt={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},SSt={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},RSt={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},MSt={chain:"QuarkChain",chainId:110011,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain L2 Testnet",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110011,parent:{type:"L2",chain:"eip155-110000"},rpc:["https://110011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-l2-ethapi.quarkchain.io"],shortName:"qkc-l2-t",slug:"quarkchain-l2-testnet",testnet:!0},BSt={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},DSt={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},PSt={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"},LSt={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},FSt={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"},NSt={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},OSt={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},USt={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},HSt={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},zSt={chain:"Form",chainId:132902,explorers:[{name:"Form Testnet explorer",url:"https://testnet-explorer.form.network",standard:"EIP3091"}],faucets:["https://info.form.network/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],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","https://testnet-rpc.form.network/http","wss://testnet-rpc.form.network/ws"],shortName:"Form",slug:"form-testnet",testnet:!0,title:"https://explorer.form.network/"},WSt={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},qSt={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"},jSt={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},GSt={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},KSt={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},QSt={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},VSt={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},YSt={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},$St={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},JSt={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},XSt={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},ZSt={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},eRt={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},tRt={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},nRt={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},aRt={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},rRt={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},fRt={chain:"Bitlayer",chainId:200810,explorers:[{name:"bitlayer testnet scan",url:"https://testnet.btrscan.com",standard:"EIP3091"}],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},iRt={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},sRt={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},oRt={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},cRt={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},dRt={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},lRt={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},uRt={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},pRt={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"},hRt={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},mRt={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"},bRt={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},yRt={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},gRt={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},vRt={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},wRt={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},TRt={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},xRt={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},ERt={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},_Rt={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},ARt={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},CRt={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},IRt={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},kRt={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},SRt={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},RRt={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},MRt={chain:"Orange Chain",chainId:240515,explorers:[{name:"Blockscout",url:"https://testnet-scan.orangechain.xyz",standard:"EIP3091",icon:{url:"ipfs://QmWcaVLcPYBxi76HYJc4qudLJwXtfNCDJieLHAs632jMEA",width:1042,height:1042,format:"png"}}],faucets:[],icon:{url:"ipfs://QmWcaVLcPYBxi76HYJc4qudLJwXtfNCDJieLHAs632jMEA",width:1042,height:1042,format:"png"},infoURL:"https://orangechain.xyz",name:"Orange Chain Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:240515,rpc:["https://240515.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.orangechain.xyz"],shortName:"Orange-Chain-Testnet",slug:"orange-chain-testnet",testnet:!0,title:"Orange Chain Testnet"},BRt={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},DRt={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},PRt={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},LRt={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},FRt={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},NRt={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},ORt={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},URt={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},HRt={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},zRt={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},WRt={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},qRt={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},jRt={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},GRt={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},KRt={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},QRt={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"},VRt={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},YRt={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},$Rt={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},JRt={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},XRt={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},ZRt={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},eMt={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},tMt={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},nMt={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},aMt={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},rMt={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},fMt={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},iMt={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},sMt={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},oMt={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},cMt={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},dMt={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},lMt={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},uMt={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},pMt={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},hMt={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},mMt={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},bMt={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},yMt={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},gMt={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},vMt={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},wMt={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"},TMt={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"},OHe={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"},xMt={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"},EMt={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},_Mt={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},AMt={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},CMt={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},IMt={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"},kMt={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},SMt={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},RMt={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},MMt={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},BMt={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},DMt={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},PMt={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},LMt={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"},FMt={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},NMt={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},OMt={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},UMt={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},HMt={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},zMt={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"},WMt={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},qMt={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},jMt={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},GMt={chain:"ATLAS",chainId:622463,explorers:[{name:"Atlas Testnet Scan",url:"https://explorer.testnet.atl.network",standard:"EIP3091",icon:{url:"ipfs://QmcSWGcoqC3y8VKahRdqPDgD68rr6A1gWVQPRt5FcpgWmG",width:587,height:174,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmcSWGcoqC3y8VKahRdqPDgD68rr6A1gWVQPRt5FcpgWmG",width:587,height:174,format:"svg"},infoURL:"https://atl.network",name:"Atlas",nativeCurrency:{name:"TON",symbol:"TON",decimals:18},networkId:622463,rpc:["https://622463.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.atl.network"],shortName:"atlas-testnet",slug:"atlas",testnet:!0,title:"Atlas Testnet"},KMt={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},QMt={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},VMt={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},YMt={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},$Mt={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},JMt={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},XMt={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},ZMt={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},eBt={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},tBt={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},nBt={chain:"ERAM",chainId:721529,explorers:[{name:"Eramscan",url:"https://eramscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQyu82MtGVLYMwCc5rseNXDV12V3UUX7iNq8q86SyeaPh",width:258,height:258,format:"png"},infoURL:"http://doc.eramscan.com/",name:"ERAM Mainnet",nativeCurrency:{name:"ERAM",symbol:"ERAM",decimals:18},networkId:721529,rpc:["https://721529.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.eramscan.com"],shortName:"ERAM",slug:"eram",testnet:!1},aBt={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},rBt={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},fBt={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},iBt={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},sBt={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},oBt={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},cBt={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},dBt={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},lBt={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},uBt={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},pBt={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},hBt={chain:"Trust Smart Chain Testnet",chainId:820522,explorers:[{name:"tscscan",url:"https://testnet.tscscan.io",standard:"none",icon:{url:"ipfs://QmZWF4RcDtxuFRRGgMMuDV7FWCYR6kA9cAUTk12iADU52U",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYmQAo5hSr16LDeSbWbXfKdF6qa2zCoK7e88r2f7RiFdt",width:1024,height:1024,format:"png"},infoURL:"https://www.trias.one",name:"TSC Testnet",nativeCurrency:{name:"TAS",symbol:"tTAS",decimals:18},networkId:820025,rpc:["https://820522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.tscscan.io/testrpc"],shortName:"tTSC",slug:"tsc-testnet",testnet:!0},mBt={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},bBt={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},yBt={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},gBt={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},vBt={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},wBt={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"},TBt={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},xBt={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},EBt={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},_Bt={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},ABt={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},CBt={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},IBt={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},kBt={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},SBt={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},RBt={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},MBt={chain:"Avalanche",chainId:922935,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0607t1ts",nativeCurrency:{name:"QR0607t1ts Token",symbol:"WAP",decimals:18},networkId:922935,redFlags:[],rpc:["https://922935.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0607t1ts/testnet/rpc"],shortName:"QR0607t1ts",slug:"qr0607t1ts",testnet:!0},BBt={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},DBt={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},PBt={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},LBt={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},FBt={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},NBt={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},OBt={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},UBt={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},HBt={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},zBt={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},WBt={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},qBt={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},jBt={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},GBt={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},KBt={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},QBt={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},VBt={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},YBt={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},$Bt={chain:"treasure",chainId:978657,explorers:[{name:"treasurescan",url:"https://testnet.treasurescan.io",standard:"EIP3091",icon:{url:"ipfs://Qmd532nWBVgUJy8m9ajGKwb2oaFPdnB7Xngepge2sarNBm",width:24,height:24,format:"svg"}},{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:[{name:"EIP155"},{name:"EIP1559"}],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,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://portal.treasure.lol/bridge"}]},redFlags:[],rpc:["https://978657.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.treasure.lol/http","wss://rpc-testnet.treasure.lol/ws"],shortName:"MAGIC",slip44:1,slug:"treasure-ruby",testnet:!0},JBt={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},XBt={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},ZBt={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},eDt={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},tDt={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},nDt={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},aDt={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},rDt={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},fDt={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},iDt={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},sDt={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},oDt={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},cDt={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"},dDt={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"},lDt={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},uDt={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"},pDt={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},hDt={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},mDt={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"},bDt={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},yDt={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},gDt={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},vDt={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},wDt={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},TDt={chain:"Xterio Testnet",chainId:1637450,explorers:[{name:"Xterio Testnet Explorer",url:"https://testnet.xterscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://xter.io",name:"Xterio Testnet",nativeCurrency:{name:"tBNB",symbol:"tBNB",decimals:18},networkId:1637450,rpc:["https://1637450.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xterio-testnet.alt.technology"],shortName:"xteriotest",slug:"xterio-testnet",testnet:!0},xDt={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},EDt={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},_Dt={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},ADt={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},CDt={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},IDt={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},kDt={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},SDt={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},RDt={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},MDt={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},BDt={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},DDt={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},PDt={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},LDt={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},FDt={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},NDt={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},ODt={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},UDt={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},HDt={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},zDt={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"},WDt={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},qDt={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},jDt={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"},GDt={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},KDt={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},QDt={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},VDt={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},YDt={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},$Dt={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},Qse={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},JDt={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},XDt={chain:"tFHE",chainId:8008135,explorers:[{name:"Fhenix Helium Explorer (Blockscout)",url:"https://explorer.helium.fhenix.zone",standard:"EIP3091"}],faucets:["https://get-helium.fhenix.zone"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.fhenix.io",name:"Fhenix Helium",nativeCurrency:{name:"tFHE",symbol:"tFHE",decimals:18},networkId:8008135,rpc:["https://8008135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.helium.fhenix.zone"],shortName:"fhe-helium",slug:"fhenix-helium",testnet:!1},ZDt={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},ePt={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},tPt={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},nPt={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},aPt={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},rPt={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"},fPt={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"},iPt={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},sPt={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},oPt={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},UHe={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"},DW={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},cPt={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"},dPt={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},lPt={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},uPt={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},pPt={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},hPt={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},mPt={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},bPt={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},yPt={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},gPt={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},vPt={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},wPt={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},TPt={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},xPt={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},EPt={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},_Pt={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},APt={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},CPt={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},IPt={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},kPt={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},SPt={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},RPt={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"},MPt={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},BPt={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},DPt={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},PPt={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},LPt={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},FPt={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},NPt={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},OPt={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},UPt={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},HPt={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},zPt={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},WPt={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},qPt={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"},jPt={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},GPt={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"},KPt={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},QPt={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"},VPt={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"},YPt={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},$Pt={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},JPt={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"},XPt={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},ZPt={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},eLt={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},tLt={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},nLt={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},aLt={chain:"ETH",chainId:328527624,explorers:[{name:"Nal Sepolia Testnet Network Explorer",url:"https://testnet-scan.nal.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZLZHX18YUswejxo1JFNPx5EwMsVhUwBeBWEcd1JUHAK5",width:640,height:640,format:"png"},infoURL:"https://www.nal.network",name:"Nal Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:328527624,rpc:["https://328527624.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.nal.network"],shortName:"nalsep",slug:"nal-sepolia-testnet",testnet:!0},rLt={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"},fLt={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"},iLt={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},sLt={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"},oLt={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},cLt={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},dLt={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"},lLt={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},uLt={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"},pLt={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"},hLt={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"},Vse={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},mLt={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"},bLt={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},yLt={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},gLt={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"},vLt={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},wLt={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},TLt={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},xLt={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},ELt={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},_Lt={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"},ALt={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},CLt={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},ILt={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"},kLt={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},SLt={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},RLt={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},MLt={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},BLt={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},DLt={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},PLt={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},LLt={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},FLt={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},NLt={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},OLt={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},ULt={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},HLt={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},zLt={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},WLt={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},qLt={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},jLt={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},GLt={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},KLt={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},QLt={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},VLt={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"},YLt={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},$Lt={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},JLt={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"},XLt={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},ZLt={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},eFt={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},tFt={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},nFt={chain:"GM Network Testnet",chainId:202402181627,explorers:[{name:"gmnetwork-testnet",url:"https://gmnetwork-testnet-explorer.alt.technology",standard:"EIP3091"}],faucets:[],infoURL:"https://gmnetwork.ai",name:"GM Network Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:202402181627,rpc:["https://202402181627.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gmnetwork-testnet.alt.technology/"],shortName:"gmnetwork-testnet",slug:"gm-network-testnet",testnet:!0},aFt={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},rFt={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},fFt={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},iFt={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},sFt={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"},oFt={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"};r1=[M6,UHe,RW,BW,Q7,MW,LHe,OHe,SW,DW,RHe,MHe,BHe,PHe,NHe,FHe,DHe],cFt=[M6,ust,pst,hst,mst,bst,yst,gst,vst,SW,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,eot,tot,not,aot,rot,fot,iot,sot,oot,cot,dot,RHe,lot,uot,pot,hot,mot,bot,yot,got,vot,wot,Tot,xot,Eot,_ot,Aot,Cot,Iot,kot,Sot,Rot,Mot,Bot,Dot,Pot,Lot,Fot,Not,Oot,Uot,Hot,zot,Wot,qot,jot,Got,Kot,Qot,Vot,Yot,$ot,MHe,Jot,Xot,Zot,e1t,t1t,n1t,a1t,r1t,f1t,i1t,s1t,o1t,c1t,d1t,l1t,u1t,p1t,h1t,m1t,b1t,y1t,g1t,v1t,w1t,T1t,x1t,E1t,_1t,A1t,C1t,I1t,k1t,S1t,R1t,M1t,B1t,D1t,P1t,Q7,L1t,F1t,N1t,O1t,U1t,H1t,z1t,jse,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,mct,bct,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,BHe,Zct,e6t,t6t,n6t,a6t,r6t,f6t,i6t,s6t,o6t,c6t,d6t,l6t,u6t,p6t,h6t,m6t,b6t,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,m5t,b5t,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,mdt,bdt,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,mlt,blt,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,eut,tut,nut,aut,rut,fut,iut,sut,out,cut,dut,lut,uut,put,hut,mut,but,yut,gut,vut,Gse,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,e2t,t2t,n2t,a2t,DHe,r2t,f2t,i2t,s2t,o2t,c2t,d2t,l2t,u2t,p2t,h2t,m2t,b2t,y2t,g2t,v2t,w2t,T2t,x2t,E2t,_2t,A2t,C2t,I2t,k2t,S2t,R2t,M2t,B2t,D2t,P2t,L2t,F2t,N2t,O2t,U2t,H2t,z2t,W2t,q2t,j2t,G2t,K2t,Q2t,V2t,Y2t,$2t,J2t,X2t,Z2t,ept,tpt,npt,apt,rpt,fpt,ipt,spt,opt,cpt,dpt,lpt,upt,ppt,hpt,mpt,bpt,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,m8t,b8t,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,mht,bht,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,m3t,b3t,y3t,g3t,v3t,w3t,T3t,x3t,E3t,_3t,A3t,C3t,I3t,k3t,S3t,R3t,M3t,B3t,D3t,P3t,L3t,F3t,N3t,O3t,U3t,H3t,z3t,W3t,q3t,j3t,G3t,PHe,K3t,Q3t,V3t,Y3t,$3t,J3t,X3t,Z3t,emt,tmt,nmt,amt,rmt,fmt,imt,smt,omt,cmt,dmt,lmt,umt,pmt,hmt,mmt,bmt,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,mbt,bbt,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,e4t,t4t,n4t,a4t,r4t,f4t,i4t,s4t,o4t,c4t,d4t,l4t,u4t,p4t,h4t,m4t,b4t,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,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,myt,byt,yyt,RW,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,m7t,b7t,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,m9t,b9t,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,mgt,bgt,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,mvt,bvt,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,mwt,bwt,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,mTt,bTt,yTt,gTt,vTt,wTt,TTt,xTt,ETt,_Tt,ATt,CTt,ITt,kTt,STt,RTt,MTt,BTt,DTt,PTt,LTt,FTt,NTt,OTt,UTt,HTt,zTt,WTt,qTt,jTt,GTt,KTt,QTt,VTt,YTt,$Tt,JTt,XTt,ZTt,ext,txt,nxt,axt,rxt,fxt,ixt,sxt,oxt,cxt,LHe,dxt,XS,lxt,uxt,pxt,hxt,mxt,bxt,yxt,gxt,vxt,wxt,Txt,FHe,NHe,xxt,Ext,_xt,Axt,Cxt,Ixt,kxt,Sxt,ZS,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,mEt,bEt,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,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,m_t,b_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,Kse,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,mAt,bAt,yAt,gAt,vAt,wAt,TAt,xAt,EAt,_At,AAt,CAt,IAt,kAt,SAt,RAt,MAt,BAt,DAt,PAt,LAt,FAt,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,mCt,bCt,yCt,gCt,vCt,wCt,TCt,xCt,ECt,_Ct,ACt,CCt,ICt,kCt,SCt,RCt,MCt,BCt,DCt,PCt,LCt,FCt,NCt,OCt,MW,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,mIt,bIt,yIt,BW,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,mkt,bkt,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,mSt,bSt,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,uRt,pRt,hRt,mRt,bRt,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,mMt,bMt,yMt,gMt,vMt,wMt,TMt,OHe,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,mBt,bBt,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,eDt,tDt,nDt,aDt,rDt,fDt,iDt,sDt,oDt,cDt,dDt,lDt,uDt,pDt,hDt,mDt,bDt,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,Qse,JDt,XDt,ZDt,ePt,tPt,nPt,aPt,rPt,fPt,iPt,sPt,oPt,UHe,DW,cPt,dPt,lPt,uPt,pPt,hPt,mPt,bPt,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,eLt,tLt,nLt,aLt,rLt,fLt,iLt,sLt,oLt,cLt,dLt,lLt,uLt,pLt,hLt,Vse,mLt,bLt,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,eFt,tFt,nFt,aFt,rFt,fFt,iFt,sFt,oFt]});function lFt(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 uFt(t){var e=lFt(t,"string");return typeof e=="symbol"?e:e+""}function Pe(t,e,n){return e=uFt(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ct=oe(()=>{"use strict";u();p()});function pFt(t){return t instanceof Uint8Array||t!=null&&typeof t=="object"&&t.constructor.name==="Uint8Array"}function Yse(t,...e){if(!pFt(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 $se(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 WHe(t,e){Yse(t);let n=e.outputLen;if(t.length{u();p()});function hFt(t){if(typeof t!="string")throw new Error(`utf8ToBytes expected string, got ${typeof t}`);return new Uint8Array(new TextEncoder().encode(t))}function Xse(t){return typeof t=="string"&&(t=hFt(t)),Yse(t),t}function qHe(t){let e=a=>t().update(Xse(a)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}var LW,xl,Gia,PW,Kia,Zse=oe(()=>{u();p();Jse();LW=t=>new DataView(t.buffer,t.byteOffset,t.byteLength),xl=(t,e)=>t<<32-e|t>>>e,Gia=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;PW=class{clone(){return this._cloneInto()}},Kia={}.toString});function mFt(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 jHe,GHe,FW,KHe=oe(()=>{u();p();Jse();Zse();jHe=(t,e,n)=>t&e^~t&n,GHe=(t,e,n)=>t&e^t&n^e&n,FW=class extends PW{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=LW(this.buffer)}update(e){$se(this);let{view:n,buffer:a,blockLen:r}=this;e=Xse(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();KHe();Zse();bFt=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]),Am=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Cm=new Uint32Array(64),eoe=class extends FW{constructor(){super(64,32,8,!1),this.A=Am[0]|0,this.B=Am[1]|0,this.C=Am[2]|0,this.D=Am[3]|0,this.E=Am[4]|0,this.F=Am[5]|0,this.G=Am[6]|0,this.H=Am[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)Cm[l]=e.getUint32(n,!1);for(let l=16;l<64;l++){let h=Cm[l-15],y=Cm[l-2],v=xl(h,7)^xl(h,18)^h>>>3,k=xl(y,17)^xl(y,19)^y>>>10;Cm[l]=k+Cm[l-7]+v+Cm[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=xl(s,6)^xl(s,11)^xl(s,25),y=d+h+jHe(s,o,c)+bFt[l]+Cm[l]|0,k=(xl(a,2)^xl(a,13)^xl(a,22))+GHe(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(){Cm.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},QHe=qHe(()=>new eoe)});var YHe=D((isa,NW)=>{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 x=="object"&&x.versions&&x.versions.node;f?a=global:r&&(a=self);for(var i=!a.JS_SHA3_NO_COMMON_JS&&typeof NW=="object"&&NW.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,me,ye,_e,ze,je,Ue,m0,h0,$e,M0,P0,t0,j0,z0,Ke,B0,K0,s0,J0,Y0,l0,Q0,et,p0,Z0,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,Q0=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,K0=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,et=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,Z0=Y[34]<<15|Y[35]>>>17,Et=Y[35]<<15|Y[34]>>>17,m0=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,J0=Y[8]<<27|Y[9]>>>5,Y0=Y[9]<<27|Y[8]>>>5,me=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^~me&_e,Y[11]=Ve^~ye&ze,Y[20]=$e^~P0&j0,Y[21]=M0^~t0&z0,Y[30]=J0^~l0&et,Y[31]=Y0^~Q0&p0,Y[40]=Pn^~Fn&On,Y[41]=Ln^~Nn&Ha,Y[2]=he^~Ce&Qe,Y[3]=Te^~Se&u0,Y[12]=me^~_e&je,Y[13]=ye^~ze&Ue,Y[22]=P0^~j0&Ke,Y[23]=t0^~z0&B0,Y[32]=l0^~et&Z0,Y[33]=Q0^~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&m0,Y[15]=ze^~Ue&h0,Y[24]=j0^~Ke&K0,Y[25]=z0^~B0&s0,Y[34]=et^~Z0&$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^~m0&w0,Y[17]=Ue^~h0&Ve,Y[26]=Ke^~K0&$e,Y[27]=B0^~s0&M0,Y[36]=Z0^~$0&J0,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]=m0^~w0&me,Y[19]=h0^~Ve&ye,Y[28]=K0^~$e&P0,Y[29]=s0^~M0&t0,Y[38]=$0^~J0&l0,Y[39]=Tt^~Y0&Q0,Y[48]=hr^~Pn&Fn,Y[49]=ar^~Ln&Nn,Y[0]^=k[ge],Y[1]^=k[ge+1]};if(i)NW.exports=g;else{for(M=0;Mr+f.length,0));let n=new Uint8Array(e),a=0;for(let r of t)ioe(r),n.set(r,a),a+=r.length;return n}function _Ft(t){if(typeof t!="string")throw new TypeError(`Expected \`string\`, got \`${typeof t}\``)}function AFt(t){return t.replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}function CFt(t){return t.replaceAll("-","+").replaceAll("_","/")}function kFt(t){let{urlSafe:e=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ioe(t);let n;if(t.lengthe.codePointAt(0))}function RFt(t){ioe(t);let e="";for(let n=0;n3&&arguments[3]!==void 0?arguments[3]:{},i=await OW(),{key:s,iv:o}=await LFt(n,t,a,r,f);try{let c=await i.subtle.decrypt({name:"AES-CBC",iv:o},s,e);return ZHe().decode(c)}catch{throw new Error("Decrypt failed")}}function PFt(t){let e=null,n=eze(t),[a,r]=roe(n,MFt*4),f=new DataView(a.buffer);return f.getInt32(0)===1398893684&&f.getInt32(4)===1701076831&&([e,n]=roe(r,BFt*4)),{ciphertext:n,salt:e}}async function LFt(t,e,n,a,r){let f=await OW(),i=foe().encode(t),s=FFt(i,e,n+a,r),[o,c]=roe(s,n*4);return{key:await f.subtle.importKey("raw",o,"AES-CBC",!1,["decrypt"]),iv:c}}function FFt(t,e,n,a){let r=new Uint8Array,f=new Uint8Array;for(;r.byteLength{"use strict";u();p();VHe();yFt=Ee(YHe()),toe=class{get encoder(){return this._encoder||(this._encoder=new TextEncoder),this._encoder}get decoder(){return this._decoder||(this._decoder=new TextDecoder),this._decoder}},XHe=new toe;$He="input is invalid type",gFt="finalize already called",vFt=[128,32768,8388608,-2147483648];noe=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(gFt);let[n,a]=wFt(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]|=vFt[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}};TFt=Object.prototype.toString,xFt="[object Uint8Array]";IFt=65535;SFt=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));MFt=2,BFt=2});function d0(t,e){if(!t){if(UFt)throw new Error(soe);var n=typeof e=="function"?e():e,a=n?"".concat(soe,": ").concat(n):soe;throw new Error(a)}}var UFt,soe,ir=oe(()=>{u();p();UFt=x.env.NODE_ENV==="production",soe="Invariant failed"});var rze=D((ysa,aze)=>{"use strict";u();p();function HFt(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}}aze.exports=HFt});var io=D((wsa,fze)=>{u();p();var zFt=rze(),WFt="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";fze.exports=zFt(WFt)});var sze,ize=oe(()=>{sze=[{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 ooe,oze=oe(()=>{ooe=[{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 dze,cze=oe(()=>{dze=[{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 coe,lze=oe(()=>{coe=[{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 doe,uze=oe(()=>{doe=[{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 K1=D((ksa,VFt)=>{VFt.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 hze,pze=oe(()=>{hze=[{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 loe,mze=oe(()=>{loe=[{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 zW,bze=oe(()=>{zW=[{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"}]});var gze,yze=oe(()=>{gze=[{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 uoe=D((Dsa,ZFt)=>{ZFt.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 wze,vze=oe(()=>{wze=[{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"}]});var xze,Tze=oe(()=>{xze=[{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 poe,Eze=oe(()=>{poe=[{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 Aze,_ze=oe(()=>{Aze=[{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 yx=D((Osa,rNt)=>{rNt.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 Ize,Cze=oe(()=>{Ize=[{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 Sze,kze=oe(()=>{Sze=[{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 Mze,Rze=oe(()=>{Mze=[{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var eR,Bze=oe(()=>{eR=[{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 hoe,Dze=oe(()=>{hoe=[{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 Lze,Pze=oe(()=>{Lze=[{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 Nze,Fze=oe(()=>{Nze=[{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 Uze,Oze=oe(()=>{Uze=[{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 zze,Hze=oe(()=>{zze=[{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 qze,Wze=oe(()=>{qze=[{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 Gze,jze=oe(()=>{Gze=[{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 moe,Kze=oe(()=>{moe=[{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 boe=D((Jsa,yNt)=>{yNt.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 Vze,Qze=oe(()=>{Vze=[{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 $ze,Yze=oe(()=>{$ze=[{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 Xze,Jze=oe(()=>{Xze=[{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 yoe,Zze=oe(()=>{yoe=[{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 tWe,eWe=oe(()=>{tWe=[{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 aWe,nWe=oe(()=>{aWe=[{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 gx=D((roa,_Nt)=>{_Nt.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 goe=D((foa,ANt)=>{ANt.exports=[{type:"function",name:"uri",inputs:[{name:"_id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}]});var fWe,rWe=oe(()=>{fWe=[{type:"function",name:"totalSupply",inputs:[{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var sWe,iWe=oe(()=>{sWe=[{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var voe,oWe=oe(()=>{voe=[{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 dWe,cWe=oe(()=>{dWe=[{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 uWe,lWe=oe(()=>{uWe=[{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"}]});var hWe,pWe=oe(()=>{hWe=[{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 bWe,mWe=oe(()=>{bWe=[{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 gWe,yWe=oe(()=>{gWe=[{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 wWe,vWe=oe(()=>{wWe=[{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 xWe,TWe=oe(()=>{xWe=[{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 WW,woe=oe(()=>{WW=[{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 _We,EWe=oe(()=>{_We=[{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 CWe,AWe=oe(()=>{CWe=[{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 kWe,IWe=oe(()=>{kWe=[{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 RWe,SWe=oe(()=>{RWe=[{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 BWe,MWe=oe(()=>{BWe=[{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 PWe,DWe=oe(()=>{PWe=[{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 FWe,LWe=oe(()=>{FWe=[{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 OWe,NWe=oe(()=>{OWe=[{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 HWe,UWe=oe(()=>{HWe=[{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 WWe,zWe=oe(()=>{WWe=[{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 jWe,qWe=oe(()=>{jWe=[{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 KWe,GWe=oe(()=>{KWe=[{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 VWe,QWe=oe(()=>{VWe=[{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 qW=D((Roa,$Nt)=>{$Nt.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 Toe=D((Moa,JNt)=>{JNt.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 xoe=D((Boa,XNt)=>{XNt.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 tR=D((Doa,ZNt)=>{ZNt.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 $We=D((Poa,YWe)=>{"use strict";u();p();function eOt(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}}YWe.exports=eOt});var jW=D((Noa,JWe)=>{"use strict";u();p();var tOt=new TextDecoder,nOt=t=>tOt.decode(t),aOt=new TextEncoder,rOt=t=>aOt.encode(t);function fOt(t,e){let n=new Uint8Array(e),a=0;for(let r of t)n.set(r,a),a+=r.length;return n}JWe.exports={decodeText:nOt,encodeText:rOt,concat:fOt}});var ZWe=D((Hoa,XWe)=>{"use strict";u();p();var{encodeText:iOt}=jW(),Eoe=class{constructor(e,n,a,r){this.name=e,this.code=n,this.codeBuf=iOt(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)}};XWe.exports=Eoe});var tqe=D((qoa,eqe)=>{"use strict";u();p();var sOt=(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},oOt=(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 oOt(n,e,t)},decode(n){return sOt(n,e,t)}});eqe.exports={rfc4648:cOt}});var fqe=D((Koa,rqe)=>{"use strict";u();p();var nR=$We(),dOt=ZWe(),{rfc4648:so}=tqe(),{decodeText:lOt,encodeText:uOt}=jW(),pOt=()=>({encode:lOt,decode:uOt}),nqe=[["identity","\0",pOt,""],["base2","0",so(1),"01"],["base8","7",so(3),"01234567"],["base10","9",nR,"0123456789"],["base16","f",so(4),"0123456789abcdef"],["base16upper","F",so(4),"0123456789ABCDEF"],["base32hex","v",so(5),"0123456789abcdefghijklmnopqrstuv"],["base32hexupper","V",so(5),"0123456789ABCDEFGHIJKLMNOPQRSTUV"],["base32hexpad","t",so(5),"0123456789abcdefghijklmnopqrstuv="],["base32hexpadupper","T",so(5),"0123456789ABCDEFGHIJKLMNOPQRSTUV="],["base32","b",so(5),"abcdefghijklmnopqrstuvwxyz234567"],["base32upper","B",so(5),"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"],["base32pad","c",so(5),"abcdefghijklmnopqrstuvwxyz234567="],["base32padupper","C",so(5),"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567="],["base32z","h",so(5),"ybndrfg8ejkmcpqxot1uwisza345h769"],["base36","k",nR,"0123456789abcdefghijklmnopqrstuvwxyz"],["base36upper","K",nR,"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"],["base58btc","z",nR,"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"],["base58flickr","Z",nR,"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"],["base64","m",so(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"],["base64pad","M",so(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],["base64url","u",so(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"],["base64urlpad","U",so(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="]],aqe=nqe.reduce((t,e)=>(t[e[0]]=new dOt(e[0],e[1],e[2],e[3]),t),{}),hOt=nqe.reduce((t,e)=>(t[e[1]]=aqe[e[0]],t),{});rqe.exports={names:aqe,codes:hOt}});var aR=D((W8,sqe)=>{"use strict";u();p();var vx=fqe(),{encodeText:mOt,decodeText:GW,concat:iqe}=jW();function bOt(t,e){if(!e)throw new Error("requires an encoded Uint8Array");let{name:n,codeBuf:a}=V7(t);return wOt(n,e),iqe([a,e],a.length+e.length)}function yOt(t,e){let n=V7(t),a=mOt(n.encode(e));return iqe([n.codeBuf,a],n.codeBuf.length+a.length)}function gOt(t){t instanceof Uint8Array&&(t=GW(t));let e=t[0];return["f","F","v","V","t","T","b","B","c","C","h","k","K"].includes(e)&&(t=t.toLowerCase()),V7(t[0]).decode(t.substring(1))}function vOt(t){if(t instanceof Uint8Array&&(t=GW(t)),Object.prototype.toString.call(t)!=="[object String]")return!1;try{return V7(t[0]).name}catch{return!1}}function wOt(t,e){V7(t).decode(GW(e))}function V7(t){if(Object.prototype.hasOwnProperty.call(vx.names,t))return vx.names[t];if(Object.prototype.hasOwnProperty.call(vx.codes,t))return vx.codes[t];throw new Error(`Unsupported encoding: ${t}`)}function TOt(t){return t instanceof Uint8Array&&(t=GW(t)),V7(t[0])}W8=sqe.exports=bOt;W8.encode=yOt;W8.decode=gOt;W8.isEncoded=vOt;W8.encoding=V7;W8.encodingFromData=TOt;var xOt=Object.freeze(vx.names),EOt=Object.freeze(vx.codes);W8.names=xOt;W8.codes=EOt});var lqe=D((Joa,dqe)=>{u();p();dqe.exports=cqe;var oqe=128,_Ot=127,AOt=~_Ot,COt=Math.pow(2,31);function cqe(t,e,n){e=e||[],n=n||0;for(var a=n;t>=COt;)e[n++]=t&255|oqe,t/=128;for(;t&AOt;)e[n++]=t&255|oqe,t>>>=7;return e[n]=t|0,cqe.bytes=n-a+1,e}});var hqe=D((e1a,pqe)=>{u();p();pqe.exports=_oe;var IOt=128,uqe=127;function _oe(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s)throw _oe.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&uqe)<=IOt);return _oe.bytes=f-a,n}});var bqe=D((a1a,mqe)=>{u();p();var kOt=Math.pow(2,7),SOt=Math.pow(2,14),ROt=Math.pow(2,21),MOt=Math.pow(2,28),BOt=Math.pow(2,35),DOt=Math.pow(2,42),POt=Math.pow(2,49),LOt=Math.pow(2,56),FOt=Math.pow(2,63);mqe.exports=function(t){return t{u();p();yqe.exports={encode:lqe(),decode:hqe(),encodingLength:bqe()}});var wqe=D((c1a,vqe)=>{"use strict";u();p();var NOt=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});vqe.exports={names:NOt}});var fR=D((u1a,Cqe)=>{"use strict";u();p();var Tqe=aR(),wx=gqe(),{names:rR}=wqe(),{toString:KW}=(dx(),vn(Gz)),{fromString:OOt}=(PS(),vn(dse)),{concat:UOt}=(fx(),vn(Lz)),Tx={};for(let t in rR){let e=t;Tx[rR[e]]=e}Object.freeze(Tx);function HOt(t){if(!(t instanceof Uint8Array))throw new Error("must be passed a Uint8Array");return KW(t,"base16")}function zOt(t){return OOt(t,"base16")}function WOt(t){if(!(t instanceof Uint8Array))throw new Error("must be passed a Uint8Array");return KW(Tqe.encode("base58btc",t)).slice(1)}function qOt(t){let e=t instanceof Uint8Array?KW(t):t;return Tqe.decode("z"+e)}function xqe(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=wx.decode(t);if(!_qe(e))throw new Error(`multihash unknown function code: 0x${e.toString(16)}`);t=t.slice(wx.decode.bytes);let n=wx.decode(t);if(n<0)throw new Error(`multihash invalid length: ${n}`);if(t=t.slice(wx.decode.bytes),t.length!==n)throw new Error(`multihash length inconsistent: 0x${KW(t,"base16")}`);return{code:e,name:Tx[e],length:n,digest:t}}function jOt(t,e,n){if(!t||e===void 0)throw new Error("multihash encode requires at least two args: digest, code");let a=Eqe(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=wx.encode(a),f=wx.encode(n);return UOt([r,f,t],r.length+f.length+t.length)}function Eqe(t){let e=t;if(typeof t=="string"){if(rR[t]===void 0)throw new Error(`Unrecognized hash function named: ${t}`);e=rR[t]}if(typeof e!="number")throw new Error(`Hash function code should be a number. Got: ${e}`);if(Tx[e]===void 0&&!Aoe(e))throw new Error(`Unrecognized function code: ${e}`);return e}function Aoe(t){return t>0&&t<16}function _qe(t){return!!(Aoe(t)||Tx[t])}function Aqe(t){xqe(t)}function GOt(t){return Aqe(t),t.subarray(0,2)}Cqe.exports={names:rR,codes:Tx,toHexString:HOt,fromHexString:zOt,toB58String:WOt,fromB58String:qOt,decode:xqe,encode:jOt,coerceCode:Eqe,isAppCode:Aoe,validate:Aqe,prefix:GOt,isValidCode:_qe}});var Sqe=D((m1a,kqe)=>{u();p();kqe.exports=Coe;var Iqe=128,KOt=127,QOt=~KOt,VOt=Math.pow(2,31);function Coe(t,e,n){if(Number.MAX_SAFE_INTEGER&&t>Number.MAX_SAFE_INTEGER)throw Coe.bytes=0,new RangeError("Could not encode varint");e=e||[],n=n||0;for(var a=n;t>=VOt;)e[n++]=t&255|Iqe,t/=128;for(;t&QOt;)e[n++]=t&255|Iqe,t>>>=7;return e[n]=t|0,Coe.bytes=n-a+1,e}});var Bqe=D((g1a,Mqe)=>{u();p();Mqe.exports=Ioe;var YOt=128,Rqe=127;function Ioe(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s||r>49)throw Ioe.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&Rqe)<=YOt);return Ioe.bytes=f-a,n}});var Pqe=D((T1a,Dqe)=>{u();p();var $Ot=Math.pow(2,7),JOt=Math.pow(2,14),XOt=Math.pow(2,21),ZOt=Math.pow(2,28),eUt=Math.pow(2,35),tUt=Math.pow(2,42),nUt=Math.pow(2,49),aUt=Math.pow(2,56),rUt=Math.pow(2,63);Dqe.exports=function(t){return t<$Ot?1:t{u();p();Lqe.exports={encode:Sqe(),decode:Bqe(),encodingLength:Pqe()}});var Soe=D((I1a,Oqe)=>{"use strict";u();p();var Fqe=koe(),{toString:fUt}=(dx(),vn(Gz)),{fromString:iUt}=(PS(),vn(dse));Oqe.exports={numberToUint8Array:sUt,uint8ArrayToNumber:Nqe,varintUint8ArrayEncode:oUt,varintEncode:cUt};function Nqe(t){return parseInt(fUt(t,"base16"),16)}function sUt(t){let e=t.toString(16);return e.length%2===1&&(e="0"+e),iUt(e,"base16")}function oUt(t){return Uint8Array.from(Fqe.encode(Nqe(t)))}function cUt(t){return Uint8Array.from(Fqe.encode(t))}});var Hqe=D((R1a,Uqe)=>{"use strict";u();p();var dUt=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});Uqe.exports={baseTable:dUt}});var Wqe=D((D1a,zqe)=>{"use strict";u();p();var{baseTable:Roe}=Hqe(),lUt=Soe().varintEncode,Moe={},Boe={},QW={};for(let t in Roe){let e=t,n=Roe[e];Moe[e]=lUt(n);let a=e.toUpperCase().replace(/-/g,"_");Boe[a]=n,QW[n]||(QW[n]=e)}Object.freeze(Moe);Object.freeze(Boe);Object.freeze(QW);var uUt=Object.freeze(Roe);zqe.exports={nameToVarint:Moe,constantToCode:Boe,nameToCode:uUt,codeToName:QW}});var Xqe=D((F1a,Jqe)=>{"use strict";u();p();var VW=koe(),{concat:pUt}=(fx(),vn(Lz)),qqe=Soe(),{nameToVarint:YW,constantToCode:hUt,nameToCode:jqe,codeToName:Doe}=Wqe();function mUt(t,e){let n;if(t instanceof Uint8Array)n=qqe.varintUint8ArrayEncode(t);else if(YW[t])n=YW[t];else throw new Error("multicodec not recognized");return pUt([n,e],n.length+e.length)}function bUt(t){return VW.decode(t),t.slice(VW.decode.bytes)}function Gqe(t){let e=VW.decode(t),n=Doe[e];if(n===void 0)throw new Error(`Code "${e}" not found`);return n}function Kqe(t){return Doe[t]}function Qqe(t){let e=jqe[t];if(e===void 0)throw new Error(`Codec "${t}" not found`);return e}function Vqe(t){return VW.decode(t)}function Yqe(t){let e=YW[t];if(e===void 0)throw new Error(`Codec "${t}" not found`);return e}function $qe(t){return qqe.varintEncode(t)}function yUt(t){return Gqe(t)}function gUt(t){return Kqe(t)}function vUt(t){return Qqe(t)}function wUt(t){return Vqe(t)}function TUt(t){return Yqe(t)}function xUt(t){return Array.from($qe(t))}Jqe.exports={addPrefix:mUt,rmPrefix:bUt,getNameFromData:Gqe,getNameFromCode:Kqe,getCodeFromName:Qqe,getCodeFromData:Vqe,getVarintFromName:Yqe,getVarintFromCode:$qe,getCodec:yUt,getName:gUt,getNumber:vUt,getCode:wUt,getCodeVarint:TUt,getVarint:xUt,...hUt,nameToVarint:YW,nameToCode:jqe,codeToName:Doe}});var eje=D((U1a,Zqe)=>{"use strict";u();p();var EUt=fR(),_Ut={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{EUt.validate(t.multihash)}catch(e){let n=e.message;return n||(n="Multihash validation failed"),n}}};Zqe.exports=_Ut});var nje={};G0(nje,{equals:()=>tje});function tje(t,e){if(t===e)return!0;if(t.byteLength!==e.byteLength)return!1;for(let n=0;n{u();p()});var ZW=D((j1a,fje)=>{"use strict";u();p();var $W=fR(),Loe=aR(),Y7=Xqe(),AUt=eje(),{concat:aje}=(fx(),vn(Lz)),{toString:CUt}=(dx(),vn(Gz)),{equals:IUt}=(Poe(),vn(nje)),JW=Y7.nameToCode,kUt=Object.keys(JW).reduce((t,e)=>(t[JW[e]]=e,t),{}),rje=Symbol.for("@ipld/js-cid/CID"),XW=class t{constructor(e,n,a,r){if(this.version,this.codec,this.multihash,Object.defineProperty(this,rje,{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=Loe.isEncoded(e);if(f){let i=Loe.decode(e);this.version=parseInt(i[0].toString(),16),this.codec=Y7.getCodec(i.slice(1)),this.multihash=Y7.rmPrefix(i.slice(1)),this.multibaseName=f}else this.version=0,this.codec="dag-pb",this.multihash=$W.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=Y7.getCodec(i.slice(1)),this.multihash=Y7.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=kUt[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=Y7.getCodeVarint(this.codec);e=aje([[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=Y7.getCodeVarint(this.codec),n=$W.prefix(this.multihash);return aje([[this.version],e,n],1+e.byteLength+n.byteLength)}get code(){return JW[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}=$W.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=$W.toB58String(this.multihash)}else if(this.version===1)n=CUt(Loe.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&&IUt(this.multihash,e.multihash)}static validateCID(e){let n=AUt.checkCIDComponents(e);if(n)throw new Error(n)}static isCID(e){return e instanceof t||!!(e&&e[rje])}};XW.codecs=JW;fje.exports=XW});var Foe=D((V1a,sje)=>{u();p();function ije(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 CUt(t,e){return t.filter(function(n){return!~e.indexOf(n)})}var j1a=oje.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=CUt(sje(n).slice(1),sje(t)).join(` +`)}function SUt(t,e){return t.filter(function(n){return!~e.indexOf(n)})}var Q1a=sje.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=SUt(ije(n).slice(1),ije(t)).join(` `);return n.__proto__=t,n.stack=n.name+": "+n.message+` `+a+` - `+t.stack,n}});var dje=D((V1a,cje)=>{"use strict";u();p();var IUt=ZW(),kUt=Noe();cje.exports=function(e){try{e=new IUt(e)}catch(n){throw kUt(n,`invalid cid: ${e}`)}return e.version!==1&&(e=e.toV1()),e.toBaseEncodedString("base32")}});var Ooe=D((J1a,lje)=>{"use strict";u();p();var SUt=nR();lje.exports=function(){let e=[];for(let n of Object.values(SUt.names))e.push({name:n.name,code:n.code});return e}});var Uoe=D((eca,uje)=>{"use strict";u();p();var RUt=ZW();uje.exports=function(){let e=[];for(let[n,a]of Object.entries(RUt.codecs))e.push({name:n,code:a});return e}});var yje=D((aca,bje)=>{"use strict";u();p();var{bases:pje}=(ise(),vn(pOe));function mje(t,e,n,a){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:a}}}var hje=mje("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),Hoe=mje("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 BUt=yje();function DUt(t,e="utf8"){let n=BUt[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return n.encoder.encode(t).substring(1)}gje.exports=DUt});var Eje=D((cca,xje)=>{"use strict";u();p();var PUt=ZW(),LUt=Ooe(),FUt=Uoe(),NUt=Noe(),zoe=nR(),wx=rR(),fR=vje();xje.exports=function(e,n){n=n||{};let a=n.format||"%s";if(a==="prefix"&&(a="%P"),!wje(a)||a.indexOf("%")===-1)throw new Error(`invalid format string: ${a}`);let r=e;try{e=new PUt(e)}catch(i){throw NUt(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=Tje(n.base).name:wje(r)&&(f=zoe.isEncoded(r)||f),a.replace(/%([a-zA-Z%])/g,OUt(e,f))};function wje(t){return Object.prototype.toString.call(t)==="[object String]"}function OUt(t,e){return(a,r)=>{switch(r){case"%":return"%";case"b":return e;case"B":return Tje(e).code;case"v":return`cidv${t.version}`;case"V":return t.version.toString();case"c":return t.codec;case"C":return UUt(t).toString();case"h":return wx.decode(t.multihash).name;case"H":return wx.decode(t.multihash).code.toString();case"L":return wx.decode(t.multihash).length.toString();case"m":return fR(zoe.encode(e,t.multihash));case"M":return fR(t.multihash,e);case"d":return fR(zoe.encode(e,wx.decode(t.multihash).digest));case"D":return fR(wx.decode(t.multihash).digest,e);case"s":return t.toString(e);case"S":return t.version===1?t.toString(e).slice(1):fR(t.bytes,e);case"P":return HUt(t);default:throw new Error(`unrecognized specifier in format string: ${r}`)}}}function Tje(t){let e=LUt().find(n=>n.code===t||n.name===t);if(!e)throw new Error(`invalid multibase: ${t}`);return e}function UUt(t){let e=FUt().find(n=>n.name===t.codec);if(!e)throw new Error(`invalid codec: ${t.codec}`);return e.code}function HUt(t){let{name:e,length:n}=wx.decode(t.multihash);return`cidv${t.version}-${t.codec}-${e}-${n}`}});var Aje=D((uca,_je)=>{"use strict";u();p();var zUt=rR();_je.exports=function(){let e=[];for(let[n,a]of Object.entries(zUt.names))e.push({name:n,code:a});return e}});var Cje=D(Tx=>{"use strict";u();p();Tx.base32=dje();Tx.bases=Ooe();Tx.codecs=Uoe();Tx.format=Eje();Tx.hashes=Aje()});var kje=D((gca,Ije)=>{"use strict";u();p();Ije.exports=Cje()});var Rje=D((Tca,Sje)=>{u();p();Sje.exports=typeof self=="object"?self.FormData:window.FormData});function WUt(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof x<"u"&&x.env[t]?x.env[t]:e}function Woe(t){let e=new URL(t).hostname;return e.endsWith(Fje)?!0:e.endsWith(qUt)}function VUt(t){return Array.isArray(t)?{"ipfs://":t}:t||{}}function YUt(t,e,n){let a=e.split("/"),r=JUt(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 $Ut(t,e,n){let a={...KUt,...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=UW(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 JUt(t){let e="";try{let n=t.split("/")[0];e=Pje.default.base32(n)}catch{throw new Error(`The CID ${t} is not valid.`)}return e}function V7(){return typeof window<"u"}function tq(t){return global.File&&t instanceof File}function xx(t){return global.Buffer&&t instanceof _.Buffer}function nq(t){return!!(t&&t.name&&t.data&&typeof t.name=="string"&&(typeof t.data=="string"||xx(t.data)))}function km(t){return tq(t)||xx(t)||nq(t)}function XUt(t,e){if(tq(t)&&tq(e)){if(t.name===e.name&&t.lastModified===e.lastModified&&t.size===e.size)return!0}else{if(xx(t)&&xx(e))return t.equals(e);if(nq(t)&&nq(e)&&t.name===e.name){if(typeof t.data=="string"&&typeof e.data=="string")return t.data===e.data;if(xx(t.data)&&xx(e.data))return t.data.equals(e.data)}}return!1}function ZUt(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 $oe(t,e){for(let n of Object.keys(e))for(let a of e[n])if(a.includes("{cid}")){let r=ZUt(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 YUt(f[n],i,a)}catch{console.warn(`The IPFS uri: ${i} is not valid.`);return}}function joe(t,e){return typeof t=="string"?$oe(t,e):typeof t=="object"?!t||km(t)?t:Array.isArray(t)?t.map(n=>joe(n,e)):Object.fromEntries(Object.entries(t).map(n=>{let[a,r]=n;return[a,joe(r,e)]})):t}function aq(t,e,n){return typeof t=="string"?Joe(t,e,0,n):typeof t=="object"?!t||km(t)?t:Array.isArray(t)?t.map(a=>aq(a,e,n)):Object.fromEntries(Object.entries(t).map(a=>{let[r,f]=a;return[r,aq(f,e,n)]})):t}function Goe(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(km(t))return e.push(t),e;if(typeof t=="object"){if(!t)return e;Array.isArray(t)?t.forEach(n=>Goe(n,e)):Object.keys(t).map(n=>Goe(t[n],e))}return e}function Koe(t,e){if(km(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=>Koe(n,e)):Object.fromEntries(Object.entries(t).map(n=>{let[a,r]=n;return[a,Koe(r,e)]}))):t}function eHt(t){for(let e=0,n=Mje.length;e"u"?{x_sdk_name:eq.name,x_sdk_platform:Dje(),x_sdk_version:eq.version,x_sdk_os:Bje(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=eq.name,globalThis.X_SDK_PLATFORM=Dje(),globalThis.X_SDK_VERSION=eq.version,globalThis.X_SDK_OS=Bje(),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 Dje(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":typeof window<"u"?"browser":"node"}function nHt(t){return Voe.has(t)}function aHt(t,e){qoe.has(t)&&clearTimeout(qoe.get(t));let n=e.headers.get("Retry-After"),a=5e3;if(n){let r=parseInt(n);isNaN(r)||(a=r*1e3)}Voe.set(t,!0),qoe.set(t,setTimeout(()=>Voe.delete(t),a))}var Pje,Lje,Fje,qUt,jUt,GUt,KUt,QUt,eq,Mje,Qoe,Voe,qoe,Yoe,Im,Ex=oe(()=>{"use strict";u();p();Pje=Ee(kje());HW();Lje=Ee(Rje());Fje=".ipfscdn.io",qUt=".thirdwebstorage-staging.com",jUt=[`https://{clientId}${Fje}/ipfs/{cid}/{path}`];GUt=["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}"],KUt={"ipfs://":[...jUt,...GUt]},QUt=WUt("CUSTOM_UPLOAD_SERVER_URL","https://storage.thirdweb.com");eq={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"}},Mje=[["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/]];Qoe=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(Woe(i)){let h=Xoe().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"),Nje(s)}if(nHt(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. ${Woe(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?(aHt(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&&Woe(i)||l.status!==408&&l.status!==429&&l.status<500?l:this.download(e,n,a,r+1))}},Voe=new Map;qoe=new Map;Yoe=class{constructor(e){this.uploadWithGatewayUrl=e?.uploadWithGatewayUrl||!1,this.uploadServerUrl=e?.uploadServerUrl||QUt,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 Lje.default,{form:r,fileNames:f}=this.buildFormData(a,e,n);return V7()?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 nq(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(XUt(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),V7()?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),tHt(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"),Nje(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}`)}},Im=class{constructor(e){this.uploader=e?.uploader||new Yoe({clientId:e?.clientId,secretKey:e?.secretKey,uploadServerUrl:e?.uploadServerUrl}),this.downloader=e?.downloader||new Qoe({secretKey:e?.secretKey,clientId:e?.clientId}),this.gatewayUrls=$Ut(VUt(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 aq(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=>km(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=joe(a,this.gatewayUrls);let r=Goe(a);if(r.length){let f=await this.uploader.uploadBatch(r,n);a=Koe(a,f)}return(n?.uploadWithGatewayUrl||this.uploader.uploadWithGatewayUrl)&&(a=aq(a,this.gatewayUrls,this.clientId)),a}}});var Uje=D(Oje=>{"use strict";u();p();Object.defineProperty(Oje,"__esModule",{value:!0})});var zje=D(Hje=>{"use strict";u();p();Object.defineProperty(Hje,"__esModule",{value:!0})});var Qje=D($5=>{"use strict";u();p();Object.defineProperty($5,"__esModule",{value:!0});$5.MessageReceiptStatus=$5.MessageDirection=$5.MessageStatus=$5.L2ChainID=$5.L1ChainID=void 0;var Wje;(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"})(Wje||($5.L1ChainID=Wje={}));var qje;(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"})(qje||($5.L2ChainID=qje={}));var jje;(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"})(jje||($5.MessageStatus=jje={}));var Gje;(function(t){t[t.L1_TO_L2=0]="L1_TO_L2",t[t.L2_TO_L1=1]="L2_TO_L1"})(Gje||($5.MessageDirection=Gje={}));var Kje;(function(t){t[t.RELAYED_FAILED=0]="RELAYED_FAILED",t[t.RELAYED_SUCCEEDED=1]="RELAYED_SUCCEEDED"})(Kje||($5.MessageReceiptStatus=Kje={}))});var _x=D(q8=>{"use strict";u();p();var rHt=q8&&q8.__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]}),Zoe=q8&&q8.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&rHt(e,t,n)};Object.defineProperty(q8,"__esModule",{value:!0});Zoe(Uje(),q8);Zoe(zje(),q8);Zoe(Qje(),q8)});var e1e=D(rq=>{"use strict";u();p();Object.defineProperty(rq,"__esModule",{value:!0});rq.assert=void 0;var fHt=(t,e)=>{if(!t)throw new Error(e)};rq.assert=fHt});var n1e=D(Cs=>{"use strict";u();p();Object.defineProperty(Cs,"__esModule",{value:!0});Cs.toAddress=Cs.toNumber=Cs.toBigNumber=Cs.toTransactionHash=Cs.toJsonRpcProvider=Cs.toProvider=Cs.toSignerOrProvider=void 0;var Vje=C3(),iHt=i8(),Sm=Je(),t1e=e1e(),sHt=t=>{if(typeof t=="string")return new Sm.ethers.providers.JsonRpcProvider(t);if(Vje.Provider.isProvider(t))return t;if(iHt.Signer.isSigner(t))return t;throw new Error("Invalid provider")};Cs.toSignerOrProvider=sHt;var oHt=t=>{if(typeof t=="string")return new Sm.ethers.providers.JsonRpcProvider(t);if(Vje.Provider.isProvider(t))return t;throw new Error("Invalid provider")};Cs.toProvider=oHt;var cHt=t=>{let e=(0,Cs.toProvider)(t);if("send"in e)return e;throw new Error('Invalid JsonRpcProvider, does not have "send" function')};Cs.toJsonRpcProvider=cHt;var dHt=t=>{if(typeof t=="string")return(0,t1e.assert)(Sm.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")};Cs.toTransactionHash=dHt;var lHt=t=>Sm.ethers.BigNumber.from(t);Cs.toBigNumber=lHt;var uHt=t=>(0,Cs.toBigNumber)(t).toNumber();Cs.toNumber=uHt;var pHt=t=>typeof t=="string"?((0,t1e.assert)(Sm.ethers.utils.isAddress(t),"Invalid address"),Sm.ethers.utils.getAddress(t)):((0,t1e.assert)(Sm.ethers.utils.isAddress(t.address),"Invalid address"),Sm.ethers.utils.getAddress(t.address));Cs.toAddress=pHt});var Yje=D((Qca,hHt)=>{hHt.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 $je=D((Vca,mHt)=>{mHt.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 Jje=D((Yca,bHt)=>{bHt.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 Xje=D(($ca,yHt)=>{yHt.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((Jca,gHt)=>{gHt.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 eGe=D((Xca,vHt)=>{vHt.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 tGe=D((Zca,wHt)=>{wHt.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 nGe=D((e6a,THt)=>{THt.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 aGe=D((t6a,xHt)=>{xHt.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 rGe=D((n6a,EHt)=>{EHt.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 fGe=D((a6a,_Ht)=>{_Ht.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 iGe=D((r6a,AHt)=>{AHt.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 sGe=D((f6a,CHt)=>{CHt.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 oGe=D((i6a,IHt)=>{IHt.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 cGe=D((s6a,kHt)=>{kHt.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 dGe=D((o6a,SHt)=>{SHt.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 lGe=D((c6a,RHt)=>{RHt.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 uGe=D((d6a,MHt)=>{MHt.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 pGe=D((l6a,BHt)=>{BHt.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 hGe=D((u6a,DHt)=>{DHt.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 mGe=D((p6a,PHt)=>{PHt.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 bGe=D((h6a,LHt)=>{LHt.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 yGe=D((m6a,FHt)=>{FHt.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 gGe=D((b6a,NHt)=>{NHt.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 vGe=D((y6a,OHt)=>{OHt.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 wGe=D((g6a,UHt)=>{UHt.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 TGe=D((v6a,HHt)=>{HHt.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 xGe=D((w6a,zHt)=>{zHt.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 EGe=D((T6a,WHt)=>{WHt.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 _Ge=D((x6a,qHt)=>{qHt.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 AGe=D((E6a,jHt)=>{jHt.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 CGe=D((_6a,GHt)=>{GHt.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 IGe=D((A6a,KHt)=>{KHt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_CrossDomainUtils",sourceName:"contracts/libraries/bridge/Lib_CrossDomainUtils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122060e64a9ccca3ea023c0ba81dbda8783559d3eec6a4d1d8ef8418badc967c072664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122060e64a9ccca3ea023c0ba81dbda8783559d3eec6a4d1d8ef8418badc967c072664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var kGe=D((C6a,QHt)=>{QHt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_OVMCodec",sourceName:"contracts/libraries/codec/Lib_OVMCodec.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c2a5d11f9555d16a4e338a80443d30b1ec346c6a32a3a2423851829c61a564664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c2a5d11f9555d16a4e338a80443d30b1ec346c6a32a3a2423851829c61a564664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var SGe=D((I6a,VHt)=>{VHt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_DefaultValues",sourceName:"contracts/libraries/constants/Lib_DefaultValues.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220063c5ffd8afe3ee3c085661f8b942ed207ae0c52f76c705ce32343804219a1be64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220063c5ffd8afe3ee3c085661f8b942ed207ae0c52f76c705ce32343804219a1be64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var RGe=D((k6a,YHt)=>{YHt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_PredeployAddresses",sourceName:"contracts/libraries/constants/Lib_PredeployAddresses.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122056cad517f08aabd21cc0b53f664298b5b8af8f91610a5d788b7cd5a14d12078b64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122056cad517f08aabd21cc0b53f664298b5b8af8f91610a5d788b7cd5a14d12078b64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var MGe=D((S6a,$Ht)=>{$Ht.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 BGe=D((R6a,JHt)=>{JHt.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 DGe=D((M6a,XHt)=>{XHt.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 PGe=D((B6a,ZHt)=>{ZHt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_RLPReader",sourceName:"contracts/libraries/rlp/Lib_RLPReader.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209b0105ac3644e4fdf76d616b816e1142d8df6b59717045de630c5b5bf5c4a49e64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209b0105ac3644e4fdf76d616b816e1142d8df6b59717045de630c5b5bf5c4a49e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var LGe=D((D6a,ezt)=>{ezt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_RLPWriter",sourceName:"contracts/libraries/rlp/Lib_RLPWriter.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220946ae63101b895e34c026fce9aa6f03d577c9012d8837976e8dc3a57ae0a2ef064736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220946ae63101b895e34c026fce9aa6f03d577c9012d8837976e8dc3a57ae0a2ef064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var FGe=D((P6a,tzt)=>{tzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_MerkleTrie",sourceName:"contracts/libraries/trie/Lib_MerkleTrie.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220214650a5ec3e1d09ab69aa832632dcca9858b098070c9e81cdae9075c0e89eef64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220214650a5ec3e1d09ab69aa832632dcca9858b098070c9e81cdae9075c0e89eef64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var NGe=D((L6a,nzt)=>{nzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_SecureMerkleTrie",sourceName:"contracts/libraries/trie/Lib_SecureMerkleTrie.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202660de7bb8aa0cc344e5d40ecf3a0bb218888dff6bd046588cf63c7f310cc10f64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202660de7bb8aa0cc344e5d40ecf3a0bb218888dff6bd046588cf63c7f310cc10f64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var OGe=D((F6a,azt)=>{azt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_Buffer",sourceName:"contracts/libraries/utils/Lib_Buffer.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220594b214017d57365da3ea1c77083baf56a0e2bbeb0c3e002e311ad4566a5a88e64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220594b214017d57365da3ea1c77083baf56a0e2bbeb0c3e002e311ad4566a5a88e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var UGe=D((N6a,rzt)=>{rzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_Bytes32Utils",sourceName:"contracts/libraries/utils/Lib_Bytes32Utils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122016d3dffa07e555b0803ae61d773778a6b28a769ef91e47cb00040ecc7414705764736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122016d3dffa07e555b0803ae61d773778a6b28a769ef91e47cb00040ecc7414705764736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var HGe=D((O6a,fzt)=>{fzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_BytesUtils",sourceName:"contracts/libraries/utils/Lib_BytesUtils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122017e44b43285912c440c4689616a765b1f83f985ef6c2257842a876b03fa23ec964736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122017e44b43285912c440c4689616a765b1f83f985ef6c2257842a876b03fa23ec964736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var zGe=D((U6a,izt)=>{izt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_MerkleTree",sourceName:"contracts/libraries/utils/Lib_MerkleTree.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b7c3be019aefbed37a33a16f751525cd016777745cc3de03701a42894fef404664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b7c3be019aefbed37a33a16f751525cd016777745cc3de03701a42894fef404664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var WGe=D((H6a,szt)=>{szt.exports={_format:"hh-sol-artifact-1",contractName:"AddressAliasHelper",sourceName:"contracts/standards/AddressAliasHelper.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207829434f027696874d561ec0adb447d98559e472900c36a38c8a3d107364652364736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207829434f027696874d561ec0adb447d98559e472900c36a38c8a3d107364652364736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var qGe=D((z6a,ozt)=>{ozt.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 jGe=D((W6a,czt)=>{czt.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 zKe=D(fq=>{"use strict";u();p();Object.defineProperty(fq,"__esModule",{value:!0});fq.getContractArtifact=void 0;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=mGe()}catch{}var uKe;try{uKe=bGe()}catch{}var pKe;try{pKe=yGe()}catch{}var hKe;try{hKe=gGe()}catch{}var mKe;try{mKe=vGe()}catch{}var bKe;try{bKe=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 SKe;try{SKe=DGe()}catch{}var RKe;try{RKe=PGe()}catch{}var MKe;try{MKe=LGe()}catch{}var BKe;try{BKe=FGe()}catch{}var DKe;try{DKe=NGe()}catch{}var PKe;try{PKe=OGe()}catch{}var LKe;try{LKe=UGe()}catch{}var FKe;try{FKe=HGe()}catch{}var NKe;try{NKe=zGe()}catch{}var OKe;try{OKe=WGe()}catch{}var UKe;try{UKe=qGe()}catch{}var HKe;try{HKe=jGe()}catch{}var dzt=t=>({iL1ChugSplashDeployer:GGe,L1ChugSplashProxy:KGe,AddressDictator:QGe,ChugSplashDictator:VGe,IL1CrossDomainMessenger:YGe,IL1ERC20Bridge:$Ge,IL1StandardBridge:JGe,L1CrossDomainMessenger:XGe,L1StandardBridge:ZGe,CanonicalTransactionChain:eKe,ChainStorageContainer:tKe,ICanonicalTransactionChain:nKe,IChainStorageContainer:aKe,IStateCommitmentChain:rKe,StateCommitmentChain:fKe,BondManager:iKe,IBondManager:sKe,IL2CrossDomainMessenger:oKe,IL2ERC20Bridge:cKe,L2CrossDomainMessenger:dKe,L2StandardBridge:lKe,L2StandardTokenFactory:uKe,iOVM_L1BlockNumber:pKe,iOVM_L2ToL1MessagePasser:hKe,OVM_DeployerWhitelist:mKe,OVM_ETH:bKe,OVM_GasPriceOracle:yKe,OVM_L2ToL1MessagePasser:gKe,OVM_SequencerFeeVault:vKe,WETH9:wKe,CrossDomainEnabled:TKe,ICrossDomainMessenger:xKe,Lib_CrossDomainUtils:EKe,Lib_OVMCodec:_Ke,Lib_DefaultValues:AKe,Lib_PredeployAddresses:CKe,Lib_AddressManager:IKe,Lib_AddressResolver:kKe,Lib_ResolvedDelegateProxy:SKe,Lib_RLPReader:RKe,Lib_RLPWriter:MKe,Lib_MerkleTrie:BKe,Lib_SecureMerkleTrie:DKe,Lib_Buffer:PKe,Lib_Bytes32Utils:LKe,Lib_BytesUtils:FKe,Lib_MerkleTree:NKe,AddressAliasHelper:OKe,IL2StandardERC20:UKe,L2StandardERC20:HKe})[t];fq.getContractArtifact=dzt});var WKe=D(iq=>{"use strict";u();p();Object.defineProperty(iq,"__esModule",{value:!0});iq.getDeployedContractArtifact=void 0;var lzt={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"},uzt={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"},pzt={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"},hzt={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"},mzt={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"},bzt={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"},yzt={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"},gzt={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"},vzt={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"},wzt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],address:"0x5086d1eEF304eb5284A0f6720f79403b4e9bE294"},Tzt={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"},xzt={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"},Ezt={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"},_zt={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"},Azt={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"},Czt={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"},Izt={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"},kzt={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"},Szt={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"},Rzt={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"},Mzt={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"},Bzt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],address:"0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1"},Dzt={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"},Pzt={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"},Lzt={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"},Fzt=(t,e)=>({goerli__AddressDictator:lzt,goerli__BondManager:uzt,goerli__CanonicalTransactionChain:pzt,goerli__ChainStorageContainer_CTC_batches:hzt,goerli__ChainStorageContainer_SCC_batches:mzt,goerli__ChugSplashDictator:bzt,goerli__L1StandardBridge_for_verification_only:yzt,goerli__Lib_AddressManager:gzt,goerli__OVM_L1CrossDomainMessenger:vzt,goerli__Proxy__OVM_L1CrossDomainMessenger:wzt,goerli__Proxy__OVM_L1StandardBridge:Tzt,goerli__StateCommitmentChain:xzt,mainnet__AddressDictator:Ezt,mainnet__BondManager:_zt,mainnet__CanonicalTransactionChain:Azt,mainnet__ChainStorageContainer_CTC_batches:Czt,mainnet__ChainStorageContainer_SCC_batches:Izt,mainnet__ChugSplashDictator:kzt,mainnet__L1StandardBridge_for_verification_only:Szt,mainnet__Lib_AddressManager:Rzt,mainnet__OVM_L1CrossDomainMessenger:Mzt,mainnet__Proxy__OVM_L1CrossDomainMessenger:Bzt,mainnet__Proxy__OVM_L1StandardBridge:Dzt,mainnet__StateCommitmentChain:Pzt,mainnet__TeleportrDeposit:Lzt})[(e+"__"+t).replace(/-/g,"_")];iq.getDeployedContractArtifact=Fzt});var jKe=D(B6=>{"use strict";u();p();Object.defineProperty(B6,"__esModule",{value:!0});B6.getContractFactory=B6.getContractInterface=B6.getDeployedContractDefinition=B6.getContractDefinition=void 0;var qKe=Je(),Nzt=t=>{let{getContractArtifact:e}=zKe(),n=e(t);if(n===void 0)throw new Error(`Unable to find artifact for contract: ${t}`);return n};B6.getContractDefinition=Nzt;var Ozt=(t,e)=>{let{getDeployedContractArtifact:n}=WKe(),a=n(t,e);if(a===void 0)throw new Error(`Unable to find artifact for contract on network ${e}: ${t}`);return a};B6.getDeployedContractDefinition=Ozt;var Uzt=t=>{let e=(0,B6.getContractDefinition)(t);return new qKe.ethers.utils.Interface(e.abi)};B6.getContractInterface=Uzt;var Hzt=(t,e)=>{let n=(0,B6.getContractDefinition)(t),a=(0,B6.getContractInterface)(t);return new qKe.ethers.ContractFactory(a,n.bytecode,e)};B6.getContractFactory=Hzt});var GKe=D(Ax=>{"use strict";u();p();Object.defineProperty(Ax,"__esModule",{value:!0});Ax.futurePredeploys=Ax.predeploys=void 0;Ax.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"};Ax.futurePredeploys={System0:"0x4200000000000000000000000000000000000042",System1:"0x4200000000000000000000000000000000000014"}});var Cx=D(Rm=>{"use strict";u();p();var zzt=Rm&&Rm.__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]}),KKe=Rm&&Rm.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&zzt(e,t,n)};Object.defineProperty(Rm,"__esModule",{value:!0});KKe(jKe(),Rm);KKe(GKe(),Rm)});var a1e=D((r5a,Wzt)=>{Wzt.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 r1e=D((f5a,qzt)=>{qzt.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 f1e=D((i5a,jzt)=>{jzt.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 QKe=D((s5a,Gzt)=>{Gzt.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 VKe=D((o5a,Kzt)=>{Kzt.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 YKe=D((c5a,Qzt)=>{Qzt.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 $Ke=D((d5a,Vzt)=>{Vzt.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 JKe=D((l5a,Yzt)=>{Yzt.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 XKe=D((u5a,$zt)=>{$zt.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((p5a,Jzt)=>{Jzt.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 eQe=D((h5a,Xzt)=>{Xzt.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 tQe=D((m5a,Zzt)=>{Zzt.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 nQe=D((b5a,eWt)=>{eWt.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 aQe=D((y5a,tWt)=>{tWt.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 rQe=D((g5a,nWt)=>{nWt.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 fQe=D((v5a,aWt)=>{aWt.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 iQe=D((w5a,rWt)=>{rWt.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 oQe=D(sQe=>{"use strict";u();p();Object.defineProperty(sQe,"__esModule",{value:!0})});var o1e=D(ti=>{"use strict";u();p();Object.defineProperty(ti,"__esModule",{value:!0});ti.bytes32ify=ti.hexStringEquals=ti.encodeHex=ti.padHexString=ti.toRpcHexString=ti.toHexString=ti.fromHexString=ti.add0x=ti.remove0x=void 0;var s1e=ia(),i1e=Vt(),fWt=t=>t===void 0?t:t.startsWith("0x")?t.slice(2):t;ti.remove0x=fWt;var iWt=t=>t===void 0||t.startsWith("0x")?t:"0x"+t;ti.add0x=iWt;var sWt=t=>typeof t=="string"&&t.startsWith("0x")?_.Buffer.from(t.slice(2),"hex"):_.Buffer.from(t);ti.fromHexString=sWt;var oWt=t=>typeof t=="number"?s1e.BigNumber.from(t).toHexString():"0x"+(0,ti.fromHexString)(t).toString("hex");ti.toHexString=oWt;var cWt=t=>{let e;return typeof t=="number"?e="0x"+t.toString(16):e=t.toHexString(),e==="0x0"?e:e.replace(/^0x0/,"0x")};ti.toRpcHexString=cWt;var dWt=(t,e)=>t.length===2+e*2?t:"0x"+t.slice(2).padStart(e*2,"0");ti.padHexString=dWt;var lWt=(t,e)=>(0,ti.remove0x)(s1e.BigNumber.from(t).toHexString()).padStart(e,"0");ti.encodeHex=lWt;var uWt=(t,e)=>{if(!(0,i1e.isHexString)(t))throw new Error(`input is not a hex string: ${t}`);if(!(0,i1e.isHexString)(e))throw new Error(`input is not a hex string: ${e}`);return t.toLowerCase()===e.toLowerCase()};ti.hexStringEquals=uWt;var pWt=t=>(0,i1e.hexZeroPad)(s1e.BigNumber.from(t).toHexString(),32);ti.bytes32ify=pWt});var lQe=D(sq=>{"use strict";u();p();Object.defineProperty(sq,"__esModule",{value:!0});sq.bnToAddress=void 0;var cQe=ia(),hWt=Po(),dQe=o1e(),mWt=t=>{t=cQe.BigNumber.from(t),t.isNegative()&&(t=cQe.BigNumber.from("0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF").add(t).add(1));let e=t.toHexString();return e=(0,dQe.remove0x)(e),e=e.padStart(40,"0"),e=e.slice(e.length-40,e.length),e=(0,dQe.add0x)(e),e=(0,hWt.getAddress)(e),e};sq.bnToAddress=mWt});var c1e=D(J5=>{"use strict";u();p();Object.defineProperty(J5,"__esModule",{value:!0});J5.compareAddrs=J5.getenv=J5.reqenv=J5.clone=J5.sleep=void 0;var bWt=async t=>new Promise(e=>{setTimeout(()=>{e(null)},t)});J5.sleep=bWt;var yWt=t=>{if(typeof t>"u")throw new Error("Trying to clone undefined object");return Object.assign({},t)};J5.clone=yWt;var gWt=t=>{let e=x.env[t];if(e===void 0)throw new Error(`missing env var ${t}`);return e};J5.reqenv=gWt;var vWt=(t,e)=>x.env[t]||e;J5.getenv=vWt;var wWt=(t,e)=>t.toLowerCase()===e.toLowerCase();J5.compareAddrs=wWt});var d1e=D((D5a,pQe)=>{u();p();function uQe(){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 mQe(t,e){return typeof t>"u"||t===null?!1:e in Object(t)}function bQe(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 hQe(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 TWt(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 yQe(t,e){var n=bQe(e),a=n[n.length-1],r={parent:n.length>1?hQe(t,n,n.length-1):t,name:a.p||a.i,value:hQe(t,n)};return r.exists=mQe(r.parent,r.name),r}function xWt(t,e){var n=yQe(t,e);return n.value}function EWt(t,e,n){var a=bQe(e);return TWt(t,n,a),t}gQe.exports={hasProperty:mQe,getPathInfo:yQe,getPathValue:xWt,setPathValue:EWt}});var X5=D((U5a,wQe)=>{u();p();wQe.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 xQe=D((W5a,TQe)=>{u();p();var _Wt=X5();TQe.exports=function(e,n){var a=_Wt(e,"negate"),r=n[0];return a?!r:r}});var iR=D((l1e,u1e)=>{u();p();(function(t,e){typeof l1e=="object"&&typeof u1e<"u"?u1e.exports=e():typeof define=="function"&&define.amd?define(e):t.typeDetect=e()})(l1e,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 _Qe=D((Q5a,EQe)=>{u();p();var AWt=d1e(),p1e=X5(),CWt=iR();EQe.exports=function(e,n){var a=p1e(e,"message"),r=p1e(e,"ssfi");a=a?a+": ":"",e=p1e(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=CWt(e).toLowerCase();if(!n.some(function(s){return i===s}))throw new AWt(a+"object tested must be "+f+", but "+i+" given",void 0,r)}});var h1e=D(($5a,AQe)=>{u();p();AQe.exports=function(e,n){return n.length>4?n[4]:e._obj}});var oq=D((Z5a,CQe)=>{"use strict";u();p();var IWt=Function.prototype.toString,kWt=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,SWt=512;function RWt(t){if(typeof t!="function")return null;var e="";if(typeof Function.prototype.name>"u"&&typeof t.name>"u"){var n=IWt.call(t);if(n.indexOf("(")>SWt)return e;var a=n.match(kWt);a&&(e=a[1])}else e=t.name;return e}CQe.exports=RWt});var kQe=D((cq,IQe)=>{u();p();(function(t,e){typeof cq=="object"&&typeof IQe<"u"?e(cq):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.loupe={}))})(cq,function(t){"use strict";function e(me){"@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(me)}function n(me,ye){return a(me)||r(me,ye)||f(me,ye)||s()}function a(me){if(Array.isArray(me))return me}function r(me,ye){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(me)))){var _e=[],ze=!0,je=!1,Ue=void 0;try{for(var m0=me[Symbol.iterator](),h0;!(ze=(h0=m0.next()).done)&&(_e.push(h0.value),!(ye&&_e.length===ye));ze=!0);}catch($e){je=!0,Ue=$e}finally{try{!ze&&m0.return!=null&&m0.return()}finally{if(je)throw Ue}}return _e}}function f(me,ye){if(me){if(typeof me=="string")return i(me,ye);var _e=Object.prototype.toString.call(me).slice(8,-1);if(_e==="Object"&&me.constructor&&(_e=me.constructor.name),_e==="Map"||_e==="Set")return Array.from(me);if(_e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_e))return i(me,ye)}}function i(me,ye){(ye==null||ye>me.length)&&(ye=me.length);for(var _e=0,ze=new Array(ye);_e{"use strict";u();p();var RUt=ZW(),MUt=Foe();oje.exports=function(e){try{e=new RUt(e)}catch(n){throw MUt(n,`invalid cid: ${e}`)}return e.version!==1&&(e=e.toV1()),e.toBaseEncodedString("base32")}});var Noe=D((eca,dje)=>{"use strict";u();p();var BUt=aR();dje.exports=function(){let e=[];for(let n of Object.values(BUt.names))e.push({name:n.name,code:n.code});return e}});var Ooe=D((aca,lje)=>{"use strict";u();p();var DUt=ZW();lje.exports=function(){let e=[];for(let[n,a]of Object.entries(DUt.codecs))e.push({name:n,code:a});return e}});var bje=D((ica,mje)=>{"use strict";u();p();var{bases:uje}=(sse(),vn(uOe));function hje(t,e,n,a){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:a}}}var pje=hje("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),Uoe=hje("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 LUt=bje();function FUt(t,e="utf8"){let n=LUt[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return n.encoder.encode(t).substring(1)}yje.exports=FUt});var xje=D((uca,Tje)=>{"use strict";u();p();var NUt=ZW(),OUt=Noe(),UUt=Ooe(),HUt=Foe(),Hoe=aR(),xx=fR(),iR=gje();Tje.exports=function(e,n){n=n||{};let a=n.format||"%s";if(a==="prefix"&&(a="%P"),!vje(a)||a.indexOf("%")===-1)throw new Error(`invalid format string: ${a}`);let r=e;try{e=new NUt(e)}catch(i){throw HUt(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=wje(n.base).name:vje(r)&&(f=Hoe.isEncoded(r)||f),a.replace(/%([a-zA-Z%])/g,zUt(e,f))};function vje(t){return Object.prototype.toString.call(t)==="[object String]"}function zUt(t,e){return(a,r)=>{switch(r){case"%":return"%";case"b":return e;case"B":return wje(e).code;case"v":return`cidv${t.version}`;case"V":return t.version.toString();case"c":return t.codec;case"C":return WUt(t).toString();case"h":return xx.decode(t.multihash).name;case"H":return xx.decode(t.multihash).code.toString();case"L":return xx.decode(t.multihash).length.toString();case"m":return iR(Hoe.encode(e,t.multihash));case"M":return iR(t.multihash,e);case"d":return iR(Hoe.encode(e,xx.decode(t.multihash).digest));case"D":return iR(xx.decode(t.multihash).digest,e);case"s":return t.toString(e);case"S":return t.version===1?t.toString(e).slice(1):iR(t.bytes,e);case"P":return qUt(t);default:throw new Error(`unrecognized specifier in format string: ${r}`)}}}function wje(t){let e=OUt().find(n=>n.code===t||n.name===t);if(!e)throw new Error(`invalid multibase: ${t}`);return e}function WUt(t){let e=UUt().find(n=>n.name===t.codec);if(!e)throw new Error(`invalid codec: ${t.codec}`);return e.code}function qUt(t){let{name:e,length:n}=xx.decode(t.multihash);return`cidv${t.version}-${t.codec}-${e}-${n}`}});var _je=D((mca,Eje)=>{"use strict";u();p();var jUt=fR();Eje.exports=function(){let e=[];for(let[n,a]of Object.entries(jUt.names))e.push({name:n,code:a});return e}});var Aje=D(Ex=>{"use strict";u();p();Ex.base32=cje();Ex.bases=Noe();Ex.codecs=Ooe();Ex.format=xje();Ex.hashes=_je()});var Ije=D((Tca,Cje)=>{"use strict";u();p();Cje.exports=Aje()});var Sje=D((_ca,kje)=>{u();p();kje.exports=typeof self=="object"?self.FormData:window.FormData});function GUt(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof x<"u"&&x.env[t]?x.env[t]:e}function zoe(t){let e=new URL(t).hostname;return e.endsWith(Lje)?!0:e.endsWith(KUt)}function JUt(t){return Array.isArray(t)?{"ipfs://":t}:t||{}}function XUt(t,e,n){let a=e.split("/"),r=eHt(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 ZUt(t,e,n){let a={...YUt,...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=UW(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 eHt(t){let e="";try{let n=t.split("/")[0];e=Dje.default.base32(n)}catch{throw new Error(`The CID ${t} is not valid.`)}return e}function $7(){return typeof window<"u"}function tq(t){return global.File&&t instanceof File}function _x(t){return global.Buffer&&t instanceof _.Buffer}function nq(t){return!!(t&&t.name&&t.data&&typeof t.name=="string"&&(typeof t.data=="string"||_x(t.data)))}function km(t){return tq(t)||_x(t)||nq(t)}function tHt(t,e){if(tq(t)&&tq(e)){if(t.name===e.name&&t.lastModified===e.lastModified&&t.size===e.size)return!0}else{if(_x(t)&&_x(e))return t.equals(e);if(nq(t)&&nq(e)&&t.name===e.name){if(typeof t.data=="string"&&typeof e.data=="string")return t.data===e.data;if(_x(t.data)&&_x(e.data))return t.data.equals(e.data)}}return!1}function nHt(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 Yoe(t,e){for(let n of Object.keys(e))for(let a of e[n])if(a.includes("{cid}")){let r=nHt(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 $oe(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 XUt(f[n],i,a)}catch{console.warn(`The IPFS uri: ${i} is not valid.`);return}}function qoe(t,e){return typeof t=="string"?Yoe(t,e):typeof t=="object"?!t||km(t)?t:Array.isArray(t)?t.map(n=>qoe(n,e)):Object.fromEntries(Object.entries(t).map(n=>{let[a,r]=n;return[a,qoe(r,e)]})):t}function aq(t,e,n){return typeof t=="string"?$oe(t,e,0,n):typeof t=="object"?!t||km(t)?t:Array.isArray(t)?t.map(a=>aq(a,e,n)):Object.fromEntries(Object.entries(t).map(a=>{let[r,f]=a;return[r,aq(f,e,n)]})):t}function joe(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(km(t))return e.push(t),e;if(typeof t=="object"){if(!t)return e;Array.isArray(t)?t.forEach(n=>joe(n,e)):Object.keys(t).map(n=>joe(t[n],e))}return e}function Goe(t,e){if(km(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=>Goe(n,e)):Object.fromEntries(Object.entries(t).map(n=>{let[a,r]=n;return[a,Goe(r,e)]}))):t}function aHt(t){for(let e=0,n=Rje.length;e"u"?{x_sdk_name:eq.name,x_sdk_platform:Bje(),x_sdk_version:eq.version,x_sdk_os:Mje(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=eq.name,globalThis.X_SDK_PLATFORM=Bje(),globalThis.X_SDK_VERSION=eq.version,globalThis.X_SDK_OS=Mje(),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 Bje(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":typeof window<"u"?"browser":"node"}function fHt(t){return Qoe.has(t)}function iHt(t,e){Woe.has(t)&&clearTimeout(Woe.get(t));let n=e.headers.get("Retry-After"),a=5e3;if(n){let r=parseInt(n);isNaN(r)||(a=r*1e3)}Qoe.set(t,!0),Woe.set(t,setTimeout(()=>Qoe.delete(t),a))}var Dje,Pje,Lje,KUt,QUt,VUt,YUt,$Ut,eq,Rje,Koe,Qoe,Woe,Voe,Im,Ax=oe(()=>{"use strict";u();p();Dje=Ee(Ije());HW();Pje=Ee(Sje());Lje=".ipfscdn.io",KUt=".thirdwebstorage-staging.com",QUt=[`https://{clientId}${Lje}/ipfs/{cid}/{path}`];VUt=["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}"],YUt={"ipfs://":[...QUt,...VUt]},$Ut=GUt("CUSTOM_UPLOAD_SERVER_URL","https://storage.thirdweb.com");eq={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"}},Rje=[["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/]];Koe=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=$oe(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(zoe(i)){let h=Joe().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"),Fje(s)}if(fHt(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. ${zoe(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?(iHt(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&&zoe(i)||l.status!==408&&l.status!==429&&l.status<500?l:this.download(e,n,a,r+1))}},Qoe=new Map;Woe=new Map;Voe=class{constructor(e){this.uploadWithGatewayUrl=e?.uploadWithGatewayUrl||!1,this.uploadServerUrl=e?.uploadServerUrl||$Ut,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 Pje.default,{form:r,fileNames:f}=this.buildFormData(a,e,n);return $7()?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 nq(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(tHt(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),$7()?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),rHt(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"),Fje(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}`)}},Im=class{constructor(e){this.uploader=e?.uploader||new Voe({clientId:e?.clientId,secretKey:e?.secretKey,uploadServerUrl:e?.uploadServerUrl}),this.downloader=e?.downloader||new Koe({secretKey:e?.secretKey,clientId:e?.clientId}),this.gatewayUrls=ZUt(JUt(e?.gatewayUrls),e?.clientId,e?.secretKey),this.clientId=e?.clientId}resolveScheme(e){return $oe(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 aq(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=>km(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=qoe(a,this.gatewayUrls);let r=joe(a);if(r.length){let f=await this.uploader.uploadBatch(r,n);a=Goe(a,f)}return(n?.uploadWithGatewayUrl||this.uploader.uploadWithGatewayUrl)&&(a=aq(a,this.gatewayUrls,this.clientId)),a}}});var Oje=D(Nje=>{"use strict";u();p();Object.defineProperty(Nje,"__esModule",{value:!0})});var Hje=D(Uje=>{"use strict";u();p();Object.defineProperty(Uje,"__esModule",{value:!0})});var Kje=D($5=>{"use strict";u();p();Object.defineProperty($5,"__esModule",{value:!0});$5.MessageReceiptStatus=$5.MessageDirection=$5.MessageStatus=$5.L2ChainID=$5.L1ChainID=void 0;var zje;(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"})(zje||($5.L1ChainID=zje={}));var Wje;(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"})(Wje||($5.L2ChainID=Wje={}));var qje;(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"})(qje||($5.MessageStatus=qje={}));var jje;(function(t){t[t.L1_TO_L2=0]="L1_TO_L2",t[t.L2_TO_L1=1]="L2_TO_L1"})(jje||($5.MessageDirection=jje={}));var Gje;(function(t){t[t.RELAYED_FAILED=0]="RELAYED_FAILED",t[t.RELAYED_SUCCEEDED=1]="RELAYED_SUCCEEDED"})(Gje||($5.MessageReceiptStatus=Gje={}))});var Cx=D(q8=>{"use strict";u();p();var sHt=q8&&q8.__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]}),Xoe=q8&&q8.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&sHt(e,t,n)};Object.defineProperty(q8,"__esModule",{value:!0});Xoe(Oje(),q8);Xoe(Hje(),q8);Xoe(Kje(),q8)});var Zoe=D(rq=>{"use strict";u();p();Object.defineProperty(rq,"__esModule",{value:!0});rq.assert=void 0;var oHt=(t,e)=>{if(!t)throw new Error(e)};rq.assert=oHt});var t1e=D(Cs=>{"use strict";u();p();Object.defineProperty(Cs,"__esModule",{value:!0});Cs.toAddress=Cs.toNumber=Cs.toBigNumber=Cs.toTransactionHash=Cs.toJsonRpcProvider=Cs.toProvider=Cs.toSignerOrProvider=void 0;var Qje=C3(),cHt=i8(),Sm=Je(),e1e=Zoe(),dHt=t=>{if(typeof t=="string")return new Sm.ethers.providers.JsonRpcProvider(t);if(Qje.Provider.isProvider(t))return t;if(cHt.Signer.isSigner(t))return t;throw new Error("Invalid provider")};Cs.toSignerOrProvider=dHt;var lHt=t=>{if(typeof t=="string")return new Sm.ethers.providers.JsonRpcProvider(t);if(Qje.Provider.isProvider(t))return t;throw new Error("Invalid provider")};Cs.toProvider=lHt;var uHt=t=>{let e=(0,Cs.toProvider)(t);if("send"in e)return e;throw new Error('Invalid JsonRpcProvider, does not have "send" function')};Cs.toJsonRpcProvider=uHt;var pHt=t=>{if(typeof t=="string")return(0,e1e.assert)(Sm.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")};Cs.toTransactionHash=pHt;var hHt=t=>Sm.ethers.BigNumber.from(t);Cs.toBigNumber=hHt;var mHt=t=>(0,Cs.toBigNumber)(t).toNumber();Cs.toNumber=mHt;var bHt=t=>typeof t=="string"?((0,e1e.assert)(Sm.ethers.utils.isAddress(t),"Invalid address"),Sm.ethers.utils.getAddress(t)):((0,e1e.assert)(Sm.ethers.utils.isAddress(t.address),"Invalid address"),Sm.ethers.utils.getAddress(t.address));Cs.toAddress=bHt});var Vje=D(($ca,yHt)=>{yHt.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 Yje=D((Jca,gHt)=>{gHt.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 $je=D((Xca,vHt)=>{vHt.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 Jje=D((Zca,wHt)=>{wHt.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 Xje=D((e6a,THt)=>{THt.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 Zje=D((t6a,xHt)=>{xHt.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 eGe=D((n6a,EHt)=>{EHt.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 tGe=D((a6a,_Ht)=>{_Ht.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 nGe=D((r6a,AHt)=>{AHt.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 aGe=D((f6a,CHt)=>{CHt.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 rGe=D((i6a,IHt)=>{IHt.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 fGe=D((s6a,kHt)=>{kHt.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 iGe=D((o6a,SHt)=>{SHt.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 sGe=D((c6a,RHt)=>{RHt.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 oGe=D((d6a,MHt)=>{MHt.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 cGe=D((l6a,BHt)=>{BHt.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 dGe=D((u6a,DHt)=>{DHt.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 lGe=D((p6a,PHt)=>{PHt.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 uGe=D((h6a,LHt)=>{LHt.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 pGe=D((m6a,FHt)=>{FHt.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 hGe=D((b6a,NHt)=>{NHt.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 mGe=D((y6a,OHt)=>{OHt.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 bGe=D((g6a,UHt)=>{UHt.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 yGe=D((v6a,HHt)=>{HHt.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 gGe=D((w6a,zHt)=>{zHt.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 vGe=D((T6a,WHt)=>{WHt.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 wGe=D((x6a,qHt)=>{qHt.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 TGe=D((E6a,jHt)=>{jHt.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 xGe=D((_6a,GHt)=>{GHt.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 EGe=D((A6a,KHt)=>{KHt.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 _Ge=D((C6a,QHt)=>{QHt.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 AGe=D((I6a,VHt)=>{VHt.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 CGe=D((k6a,YHt)=>{YHt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_CrossDomainUtils",sourceName:"contracts/libraries/bridge/Lib_CrossDomainUtils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122060e64a9ccca3ea023c0ba81dbda8783559d3eec6a4d1d8ef8418badc967c072664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122060e64a9ccca3ea023c0ba81dbda8783559d3eec6a4d1d8ef8418badc967c072664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var IGe=D((S6a,$Ht)=>{$Ht.exports={_format:"hh-sol-artifact-1",contractName:"Lib_OVMCodec",sourceName:"contracts/libraries/codec/Lib_OVMCodec.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c2a5d11f9555d16a4e338a80443d30b1ec346c6a32a3a2423851829c61a564664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c2a5d11f9555d16a4e338a80443d30b1ec346c6a32a3a2423851829c61a564664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var kGe=D((R6a,JHt)=>{JHt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_DefaultValues",sourceName:"contracts/libraries/constants/Lib_DefaultValues.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220063c5ffd8afe3ee3c085661f8b942ed207ae0c52f76c705ce32343804219a1be64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220063c5ffd8afe3ee3c085661f8b942ed207ae0c52f76c705ce32343804219a1be64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var SGe=D((M6a,XHt)=>{XHt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_PredeployAddresses",sourceName:"contracts/libraries/constants/Lib_PredeployAddresses.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122056cad517f08aabd21cc0b53f664298b5b8af8f91610a5d788b7cd5a14d12078b64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122056cad517f08aabd21cc0b53f664298b5b8af8f91610a5d788b7cd5a14d12078b64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var RGe=D((B6a,ZHt)=>{ZHt.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 MGe=D((D6a,ezt)=>{ezt.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 BGe=D((P6a,tzt)=>{tzt.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 DGe=D((L6a,nzt)=>{nzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_RLPReader",sourceName:"contracts/libraries/rlp/Lib_RLPReader.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209b0105ac3644e4fdf76d616b816e1142d8df6b59717045de630c5b5bf5c4a49e64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209b0105ac3644e4fdf76d616b816e1142d8df6b59717045de630c5b5bf5c4a49e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var PGe=D((F6a,azt)=>{azt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_RLPWriter",sourceName:"contracts/libraries/rlp/Lib_RLPWriter.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220946ae63101b895e34c026fce9aa6f03d577c9012d8837976e8dc3a57ae0a2ef064736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220946ae63101b895e34c026fce9aa6f03d577c9012d8837976e8dc3a57ae0a2ef064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var LGe=D((N6a,rzt)=>{rzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_MerkleTrie",sourceName:"contracts/libraries/trie/Lib_MerkleTrie.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220214650a5ec3e1d09ab69aa832632dcca9858b098070c9e81cdae9075c0e89eef64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220214650a5ec3e1d09ab69aa832632dcca9858b098070c9e81cdae9075c0e89eef64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var FGe=D((O6a,fzt)=>{fzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_SecureMerkleTrie",sourceName:"contracts/libraries/trie/Lib_SecureMerkleTrie.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202660de7bb8aa0cc344e5d40ecf3a0bb218888dff6bd046588cf63c7f310cc10f64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202660de7bb8aa0cc344e5d40ecf3a0bb218888dff6bd046588cf63c7f310cc10f64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var NGe=D((U6a,izt)=>{izt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_Buffer",sourceName:"contracts/libraries/utils/Lib_Buffer.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220594b214017d57365da3ea1c77083baf56a0e2bbeb0c3e002e311ad4566a5a88e64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220594b214017d57365da3ea1c77083baf56a0e2bbeb0c3e002e311ad4566a5a88e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var OGe=D((H6a,szt)=>{szt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_Bytes32Utils",sourceName:"contracts/libraries/utils/Lib_Bytes32Utils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122016d3dffa07e555b0803ae61d773778a6b28a769ef91e47cb00040ecc7414705764736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122016d3dffa07e555b0803ae61d773778a6b28a769ef91e47cb00040ecc7414705764736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var UGe=D((z6a,ozt)=>{ozt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_BytesUtils",sourceName:"contracts/libraries/utils/Lib_BytesUtils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122017e44b43285912c440c4689616a765b1f83f985ef6c2257842a876b03fa23ec964736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122017e44b43285912c440c4689616a765b1f83f985ef6c2257842a876b03fa23ec964736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var HGe=D((W6a,czt)=>{czt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_MerkleTree",sourceName:"contracts/libraries/utils/Lib_MerkleTree.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b7c3be019aefbed37a33a16f751525cd016777745cc3de03701a42894fef404664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b7c3be019aefbed37a33a16f751525cd016777745cc3de03701a42894fef404664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var zGe=D((q6a,dzt)=>{dzt.exports={_format:"hh-sol-artifact-1",contractName:"AddressAliasHelper",sourceName:"contracts/standards/AddressAliasHelper.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207829434f027696874d561ec0adb447d98559e472900c36a38c8a3d107364652364736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207829434f027696874d561ec0adb447d98559e472900c36a38c8a3d107364652364736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var WGe=D((j6a,lzt)=>{lzt.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 qGe=D((G6a,uzt)=>{uzt.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 HKe=D(fq=>{"use strict";u();p();Object.defineProperty(fq,"__esModule",{value:!0});fq.getContractArtifact=void 0;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=mGe()}catch{}var uKe;try{uKe=bGe()}catch{}var pKe;try{pKe=yGe()}catch{}var hKe;try{hKe=gGe()}catch{}var mKe;try{mKe=vGe()}catch{}var bKe;try{bKe=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 SKe;try{SKe=DGe()}catch{}var RKe;try{RKe=PGe()}catch{}var MKe;try{MKe=LGe()}catch{}var BKe;try{BKe=FGe()}catch{}var DKe;try{DKe=NGe()}catch{}var PKe;try{PKe=OGe()}catch{}var LKe;try{LKe=UGe()}catch{}var FKe;try{FKe=HGe()}catch{}var NKe;try{NKe=zGe()}catch{}var OKe;try{OKe=WGe()}catch{}var UKe;try{UKe=qGe()}catch{}var pzt=t=>({iL1ChugSplashDeployer:jGe,L1ChugSplashProxy:GGe,AddressDictator:KGe,ChugSplashDictator:QGe,IL1CrossDomainMessenger:VGe,IL1ERC20Bridge:YGe,IL1StandardBridge:$Ge,L1CrossDomainMessenger:JGe,L1StandardBridge:XGe,CanonicalTransactionChain:ZGe,ChainStorageContainer:eKe,ICanonicalTransactionChain:tKe,IChainStorageContainer:nKe,IStateCommitmentChain:aKe,StateCommitmentChain:rKe,BondManager:fKe,IBondManager:iKe,IL2CrossDomainMessenger:sKe,IL2ERC20Bridge:oKe,L2CrossDomainMessenger:cKe,L2StandardBridge:dKe,L2StandardTokenFactory:lKe,iOVM_L1BlockNumber:uKe,iOVM_L2ToL1MessagePasser:pKe,OVM_DeployerWhitelist:hKe,OVM_ETH:mKe,OVM_GasPriceOracle:bKe,OVM_L2ToL1MessagePasser:yKe,OVM_SequencerFeeVault:gKe,WETH9:vKe,CrossDomainEnabled:wKe,ICrossDomainMessenger:TKe,Lib_CrossDomainUtils:xKe,Lib_OVMCodec:EKe,Lib_DefaultValues:_Ke,Lib_PredeployAddresses:AKe,Lib_AddressManager:CKe,Lib_AddressResolver:IKe,Lib_ResolvedDelegateProxy:kKe,Lib_RLPReader:SKe,Lib_RLPWriter:RKe,Lib_MerkleTrie:MKe,Lib_SecureMerkleTrie:BKe,Lib_Buffer:DKe,Lib_Bytes32Utils:PKe,Lib_BytesUtils:LKe,Lib_MerkleTree:FKe,AddressAliasHelper:NKe,IL2StandardERC20:OKe,L2StandardERC20:UKe})[t];fq.getContractArtifact=pzt});var zKe=D(iq=>{"use strict";u();p();Object.defineProperty(iq,"__esModule",{value:!0});iq.getDeployedContractArtifact=void 0;var hzt={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"},mzt={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"},bzt={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"},yzt={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"},gzt={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"},vzt={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"},wzt={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"},Tzt={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"},xzt={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"},Ezt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],address:"0x5086d1eEF304eb5284A0f6720f79403b4e9bE294"},_zt={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"},Azt={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"},Czt={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"},Izt={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"},kzt={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"},Szt={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"},Rzt={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"},Mzt={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"},Bzt={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"},Dzt={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"},Pzt={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"},Lzt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],address:"0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1"},Fzt={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"},Nzt={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"},Ozt={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"},Uzt=(t,e)=>({goerli__AddressDictator:hzt,goerli__BondManager:mzt,goerli__CanonicalTransactionChain:bzt,goerli__ChainStorageContainer_CTC_batches:yzt,goerli__ChainStorageContainer_SCC_batches:gzt,goerli__ChugSplashDictator:vzt,goerli__L1StandardBridge_for_verification_only:wzt,goerli__Lib_AddressManager:Tzt,goerli__OVM_L1CrossDomainMessenger:xzt,goerli__Proxy__OVM_L1CrossDomainMessenger:Ezt,goerli__Proxy__OVM_L1StandardBridge:_zt,goerli__StateCommitmentChain:Azt,mainnet__AddressDictator:Czt,mainnet__BondManager:Izt,mainnet__CanonicalTransactionChain:kzt,mainnet__ChainStorageContainer_CTC_batches:Szt,mainnet__ChainStorageContainer_SCC_batches:Rzt,mainnet__ChugSplashDictator:Mzt,mainnet__L1StandardBridge_for_verification_only:Bzt,mainnet__Lib_AddressManager:Dzt,mainnet__OVM_L1CrossDomainMessenger:Pzt,mainnet__Proxy__OVM_L1CrossDomainMessenger:Lzt,mainnet__Proxy__OVM_L1StandardBridge:Fzt,mainnet__StateCommitmentChain:Nzt,mainnet__TeleportrDeposit:Ozt})[(e+"__"+t).replace(/-/g,"_")];iq.getDeployedContractArtifact=Uzt});var qKe=D(B6=>{"use strict";u();p();Object.defineProperty(B6,"__esModule",{value:!0});B6.getContractFactory=B6.getContractInterface=B6.getDeployedContractDefinition=B6.getContractDefinition=void 0;var WKe=Je(),Hzt=t=>{let{getContractArtifact:e}=HKe(),n=e(t);if(n===void 0)throw new Error(`Unable to find artifact for contract: ${t}`);return n};B6.getContractDefinition=Hzt;var zzt=(t,e)=>{let{getDeployedContractArtifact:n}=zKe(),a=n(t,e);if(a===void 0)throw new Error(`Unable to find artifact for contract on network ${e}: ${t}`);return a};B6.getDeployedContractDefinition=zzt;var Wzt=t=>{let e=(0,B6.getContractDefinition)(t);return new WKe.ethers.utils.Interface(e.abi)};B6.getContractInterface=Wzt;var qzt=(t,e)=>{let n=(0,B6.getContractDefinition)(t),a=(0,B6.getContractInterface)(t);return new WKe.ethers.ContractFactory(a,n.bytecode,e)};B6.getContractFactory=qzt});var jKe=D(Ix=>{"use strict";u();p();Object.defineProperty(Ix,"__esModule",{value:!0});Ix.futurePredeploys=Ix.predeploys=void 0;Ix.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"};Ix.futurePredeploys={System0:"0x4200000000000000000000000000000000000042",System1:"0x4200000000000000000000000000000000000014"}});var kx=D(Rm=>{"use strict";u();p();var jzt=Rm&&Rm.__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]}),GKe=Rm&&Rm.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&jzt(e,t,n)};Object.defineProperty(Rm,"__esModule",{value:!0});GKe(qKe(),Rm);GKe(jKe(),Rm)});var n1e=D((s5a,Gzt)=>{Gzt.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 a1e=D((o5a,Kzt)=>{Kzt.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 r1e=D((c5a,Qzt)=>{Qzt.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 KKe=D((d5a,Vzt)=>{Vzt.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 QKe=D((l5a,Yzt)=>{Yzt.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 VKe=D((u5a,$zt)=>{$zt.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 YKe=D((p5a,Jzt)=>{Jzt.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 $Ke=D((h5a,Xzt)=>{Xzt.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 JKe=D((m5a,Zzt)=>{Zzt.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 XKe=D((b5a,eWt)=>{eWt.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 ZKe=D((y5a,tWt)=>{tWt.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 eQe=D((g5a,nWt)=>{nWt.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 tQe=D((v5a,aWt)=>{aWt.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 nQe=D((w5a,rWt)=>{rWt.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 aQe=D((T5a,fWt)=>{fWt.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 rQe=D((x5a,iWt)=>{iWt.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 fQe=D((E5a,sWt)=>{sWt.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 sQe=D(iQe=>{"use strict";u();p();Object.defineProperty(iQe,"__esModule",{value:!0})});var s1e=D(ti=>{"use strict";u();p();Object.defineProperty(ti,"__esModule",{value:!0});ti.bytes32ify=ti.hexStringEquals=ti.encodeHex=ti.padHexString=ti.toRpcHexString=ti.toHexString=ti.fromHexString=ti.add0x=ti.remove0x=void 0;var i1e=ia(),f1e=Vt(),oWt=t=>t===void 0?t:t.startsWith("0x")?t.slice(2):t;ti.remove0x=oWt;var cWt=t=>t===void 0||t.startsWith("0x")?t:"0x"+t;ti.add0x=cWt;var dWt=t=>typeof t=="string"&&t.startsWith("0x")?_.Buffer.from(t.slice(2),"hex"):_.Buffer.from(t);ti.fromHexString=dWt;var lWt=t=>typeof t=="number"?i1e.BigNumber.from(t).toHexString():"0x"+(0,ti.fromHexString)(t).toString("hex");ti.toHexString=lWt;var uWt=t=>{let e;return typeof t=="number"?e="0x"+t.toString(16):e=t.toHexString(),e==="0x0"?e:e.replace(/^0x0/,"0x")};ti.toRpcHexString=uWt;var pWt=(t,e)=>t.length===2+e*2?t:"0x"+t.slice(2).padStart(e*2,"0");ti.padHexString=pWt;var hWt=(t,e)=>(0,ti.remove0x)(i1e.BigNumber.from(t).toHexString()).padStart(e,"0");ti.encodeHex=hWt;var mWt=(t,e)=>{if(!(0,f1e.isHexString)(t))throw new Error(`input is not a hex string: ${t}`);if(!(0,f1e.isHexString)(e))throw new Error(`input is not a hex string: ${e}`);return t.toLowerCase()===e.toLowerCase()};ti.hexStringEquals=mWt;var bWt=t=>(0,f1e.hexZeroPad)(i1e.BigNumber.from(t).toHexString(),32);ti.bytes32ify=bWt});var dQe=D(sq=>{"use strict";u();p();Object.defineProperty(sq,"__esModule",{value:!0});sq.bnToAddress=void 0;var oQe=ia(),yWt=Po(),cQe=s1e(),gWt=t=>{t=oQe.BigNumber.from(t),t.isNegative()&&(t=oQe.BigNumber.from("0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF").add(t).add(1));let e=t.toHexString();return e=(0,cQe.remove0x)(e),e=e.padStart(40,"0"),e=e.slice(e.length-40,e.length),e=(0,cQe.add0x)(e),e=(0,yWt.getAddress)(e),e};sq.bnToAddress=gWt});var o1e=D(J5=>{"use strict";u();p();Object.defineProperty(J5,"__esModule",{value:!0});J5.compareAddrs=J5.getenv=J5.reqenv=J5.clone=J5.sleep=void 0;var vWt=async t=>new Promise(e=>{setTimeout(()=>{e(null)},t)});J5.sleep=vWt;var wWt=t=>{if(typeof t>"u")throw new Error("Trying to clone undefined object");return Object.assign({},t)};J5.clone=wWt;var TWt=t=>{let e=x.env[t];if(e===void 0)throw new Error(`missing env var ${t}`);return e};J5.reqenv=TWt;var xWt=(t,e)=>x.env[t]||e;J5.getenv=xWt;var EWt=(t,e)=>t.toLowerCase()===e.toLowerCase();J5.compareAddrs=EWt});var c1e=D((F5a,uQe)=>{u();p();function lQe(){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 hQe(t,e){return typeof t>"u"||t===null?!1:e in Object(t)}function mQe(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 pQe(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 _Wt(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 bQe(t,e){var n=mQe(e),a=n[n.length-1],r={parent:n.length>1?pQe(t,n,n.length-1):t,name:a.p||a.i,value:pQe(t,n)};return r.exists=hQe(r.parent,r.name),r}function AWt(t,e){var n=bQe(t,e);return n.value}function CWt(t,e,n){var a=mQe(e);return _Wt(t,n,a),t}yQe.exports={hasProperty:hQe,getPathInfo:bQe,getPathValue:AWt,setPathValue:CWt}});var X5=D((W5a,vQe)=>{u();p();vQe.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 TQe=D((G5a,wQe)=>{u();p();var IWt=X5();wQe.exports=function(e,n){var a=IWt(e,"negate"),r=n[0];return a?!r:r}});var sR=D((d1e,l1e)=>{u();p();(function(t,e){typeof d1e=="object"&&typeof l1e<"u"?l1e.exports=e():typeof define=="function"&&define.amd?define(e):t.typeDetect=e()})(d1e,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 EQe=D(($5a,xQe)=>{u();p();var kWt=c1e(),u1e=X5(),SWt=sR();xQe.exports=function(e,n){var a=u1e(e,"message"),r=u1e(e,"ssfi");a=a?a+": ":"",e=u1e(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=SWt(e).toLowerCase();if(!n.some(function(s){return i===s}))throw new kWt(a+"object tested must be "+f+", but "+i+" given",void 0,r)}});var p1e=D((Z5a,_Qe)=>{u();p();_Qe.exports=function(e,n){return n.length>4?n[4]:e._obj}});var oq=D((nda,AQe)=>{"use strict";u();p();var RWt=Function.prototype.toString,MWt=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,BWt=512;function DWt(t){if(typeof t!="function")return null;var e="";if(typeof Function.prototype.name>"u"&&typeof t.name>"u"){var n=RWt.call(t);if(n.indexOf("(")>BWt)return e;var a=n.match(MWt);a&&(e=a[1])}else e=t.name;return e}AQe.exports=DWt});var IQe=D((cq,CQe)=>{u();p();(function(t,e){typeof cq=="object"&&typeof CQe<"u"?e(cq):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.loupe={}))})(cq,function(t){"use strict";function e(me){"@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(me)}function n(me,ye){return a(me)||r(me,ye)||f(me,ye)||s()}function a(me){if(Array.isArray(me))return me}function r(me,ye){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(me)))){var _e=[],ze=!0,je=!1,Ue=void 0;try{for(var m0=me[Symbol.iterator](),h0;!(ze=(h0=m0.next()).done)&&(_e.push(h0.value),!(ye&&_e.length===ye));ze=!0);}catch($e){je=!0,Ue=$e}finally{try{!ze&&m0.return!=null&&m0.return()}finally{if(je)throw Ue}}return _e}}function f(me,ye){if(me){if(typeof me=="string")return i(me,ye);var _e=Object.prototype.toString.call(me).slice(8,-1);if(_e==="Object"&&me.constructor&&(_e=me.constructor.name),_e==="Map"||_e==="Set")return Array.from(me);if(_e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_e))return i(me,ye)}}function i(me,ye){(ye==null||ye>me.length)&&(ye=me.length);for(var _e=0,ze=new Array(ye);_e0&&arguments[0]!==void 0?arguments[0]:{},ye=me.showHidden,_e=ye===void 0?!1:ye,ze=me.depth,je=ze===void 0?2:ze,Ue=me.colors,m0=Ue===void 0?!1:Ue,h0=me.customInspect,$e=h0===void 0?!0:h0,M0=me.showProxy,P0=M0===void 0?!1:M0,t0=me.maxArrayLength,j0=t0===void 0?1/0:t0,z0=me.breakLength,Ke=z0===void 0?1/0:z0,B0=me.seen,K0=B0===void 0?[]:B0,s0=me.truncate,J0=s0===void 0?1/0:s0,Y0=me.stylize,l0=Y0===void 0?String:Y0,Q0={showHidden:!!_e,depth:Number(je),colors:!!m0,customInspect:!!$e,showProxy:!!P0,maxArrayLength:Number(j0),breakLength:Number(Ke),truncate:Number(J0),seen:K0,stylize:l0};return Q0.colors&&(Q0.stylize=l),Q0}function y(me,ye){var _e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d;me=String(me);var ze=_e.length,je=me.length;return ze>ye&&je>ze?_e:je>ye&&je>ze?"".concat(me.slice(0,ye-ze)).concat(_e):me}function v(me,ye,_e){var ze=arguments.length>3&&arguments[3]!==void 0?arguments[3]:", ";_e=_e||ye.inspect;var je=me.length;if(je===0)return"";for(var Ue=ye.truncate,m0="",h0="",$e="",M0=0;M0Ue&&m0.length+$e.length<=Ue||!P0&&!t0&&B0>Ue||(h0=P0?"":_e(me[M0+1],ye)+(t0?"":ze),!P0&&t0&&B0>Ue&&Ke+h0.length>Ue))break;if(m0+=z0,!P0&&!t0&&Ke+h0.length>=Ue){$e="".concat(d,"(").concat(me.length-M0-1,")");break}$e=""}return"".concat(m0).concat($e)}function k(me){return me.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?me:JSON.stringify(me).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function O(me,ye){var _e=n(me,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(me,ye){var _e=Object.keys(me).slice(me.length);if(!me.length&&!_e.length)return"[]";ye.truncate-=4;var ze=v(me,ye);ye.truncate-=ze.length;var je="";return _e.length&&(je=v(_e.map(function(Ue){return[Ue,me[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(me){if(typeof me!="function")return null;var ye="";if(typeof Function.prototype.name>"u"&&typeof me.name>"u"){var _e=z.call(me);if(_e.indexOf("(")>j)return ye;var ze=_e.match(W);ze&&(ye=ze[1])}else ye=me.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(me,ye){var _e=X(me);ye.truncate-=_e.length+4;var ze=Object.keys(me).slice(me.length);if(!me.length&&!ze.length)return"".concat(_e,"[]");for(var je="",Ue=0;Ue ").concat(je)}function N(me){var ye=[];return me.forEach(function(_e,ze){ye.push([ze,_e])}),ye}function w(me,ye){var _e=me.size-1;return _e<=0?"Map{}":(ye.truncate-=7,"Map{ ".concat(v(N(me),ye,T)," }"))}var b=Number.isNaN||function(me){return me!==me};function A(me,ye){return b(me)?ye.stylize("NaN","number"):me===1/0?ye.stylize("Infinity","number"):me===-1/0?ye.stylize("-Infinity","number"):me===0?ye.stylize(1/me===1/0?"+0":"-0","number"):ye.stylize(y(me,ye.truncate),"number")}function P(me,ye){var _e=y(me.toString(),ye.truncate-1);return _e!==d&&(_e+="n"),ye.stylize(_e,"bigint")}function L(me,ye){var _e=me.toString().split("/")[2],ze=ye.truncate-(2+_e.length),je=me.source;return ye.stylize("/".concat(y(je,ze),"/").concat(_e),"regexp")}function E(me){var ye=[];return me.forEach(function(_e){ye.push(_e)}),ye}function g(me,ye){return me.size===0?"Set{}":(ye.truncate-=7,"Set{ ".concat(v(E(me),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(me){return M[me]||"\\u".concat("0000".concat(me.charCodeAt(0).toString(S)).slice(-q))}function U(me,ye){return B.test(me)&&(me=me.replace(B,ee)),ye.stylize("'".concat(y(me,ye.truncate-2),"'"),"string")}function J(me){return"description"in Symbol.prototype?me.description?"Symbol(".concat(me.description,")"):"Symbol()":me.toString()}var Z=function(){return"Promise{\u2026}"};try{var ne=x.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],m0=je[1];return Ue===Y?"Promise{}":"Promise".concat(Ue===re?"!":"","{").concat(_e.inspect(m0,_e),"}")})}catch{}var ie=Z;function ge(me,ye){var _e=Object.getOwnPropertyNames(me),ze=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(me):[];if(_e.length===0&&ze.length===0)return"{}";if(ye.truncate-=4,ye.seen=ye.seen||[],ye.seen.indexOf(me)>=0)return"[Circular]";ye.seen.push(me);var je=v(_e.map(function(h0){return[h0,me[h0]]}),ye,O),Ue=v(ze.map(function(h0){return[h0,me[h0]]}),ye,O);ye.seen.pop();var m0="";return je&&Ue&&(m0=", "),"{ ".concat(je).concat(m0).concat(Ue," }")}var de=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Ae(me,ye){var _e="";return de&&de in me&&(_e=me[de]),_e=_e||V(me.constructor),(!_e||_e==="_class")&&(_e=""),ye.truncate-=_e.length,"".concat(_e).concat(ge(me,ye))}function Ge(me,ye){return me.length===0?"Arguments[]":(ye.truncate-=13,"Arguments[ ".concat(v(me,ye)," ]"))}var Be=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function c0(me,ye){var _e=Object.getOwnPropertyNames(me).filter(function(m0){return Be.indexOf(m0)===-1}),ze=me.name;ye.truncate-=ze.length;var je="";typeof me.message=="string"?je=y(me.message,ye.truncate):_e.unshift("message"),je=je?": ".concat(je):"",ye.truncate-=je.length+5;var Ue=v(_e.map(function(m0){return[m0,me[m0]]}),ye,O);return"".concat(ze).concat(je).concat(Ue?" { ".concat(Ue," }"):"")}function Ye(me,ye){var _e=n(me,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(me,ye){return v(me,ye,_0,` -`)}function _0(me,ye){var _e=me.getAttributeNames(),ze=me.tagName.toLowerCase(),je=ye.stylize("<".concat(ze),"special"),Ue=ye.stylize(">","special"),m0=ye.stylize(""),"special");ye.truncate-=ze.length*2+5;var h0="";_e.length>0&&(h0+=" ",h0+=v(_e.map(function(P0){return[P0,me.getAttribute(P0)]}),ye,Ye," ")),ye.truncate-=h0.length;var $e=ye.truncate,M0=He(me.children,ye);return M0&&M0.length>$e&&(M0="".concat(d,"(").concat(me.children.length,")")),"".concat(je).concat(h0).concat(Ue).concat(M0).concat(m0)}var L0=typeof Symbol=="function"&&typeof Symbol.for=="function",Ze=L0?Symbol.for("chai/inspect"):"@@chai/inspect",I0=!1;try{var pe=rl();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(me,ye){ye=h(ye),ye.inspect=qe;var _e=ye,ze=_e.customInspect,je=me===null?"null":e(me);if(je==="object"&&(je=u0.call(me).slice(8,-1)),Se[je])return Se[je](me,ye);if(ze&&me){var Ue=Qe(me,ye,je);if(Ue)return typeof Ue=="string"?Ue:qe(Ue,ye)}var m0=me?Object.getPrototypeOf(me):!1;return m0===Object.prototype||m0===null?ge(me,ye):me&&typeof HTMLElement=="function"&&me instanceof HTMLElement?_0(me,ye):"constructor"in me?me.constructor!==Object?Ae(me,ye):ge(me,ye):me===Object(me)?ge(me,ye):ye.stylize(String(me),je)}function v0(me,ye){return Te.has(me)?!1:(Te.set(me,ye),!0)}function w0(me,ye){return me in Ce?!1:(Ce[me]=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 $7=D((rda,SQe)=>{u();p();SQe.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null}});var dq=D((oda,MQe)=>{u();p();var sda=oq(),MWt=kQe(),RQe=$7();MQe.exports=BWt;function BWt(t,e,n,a){var r={colors:a,depth:typeof n>"u"?2:n,showHidden:e,truncate:RQe.truncateThreshold?RQe.truncateThreshold:1/0};return MWt.inspect(t,r)}});var m1e=D((lda,DQe)=>{u();p();var DWt=dq(),BQe=$7();DQe.exports=function(e){var n=DWt(e),a=Object.prototype.toString.call(e);if(BQe.truncateThreshold&&n.length>=BQe.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 LQe=D((hda,PQe)=>{u();p();var b1e=X5(),PWt=h1e(),y1e=m1e();PQe.exports=function(e,n){var a=b1e(e,"negate"),r=b1e(e,"object"),f=n[3],i=PWt(e,n),s=a?n[2]:n[1],o=b1e(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return y1e(r)}).replace(/#\{act\}/g,function(){return y1e(i)}).replace(/#\{exp\}/g,function(){return y1e(f)}),o?o+": "+s:s}});var Mm=D((yda,FQe)=>{u();p();FQe.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 VQe=D((wda,w1e)=>{"use strict";u();p();var NQe=iR();function GQe(){this._key="chai/deep-eql__"+Math.random()+Date.now()}GQe.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 v1e=typeof WeakMap=="function"?WeakMap:GQe;function OQe(t,e,n){if(!n||Ix(t)||Ix(e))return null;var a=n.get(t);if(a){var r=a.get(e);if(typeof r=="boolean")return r}return null}function lq(t,e,n,a){if(!(!n||Ix(t)||Ix(e))){var r=n.get(t);r?r.set(e,a):(r=new v1e,r.set(e,a),n.set(t,r))}}w1e.exports=uq;w1e.exports.MemoizeMap=v1e;function uq(t,e,n){if(n&&n.comparator)return UQe(t,e,n);var a=KQe(t,e);return a!==null?a:UQe(t,e,n)}function KQe(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e?!0:Ix(t)||Ix(e)?!1:null}function UQe(t,e,n){n=n||{},n.memoize=n.memoize===!1?!1:n.memoize||new v1e;var a=n&&n.comparator,r=OQe(t,e,n.memoize);if(r!==null)return r;var f=OQe(e,t,n.memoize);if(f!==null)return f;if(a){var i=a(t,e);if(i===!1||i===!0)return lq(t,e,n.memoize,i),i;var s=KQe(t,e);if(s!==null)return s}var o=NQe(t);if(o!==NQe(e))return lq(t,e,n.memoize,!1),!1;lq(t,e,n.memoize,!0);var c=LWt(t,e,o,n);return lq(t,e,n.memoize,c),c}function LWt(t,e,n,a){switch(n){case"String":case"Number":case"Boolean":case"Date":return uq(t.valueOf(),e.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return t===e;case"Error":return QQe(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 J7(t,e,a);case"RegExp":return FWt(t,e);case"Generator":return NWt(t,e,a);case"DataView":return J7(new Uint8Array(t.buffer),new Uint8Array(e.buffer),a);case"ArrayBuffer":return J7(new Uint8Array(t),new Uint8Array(e),a);case"Set":return HQe(t,e,a);case"Map":return HQe(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 UWt(t,e,a)}}function FWt(t,e){return t.toString()===e.toString()}function HQe(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])}),J7(a.sort(),r.sort(),n)}function J7(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 HWt=$7();YQe.exports=function(){return HWt.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}});var XQe=D((Cda,JQe)=>{u();p();var zWt=Bm(),$Qe=X5(),WWt=sR(),qWt=Mm();JQe.exports=function(e,n,a){a=a===void 0?function(){}:a,Object.defineProperty(e,n,{get:function r(){!WWt()&&!$Qe(this,"lockSsfi")&&$Qe(this,"ssfi",r);var f=a.call(this);if(f!==void 0)return f;var i=new zWt.Assertion;return qWt(this,i),i},configurable:!0})}});var oR=D((Sda,ZQe)=>{u();p();var jWt=Object.getOwnPropertyDescriptor(function(){},"length");ZQe.exports=function(e,n,a){return jWt.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 tVe=D((Bda,eVe)=>{u();p();eVe.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 cR=D((Lda,rVe)=>{u();p();var GWt=$7(),nVe=X5(),KWt=tVe(),QWt=sR();var aVe=["__flags","__methods","_obj","assert"];rVe.exports=function(e,n){return QWt()?new Proxy(e,{get:function a(r,f){if(typeof f=="string"&&GWt.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 KWt(r).forEach(function(o){if(!Object.prototype.hasOwnProperty(o)&&aVe.indexOf(o)===-1){var c=VWt(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 sVe=D((Oda,iVe)=>{u();p();var YWt=oR(),$Wt=Bm(),fVe=X5(),JWt=cR(),XWt=Mm();iVe.exports=function(e,n,a){var r=function(){fVe(this,"lockSsfi")||fVe(this,"ssfi",r);var f=a.apply(this,arguments);if(f!==void 0)return f;var i=new $Wt.Assertion;return XWt(this,i),i};YWt(r,n,!1),e[n]=JWt(r,n)}});var cVe=D((zda,oVe)=>{u();p();var ZWt=Bm(),dR=X5(),eqt=sR(),tqt=Mm();oVe.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(){!eqt()&&!dR(this,"lockSsfi")&&dR(this,"ssfi",i);var s=dR(this,"lockSsfi");dR(this,"lockSsfi",!0);var o=a(f).call(this);if(dR(this,"lockSsfi",s),o!==void 0)return o;var c=new ZWt.Assertion;return tqt(this,c),c},configurable:!0})}});var lVe=D((jda,dVe)=>{u();p();var nqt=oR(),aqt=Bm(),lR=X5(),rqt=cR(),fqt=Mm();dVe.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(){lR(this,"lockSsfi")||lR(this,"ssfi",i);var s=lR(this,"lockSsfi");lR(this,"lockSsfi",!0);var o=a(f).apply(this,arguments);if(lR(this,"lockSsfi",s),o!==void 0)return o;var c=new aqt.Assertion;return fqt(this,c),c};nqt(i,n,!1),e[n]=rqt(i,n)}});var bVe=D((Qda,mVe)=>{u();p();var iqt=oR(),sqt=Bm(),uVe=X5(),oqt=cR(),pVe=Mm();var cqt=typeof Object.setPrototypeOf=="function",hVe=function(){},dqt=Object.getOwnPropertyNames(hVe).filter(function(t){var e=Object.getOwnPropertyDescriptor(hVe,t);return typeof e!="object"?!0:!e.configurable}),lqt=Function.prototype.call,uqt=Function.prototype.apply;mVe.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(){uVe(this,"lockSsfi")||uVe(this,"ssfi",s);var d=f.method.apply(this,arguments);if(d!==void 0)return d;var l=new sqt.Assertion;return pVe(this,l),l};if(iqt(s,n,!0),cqt){var o=Object.create(this);o.call=lqt,o.apply=uqt,Object.setPrototypeOf(s,o)}else{var c=Object.getOwnPropertyNames(e);c.forEach(function(d){if(dqt.indexOf(d)===-1){var l=Object.getOwnPropertyDescriptor(e,d);Object.defineProperty(s,d,l)}})}return pVe(this,s),oqt(s)},configurable:!0})}});var wVe=D(($da,vVe)=>{u();p();var yVe=Bm(),gVe=Mm();vVe.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 yVe.Assertion;return gVe(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 yVe.Assertion;return gVe(this,d),d}}});var EVe=D((Zda,xVe)=>{u();p();var TVe=dq();xVe.exports=function(e,n){return TVe(e){u();p();_Ve.exports=function(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})}});var CVe=D((fla,AVe)=>{u();p();var pqt=T1e();AVe.exports=function(e){return Object.keys(e).concat(pqt(e))}});var kVe=D((ola,IVe)=>{"use strict";u();p();var x1e=oq();function hqt(t,e){return e instanceof Error&&t===e}function mqt(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 bqt(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 yqt(t){var e=t;if(t instanceof Error)e=x1e(t.constructor);else if(typeof t=="function"&&(e=x1e(t),e==="")){var n=x1e(new t);e=n||e}return e}function gqt(t){var e="";return t&&t.message?e=t.message:typeof t=="string"&&(e=t),e}IVe.exports={compatibleInstance:hqt,compatibleConstructor:mqt,compatibleMessage:bqt,getMessage:gqt,getConstructorName:yqt}});var RVe=D((lla,SVe)=>{u();p();function vqt(t){return t!==t}SVe.exports=Number.isNaN||vqt});var DVe=D((hla,BVe)=>{u();p();var wqt=iR(),MVe=X5();function Tqt(t){var e=wqt(t),n=["Array","Object","function"];return n.indexOf(e)!==-1}BVe.exports=function(e,n){var a=MVe(e,"operator"),r=MVe(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=Tqt(f);return/\snot\s/.test(i)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}}});var LVe=D(sr=>{u();p();var PVe=vQe();sr.test=xQe();sr.type=iR();sr.expectTypes=_Qe();sr.getMessage=LQe();sr.getActual=h1e();sr.inspect=dq();sr.objDisplay=m1e();sr.flag=X5();sr.transferFlags=Mm();sr.eql=VQe();sr.getPathInfo=PVe.getPathInfo;sr.hasProperty=PVe.hasProperty;sr.getName=oq();sr.addProperty=XQe();sr.addMethod=sVe();sr.overwriteProperty=cVe();sr.overwriteMethod=lVe();sr.addChainableMethod=bVe();sr.overwriteChainableMethod=wVe();sr.compareByInspect=EVe();sr.getOwnEnumerablePropertySymbols=T1e();sr.getOwnEnumerableProperties=CVe();sr.checkError=kVe();sr.proxify=cR();sr.addLengthGuard=oR();sr.isProxyEnabled=sR();sr.isNaN=RVe();sr.getOperator=DVe()});var NVe=D((wla,FVe)=>{u();p();var X7=$7();FVe.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",X7.deepEqual||e.eql),e.proxify(this)}Object.defineProperty(r,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),X7.includeStack},set:function(f){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),X7.includeStack=f}}),Object.defineProperty(r,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),X7.showDiff},set:function(f){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),X7.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),X7.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,X7.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 UVe=D((Ela,OVe)=>{u();p();OVe.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 b(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",b);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 E(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",E),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 zVe=D((Cla,HVe)=>{u();p();HVe.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 qVe=D((Sla,WVe)=>{u();p();WVe.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 GVe=D((Bla,jVe)=>{u();p();jVe.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 KVe=[];D6.version="4.3.8";D6.AssertionError=d1e();var QVe=LVe();D6.use=function(t){return~KVe.indexOf(t)||(t(D6,QVe),KVe.push(t)),D6};D6.util=QVe;var xqt=$7();D6.config=xqt;var Eqt=NVe();D6.use(Eqt);var _qt=UVe();D6.use(_qt);var Aqt=zVe();D6.use(Aqt);var Cqt=qVe();D6.use(Cqt);var Iqt=GVe();D6.use(Iqt)});var YVe=D((Ola,VVe)=>{u();p();VVe.exports=Bm()});var XVe=D(kx=>{"use strict";u();p();Object.defineProperty(kx,"__esModule",{value:!0});kx.expectApprox=kx.awaitCondition=void 0;var $Ve=YVe(),JVe=ia(),kqt=c1e(),Sqt=async(t,e=1e3,n=10)=>{for(let a=0;a{if(t=JVe.BigNumber.from(t),e=JVe.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,$Ve.expect)(t.lte(s),`Actual value (${t}) is greater than the calculated upper bound of (${s})`).to.be.true,d&&(0,$Ve.expect)(t.gte(d),`Actual value (${t}) is less than the calculated lower bound of (${d})`).to.be.true};kx.expectApprox=Rqt});var pq=D(El=>{"use strict";u();p();var Mqt=El&&El.__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]}),uR=El&&El.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Mqt(e,t,n)};Object.defineProperty(El,"__esModule",{value:!0});uR(oQe(),El);uR(lQe(),El);uR(o1e(),El);uR(c1e(),El);uR(XVe(),El)});var eYe=D(ZVe=>{"use strict";u();p();Object.defineProperty(ZVe,"__esModule",{value:!0})});var tYe=D(Z7=>{"use strict";u();p();var Bqt=Z7&&Z7.__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]}),Dqt=Z7&&Z7.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Bqt(e,t,n)};Object.defineProperty(Z7,"__esModule",{value:!0});Dqt(eYe(),Z7)});var nYe=D(hq=>{"use strict";u();p();Object.defineProperty(hq,"__esModule",{value:!0});hq.getChainId=void 0;var Pqt=async t=>(await t.getNetwork()).chainId;hq.getChainId=Pqt});var aYe=D(e9=>{"use strict";u();p();var Lqt=e9&&e9.__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]}),Fqt=e9&&e9.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Lqt(e,t,n)};Object.defineProperty(e9,"__esModule",{value:!0});Fqt(nYe(),e9)});var fYe=D(Dm=>{"use strict";u();p();var Nqt=Dm&&Dm.__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]}),rYe=Dm&&Dm.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Nqt(e,t,n)};Object.defineProperty(Dm,"__esModule",{value:!0});rYe(tYe(),Dm);rYe(aYe(),Dm)});var cYe=D(s2=>{"use strict";u();p();Object.defineProperty(s2,"__esModule",{value:!0});s2.undoL1ToL2Alias=s2.applyL1ToL2Alias=s2.L1_TO_L2_ALIAS_OFFSET=void 0;var iYe=Po(),sYe=ia(),oYe=pq();s2.L1_TO_L2_ALIAS_OFFSET="0x1111000000000000000000000000000000001111";var Oqt=t=>{if(!(0,iYe.isAddress)(t))throw new Error(`not a valid address: ${t}`);return(0,oYe.bnToAddress)(sYe.BigNumber.from(t).add(s2.L1_TO_L2_ALIAS_OFFSET))};s2.applyL1ToL2Alias=Oqt;var Uqt=t=>{if(!(0,iYe.isAddress)(t))throw new Error(`not a valid address: ${t}`);return(0,oYe.bnToAddress)(sYe.BigNumber.from(t).sub(s2.L1_TO_L2_ALIAS_OFFSET))};s2.undoL1ToL2Alias=Uqt});var dYe=D(hf=>{"use strict";u();p();Object.defineProperty(hf,"__esModule",{value:!0});hf.calldataCost=hf.zeroesAndOnes=hf.calculateL1Fee=hf.calculateL1GasUsed=hf.scaleDecimals=hf.txDataNonZeroGasEIP2028=hf.txDataZeroGas=void 0;var Sx=ia(),Hqt=pq();hf.txDataZeroGas=4;hf.txDataNonZeroGasEIP2028=16;var zqt=Sx.BigNumber.from(10),Wqt=(t,e)=>{t=Sx.BigNumber.from(t),e=Sx.BigNumber.from(e);let n=zqt.pow(e);return t.div(n)};hf.scaleDecimals=Wqt;var qqt=(t,e)=>{let[n,a]=(0,hf.zeroesAndOnes)(t),r=n*hf.txDataZeroGas,f=(a+68)*hf.txDataNonZeroGasEIP2028;return Sx.BigNumber.from(f).add(r).add(e)};hf.calculateL1GasUsed=qqt;var jqt=(t,e,n,a,r)=>{let s=(0,hf.calculateL1GasUsed)(t,e).mul(n).mul(a);return(0,hf.scaleDecimals)(s,r)};hf.calculateL1Fee=jqt;var Gqt=t=>{typeof t=="string"&&(t=_.Buffer.from((0,Hqt.remove0x)(t),"hex"));let e=0,n=0;for(let a of t)a===0?e++:n++;return[e,n]};hf.zeroesAndOnes=Gqt;var Kqt=t=>{let[e,n]=(0,hf.zeroesAndOnes)(t),a=Sx.BigNumber.from(e).mul(hf.txDataZeroGas),r=Sx.BigNumber.from(n).mul(hf.txDataNonZeroGasEIP2028);return a.add(r)};hf.calldataCost=Kqt});var uYe=D(lYe=>{"use strict";u();p();Object.defineProperty(lYe,"__esModule",{value:!0})});var mYe=D(Z5=>{"use strict";u();p();var Qqt=Z5&&Z5.__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]}),Vqt=Z5&&Z5.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Yqt=Z5&&Z5.__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)&&Qqt(e,t,n);return Vqt(e,t),e};Object.defineProperty(Z5,"__esModule",{value:!0});Z5.DepositTx=Z5.SourceHashDomain=void 0;var C1e=Po(),o2=ia(),E1e=H1(),$qt=E3(),pYe=Yqt(gI()),_l=Vt(),Jqt=t=>t?new Uint8Array([1]):new Uint8Array([]),_1e=(t,e)=>{let n=(0,_l.stripZeros)(o2.BigNumber.from(t).toHexString());if(n.length>32)throw new Error(`invalid length for ${e}`);return n},Xqt=t=>{if(t==="0x")return!1;if(t==="0x01")return!0;throw new Error(`invalid boolean RLP hex value ${t}`)},A1e=t=>t==="0x"?$qt.Zero:o2.BigNumber.from(t),hYe=t=>t==="0x"?null:(0,C1e.getAddress)(t),pR;(function(t){t[t.UserDeposit=0]="UserDeposit",t[t.L1InfoDeposit=1]="L1InfoDeposit"})(pR||(Z5.SourceHashDomain=pR={}));var I1e=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,E1e.keccak256)(e)}sourceHash(){if(!this._sourceHash){let e;switch(this.domain){case pR.UserDeposit:e=o2.BigNumber.from(this.logIndex).toHexString();break;case pR.L1InfoDeposit:e=o2.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,_l.hexConcat)([n,(0,_l.zeroPad)(e,32)]),r=(0,E1e.keccak256)(a),f=o2.BigNumber.from(this.domain).toHexString(),i=(0,_l.hexConcat)([(0,_l.zeroPad)(f,32),r]);this._sourceHash=(0,E1e.keccak256)(i)}return this._sourceHash}encode(){let e=[this.sourceHash()||"0x",(0,C1e.getAddress)(this.from)||"0x",this.to!=null?(0,C1e.getAddress)(this.to):"0x",_1e(this.mint||0,"mint"),_1e(this.value||0,"value"),_1e(this.gas||0,"gas"),Jqt(this.isSystemTransaction),this.data||"0x"];return(0,_l.hexConcat)([o2.BigNumber.from(this.type).toHexString(),pYe.encode(e)])}decode(e,n={}){let a=(0,_l.arrayify)(e);if(a[0]!==this.type)throw new Error(`Invalid type ${a[0]}`);this.version=a[1];let r=pYe.decode(a.slice(1));return this._sourceHash=r[0],this.from=hYe(r[1]),this.to=hYe(r[2]),this.mint=A1e(r[3]),this.value=A1e(r[4]),this.gas=A1e(r[5]),this.isSystemTransaction=Xqt(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=o2.BigNumber.from((0,_l.hexDataSlice)(n,a,a+32)),a+=32,this.value=o2.BigNumber.from((0,_l.hexDataSlice)(n,a,a+32)),a+=32,this.gas=o2.BigNumber.from((0,_l.hexDataSlice)(n,a,a+8)),a+=8;let r=o2.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,_l.hexDataSlice)(n,a,a+f),this.domain=pR.UserDeposit,this.l1BlockHash=e.blockHash,this.logIndex=e.logIndex,this}static fromL1Event(e){return new this({}).fromL1Event(e)}};Z5.DepositTx=I1e});var k1e=D(Q1=>{"use strict";u();p();Object.defineProperty(Q1,"__esModule",{value:!0});Q1.encodeCrossDomainMessage=Q1.encodeCrossDomainMessageV1=Q1.encodeCrossDomainMessageV0=Q1.decodeVersionedNonce=Q1.encodeVersionedNonce=void 0;var Zqt=ia(),ejt=vw(),bYe=new ejt.Interface(["function relayMessage(address,address,bytes,uint256)","function relayMessage(uint256,address,address,uint256,uint256,bytes)"]),tjt=Zqt.BigNumber.from("0x0000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),njt=(t,e)=>e.or(t.shl(240));Q1.encodeVersionedNonce=njt;var ajt=t=>({version:t.shr(240),nonce:t.and(tjt)});Q1.decodeVersionedNonce=ajt;var rjt=(t,e,n,a)=>bYe.encodeFunctionData("relayMessage(address,address,bytes,uint256)",[t,e,n,a]);Q1.encodeCrossDomainMessageV0=rjt;var fjt=(t,e,n,a,r,f)=>bYe.encodeFunctionData("relayMessage(uint256,address,address,uint256,uint256,bytes)",[t,e,n,a,r,f]);Q1.encodeCrossDomainMessageV1=fjt;var ijt=(t,e,n,a,r,f)=>{let{version:i}=(0,Q1.decodeVersionedNonce)(t);if(i.eq(0))return(0,Q1.encodeCrossDomainMessageV0)(n,e,f,t);if(i.eq(1))return(0,Q1.encodeCrossDomainMessageV1)(t,e,n,a,r,f);throw new Error(`unknown version ${i.toString()}`)};Q1.encodeCrossDomainMessage=ijt});var gYe=D(zc=>{"use strict";u();p();Object.defineProperty(zc,"__esModule",{value:!0});zc.hashOutputRootProof=zc.hashWithdrawal=zc.hashCrossDomainMessagev1=zc.hashCrossDomainMessagev0=zc.hashCrossDomainMessage=void 0;var mq=H1(),yYe=vw(),S1e=k1e(),sjt=(t,e,n,a,r,f)=>{let{version:i}=(0,S1e.decodeVersionedNonce)(t);if(i.eq(0))return(0,zc.hashCrossDomainMessagev0)(n,e,f,t);if(i.eq(1))return(0,zc.hashCrossDomainMessagev1)(t,e,n,a,r,f);throw new Error(`unknown version ${i.toString()}`)};zc.hashCrossDomainMessage=sjt;var ojt=(t,e,n,a)=>(0,mq.keccak256)((0,S1e.encodeCrossDomainMessageV0)(t,e,n,a));zc.hashCrossDomainMessagev0=ojt;var cjt=(t,e,n,a,r,f)=>(0,mq.keccak256)((0,S1e.encodeCrossDomainMessageV1)(t,e,n,a,r,f));zc.hashCrossDomainMessagev1=cjt;var djt=(t,e,n,a,r,f)=>{let i=["uint256","address","address","uint256","uint256","bytes"],s=yYe.defaultAbiCoder.encode(i,[t,e,n,a,r,f]);return(0,mq.keccak256)(s)};zc.hashWithdrawal=djt;var ljt=t=>(0,mq.keccak256)(yYe.defaultAbiCoder.encode(["bytes32","bytes32","bytes32","bytes32"],[t.version,t.stateRoot,t.messagePasserStorageRoot,t.latestBlockhash]));zc.hashOutputRootProof=ljt});var vYe=D(Rx=>{"use strict";u();p();var ujt=Rx&&Rx.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Rx,"__esModule",{value:!0});Rx.OpNodeProvider=void 0;var pjt=ujt(Or()),f1=ia(),hjt=Ba(),mjt=I8(),bjt=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},R1e=class extends pjt.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:f1.BigNumber.from(e.current_l1.number),parentHash:e.current_l1.parentHash,timestamp:f1.BigNumber.from(e.current_l1.timestamp)},headL1:{hash:e.head_l1.hash,number:f1.BigNumber.from(e.head_l1.number),parentHash:e.head_l1.parentHash,timestamp:f1.BigNumber.from(e.head_l1.timestamp)},unsafeL2:{hash:e.unsafe_l2.hash,number:f1.BigNumber.from(e.unsafe_l2.number),parentHash:e.unsafe_l2.parentHash,timestamp:f1.BigNumber.from(e.unsafe_l2.timestamp),l1Origin:{hash:e.unsafe_l2.l1origin.hash,number:f1.BigNumber.from(e.unsafe_l2.l1origin.number)},sequencerNumber:f1.BigNumber.from(e.unsafe_l2.sequenceNumber)},safeL2:{hash:e.safe_l2.hash,number:f1.BigNumber.from(e.safe_l2.number),parentHash:e.safe_l2.parentHash,timestamp:f1.BigNumber.from(e.safe_l2.timestamp),l1Origin:{hash:e.safe_l2.l1origin.hash,number:f1.BigNumber.from(e.safe_l2.l1origin.number)},sequencerNumber:f1.BigNumber.from(e.safe_l2.sequenceNumber)},finalizedL2:{hash:e.finalized_l2.hash,number:f1.BigNumber.from(e.finalized_l2.number),parentHash:e.finalized_l2.parentHash,timestamp:f1.BigNumber.from(e.finalized_l2.timestamp),l1Origin:{hash:e.finalized_l2.l1origin.hash,number:f1.BigNumber.from(e.finalized_l2.l1origin.number)},sequencerNumber:f1.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,hjt.deepCopy)(a),provider:this}),(0,mjt.fetchJson)(this.connection,JSON.stringify(a),bjt).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})}};Rx.OpNodeProvider=R1e});var TYe=D(Mx=>{"use strict";u();p();Object.defineProperty(Mx,"__esModule",{value:!0});Mx.defaultResourceConfig=Mx.predeploys=void 0;var wYe=Je();Mx.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 yjt=wYe.ethers.BigNumber.from("0xffffffffffffffffffffffffffffffff");Mx.defaultResourceConfig={maxResourceLimit:2e7,elasticityMultiplier:10,baseFeeMaxChangeDenominator:8,minimumBaseFee:wYe.ethers.utils.parseUnits("1","gwei"),systemTxMaxGas:1e6,maximumBaseFee:yjt}});var xYe=D(Wc=>{"use strict";u();p();var gjt=Wc&&Wc.__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]}),Pm=Wc&&Wc.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&gjt(e,t,n)};Object.defineProperty(Wc,"__esModule",{value:!0});Pm(cYe(),Wc);Pm(dYe(),Wc);Pm(uYe(),Wc);Pm(mYe(),Wc);Pm(k1e(),Wc);Pm(gYe(),Wc);Pm(vYe(),Wc);Pm(TYe(),Wc)});var _Ye=D(bq=>{"use strict";u();p();Object.defineProperty(bq,"__esModule",{value:!0});bq.addChecksum=void 0;var vjt=Je(),EYe=(t,e)=>e===void 0?null:e,M1e=t=>{if(Array.isArray(t))return`[${t.map(e=>M1e(e)).join(",")}]`;if(typeof t=="object"&&t!==null){let e="",n=Object.keys(t).sort();e+=`{${JSON.stringify(n,EYe)}`;for(let a of n)e+=`${M1e(t[a])},`;return`${e}}`}return`${JSON.stringify(t,EYe)}`},wjt=t=>{let e=M1e(Object.assign(Object.assign({},t),{meta:Object.assign(Object.assign({},t.meta),{name:null})}));return vjt.ethers.utils.solidityKeccak256(["string"],[e])||void 0},Tjt=t=>Object.assign(Object.assign({},t),{meta:Object.assign(Object.assign({},t.meta),{checksum:wjt(t)})});bq.addChecksum=Tjt});var CYe=D((Bx,AYe)=>{"use strict";u();p();var xjt=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")},t9=xjt();AYe.exports=Bx=t9.fetch;t9.fetch&&(Bx.default=t9.fetch.bind(t9));Bx.Headers=t9.Headers;Bx.Request=t9.Request;Bx.Response=t9.Response});var kYe=D(Dx=>{"use strict";u();p();var Ejt=Dx&&Dx.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Dx,"__esModule",{value:!0});Dx.Etherscan=void 0;var _jt=Ejt(CYe()),IYe={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"}},B1e=class{constructor(e,n){this.apiKey=e,this.network=n,typeof n=="string"?this.net=Object.values(IYe).find(a=>a.names.includes(n)):this.net=IYe[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,_jt.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}};Dx.Etherscan=B1e});var L1e=D((qua,BYe)=>{"use strict";u();p();function Lm(t){"@babel/helpers - typeof";return Lm=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},Lm(t)}function SYe(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 yq(t){return yq=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},yq(t)}var MYe={},Px,D1e;function hR(t,e,n){n||(n=Error);function a(f,i,s){return typeof e=="string"?e:e(f,i,s)}var r=function(f){Sjt(s,f);var i=Rjt(s);function s(o,c,d){var l;return kjt(this,s),l=i.call(this,a(o,c,d)),l.code=t,l}return Ajt(s)}(n);MYe[t]=r}function RYe(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 Pjt(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function Ljt(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function Fjt(t,e,n){return typeof n!="number"&&(n=0),n+e.length>t.length?!1:t.indexOf(e,n)!==-1}hR("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError);hR("ERR_INVALID_ARG_TYPE",function(t,e,n){Px===void 0&&(Px=n9()),Px(typeof t=="string","'name' must be a string");var a;typeof e=="string"&&Pjt(e,"not ")?(a="must not be",e=e.replace(/^not /,"")):a="must be";var r;if(Ljt(t," argument"))r="The ".concat(t," ").concat(a," ").concat(RYe(e,"type"));else{var f=Fjt(t,".")?"property":"argument";r='The "'.concat(t,'" ').concat(f," ").concat(a," ").concat(RYe(e,"type"))}return r+=". Received type ".concat(Lm(n)),r},TypeError);hR("ERR_INVALID_ARG_VALUE",function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";D1e===void 0&&(D1e=rl());var a=D1e.inspect(e);return a.length>128&&(a="".concat(a.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(n,". Received ").concat(a)},TypeError,RangeError);hR("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(Lm(n)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(a,".")},TypeError);hR("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);BYe.exports.codes=MYe});var WYe=D((Kua,zYe)=>{"use strict";u();p();function DYe(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 PYe(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 qjt(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function gR(t,e){return gR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,r){return a.__proto__=r,a},gR(t,e)}function vR(t){return vR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},vR(t)}function qc(t){"@babel/helpers - typeof";return qc=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},qc(t)}var jjt=rl(),O1e=jjt.inspect,Gjt=L1e(),Kjt=Gjt.codes.ERR_INVALID_ARG_TYPE;function FYe(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function Qjt(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 Al="",mR="",bR="",oo="",a9={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:"},Vjt=10;function NYe(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 yR(t){return O1e(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Yjt(t,e,n){var a="",r="",f=0,i="",s=!1,o=yR(t),c=o.split(` -`),d=yR(e).split(` -`),l=0,h="";if(n==="strictEqual"&&qc(t)==="object"&&qc(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<=Vjt){if((qc(t)!=="object"||t===null)&&(qc(e)!=="object"||e===null)&&(t!==0||e!==0))return"".concat(a9[n],` +`)}function _0(me,ye){var _e=me.getAttributeNames(),ze=me.tagName.toLowerCase(),je=ye.stylize("<".concat(ze),"special"),Ue=ye.stylize(">","special"),m0=ye.stylize(""),"special");ye.truncate-=ze.length*2+5;var h0="";_e.length>0&&(h0+=" ",h0+=v(_e.map(function(P0){return[P0,me.getAttribute(P0)]}),ye,Ye," ")),ye.truncate-=h0.length;var $e=ye.truncate,M0=He(me.children,ye);return M0&&M0.length>$e&&(M0="".concat(d,"(").concat(me.children.length,")")),"".concat(je).concat(h0).concat(Ue).concat(M0).concat(m0)}var L0=typeof Symbol=="function"&&typeof Symbol.for=="function",Ze=L0?Symbol.for("chai/inspect"):"@@chai/inspect",I0=!1;try{var pe=rl();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(me,ye){ye=h(ye),ye.inspect=qe;var _e=ye,ze=_e.customInspect,je=me===null?"null":e(me);if(je==="object"&&(je=u0.call(me).slice(8,-1)),Se[je])return Se[je](me,ye);if(ze&&me){var Ue=Qe(me,ye,je);if(Ue)return typeof Ue=="string"?Ue:qe(Ue,ye)}var m0=me?Object.getPrototypeOf(me):!1;return m0===Object.prototype||m0===null?ge(me,ye):me&&typeof HTMLElement=="function"&&me instanceof HTMLElement?_0(me,ye):"constructor"in me?me.constructor!==Object?Ae(me,ye):ge(me,ye):me===Object(me)?ge(me,ye):ye.stylize(String(me),je)}function v0(me,ye){return Te.has(me)?!1:(Te.set(me,ye),!0)}function w0(me,ye){return me in Ce?!1:(Ce[me]=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 X7=D((sda,kQe)=>{u();p();kQe.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null}});var dq=D((lda,RQe)=>{u();p();var dda=oq(),PWt=IQe(),SQe=X7();RQe.exports=LWt;function LWt(t,e,n,a){var r={colors:a,depth:typeof n>"u"?2:n,showHidden:e,truncate:SQe.truncateThreshold?SQe.truncateThreshold:1/0};return PWt.inspect(t,r)}});var h1e=D((hda,BQe)=>{u();p();var FWt=dq(),MQe=X7();BQe.exports=function(e){var n=FWt(e),a=Object.prototype.toString.call(e);if(MQe.truncateThreshold&&n.length>=MQe.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 PQe=D((yda,DQe)=>{u();p();var m1e=X5(),NWt=p1e(),b1e=h1e();DQe.exports=function(e,n){var a=m1e(e,"negate"),r=m1e(e,"object"),f=n[3],i=NWt(e,n),s=a?n[2]:n[1],o=m1e(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return b1e(r)}).replace(/#\{act\}/g,function(){return b1e(i)}).replace(/#\{exp\}/g,function(){return b1e(f)}),o?o+": "+s:s}});var Mm=D((wda,LQe)=>{u();p();LQe.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 QQe=D((Eda,v1e)=>{"use strict";u();p();var FQe=sR();function jQe(){this._key="chai/deep-eql__"+Math.random()+Date.now()}jQe.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 g1e=typeof WeakMap=="function"?WeakMap:jQe;function NQe(t,e,n){if(!n||Sx(t)||Sx(e))return null;var a=n.get(t);if(a){var r=a.get(e);if(typeof r=="boolean")return r}return null}function lq(t,e,n,a){if(!(!n||Sx(t)||Sx(e))){var r=n.get(t);r?r.set(e,a):(r=new g1e,r.set(e,a),n.set(t,r))}}v1e.exports=uq;v1e.exports.MemoizeMap=g1e;function uq(t,e,n){if(n&&n.comparator)return OQe(t,e,n);var a=GQe(t,e);return a!==null?a:OQe(t,e,n)}function GQe(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e?!0:Sx(t)||Sx(e)?!1:null}function OQe(t,e,n){n=n||{},n.memoize=n.memoize===!1?!1:n.memoize||new g1e;var a=n&&n.comparator,r=NQe(t,e,n.memoize);if(r!==null)return r;var f=NQe(e,t,n.memoize);if(f!==null)return f;if(a){var i=a(t,e);if(i===!1||i===!0)return lq(t,e,n.memoize,i),i;var s=GQe(t,e);if(s!==null)return s}var o=FQe(t);if(o!==FQe(e))return lq(t,e,n.memoize,!1),!1;lq(t,e,n.memoize,!0);var c=OWt(t,e,o,n);return lq(t,e,n.memoize,c),c}function OWt(t,e,n,a){switch(n){case"String":case"Number":case"Boolean":case"Date":return uq(t.valueOf(),e.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return t===e;case"Error":return KQe(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 Z7(t,e,a);case"RegExp":return UWt(t,e);case"Generator":return HWt(t,e,a);case"DataView":return Z7(new Uint8Array(t.buffer),new Uint8Array(e.buffer),a);case"ArrayBuffer":return Z7(new Uint8Array(t),new Uint8Array(e),a);case"Set":return UQe(t,e,a);case"Map":return UQe(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 WWt(t,e,a)}}function UWt(t,e){return t.toString()===e.toString()}function UQe(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])}),Z7(a.sort(),r.sort(),n)}function Z7(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 qWt=X7();VQe.exports=function(){return qWt.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}});var JQe=D((Sda,$Qe)=>{u();p();var jWt=Bm(),YQe=X5(),GWt=oR(),KWt=Mm();$Qe.exports=function(e,n,a){a=a===void 0?function(){}:a,Object.defineProperty(e,n,{get:function r(){!GWt()&&!YQe(this,"lockSsfi")&&YQe(this,"ssfi",r);var f=a.call(this);if(f!==void 0)return f;var i=new jWt.Assertion;return KWt(this,i),i},configurable:!0})}});var cR=D((Bda,XQe)=>{u();p();var QWt=Object.getOwnPropertyDescriptor(function(){},"length");XQe.exports=function(e,n,a){return QWt.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 eVe=D((Lda,ZQe)=>{u();p();ZQe.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 dR=D((Oda,aVe)=>{u();p();var VWt=X7(),tVe=X5(),YWt=eVe(),$Wt=oR();var nVe=["__flags","__methods","_obj","assert"];aVe.exports=function(e,n){return $Wt()?new Proxy(e,{get:function a(r,f){if(typeof f=="string"&&VWt.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 YWt(r).forEach(function(o){if(!Object.prototype.hasOwnProperty(o)&&nVe.indexOf(o)===-1){var c=JWt(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 iVe=D((zda,fVe)=>{u();p();var XWt=cR(),ZWt=Bm(),rVe=X5(),eqt=dR(),tqt=Mm();fVe.exports=function(e,n,a){var r=function(){rVe(this,"lockSsfi")||rVe(this,"ssfi",r);var f=a.apply(this,arguments);if(f!==void 0)return f;var i=new ZWt.Assertion;return tqt(this,i),i};XWt(r,n,!1),e[n]=eqt(r,n)}});var oVe=D((jda,sVe)=>{u();p();var nqt=Bm(),lR=X5(),aqt=oR(),rqt=Mm();sVe.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(){!aqt()&&!lR(this,"lockSsfi")&&lR(this,"ssfi",i);var s=lR(this,"lockSsfi");lR(this,"lockSsfi",!0);var o=a(f).call(this);if(lR(this,"lockSsfi",s),o!==void 0)return o;var c=new nqt.Assertion;return rqt(this,c),c},configurable:!0})}});var dVe=D((Qda,cVe)=>{u();p();var fqt=cR(),iqt=Bm(),uR=X5(),sqt=dR(),oqt=Mm();cVe.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(){uR(this,"lockSsfi")||uR(this,"ssfi",i);var s=uR(this,"lockSsfi");uR(this,"lockSsfi",!0);var o=a(f).apply(this,arguments);if(uR(this,"lockSsfi",s),o!==void 0)return o;var c=new iqt.Assertion;return oqt(this,c),c};fqt(i,n,!1),e[n]=sqt(i,n)}});var mVe=D(($da,hVe)=>{u();p();var cqt=cR(),dqt=Bm(),lVe=X5(),lqt=dR(),uVe=Mm();var uqt=typeof Object.setPrototypeOf=="function",pVe=function(){},pqt=Object.getOwnPropertyNames(pVe).filter(function(t){var e=Object.getOwnPropertyDescriptor(pVe,t);return typeof e!="object"?!0:!e.configurable}),hqt=Function.prototype.call,mqt=Function.prototype.apply;hVe.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(){lVe(this,"lockSsfi")||lVe(this,"ssfi",s);var d=f.method.apply(this,arguments);if(d!==void 0)return d;var l=new dqt.Assertion;return uVe(this,l),l};if(cqt(s,n,!0),uqt){var o=Object.create(this);o.call=hqt,o.apply=mqt,Object.setPrototypeOf(s,o)}else{var c=Object.getOwnPropertyNames(e);c.forEach(function(d){if(pqt.indexOf(d)===-1){var l=Object.getOwnPropertyDescriptor(e,d);Object.defineProperty(s,d,l)}})}return uVe(this,s),lqt(s)},configurable:!0})}});var vVe=D((Zda,gVe)=>{u();p();var bVe=Bm(),yVe=Mm();gVe.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 bVe.Assertion;return yVe(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 bVe.Assertion;return yVe(this,d),d}}});var xVe=D((nla,TVe)=>{u();p();var wVe=dq();TVe.exports=function(e,n){return wVe(e){u();p();EVe.exports=function(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})}});var AVe=D((ola,_Ve)=>{u();p();var bqt=w1e();_Ve.exports=function(e){return Object.keys(e).concat(bqt(e))}});var IVe=D((lla,CVe)=>{"use strict";u();p();var T1e=oq();function yqt(t,e){return e instanceof Error&&t===e}function gqt(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 vqt(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 wqt(t){var e=t;if(t instanceof Error)e=T1e(t.constructor);else if(typeof t=="function"&&(e=T1e(t),e==="")){var n=T1e(new t);e=n||e}return e}function Tqt(t){var e="";return t&&t.message?e=t.message:typeof t=="string"&&(e=t),e}CVe.exports={compatibleInstance:yqt,compatibleConstructor:gqt,compatibleMessage:vqt,getMessage:Tqt,getConstructorName:wqt}});var SVe=D((hla,kVe)=>{u();p();function xqt(t){return t!==t}kVe.exports=Number.isNaN||xqt});var BVe=D((yla,MVe)=>{u();p();var Eqt=sR(),RVe=X5();function _qt(t){var e=Eqt(t),n=["Array","Object","function"];return n.indexOf(e)!==-1}MVe.exports=function(e,n){var a=RVe(e,"operator"),r=RVe(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=_qt(f);return/\snot\s/.test(i)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}}});var PVe=D(sr=>{u();p();var DVe=gQe();sr.test=TQe();sr.type=sR();sr.expectTypes=EQe();sr.getMessage=PQe();sr.getActual=p1e();sr.inspect=dq();sr.objDisplay=h1e();sr.flag=X5();sr.transferFlags=Mm();sr.eql=QQe();sr.getPathInfo=DVe.getPathInfo;sr.hasProperty=DVe.hasProperty;sr.getName=oq();sr.addProperty=JQe();sr.addMethod=iVe();sr.overwriteProperty=oVe();sr.overwriteMethod=dVe();sr.addChainableMethod=mVe();sr.overwriteChainableMethod=vVe();sr.compareByInspect=xVe();sr.getOwnEnumerablePropertySymbols=w1e();sr.getOwnEnumerableProperties=AVe();sr.checkError=IVe();sr.proxify=dR();sr.addLengthGuard=cR();sr.isProxyEnabled=oR();sr.isNaN=SVe();sr.getOperator=BVe()});var FVe=D((Ela,LVe)=>{u();p();var e9=X7();LVe.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",e9.deepEqual||e.eql),e.proxify(this)}Object.defineProperty(r,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),e9.includeStack},set:function(f){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),e9.includeStack=f}}),Object.defineProperty(r,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),e9.showDiff},set:function(f){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),e9.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),e9.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,e9.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 OVe=D((Cla,NVe)=>{u();p();NVe.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 b(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",b);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 E(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",E),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 HVe=D((Sla,UVe)=>{u();p();UVe.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 WVe=D((Bla,zVe)=>{u();p();zVe.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 jVe=D((Lla,qVe)=>{u();p();qVe.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 GVe=[];D6.version="4.3.8";D6.AssertionError=c1e();var KVe=PVe();D6.use=function(t){return~GVe.indexOf(t)||(t(D6,KVe),GVe.push(t)),D6};D6.util=KVe;var Aqt=X7();D6.config=Aqt;var Cqt=FVe();D6.use(Cqt);var Iqt=OVe();D6.use(Iqt);var kqt=HVe();D6.use(kqt);var Sqt=WVe();D6.use(Sqt);var Rqt=jVe();D6.use(Rqt)});var VVe=D((zla,QVe)=>{u();p();QVe.exports=Bm()});var JVe=D(Rx=>{"use strict";u();p();Object.defineProperty(Rx,"__esModule",{value:!0});Rx.expectApprox=Rx.awaitCondition=void 0;var YVe=VVe(),$Ve=ia(),Mqt=o1e(),Bqt=async(t,e=1e3,n=10)=>{for(let a=0;a{if(t=$Ve.BigNumber.from(t),e=$Ve.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,YVe.expect)(t.lte(s),`Actual value (${t}) is greater than the calculated upper bound of (${s})`).to.be.true,d&&(0,YVe.expect)(t.gte(d),`Actual value (${t}) is less than the calculated lower bound of (${d})`).to.be.true};Rx.expectApprox=Dqt});var pq=D(El=>{"use strict";u();p();var Pqt=El&&El.__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]}),pR=El&&El.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Pqt(e,t,n)};Object.defineProperty(El,"__esModule",{value:!0});pR(sQe(),El);pR(dQe(),El);pR(s1e(),El);pR(o1e(),El);pR(JVe(),El)});var ZVe=D(XVe=>{"use strict";u();p();Object.defineProperty(XVe,"__esModule",{value:!0})});var eYe=D(t9=>{"use strict";u();p();var Lqt=t9&&t9.__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]}),Fqt=t9&&t9.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Lqt(e,t,n)};Object.defineProperty(t9,"__esModule",{value:!0});Fqt(ZVe(),t9)});var tYe=D(hq=>{"use strict";u();p();Object.defineProperty(hq,"__esModule",{value:!0});hq.getChainId=void 0;var Nqt=async t=>(await t.getNetwork()).chainId;hq.getChainId=Nqt});var nYe=D(n9=>{"use strict";u();p();var Oqt=n9&&n9.__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]}),Uqt=n9&&n9.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Oqt(e,t,n)};Object.defineProperty(n9,"__esModule",{value:!0});Uqt(tYe(),n9)});var rYe=D(Dm=>{"use strict";u();p();var Hqt=Dm&&Dm.__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]}),aYe=Dm&&Dm.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Hqt(e,t,n)};Object.defineProperty(Dm,"__esModule",{value:!0});aYe(eYe(),Dm);aYe(nYe(),Dm)});var oYe=D(s2=>{"use strict";u();p();Object.defineProperty(s2,"__esModule",{value:!0});s2.undoL1ToL2Alias=s2.applyL1ToL2Alias=s2.L1_TO_L2_ALIAS_OFFSET=void 0;var fYe=Po(),iYe=ia(),sYe=pq();s2.L1_TO_L2_ALIAS_OFFSET="0x1111000000000000000000000000000000001111";var zqt=t=>{if(!(0,fYe.isAddress)(t))throw new Error(`not a valid address: ${t}`);return(0,sYe.bnToAddress)(iYe.BigNumber.from(t).add(s2.L1_TO_L2_ALIAS_OFFSET))};s2.applyL1ToL2Alias=zqt;var Wqt=t=>{if(!(0,fYe.isAddress)(t))throw new Error(`not a valid address: ${t}`);return(0,sYe.bnToAddress)(iYe.BigNumber.from(t).sub(s2.L1_TO_L2_ALIAS_OFFSET))};s2.undoL1ToL2Alias=Wqt});var cYe=D(hf=>{"use strict";u();p();Object.defineProperty(hf,"__esModule",{value:!0});hf.calldataCost=hf.zeroesAndOnes=hf.calculateL1Fee=hf.calculateL1GasUsed=hf.scaleDecimals=hf.txDataNonZeroGasEIP2028=hf.txDataZeroGas=void 0;var Mx=ia(),qqt=pq();hf.txDataZeroGas=4;hf.txDataNonZeroGasEIP2028=16;var jqt=Mx.BigNumber.from(10),Gqt=(t,e)=>{t=Mx.BigNumber.from(t),e=Mx.BigNumber.from(e);let n=jqt.pow(e);return t.div(n)};hf.scaleDecimals=Gqt;var Kqt=(t,e)=>{let[n,a]=(0,hf.zeroesAndOnes)(t),r=n*hf.txDataZeroGas,f=(a+68)*hf.txDataNonZeroGasEIP2028;return Mx.BigNumber.from(f).add(r).add(e)};hf.calculateL1GasUsed=Kqt;var Qqt=(t,e,n,a,r)=>{let s=(0,hf.calculateL1GasUsed)(t,e).mul(n).mul(a);return(0,hf.scaleDecimals)(s,r)};hf.calculateL1Fee=Qqt;var Vqt=t=>{typeof t=="string"&&(t=_.Buffer.from((0,qqt.remove0x)(t),"hex"));let e=0,n=0;for(let a of t)a===0?e++:n++;return[e,n]};hf.zeroesAndOnes=Vqt;var Yqt=t=>{let[e,n]=(0,hf.zeroesAndOnes)(t),a=Mx.BigNumber.from(e).mul(hf.txDataZeroGas),r=Mx.BigNumber.from(n).mul(hf.txDataNonZeroGasEIP2028);return a.add(r)};hf.calldataCost=Yqt});var lYe=D(dYe=>{"use strict";u();p();Object.defineProperty(dYe,"__esModule",{value:!0})});var hYe=D(Z5=>{"use strict";u();p();var $qt=Z5&&Z5.__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]}),Jqt=Z5&&Z5.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Xqt=Z5&&Z5.__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)&&$qt(e,t,n);return Jqt(e,t),e};Object.defineProperty(Z5,"__esModule",{value:!0});Z5.DepositTx=Z5.SourceHashDomain=void 0;var A1e=Po(),o2=ia(),x1e=H1(),Zqt=E3(),uYe=Xqt(vI()),_l=Vt(),ejt=t=>t?new Uint8Array([1]):new Uint8Array([]),E1e=(t,e)=>{let n=(0,_l.stripZeros)(o2.BigNumber.from(t).toHexString());if(n.length>32)throw new Error(`invalid length for ${e}`);return n},tjt=t=>{if(t==="0x")return!1;if(t==="0x01")return!0;throw new Error(`invalid boolean RLP hex value ${t}`)},_1e=t=>t==="0x"?Zqt.Zero:o2.BigNumber.from(t),pYe=t=>t==="0x"?null:(0,A1e.getAddress)(t),hR;(function(t){t[t.UserDeposit=0]="UserDeposit",t[t.L1InfoDeposit=1]="L1InfoDeposit"})(hR||(Z5.SourceHashDomain=hR={}));var C1e=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,x1e.keccak256)(e)}sourceHash(){if(!this._sourceHash){let e;switch(this.domain){case hR.UserDeposit:e=o2.BigNumber.from(this.logIndex).toHexString();break;case hR.L1InfoDeposit:e=o2.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,_l.hexConcat)([n,(0,_l.zeroPad)(e,32)]),r=(0,x1e.keccak256)(a),f=o2.BigNumber.from(this.domain).toHexString(),i=(0,_l.hexConcat)([(0,_l.zeroPad)(f,32),r]);this._sourceHash=(0,x1e.keccak256)(i)}return this._sourceHash}encode(){let e=[this.sourceHash()||"0x",(0,A1e.getAddress)(this.from)||"0x",this.to!=null?(0,A1e.getAddress)(this.to):"0x",E1e(this.mint||0,"mint"),E1e(this.value||0,"value"),E1e(this.gas||0,"gas"),ejt(this.isSystemTransaction),this.data||"0x"];return(0,_l.hexConcat)([o2.BigNumber.from(this.type).toHexString(),uYe.encode(e)])}decode(e,n={}){let a=(0,_l.arrayify)(e);if(a[0]!==this.type)throw new Error(`Invalid type ${a[0]}`);this.version=a[1];let r=uYe.decode(a.slice(1));return this._sourceHash=r[0],this.from=pYe(r[1]),this.to=pYe(r[2]),this.mint=_1e(r[3]),this.value=_1e(r[4]),this.gas=_1e(r[5]),this.isSystemTransaction=tjt(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=o2.BigNumber.from((0,_l.hexDataSlice)(n,a,a+32)),a+=32,this.value=o2.BigNumber.from((0,_l.hexDataSlice)(n,a,a+32)),a+=32,this.gas=o2.BigNumber.from((0,_l.hexDataSlice)(n,a,a+8)),a+=8;let r=o2.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,_l.hexDataSlice)(n,a,a+f),this.domain=hR.UserDeposit,this.l1BlockHash=e.blockHash,this.logIndex=e.logIndex,this}static fromL1Event(e){return new this({}).fromL1Event(e)}};Z5.DepositTx=C1e});var I1e=D(Q1=>{"use strict";u();p();Object.defineProperty(Q1,"__esModule",{value:!0});Q1.encodeCrossDomainMessage=Q1.encodeCrossDomainMessageV1=Q1.encodeCrossDomainMessageV0=Q1.decodeVersionedNonce=Q1.encodeVersionedNonce=void 0;var njt=ia(),ajt=Tw(),mYe=new ajt.Interface(["function relayMessage(address,address,bytes,uint256)","function relayMessage(uint256,address,address,uint256,uint256,bytes)"]),rjt=njt.BigNumber.from("0x0000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),fjt=(t,e)=>e.or(t.shl(240));Q1.encodeVersionedNonce=fjt;var ijt=t=>({version:t.shr(240),nonce:t.and(rjt)});Q1.decodeVersionedNonce=ijt;var sjt=(t,e,n,a)=>mYe.encodeFunctionData("relayMessage(address,address,bytes,uint256)",[t,e,n,a]);Q1.encodeCrossDomainMessageV0=sjt;var ojt=(t,e,n,a,r,f)=>mYe.encodeFunctionData("relayMessage(uint256,address,address,uint256,uint256,bytes)",[t,e,n,a,r,f]);Q1.encodeCrossDomainMessageV1=ojt;var cjt=(t,e,n,a,r,f)=>{let{version:i}=(0,Q1.decodeVersionedNonce)(t);if(i.eq(0))return(0,Q1.encodeCrossDomainMessageV0)(n,e,f,t);if(i.eq(1))return(0,Q1.encodeCrossDomainMessageV1)(t,e,n,a,r,f);throw new Error(`unknown version ${i.toString()}`)};Q1.encodeCrossDomainMessage=cjt});var yYe=D(zc=>{"use strict";u();p();Object.defineProperty(zc,"__esModule",{value:!0});zc.hashOutputRootProof=zc.hashWithdrawal=zc.hashCrossDomainMessagev1=zc.hashCrossDomainMessagev0=zc.hashCrossDomainMessage=void 0;var mq=H1(),bYe=Tw(),k1e=I1e(),djt=(t,e,n,a,r,f)=>{let{version:i}=(0,k1e.decodeVersionedNonce)(t);if(i.eq(0))return(0,zc.hashCrossDomainMessagev0)(n,e,f,t);if(i.eq(1))return(0,zc.hashCrossDomainMessagev1)(t,e,n,a,r,f);throw new Error(`unknown version ${i.toString()}`)};zc.hashCrossDomainMessage=djt;var ljt=(t,e,n,a)=>(0,mq.keccak256)((0,k1e.encodeCrossDomainMessageV0)(t,e,n,a));zc.hashCrossDomainMessagev0=ljt;var ujt=(t,e,n,a,r,f)=>(0,mq.keccak256)((0,k1e.encodeCrossDomainMessageV1)(t,e,n,a,r,f));zc.hashCrossDomainMessagev1=ujt;var pjt=(t,e,n,a,r,f)=>{let i=["uint256","address","address","uint256","uint256","bytes"],s=bYe.defaultAbiCoder.encode(i,[t,e,n,a,r,f]);return(0,mq.keccak256)(s)};zc.hashWithdrawal=pjt;var hjt=t=>(0,mq.keccak256)(bYe.defaultAbiCoder.encode(["bytes32","bytes32","bytes32","bytes32"],[t.version,t.stateRoot,t.messagePasserStorageRoot,t.latestBlockhash]));zc.hashOutputRootProof=hjt});var gYe=D(Bx=>{"use strict";u();p();var mjt=Bx&&Bx.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Bx,"__esModule",{value:!0});Bx.OpNodeProvider=void 0;var bjt=mjt(Or()),f1=ia(),yjt=Ba(),gjt=I8(),vjt=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},S1e=class extends bjt.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:f1.BigNumber.from(e.current_l1.number),parentHash:e.current_l1.parentHash,timestamp:f1.BigNumber.from(e.current_l1.timestamp)},headL1:{hash:e.head_l1.hash,number:f1.BigNumber.from(e.head_l1.number),parentHash:e.head_l1.parentHash,timestamp:f1.BigNumber.from(e.head_l1.timestamp)},unsafeL2:{hash:e.unsafe_l2.hash,number:f1.BigNumber.from(e.unsafe_l2.number),parentHash:e.unsafe_l2.parentHash,timestamp:f1.BigNumber.from(e.unsafe_l2.timestamp),l1Origin:{hash:e.unsafe_l2.l1origin.hash,number:f1.BigNumber.from(e.unsafe_l2.l1origin.number)},sequencerNumber:f1.BigNumber.from(e.unsafe_l2.sequenceNumber)},safeL2:{hash:e.safe_l2.hash,number:f1.BigNumber.from(e.safe_l2.number),parentHash:e.safe_l2.parentHash,timestamp:f1.BigNumber.from(e.safe_l2.timestamp),l1Origin:{hash:e.safe_l2.l1origin.hash,number:f1.BigNumber.from(e.safe_l2.l1origin.number)},sequencerNumber:f1.BigNumber.from(e.safe_l2.sequenceNumber)},finalizedL2:{hash:e.finalized_l2.hash,number:f1.BigNumber.from(e.finalized_l2.number),parentHash:e.finalized_l2.parentHash,timestamp:f1.BigNumber.from(e.finalized_l2.timestamp),l1Origin:{hash:e.finalized_l2.l1origin.hash,number:f1.BigNumber.from(e.finalized_l2.l1origin.number)},sequencerNumber:f1.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,yjt.deepCopy)(a),provider:this}),(0,gjt.fetchJson)(this.connection,JSON.stringify(a),vjt).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})}};Bx.OpNodeProvider=S1e});var wYe=D(Dx=>{"use strict";u();p();Object.defineProperty(Dx,"__esModule",{value:!0});Dx.defaultResourceConfig=Dx.predeploys=void 0;var vYe=Je();Dx.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 wjt=vYe.ethers.BigNumber.from("0xffffffffffffffffffffffffffffffff");Dx.defaultResourceConfig={maxResourceLimit:2e7,elasticityMultiplier:10,baseFeeMaxChangeDenominator:8,minimumBaseFee:vYe.ethers.utils.parseUnits("1","gwei"),systemTxMaxGas:1e6,maximumBaseFee:wjt}});var TYe=D(Wc=>{"use strict";u();p();var Tjt=Wc&&Wc.__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]}),Pm=Wc&&Wc.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Tjt(e,t,n)};Object.defineProperty(Wc,"__esModule",{value:!0});Pm(oYe(),Wc);Pm(cYe(),Wc);Pm(lYe(),Wc);Pm(hYe(),Wc);Pm(I1e(),Wc);Pm(yYe(),Wc);Pm(gYe(),Wc);Pm(wYe(),Wc)});var EYe=D(bq=>{"use strict";u();p();Object.defineProperty(bq,"__esModule",{value:!0});bq.addChecksum=void 0;var xjt=Je(),xYe=(t,e)=>e===void 0?null:e,R1e=t=>{if(Array.isArray(t))return`[${t.map(e=>R1e(e)).join(",")}]`;if(typeof t=="object"&&t!==null){let e="",n=Object.keys(t).sort();e+=`{${JSON.stringify(n,xYe)}`;for(let a of n)e+=`${R1e(t[a])},`;return`${e}}`}return`${JSON.stringify(t,xYe)}`},Ejt=t=>{let e=R1e(Object.assign(Object.assign({},t),{meta:Object.assign(Object.assign({},t.meta),{name:null})}));return xjt.ethers.utils.solidityKeccak256(["string"],[e])||void 0},_jt=t=>Object.assign(Object.assign({},t),{meta:Object.assign(Object.assign({},t.meta),{checksum:Ejt(t)})});bq.addChecksum=_jt});var AYe=D((Px,_Ye)=>{"use strict";u();p();var Ajt=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")},a9=Ajt();_Ye.exports=Px=a9.fetch;a9.fetch&&(Px.default=a9.fetch.bind(a9));Px.Headers=a9.Headers;Px.Request=a9.Request;Px.Response=a9.Response});var IYe=D(Lx=>{"use strict";u();p();var Cjt=Lx&&Lx.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Lx,"__esModule",{value:!0});Lx.Etherscan=void 0;var Ijt=Cjt(AYe()),CYe={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"}},M1e=class{constructor(e,n){this.apiKey=e,this.network=n,typeof n=="string"?this.net=Object.values(CYe).find(a=>a.names.includes(n)):this.net=CYe[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,Ijt.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}};Lx.Etherscan=M1e});var P1e=D((Kua,MYe)=>{"use strict";u();p();function Lm(t){"@babel/helpers - typeof";return Lm=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},Lm(t)}function kYe(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 yq(t){return yq=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},yq(t)}var RYe={},Fx,B1e;function mR(t,e,n){n||(n=Error);function a(f,i,s){return typeof e=="string"?e:e(f,i,s)}var r=function(f){Bjt(s,f);var i=Djt(s);function s(o,c,d){var l;return Mjt(this,s),l=i.call(this,a(o,c,d)),l.code=t,l}return kjt(s)}(n);RYe[t]=r}function SYe(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 Njt(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function Ojt(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function Ujt(t,e,n){return typeof n!="number"&&(n=0),n+e.length>t.length?!1:t.indexOf(e,n)!==-1}mR("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError);mR("ERR_INVALID_ARG_TYPE",function(t,e,n){Fx===void 0&&(Fx=r9()),Fx(typeof t=="string","'name' must be a string");var a;typeof e=="string"&&Njt(e,"not ")?(a="must not be",e=e.replace(/^not /,"")):a="must be";var r;if(Ojt(t," argument"))r="The ".concat(t," ").concat(a," ").concat(SYe(e,"type"));else{var f=Ujt(t,".")?"property":"argument";r='The "'.concat(t,'" ').concat(f," ").concat(a," ").concat(SYe(e,"type"))}return r+=". Received type ".concat(Lm(n)),r},TypeError);mR("ERR_INVALID_ARG_VALUE",function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";B1e===void 0&&(B1e=rl());var a=B1e.inspect(e);return a.length>128&&(a="".concat(a.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(n,". Received ").concat(a)},TypeError,RangeError);mR("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(Lm(n)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(a,".")},TypeError);mR("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);MYe.exports.codes=RYe});var zYe=D((Yua,HYe)=>{"use strict";u();p();function BYe(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 DYe(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 Kjt(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function vR(t,e){return vR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,r){return a.__proto__=r,a},vR(t,e)}function wR(t){return wR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},wR(t)}function qc(t){"@babel/helpers - typeof";return qc=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},qc(t)}var Qjt=rl(),N1e=Qjt.inspect,Vjt=P1e(),Yjt=Vjt.codes.ERR_INVALID_ARG_TYPE;function LYe(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function $jt(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 Al="",bR="",yR="",oo="",f9={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:"},Jjt=10;function FYe(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 gR(t){return N1e(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Xjt(t,e,n){var a="",r="",f=0,i="",s=!1,o=gR(t),c=o.split(` +`),d=gR(e).split(` +`),l=0,h="";if(n==="strictEqual"&&qc(t)==="object"&&qc(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<=Jjt){if((qc(t)!=="object"||t===null)&&(qc(e)!=="object"||e===null)&&(t!==0||e!==0))return"".concat(f9[n],` `)+"".concat(c[0]," !== ").concat(d[0],` `)}else if(n!=="strictEqualObject"){var v=x.stderr&&x.stderr.isTTY?x.stderr.columns:80;if(y2&&(h=` - `.concat(Qjt(" ",l),"^"),l=0)}}}for(var k=c[c.length-1],O=d[d.length-1];k===O&&(l++<2?i=` + `.concat($jt(" ",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(Al,"...").concat(oo);z.length>27;)z.pop();return"".concat(a9.notIdentical,` +`);if(z.length>30)for(z[26]="".concat(Al,"...").concat(oo);z.length>27;)z.pop();return"".concat(f9.notIdentical,` `).concat(z.join(` `),` `)}l>3&&(i=` `.concat(Al,"...").concat(oo).concat(i),s=!0),a!==""&&(i=` - `.concat(a).concat(i),a="");var W=0,j=a9[n]+` -`.concat(mR,"+ actual").concat(oo," ").concat(bR,"- expected").concat(oo),Q=" ".concat(Al,"...").concat(oo," Lines skipped");for(l=0;l1&&l>2&&(V>4?(r+=` + `.concat(a).concat(i),a="");var W=0,j=f9[n]+` +`.concat(bR,"+ actual").concat(oo," ").concat(yR,"- expected").concat(oo),Q=" ".concat(Al,"...").concat(oo," Lines skipped");for(l=0;l1&&l>2&&(V>4?(r+=` `.concat(Al,"...").concat(oo),s=!0):V>3&&(r+=` `.concat(d[l-2]),W++),r+=` `.concat(d[l-1]),W++),f=l,a+=` -`.concat(bR,"-").concat(oo," ").concat(d[l]),W++;else if(d.length1&&l>2&&(V>4?(r+=` +`.concat(yR,"-").concat(oo," ").concat(d[l]),W++;else if(d.length1&&l>2&&(V>4?(r+=` `.concat(Al,"...").concat(oo),s=!0):V>3&&(r+=` `.concat(c[l-2]),W++),r+=` `.concat(c[l-1]),W++),f=l,r+=` -`.concat(mR,"+").concat(oo," ").concat(c[l]),W++;else{var X=d[l],K=c[l],G=K!==X&&(!FYe(K,",")||K.slice(0,-1)!==X);G&&FYe(X,",")&&X.slice(0,-1)===K&&(G=!1,K+=","),G?(V>1&&l>2&&(V>4?(r+=` +`.concat(bR,"+").concat(oo," ").concat(c[l]),W++;else{var X=d[l],K=c[l],G=K!==X&&(!LYe(K,",")||K.slice(0,-1)!==X);G&&LYe(X,",")&&X.slice(0,-1)===K&&(G=!1,K+=","),G?(V>1&&l>2&&(V>4?(r+=` `.concat(Al,"...").concat(oo),s=!0):V>3&&(r+=` `.concat(c[l-2]),W++),r+=` `.concat(c[l-1]),W++),f=l,r+=` -`.concat(mR,"+").concat(oo," ").concat(K),a+=` -`.concat(bR,"-").concat(oo," ").concat(X),W+=2):(r+=a,a="",(V===1||l===0)&&(r+=` +`.concat(bR,"+").concat(oo," ").concat(K),a+=` +`.concat(yR,"-").concat(oo," ").concat(X),W+=2):(r+=a,a="",(V===1||l===0)&&(r+=` `.concat(K),W++))}if(W>20&&l30)for(y[26]="".concat(Al,"...").concat(oo);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 Zjt=function(t,e){jjt(a,t);var n=Gjt(a);function a(r){var f;if(zjt(this,a),qc(r)!=="object"||r===null)throw new Yjt("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(x.stderr&&x.stderr.isTTY&&(x.stderr&&x.stderr.getColorDepth&&x.stderr.getColorDepth()!==1?(Al="\x1B[34m",bR="\x1B[32m",oo="\x1B[39m",yR="\x1B[31m"):(Al="",bR="",oo="",yR="")),qc(c)==="object"&&c!==null&&qc(d)==="object"&&d!==null&&"stack"in c&&c instanceof Error&&"stack"in d&&d instanceof Error&&(c=FYe(c),d=FYe(d)),s==="deepStrictEqual"||s==="strictEqual")f=n.call(this,Xjt(c,d,s));else if(s==="notDeepStrictEqual"||s==="notStrictEqual"){var h=f9[s],y=gR(c).split(` +`);if(s==="notStrictEqual"&&qc(c)==="object"&&c!==null&&(h=f9.notStrictEqualObject),y.length>30)for(y[26]="".concat(Al,"...").concat(oo);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=yR(c),k="",O=a9[s];s==="notDeepEqual"||s==="notEqual"?(v="".concat(a9[s],` +`))}else{var v=gR(c),k="",O=f9[s];s==="notDeepEqual"||s==="notEqual"?(v="".concat(f9[s],` -`).concat(v),v.length>1024&&(v="".concat(v.slice(0,1021),"..."))):(k="".concat(yR(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),v.length>1024&&(v="".concat(v.slice(0,1021),"..."))):(k="".concat(gR(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 -`):k=" ".concat(s," ").concat(k)),f=n.call(this,"".concat(v).concat(k))}return Error.stackTraceLimit=l,f.generatedMessage=!i,Object.defineProperty(F1e(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(F1e(f),o),f.stack,f.name="AssertionError",UYe(f)}return Ujt(a,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:e,value:function(f,i){return O1e(this,PYe(PYe({},i),{},{customInspect:!1,depth:0}))}}]),a}(N1e(Error),O1e.custom);zYe.exports=$jt});var U1e=D((Yua,jYe)=>{"use strict";u();p();var qYe=Object.prototype.toString;jYe.exports=function(e){var n=qYe.call(e),a=n==="[object Arguments]";return a||(a=n!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&qYe.call(e.callee)==="[object Function]"),a}});var ZYe=D((Xua,XYe)=>{"use strict";u();p();var JYe;Object.keys||(wR=Object.prototype.hasOwnProperty,H1e=Object.prototype.toString,GYe=U1e(),z1e=Object.prototype.propertyIsEnumerable,KYe=!z1e.call({toString:null},"toString"),QYe=z1e.call(function(){},"prototype"),TR=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],vq=function(t){var e=t.constructor;return e&&e.prototype===t},VYe={$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},YYe=function(){if(typeof window>"u")return!1;for(var t in window)try{if(!VYe["$"+t]&&wR.call(window,t)&&window[t]!==null&&typeof window[t]=="object")try{vq(window[t])}catch{return!0}}catch{return!0}return!1}(),$Ye=function(t){if(typeof window>"u"||!YYe)return vq(t);try{return vq(t)}catch{return!1}},JYe=function(e){var n=e!==null&&typeof e=="object",a=H1e.call(e)==="[object Function]",r=GYe(e),f=n&&H1e.call(e)==="[object String]",i=[];if(!n&&!a&&!r)throw new TypeError("Object.keys called on a non-object");var s=QYe&&a;if(f&&e.length>0&&!wR.call(e,0))for(var o=0;o0)for(var c=0;c{"use strict";u();p();var Jjt=Array.prototype.slice,Xjt=U1e(),e$e=Object.keys,wq=e$e?function(e){return e$e(e)}:ZYe(),t$e=Object.keys;wq.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 Xjt(a)?t$e(Jjt.call(a)):t$e(a)})}else Object.keys=wq;return Object.keys||wq};n$e.exports=wq});var o$e=D((r2a,s$e)=>{"use strict";u();p();var Zjt=W1e(),f$e=UN()(),i$e=CI(),a$e=Object,eGt=i$e("Array.prototype.push"),r$e=i$e("Object.prototype.propertyIsEnumerable"),tGt=f$e?Object.getOwnPropertySymbols:null;s$e.exports=function(e,n){if(e==null)throw new TypeError("target must be an object");var a=a$e(e);if(arguments.length===1)return a;for(var r=1;r{"use strict";u();p();var q1e=o$e(),nGt=function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),n={},a=0;a{"use strict";u();p();var l$e=function(t){return t!==t};u$e.exports=function(e,n){return e===0&&n===0?1/e===1/n:!!(e===n||l$e(e)&&l$e(n))}});var Tq=D((p2a,p$e)=>{"use strict";u();p();var rGt=j1e();p$e.exports=function(){return typeof Object.is=="function"?Object.is:rGt}});var xR=D((b2a,y$e)=>{"use strict";u();p();var fGt=W1e(),iGt=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",sGt=Object.prototype.toString,oGt=Array.prototype.concat,h$e=Ete(),cGt=function(t){return typeof t=="function"&&sGt.call(t)==="[object Function]"},m$e=Ate()(),dGt=function(t,e,n,a){if(e in t){if(a===!0){if(t[e]===n)return}else if(!cGt(a)||!a())return}m$e?h$e(t,e,n,!0):h$e(t,e,n)},b$e=function(t,e){var n=arguments.length>2?arguments[2]:{},a=fGt(e);iGt&&(a=oGt.call(a,Object.getOwnPropertySymbols(e)));for(var r=0;r{"use strict";u();p();var lGt=Tq(),uGt=xR();g$e.exports=function(){var e=lGt();return uGt(Object,{is:e},{is:function(){return Object.is!==e}}),e}});var E$e=D((x2a,x$e)=>{"use strict";u();p();var pGt=xR(),hGt=AI(),mGt=j1e(),w$e=Tq(),bGt=v$e(),T$e=hGt(w$e(),Object);pGt(T$e,{getPolyfill:w$e,implementation:mGt,shim:bGt});x$e.exports=T$e});var G1e=D((A2a,_$e)=>{"use strict";u();p();_$e.exports=function(e){return e!==e}});var K1e=D((k2a,A$e)=>{"use strict";u();p();var yGt=G1e();A$e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:yGt}});var I$e=D((M2a,C$e)=>{"use strict";u();p();var gGt=xR(),vGt=K1e();C$e.exports=function(){var e=vGt();return gGt(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}});var M$e=D((P2a,R$e)=>{"use strict";u();p();var wGt=AI(),TGt=xR(),xGt=G1e(),k$e=K1e(),EGt=I$e(),S$e=wGt(k$e(),Number);TGt(S$e,{getPolyfill:k$e,implementation:xGt,shim:EGt});R$e.exports=S$e});var J$e=D((N2a,$$e)=>{"use strict";u();p();function B$e(t,e){return IGt(t)||CGt(t,e)||AGt(t,e)||_Gt()}function _Gt(){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 AGt(t,e){if(t){if(typeof t=="string")return D$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 D$e(t,e)}}function D$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 _q(t){return Object.keys(t).filter(FGt).concat(Cq(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function K$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 Cl(t){"@babel/helpers - typeof";return Cl=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},Cl(t)}function X$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 WYe=Object.prototype.toString;qYe.exports=function(e){var n=WYe.call(e),a=n==="[object Arguments]";return a||(a=n!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&WYe.call(e.callee)==="[object Function]"),a}});var XYe=D((t2a,JYe)=>{"use strict";u();p();var $Ye;Object.keys||(TR=Object.prototype.hasOwnProperty,U1e=Object.prototype.toString,jYe=O1e(),H1e=Object.prototype.propertyIsEnumerable,GYe=!H1e.call({toString:null},"toString"),KYe=H1e.call(function(){},"prototype"),xR=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],vq=function(t){var e=t.constructor;return e&&e.prototype===t},QYe={$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},VYe=function(){if(typeof window>"u")return!1;for(var t in window)try{if(!QYe["$"+t]&&TR.call(window,t)&&window[t]!==null&&typeof window[t]=="object")try{vq(window[t])}catch{return!0}}catch{return!0}return!1}(),YYe=function(t){if(typeof window>"u"||!VYe)return vq(t);try{return vq(t)}catch{return!1}},$Ye=function(e){var n=e!==null&&typeof e=="object",a=U1e.call(e)==="[object Function]",r=jYe(e),f=n&&U1e.call(e)==="[object String]",i=[];if(!n&&!a&&!r)throw new TypeError("Object.keys called on a non-object");var s=KYe&&a;if(f&&e.length>0&&!TR.call(e,0))for(var o=0;o0)for(var c=0;c{"use strict";u();p();var eGt=Array.prototype.slice,tGt=O1e(),ZYe=Object.keys,wq=ZYe?function(e){return ZYe(e)}:XYe(),e$e=Object.keys;wq.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 tGt(a)?e$e(eGt.call(a)):e$e(a)})}else Object.keys=wq;return Object.keys||wq};t$e.exports=wq});var s$e=D((s2a,i$e)=>{"use strict";u();p();var nGt=z1e(),r$e=UN()(),f$e=II(),n$e=Object,aGt=f$e("Array.prototype.push"),a$e=f$e("Object.prototype.propertyIsEnumerable"),rGt=r$e?Object.getOwnPropertySymbols:null;i$e.exports=function(e,n){if(e==null)throw new TypeError("target must be an object");var a=n$e(e);if(arguments.length===1)return a;for(var r=1;r{"use strict";u();p();var W1e=s$e(),fGt=function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),n={},a=0;a{"use strict";u();p();var d$e=function(t){return t!==t};l$e.exports=function(e,n){return e===0&&n===0?1/e===1/n:!!(e===n||d$e(e)&&d$e(n))}});var Tq=D((b2a,u$e)=>{"use strict";u();p();var sGt=q1e();u$e.exports=function(){return typeof Object.is=="function"?Object.is:sGt}});var ER=D((v2a,b$e)=>{"use strict";u();p();var oGt=z1e(),cGt=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",dGt=Object.prototype.toString,lGt=Array.prototype.concat,p$e=_te(),uGt=function(t){return typeof t=="function"&&dGt.call(t)==="[object Function]"},h$e=Cte()(),pGt=function(t,e,n,a){if(e in t){if(a===!0){if(t[e]===n)return}else if(!uGt(a)||!a())return}h$e?p$e(t,e,n,!0):p$e(t,e,n)},m$e=function(t,e){var n=arguments.length>2?arguments[2]:{},a=oGt(e);cGt&&(a=lGt.call(a,Object.getOwnPropertySymbols(e)));for(var r=0;r{"use strict";u();p();var hGt=Tq(),mGt=ER();y$e.exports=function(){var e=hGt();return mGt(Object,{is:e},{is:function(){return Object.is!==e}}),e}});var x$e=D((A2a,T$e)=>{"use strict";u();p();var bGt=ER(),yGt=CI(),gGt=q1e(),v$e=Tq(),vGt=g$e(),w$e=yGt(v$e(),Object);bGt(w$e,{getPolyfill:v$e,implementation:gGt,shim:vGt});T$e.exports=w$e});var j1e=D((k2a,E$e)=>{"use strict";u();p();E$e.exports=function(e){return e!==e}});var G1e=D((M2a,_$e)=>{"use strict";u();p();var wGt=j1e();_$e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:wGt}});var C$e=D((P2a,A$e)=>{"use strict";u();p();var TGt=ER(),xGt=G1e();A$e.exports=function(){var e=xGt();return TGt(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}});var R$e=D((N2a,S$e)=>{"use strict";u();p();var EGt=CI(),_Gt=ER(),AGt=j1e(),I$e=G1e(),CGt=C$e(),k$e=EGt(I$e(),Number);_Gt(k$e,{getPolyfill:I$e,implementation:AGt,shim:CGt});S$e.exports=k$e});var $$e=D((H2a,Y$e)=>{"use strict";u();p();function M$e(t,e){return RGt(t)||SGt(t,e)||kGt(t,e)||IGt()}function IGt(){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 kGt(t,e){if(t){if(typeof t=="string")return B$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 B$e(t,e)}}function B$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 _q(t){return Object.keys(t).filter(UGt).concat(Cq(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function G$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 Cl(t){"@babel/helpers - typeof";return Cl=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},Cl(t)}function J$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 oKt=Fx&&Fx.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Fx,"__esModule",{value:!0});Fx.setupProxyContract=void 0;var Pq=oKt(n9()),IR=Je(),{getAddress:Um}=IR.utils,cKt=async(t,e,{targetImplAddress:n,targetProxyOwnerAddress:a,postUpgradeCallCalldata:r})=>{let f=await t.connect(IR.ethers.constants.AddressZero).callStatic.admin(),i=await e.getAddress(),s=await t.connect(IR.ethers.constants.AddressZero).callStatic.implementation();if(console.log(`implementation currently set to ${s}`),Um(s)!==Um(n)){console.log("implementation not set to correct contract"),console.log(`Setting implementation to ${n}`),(0,Pq.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}`),Um(f)!==Um(a)){console.log("detected admin is not set correctly"),console.log(`Setting admin to ${a}`),(0,Pq.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(IR.ethers.constants.AddressZero).callStatic.implementation(),c=await t.connect(IR.ethers.constants.AddressZero).callStatic.admin();(0,Pq.default)(Um(c)===Um(a),"Something went wrong - admin not set correctly after transaction"),(0,Pq.default)(Um(o)===Um(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}`)};Fx.setupProxyContract=cKt});var j8=D(nd=>{"use strict";u();p();var dKt=nd&&nd.__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]}),Nx=nd&&nd.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&dKt(e,t,n)};Object.defineProperty(nd,"__esModule",{value:!0});Nx(pq(),nd);Nx(fYe(),nd);Nx(xYe(),nd);Nx(_Ye(),nd);Nx(kYe(),nd);Nx(bJe(),nd)});var kR=D(Ox=>{"use strict";u();p();var tce=Ox&&Ox.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ox,"__esModule",{value:!0});Ox.StandardBridgeAdapter=void 0;var Hm=Je(),X1e=Cx(),zm=j8(),lKt=tce(a1e()),uKt=tce(r1e()),Z1e=tce(f1e()),yJe=_x(),i1=Wm(),ece=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 Hm.Contract((0,i1.toAddress)(n),Z1e.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,i1.toAddress)(n),(0,i1.toAddress)(a),r,f?.l2GasLimit||2e5,"0x",f?.overrides||{}):this.l1Bridge.populateTransaction.depositERC20To((0,i1.toAddress)(n),(0,i1.toAddress)(a),(0,i1.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,i1.toAddress)(a),r,0,"0x",f?.overrides||{}):this.l2Bridge.populateTransaction.withdrawTo((0,i1.toAddress)(a),(0,i1.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 Hm.Contract((0,i1.toAddress)(e.l1Bridge),lKt.default.abi,this.messenger.l1Provider),this.l2Bridge=new Hm.Contract((0,i1.toAddress)(e.l2Bridge),uKt.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,zm.hexStringEquals)(r.args.l1Token,Hm.ethers.constants.AddressZero)&&!(0,zm.hexStringEquals)(r.args.l2Token,X1e.predeploys.OVM_ETH)).map(r=>({direction:yJe.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,zm.hexStringEquals)(r.args.l1Token,Hm.ethers.constants.AddressZero)&&!(0,zm.hexStringEquals)(r.args.l2Token,X1e.predeploys.OVM_ETH)).map(r=>({direction:yJe.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 Hm.Contract((0,i1.toAddress)(n),Z1e.default.abi,this.messenger.l2Provider);if((0,zm.hexStringEquals)((0,i1.toAddress)(e),Hm.ethers.constants.AddressZero)||(0,zm.hexStringEquals)((0,i1.toAddress)(n),X1e.predeploys.OVM_ETH))return!1;let r=await a.l1Token();if(!(0,zm.hexStringEquals)(r,(0,i1.toAddress)(e)))return!1;let f=await a.l2Bridge();return!!(0,zm.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 Hm.Contract((0,i1.toAddress)(e),Z1e.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))}};Ox.StandardBridgeAdapter=ece});var vJe=D(Fq=>{"use strict";u();p();Object.defineProperty(Fq,"__esModule",{value:!0});Fq.ETHBridgeAdapter=void 0;var nce=Je(),ace=Cx(),Lq=j8(),gJe=_x(),c2=Wm(),pKt=kR(),rce=class extends pKt.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,c2.omit)(r?.overrides||{},"value")),{value:a})):this.l1Bridge.populateTransaction.depositETHTo((0,c2.toAddress)(r.recipient),r?.l2GasLimit||2e5,"0x",Object.assign(Object.assign({},(0,c2.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,c2.toAddress)(n),a,0,"0x",Object.assign(Object.assign({},(0,c2.omit)(r?.overrides||{},"value")),{value:this.messenger.bedrock?a:0})):this.l2Bridge.populateTransaction.withdrawTo((0,c2.toAddress)(n),(0,c2.toAddress)(r.recipient),a,0,"0x",Object.assign(Object.assign({},(0,c2.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:gJe.MessageDirection.L1_TO_L2,from:r.args.from,to:r.args.to,l1Token:nce.ethers.constants.AddressZero,l2Token:ace.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,Lq.hexStringEquals)(r.args.l1Token,nce.ethers.constants.AddressZero)&&(0,Lq.hexStringEquals)(r.args.l2Token,ace.predeploys.OVM_ETH)).map(r=>({direction:gJe.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,Lq.hexStringEquals)((0,c2.toAddress)(e),nce.ethers.constants.AddressZero)&&(0,Lq.hexStringEquals)((0,c2.toAddress)(n),ace.predeploys.OVM_ETH)}};Fq.ETHBridgeAdapter=rce});var xJe=D(Nq=>{"use strict";u();p();Object.defineProperty(Nq,"__esModule",{value:!0});Nq.DAIBridgeAdapter=void 0;var hKt=Je(),wJe=j8(),TJe=Wm(),mKt=kR(),fce=class extends mKt.StandardBridgeAdapter{async supportsTokenPair(e,n){let a=new hKt.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,wJe.hexStringEquals)(r,(0,TJe.toAddress)(e)))return!1;let f=await a.l2Token();return!!(0,wJe.hexStringEquals)(f,(0,TJe.toAddress)(n))}};Nq.DAIBridgeAdapter=fce});var CJe=D(Oq=>{"use strict";u();p();Object.defineProperty(Oq,"__esModule",{value:!0});Oq.ECOBridgeAdapter=void 0;var EJe=Je(),_Je=j8(),AJe=Wm(),bKt=kR(),ice=class extends bKt.StandardBridgeAdapter{async supportsTokenPair(e,n){let a=new EJe.Contract(this.l1Bridge.address,[{inputs:[],name:"l1Eco",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],this.messenger.l1Provider),r=new EJe.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,_Je.hexStringEquals)(f,(0,AJe.toAddress)(e))||!(0,_Je.hexStringEquals)(i,(0,AJe.toAddress)(n)))}};Oq.ECOBridgeAdapter=ice});var Hq=D(d2=>{"use strict";u();p();var yKt=d2&&d2.__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]}),Uq=d2&&d2.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&yKt(e,t,n)};Object.defineProperty(d2,"__esModule",{value:!0});Uq(kR(),d2);Uq(vJe(),d2);Uq(xJe(),d2);Uq(CJe(),d2)});var oce=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 kl=j8(),SR=Je(),IJe={mainnet:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed",goerli:"0x5b47E1A08Ea6d985D6649300584e6722Ec4B1383",sepolia:"0x16Fc5058F25648194471939df75CF27A2fdC48BC"},gKt={mainnet:"0xdfe97868233d1aa22e815a266982f2cf17685a27",goerli:"0xE6Dfba0953616Bacab0c9A8ecb3a9BBa77FC15c0",sepolia:"0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F"},vKt={mainnet:"0xdE1FCfB0851916CA5101820A69b13a4E276bd81F",goerli:"0xa6f73589243a6A7a9023b1Fa0651b1d89c177111",sepolia:"0x9bFE9c5609311DF1c011c47642253B78a4f33F4B"},wKt={mainnet:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1",goerli:"0x636Af16bf2f682dD3109e60102b8E1A089FedAa8",sepolia:"0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1"},TKt={mainnet:"0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1",goerli:"0x5086d1eEF304eb5284A0f6720f79403b4e9bE294",sepolia:"0x58Cc85b8D04EA49cC6DBd3CbFFd00B4B8D6cb3ef"},xKt={mainnet:SR.ethers.constants.AddressZero,goerli:SR.ethers.constants.AddressZero,sepolia:"0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1"},EKt={mainnet:"0xBe5dAb4A2e9cd0F27300dB4aB94BeE3A233AEB19",goerli:"0x9c945aC97Baf48cB784AbBB61399beB71aF7A378",sepolia:SR.ethers.constants.AddressZero},_Kt={mainnet:"0x5E4e65926BA27467555EB562121fac00D24E9dD2",goerli:"0x607F755149cFEB3a14E1Dc3A4E2450Cde7dfb04D",sepolia:SR.ethers.constants.AddressZero},Aa=_x(),Ux=Hq();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:kl.predeploys.L2CrossDomainMessenger,L2ToL1MessagePasser:kl.predeploys.L2ToL1MessagePasser,L2StandardBridge:kl.predeploys.L2StandardBridge,OVM_L1BlockNumber:kl.predeploys.L1BlockNumber,OVM_L2ToL1MessagePasser:kl.predeploys.L2ToL1MessagePasser,OVM_DeployerWhitelist:kl.predeploys.DeployerWhitelist,OVM_ETH:kl.predeploys.LegacyERC20ETH,OVM_GasPriceOracle:kl.predeploys.GasPriceOracle,OVM_SequencerFeeVault:kl.predeploys.SequencerFeeVault,WETH:kl.predeploys.WETH9,BedrockMessagePasser:kl.predeploys.L2ToL1MessagePasser};var sce=t=>({AddressManager:vKt[t],L1CrossDomainMessenger:TKt[t],L1StandardBridge:wKt[t],StateCommitmentChain:EKt[t],CanonicalTransactionChain:_Kt[t],BondManager:SR.ethers.constants.AddressZero,OptimismPortal:IJe[t],L2OutputOracle:gKt[t],OptimismPortal2:IJe[t],DisputeGameFactory:xKt[t]});Rr.IGNORABLE_CONTRACTS=["OptimismPortal2","DisputeGameFactory"];Rr.CONTRACT_ADDRESSES={[Aa.L2ChainID.OPTIMISM]:{l1:sce("mainnet"),l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_GOERLI]:{l1:sce("goerli"),l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_SEPOLIA]:{l1:sce("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:Ux.DAIBridgeAdapter,l1Bridge:"0x76943C0D61395d8F2edF9060e1533529cAe05dE6",l2Bridge:"0x8E01013243a96601a86eb3153F0d9Fa4fbFb6957"},BitBTC:{Adapter:Ux.StandardBridgeAdapter,l1Bridge:"0xaBA2c5F108F7E820C049D5Af70B16ac266c8f128",l2Bridge:"0x158F513096923fF2d3aab2BcF4478536de6725e2"},DAI:{Adapter:Ux.DAIBridgeAdapter,l1Bridge:"0x10E6593CDda8c58a1d0f14C5164B376352a55f2F",l2Bridge:"0x467194771dAe2967Aef3ECbEDD3Bf9a310C76C65"},ECO:{Adapter:Ux.ECOBridgeAdapter,l1Bridge:"0xAa029BbdC947F5205fBa0F3C11b592420B58f824",l2Bridge:"0xAa029BbdC947F5205fBa0F3C11b592420B58f824"}},[Aa.L2ChainID.OPTIMISM_GOERLI]:{DAI:{Adapter:Ux.DAIBridgeAdapter,l1Bridge:"0x05a388Db09C2D44ec0b00Ee188cD42365c42Df23",l2Bridge:"0x467194771dAe2967Aef3ECbEDD3Bf9a310C76C65"},ECO:{Adapter:Ux.ECOBridgeAdapter,l1Bridge:"0x9A4464D6bFE006715382D39D183AAf66c952a3e0",l2Bridge:"0x6aA809bAeA2e4C057b3994127cB165119c6fc3B2"}}}});var RJe=D(Y1=>{"use strict";u();p();var co=Y1&&Y1.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Y1,"__esModule",{value:!0});Y1.getBridgeAdapters=Y1.getAllOEContracts=Y1.getOEContract=Y1.getContractInterfaceBedrock=void 0;var cce=Cx(),SJe=Je(),AKt=co(a1e()),CKt=co(r1e()),IKt=co(f1e()),kKt=co(QKe()),SKt=co(VKe()),RKt=co(YKe()),MKt=co($Ke()),BKt=co(JKe()),DKt=co(XKe()),PKt=co(ZKe()),LKt=co(eQe()),FKt=co(tQe()),NKt=co(nQe()),OKt=co(aQe()),UKt=co(rQe()),HKt=co(fQe()),zKt=co(iQe()),WKt=n1e(),kJe=Hq(),qm=oce(),qKt={AddressManager:"Lib_AddressManager",OVM_L1BlockNumber:"iOVM_L1BlockNumber",WETH:"WETH9",BedrockMessagePasser:"L2ToL1MessagePasser"},jKt=t=>{let e="";switch(t){case"Lib_AddressManager":case"AddressManager":e="";break;case"L1CrossDomainMessenger":e=SKt.default;break;case"L1ERC721Bridge":e=PKt.default;break;case"L2OutputOracle":e=DKt.default;break;case"OptimismMintableERC20Factory":e=MKt.default;break;case"ProxyAdmin":e=BKt.default;break;case"L1StandardBridge":e=AKt.default;break;case"L2StandardBridge":e=CKt.default;break;case"OptimismPortal":e=kKt.default;break;case"L2CrossDomainMessenger":e=RKt.default;break;case"OptimismMintableERC20":e=IKt.default;break;case"L2ERC721Bridge":e=LKt.default;break;case"L1Block":e=FKt.default;break;case"L2ToL1MessagePasser":e=NKt.default;break;case"GasPriceOracle":e=OKt.default;break;case"DisputeGameFactory":e=UKt.default;break;case"OptimismPortal2":e=HKt.default;break;case"FaultDisputeGame":e=zKt.default;break}return new SJe.ethers.utils.Interface(e.abi)};Y1.getContractInterfaceBedrock=jKt;var GKt=(t,e,n={})=>{let a=qm.CONTRACT_ADDRESSES[e];if(a===void 0&&n.address===void 0){if(qm.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=qKt[t]||t,f;try{f=(0,Y1.getContractInterfaceBedrock)(r)}catch{f=(0,cce.getContractInterface)(r)}return new SJe.Contract((0,WKt.toAddress)(n.address||a.l1[t]||a.l2[t]),f,n.signerOrProvider)};Y1.getOEContract=GKt;var KKt=(t,e={})=>{var n,a,r,f;let i=qm.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:qm.DEFAULT_L2_CONTRACT_ADDRESSES},s={};for(let[c,d]of Object.entries(i.l1))s[c]=(0,Y1.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,Y1.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}};Y1.getAllOEContracts=KKt;var QKt=(t,e,n)=>{var a,r,f,i,s,o;let c=Object.assign(Object.assign(Object.assign({},qm.CONTRACT_ADDRESSES[t]||!((r=(a=n?.contracts)===null||a===void 0?void 0:a.l1)===null||r===void 0)&&r.L1StandardBridge?{Standard:{Adapter:kJe.StandardBridgeAdapter,l1Bridge:((i=(f=n?.contracts)===null||f===void 0?void 0:f.l1)===null||i===void 0?void 0:i.L1StandardBridge)||qm.CONTRACT_ADDRESSES[t].l1.L1StandardBridge,l2Bridge:cce.predeploys.L2StandardBridge},ETH:{Adapter:kJe.ETHBridgeAdapter,l1Bridge:((o=(s=n?.contracts)===null||s===void 0?void 0:s.l1)===null||o===void 0?void 0:o.L1StandardBridge)||qm.CONTRACT_ADDRESSES[t].l1.L1StandardBridge,l2Bridge:cce.predeploys.L2StandardBridge}}:{}),qm.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};Y1.getBridgeAdapters=QKt});var BJe=D(MJe=>{"use strict";u();p();Object.defineProperty(MJe,"__esModule",{value:!0})});var DJe=D(zq=>{"use strict";u();p();Object.defineProperty(zq,"__esModule",{value:!0});zq.omit=void 0;var VKt=(t,...e)=>{let n=Object.assign({},t);for(let a of e)delete n[a];return n};zq.omit=VKt});var dce=D((xpa,PJe)=>{u();p();PJe.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 ea=D((Wq,LJe)=>{u();p();(function(t,e){typeof Wq=="object"?LJe.exports=Wq=e():typeof define=="function"&&define.amd?define([],e):t.CryptoJS=e()})(Wq,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 Vd=="function")try{a=WU()}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 qq=="object"?FJe.exports=qq=e(ea()):typeof define=="function"&&define.amd?define(["./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.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),b=(z<<26|z>>>6)^(z<<21|z>>>11)^(z<<7|z>>>25),A=Q+b+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 jq=D((lce,NJe)=>{u();p();(function(t,e){typeof lce=="object"?NJe.exports=e():typeof define=="function"&&define.amd?define(e):t.treeify=e()})(lce,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 RR=D((Gq,OJe)=>{u();p();(function(t,e){typeof Gq=="object"?OJe.exports=Gq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Gq,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 Kq=="object"?UJe.exports=Kq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Kq,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 WJe=D((Qq,zJe)=>{u();p();(function(t,e){typeof Qq=="object"?zJe.exports=Qq=e(ea()):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=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 jm=D((Vq,qJe)=>{u();p();(function(t,e){typeof Vq=="object"?qJe.exports=Vq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Vq,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 GJe=D((Yq,jJe)=>{u();p();(function(t,e){typeof Yq=="object"?jJe.exports=Yq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Yq,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 Gm=D(($q,KJe)=>{u();p();(function(t,e){typeof $q=="object"?KJe.exports=$q=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})($q,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],b=y[v+11],A=y[v+12],P=y[v+13],L=y[v+14],E=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,b,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,E,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,b,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,E,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,b,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,E,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,E,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,b,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 uce=D((Jq,QJe)=>{u();p();(function(t,e){typeof Jq=="object"?QJe.exports=Jq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Jq,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 YJe=D((Xq,VJe)=>{u();p();(function(t,e,n){typeof Xq=="object"?VJe.exports=Xq=e(ea(),Hx()):typeof define=="function"&&define.amd?define(["./core","./sha256"],e):e(t.CryptoJS)})(Xq,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 pce=D((Zq,$Je)=>{u();p();(function(t,e,n){typeof Zq=="object"?$Je.exports=Zq=e(ea(),RR()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(t.CryptoJS)})(Zq,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,b=z.low,A=W.high,P=W.low,L=j.high,E=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=b,re=A,ie=P,ge=L,de=E,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,me=d[Ye-16],ye=me.high,_e=me.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,m0=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),K0=$e+m0,s0=h0+Ue+(K0>>>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+K0|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),b=z.low=b+Y,z.high=w+ue+(b>>>0>>0?1:0),P=W.low=P+ie,W.high=A+re+(P>>>0>>0?1:0),E=j.low=E+de,j.high=L+ge+(E>>>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 XJe=D((ej,JJe)=>{u();p();(function(t,e,n){typeof ej=="object"?JJe.exports=ej=e(ea(),RR(),pce()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],e):e(t.CryptoJS)})(ej,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 eXe=D((tj,ZJe)=>{u();p();(function(t,e,n){typeof tj=="object"?ZJe.exports=tj=e(ea(),RR()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(t.CryptoJS)})(tj,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],b=w.high,A=w.low,K=N.high^(b<<1|A>>>31),G=N.low^(A<<1|b>>>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,E=Q.low,g=c[P];g<32?(K=L<>>32-g,G=E<>>32-g):(K=E<>>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 nXe=D((nj,tXe)=>{u();p();(function(t,e){typeof nj=="object"?tXe.exports=nj=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(nj,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,b=c.words,A=d.words,P,L,E,g,B,M,S,q,ee,U;M=P=G[0],S=L=G[1],q=E=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,E,g)+R[0]:V<32?J+=k(L,E,g)+R[1]:V<48?J+=O(L,E,g)+R[2]:V<64?J+=F(L,E,g)+R[3]:J+=z(L,E,g)+R[4],J=J|0,J=W(J,b[V]),J=J+B|0,P=B,B=g,g=W(E,10),E=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]+E+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 rj=D((aj,aXe)=>{u();p();(function(t,e){typeof aj=="object"?aXe.exports=aj=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(aj,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 fj=="object"?rXe.exports=fj=e(ea(),Hx(),rj()):typeof define=="function"&&define.amd?define(["./core","./sha256","./hmac"],e):e(t.CryptoJS)})(fj,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 ij=="object"?iXe.exports=ij=e(ea(),uce(),rj()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],e):e(t.CryptoJS)})(ij,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 sj=="object"?sXe.exports=sj=e(ea(),G8()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],e):e(t.CryptoJS)})(sj,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,b,A){return T(b).encrypt(N,w,b,A)},decrypt:function(w,b,A){return T(b).decrypt(N,w,b,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,b){var A=this._cipher,P=A.blockSize;N.call(this,w,b,P),A.encryptBlock(w,b),this._prevBlock=w.slice(b,b+P)}}),T.Decryptor=T.extend({processBlock:function(w,b){var A=this._cipher,P=A.blockSize,L=w.slice(b,b+P);A.decryptBlock(w,b),N.call(this,w,b,P),this._prevBlock=L}});function N(w,b,A){var P,L=this._iv;L?(P=L,this._iv=e):P=this._prevBlock;for(var E=0;E>>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,b=N.mode;this._xformMode==this._ENC_XFORM_MODE?T=b.createEncryptor:(T=b.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==T?this._mode.init(this,w&&w.words):(this._mode=T.call(b,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,b=T.salt;return b?N=f.create([1398893684,1701076831]).concat(b).concat(w):N=w,N.toString(c)},parse:function(T){var N,w=c.parse(T),b=w.words;return b[0]==1398893684&&b[1]==1701076831&&(N=f.create(b.slice(2,4)),b.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,b){b=this.cfg.extend(b);var A=T.createEncryptor(w,b),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:b.format})},decrypt:function(T,N,w,b){b=this.cfg.extend(b),N=this._parse(N,b.format);var A=T.createDecryptor(w,b).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,b,A){if(b||(b=f.random(64/8)),A)var P=l.create({keySize:N+w,hasher:A}).compute(T,b);else var P=l.create({keySize:N+w}).compute(T,b);var L=f.create(P.words.slice(N),w*4);return P.sigBytes=N*4,j.create({key:P,iv:L,salt:b})}},R=a.PasswordBasedCipher=X.extend({cfg:X.cfg.extend({kdf:G}),encrypt:function(T,N,w,b){b=this.cfg.extend(b);var A=b.kdf.execute(w,T.keySize,T.ivSize,b.salt,b.hasher);b.iv=A.iv;var P=X.encrypt.call(this,T,N,A.key,b);return P.mixIn(A),P},decrypt:function(T,N,w,b){b=this.cfg.extend(b),N=this._parse(N,b.format);var A=b.kdf.execute(w,T.keySize,T.ivSize,N.salt,b.hasher);b.iv=A.iv;var P=X.decrypt.call(this,T,N,A.key,b);return P}})}()})});var cXe=D((oj,oXe)=>{u();p();(function(t,e,n){typeof oj=="object"?oXe.exports=oj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(oj,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 cj=="object"?dXe.exports=cj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(cj,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 dj=="object"?uXe.exports=dj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(dj,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 lj=="object"?hXe.exports=lj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(lj,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 uj=="object"?bXe.exports=uj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(uj,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 vXe=D((pj,gXe)=>{u();p();(function(t,e,n){typeof pj=="object"?gXe.exports=pj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(pj,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 TXe=D((hj,wXe)=>{u();p();(function(t,e,n){typeof hj=="object"?wXe.exports=hj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(hj,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 EXe=D((mj,xXe)=>{u();p();(function(t,e,n){typeof mj=="object"?xXe.exports=mj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(mj,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 AXe=D((bj,_Xe)=>{u();p();(function(t,e,n){typeof bj=="object"?_Xe.exports=bj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(bj,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 IXe=D((yj,CXe)=>{u();p();(function(t,e,n){typeof yj=="object"?CXe.exports=yj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(yj,function(t){return t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding})});var SXe=D((gj,kXe)=>{u();p();(function(t,e,n){typeof gj=="object"?kXe.exports=gj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(gj,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 MXe=D((vj,RXe)=>{u();p();(function(t,e,n){typeof vj=="object"?RXe.exports=vj=e(ea(),jm(),Gm(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(vj,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],b=4,A=1;A>>24]^Q[T>>>16&255]^V[N>>>8&255]^X[w&255]^W[b++],L=j[T>>>24]^Q[N>>>16&255]^V[w>>>8&255]^X[R&255]^W[b++],E=j[N>>>24]^Q[w>>>16&255]^V[R>>>8&255]^X[T&255]^W[b++],g=j[w>>>24]^Q[R>>>16&255]^V[T>>>8&255]^X[N&255]^W[b++];R=P,T=L,N=E,w=g}var P=(K[R>>>24]<<24|K[T>>>16&255]<<16|K[N>>>8&255]<<8|K[w&255])^W[b++],L=(K[T>>>24]<<24|K[N>>>16&255]<<16|K[w>>>8&255]<<8|K[R&255])^W[b++],E=(K[N>>>24]<<24|K[w>>>16&255]<<16|K[R>>>8&255]<<8|K[T&255])^W[b++],g=(K[w>>>24]<<24|K[R>>>16&255]<<16|K[T>>>8&255]<<8|K[N&255])^W[b++];F[z]=P,F[z+1]=L,F[z+2]=E,F[z+3]=g},keySize:256/32});e.AES=a._createHelper(O)}(),t.AES})});var DXe=D((wj,BXe)=>{u();p();(function(t,e,n){typeof wj=="object"?BXe.exports=wj=e(ea(),jm(),Gm(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(wj,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 LXe=D((Tj,PXe)=>{u();p();(function(t,e,n){typeof Tj=="object"?PXe.exports=Tj=e(ea(),jm(),Gm(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(Tj,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 NXe=D((xj,FXe)=>{u();p();(function(t,e,n){typeof xj=="object"?FXe.exports=xj=e(ea(),jm(),Gm(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(xj,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 UXe=D((Ej,OXe)=>{u();p();(function(t,e,n){typeof Ej=="object"?OXe.exports=Ej=e(ea(),jm(),Gm(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(Ej,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 zXe=D((_j,HXe)=>{u();p();(function(t,e,n){typeof _j=="object"?HXe.exports=_j=e(ea(),jm(),Gm(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(_j,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 Aj=="object"?WXe.exports=Aj=e(ea(),RR(),HJe(),WJe(),jm(),GJe(),Gm(),uce(),Hx(),YJe(),pce(),XJe(),eXe(),nXe(),rj(),fXe(),G8(),es(),cXe(),lXe(),pXe(),mXe(),yXe(),vXe(),TXe(),EXe(),AXe(),IXe(),SXe(),MXe(),DXe(),LXe(),NXe(),UXe(),zXe()):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)})(Aj,function(t){return t})});var MR=D(r9=>{"use strict";u();p();var YKt=r9&&r9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r9,"__esModule",{value:!0});r9.Base=void 0;var lo=Qf(),hce=YKt(qXe()),Cj=class t{print(){t.print(this)}bufferIndexOf(e,n,a=!1){if(a)return this.binarySearch(e,n,lo.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 lo.Buffer.isBuffer(a)?a:this.isHexString(a)?lo.Buffer.from(a.replace("0x",""),"hex"):typeof a=="string"?lo.Buffer.from(a):typeof a=="bigint"?lo.Buffer.from(n.toString(16),"hex"):ArrayBuffer.isView(a)?lo.Buffer.from(a.buffer,a.byteOffset,a.byteLength):lo.Buffer.from(e(hce.default.enc.Hex.parse(n.toString("hex"))).toString(hce.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")}};r9.Base=Cj;r9.default=Cj});var jXe=D(f9=>{"use strict";u();p();var Ij=f9&&f9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(f9,"__esModule",{value:!0});f9.MerkleTree=void 0;var Is=Qf(),K8=Ij(dce()),mce=Ij(Hx()),$Kt=Ij(jq()),JKt=Ij(MR()),BR=class t extends JKt.default{constructor(e,n=mce.default,a={}){if(super(),this.duplicateOdd=!1,this.concatenator=Is.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(Is.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(Is.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([K8.default(c),K8.default(c)])),d=K8.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=[K8.default(f),K8.default(i)]:s=[f,i],this.sortPairs&&s.sort(Is.Buffer.compare);let o=this.hashFn(this.concatenator(s));this.isBitcoinTree&&(o=K8.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(Is.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?Is.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(Is.Buffer.from([0])),e}getHexLayersFlat(){return this.getLayersFlat().map(e=>this.bufferToHex(e))}getLayerCount(){return this.getLayers().length}getRoot(){return this.layers.length===0?Is.Buffer.from([]):this.layers[this.layers.length-1][0]||Is.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:Is.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=mce.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(Is.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(Is.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 GXe=i9&&i9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(i9,"__esModule",{value:!0});i9.MerkleMountainRange=void 0;var DR=Qf(),XKt=GXe(Hx()),ZKt=GXe(MR()),PR=class extends ZKt.default{constructor(e=XKt.default,n=[],a,r,f){super(),this.root=DR.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?DR.Buffer.alloc(0):this.peakBaggingFn?this.bufferify(this.peakBaggingFn(a,n)):this.hashFn(DR.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]}};i9.MerkleMountainRange=PR;typeof window<"u"&&(window.MerkleMountainRange=PR);i9.default=PR});var VXe=D(s9=>{"use strict";u();p();var QXe=s9&&s9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(s9,"__esModule",{value:!0});s9.IncrementalMerkleTree=void 0;var eQt=QXe(MR()),tQt=QXe(jq()),LR=class extends eQt.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(Sl,"__esModule",{value:!0});Sl.MerkleSumTree=Sl.ProofStep=Sl.Leaf=Sl.Bucket=void 0;var nQt=MR(),zx=class{constructor(e,n){this.size=BigInt(e),this.hashed=n,this.parent=null,this.left=null,this.right=null}};Sl.Bucket=zx;var bce=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 zx(BigInt(this.rng[1])-BigInt(this.rng[0]),e)}};Sl.Leaf=bce;var kj=class{constructor(e,n){this.bucket=e,this.right=n}};Sl.ProofStep=kj;var FR=class t extends nQt.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 zx(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 kj(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 zx(BigInt(f.size)+BigInt(s.bucket.size),i);return f.size===e.size&&f.hashed.toString("hex")===e.hashed.toString("hex")}};Sl.MerkleSumTree=FR;typeof window<"u"&&(window.MerkleSumTree=FR);Sl.default=FR});var JXe=D(l2=>{"use strict";u();p();var aQt=l2&&l2.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(l2,"__esModule",{value:!0});l2.MerkleTree=void 0;var $Xe=aQt(jXe());l2.MerkleTree=$Xe.default;var rQt=KXe();Object.defineProperty(l2,"MerkleMountainRange",{enumerable:!0,get:function(){return rQt.MerkleMountainRange}});var fQt=VXe();Object.defineProperty(l2,"IncrementalMerkleTree",{enumerable:!0,get:function(){return fQt.IncrementalMerkleTree}});var iQt=YXe();Object.defineProperty(l2,"MerkleSumTree",{enumerable:!0,get:function(){return iQt.MerkleSumTree}});l2.default=$Xe.default});var Sj=D(u2=>{"use strict";u();p();var sQt=u2&&u2.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(u2,"__esModule",{value:!0});u2.getLength=u2.decode=u2.encode=void 0;var oQt=sQt(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=gce(r),i.push(f.data),r=f.remainder;return{data:i,remainder:t.slice(o)}}}function eZe(t){return t.slice(0,2)==="0x"}function lQt(t){return typeof t!="string"?t:eZe(t)?t.slice(2):t}function vce(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 uQt(t){return t.length%2?"0"+t:t}function pQt(t){var e=vce(t);return _.Buffer.from(e,"hex")}function wce(t){if(!_.Buffer.isBuffer(t)){if(typeof t=="string")return eZe(t)?_.Buffer.from(uQt(lQt(t)),"hex"):_.Buffer.from(t);if(typeof t=="number"||typeof t=="bigint")return t?pQt(t):_.Buffer.from([]);if(t==null)return _.Buffer.from([]);if(t instanceof Uint8Array)return _.Buffer.from(t);if(oQt.default.isBN(t))return _.Buffer.from(t.toArray());throw new Error("invalid type")}return t}});var nZe=D($1=>{"use strict";u();p();var hQt=$1&&$1.__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]}),mQt=$1&&$1.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),bQt=$1&&$1.__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)&&hQt(e,t,n);return mQt(e,t),e};Object.defineProperty($1,"__esModule",{value:!0});$1.makeStateTrieProof=$1.maybeAddProofNode=$1.makeMerkleTreeProof=void 0;var Rj=Je(),Wx=j8(),yQt=JXe(),tZe=bQt(Sj()),gQt=(t,e)=>{let n=Math.pow(2,Math.ceil(Math.log2(t.length))),a=[];for(let s=0;s(0,Wx.fromHexString)(Rj.ethers.utils.keccak256(s))).getProof(r[e],e).map(s=>(0,Wx.toHexString)(s.data))};$1.makeMerkleTreeProof=gQt;var vQt=(t,e)=>{let n=[...e],a=n[n.length-1],r=tZe.decode(a);if(r.length===17){for(let f of r)if(Array.isArray(f)){let i=(0,Wx.toHexString)(f[0]).slice(3);t.endsWith(i)&&n.push((0,Wx.toHexString)(tZe.encode(f)))}}return n};$1.maybeAddProofNode=vQt;var wQt=async(t,e,n,a)=>{let r=await t.send("eth_getProof",[n,[a],(0,Wx.toRpcHexString)(e)]);return r.storageProof[0].proof=(0,$1.maybeAddProofNode)(Rj.ethers.utils.keccak256(a),r.storageProof[0].proof),{accountProof:r.accountProof,storageProof:r.storageProof[0].proof,storageValue:Rj.BigNumber.from(r.storageProof[0].value),storageRoot:r.storageHash}};$1.makeStateTrieProof=wQt});var aZe=D(Km=>{"use strict";u();p();Object.defineProperty(Km,"__esModule",{value:!0});Km.migratedWithdrawalGasLimit=Km.hashMessageHash=Km.hashLowLevelMessage=void 0;var TQt=j8(),jc=Je(),{hexDataLength:xQt}=jc.utils,EQt=jc.BigNumber.from(2e5),_Qt=jc.BigNumber.from(16),AQt=jc.BigNumber.from(64),CQt=jc.BigNumber.from(63),IQt=jc.BigNumber.from(4e4),kQt=jc.BigNumber.from(4e4),SQt=jc.BigNumber.from(5e3),RQt=t=>(0,TQt.hashWithdrawal)(t.messageNonce,t.sender,t.target,t.value,t.minGasLimit,t.message);Km.hashLowLevelMessage=RQt;var MQt=t=>{let e=jc.ethers.utils.defaultAbiCoder.encode(["bytes32","uint256"],[t,jc.ethers.constants.HashZero]);return jc.ethers.utils.keccak256(e)};Km.hashMessageHash=MQt;var BQt=(t,e)=>{let n=jc.BigNumber.from(xQt(t)).mul(_Qt),a;if(e===420)a=jc.BigNumber.from(2e5);else{let f=AQt.mul(1e6).div(CQt);a=EQt.add(f).add(IQt).add(kQt).add(SQt)}let r=n.add(a);return r.gt(25e6)&&(r=jc.BigNumber.from(25e6)),r};Km.migratedWithdrawalGasLimit=BQt});var Wm=D(P6=>{"use strict";u();p();var DQt=P6&&P6.__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]}),o9=P6&&P6.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&DQt(e,t,n)};Object.defineProperty(P6,"__esModule",{value:!0});o9(n1e(),P6);o9(RJe(),P6);o9(BJe(),P6);o9(DJe(),P6);o9(nZe(),P6);o9(oce(),P6);o9(aZe(),P6)});var NR=D((xha,rZe)=>{u();p();var PQt="2.0.0",LQt=Number.MAX_SAFE_INTEGER||9007199254740991,FQt=16,NQt=250,OQt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];rZe.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:FQt,MAX_SAFE_BUILD_LENGTH:NQt,MAX_SAFE_INTEGER:LQt,RELEASE_TYPES:OQt,SEMVER_SPEC_VERSION:PQt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var OR=D((Aha,fZe)=>{u();p();var UQt=typeof x=="object"&&x.env&&x.env.NODE_DEBUG&&/\bsemver\b/i.test(x.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};fZe.exports=UQt});var qx=D((Q8,iZe)=>{u();p();var{MAX_SAFE_COMPONENT_LENGTH:Tce,MAX_SAFE_BUILD_LENGTH:HQt,MAX_LENGTH:zQt}=NR(),WQt=OR();Q8=iZe.exports={};var qQt=Q8.re=[],jQt=Q8.safeRe=[],nt=Q8.src=[],at=Q8.t={},GQt=0,xce="[a-zA-Z0-9-]",KQt=[["\\s",1],["\\d",zQt],[xce,HQt]],QQt=t=>{for(let[e,n]of KQt)t=t.split(`${e}*`).join(`${e}{0,${n}}`).split(`${e}+`).join(`${e}{1,${n}}`);return t},an=(t,e,n)=>{let a=QQt(e),r=GQt++;WQt(t,r,e),at[t]=r,nt[r]=e,qQt[r]=new RegExp(e,n?"g":void 0),jQt[r]=new RegExp(a,n?"g":void 0)};an("NUMERICIDENTIFIER","0|[1-9]\\d*");an("NUMERICIDENTIFIERLOOSE","\\d+");an("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${xce}*`);an("MAINVERSION",`(${nt[at.NUMERICIDENTIFIER]})\\.(${nt[at.NUMERICIDENTIFIER]})\\.(${nt[at.NUMERICIDENTIFIER]})`);an("MAINVERSIONLOOSE",`(${nt[at.NUMERICIDENTIFIERLOOSE]})\\.(${nt[at.NUMERICIDENTIFIERLOOSE]})\\.(${nt[at.NUMERICIDENTIFIERLOOSE]})`);an("PRERELEASEIDENTIFIER",`(?:${nt[at.NUMERICIDENTIFIER]}|${nt[at.NONNUMERICIDENTIFIER]})`);an("PRERELEASEIDENTIFIERLOOSE",`(?:${nt[at.NUMERICIDENTIFIERLOOSE]}|${nt[at.NONNUMERICIDENTIFIER]})`);an("PRERELEASE",`(?:-(${nt[at.PRERELEASEIDENTIFIER]}(?:\\.${nt[at.PRERELEASEIDENTIFIER]})*))`);an("PRERELEASELOOSE",`(?:-?(${nt[at.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${nt[at.PRERELEASEIDENTIFIERLOOSE]})*))`);an("BUILDIDENTIFIER",`${xce}+`);an("BUILD",`(?:\\+(${nt[at.BUILDIDENTIFIER]}(?:\\.${nt[at.BUILDIDENTIFIER]})*))`);an("FULLPLAIN",`v?${nt[at.MAINVERSION]}${nt[at.PRERELEASE]}?${nt[at.BUILD]}?`);an("FULL",`^${nt[at.FULLPLAIN]}$`);an("LOOSEPLAIN",`[v=\\s]*${nt[at.MAINVERSIONLOOSE]}${nt[at.PRERELEASELOOSE]}?${nt[at.BUILD]}?`);an("LOOSE",`^${nt[at.LOOSEPLAIN]}$`);an("GTLT","((?:<|>)?=?)");an("XRANGEIDENTIFIERLOOSE",`${nt[at.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);an("XRANGEIDENTIFIER",`${nt[at.NUMERICIDENTIFIER]}|x|X|\\*`);an("XRANGEPLAIN",`[v=\\s]*(${nt[at.XRANGEIDENTIFIER]})(?:\\.(${nt[at.XRANGEIDENTIFIER]})(?:\\.(${nt[at.XRANGEIDENTIFIER]})(?:${nt[at.PRERELEASE]})?${nt[at.BUILD]}?)?)?`);an("XRANGEPLAINLOOSE",`[v=\\s]*(${nt[at.XRANGEIDENTIFIERLOOSE]})(?:\\.(${nt[at.XRANGEIDENTIFIERLOOSE]})(?:\\.(${nt[at.XRANGEIDENTIFIERLOOSE]})(?:${nt[at.PRERELEASELOOSE]})?${nt[at.BUILD]}?)?)?`);an("XRANGE",`^${nt[at.GTLT]}\\s*${nt[at.XRANGEPLAIN]}$`);an("XRANGELOOSE",`^${nt[at.GTLT]}\\s*${nt[at.XRANGEPLAINLOOSE]}$`);an("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Tce}})(?:\\.(\\d{1,${Tce}}))?(?:\\.(\\d{1,${Tce}}))?`);an("COERCE",`${nt[at.COERCEPLAIN]}(?:$|[^\\d])`);an("COERCEFULL",nt[at.COERCEPLAIN]+`(?:${nt[at.PRERELEASE]})?(?:${nt[at.BUILD]})?(?:$|[^\\d])`);an("COERCERTL",nt[at.COERCE],!0);an("COERCERTLFULL",nt[at.COERCEFULL],!0);an("LONETILDE","(?:~>?)");an("TILDETRIM",`(\\s*)${nt[at.LONETILDE]}\\s+`,!0);Q8.tildeTrimReplace="$1~";an("TILDE",`^${nt[at.LONETILDE]}${nt[at.XRANGEPLAIN]}$`);an("TILDELOOSE",`^${nt[at.LONETILDE]}${nt[at.XRANGEPLAINLOOSE]}$`);an("LONECARET","(?:\\^)");an("CARETTRIM",`(\\s*)${nt[at.LONECARET]}\\s+`,!0);Q8.caretTrimReplace="$1^";an("CARET",`^${nt[at.LONECARET]}${nt[at.XRANGEPLAIN]}$`);an("CARETLOOSE",`^${nt[at.LONECARET]}${nt[at.XRANGEPLAINLOOSE]}$`);an("COMPARATORLOOSE",`^${nt[at.GTLT]}\\s*(${nt[at.LOOSEPLAIN]})$|^$`);an("COMPARATOR",`^${nt[at.GTLT]}\\s*(${nt[at.FULLPLAIN]})$|^$`);an("COMPARATORTRIM",`(\\s*)${nt[at.GTLT]}\\s*(${nt[at.LOOSEPLAIN]}|${nt[at.XRANGEPLAIN]})`,!0);Q8.comparatorTrimReplace="$1$2$3";an("HYPHENRANGE",`^\\s*(${nt[at.XRANGEPLAIN]})\\s+-\\s+(${nt[at.XRANGEPLAIN]})\\s*$`);an("HYPHENRANGELOOSE",`^\\s*(${nt[at.XRANGEPLAINLOOSE]})\\s+-\\s+(${nt[at.XRANGEPLAINLOOSE]})\\s*$`);an("STAR","(<|>)?=?\\s*\\*");an("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");an("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Mj=D((Rha,sZe)=>{u();p();var VQt=Object.freeze({loose:!0}),YQt=Object.freeze({}),$Qt=t=>t?typeof t!="object"?VQt:t:YQt;sZe.exports=$Qt});var Ece=D((Dha,dZe)=>{u();p();var oZe=/^[0-9]+$/,cZe=(t,e)=>{let n=oZe.test(t),a=oZe.test(e);return n&&a&&(t=+t,e=+e),t===e?0:n&&!a?-1:a&&!n?1:tcZe(e,t);dZe.exports={compareIdentifiers:cZe,rcompareIdentifiers:JQt}});var s1=D((Fha,hZe)=>{u();p();var Bj=OR(),{MAX_LENGTH:lZe,MAX_SAFE_INTEGER:Dj}=NR(),{safeRe:uZe,t:pZe}=qx(),XQt=Mj(),{compareIdentifiers:jx}=Ece(),_ce=class t{constructor(e,n){if(n=XQt(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>lZe)throw new TypeError(`version is longer than ${lZe} characters`);Bj("SemVer",e,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let a=e.trim().match(n.loose?uZe[pZe.LOOSE]:uZe[pZe.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>Dj||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Dj||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Dj||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]),jx(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}};hZe.exports=_ce});var c9=D((Uha,bZe)=>{u();p();var mZe=s1(),ZQt=(t,e,n=!1)=>{if(t instanceof mZe)return t;try{return new mZe(t,e)}catch(a){if(!n)return null;throw a}};bZe.exports=ZQt});var gZe=D((Wha,yZe)=>{u();p();var eVt=c9(),tVt=(t,e)=>{let n=eVt(t,e);return n?n.version:null};yZe.exports=tVt});var wZe=D((Gha,vZe)=>{u();p();var nVt=c9(),aVt=(t,e)=>{let n=nVt(t.trim().replace(/^[=v]+/,""),e);return n?n.version:null};vZe.exports=aVt});var EZe=D((Vha,xZe)=>{u();p();var TZe=s1(),rVt=(t,e,n,a,r)=>{typeof n=="string"&&(r=a,a=n,n=void 0);try{return new TZe(t instanceof TZe?t.version:t,n).inc(e,a,r).version}catch{return null}};xZe.exports=rVt});var CZe=D((Jha,AZe)=>{u();p();var _Ze=c9(),fVt=(t,e)=>{let n=_Ze(t,null,!0),a=_Ze(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"};AZe.exports=fVt});var kZe=D((e3a,IZe)=>{u();p();var iVt=s1(),sVt=(t,e)=>new iVt(t,e).major;IZe.exports=sVt});var RZe=D((a3a,SZe)=>{u();p();var oVt=s1(),cVt=(t,e)=>new oVt(t,e).minor;SZe.exports=cVt});var BZe=D((i3a,MZe)=>{u();p();var dVt=s1(),lVt=(t,e)=>new dVt(t,e).patch;MZe.exports=lVt});var PZe=D((c3a,DZe)=>{u();p();var uVt=c9(),pVt=(t,e)=>{let n=uVt(t,e);return n&&n.prerelease.length?n.prerelease:null};DZe.exports=pVt});var ad=D((u3a,FZe)=>{u();p();var LZe=s1(),hVt=(t,e,n)=>new LZe(t,n).compare(new LZe(e,n));FZe.exports=hVt});var OZe=D((m3a,NZe)=>{u();p();var mVt=ad(),bVt=(t,e,n)=>mVt(e,t,n);NZe.exports=bVt});var HZe=D((g3a,UZe)=>{u();p();var yVt=ad(),gVt=(t,e)=>yVt(t,e,!0);UZe.exports=gVt});var Pj=D((T3a,WZe)=>{u();p();var zZe=s1(),vVt=(t,e,n)=>{let a=new zZe(t,n),r=new zZe(e,n);return a.compare(r)||a.compareBuild(r)};WZe.exports=vVt});var jZe=D((_3a,qZe)=>{u();p();var wVt=Pj(),TVt=(t,e)=>t.sort((n,a)=>wVt(n,a,e));qZe.exports=TVt});var KZe=D((I3a,GZe)=>{u();p();var xVt=Pj(),EVt=(t,e)=>t.sort((n,a)=>xVt(a,n,e));GZe.exports=EVt});var UR=D((R3a,QZe)=>{u();p();var _Vt=ad(),AVt=(t,e,n)=>_Vt(t,e,n)>0;QZe.exports=AVt});var Lj=D((D3a,VZe)=>{u();p();var CVt=ad(),IVt=(t,e,n)=>CVt(t,e,n)<0;VZe.exports=IVt});var Ace=D((F3a,YZe)=>{u();p();var kVt=ad(),SVt=(t,e,n)=>kVt(t,e,n)===0;YZe.exports=SVt});var Cce=D((U3a,$Ze)=>{u();p();var RVt=ad(),MVt=(t,e,n)=>RVt(t,e,n)!==0;$Ze.exports=MVt});var Fj=D((W3a,JZe)=>{u();p();var BVt=ad(),DVt=(t,e,n)=>BVt(t,e,n)>=0;JZe.exports=DVt});var Nj=D((G3a,XZe)=>{u();p();var PVt=ad(),LVt=(t,e,n)=>PVt(t,e,n)<=0;XZe.exports=LVt});var Ice=D((V3a,ZZe)=>{u();p();var FVt=Ace(),NVt=Cce(),OVt=UR(),UVt=Fj(),HVt=Lj(),zVt=Nj(),WVt=(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 FVt(t,n,a);case"!=":return NVt(t,n,a);case">":return OVt(t,n,a);case">=":return UVt(t,n,a);case"<":return HVt(t,n,a);case"<=":return zVt(t,n,a);default:throw new TypeError(`Invalid operator: ${e}`)}};ZZe.exports=WVt});var te0=D((J3a,ee0)=>{u();p();var qVt=s1(),jVt=c9(),{safeRe:Oj,t:Uj}=qx(),GVt=(t,e)=>{if(t instanceof qVt)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?Oj[Uj.COERCEFULL]:Oj[Uj.COERCE]);else{let o=e.includePrerelease?Oj[Uj.COERCERTLFULL]:Oj[Uj.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 jVt(`${a}.${r}.${f}${i}${s}`,e)};ee0.exports=GVt});var ae0=D((ema,ne0)=>{u();p();var kce=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}};ne0.exports=kce});var rd=D((ama,se0)=>{u();p();var Sce=class t{constructor(e,n){if(n=QVt(n),e instanceof t)return e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease?e:new t(e.raw,n);if(e instanceof Rce)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=>!fe0(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&&eYt(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&&XVt)|(this.options.loose&&ZVt))+":"+e,r=re0.get(a);if(r)return r;let f=this.options.loose,i=f?Gc[J1.HYPHENRANGELOOSE]:Gc[J1.HYPHENRANGE];e=e.replace(i,dYt(this.options.includePrerelease)),nf("hyphen replace",e),e=e.replace(Gc[J1.COMPARATORTRIM],YVt),nf("comparator trim",e),e=e.replace(Gc[J1.TILDETRIM],$Vt),nf("tilde trim",e),e=e.replace(Gc[J1.CARETTRIM],JVt),nf("caret trim",e);let s=e.split(" ").map(l=>tYt(l,this.options)).join(" ").split(/\s+/).map(l=>cYt(l,this.options));f&&(s=s.filter(l=>(nf("loose invalid filter",l,this.options),!!l.match(Gc[J1.COMPARATORLOOSE])))),nf("range list",s);let o=new Map,c=s.map(l=>new Rce(l,this.options));for(let l of c){if(fe0(l))return[l];o.set(l.value,l)}o.size>1&&o.has("")&&o.delete("");let d=[...o.values()];return re0.set(a,d),d}intersects(e,n){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(a=>ie0(a,n)&&e.set.some(r=>ie0(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 VVt(e,this.options)}catch{return!1}for(let n=0;nt.value==="<0.0.0-0",eYt=t=>t.value==="",ie0=(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},tYt=(t,e)=>(nf("comp",t,e),t=rYt(t,e),nf("caret",t),t=nYt(t,e),nf("tildes",t),t=iYt(t,e),nf("xrange",t),t=oYt(t,e),nf("stars",t),t),X1=t=>!t||t.toLowerCase()==="x"||t==="*",nYt=(t,e)=>t.trim().split(/\s+/).map(n=>aYt(n,e)).join(" "),aYt=(t,e)=>{let n=e.loose?Gc[J1.TILDELOOSE]:Gc[J1.TILDE];return t.replace(n,(a,r,f,i,s)=>{nf("tilde",t,a,r,f,i,s);let o;return X1(r)?o="":X1(f)?o=`>=${r}.0.0 <${+r+1}.0.0-0`:X1(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})},rYt=(t,e)=>t.trim().split(/\s+/).map(n=>fYt(n,e)).join(" "),fYt=(t,e)=>{nf("caret",t,e);let n=e.loose?Gc[J1.CARETLOOSE]:Gc[J1.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 X1(f)?c="":X1(i)?c=`>=${f}.0.0${a} <${+f+1}.0.0-0`:X1(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})},iYt=(t,e)=>(nf("replaceXRanges",t,e),t.split(/\s+/).map(n=>sYt(n,e)).join(" ")),sYt=(t,e)=>{t=t.trim();let n=e.loose?Gc[J1.XRANGELOOSE]:Gc[J1.XRANGE];return t.replace(n,(a,r,f,i,s,o)=>{nf("xRange",t,a,r,f,i,s,o);let c=X1(f),d=c||X1(i),l=d||X1(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})},oYt=(t,e)=>(nf("replaceStars",t,e),t.trim().replace(Gc[J1.STAR],"")),cYt=(t,e)=>(nf("replaceGTE0",t,e),t.trim().replace(Gc[e.includePrerelease?J1.GTE0PRE:J1.GTE0],"")),dYt=t=>(e,n,a,r,f,i,s,o,c,d,l,h)=>(X1(a)?n="":X1(r)?n=`>=${a}.0.0${t?"-0":""}`:X1(f)?n=`>=${a}.${r}.0${t?"-0":""}`:i?n=`>=${n}`:n=`>=${n}${t?"-0":""}`,X1(c)?o="":X1(d)?o=`<${+c+1}.0.0-0`:X1(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()),lYt=(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 HR=D((ima,pe0)=>{u();p();var zR=Symbol("SemVer ANY"),Dce=class t{static get ANY(){return zR}constructor(e,n){if(n=oe0(n),e instanceof t){if(e.loose===!!n.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Bce("comparator",e,n),this.options=n,this.loose=!!n.loose,this.parse(e),this.semver===zR?this.value="":this.value=this.operator+this.semver.version,Bce("comp",this)}parse(e){let n=this.options.loose?ce0[de0.COMPARATORLOOSE]:ce0[de0.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 le0(a[2],this.options.loose):this.semver=zR}toString(){return this.value}test(e){if(Bce("Comparator.test",e,this.options.loose),this.semver===zR||e===zR)return!0;if(typeof e=="string")try{e=new le0(e,this.options)}catch{return!1}return Mce(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 ue0(e.value,n).test(this.value):e.operator===""?e.value===""?!0:new ue0(this.value,n).test(e.semver):(n=oe0(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("=")||Mce(this.semver,"<",e.semver,n)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Mce(this.semver,">",e.semver,n)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};pe0.exports=Dce;var oe0=Mj(),{safeRe:ce0,t:de0}=qx(),Mce=Ice(),Bce=OR(),le0=s1(),ue0=rd()});var V8=D((cma,he0)=>{u();p();var uYt=rd(),pYt=(t,e,n)=>{try{e=new uYt(e,n)}catch{return!1}return e.test(t)};he0.exports=pYt});var be0=D((uma,me0)=>{u();p();var hYt=rd(),mYt=(t,e)=>new hYt(t,e).set.map(n=>n.map(a=>a.value).join(" ").trim().split(" "));me0.exports=mYt});var ge0=D((mma,ye0)=>{u();p();var bYt=s1(),yYt=rd(),gYt=(t,e,n)=>{let a=null,r=null,f=null;try{f=new yYt(e,n)}catch{return null}return t.forEach(i=>{f.test(i)&&(!a||r.compare(i)===-1)&&(a=i,r=new bYt(a,n))}),a};ye0.exports=gYt});var we0=D((gma,ve0)=>{u();p();var vYt=s1(),wYt=rd(),TYt=(t,e,n)=>{let a=null,r=null,f=null;try{f=new wYt(e,n)}catch{return null}return t.forEach(i=>{f.test(i)&&(!a||r.compare(i)===1)&&(a=i,r=new vYt(a,n))}),a};ve0.exports=TYt});var Ee0=D((Tma,xe0)=>{u();p();var Pce=s1(),xYt=rd(),Te0=UR(),EYt=(t,e)=>{t=new xYt(t,e);let n=new Pce("0.0.0");if(t.test(n)||(n=new Pce("0.0.0-0"),t.test(n)))return n;n=null;for(let a=0;a{let s=new Pce(i.semver.version);switch(i.operator){case">":s.prerelease.length===0?s.patch++:s.prerelease.push(0),s.raw=s.format();case"":case">=":(!f||Te0(s,f))&&(f=s);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),f&&(!n||Te0(n,f))&&(n=f)}return n&&t.test(n)?n:null};xe0.exports=EYt});var Ae0=D((_ma,_e0)=>{u();p();var _Yt=rd(),AYt=(t,e)=>{try{return new _Yt(t,e).range||"*"}catch{return null}};_e0.exports=AYt});var Hj=D((Ima,Se0)=>{u();p();var CYt=s1(),ke0=HR(),{ANY:IYt}=ke0,kYt=rd(),SYt=V8(),Ce0=UR(),Ie0=Lj(),RYt=Nj(),MYt=Fj(),BYt=(t,e,n,a)=>{t=new CYt(t,a),e=new kYt(e,a);let r,f,i,s,o;switch(n){case">":r=Ce0,f=RYt,i=Ie0,s=">",o=">=";break;case"<":r=Ie0,f=MYt,i=Ce0,s="<",o="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(SYt(t,e,a))return!1;for(let c=0;c{y.semver===IYt&&(y=new ke0(">=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};Se0.exports=BYt});var Me0=D((Rma,Re0)=>{u();p();var DYt=Hj(),PYt=(t,e,n)=>DYt(t,e,">",n);Re0.exports=PYt});var De0=D((Dma,Be0)=>{u();p();var LYt=Hj(),FYt=(t,e,n)=>LYt(t,e,"<",n);Be0.exports=FYt});var Fe0=D((Fma,Le0)=>{u();p();var Pe0=rd(),NYt=(t,e,n)=>(t=new Pe0(t,n),e=new Pe0(e,n),t.intersects(e,n));Le0.exports=NYt});var Oe0=D((Uma,Ne0)=>{u();p();var OYt=V8(),UYt=ad();Ne0.exports=(t,e,n)=>{let a=[],r=null,f=null,i=t.sort((d,l)=>UYt(d,l,n));for(let d of i)OYt(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 Ue0=rd(),Fce=HR(),{ANY:Lce}=Fce,WR=V8(),Nce=ad(),HYt=(t,e,n={})=>{if(t===e)return!0;t=new Ue0(t,n),e=new Ue0(e,n);let a=!1;e:for(let r of t.set){for(let f of e.set){let i=WYt(r,f,n);if(a=a||i!==null,i)continue e}if(a)return!1}return!0},zYt=[new Fce(">=0.0.0-0")],He0=[new Fce(">=0.0.0")],WYt=(t,e,n)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Lce){if(e.length===1&&e[0].semver===Lce)return!0;n.includePrerelease?t=zYt:t=He0}if(e.length===1&&e[0].semver===Lce){if(n.includePrerelease)return!0;e=He0}let a=new Set,r,f;for(let y of t)y.operator===">"||y.operator===">="?r=ze0(r,y,n):y.operator==="<"||y.operator==="<="?f=We0(f,y,n):a.add(y.semver);if(a.size>1)return null;let i;if(r&&f){if(i=Nce(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&&!WR(y,String(r),n)||f&&!WR(y,String(f),n))return null;for(let v of e)if(!WR(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=ze0(r,y,n),s===y&&s!==r)return!1}else if(r.operator===">="&&!WR(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=We0(f,y,n),o===y&&o!==f)return!1}else if(f.operator==="<="&&!WR(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)},ze0=(t,e,n)=>{if(!t)return e;let a=Nce(t.semver,e.semver,n);return a>0?t:a<0||e.operator===">"&&t.operator===">="?e:t},We0=(t,e,n)=>{if(!t)return e;let a=Nce(t.semver,e.semver,n);return a<0?t:a>0||e.operator==="<"&&t.operator==="<="?e:t};qe0.exports=HYt});var Uce=D((Gma,Qe0)=>{u();p();var Oce=qx(),Ge0=NR(),qYt=s1(),Ke0=Ece(),jYt=c9(),GYt=gZe(),KYt=wZe(),QYt=EZe(),VYt=CZe(),YYt=kZe(),$Yt=RZe(),JYt=BZe(),XYt=PZe(),ZYt=ad(),e$t=OZe(),t$t=HZe(),n$t=Pj(),a$t=jZe(),r$t=KZe(),f$t=UR(),i$t=Lj(),s$t=Ace(),o$t=Cce(),c$t=Fj(),d$t=Nj(),l$t=Ice(),u$t=te0(),p$t=HR(),h$t=rd(),m$t=V8(),b$t=be0(),y$t=ge0(),g$t=we0(),v$t=Ee0(),w$t=Ae0(),T$t=Hj(),x$t=Me0(),E$t=De0(),_$t=Fe0(),A$t=Oe0(),C$t=je0();Qe0.exports={parse:jYt,valid:GYt,clean:KYt,inc:QYt,diff:VYt,major:YYt,minor:$Yt,patch:JYt,prerelease:XYt,compare:ZYt,rcompare:e$t,compareLoose:t$t,compareBuild:n$t,sort:a$t,rsort:r$t,gt:f$t,lt:i$t,eq:s$t,neq:o$t,gte:c$t,lte:d$t,cmp:l$t,coerce:u$t,Comparator:p$t,Range:h$t,satisfies:m$t,toComparators:b$t,maxSatisfying:y$t,minSatisfying:g$t,minVersion:v$t,validRange:w$t,outside:T$t,gtr:x$t,ltr:E$t,intersects:_$t,simplifyRange:A$t,subset:C$t,SemVer:qYt,re:Oce.re,src:Oce.src,tokens:Oce.t,SEMVER_SPEC_VERSION:Ge0.SEMVER_SPEC_VERSION,RELEASE_TYPES:Ge0.RELEASE_TYPES,compareIdentifiers:Ke0.compareIdentifiers,rcompareIdentifiers:Ke0.rcompareIdentifiers}});var Ye0=D(fd=>{"use strict";u();p();var I$t=fd&&fd.__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]}),k$t=fd&&fd.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),S$t=fd&&fd.__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)&&I$t(e,t,n);return k$t(e,t),e},R$t=fd&&fd.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(fd,"__esModule",{value:!0});fd.CrossChainMessenger=void 0;var zj=C3(),gi=Je(),ks=j8(),Wj=Cx(),Ve0=S$t(Sj()),M$t=R$t(Uce()),Ot=_x(),af=Wm(),Hce=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 gi.ethers.Contract(this.contracts.l1.L1CrossDomainMessenger.address,(0,Wj.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,ks.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 gi.ethers.Contract(this.contracts.l1.L1CrossDomainMessenger.address,(0,Wj.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(gi.ethers.constants.AddressZero,Wj.predeploys.OVM_ETH,a,await i())},withdrawETH:async(a,r)=>this.bridges.ETH.populateTransaction.withdraw(gi.ethers.constants.AddressZero,Wj.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(!gi.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 zj.Provider.isProvider(this.l1SignerOrProvider)?this.l1SignerOrProvider:this.l1SignerOrProvider.provider}get l2Provider(){return zj.Provider.isProvider(this.l2SignerOrProvider)?this.l2SignerOrProvider:this.l2SignerOrProvider.provider}get l1Signer(){if(zj.Provider.isProvider(this.l1SignerOrProvider))throw new Error("messenger has no L1 signer");return this.l1SignerOrProvider}get l2Signer(){if(zj.Provider.isProvider(this.l2SignerOrProvider))throw new Error("messenger has no L2 signer");return this.l2SignerOrProvider}async fpac(){return this.contracts.l1.OptimismPortal.address===gi.ethers.constants.AddressZero?!1:M$t.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=gi.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,ks.decodeVersionedNonce)(a.messageNonce);if(r.eq(1))return a;let f=gi.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:gi.BigNumber.from(0),messageNonce:(0,ks.encodeVersionedNonce)(gi.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,ks.decodeVersionedNonce)(a.messageNonce),f;r.eq(0)?f=await this.toBedrockCrossChainMessage(a,n):f=a;let i=(0,ks.encodeCrossDomainMessageV1)(f.messageNonce,f.sender,f.target,f.value,f.minGasLimit,f.message),s,o;if(r.eq(0)){let c=await(0,ks.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,ks.hashCrossDomainMessagev0)(f.target,f.sender,f.message,f.messageNonce),s=(0,ks.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,ks.hashCrossDomainMessagev0)(f.target,f.sender,f.message,f.messageNonce),s=(0,ks.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,ks.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,ks.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"?gi.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=gi.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]=gi.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,ks.toRpcHexString)(n),!1]),(0,af.makeStateTrieProof)(r,n,this.contracts.l2.OVM_L2ToL1MessagePasser.address,gi.ethers.constants.HashZero)]),o=gi.ethers.utils.solidityKeccak256(["bytes32","bytes32","bytes32","bytes32"],[gi.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]=gi.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 B$t(){this.__data__=[],this.size=0}$e0.exports=B$t});var zce=D((eba,Xe0)=>{u();p();function D$t(t,e){return t===e||t!==t&&e!==e}Xe0.exports=D$t});var qR=D((aba,Ze0)=>{u();p();var P$t=zce();function L$t(t,e){for(var n=t.length;n--;)if(P$t(t[n][0],e))return n;return-1}Ze0.exports=L$t});var t00=D((iba,e00)=>{u();p();var F$t=qR(),N$t=Array.prototype,O$t=N$t.splice;function U$t(t){var e=this.__data__,n=F$t(e,t);if(n<0)return!1;var a=e.length-1;return n==a?e.pop():O$t.call(e,n,1),--this.size,!0}e00.exports=U$t});var a00=D((cba,n00)=>{u();p();var H$t=qR();function z$t(t){var e=this.__data__,n=H$t(e,t);return n<0?void 0:e[n][1]}n00.exports=z$t});var f00=D((uba,r00)=>{u();p();var W$t=qR();function q$t(t){return W$t(this.__data__,t)>-1}r00.exports=q$t});var s00=D((mba,i00)=>{u();p();var j$t=qR();function G$t(t,e){var n=this.__data__,a=j$t(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this}i00.exports=G$t});var jR=D((gba,o00)=>{u();p();var K$t=Je0(),Q$t=t00(),V$t=a00(),Y$t=f00(),$$t=s00();function Gx(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e{u();p();var J$t=jR();function X$t(){this.__data__=new J$t,this.size=0}c00.exports=X$t});var u00=D((_ba,l00)=>{u();p();function Z$t(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}l00.exports=Z$t});var h00=D((Iba,p00)=>{u();p();function eJt(t){return this.__data__.get(t)}p00.exports=eJt});var b00=D((Rba,m00)=>{u();p();function tJt(t){return this.__data__.has(t)}m00.exports=tJt});var Wce=D((Dba,y00)=>{u();p();var nJt=typeof global=="object"&&global&&global.Object===Object&&global;y00.exports=nJt});var Rl=D((Fba,g00)=>{u();p();var aJt=Wce(),rJt=typeof self=="object"&&self&&self.Object===Object&&self,fJt=aJt||rJt||Function("return this")();g00.exports=fJt});var qj=D((Uba,v00)=>{u();p();var iJt=Rl(),sJt=iJt.Symbol;v00.exports=sJt});var E00=D((Wba,x00)=>{u();p();var w00=qj(),T00=Object.prototype,oJt=T00.hasOwnProperty,cJt=T00.toString,GR=w00?w00.toStringTag:void 0;function dJt(t){var e=oJt.call(t,GR),n=t[GR];try{t[GR]=void 0;var a=!0}catch{}var r=cJt.call(t);return a&&(e?t[GR]=n:delete t[GR]),r}x00.exports=dJt});var A00=D((Gba,_00)=>{u();p();var lJt=Object.prototype,uJt=lJt.toString;function pJt(t){return uJt.call(t)}_00.exports=pJt});var KR=D((Vba,k00)=>{u();p();var C00=qj(),hJt=E00(),mJt=A00(),bJt="[object Null]",yJt="[object Undefined]",I00=C00?C00.toStringTag:void 0;function gJt(t){return t==null?t===void 0?yJt:bJt:I00&&I00 in Object(t)?hJt(t):mJt(t)}k00.exports=gJt});var Kx=D((Jba,S00)=>{u();p();function vJt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}S00.exports=vJt});var qce=D((e4a,R00)=>{u();p();var wJt=KR(),TJt=Kx(),xJt="[object AsyncFunction]",EJt="[object Function]",_Jt="[object GeneratorFunction]",AJt="[object Proxy]";function CJt(t){if(!TJt(t))return!1;var e=wJt(t);return e==EJt||e==_Jt||e==xJt||e==AJt}R00.exports=CJt});var B00=D((a4a,M00)=>{u();p();var IJt=Rl(),kJt=IJt["__core-js_shared__"];M00.exports=kJt});var L00=D((i4a,P00)=>{u();p();var jce=B00(),D00=function(){var t=/[^.]+$/.exec(jce&&jce.keys&&jce.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function SJt(t){return!!D00&&D00 in t}P00.exports=SJt});var Gce=D((c4a,F00)=>{u();p();var RJt=Function.prototype,MJt=RJt.toString;function BJt(t){if(t!=null){try{return MJt.call(t)}catch{}try{return t+""}catch{}}return""}F00.exports=BJt});var O00=D((u4a,N00)=>{u();p();var DJt=qce(),PJt=L00(),LJt=Kx(),FJt=Gce(),NJt=/[\\^$.*+?()[\]{}|]/g,OJt=/^\[object .+?Constructor\]$/,UJt=Function.prototype,HJt=Object.prototype,zJt=UJt.toString,WJt=HJt.hasOwnProperty,qJt=RegExp("^"+zJt.call(WJt).replace(NJt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function jJt(t){if(!LJt(t)||PJt(t))return!1;var e=DJt(t)?qJt:OJt;return e.test(FJt(t))}N00.exports=jJt});var H00=D((m4a,U00)=>{u();p();function GJt(t,e){return t?.[e]}U00.exports=GJt});var Qm=D((g4a,z00)=>{u();p();var KJt=O00(),QJt=H00();function VJt(t,e){var n=QJt(t,e);return KJt(n)?n:void 0}z00.exports=VJt});var jj=D((T4a,W00)=>{u();p();var YJt=Qm(),$Jt=Rl(),JJt=YJt($Jt,"Map");W00.exports=JJt});var QR=D((_4a,q00)=>{u();p();var XJt=Qm(),ZJt=XJt(Object,"create");q00.exports=ZJt});var K00=D((I4a,G00)=>{u();p();var j00=QR();function eXt(){this.__data__=j00?j00(null):{},this.size=0}G00.exports=eXt});var V00=D((R4a,Q00)=>{u();p();function tXt(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}Q00.exports=tXt});var $00=D((D4a,Y00)=>{u();p();var nXt=QR(),aXt="__lodash_hash_undefined__",rXt=Object.prototype,fXt=rXt.hasOwnProperty;function iXt(t){var e=this.__data__;if(nXt){var n=e[t];return n===aXt?void 0:n}return fXt.call(e,t)?e[t]:void 0}Y00.exports=iXt});var X00=D((F4a,J00)=>{u();p();var sXt=QR(),oXt=Object.prototype,cXt=oXt.hasOwnProperty;function dXt(t){var e=this.__data__;return sXt?e[t]!==void 0:cXt.call(e,t)}J00.exports=dXt});var et0=D((U4a,Z00)=>{u();p();var lXt=QR(),uXt="__lodash_hash_undefined__";function pXt(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=lXt&&e===void 0?uXt:e,this}Z00.exports=pXt});var nt0=D((W4a,tt0)=>{u();p();var hXt=K00(),mXt=V00(),bXt=$00(),yXt=X00(),gXt=et0();function Qx(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e{u();p();var at0=nt0(),vXt=jR(),wXt=jj();function TXt(){this.size=0,this.__data__={hash:new at0,map:new(wXt||vXt),string:new at0}}rt0.exports=TXt});var st0=D((V4a,it0)=>{u();p();function xXt(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}it0.exports=xXt});var VR=D((J4a,ot0)=>{u();p();var EXt=st0();function _Xt(t,e){var n=t.__data__;return EXt(e)?n[typeof e=="string"?"string":"hash"]:n.map}ot0.exports=_Xt});var dt0=D((eya,ct0)=>{u();p();var AXt=VR();function CXt(t){var e=AXt(this,t).delete(t);return this.size-=e?1:0,e}ct0.exports=CXt});var ut0=D((aya,lt0)=>{u();p();var IXt=VR();function kXt(t){return IXt(this,t).get(t)}lt0.exports=kXt});var ht0=D((iya,pt0)=>{u();p();var SXt=VR();function RXt(t){return SXt(this,t).has(t)}pt0.exports=RXt});var bt0=D((cya,mt0)=>{u();p();var MXt=VR();function BXt(t,e){var n=MXt(this,t),a=n.size;return n.set(t,e),this.size+=n.size==a?0:1,this}mt0.exports=BXt});var gt0=D((uya,yt0)=>{u();p();var DXt=ft0(),PXt=dt0(),LXt=ut0(),FXt=ht0(),NXt=bt0();function Vx(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e{u();p();var OXt=jR(),UXt=jj(),HXt=gt0(),zXt=200;function WXt(t,e){var n=this.__data__;if(n instanceof OXt){var a=n.__data__;if(!UXt||a.length{u();p();var qXt=jR(),jXt=d00(),GXt=u00(),KXt=h00(),QXt=b00(),VXt=wt0();function Yx(t){var e=this.__data__=new qXt(t);this.size=e.size}Yx.prototype.clear=jXt;Yx.prototype.delete=GXt;Yx.prototype.get=KXt;Yx.prototype.has=QXt;Yx.prototype.set=VXt;Tt0.exports=Yx});var _t0=D((Tya,Et0)=>{u();p();function YXt(t,e){for(var n=-1,a=t==null?0:t.length;++n{u();p();var $Xt=Qm(),JXt=function(){try{var t=$Xt(Object,"defineProperty");return t({},"",{}),t}catch{}}();At0.exports=JXt});var Kce=D((Iya,kt0)=>{u();p();var It0=Ct0();function XXt(t,e,n){e=="__proto__"&&It0?It0(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}kt0.exports=XXt});var Qce=D((Rya,St0)=>{u();p();var ZXt=Kce(),eZt=zce(),tZt=Object.prototype,nZt=tZt.hasOwnProperty;function aZt(t,e,n){var a=t[e];(!(nZt.call(t,e)&&eZt(a,n))||n===void 0&&!(e in t))&&ZXt(t,e,n)}St0.exports=aZt});var YR=D((Dya,Rt0)=>{u();p();var rZt=Qce(),fZt=Kce();function iZt(t,e,n,a){var r=!n;n||(n={});for(var f=-1,i=e.length;++f{u();p();function sZt(t,e){for(var n=-1,a=Array(t);++n{u();p();function oZt(t){return t!=null&&typeof t=="object"}Dt0.exports=oZt});var Lt0=D((Wya,Pt0)=>{u();p();var cZt=KR(),dZt=$x(),lZt="[object Arguments]";function uZt(t){return dZt(t)&&cZt(t)==lZt}Pt0.exports=uZt});var Ut0=D((Gya,Ot0)=>{u();p();var Ft0=Lt0(),pZt=$x(),Nt0=Object.prototype,hZt=Nt0.hasOwnProperty,mZt=Nt0.propertyIsEnumerable,bZt=Ft0(function(){return arguments}())?Ft0:function(t){return pZt(t)&&hZt.call(t,"callee")&&!mZt.call(t,"callee")};Ot0.exports=bZt});var Gj=D((Vya,Ht0)=>{u();p();var yZt=Array.isArray;Ht0.exports=yZt});var Wt0=D((Jya,zt0)=>{u();p();function gZt(){return!1}zt0.exports=gZt});var Vce=D(($R,Jx)=>{u();p();var vZt=Rl(),wZt=Wt0(),Gt0=typeof $R=="object"&&$R&&!$R.nodeType&&$R,qt0=Gt0&&typeof Jx=="object"&&Jx&&!Jx.nodeType&&Jx,TZt=qt0&&qt0.exports===Gt0,jt0=TZt?vZt.Buffer:void 0,xZt=jt0?jt0.isBuffer:void 0,EZt=xZt||wZt;Jx.exports=EZt});var Qt0=D((n7a,Kt0)=>{u();p();var _Zt=9007199254740991,AZt=/^(?:0|[1-9]\d*)$/;function CZt(t,e){var n=typeof t;return e=e??_Zt,!!e&&(n=="number"||n!="symbol"&&AZt.test(t))&&t>-1&&t%1==0&&t{u();p();var IZt=9007199254740991;function kZt(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=IZt}Vt0.exports=kZt});var $t0=D((o7a,Yt0)=>{u();p();var SZt=KR(),RZt=Yce(),MZt=$x(),BZt="[object Arguments]",DZt="[object Array]",PZt="[object Boolean]",LZt="[object Date]",FZt="[object Error]",NZt="[object Function]",OZt="[object Map]",UZt="[object Number]",HZt="[object Object]",zZt="[object RegExp]",WZt="[object Set]",qZt="[object String]",jZt="[object WeakMap]",GZt="[object ArrayBuffer]",KZt="[object DataView]",QZt="[object Float32Array]",VZt="[object Float64Array]",YZt="[object Int8Array]",$Zt="[object Int16Array]",JZt="[object Int32Array]",XZt="[object Uint8Array]",ZZt="[object Uint8ClampedArray]",een="[object Uint16Array]",ten="[object Uint32Array]",rf={};rf[QZt]=rf[VZt]=rf[YZt]=rf[$Zt]=rf[JZt]=rf[XZt]=rf[ZZt]=rf[een]=rf[ten]=!0;rf[BZt]=rf[DZt]=rf[GZt]=rf[PZt]=rf[KZt]=rf[LZt]=rf[FZt]=rf[NZt]=rf[OZt]=rf[UZt]=rf[HZt]=rf[zZt]=rf[WZt]=rf[qZt]=rf[jZt]=!1;function nen(t){return MZt(t)&&RZt(t.length)&&!!rf[SZt(t)]}Yt0.exports=nen});var Kj=D((l7a,Jt0)=>{u();p();function aen(t){return function(e){return t(e)}}Jt0.exports=aen});var Qj=D((JR,Xx)=>{u();p();var ren=Wce(),Xt0=typeof JR=="object"&&JR&&!JR.nodeType&&JR,XR=Xt0&&typeof Xx=="object"&&Xx&&!Xx.nodeType&&Xx,fen=XR&&XR.exports===Xt0,$ce=fen&&ren.process,ien=function(){try{var t=XR&&XR.require&&XR.require("util").types;return t||$ce&&$ce.binding&&$ce.binding("util")}catch{}}();Xx.exports=ien});var nn0=D((b7a,tn0)=>{u();p();var sen=$t0(),oen=Kj(),Zt0=Qj(),en0=Zt0&&Zt0.isTypedArray,cen=en0?oen(en0):sen;tn0.exports=cen});var Jce=D((v7a,an0)=>{u();p();var den=Bt0(),len=Ut0(),uen=Gj(),pen=Vce(),hen=Qt0(),men=nn0(),ben=Object.prototype,yen=ben.hasOwnProperty;function gen(t,e){var n=uen(t),a=!n&&len(t),r=!n&&!a&&pen(t),f=!n&&!a&&!r&&men(t),i=n||a||r||f,s=i?den(t.length,String):[],o=s.length;for(var c in t)(e||yen.call(t,c))&&!(i&&(c=="length"||r&&(c=="offset"||c=="parent")||f&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||hen(c,o)))&&s.push(c);return s}an0.exports=gen});var Vj=D((x7a,rn0)=>{u();p();var ven=Object.prototype;function wen(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||ven;return t===n}rn0.exports=wen});var Xce=D((A7a,fn0)=>{u();p();function Ten(t,e){return function(n){return t(e(n))}}fn0.exports=Ten});var sn0=D((k7a,in0)=>{u();p();var xen=Xce(),Een=xen(Object.keys,Object);in0.exports=Een});var cn0=D((M7a,on0)=>{u();p();var _en=Vj(),Aen=sn0(),Cen=Object.prototype,Ien=Cen.hasOwnProperty;function ken(t){if(!_en(t))return Aen(t);var e=[];for(var n in Object(t))Ien.call(t,n)&&n!="constructor"&&e.push(n);return e}on0.exports=ken});var Zce=D((P7a,dn0)=>{u();p();var Sen=qce(),Ren=Yce();function Men(t){return t!=null&&Ren(t.length)&&!Sen(t)}dn0.exports=Men});var Yj=D((N7a,ln0)=>{u();p();var Ben=Jce(),Den=cn0(),Pen=Zce();function Len(t){return Pen(t)?Ben(t):Den(t)}ln0.exports=Len});var pn0=D((H7a,un0)=>{u();p();var Fen=YR(),Nen=Yj();function Oen(t,e){return t&&Fen(e,Nen(e),t)}un0.exports=Oen});var mn0=D((q7a,hn0)=>{u();p();function Uen(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}hn0.exports=Uen});var yn0=D((K7a,bn0)=>{u();p();var Hen=Kx(),zen=Vj(),Wen=mn0(),qen=Object.prototype,jen=qen.hasOwnProperty;function Gen(t){if(!Hen(t))return Wen(t);var e=zen(t),n=[];for(var a in t)a=="constructor"&&(e||!jen.call(t,a))||n.push(a);return n}bn0.exports=Gen});var $j=D((Y7a,gn0)=>{u();p();var Ken=Jce(),Qen=yn0(),Ven=Zce();function Yen(t){return Ven(t)?Ken(t,!0):Qen(t)}gn0.exports=Yen});var wn0=D((X7a,vn0)=>{u();p();var $en=YR(),Jen=$j();function Xen(t,e){return t&&$en(e,Jen(e),t)}vn0.exports=Xen});var An0=D((ZR,Zx)=>{u();p();var Zen=Rl(),_n0=typeof ZR=="object"&&ZR&&!ZR.nodeType&&ZR,Tn0=_n0&&typeof Zx=="object"&&Zx&&!Zx.nodeType&&Zx,e0n=Tn0&&Tn0.exports===_n0,xn0=e0n?Zen.Buffer:void 0,En0=xn0?xn0.allocUnsafe:void 0;function t0n(t,e){if(e)return t.slice();var n=t.length,a=En0?En0(n):new t.constructor(n);return t.copy(a),a}Zx.exports=t0n});var In0=D((a9a,Cn0)=>{u();p();function n0n(t,e){var n=-1,a=t.length;for(e||(e=Array(a));++n{u();p();function a0n(t,e){for(var n=-1,a=t==null?0:t.length,r=0,f=[];++n{u();p();function r0n(){return[]}Rn0.exports=r0n});var Jj=D((u9a,Bn0)=>{u();p();var f0n=Sn0(),i0n=e6e(),s0n=Object.prototype,o0n=s0n.propertyIsEnumerable,Mn0=Object.getOwnPropertySymbols,c0n=Mn0?function(t){return t==null?[]:(t=Object(t),f0n(Mn0(t),function(e){return o0n.call(t,e)}))}:i0n;Bn0.exports=c0n});var Pn0=D((m9a,Dn0)=>{u();p();var d0n=YR(),l0n=Jj();function u0n(t,e){return d0n(t,l0n(t),e)}Dn0.exports=u0n});var t6e=D((g9a,Ln0)=>{u();p();function p0n(t,e){for(var n=-1,a=e.length,r=t.length;++n{u();p();var h0n=Xce(),m0n=h0n(Object.getPrototypeOf,Object);Fn0.exports=m0n});var a6e=D((_9a,Nn0)=>{u();p();var b0n=t6e(),y0n=n6e(),g0n=Jj(),v0n=e6e(),w0n=Object.getOwnPropertySymbols,T0n=w0n?function(t){for(var e=[];t;)b0n(e,g0n(t)),t=y0n(t);return e}:v0n;Nn0.exports=T0n});var Un0=D((I9a,On0)=>{u();p();var x0n=YR(),E0n=a6e();function _0n(t,e){return x0n(t,E0n(t),e)}On0.exports=_0n});var r6e=D((R9a,Hn0)=>{u();p();var A0n=t6e(),C0n=Gj();function I0n(t,e,n){var a=e(t);return C0n(t)?a:A0n(a,n(t))}Hn0.exports=I0n});var Wn0=D((D9a,zn0)=>{u();p();var k0n=r6e(),S0n=Jj(),R0n=Yj();function M0n(t){return k0n(t,R0n,S0n)}zn0.exports=M0n});var jn0=D((F9a,qn0)=>{u();p();var B0n=r6e(),D0n=a6e(),P0n=$j();function L0n(t){return B0n(t,P0n,D0n)}qn0.exports=L0n});var Kn0=D((U9a,Gn0)=>{u();p();var F0n=Qm(),N0n=Rl(),O0n=F0n(N0n,"DataView");Gn0.exports=O0n});var Vn0=D((W9a,Qn0)=>{u();p();var U0n=Qm(),H0n=Rl(),z0n=U0n(H0n,"Promise");Qn0.exports=z0n});var $n0=D((G9a,Yn0)=>{u();p();var W0n=Qm(),q0n=Rl(),j0n=W0n(q0n,"Set");Yn0.exports=j0n});var Xn0=D((V9a,Jn0)=>{u();p();var G0n=Qm(),K0n=Rl(),Q0n=G0n(K0n,"WeakMap");Jn0.exports=Q0n});var Xj=D((J9a,fa0)=>{u();p();var f6e=Kn0(),i6e=jj(),s6e=Vn0(),o6e=$n0(),c6e=Xn0(),ra0=KR(),eE=Gce(),Zn0="[object Map]",V0n="[object Object]",ea0="[object Promise]",ta0="[object Set]",na0="[object WeakMap]",aa0="[object DataView]",Y0n=eE(f6e),$0n=eE(i6e),J0n=eE(s6e),X0n=eE(o6e),Z0n=eE(c6e),d9=ra0;(f6e&&d9(new f6e(new ArrayBuffer(1)))!=aa0||i6e&&d9(new i6e)!=Zn0||s6e&&d9(s6e.resolve())!=ea0||o6e&&d9(new o6e)!=ta0||c6e&&d9(new c6e)!=na0)&&(d9=function(t){var e=ra0(t),n=e==V0n?t.constructor:void 0,a=n?eE(n):"";if(a)switch(a){case Y0n:return aa0;case $0n:return Zn0;case J0n:return ea0;case X0n:return ta0;case Z0n:return na0}return e});fa0.exports=d9});var sa0=D((ega,ia0)=>{u();p();var etn=Object.prototype,ttn=etn.hasOwnProperty;function ntn(t){var e=t.length,n=new t.constructor(e);return e&&typeof t[0]=="string"&&ttn.call(t,"index")&&(n.index=t.index,n.input=t.input),n}ia0.exports=ntn});var ca0=D((aga,oa0)=>{u();p();var atn=Rl(),rtn=atn.Uint8Array;oa0.exports=rtn});var Zj=D((iga,la0)=>{u();p();var da0=ca0();function ftn(t){var e=new t.constructor(t.byteLength);return new da0(e).set(new da0(t)),e}la0.exports=ftn});var pa0=D((cga,ua0)=>{u();p();var itn=Zj();function stn(t,e){var n=e?itn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}ua0.exports=stn});var ma0=D((uga,ha0)=>{u();p();var otn=/\w*$/;function ctn(t){var e=new t.constructor(t.source,otn.exec(t));return e.lastIndex=t.lastIndex,e}ha0.exports=ctn});var wa0=D((mga,va0)=>{u();p();var ba0=qj(),ya0=ba0?ba0.prototype:void 0,ga0=ya0?ya0.valueOf:void 0;function dtn(t){return ga0?Object(ga0.call(t)):{}}va0.exports=dtn});var xa0=D((gga,Ta0)=>{u();p();var ltn=Zj();function utn(t,e){var n=e?ltn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}Ta0.exports=utn});var _a0=D((Tga,Ea0)=>{u();p();var ptn=Zj(),htn=pa0(),mtn=ma0(),btn=wa0(),ytn=xa0(),gtn="[object Boolean]",vtn="[object Date]",wtn="[object Map]",Ttn="[object Number]",xtn="[object RegExp]",Etn="[object Set]",_tn="[object String]",Atn="[object Symbol]",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]";function Ntn(t,e,n){var a=t.constructor;switch(e){case Ctn:return ptn(t);case gtn:case vtn:return new a(+t);case Itn:return htn(t,n);case ktn:case Stn:case Rtn:case Mtn:case Btn:case Dtn:case Ptn:case Ltn:case Ftn:return ytn(t,n);case wtn:return new a;case Ttn:case _tn:return new a(t);case xtn:return mtn(t);case Etn:return new a;case Atn:return btn(t)}}Ea0.exports=Ntn});var Ia0=D((_ga,Ca0)=>{u();p();var Otn=Kx(),Aa0=Object.create,Utn=function(){function t(){}return function(e){if(!Otn(e))return{};if(Aa0)return Aa0(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();Ca0.exports=Utn});var Sa0=D((Iga,ka0)=>{u();p();var Htn=Ia0(),ztn=n6e(),Wtn=Vj();function qtn(t){return typeof t.constructor=="function"&&!Wtn(t)?Htn(ztn(t)):{}}ka0.exports=qtn});var Ma0=D((Rga,Ra0)=>{u();p();var jtn=Xj(),Gtn=$x(),Ktn="[object Map]";function Qtn(t){return Gtn(t)&&jtn(t)==Ktn}Ra0.exports=Qtn});var La0=D((Dga,Pa0)=>{u();p();var Vtn=Ma0(),Ytn=Kj(),Ba0=Qj(),Da0=Ba0&&Ba0.isMap,$tn=Da0?Ytn(Da0):Vtn;Pa0.exports=$tn});var Na0=D((Fga,Fa0)=>{u();p();var Jtn=Xj(),Xtn=$x(),Ztn="[object Set]";function enn(t){return Xtn(t)&&Jtn(t)==Ztn}Fa0.exports=enn});var za0=D((Uga,Ha0)=>{u();p();var tnn=Na0(),nnn=Kj(),Oa0=Qj(),Ua0=Oa0&&Oa0.isSet,ann=Ua0?nnn(Ua0):tnn;Ha0.exports=ann});var Ka0=D((Wga,Ga0)=>{u();p();var rnn=xt0(),fnn=_t0(),inn=Qce(),snn=pn0(),onn=wn0(),cnn=An0(),dnn=In0(),lnn=Pn0(),unn=Un0(),pnn=Wn0(),hnn=jn0(),mnn=Xj(),bnn=sa0(),ynn=_a0(),gnn=Sa0(),vnn=Gj(),wnn=Vce(),Tnn=La0(),xnn=Kx(),Enn=za0(),_nn=Yj(),Ann=$j(),Cnn=1,Inn=2,knn=4,Wa0="[object Arguments]",Snn="[object Array]",Rnn="[object Boolean]",Mnn="[object Date]",Bnn="[object Error]",qa0="[object Function]",Dnn="[object GeneratorFunction]",Pnn="[object Map]",Lnn="[object Number]",ja0="[object Object]",Fnn="[object RegExp]",Nnn="[object Set]",Onn="[object String]",Unn="[object Symbol]",Hnn="[object WeakMap]",znn="[object ArrayBuffer]",Wnn="[object DataView]",qnn="[object Float32Array]",jnn="[object Float64Array]",Gnn="[object Int8Array]",Knn="[object Int16Array]",Qnn="[object Int32Array]",Vnn="[object Uint8Array]",Ynn="[object Uint8ClampedArray]",$nn="[object Uint16Array]",Jnn="[object Uint32Array]",qr={};qr[Wa0]=qr[Snn]=qr[znn]=qr[Wnn]=qr[Rnn]=qr[Mnn]=qr[qnn]=qr[jnn]=qr[Gnn]=qr[Knn]=qr[Qnn]=qr[Pnn]=qr[Lnn]=qr[ja0]=qr[Fnn]=qr[Nnn]=qr[Onn]=qr[Unn]=qr[Vnn]=qr[Ynn]=qr[$nn]=qr[Jnn]=!0;qr[Bnn]=qr[qa0]=qr[Hnn]=!1;function eG(t,e,n,a,r,f){var i,s=e&Cnn,o=e&Inn,c=e&knn;if(n&&(i=r?n(t,a,r,f):n(t)),i!==void 0)return i;if(!xnn(t))return t;var d=vnn(t);if(d){if(i=bnn(t),!s)return dnn(t,i)}else{var l=mnn(t),h=l==qa0||l==Dnn;if(wnn(t))return cnn(t,s);if(l==ja0||l==Wa0||h&&!r){if(i=o||h?{}:gnn(t),!s)return o?unn(t,onn(i,t)):lnn(t,snn(i,t))}else{if(!qr[l])return r?t:{};i=ynn(t,l,s)}}f||(f=new rnn);var y=f.get(t);if(y)return y;f.set(t,i),Enn(t)?t.forEach(function(O){i.add(eG(O,e,n,O,t,f))}):Tnn(t)&&t.forEach(function(O,F){i.set(F,eG(O,e,n,F,t,f))});var v=c?o?hnn:pnn:o?Ann:_nn,k=d?void 0:v(t);return fnn(k||t,function(O,F){k&&(F=O,O=t[F]),inn(i,F,eG(O,e,n,F,t,f))}),i}Ga0.exports=eG});var Va0=D((Gga,Qa0)=>{u();p();var Xnn=Ka0(),Znn=1,ean=4;function tan(t){return Xnn(t,Znn|ean)}Qa0.exports=tan});var Xa0=D(jr=>{"use strict";u();p();var nan=jr&&jr.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(jr,"__esModule",{value:!0});jr.asL2Provider=jr.isL2Provider=jr.estimateTotalGasCost=jr.estimateL2GasCost=jr.estimateL1GasCost=jr.estimateL1Gas=jr.getL1GasPrice=void 0;var $a0=Nu(),d6e=Je(),Ya0=Cx(),aan=nan(Va0()),ran=e1e(),Y8=Wm(),Ja0=async(t,e)=>e.nonce!==void 0?(0,Y8.toNumber)(e.nonce):e.from!==void 0?(0,Y8.toProvider)(t).getTransactionCount(e.from):4294967295,l6e=t=>new d6e.Contract(Ya0.predeploys.OVM_GasPriceOracle,(0,Ya0.getContractInterface)("OVM_GasPriceOracle"),(0,Y8.toProvider)(t)),fan=async t=>l6e(t).l1BaseFee();jr.getL1GasPrice=fan;var ian=async(t,e)=>l6e(t).getL1GasUsed((0,$a0.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?d6e.BigNumber.from(e.nonce).toNumber():await Ja0(t,e)}));jr.estimateL1Gas=ian;var san=async(t,e)=>l6e(t).getL1Fee((0,$a0.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?d6e.BigNumber.from(e.nonce).toNumber():await Ja0(t,e)}));jr.estimateL1GasCost=san;var oan=async(t,e)=>{let n=(0,Y8.toProvider)(t),a=await n.getGasPrice(),r=await n.estimateGas(e);return a.mul(r)};jr.estimateL2GasCost=oan;var can=async(t,e)=>{let n=await(0,jr.estimateL1GasCost)(t,e),a=await(0,jr.estimateL2GasCost)(t,e);return n.add(a)};jr.estimateTotalGasCost=can;var dan=t=>!!t._isL2Provider;jr.isL2Provider=dan;var lan=t=>{if((0,jr.isL2Provider)(t))return t;let e=(0,aan.default)(t),n=e.formatter;(0,ran.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,Y8.toNumber)(l.l1BlockNumber):l.l1BlockNumber,c.l1Timestamp=l.l1Timestamp?(0,Y8.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,Y8.toBigNumber)(s.l1GasPrice),o.l1GasUsed=(0,Y8.toBigNumber)(s.l1GasUsed),o.l1Fee=(0,Y8.toBigNumber)(s.l1Fee),o.l1FeeScalar=parseFloat(s.l1FeeScalar),o},e.getL1GasPrice=async()=>(0,jr.getL1GasPrice)(e),e.estimateL1Gas=async s=>(0,jr.estimateL1Gas)(e,s),e.estimateL1GasCost=async s=>(0,jr.estimateL1GasCost)(e,s),e.estimateL2GasCost=async s=>(0,jr.estimateL2GasCost)(e,s),e.estimateTotalGasCost=async s=>(0,jr.estimateTotalGasCost)(e,s),e._isL2Provider=!0,e};jr.asL2Provider=lan});var Za0=D(Ml=>{"use strict";u();p();var uan=Ml&&Ml.__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]}),eM=Ml&&Ml.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&uan(e,t,n)};Object.defineProperty(Ml,"__esModule",{value:!0});eM(_x(),Ml);eM(Wm(),Ml);eM(Ye0(),Ml);eM(Hq(),Ml);eM(Xa0(),Ml)});async function Bl(t){t.originalProvider&&(t=t.originalProvider);let e=await nG(t);return e.maxFeePerGas&&e.maxPriorityFeePerGas?{maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas}:{gasPrice:await tE(t)}}async function nG(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:dt.utils.parseUnits("100","wei");if(a===qse.chainId||a===Kse.chainId)return{maxFeePerGas:null,maxPriorityFeePerGas:null,baseFee:null};if(a===MW.chainId||a===G7.chainId)n=await er0(a);else if(f)n=dt.BigNumber.from(f);else if(n=(await t.getFeeData()).maxPriorityFeePerGas,!n)return{maxFeePerGas:null,maxPriorityFeePerGas:null,baseFee:null};return n=pan(n),e=i.mul(2).add(n),{maxFeePerGas:e,maxPriorityFeePerGas:n,baseFee:i}}function pan(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 tE(t){let e=await t.getGasPrice(),n=dt.utils.parseUnits("300","gwei"),a=e.div(100).mul(10),r=e.add(a);return r.gt(n)?n:r}async function nM(t,e){let n=(await t.getNetwork()).chainId,a=dt.BigNumber.from(0);if(han(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 tE(t);return dt.BigNumber.from(r).mul(f).add(a)}function han(t){return t===SW.chainId||t===DW.chainId||t===RW.chainId||t===BW.chainId||t===Vse.chainId||t===Yse.chainId||t===JS.chainId||t===XS.chainId||t===204||t===5611}function man(t){switch(t){case E0.Polygon:return"https://gasstation.polygon.technology/v2";case E0.Mumbai:return"https://gasstation-testnet.polygon.technology/v2"}}function gan(t){switch(t){case E0.Polygon:return ban;case E0.Mumbai:return yan}}async function er0(t){let e=man(t);try{let a=(await(await fetch(e)).json()).fast.maxPriorityFee;if(a>0){let r=parseFloat(a).toFixed(9);return dt.utils.parseUnits(r,"gwei")}}catch{}return gan(t)}function Gr(t){async function e(){return(await t(...arguments)).execute()}return e.prepare=t,e}function be(t){async function e(){return(await t(...arguments)).execute()}return e.prepare=t,e}async function van(t,e,n,a,r){return r&&"biconomy"in r?wan(t,e,n,r):r&&"openzeppelin"in r?Tan(t,e,n,a,r):tr0(t,e,n,a,r)}async function tr0(t,e,n,a,r){d0(r&&"engine"in r,"calling engine gasless transaction without engine config in the SDK options");let f=await xan(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 wan(t,e,n,a){let r=await _an(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 Tan(t,e,n,a,r){d0(r&&"openzeppelin"in r,"calling openzeppelin gasless transaction without openzeppelin config in the SDK options");let f=await Ean(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 xan(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 ni(t.to,n,a),i=(await n.getNetwork()).chainId,s=await Vm(t.to,f.abi,n,{},a),o=new lt(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 Kc(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 sM(e,t.to,t.from,f,i,r.engine.domainSeparatorVersion),c={to:t.to,owner:s.owner,spender:s.spender,value:dt.BigNumber.from(s.value).toString(),nonce:dt.BigNumber.from(s.nonce).toString(),deadline:dt.BigNumber.from(s.deadline).toString()};return{method:"POST",body:JSON.stringify({type:"permit",request:c,signature:o})}}else{let f=r.engine.relayerForwarderAddress||p2[t.chainId]?.openzeppelinForwarder||await l9(n,a),i=(await Promise.resolve().then(()=>Ee(eR()))).default,s=new dt.Contract(f,i,n),o=await p9(s,"getNonce",[t.from]),c,d,l;r.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:f},d={ForwardRequest:iM},l={from:t.from,to:t.to,value:dt.BigNumber.from(0).toString(),gas:dt.BigNumber.from(t.gasLimit).toString(),nonce:dt.BigNumber.from(o).toString(),data:t.data,chainid:dt.BigNumber.from(t.chainId).toString()}):(c={name:r.engine.domainName,version:r.engine.domainVersion,chainId:t.chainId,verifyingContract:f},d={ForwardRequest:fM},l={from:t.from,to:t.to,value:dt.BigNumber.from(0).toString(),gas:dt.BigNumber.from(t.gasLimit).toString(),nonce:dt.BigNumber.from(o).toString(),data:t.data});let{signature:h}=await Kc(e,c,d,l);return{method:"POST",body:JSON.stringify({type:"forward",request:l,signature:h,forwarderAddress:f})}}}async function Ean(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?p2[t.chainId]?.openzeppelinForwarderEOA||await aG(n,a):p2[t.chainId]?.openzeppelinForwarder||await l9(n,a)),i=(await Promise.resolve().then(()=>Ee(eR()))).default,s=new dt.Contract(f,i,n),o=await p9(s,"getNonce",[t.from]),c,d,l;r.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:f},d={ForwardRequest:iM},l={from:t.from,to:t.to,value:dt.BigNumber.from(0).toString(),gas:dt.BigNumber.from(t.gasLimit).toString(),nonce:dt.BigNumber.from(o).toString(),data:t.data,chainid:dt.BigNumber.from(t.chainId).toString()}):(c={name:r.openzeppelin.domainName,version:r.openzeppelin.domainVersion,chainId:t.chainId,verifyingContract:f},d={ForwardRequest:fM},l={from:t.from,to:t.to,value:dt.BigNumber.from(0).toString(),gas:dt.BigNumber.from(t.gasLimit).toString(),nonce:dt.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 sM(e,t.to,t.from,v,k,r.openzeppelin.domainSeparatorVersion),{r:z,s:W,v:j}=dt.utils.splitSignature(F);l={to:t.to,owner:O.owner,spender:O.spender,value:dt.BigNumber.from(O.value).toString(),nonce:dt.BigNumber.from(O.nonce).toString(),deadline:dt.BigNumber.from(O.deadline).toString(),r:z,s:W,v:j},h=F}else{let{signature:v}=await Kc(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 _an(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 dt.Contract(h9(t.chainId,"biconomyForwarder"),u6e,n),f=0,i=await p9(r,"getNonce",[t.from,f]),s={from:t.from,to:t.to,token:dt.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=dt.utils.arrayify(dt.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,dt.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 dt,ban,yan,tG,Me,tM,Da=oe(()=>{"use strict";u();p();ln();dt=Ee(Je());Hc();Ex();ir();ban=dt.utils.parseUnits("31","gwei"),yan=dt.utils.parseUnits("1","gwei");tG=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){dt.BigNumber.isBigNumber(this.overrides.gasLimit)?this.overrides.gasLimit=dt.BigNumber.from(Math.floor(dt.BigNumber.from(this.overrides.gasLimit).toNumber()*e)):this.gasMultiple=e}async getGasPrice(){return tE(this.provider)}async getSignerAddress(){return this.signer.getAddress()}async getGasOverrides(){return V7()?{}:Bl(this.provider)}},Me=class t extends tG{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 ni(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 dt.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?dt.BigNumber.from(Math.floor(dt.BigNumber.from(e).toNumber()*this.gasMultiple)):e}catch(e){throw await this.simulate(),await this.transactionError(e)}}async estimateGasCost(){let e=await nM(this.provider,await this.populateTransaction());return{ether:dt.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 van(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=>dt.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(dt.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=dt.BigNumber.from(0);try{o=(await this.contract.estimateGas[this.method](...n)).mul(2)}catch{}return o.lt(1e5)&&(o=dt.BigNumber.from(5e5)),this.overrides.gasLimit&&dt.BigNumber.from(this.overrides.gasLimit).gt(o)&&(o=dt.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=dt.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 Om({actual:t,expected:e,message:n,operator:r,stackStartFn:a});throw s.generatedMessage=i,s}}Wr.match=function t(e,n,a){uJe(e,n,a,t,"match")};Wr.doesNotMatch=function t(e,n,a){uJe(e,n,a,t,"doesNotMatch")};function pJe(){for(var t=arguments.length,e=new Array(t),n=0;n{"use strict";u();p();var lKt=Ox&&Ox.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ox,"__esModule",{value:!0});Ox.setupProxyContract=void 0;var Pq=lKt(r9()),kR=Je(),{getAddress:Um}=kR.utils,uKt=async(t,e,{targetImplAddress:n,targetProxyOwnerAddress:a,postUpgradeCallCalldata:r})=>{let f=await t.connect(kR.ethers.constants.AddressZero).callStatic.admin(),i=await e.getAddress(),s=await t.connect(kR.ethers.constants.AddressZero).callStatic.implementation();if(console.log(`implementation currently set to ${s}`),Um(s)!==Um(n)){console.log("implementation not set to correct contract"),console.log(`Setting implementation to ${n}`),(0,Pq.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}`),Um(f)!==Um(a)){console.log("detected admin is not set correctly"),console.log(`Setting admin to ${a}`),(0,Pq.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(kR.ethers.constants.AddressZero).callStatic.implementation(),c=await t.connect(kR.ethers.constants.AddressZero).callStatic.admin();(0,Pq.default)(Um(c)===Um(a),"Something went wrong - admin not set correctly after transaction"),(0,Pq.default)(Um(o)===Um(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}`)};Ox.setupProxyContract=uKt});var j8=D(nd=>{"use strict";u();p();var pKt=nd&&nd.__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]}),Ux=nd&&nd.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&pKt(e,t,n)};Object.defineProperty(nd,"__esModule",{value:!0});Ux(pq(),nd);Ux(rYe(),nd);Ux(TYe(),nd);Ux(EYe(),nd);Ux(IYe(),nd);Ux(mJe(),nd)});var SR=D(Hx=>{"use strict";u();p();var ece=Hx&&Hx.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Hx,"__esModule",{value:!0});Hx.StandardBridgeAdapter=void 0;var Hm=Je(),J1e=kx(),zm=j8(),hKt=ece(n1e()),mKt=ece(a1e()),X1e=ece(r1e()),bJe=Cx(),i1=Wm(),Z1e=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 Hm.Contract((0,i1.toAddress)(n),X1e.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,i1.toAddress)(n),(0,i1.toAddress)(a),r,f?.l2GasLimit||2e5,"0x",f?.overrides||{}):this.l1Bridge.populateTransaction.depositERC20To((0,i1.toAddress)(n),(0,i1.toAddress)(a),(0,i1.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,i1.toAddress)(a),r,0,"0x",f?.overrides||{}):this.l2Bridge.populateTransaction.withdrawTo((0,i1.toAddress)(a),(0,i1.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 Hm.Contract((0,i1.toAddress)(e.l1Bridge),hKt.default.abi,this.messenger.l1Provider),this.l2Bridge=new Hm.Contract((0,i1.toAddress)(e.l2Bridge),mKt.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,zm.hexStringEquals)(r.args.l1Token,Hm.ethers.constants.AddressZero)&&!(0,zm.hexStringEquals)(r.args.l2Token,J1e.predeploys.OVM_ETH)).map(r=>({direction:bJe.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,zm.hexStringEquals)(r.args.l1Token,Hm.ethers.constants.AddressZero)&&!(0,zm.hexStringEquals)(r.args.l2Token,J1e.predeploys.OVM_ETH)).map(r=>({direction:bJe.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 Hm.Contract((0,i1.toAddress)(n),X1e.default.abi,this.messenger.l2Provider);if((0,zm.hexStringEquals)((0,i1.toAddress)(e),Hm.ethers.constants.AddressZero)||(0,zm.hexStringEquals)((0,i1.toAddress)(n),J1e.predeploys.OVM_ETH))return!1;let r=await a.l1Token();if(!(0,zm.hexStringEquals)(r,(0,i1.toAddress)(e)))return!1;let f=await a.l2Bridge();return!!(0,zm.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 Hm.Contract((0,i1.toAddress)(e),X1e.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))}};Hx.StandardBridgeAdapter=Z1e});var gJe=D(Fq=>{"use strict";u();p();Object.defineProperty(Fq,"__esModule",{value:!0});Fq.ETHBridgeAdapter=void 0;var tce=Je(),nce=kx(),Lq=j8(),yJe=Cx(),c2=Wm(),bKt=SR(),ace=class extends bKt.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,c2.omit)(r?.overrides||{},"value")),{value:a})):this.l1Bridge.populateTransaction.depositETHTo((0,c2.toAddress)(r.recipient),r?.l2GasLimit||2e5,"0x",Object.assign(Object.assign({},(0,c2.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,c2.toAddress)(n),a,0,"0x",Object.assign(Object.assign({},(0,c2.omit)(r?.overrides||{},"value")),{value:this.messenger.bedrock?a:0})):this.l2Bridge.populateTransaction.withdrawTo((0,c2.toAddress)(n),(0,c2.toAddress)(r.recipient),a,0,"0x",Object.assign(Object.assign({},(0,c2.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:yJe.MessageDirection.L1_TO_L2,from:r.args.from,to:r.args.to,l1Token:tce.ethers.constants.AddressZero,l2Token:nce.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,Lq.hexStringEquals)(r.args.l1Token,tce.ethers.constants.AddressZero)&&(0,Lq.hexStringEquals)(r.args.l2Token,nce.predeploys.OVM_ETH)).map(r=>({direction:yJe.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,Lq.hexStringEquals)((0,c2.toAddress)(e),tce.ethers.constants.AddressZero)&&(0,Lq.hexStringEquals)((0,c2.toAddress)(n),nce.predeploys.OVM_ETH)}};Fq.ETHBridgeAdapter=ace});var TJe=D(Nq=>{"use strict";u();p();Object.defineProperty(Nq,"__esModule",{value:!0});Nq.DAIBridgeAdapter=void 0;var yKt=Je(),vJe=j8(),wJe=Wm(),gKt=SR(),rce=class extends gKt.StandardBridgeAdapter{async supportsTokenPair(e,n){let a=new yKt.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,vJe.hexStringEquals)(r,(0,wJe.toAddress)(e)))return!1;let f=await a.l2Token();return!!(0,vJe.hexStringEquals)(f,(0,wJe.toAddress)(n))}};Nq.DAIBridgeAdapter=rce});var AJe=D(Oq=>{"use strict";u();p();Object.defineProperty(Oq,"__esModule",{value:!0});Oq.ECOBridgeAdapter=void 0;var xJe=Je(),EJe=j8(),_Je=Wm(),vKt=SR(),fce=class extends vKt.StandardBridgeAdapter{async supportsTokenPair(e,n){let a=new xJe.Contract(this.l1Bridge.address,[{inputs:[],name:"l1Eco",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],this.messenger.l1Provider),r=new xJe.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,EJe.hexStringEquals)(f,(0,_Je.toAddress)(e))||!(0,EJe.hexStringEquals)(i,(0,_Je.toAddress)(n)))}};Oq.ECOBridgeAdapter=fce});var Hq=D(d2=>{"use strict";u();p();var wKt=d2&&d2.__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]}),Uq=d2&&d2.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&wKt(e,t,n)};Object.defineProperty(d2,"__esModule",{value:!0});Uq(SR(),d2);Uq(gJe(),d2);Uq(TJe(),d2);Uq(AJe(),d2)});var sce=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 kl=j8(),RR=Je(),CJe={mainnet:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed",goerli:"0x5b47E1A08Ea6d985D6649300584e6722Ec4B1383",sepolia:"0x16Fc5058F25648194471939df75CF27A2fdC48BC"},TKt={mainnet:"0xdfe97868233d1aa22e815a266982f2cf17685a27",goerli:"0xE6Dfba0953616Bacab0c9A8ecb3a9BBa77FC15c0",sepolia:"0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F"},xKt={mainnet:"0xdE1FCfB0851916CA5101820A69b13a4E276bd81F",goerli:"0xa6f73589243a6A7a9023b1Fa0651b1d89c177111",sepolia:"0x9bFE9c5609311DF1c011c47642253B78a4f33F4B"},EKt={mainnet:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1",goerli:"0x636Af16bf2f682dD3109e60102b8E1A089FedAa8",sepolia:"0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1"},_Kt={mainnet:"0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1",goerli:"0x5086d1eEF304eb5284A0f6720f79403b4e9bE294",sepolia:"0x58Cc85b8D04EA49cC6DBd3CbFFd00B4B8D6cb3ef"},AKt={mainnet:RR.ethers.constants.AddressZero,goerli:RR.ethers.constants.AddressZero,sepolia:"0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1"},CKt={mainnet:"0xBe5dAb4A2e9cd0F27300dB4aB94BeE3A233AEB19",goerli:"0x9c945aC97Baf48cB784AbBB61399beB71aF7A378",sepolia:RR.ethers.constants.AddressZero},IKt={mainnet:"0x5E4e65926BA27467555EB562121fac00D24E9dD2",goerli:"0x607F755149cFEB3a14E1Dc3A4E2450Cde7dfb04D",sepolia:RR.ethers.constants.AddressZero},Aa=Cx(),zx=Hq();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:kl.predeploys.L2CrossDomainMessenger,L2ToL1MessagePasser:kl.predeploys.L2ToL1MessagePasser,L2StandardBridge:kl.predeploys.L2StandardBridge,OVM_L1BlockNumber:kl.predeploys.L1BlockNumber,OVM_L2ToL1MessagePasser:kl.predeploys.L2ToL1MessagePasser,OVM_DeployerWhitelist:kl.predeploys.DeployerWhitelist,OVM_ETH:kl.predeploys.LegacyERC20ETH,OVM_GasPriceOracle:kl.predeploys.GasPriceOracle,OVM_SequencerFeeVault:kl.predeploys.SequencerFeeVault,WETH:kl.predeploys.WETH9,BedrockMessagePasser:kl.predeploys.L2ToL1MessagePasser};var ice=t=>({AddressManager:xKt[t],L1CrossDomainMessenger:_Kt[t],L1StandardBridge:EKt[t],StateCommitmentChain:CKt[t],CanonicalTransactionChain:IKt[t],BondManager:RR.ethers.constants.AddressZero,OptimismPortal:CJe[t],L2OutputOracle:TKt[t],OptimismPortal2:CJe[t],DisputeGameFactory:AKt[t]});Rr.IGNORABLE_CONTRACTS=["OptimismPortal2","DisputeGameFactory"];Rr.CONTRACT_ADDRESSES={[Aa.L2ChainID.OPTIMISM]:{l1:ice("mainnet"),l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_GOERLI]:{l1:ice("goerli"),l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_SEPOLIA]:{l1:ice("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:zx.DAIBridgeAdapter,l1Bridge:"0x76943C0D61395d8F2edF9060e1533529cAe05dE6",l2Bridge:"0x8E01013243a96601a86eb3153F0d9Fa4fbFb6957"},BitBTC:{Adapter:zx.StandardBridgeAdapter,l1Bridge:"0xaBA2c5F108F7E820C049D5Af70B16ac266c8f128",l2Bridge:"0x158F513096923fF2d3aab2BcF4478536de6725e2"},DAI:{Adapter:zx.DAIBridgeAdapter,l1Bridge:"0x10E6593CDda8c58a1d0f14C5164B376352a55f2F",l2Bridge:"0x467194771dAe2967Aef3ECbEDD3Bf9a310C76C65"},ECO:{Adapter:zx.ECOBridgeAdapter,l1Bridge:"0xAa029BbdC947F5205fBa0F3C11b592420B58f824",l2Bridge:"0xAa029BbdC947F5205fBa0F3C11b592420B58f824"}},[Aa.L2ChainID.OPTIMISM_GOERLI]:{DAI:{Adapter:zx.DAIBridgeAdapter,l1Bridge:"0x05a388Db09C2D44ec0b00Ee188cD42365c42Df23",l2Bridge:"0x467194771dAe2967Aef3ECbEDD3Bf9a310C76C65"},ECO:{Adapter:zx.ECOBridgeAdapter,l1Bridge:"0x9A4464D6bFE006715382D39D183AAf66c952a3e0",l2Bridge:"0x6aA809bAeA2e4C057b3994127cB165119c6fc3B2"}}}});var SJe=D(Y1=>{"use strict";u();p();var co=Y1&&Y1.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Y1,"__esModule",{value:!0});Y1.getBridgeAdapters=Y1.getAllOEContracts=Y1.getOEContract=Y1.getContractInterfaceBedrock=void 0;var oce=kx(),kJe=Je(),kKt=co(n1e()),SKt=co(a1e()),RKt=co(r1e()),MKt=co(KKe()),BKt=co(QKe()),DKt=co(VKe()),PKt=co(YKe()),LKt=co($Ke()),FKt=co(JKe()),NKt=co(XKe()),OKt=co(ZKe()),UKt=co(eQe()),HKt=co(tQe()),zKt=co(nQe()),WKt=co(aQe()),qKt=co(rQe()),jKt=co(fQe()),GKt=t1e(),IJe=Hq(),qm=sce(),KKt={AddressManager:"Lib_AddressManager",OVM_L1BlockNumber:"iOVM_L1BlockNumber",WETH:"WETH9",BedrockMessagePasser:"L2ToL1MessagePasser"},QKt=t=>{let e="";switch(t){case"Lib_AddressManager":case"AddressManager":e="";break;case"L1CrossDomainMessenger":e=BKt.default;break;case"L1ERC721Bridge":e=NKt.default;break;case"L2OutputOracle":e=FKt.default;break;case"OptimismMintableERC20Factory":e=PKt.default;break;case"ProxyAdmin":e=LKt.default;break;case"L1StandardBridge":e=kKt.default;break;case"L2StandardBridge":e=SKt.default;break;case"OptimismPortal":e=MKt.default;break;case"L2CrossDomainMessenger":e=DKt.default;break;case"OptimismMintableERC20":e=RKt.default;break;case"L2ERC721Bridge":e=OKt.default;break;case"L1Block":e=UKt.default;break;case"L2ToL1MessagePasser":e=HKt.default;break;case"GasPriceOracle":e=zKt.default;break;case"DisputeGameFactory":e=WKt.default;break;case"OptimismPortal2":e=qKt.default;break;case"FaultDisputeGame":e=jKt.default;break}return new kJe.ethers.utils.Interface(e.abi)};Y1.getContractInterfaceBedrock=QKt;var VKt=(t,e,n={})=>{let a=qm.CONTRACT_ADDRESSES[e];if(a===void 0&&n.address===void 0){if(qm.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=KKt[t]||t,f;try{f=(0,Y1.getContractInterfaceBedrock)(r)}catch{f=(0,oce.getContractInterface)(r)}return new kJe.Contract((0,GKt.toAddress)(n.address||a.l1[t]||a.l2[t]),f,n.signerOrProvider)};Y1.getOEContract=VKt;var YKt=(t,e={})=>{var n,a,r,f;let i=qm.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:qm.DEFAULT_L2_CONTRACT_ADDRESSES},s={};for(let[c,d]of Object.entries(i.l1))s[c]=(0,Y1.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,Y1.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}};Y1.getAllOEContracts=YKt;var $Kt=(t,e,n)=>{var a,r,f,i,s,o;let c=Object.assign(Object.assign(Object.assign({},qm.CONTRACT_ADDRESSES[t]||!((r=(a=n?.contracts)===null||a===void 0?void 0:a.l1)===null||r===void 0)&&r.L1StandardBridge?{Standard:{Adapter:IJe.StandardBridgeAdapter,l1Bridge:((i=(f=n?.contracts)===null||f===void 0?void 0:f.l1)===null||i===void 0?void 0:i.L1StandardBridge)||qm.CONTRACT_ADDRESSES[t].l1.L1StandardBridge,l2Bridge:oce.predeploys.L2StandardBridge},ETH:{Adapter:IJe.ETHBridgeAdapter,l1Bridge:((o=(s=n?.contracts)===null||s===void 0?void 0:s.l1)===null||o===void 0?void 0:o.L1StandardBridge)||qm.CONTRACT_ADDRESSES[t].l1.L1StandardBridge,l2Bridge:oce.predeploys.L2StandardBridge}}:{}),qm.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};Y1.getBridgeAdapters=$Kt});var MJe=D(RJe=>{"use strict";u();p();Object.defineProperty(RJe,"__esModule",{value:!0})});var BJe=D(zq=>{"use strict";u();p();Object.defineProperty(zq,"__esModule",{value:!0});zq.omit=void 0;var JKt=(t,...e)=>{let n=Object.assign({},t);for(let a of e)delete n[a];return n};zq.omit=JKt});var cce=D((Apa,DJe)=>{u();p();DJe.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 ea=D((Wq,PJe)=>{u();p();(function(t,e){typeof Wq=="object"?PJe.exports=Wq=e():typeof define=="function"&&define.amd?define([],e):t.CryptoJS=e()})(Wq,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 Vd=="function")try{a=WU()}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 qq=="object"?LJe.exports=qq=e(ea()):typeof define=="function"&&define.amd?define(["./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.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),b=(z<<26|z>>>6)^(z<<21|z>>>11)^(z<<7|z>>>25),A=Q+b+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 jq=D((dce,FJe)=>{u();p();(function(t,e){typeof dce=="object"?FJe.exports=e():typeof define=="function"&&define.amd?define(e):t.treeify=e()})(dce,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 MR=D((Gq,NJe)=>{u();p();(function(t,e){typeof Gq=="object"?NJe.exports=Gq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Gq,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 Kq=="object"?OJe.exports=Kq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Kq,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 zJe=D((Qq,HJe)=>{u();p();(function(t,e){typeof Qq=="object"?HJe.exports=Qq=e(ea()):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=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 jm=D((Vq,WJe)=>{u();p();(function(t,e){typeof Vq=="object"?WJe.exports=Vq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Vq,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 jJe=D((Yq,qJe)=>{u();p();(function(t,e){typeof Yq=="object"?qJe.exports=Yq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Yq,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 Gm=D(($q,GJe)=>{u();p();(function(t,e){typeof $q=="object"?GJe.exports=$q=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})($q,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],b=y[v+11],A=y[v+12],P=y[v+13],L=y[v+14],E=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,b,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,E,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,b,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,E,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,b,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,E,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,E,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,b,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 lce=D((Jq,KJe)=>{u();p();(function(t,e){typeof Jq=="object"?KJe.exports=Jq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Jq,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 VJe=D((Xq,QJe)=>{u();p();(function(t,e,n){typeof Xq=="object"?QJe.exports=Xq=e(ea(),Wx()):typeof define=="function"&&define.amd?define(["./core","./sha256"],e):e(t.CryptoJS)})(Xq,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 uce=D((Zq,YJe)=>{u();p();(function(t,e,n){typeof Zq=="object"?YJe.exports=Zq=e(ea(),MR()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(t.CryptoJS)})(Zq,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,b=z.low,A=W.high,P=W.low,L=j.high,E=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=b,re=A,ie=P,ge=L,de=E,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,me=d[Ye-16],ye=me.high,_e=me.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,m0=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),K0=$e+m0,s0=h0+Ue+(K0>>>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+K0|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),b=z.low=b+Y,z.high=w+ue+(b>>>0>>0?1:0),P=W.low=P+ie,W.high=A+re+(P>>>0>>0?1:0),E=j.low=E+de,j.high=L+ge+(E>>>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 JJe=D((ej,$Je)=>{u();p();(function(t,e,n){typeof ej=="object"?$Je.exports=ej=e(ea(),MR(),uce()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],e):e(t.CryptoJS)})(ej,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 ZJe=D((tj,XJe)=>{u();p();(function(t,e,n){typeof tj=="object"?XJe.exports=tj=e(ea(),MR()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(t.CryptoJS)})(tj,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],b=w.high,A=w.low,K=N.high^(b<<1|A>>>31),G=N.low^(A<<1|b>>>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,E=Q.low,g=c[P];g<32?(K=L<>>32-g,G=E<>>32-g):(K=E<>>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 tXe=D((nj,eXe)=>{u();p();(function(t,e){typeof nj=="object"?eXe.exports=nj=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(nj,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,b=c.words,A=d.words,P,L,E,g,B,M,S,q,ee,U;M=P=G[0],S=L=G[1],q=E=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,E,g)+R[0]:V<32?J+=k(L,E,g)+R[1]:V<48?J+=O(L,E,g)+R[2]:V<64?J+=F(L,E,g)+R[3]:J+=z(L,E,g)+R[4],J=J|0,J=W(J,b[V]),J=J+B|0,P=B,B=g,g=W(E,10),E=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]+E+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 rj=D((aj,nXe)=>{u();p();(function(t,e){typeof aj=="object"?nXe.exports=aj=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(aj,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 fj=="object"?aXe.exports=fj=e(ea(),Wx(),rj()):typeof define=="function"&&define.amd?define(["./core","./sha256","./hmac"],e):e(t.CryptoJS)})(fj,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 ij=="object"?fXe.exports=ij=e(ea(),lce(),rj()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],e):e(t.CryptoJS)})(ij,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 sj=="object"?iXe.exports=sj=e(ea(),G8()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],e):e(t.CryptoJS)})(sj,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,b,A){return T(b).encrypt(N,w,b,A)},decrypt:function(w,b,A){return T(b).decrypt(N,w,b,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,b){var A=this._cipher,P=A.blockSize;N.call(this,w,b,P),A.encryptBlock(w,b),this._prevBlock=w.slice(b,b+P)}}),T.Decryptor=T.extend({processBlock:function(w,b){var A=this._cipher,P=A.blockSize,L=w.slice(b,b+P);A.decryptBlock(w,b),N.call(this,w,b,P),this._prevBlock=L}});function N(w,b,A){var P,L=this._iv;L?(P=L,this._iv=e):P=this._prevBlock;for(var E=0;E>>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,b=N.mode;this._xformMode==this._ENC_XFORM_MODE?T=b.createEncryptor:(T=b.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==T?this._mode.init(this,w&&w.words):(this._mode=T.call(b,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,b=T.salt;return b?N=f.create([1398893684,1701076831]).concat(b).concat(w):N=w,N.toString(c)},parse:function(T){var N,w=c.parse(T),b=w.words;return b[0]==1398893684&&b[1]==1701076831&&(N=f.create(b.slice(2,4)),b.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,b){b=this.cfg.extend(b);var A=T.createEncryptor(w,b),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:b.format})},decrypt:function(T,N,w,b){b=this.cfg.extend(b),N=this._parse(N,b.format);var A=T.createDecryptor(w,b).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,b,A){if(b||(b=f.random(64/8)),A)var P=l.create({keySize:N+w,hasher:A}).compute(T,b);else var P=l.create({keySize:N+w}).compute(T,b);var L=f.create(P.words.slice(N),w*4);return P.sigBytes=N*4,j.create({key:P,iv:L,salt:b})}},R=a.PasswordBasedCipher=X.extend({cfg:X.cfg.extend({kdf:G}),encrypt:function(T,N,w,b){b=this.cfg.extend(b);var A=b.kdf.execute(w,T.keySize,T.ivSize,b.salt,b.hasher);b.iv=A.iv;var P=X.encrypt.call(this,T,N,A.key,b);return P.mixIn(A),P},decrypt:function(T,N,w,b){b=this.cfg.extend(b),N=this._parse(N,b.format);var A=b.kdf.execute(w,T.keySize,T.ivSize,N.salt,b.hasher);b.iv=A.iv;var P=X.decrypt.call(this,T,N,A.key,b);return P}})}()})});var oXe=D((oj,sXe)=>{u();p();(function(t,e,n){typeof oj=="object"?sXe.exports=oj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(oj,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 cj=="object"?cXe.exports=cj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(cj,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 dj=="object"?lXe.exports=dj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(dj,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 lj=="object"?pXe.exports=lj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(lj,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 uj=="object"?mXe.exports=uj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(uj,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 gXe=D((pj,yXe)=>{u();p();(function(t,e,n){typeof pj=="object"?yXe.exports=pj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(pj,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 wXe=D((hj,vXe)=>{u();p();(function(t,e,n){typeof hj=="object"?vXe.exports=hj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(hj,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 xXe=D((mj,TXe)=>{u();p();(function(t,e,n){typeof mj=="object"?TXe.exports=mj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(mj,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 _Xe=D((bj,EXe)=>{u();p();(function(t,e,n){typeof bj=="object"?EXe.exports=bj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(bj,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 CXe=D((yj,AXe)=>{u();p();(function(t,e,n){typeof yj=="object"?AXe.exports=yj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(yj,function(t){return t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding})});var kXe=D((gj,IXe)=>{u();p();(function(t,e,n){typeof gj=="object"?IXe.exports=gj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(gj,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 RXe=D((vj,SXe)=>{u();p();(function(t,e,n){typeof vj=="object"?SXe.exports=vj=e(ea(),jm(),Gm(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(vj,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],b=4,A=1;A>>24]^Q[T>>>16&255]^V[N>>>8&255]^X[w&255]^W[b++],L=j[T>>>24]^Q[N>>>16&255]^V[w>>>8&255]^X[R&255]^W[b++],E=j[N>>>24]^Q[w>>>16&255]^V[R>>>8&255]^X[T&255]^W[b++],g=j[w>>>24]^Q[R>>>16&255]^V[T>>>8&255]^X[N&255]^W[b++];R=P,T=L,N=E,w=g}var P=(K[R>>>24]<<24|K[T>>>16&255]<<16|K[N>>>8&255]<<8|K[w&255])^W[b++],L=(K[T>>>24]<<24|K[N>>>16&255]<<16|K[w>>>8&255]<<8|K[R&255])^W[b++],E=(K[N>>>24]<<24|K[w>>>16&255]<<16|K[R>>>8&255]<<8|K[T&255])^W[b++],g=(K[w>>>24]<<24|K[R>>>16&255]<<16|K[T>>>8&255]<<8|K[N&255])^W[b++];F[z]=P,F[z+1]=L,F[z+2]=E,F[z+3]=g},keySize:256/32});e.AES=a._createHelper(O)}(),t.AES})});var BXe=D((wj,MXe)=>{u();p();(function(t,e,n){typeof wj=="object"?MXe.exports=wj=e(ea(),jm(),Gm(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(wj,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 PXe=D((Tj,DXe)=>{u();p();(function(t,e,n){typeof Tj=="object"?DXe.exports=Tj=e(ea(),jm(),Gm(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(Tj,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 FXe=D((xj,LXe)=>{u();p();(function(t,e,n){typeof xj=="object"?LXe.exports=xj=e(ea(),jm(),Gm(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(xj,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 OXe=D((Ej,NXe)=>{u();p();(function(t,e,n){typeof Ej=="object"?NXe.exports=Ej=e(ea(),jm(),Gm(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(Ej,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 HXe=D((_j,UXe)=>{u();p();(function(t,e,n){typeof _j=="object"?UXe.exports=_j=e(ea(),jm(),Gm(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(_j,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 Aj=="object"?zXe.exports=Aj=e(ea(),MR(),UJe(),zJe(),jm(),jJe(),Gm(),lce(),Wx(),VJe(),uce(),JJe(),ZJe(),tXe(),rj(),rXe(),G8(),es(),oXe(),dXe(),uXe(),hXe(),bXe(),gXe(),wXe(),xXe(),_Xe(),CXe(),kXe(),RXe(),BXe(),PXe(),FXe(),OXe(),HXe()):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)})(Aj,function(t){return t})});var BR=D(i9=>{"use strict";u();p();var XKt=i9&&i9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(i9,"__esModule",{value:!0});i9.Base=void 0;var lo=Qf(),pce=XKt(WXe()),Cj=class t{print(){t.print(this)}bufferIndexOf(e,n,a=!1){if(a)return this.binarySearch(e,n,lo.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 lo.Buffer.isBuffer(a)?a:this.isHexString(a)?lo.Buffer.from(a.replace("0x",""),"hex"):typeof a=="string"?lo.Buffer.from(a):typeof a=="bigint"?lo.Buffer.from(n.toString(16),"hex"):ArrayBuffer.isView(a)?lo.Buffer.from(a.buffer,a.byteOffset,a.byteLength):lo.Buffer.from(e(pce.default.enc.Hex.parse(n.toString("hex"))).toString(pce.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")}};i9.Base=Cj;i9.default=Cj});var qXe=D(s9=>{"use strict";u();p();var Ij=s9&&s9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(s9,"__esModule",{value:!0});s9.MerkleTree=void 0;var Is=Qf(),K8=Ij(cce()),hce=Ij(Wx()),ZKt=Ij(jq()),eQt=Ij(BR()),DR=class t extends eQt.default{constructor(e,n=hce.default,a={}){if(super(),this.duplicateOdd=!1,this.concatenator=Is.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(Is.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(Is.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([K8.default(c),K8.default(c)])),d=K8.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=[K8.default(f),K8.default(i)]:s=[f,i],this.sortPairs&&s.sort(Is.Buffer.compare);let o=this.hashFn(this.concatenator(s));this.isBitcoinTree&&(o=K8.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(Is.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?Is.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(Is.Buffer.from([0])),e}getHexLayersFlat(){return this.getLayersFlat().map(e=>this.bufferToHex(e))}getLayerCount(){return this.getLayers().length}getRoot(){return this.layers.length===0?Is.Buffer.from([]):this.layers[this.layers.length-1][0]||Is.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:Is.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=hce.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(Is.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(Is.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 jXe=o9&&o9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(o9,"__esModule",{value:!0});o9.MerkleMountainRange=void 0;var PR=Qf(),tQt=jXe(Wx()),nQt=jXe(BR()),LR=class extends nQt.default{constructor(e=tQt.default,n=[],a,r,f){super(),this.root=PR.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?PR.Buffer.alloc(0):this.peakBaggingFn?this.bufferify(this.peakBaggingFn(a,n)):this.hashFn(PR.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]}};o9.MerkleMountainRange=LR;typeof window<"u"&&(window.MerkleMountainRange=LR);o9.default=LR});var QXe=D(c9=>{"use strict";u();p();var KXe=c9&&c9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(c9,"__esModule",{value:!0});c9.IncrementalMerkleTree=void 0;var aQt=KXe(BR()),rQt=KXe(jq()),FR=class extends aQt.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(Sl,"__esModule",{value:!0});Sl.MerkleSumTree=Sl.ProofStep=Sl.Leaf=Sl.Bucket=void 0;var fQt=BR(),qx=class{constructor(e,n){this.size=BigInt(e),this.hashed=n,this.parent=null,this.left=null,this.right=null}};Sl.Bucket=qx;var mce=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 qx(BigInt(this.rng[1])-BigInt(this.rng[0]),e)}};Sl.Leaf=mce;var kj=class{constructor(e,n){this.bucket=e,this.right=n}};Sl.ProofStep=kj;var NR=class t extends fQt.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 qx(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 kj(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 qx(BigInt(f.size)+BigInt(s.bucket.size),i);return f.size===e.size&&f.hashed.toString("hex")===e.hashed.toString("hex")}};Sl.MerkleSumTree=NR;typeof window<"u"&&(window.MerkleSumTree=NR);Sl.default=NR});var $Xe=D(l2=>{"use strict";u();p();var iQt=l2&&l2.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(l2,"__esModule",{value:!0});l2.MerkleTree=void 0;var YXe=iQt(qXe());l2.MerkleTree=YXe.default;var sQt=GXe();Object.defineProperty(l2,"MerkleMountainRange",{enumerable:!0,get:function(){return sQt.MerkleMountainRange}});var oQt=QXe();Object.defineProperty(l2,"IncrementalMerkleTree",{enumerable:!0,get:function(){return oQt.IncrementalMerkleTree}});var cQt=VXe();Object.defineProperty(l2,"MerkleSumTree",{enumerable:!0,get:function(){return cQt.MerkleSumTree}});l2.default=YXe.default});var Sj=D(u2=>{"use strict";u();p();var dQt=u2&&u2.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(u2,"__esModule",{value:!0});u2.getLength=u2.decode=u2.encode=void 0;var lQt=dQt(Va());function XXe(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=yce(r),i.push(f.data),r=f.remainder;return{data:i,remainder:t.slice(o)}}}function ZXe(t){return t.slice(0,2)==="0x"}function hQt(t){return typeof t!="string"?t:ZXe(t)?t.slice(2):t}function gce(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 mQt(t){return t.length%2?"0"+t:t}function bQt(t){var e=gce(t);return _.Buffer.from(e,"hex")}function vce(t){if(!_.Buffer.isBuffer(t)){if(typeof t=="string")return ZXe(t)?_.Buffer.from(mQt(hQt(t)),"hex"):_.Buffer.from(t);if(typeof t=="number"||typeof t=="bigint")return t?bQt(t):_.Buffer.from([]);if(t==null)return _.Buffer.from([]);if(t instanceof Uint8Array)return _.Buffer.from(t);if(lQt.default.isBN(t))return _.Buffer.from(t.toArray());throw new Error("invalid type")}return t}});var tZe=D($1=>{"use strict";u();p();var yQt=$1&&$1.__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]}),gQt=$1&&$1.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),vQt=$1&&$1.__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)&&yQt(e,t,n);return gQt(e,t),e};Object.defineProperty($1,"__esModule",{value:!0});$1.makeStateTrieProof=$1.maybeAddProofNode=$1.makeMerkleTreeProof=void 0;var Rj=Je(),jx=j8(),wQt=$Xe(),eZe=vQt(Sj()),TQt=(t,e)=>{let n=Math.pow(2,Math.ceil(Math.log2(t.length))),a=[];for(let s=0;s(0,jx.fromHexString)(Rj.ethers.utils.keccak256(s))).getProof(r[e],e).map(s=>(0,jx.toHexString)(s.data))};$1.makeMerkleTreeProof=TQt;var xQt=(t,e)=>{let n=[...e],a=n[n.length-1],r=eZe.decode(a);if(r.length===17){for(let f of r)if(Array.isArray(f)){let i=(0,jx.toHexString)(f[0]).slice(3);t.endsWith(i)&&n.push((0,jx.toHexString)(eZe.encode(f)))}}return n};$1.maybeAddProofNode=xQt;var EQt=async(t,e,n,a)=>{let r=await t.send("eth_getProof",[n,[a],(0,jx.toRpcHexString)(e)]);return r.storageProof[0].proof=(0,$1.maybeAddProofNode)(Rj.ethers.utils.keccak256(a),r.storageProof[0].proof),{accountProof:r.accountProof,storageProof:r.storageProof[0].proof,storageValue:Rj.BigNumber.from(r.storageProof[0].value),storageRoot:r.storageHash}};$1.makeStateTrieProof=EQt});var nZe=D(Km=>{"use strict";u();p();Object.defineProperty(Km,"__esModule",{value:!0});Km.migratedWithdrawalGasLimit=Km.hashMessageHash=Km.hashLowLevelMessage=void 0;var _Qt=j8(),jc=Je(),{hexDataLength:AQt}=jc.utils,CQt=jc.BigNumber.from(2e5),IQt=jc.BigNumber.from(16),kQt=jc.BigNumber.from(64),SQt=jc.BigNumber.from(63),RQt=jc.BigNumber.from(4e4),MQt=jc.BigNumber.from(4e4),BQt=jc.BigNumber.from(5e3),DQt=t=>(0,_Qt.hashWithdrawal)(t.messageNonce,t.sender,t.target,t.value,t.minGasLimit,t.message);Km.hashLowLevelMessage=DQt;var PQt=t=>{let e=jc.ethers.utils.defaultAbiCoder.encode(["bytes32","uint256"],[t,jc.ethers.constants.HashZero]);return jc.ethers.utils.keccak256(e)};Km.hashMessageHash=PQt;var LQt=(t,e)=>{let n=jc.BigNumber.from(AQt(t)).mul(IQt),a;if(e===420)a=jc.BigNumber.from(2e5);else{let f=kQt.mul(1e6).div(SQt);a=CQt.add(f).add(RQt).add(MQt).add(BQt)}let r=n.add(a);return r.gt(25e6)&&(r=jc.BigNumber.from(25e6)),r};Km.migratedWithdrawalGasLimit=LQt});var Wm=D(P6=>{"use strict";u();p();var FQt=P6&&P6.__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]}),d9=P6&&P6.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&FQt(e,t,n)};Object.defineProperty(P6,"__esModule",{value:!0});d9(t1e(),P6);d9(SJe(),P6);d9(MJe(),P6);d9(BJe(),P6);d9(tZe(),P6);d9(sce(),P6);d9(nZe(),P6)});var OR=D((Aha,aZe)=>{u();p();var NQt="2.0.0",OQt=Number.MAX_SAFE_INTEGER||9007199254740991,UQt=16,HQt=250,zQt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];aZe.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:UQt,MAX_SAFE_BUILD_LENGTH:HQt,MAX_SAFE_INTEGER:OQt,RELEASE_TYPES:zQt,SEMVER_SPEC_VERSION:NQt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var UR=D((kha,rZe)=>{u();p();var WQt=typeof x=="object"&&x.env&&x.env.NODE_DEBUG&&/\bsemver\b/i.test(x.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};rZe.exports=WQt});var Gx=D((Q8,fZe)=>{u();p();var{MAX_SAFE_COMPONENT_LENGTH:wce,MAX_SAFE_BUILD_LENGTH:qQt,MAX_LENGTH:jQt}=OR(),GQt=UR();Q8=fZe.exports={};var KQt=Q8.re=[],QQt=Q8.safeRe=[],nt=Q8.src=[],at=Q8.t={},VQt=0,Tce="[a-zA-Z0-9-]",YQt=[["\\s",1],["\\d",jQt],[Tce,qQt]],$Qt=t=>{for(let[e,n]of YQt)t=t.split(`${e}*`).join(`${e}{0,${n}}`).split(`${e}+`).join(`${e}{1,${n}}`);return t},an=(t,e,n)=>{let a=$Qt(e),r=VQt++;GQt(t,r,e),at[t]=r,nt[r]=e,KQt[r]=new RegExp(e,n?"g":void 0),QQt[r]=new RegExp(a,n?"g":void 0)};an("NUMERICIDENTIFIER","0|[1-9]\\d*");an("NUMERICIDENTIFIERLOOSE","\\d+");an("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Tce}*`);an("MAINVERSION",`(${nt[at.NUMERICIDENTIFIER]})\\.(${nt[at.NUMERICIDENTIFIER]})\\.(${nt[at.NUMERICIDENTIFIER]})`);an("MAINVERSIONLOOSE",`(${nt[at.NUMERICIDENTIFIERLOOSE]})\\.(${nt[at.NUMERICIDENTIFIERLOOSE]})\\.(${nt[at.NUMERICIDENTIFIERLOOSE]})`);an("PRERELEASEIDENTIFIER",`(?:${nt[at.NUMERICIDENTIFIER]}|${nt[at.NONNUMERICIDENTIFIER]})`);an("PRERELEASEIDENTIFIERLOOSE",`(?:${nt[at.NUMERICIDENTIFIERLOOSE]}|${nt[at.NONNUMERICIDENTIFIER]})`);an("PRERELEASE",`(?:-(${nt[at.PRERELEASEIDENTIFIER]}(?:\\.${nt[at.PRERELEASEIDENTIFIER]})*))`);an("PRERELEASELOOSE",`(?:-?(${nt[at.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${nt[at.PRERELEASEIDENTIFIERLOOSE]})*))`);an("BUILDIDENTIFIER",`${Tce}+`);an("BUILD",`(?:\\+(${nt[at.BUILDIDENTIFIER]}(?:\\.${nt[at.BUILDIDENTIFIER]})*))`);an("FULLPLAIN",`v?${nt[at.MAINVERSION]}${nt[at.PRERELEASE]}?${nt[at.BUILD]}?`);an("FULL",`^${nt[at.FULLPLAIN]}$`);an("LOOSEPLAIN",`[v=\\s]*${nt[at.MAINVERSIONLOOSE]}${nt[at.PRERELEASELOOSE]}?${nt[at.BUILD]}?`);an("LOOSE",`^${nt[at.LOOSEPLAIN]}$`);an("GTLT","((?:<|>)?=?)");an("XRANGEIDENTIFIERLOOSE",`${nt[at.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);an("XRANGEIDENTIFIER",`${nt[at.NUMERICIDENTIFIER]}|x|X|\\*`);an("XRANGEPLAIN",`[v=\\s]*(${nt[at.XRANGEIDENTIFIER]})(?:\\.(${nt[at.XRANGEIDENTIFIER]})(?:\\.(${nt[at.XRANGEIDENTIFIER]})(?:${nt[at.PRERELEASE]})?${nt[at.BUILD]}?)?)?`);an("XRANGEPLAINLOOSE",`[v=\\s]*(${nt[at.XRANGEIDENTIFIERLOOSE]})(?:\\.(${nt[at.XRANGEIDENTIFIERLOOSE]})(?:\\.(${nt[at.XRANGEIDENTIFIERLOOSE]})(?:${nt[at.PRERELEASELOOSE]})?${nt[at.BUILD]}?)?)?`);an("XRANGE",`^${nt[at.GTLT]}\\s*${nt[at.XRANGEPLAIN]}$`);an("XRANGELOOSE",`^${nt[at.GTLT]}\\s*${nt[at.XRANGEPLAINLOOSE]}$`);an("COERCEPLAIN",`(^|[^\\d])(\\d{1,${wce}})(?:\\.(\\d{1,${wce}}))?(?:\\.(\\d{1,${wce}}))?`);an("COERCE",`${nt[at.COERCEPLAIN]}(?:$|[^\\d])`);an("COERCEFULL",nt[at.COERCEPLAIN]+`(?:${nt[at.PRERELEASE]})?(?:${nt[at.BUILD]})?(?:$|[^\\d])`);an("COERCERTL",nt[at.COERCE],!0);an("COERCERTLFULL",nt[at.COERCEFULL],!0);an("LONETILDE","(?:~>?)");an("TILDETRIM",`(\\s*)${nt[at.LONETILDE]}\\s+`,!0);Q8.tildeTrimReplace="$1~";an("TILDE",`^${nt[at.LONETILDE]}${nt[at.XRANGEPLAIN]}$`);an("TILDELOOSE",`^${nt[at.LONETILDE]}${nt[at.XRANGEPLAINLOOSE]}$`);an("LONECARET","(?:\\^)");an("CARETTRIM",`(\\s*)${nt[at.LONECARET]}\\s+`,!0);Q8.caretTrimReplace="$1^";an("CARET",`^${nt[at.LONECARET]}${nt[at.XRANGEPLAIN]}$`);an("CARETLOOSE",`^${nt[at.LONECARET]}${nt[at.XRANGEPLAINLOOSE]}$`);an("COMPARATORLOOSE",`^${nt[at.GTLT]}\\s*(${nt[at.LOOSEPLAIN]})$|^$`);an("COMPARATOR",`^${nt[at.GTLT]}\\s*(${nt[at.FULLPLAIN]})$|^$`);an("COMPARATORTRIM",`(\\s*)${nt[at.GTLT]}\\s*(${nt[at.LOOSEPLAIN]}|${nt[at.XRANGEPLAIN]})`,!0);Q8.comparatorTrimReplace="$1$2$3";an("HYPHENRANGE",`^\\s*(${nt[at.XRANGEPLAIN]})\\s+-\\s+(${nt[at.XRANGEPLAIN]})\\s*$`);an("HYPHENRANGELOOSE",`^\\s*(${nt[at.XRANGEPLAINLOOSE]})\\s+-\\s+(${nt[at.XRANGEPLAINLOOSE]})\\s*$`);an("STAR","(<|>)?=?\\s*\\*");an("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");an("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Mj=D((Dha,iZe)=>{u();p();var JQt=Object.freeze({loose:!0}),XQt=Object.freeze({}),ZQt=t=>t?typeof t!="object"?JQt:t:XQt;iZe.exports=ZQt});var xce=D((Fha,cZe)=>{u();p();var sZe=/^[0-9]+$/,oZe=(t,e)=>{let n=sZe.test(t),a=sZe.test(e);return n&&a&&(t=+t,e=+e),t===e?0:n&&!a?-1:a&&!n?1:toZe(e,t);cZe.exports={compareIdentifiers:oZe,rcompareIdentifiers:eVt}});var s1=D((Uha,pZe)=>{u();p();var Bj=UR(),{MAX_LENGTH:dZe,MAX_SAFE_INTEGER:Dj}=OR(),{safeRe:lZe,t:uZe}=Gx(),tVt=Mj(),{compareIdentifiers:Kx}=xce(),Ece=class t{constructor(e,n){if(n=tVt(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>dZe)throw new TypeError(`version is longer than ${dZe} characters`);Bj("SemVer",e,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let a=e.trim().match(n.loose?lZe[uZe.LOOSE]:lZe[uZe.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>Dj||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Dj||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Dj||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]),Kx(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}};pZe.exports=Ece});var l9=D((Wha,mZe)=>{u();p();var hZe=s1(),nVt=(t,e,n=!1)=>{if(t instanceof hZe)return t;try{return new hZe(t,e)}catch(a){if(!n)return null;throw a}};mZe.exports=nVt});var yZe=D((Gha,bZe)=>{u();p();var aVt=l9(),rVt=(t,e)=>{let n=aVt(t,e);return n?n.version:null};bZe.exports=rVt});var vZe=D((Vha,gZe)=>{u();p();var fVt=l9(),iVt=(t,e)=>{let n=fVt(t.trim().replace(/^[=v]+/,""),e);return n?n.version:null};gZe.exports=iVt});var xZe=D((Jha,TZe)=>{u();p();var wZe=s1(),sVt=(t,e,n,a,r)=>{typeof n=="string"&&(r=a,a=n,n=void 0);try{return new wZe(t instanceof wZe?t.version:t,n).inc(e,a,r).version}catch{return null}};TZe.exports=sVt});var AZe=D((e3a,_Ze)=>{u();p();var EZe=l9(),oVt=(t,e)=>{let n=EZe(t,null,!0),a=EZe(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"};_Ze.exports=oVt});var IZe=D((a3a,CZe)=>{u();p();var cVt=s1(),dVt=(t,e)=>new cVt(t,e).major;CZe.exports=dVt});var SZe=D((i3a,kZe)=>{u();p();var lVt=s1(),uVt=(t,e)=>new lVt(t,e).minor;kZe.exports=uVt});var MZe=D((c3a,RZe)=>{u();p();var pVt=s1(),hVt=(t,e)=>new pVt(t,e).patch;RZe.exports=hVt});var DZe=D((u3a,BZe)=>{u();p();var mVt=l9(),bVt=(t,e)=>{let n=mVt(t,e);return n&&n.prerelease.length?n.prerelease:null};BZe.exports=bVt});var ad=D((m3a,LZe)=>{u();p();var PZe=s1(),yVt=(t,e,n)=>new PZe(t,n).compare(new PZe(e,n));LZe.exports=yVt});var NZe=D((g3a,FZe)=>{u();p();var gVt=ad(),vVt=(t,e,n)=>gVt(e,t,n);FZe.exports=vVt});var UZe=D((T3a,OZe)=>{u();p();var wVt=ad(),TVt=(t,e)=>wVt(t,e,!0);OZe.exports=TVt});var Pj=D((_3a,zZe)=>{u();p();var HZe=s1(),xVt=(t,e,n)=>{let a=new HZe(t,n),r=new HZe(e,n);return a.compare(r)||a.compareBuild(r)};zZe.exports=xVt});var qZe=D((I3a,WZe)=>{u();p();var EVt=Pj(),_Vt=(t,e)=>t.sort((n,a)=>EVt(n,a,e));WZe.exports=_Vt});var GZe=D((R3a,jZe)=>{u();p();var AVt=Pj(),CVt=(t,e)=>t.sort((n,a)=>AVt(a,n,e));jZe.exports=CVt});var HR=D((D3a,KZe)=>{u();p();var IVt=ad(),kVt=(t,e,n)=>IVt(t,e,n)>0;KZe.exports=kVt});var Lj=D((F3a,QZe)=>{u();p();var SVt=ad(),RVt=(t,e,n)=>SVt(t,e,n)<0;QZe.exports=RVt});var _ce=D((U3a,VZe)=>{u();p();var MVt=ad(),BVt=(t,e,n)=>MVt(t,e,n)===0;VZe.exports=BVt});var Ace=D((W3a,YZe)=>{u();p();var DVt=ad(),PVt=(t,e,n)=>DVt(t,e,n)!==0;YZe.exports=PVt});var Fj=D((G3a,$Ze)=>{u();p();var LVt=ad(),FVt=(t,e,n)=>LVt(t,e,n)>=0;$Ze.exports=FVt});var Nj=D((V3a,JZe)=>{u();p();var NVt=ad(),OVt=(t,e,n)=>NVt(t,e,n)<=0;JZe.exports=OVt});var Cce=D((J3a,XZe)=>{u();p();var UVt=_ce(),HVt=Ace(),zVt=HR(),WVt=Fj(),qVt=Lj(),jVt=Nj(),GVt=(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 UVt(t,n,a);case"!=":return HVt(t,n,a);case">":return zVt(t,n,a);case">=":return WVt(t,n,a);case"<":return qVt(t,n,a);case"<=":return jVt(t,n,a);default:throw new TypeError(`Invalid operator: ${e}`)}};XZe.exports=GVt});var ee0=D((ema,ZZe)=>{u();p();var KVt=s1(),QVt=l9(),{safeRe:Oj,t:Uj}=Gx(),VVt=(t,e)=>{if(t instanceof KVt)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?Oj[Uj.COERCEFULL]:Oj[Uj.COERCE]);else{let o=e.includePrerelease?Oj[Uj.COERCERTLFULL]:Oj[Uj.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 QVt(`${a}.${r}.${f}${i}${s}`,e)};ZZe.exports=VVt});var ne0=D((ama,te0)=>{u();p();var Ice=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}};te0.exports=Ice});var rd=D((ima,ie0)=>{u();p();var kce=class t{constructor(e,n){if(n=$Vt(n),e instanceof t)return e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease?e:new t(e.raw,n);if(e instanceof Sce)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=>!re0(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&&aYt(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&&tYt)|(this.options.loose&&nYt))+":"+e,r=ae0.get(a);if(r)return r;let f=this.options.loose,i=f?Gc[J1.HYPHENRANGELOOSE]:Gc[J1.HYPHENRANGE];e=e.replace(i,pYt(this.options.includePrerelease)),nf("hyphen replace",e),e=e.replace(Gc[J1.COMPARATORTRIM],XVt),nf("comparator trim",e),e=e.replace(Gc[J1.TILDETRIM],ZVt),nf("tilde trim",e),e=e.replace(Gc[J1.CARETTRIM],eYt),nf("caret trim",e);let s=e.split(" ").map(l=>rYt(l,this.options)).join(" ").split(/\s+/).map(l=>uYt(l,this.options));f&&(s=s.filter(l=>(nf("loose invalid filter",l,this.options),!!l.match(Gc[J1.COMPARATORLOOSE])))),nf("range list",s);let o=new Map,c=s.map(l=>new Sce(l,this.options));for(let l of c){if(re0(l))return[l];o.set(l.value,l)}o.size>1&&o.has("")&&o.delete("");let d=[...o.values()];return ae0.set(a,d),d}intersects(e,n){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(a=>fe0(a,n)&&e.set.some(r=>fe0(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 JVt(e,this.options)}catch{return!1}for(let n=0;nt.value==="<0.0.0-0",aYt=t=>t.value==="",fe0=(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},rYt=(t,e)=>(nf("comp",t,e),t=sYt(t,e),nf("caret",t),t=fYt(t,e),nf("tildes",t),t=cYt(t,e),nf("xrange",t),t=lYt(t,e),nf("stars",t),t),X1=t=>!t||t.toLowerCase()==="x"||t==="*",fYt=(t,e)=>t.trim().split(/\s+/).map(n=>iYt(n,e)).join(" "),iYt=(t,e)=>{let n=e.loose?Gc[J1.TILDELOOSE]:Gc[J1.TILDE];return t.replace(n,(a,r,f,i,s)=>{nf("tilde",t,a,r,f,i,s);let o;return X1(r)?o="":X1(f)?o=`>=${r}.0.0 <${+r+1}.0.0-0`:X1(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})},sYt=(t,e)=>t.trim().split(/\s+/).map(n=>oYt(n,e)).join(" "),oYt=(t,e)=>{nf("caret",t,e);let n=e.loose?Gc[J1.CARETLOOSE]:Gc[J1.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 X1(f)?c="":X1(i)?c=`>=${f}.0.0${a} <${+f+1}.0.0-0`:X1(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})},cYt=(t,e)=>(nf("replaceXRanges",t,e),t.split(/\s+/).map(n=>dYt(n,e)).join(" ")),dYt=(t,e)=>{t=t.trim();let n=e.loose?Gc[J1.XRANGELOOSE]:Gc[J1.XRANGE];return t.replace(n,(a,r,f,i,s,o)=>{nf("xRange",t,a,r,f,i,s,o);let c=X1(f),d=c||X1(i),l=d||X1(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})},lYt=(t,e)=>(nf("replaceStars",t,e),t.trim().replace(Gc[J1.STAR],"")),uYt=(t,e)=>(nf("replaceGTE0",t,e),t.trim().replace(Gc[e.includePrerelease?J1.GTE0PRE:J1.GTE0],"")),pYt=t=>(e,n,a,r,f,i,s,o,c,d,l,h)=>(X1(a)?n="":X1(r)?n=`>=${a}.0.0${t?"-0":""}`:X1(f)?n=`>=${a}.${r}.0${t?"-0":""}`:i?n=`>=${n}`:n=`>=${n}${t?"-0":""}`,X1(c)?o="":X1(d)?o=`<${+c+1}.0.0-0`:X1(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()),hYt=(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 zR=D((cma,ue0)=>{u();p();var WR=Symbol("SemVer ANY"),Bce=class t{static get ANY(){return WR}constructor(e,n){if(n=se0(n),e instanceof t){if(e.loose===!!n.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Mce("comparator",e,n),this.options=n,this.loose=!!n.loose,this.parse(e),this.semver===WR?this.value="":this.value=this.operator+this.semver.version,Mce("comp",this)}parse(e){let n=this.options.loose?oe0[ce0.COMPARATORLOOSE]:oe0[ce0.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 de0(a[2],this.options.loose):this.semver=WR}toString(){return this.value}test(e){if(Mce("Comparator.test",e,this.options.loose),this.semver===WR||e===WR)return!0;if(typeof e=="string")try{e=new de0(e,this.options)}catch{return!1}return Rce(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 le0(e.value,n).test(this.value):e.operator===""?e.value===""?!0:new le0(this.value,n).test(e.semver):(n=se0(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("=")||Rce(this.semver,"<",e.semver,n)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Rce(this.semver,">",e.semver,n)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};ue0.exports=Bce;var se0=Mj(),{safeRe:oe0,t:ce0}=Gx(),Rce=Cce(),Mce=UR(),de0=s1(),le0=rd()});var V8=D((uma,pe0)=>{u();p();var mYt=rd(),bYt=(t,e,n)=>{try{e=new mYt(e,n)}catch{return!1}return e.test(t)};pe0.exports=bYt});var me0=D((mma,he0)=>{u();p();var yYt=rd(),gYt=(t,e)=>new yYt(t,e).set.map(n=>n.map(a=>a.value).join(" ").trim().split(" "));he0.exports=gYt});var ye0=D((gma,be0)=>{u();p();var vYt=s1(),wYt=rd(),TYt=(t,e,n)=>{let a=null,r=null,f=null;try{f=new wYt(e,n)}catch{return null}return t.forEach(i=>{f.test(i)&&(!a||r.compare(i)===-1)&&(a=i,r=new vYt(a,n))}),a};be0.exports=TYt});var ve0=D((Tma,ge0)=>{u();p();var xYt=s1(),EYt=rd(),_Yt=(t,e,n)=>{let a=null,r=null,f=null;try{f=new EYt(e,n)}catch{return null}return t.forEach(i=>{f.test(i)&&(!a||r.compare(i)===1)&&(a=i,r=new xYt(a,n))}),a};ge0.exports=_Yt});var xe0=D((_ma,Te0)=>{u();p();var Dce=s1(),AYt=rd(),we0=HR(),CYt=(t,e)=>{t=new AYt(t,e);let n=new Dce("0.0.0");if(t.test(n)||(n=new Dce("0.0.0-0"),t.test(n)))return n;n=null;for(let a=0;a{let s=new Dce(i.semver.version);switch(i.operator){case">":s.prerelease.length===0?s.patch++:s.prerelease.push(0),s.raw=s.format();case"":case">=":(!f||we0(s,f))&&(f=s);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),f&&(!n||we0(n,f))&&(n=f)}return n&&t.test(n)?n:null};Te0.exports=CYt});var _e0=D((Ima,Ee0)=>{u();p();var IYt=rd(),kYt=(t,e)=>{try{return new IYt(t,e).range||"*"}catch{return null}};Ee0.exports=kYt});var Hj=D((Rma,ke0)=>{u();p();var SYt=s1(),Ie0=zR(),{ANY:RYt}=Ie0,MYt=rd(),BYt=V8(),Ae0=HR(),Ce0=Lj(),DYt=Nj(),PYt=Fj(),LYt=(t,e,n,a)=>{t=new SYt(t,a),e=new MYt(e,a);let r,f,i,s,o;switch(n){case">":r=Ae0,f=DYt,i=Ce0,s=">",o=">=";break;case"<":r=Ce0,f=PYt,i=Ae0,s="<",o="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(BYt(t,e,a))return!1;for(let c=0;c{y.semver===RYt&&(y=new Ie0(">=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};ke0.exports=LYt});var Re0=D((Dma,Se0)=>{u();p();var FYt=Hj(),NYt=(t,e,n)=>FYt(t,e,">",n);Se0.exports=NYt});var Be0=D((Fma,Me0)=>{u();p();var OYt=Hj(),UYt=(t,e,n)=>OYt(t,e,"<",n);Me0.exports=UYt});var Le0=D((Uma,Pe0)=>{u();p();var De0=rd(),HYt=(t,e,n)=>(t=new De0(t,n),e=new De0(e,n),t.intersects(e,n));Pe0.exports=HYt});var Ne0=D((Wma,Fe0)=>{u();p();var zYt=V8(),WYt=ad();Fe0.exports=(t,e,n)=>{let a=[],r=null,f=null,i=t.sort((d,l)=>WYt(d,l,n));for(let d of i)zYt(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 Oe0=rd(),Lce=zR(),{ANY:Pce}=Lce,qR=V8(),Fce=ad(),qYt=(t,e,n={})=>{if(t===e)return!0;t=new Oe0(t,n),e=new Oe0(e,n);let a=!1;e:for(let r of t.set){for(let f of e.set){let i=GYt(r,f,n);if(a=a||i!==null,i)continue e}if(a)return!1}return!0},jYt=[new Lce(">=0.0.0-0")],Ue0=[new Lce(">=0.0.0")],GYt=(t,e,n)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Pce){if(e.length===1&&e[0].semver===Pce)return!0;n.includePrerelease?t=jYt:t=Ue0}if(e.length===1&&e[0].semver===Pce){if(n.includePrerelease)return!0;e=Ue0}let a=new Set,r,f;for(let y of t)y.operator===">"||y.operator===">="?r=He0(r,y,n):y.operator==="<"||y.operator==="<="?f=ze0(f,y,n):a.add(y.semver);if(a.size>1)return null;let i;if(r&&f){if(i=Fce(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&&!qR(y,String(r),n)||f&&!qR(y,String(f),n))return null;for(let v of e)if(!qR(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=He0(r,y,n),s===y&&s!==r)return!1}else if(r.operator===">="&&!qR(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=ze0(f,y,n),o===y&&o!==f)return!1}else if(f.operator==="<="&&!qR(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)},He0=(t,e,n)=>{if(!t)return e;let a=Fce(t.semver,e.semver,n);return a>0?t:a<0||e.operator===">"&&t.operator===">="?e:t},ze0=(t,e,n)=>{if(!t)return e;let a=Fce(t.semver,e.semver,n);return a<0?t:a>0||e.operator==="<"&&t.operator==="<="?e:t};We0.exports=qYt});var Oce=D((Vma,Ke0)=>{u();p();var Nce=Gx(),je0=OR(),KYt=s1(),Ge0=xce(),QYt=l9(),VYt=yZe(),YYt=vZe(),$Yt=xZe(),JYt=AZe(),XYt=IZe(),ZYt=SZe(),e$t=MZe(),t$t=DZe(),n$t=ad(),a$t=NZe(),r$t=UZe(),f$t=Pj(),i$t=qZe(),s$t=GZe(),o$t=HR(),c$t=Lj(),d$t=_ce(),l$t=Ace(),u$t=Fj(),p$t=Nj(),h$t=Cce(),m$t=ee0(),b$t=zR(),y$t=rd(),g$t=V8(),v$t=me0(),w$t=ye0(),T$t=ve0(),x$t=xe0(),E$t=_e0(),_$t=Hj(),A$t=Re0(),C$t=Be0(),I$t=Le0(),k$t=Ne0(),S$t=qe0();Ke0.exports={parse:QYt,valid:VYt,clean:YYt,inc:$Yt,diff:JYt,major:XYt,minor:ZYt,patch:e$t,prerelease:t$t,compare:n$t,rcompare:a$t,compareLoose:r$t,compareBuild:f$t,sort:i$t,rsort:s$t,gt:o$t,lt:c$t,eq:d$t,neq:l$t,gte:u$t,lte:p$t,cmp:h$t,coerce:m$t,Comparator:b$t,Range:y$t,satisfies:g$t,toComparators:v$t,maxSatisfying:w$t,minSatisfying:T$t,minVersion:x$t,validRange:E$t,outside:_$t,gtr:A$t,ltr:C$t,intersects:I$t,simplifyRange:k$t,subset:S$t,SemVer:KYt,re:Nce.re,src:Nce.src,tokens:Nce.t,SEMVER_SPEC_VERSION:je0.SEMVER_SPEC_VERSION,RELEASE_TYPES:je0.RELEASE_TYPES,compareIdentifiers:Ge0.compareIdentifiers,rcompareIdentifiers:Ge0.rcompareIdentifiers}});var Ve0=D(fd=>{"use strict";u();p();var R$t=fd&&fd.__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]}),M$t=fd&&fd.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),B$t=fd&&fd.__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)&&R$t(e,t,n);return M$t(e,t),e},D$t=fd&&fd.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(fd,"__esModule",{value:!0});fd.CrossChainMessenger=void 0;var zj=C3(),gi=Je(),ks=j8(),Wj=kx(),Qe0=B$t(Sj()),P$t=D$t(Oce()),Ot=Cx(),af=Wm(),Uce=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 gi.ethers.Contract(this.contracts.l1.L1CrossDomainMessenger.address,(0,Wj.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,ks.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 gi.ethers.Contract(this.contracts.l1.L1CrossDomainMessenger.address,(0,Wj.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(gi.ethers.constants.AddressZero,Wj.predeploys.OVM_ETH,a,await i())},withdrawETH:async(a,r)=>this.bridges.ETH.populateTransaction.withdraw(gi.ethers.constants.AddressZero,Wj.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(!gi.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 zj.Provider.isProvider(this.l1SignerOrProvider)?this.l1SignerOrProvider:this.l1SignerOrProvider.provider}get l2Provider(){return zj.Provider.isProvider(this.l2SignerOrProvider)?this.l2SignerOrProvider:this.l2SignerOrProvider.provider}get l1Signer(){if(zj.Provider.isProvider(this.l1SignerOrProvider))throw new Error("messenger has no L1 signer");return this.l1SignerOrProvider}get l2Signer(){if(zj.Provider.isProvider(this.l2SignerOrProvider))throw new Error("messenger has no L2 signer");return this.l2SignerOrProvider}async fpac(){return this.contracts.l1.OptimismPortal.address===gi.ethers.constants.AddressZero?!1:P$t.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=gi.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,ks.decodeVersionedNonce)(a.messageNonce);if(r.eq(1))return a;let f=gi.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:gi.BigNumber.from(0),messageNonce:(0,ks.encodeVersionedNonce)(gi.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,ks.decodeVersionedNonce)(a.messageNonce),f;r.eq(0)?f=await this.toBedrockCrossChainMessage(a,n):f=a;let i=(0,ks.encodeCrossDomainMessageV1)(f.messageNonce,f.sender,f.target,f.value,f.minGasLimit,f.message),s,o;if(r.eq(0)){let c=await(0,ks.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,ks.hashCrossDomainMessagev0)(f.target,f.sender,f.message,f.messageNonce),s=(0,ks.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,ks.hashCrossDomainMessagev0)(f.target,f.sender,f.message,f.messageNonce),s=(0,ks.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,ks.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,ks.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"?gi.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=gi.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]=gi.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,ks.toRpcHexString)(n),!1]),(0,af.makeStateTrieProof)(r,n,this.contracts.l2.OVM_L2ToL1MessagePasser.address,gi.ethers.constants.HashZero)]),o=gi.ethers.utils.solidityKeccak256(["bytes32","bytes32","bytes32","bytes32"],[gi.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]=gi.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 L$t(){this.__data__=[],this.size=0}Ye0.exports=L$t});var Hce=D((aba,Je0)=>{u();p();function F$t(t,e){return t===e||t!==t&&e!==e}Je0.exports=F$t});var jR=D((iba,Xe0)=>{u();p();var N$t=Hce();function O$t(t,e){for(var n=t.length;n--;)if(N$t(t[n][0],e))return n;return-1}Xe0.exports=O$t});var e00=D((cba,Ze0)=>{u();p();var U$t=jR(),H$t=Array.prototype,z$t=H$t.splice;function W$t(t){var e=this.__data__,n=U$t(e,t);if(n<0)return!1;var a=e.length-1;return n==a?e.pop():z$t.call(e,n,1),--this.size,!0}Ze0.exports=W$t});var n00=D((uba,t00)=>{u();p();var q$t=jR();function j$t(t){var e=this.__data__,n=q$t(e,t);return n<0?void 0:e[n][1]}t00.exports=j$t});var r00=D((mba,a00)=>{u();p();var G$t=jR();function K$t(t){return G$t(this.__data__,t)>-1}a00.exports=K$t});var i00=D((gba,f00)=>{u();p();var Q$t=jR();function V$t(t,e){var n=this.__data__,a=Q$t(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this}f00.exports=V$t});var GR=D((Tba,s00)=>{u();p();var Y$t=$e0(),$$t=e00(),J$t=n00(),X$t=r00(),Z$t=i00();function Qx(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e{u();p();var eJt=GR();function tJt(){this.__data__=new eJt,this.size=0}o00.exports=tJt});var l00=D((Iba,d00)=>{u();p();function nJt(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}d00.exports=nJt});var p00=D((Rba,u00)=>{u();p();function aJt(t){return this.__data__.get(t)}u00.exports=aJt});var m00=D((Dba,h00)=>{u();p();function rJt(t){return this.__data__.has(t)}h00.exports=rJt});var zce=D((Fba,b00)=>{u();p();var fJt=typeof global=="object"&&global&&global.Object===Object&&global;b00.exports=fJt});var Rl=D((Uba,y00)=>{u();p();var iJt=zce(),sJt=typeof self=="object"&&self&&self.Object===Object&&self,oJt=iJt||sJt||Function("return this")();y00.exports=oJt});var qj=D((Wba,g00)=>{u();p();var cJt=Rl(),dJt=cJt.Symbol;g00.exports=dJt});var x00=D((Gba,T00)=>{u();p();var v00=qj(),w00=Object.prototype,lJt=w00.hasOwnProperty,uJt=w00.toString,KR=v00?v00.toStringTag:void 0;function pJt(t){var e=lJt.call(t,KR),n=t[KR];try{t[KR]=void 0;var a=!0}catch{}var r=uJt.call(t);return a&&(e?t[KR]=n:delete t[KR]),r}T00.exports=pJt});var _00=D((Vba,E00)=>{u();p();var hJt=Object.prototype,mJt=hJt.toString;function bJt(t){return mJt.call(t)}E00.exports=bJt});var QR=D((Jba,I00)=>{u();p();var A00=qj(),yJt=x00(),gJt=_00(),vJt="[object Null]",wJt="[object Undefined]",C00=A00?A00.toStringTag:void 0;function TJt(t){return t==null?t===void 0?wJt:vJt:C00&&C00 in Object(t)?yJt(t):gJt(t)}I00.exports=TJt});var Vx=D((e4a,k00)=>{u();p();function xJt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}k00.exports=xJt});var Wce=D((a4a,S00)=>{u();p();var EJt=QR(),_Jt=Vx(),AJt="[object AsyncFunction]",CJt="[object Function]",IJt="[object GeneratorFunction]",kJt="[object Proxy]";function SJt(t){if(!_Jt(t))return!1;var e=EJt(t);return e==CJt||e==IJt||e==AJt||e==kJt}S00.exports=SJt});var M00=D((i4a,R00)=>{u();p();var RJt=Rl(),MJt=RJt["__core-js_shared__"];R00.exports=MJt});var P00=D((c4a,D00)=>{u();p();var qce=M00(),B00=function(){var t=/[^.]+$/.exec(qce&&qce.keys&&qce.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function BJt(t){return!!B00&&B00 in t}D00.exports=BJt});var jce=D((u4a,L00)=>{u();p();var DJt=Function.prototype,PJt=DJt.toString;function LJt(t){if(t!=null){try{return PJt.call(t)}catch{}try{return t+""}catch{}}return""}L00.exports=LJt});var N00=D((m4a,F00)=>{u();p();var FJt=Wce(),NJt=P00(),OJt=Vx(),UJt=jce(),HJt=/[\\^$.*+?()[\]{}|]/g,zJt=/^\[object .+?Constructor\]$/,WJt=Function.prototype,qJt=Object.prototype,jJt=WJt.toString,GJt=qJt.hasOwnProperty,KJt=RegExp("^"+jJt.call(GJt).replace(HJt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function QJt(t){if(!OJt(t)||NJt(t))return!1;var e=FJt(t)?KJt:zJt;return e.test(UJt(t))}F00.exports=QJt});var U00=D((g4a,O00)=>{u();p();function VJt(t,e){return t?.[e]}O00.exports=VJt});var Qm=D((T4a,H00)=>{u();p();var YJt=N00(),$Jt=U00();function JJt(t,e){var n=$Jt(t,e);return YJt(n)?n:void 0}H00.exports=JJt});var jj=D((_4a,z00)=>{u();p();var XJt=Qm(),ZJt=Rl(),eXt=XJt(ZJt,"Map");z00.exports=eXt});var VR=D((I4a,W00)=>{u();p();var tXt=Qm(),nXt=tXt(Object,"create");W00.exports=nXt});var G00=D((R4a,j00)=>{u();p();var q00=VR();function aXt(){this.__data__=q00?q00(null):{},this.size=0}j00.exports=aXt});var Q00=D((D4a,K00)=>{u();p();function rXt(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}K00.exports=rXt});var Y00=D((F4a,V00)=>{u();p();var fXt=VR(),iXt="__lodash_hash_undefined__",sXt=Object.prototype,oXt=sXt.hasOwnProperty;function cXt(t){var e=this.__data__;if(fXt){var n=e[t];return n===iXt?void 0:n}return oXt.call(e,t)?e[t]:void 0}V00.exports=cXt});var J00=D((U4a,$00)=>{u();p();var dXt=VR(),lXt=Object.prototype,uXt=lXt.hasOwnProperty;function pXt(t){var e=this.__data__;return dXt?e[t]!==void 0:uXt.call(e,t)}$00.exports=pXt});var Z00=D((W4a,X00)=>{u();p();var hXt=VR(),mXt="__lodash_hash_undefined__";function bXt(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=hXt&&e===void 0?mXt:e,this}X00.exports=bXt});var tt0=D((G4a,et0)=>{u();p();var yXt=G00(),gXt=Q00(),vXt=Y00(),wXt=J00(),TXt=Z00();function Yx(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e{u();p();var nt0=tt0(),xXt=GR(),EXt=jj();function _Xt(){this.size=0,this.__data__={hash:new nt0,map:new(EXt||xXt),string:new nt0}}at0.exports=_Xt});var it0=D((J4a,ft0)=>{u();p();function AXt(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}ft0.exports=AXt});var YR=D((eya,st0)=>{u();p();var CXt=it0();function IXt(t,e){var n=t.__data__;return CXt(e)?n[typeof e=="string"?"string":"hash"]:n.map}st0.exports=IXt});var ct0=D((aya,ot0)=>{u();p();var kXt=YR();function SXt(t){var e=kXt(this,t).delete(t);return this.size-=e?1:0,e}ot0.exports=SXt});var lt0=D((iya,dt0)=>{u();p();var RXt=YR();function MXt(t){return RXt(this,t).get(t)}dt0.exports=MXt});var pt0=D((cya,ut0)=>{u();p();var BXt=YR();function DXt(t){return BXt(this,t).has(t)}ut0.exports=DXt});var mt0=D((uya,ht0)=>{u();p();var PXt=YR();function LXt(t,e){var n=PXt(this,t),a=n.size;return n.set(t,e),this.size+=n.size==a?0:1,this}ht0.exports=LXt});var yt0=D((mya,bt0)=>{u();p();var FXt=rt0(),NXt=ct0(),OXt=lt0(),UXt=pt0(),HXt=mt0();function $x(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e{u();p();var zXt=GR(),WXt=jj(),qXt=yt0(),jXt=200;function GXt(t,e){var n=this.__data__;if(n instanceof zXt){var a=n.__data__;if(!WXt||a.length{u();p();var KXt=GR(),QXt=c00(),VXt=l00(),YXt=p00(),$Xt=m00(),JXt=vt0();function Jx(t){var e=this.__data__=new KXt(t);this.size=e.size}Jx.prototype.clear=QXt;Jx.prototype.delete=VXt;Jx.prototype.get=YXt;Jx.prototype.has=$Xt;Jx.prototype.set=JXt;wt0.exports=Jx});var Et0=D((_ya,xt0)=>{u();p();function XXt(t,e){for(var n=-1,a=t==null?0:t.length;++n{u();p();var ZXt=Qm(),eZt=function(){try{var t=ZXt(Object,"defineProperty");return t({},"",{}),t}catch{}}();_t0.exports=eZt});var Gce=D((Rya,It0)=>{u();p();var Ct0=At0();function tZt(t,e,n){e=="__proto__"&&Ct0?Ct0(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}It0.exports=tZt});var Kce=D((Dya,kt0)=>{u();p();var nZt=Gce(),aZt=Hce(),rZt=Object.prototype,fZt=rZt.hasOwnProperty;function iZt(t,e,n){var a=t[e];(!(fZt.call(t,e)&&aZt(a,n))||n===void 0&&!(e in t))&&nZt(t,e,n)}kt0.exports=iZt});var $R=D((Fya,St0)=>{u();p();var sZt=Kce(),oZt=Gce();function cZt(t,e,n,a){var r=!n;n||(n={});for(var f=-1,i=e.length;++f{u();p();function dZt(t,e){for(var n=-1,a=Array(t);++n{u();p();function lZt(t){return t!=null&&typeof t=="object"}Bt0.exports=lZt});var Pt0=D((Gya,Dt0)=>{u();p();var uZt=QR(),pZt=Xx(),hZt="[object Arguments]";function mZt(t){return pZt(t)&&uZt(t)==hZt}Dt0.exports=mZt});var Ot0=D((Vya,Nt0)=>{u();p();var Lt0=Pt0(),bZt=Xx(),Ft0=Object.prototype,yZt=Ft0.hasOwnProperty,gZt=Ft0.propertyIsEnumerable,vZt=Lt0(function(){return arguments}())?Lt0:function(t){return bZt(t)&&yZt.call(t,"callee")&&!gZt.call(t,"callee")};Nt0.exports=vZt});var Gj=D((Jya,Ut0)=>{u();p();var wZt=Array.isArray;Ut0.exports=wZt});var zt0=D((e7a,Ht0)=>{u();p();function TZt(){return!1}Ht0.exports=TZt});var Qce=D((JR,Zx)=>{u();p();var xZt=Rl(),EZt=zt0(),jt0=typeof JR=="object"&&JR&&!JR.nodeType&&JR,Wt0=jt0&&typeof Zx=="object"&&Zx&&!Zx.nodeType&&Zx,_Zt=Wt0&&Wt0.exports===jt0,qt0=_Zt?xZt.Buffer:void 0,AZt=qt0?qt0.isBuffer:void 0,CZt=AZt||EZt;Zx.exports=CZt});var Kt0=D((f7a,Gt0)=>{u();p();var IZt=9007199254740991,kZt=/^(?:0|[1-9]\d*)$/;function SZt(t,e){var n=typeof t;return e=e??IZt,!!e&&(n=="number"||n!="symbol"&&kZt.test(t))&&t>-1&&t%1==0&&t{u();p();var RZt=9007199254740991;function MZt(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=RZt}Qt0.exports=MZt});var Yt0=D((l7a,Vt0)=>{u();p();var BZt=QR(),DZt=Vce(),PZt=Xx(),LZt="[object Arguments]",FZt="[object Array]",NZt="[object Boolean]",OZt="[object Date]",UZt="[object Error]",HZt="[object Function]",zZt="[object Map]",WZt="[object Number]",qZt="[object Object]",jZt="[object RegExp]",GZt="[object Set]",KZt="[object String]",QZt="[object WeakMap]",VZt="[object ArrayBuffer]",YZt="[object DataView]",$Zt="[object Float32Array]",JZt="[object Float64Array]",XZt="[object Int8Array]",ZZt="[object Int16Array]",een="[object Int32Array]",ten="[object Uint8Array]",nen="[object Uint8ClampedArray]",aen="[object Uint16Array]",ren="[object Uint32Array]",rf={};rf[$Zt]=rf[JZt]=rf[XZt]=rf[ZZt]=rf[een]=rf[ten]=rf[nen]=rf[aen]=rf[ren]=!0;rf[LZt]=rf[FZt]=rf[VZt]=rf[NZt]=rf[YZt]=rf[OZt]=rf[UZt]=rf[HZt]=rf[zZt]=rf[WZt]=rf[qZt]=rf[jZt]=rf[GZt]=rf[KZt]=rf[QZt]=!1;function fen(t){return PZt(t)&&DZt(t.length)&&!!rf[BZt(t)]}Vt0.exports=fen});var Kj=D((h7a,$t0)=>{u();p();function ien(t){return function(e){return t(e)}}$t0.exports=ien});var Qj=D((XR,eE)=>{u();p();var sen=zce(),Jt0=typeof XR=="object"&&XR&&!XR.nodeType&&XR,ZR=Jt0&&typeof eE=="object"&&eE&&!eE.nodeType&&eE,oen=ZR&&ZR.exports===Jt0,Yce=oen&&sen.process,cen=function(){try{var t=ZR&&ZR.require&&ZR.require("util").types;return t||Yce&&Yce.binding&&Yce.binding("util")}catch{}}();eE.exports=cen});var tn0=D((v7a,en0)=>{u();p();var den=Yt0(),len=Kj(),Xt0=Qj(),Zt0=Xt0&&Xt0.isTypedArray,uen=Zt0?len(Zt0):den;en0.exports=uen});var $ce=D((x7a,nn0)=>{u();p();var pen=Mt0(),hen=Ot0(),men=Gj(),ben=Qce(),yen=Kt0(),gen=tn0(),ven=Object.prototype,wen=ven.hasOwnProperty;function Ten(t,e){var n=men(t),a=!n&&hen(t),r=!n&&!a&&ben(t),f=!n&&!a&&!r&&gen(t),i=n||a||r||f,s=i?pen(t.length,String):[],o=s.length;for(var c in t)(e||wen.call(t,c))&&!(i&&(c=="length"||r&&(c=="offset"||c=="parent")||f&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||yen(c,o)))&&s.push(c);return s}nn0.exports=Ten});var Vj=D((A7a,an0)=>{u();p();var xen=Object.prototype;function Een(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||xen;return t===n}an0.exports=Een});var Jce=D((k7a,rn0)=>{u();p();function _en(t,e){return function(n){return t(e(n))}}rn0.exports=_en});var in0=D((M7a,fn0)=>{u();p();var Aen=Jce(),Cen=Aen(Object.keys,Object);fn0.exports=Cen});var on0=D((P7a,sn0)=>{u();p();var Ien=Vj(),ken=in0(),Sen=Object.prototype,Ren=Sen.hasOwnProperty;function Men(t){if(!Ien(t))return ken(t);var e=[];for(var n in Object(t))Ren.call(t,n)&&n!="constructor"&&e.push(n);return e}sn0.exports=Men});var Xce=D((N7a,cn0)=>{u();p();var Ben=Wce(),Den=Vce();function Pen(t){return t!=null&&Den(t.length)&&!Ben(t)}cn0.exports=Pen});var Yj=D((H7a,dn0)=>{u();p();var Len=$ce(),Fen=on0(),Nen=Xce();function Oen(t){return Nen(t)?Len(t):Fen(t)}dn0.exports=Oen});var un0=D((q7a,ln0)=>{u();p();var Uen=$R(),Hen=Yj();function zen(t,e){return t&&Uen(e,Hen(e),t)}ln0.exports=zen});var hn0=D((K7a,pn0)=>{u();p();function Wen(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}pn0.exports=Wen});var bn0=D((Y7a,mn0)=>{u();p();var qen=Vx(),jen=Vj(),Gen=hn0(),Ken=Object.prototype,Qen=Ken.hasOwnProperty;function Ven(t){if(!qen(t))return Gen(t);var e=jen(t),n=[];for(var a in t)a=="constructor"&&(e||!Qen.call(t,a))||n.push(a);return n}mn0.exports=Ven});var $j=D((X7a,yn0)=>{u();p();var Yen=$ce(),$en=bn0(),Jen=Xce();function Xen(t){return Jen(t)?Yen(t,!0):$en(t)}yn0.exports=Xen});var vn0=D((t9a,gn0)=>{u();p();var Zen=$R(),e0n=$j();function t0n(t,e){return t&&Zen(e,e0n(e),t)}gn0.exports=t0n});var _n0=D((eM,tE)=>{u();p();var n0n=Rl(),En0=typeof eM=="object"&&eM&&!eM.nodeType&&eM,wn0=En0&&typeof tE=="object"&&tE&&!tE.nodeType&&tE,a0n=wn0&&wn0.exports===En0,Tn0=a0n?n0n.Buffer:void 0,xn0=Tn0?Tn0.allocUnsafe:void 0;function r0n(t,e){if(e)return t.slice();var n=t.length,a=xn0?xn0(n):new t.constructor(n);return t.copy(a),a}tE.exports=r0n});var Cn0=D((i9a,An0)=>{u();p();function f0n(t,e){var n=-1,a=t.length;for(e||(e=Array(a));++n{u();p();function i0n(t,e){for(var n=-1,a=t==null?0:t.length,r=0,f=[];++n{u();p();function s0n(){return[]}Sn0.exports=s0n});var Jj=D((m9a,Mn0)=>{u();p();var o0n=kn0(),c0n=Zce(),d0n=Object.prototype,l0n=d0n.propertyIsEnumerable,Rn0=Object.getOwnPropertySymbols,u0n=Rn0?function(t){return t==null?[]:(t=Object(t),o0n(Rn0(t),function(e){return l0n.call(t,e)}))}:c0n;Mn0.exports=u0n});var Dn0=D((g9a,Bn0)=>{u();p();var p0n=$R(),h0n=Jj();function m0n(t,e){return p0n(t,h0n(t),e)}Bn0.exports=m0n});var e6e=D((T9a,Pn0)=>{u();p();function b0n(t,e){for(var n=-1,a=e.length,r=t.length;++n{u();p();var y0n=Jce(),g0n=y0n(Object.getPrototypeOf,Object);Ln0.exports=g0n});var n6e=D((I9a,Fn0)=>{u();p();var v0n=e6e(),w0n=t6e(),T0n=Jj(),x0n=Zce(),E0n=Object.getOwnPropertySymbols,_0n=E0n?function(t){for(var e=[];t;)v0n(e,T0n(t)),t=w0n(t);return e}:x0n;Fn0.exports=_0n});var On0=D((R9a,Nn0)=>{u();p();var A0n=$R(),C0n=n6e();function I0n(t,e){return A0n(t,C0n(t),e)}Nn0.exports=I0n});var a6e=D((D9a,Un0)=>{u();p();var k0n=e6e(),S0n=Gj();function R0n(t,e,n){var a=e(t);return S0n(t)?a:k0n(a,n(t))}Un0.exports=R0n});var zn0=D((F9a,Hn0)=>{u();p();var M0n=a6e(),B0n=Jj(),D0n=Yj();function P0n(t){return M0n(t,D0n,B0n)}Hn0.exports=P0n});var qn0=D((U9a,Wn0)=>{u();p();var L0n=a6e(),F0n=n6e(),N0n=$j();function O0n(t){return L0n(t,N0n,F0n)}Wn0.exports=O0n});var Gn0=D((W9a,jn0)=>{u();p();var U0n=Qm(),H0n=Rl(),z0n=U0n(H0n,"DataView");jn0.exports=z0n});var Qn0=D((G9a,Kn0)=>{u();p();var W0n=Qm(),q0n=Rl(),j0n=W0n(q0n,"Promise");Kn0.exports=j0n});var Yn0=D((V9a,Vn0)=>{u();p();var G0n=Qm(),K0n=Rl(),Q0n=G0n(K0n,"Set");Vn0.exports=Q0n});var Jn0=D((J9a,$n0)=>{u();p();var V0n=Qm(),Y0n=Rl(),$0n=V0n(Y0n,"WeakMap");$n0.exports=$0n});var Xj=D((ega,ra0)=>{u();p();var r6e=Gn0(),f6e=jj(),i6e=Qn0(),s6e=Yn0(),o6e=Jn0(),aa0=QR(),nE=jce(),Xn0="[object Map]",J0n="[object Object]",Zn0="[object Promise]",ea0="[object Set]",ta0="[object WeakMap]",na0="[object DataView]",X0n=nE(r6e),Z0n=nE(f6e),etn=nE(i6e),ttn=nE(s6e),ntn=nE(o6e),u9=aa0;(r6e&&u9(new r6e(new ArrayBuffer(1)))!=na0||f6e&&u9(new f6e)!=Xn0||i6e&&u9(i6e.resolve())!=Zn0||s6e&&u9(new s6e)!=ea0||o6e&&u9(new o6e)!=ta0)&&(u9=function(t){var e=aa0(t),n=e==J0n?t.constructor:void 0,a=n?nE(n):"";if(a)switch(a){case X0n:return na0;case Z0n:return Xn0;case etn:return Zn0;case ttn:return ea0;case ntn:return ta0}return e});ra0.exports=u9});var ia0=D((aga,fa0)=>{u();p();var atn=Object.prototype,rtn=atn.hasOwnProperty;function ftn(t){var e=t.length,n=new t.constructor(e);return e&&typeof t[0]=="string"&&rtn.call(t,"index")&&(n.index=t.index,n.input=t.input),n}fa0.exports=ftn});var oa0=D((iga,sa0)=>{u();p();var itn=Rl(),stn=itn.Uint8Array;sa0.exports=stn});var Zj=D((cga,da0)=>{u();p();var ca0=oa0();function otn(t){var e=new t.constructor(t.byteLength);return new ca0(e).set(new ca0(t)),e}da0.exports=otn});var ua0=D((uga,la0)=>{u();p();var ctn=Zj();function dtn(t,e){var n=e?ctn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}la0.exports=dtn});var ha0=D((mga,pa0)=>{u();p();var ltn=/\w*$/;function utn(t){var e=new t.constructor(t.source,ltn.exec(t));return e.lastIndex=t.lastIndex,e}pa0.exports=utn});var va0=D((gga,ga0)=>{u();p();var ma0=qj(),ba0=ma0?ma0.prototype:void 0,ya0=ba0?ba0.valueOf:void 0;function ptn(t){return ya0?Object(ya0.call(t)):{}}ga0.exports=ptn});var Ta0=D((Tga,wa0)=>{u();p();var htn=Zj();function mtn(t,e){var n=e?htn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}wa0.exports=mtn});var Ea0=D((_ga,xa0)=>{u();p();var btn=Zj(),ytn=ua0(),gtn=ha0(),vtn=va0(),wtn=Ta0(),Ttn="[object Boolean]",xtn="[object Date]",Etn="[object Map]",_tn="[object Number]",Atn="[object RegExp]",Ctn="[object Set]",Itn="[object String]",ktn="[object Symbol]",Stn="[object ArrayBuffer]",Rtn="[object DataView]",Mtn="[object Float32Array]",Btn="[object Float64Array]",Dtn="[object Int8Array]",Ptn="[object Int16Array]",Ltn="[object Int32Array]",Ftn="[object Uint8Array]",Ntn="[object Uint8ClampedArray]",Otn="[object Uint16Array]",Utn="[object Uint32Array]";function Htn(t,e,n){var a=t.constructor;switch(e){case Stn:return btn(t);case Ttn:case xtn:return new a(+t);case Rtn:return ytn(t,n);case Mtn:case Btn:case Dtn:case Ptn:case Ltn:case Ftn:case Ntn:case Otn:case Utn:return wtn(t,n);case Etn:return new a;case _tn:case Itn:return new a(t);case Atn:return gtn(t);case Ctn:return new a;case ktn:return vtn(t)}}xa0.exports=Htn});var Ca0=D((Iga,Aa0)=>{u();p();var ztn=Vx(),_a0=Object.create,Wtn=function(){function t(){}return function(e){if(!ztn(e))return{};if(_a0)return _a0(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();Aa0.exports=Wtn});var ka0=D((Rga,Ia0)=>{u();p();var qtn=Ca0(),jtn=t6e(),Gtn=Vj();function Ktn(t){return typeof t.constructor=="function"&&!Gtn(t)?qtn(jtn(t)):{}}Ia0.exports=Ktn});var Ra0=D((Dga,Sa0)=>{u();p();var Qtn=Xj(),Vtn=Xx(),Ytn="[object Map]";function $tn(t){return Vtn(t)&&Qtn(t)==Ytn}Sa0.exports=$tn});var Pa0=D((Fga,Da0)=>{u();p();var Jtn=Ra0(),Xtn=Kj(),Ma0=Qj(),Ba0=Ma0&&Ma0.isMap,Ztn=Ba0?Xtn(Ba0):Jtn;Da0.exports=Ztn});var Fa0=D((Uga,La0)=>{u();p();var enn=Xj(),tnn=Xx(),nnn="[object Set]";function ann(t){return tnn(t)&&enn(t)==nnn}La0.exports=ann});var Ha0=D((Wga,Ua0)=>{u();p();var rnn=Fa0(),fnn=Kj(),Na0=Qj(),Oa0=Na0&&Na0.isSet,inn=Oa0?fnn(Oa0):rnn;Ua0.exports=inn});var Ga0=D((Gga,ja0)=>{u();p();var snn=Tt0(),onn=Et0(),cnn=Kce(),dnn=un0(),lnn=vn0(),unn=_n0(),pnn=Cn0(),hnn=Dn0(),mnn=On0(),bnn=zn0(),ynn=qn0(),gnn=Xj(),vnn=ia0(),wnn=Ea0(),Tnn=ka0(),xnn=Gj(),Enn=Qce(),_nn=Pa0(),Ann=Vx(),Cnn=Ha0(),Inn=Yj(),knn=$j(),Snn=1,Rnn=2,Mnn=4,za0="[object Arguments]",Bnn="[object Array]",Dnn="[object Boolean]",Pnn="[object Date]",Lnn="[object Error]",Wa0="[object Function]",Fnn="[object GeneratorFunction]",Nnn="[object Map]",Onn="[object Number]",qa0="[object Object]",Unn="[object RegExp]",Hnn="[object Set]",znn="[object String]",Wnn="[object Symbol]",qnn="[object WeakMap]",jnn="[object ArrayBuffer]",Gnn="[object DataView]",Knn="[object Float32Array]",Qnn="[object Float64Array]",Vnn="[object Int8Array]",Ynn="[object Int16Array]",$nn="[object Int32Array]",Jnn="[object Uint8Array]",Xnn="[object Uint8ClampedArray]",Znn="[object Uint16Array]",ean="[object Uint32Array]",qr={};qr[za0]=qr[Bnn]=qr[jnn]=qr[Gnn]=qr[Dnn]=qr[Pnn]=qr[Knn]=qr[Qnn]=qr[Vnn]=qr[Ynn]=qr[$nn]=qr[Nnn]=qr[Onn]=qr[qa0]=qr[Unn]=qr[Hnn]=qr[znn]=qr[Wnn]=qr[Jnn]=qr[Xnn]=qr[Znn]=qr[ean]=!0;qr[Lnn]=qr[Wa0]=qr[qnn]=!1;function eG(t,e,n,a,r,f){var i,s=e&Snn,o=e&Rnn,c=e&Mnn;if(n&&(i=r?n(t,a,r,f):n(t)),i!==void 0)return i;if(!Ann(t))return t;var d=xnn(t);if(d){if(i=vnn(t),!s)return pnn(t,i)}else{var l=gnn(t),h=l==Wa0||l==Fnn;if(Enn(t))return unn(t,s);if(l==qa0||l==za0||h&&!r){if(i=o||h?{}:Tnn(t),!s)return o?mnn(t,lnn(i,t)):hnn(t,dnn(i,t))}else{if(!qr[l])return r?t:{};i=wnn(t,l,s)}}f||(f=new snn);var y=f.get(t);if(y)return y;f.set(t,i),Cnn(t)?t.forEach(function(O){i.add(eG(O,e,n,O,t,f))}):_nn(t)&&t.forEach(function(O,F){i.set(F,eG(O,e,n,F,t,f))});var v=c?o?ynn:bnn:o?knn:Inn,k=d?void 0:v(t);return onn(k||t,function(O,F){k&&(F=O,O=t[F]),cnn(i,F,eG(O,e,n,F,t,f))}),i}ja0.exports=eG});var Qa0=D((Vga,Ka0)=>{u();p();var tan=Ga0(),nan=1,aan=4;function ran(t){return tan(t,nan|aan)}Ka0.exports=ran});var Ja0=D(jr=>{"use strict";u();p();var fan=jr&&jr.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(jr,"__esModule",{value:!0});jr.asL2Provider=jr.isL2Provider=jr.estimateTotalGasCost=jr.estimateL2GasCost=jr.estimateL1GasCost=jr.estimateL1Gas=jr.getL1GasPrice=void 0;var Ya0=Nu(),c6e=Je(),Va0=kx(),ian=fan(Qa0()),san=Zoe(),Y8=Wm(),$a0=async(t,e)=>e.nonce!==void 0?(0,Y8.toNumber)(e.nonce):e.from!==void 0?(0,Y8.toProvider)(t).getTransactionCount(e.from):4294967295,d6e=t=>new c6e.Contract(Va0.predeploys.OVM_GasPriceOracle,(0,Va0.getContractInterface)("OVM_GasPriceOracle"),(0,Y8.toProvider)(t)),oan=async t=>d6e(t).l1BaseFee();jr.getL1GasPrice=oan;var can=async(t,e)=>d6e(t).getL1GasUsed((0,Ya0.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?c6e.BigNumber.from(e.nonce).toNumber():await $a0(t,e)}));jr.estimateL1Gas=can;var dan=async(t,e)=>d6e(t).getL1Fee((0,Ya0.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?c6e.BigNumber.from(e.nonce).toNumber():await $a0(t,e)}));jr.estimateL1GasCost=dan;var lan=async(t,e)=>{let n=(0,Y8.toProvider)(t),a=await n.getGasPrice(),r=await n.estimateGas(e);return a.mul(r)};jr.estimateL2GasCost=lan;var uan=async(t,e)=>{let n=await(0,jr.estimateL1GasCost)(t,e),a=await(0,jr.estimateL2GasCost)(t,e);return n.add(a)};jr.estimateTotalGasCost=uan;var pan=t=>!!t._isL2Provider;jr.isL2Provider=pan;var han=t=>{if((0,jr.isL2Provider)(t))return t;let e=(0,ian.default)(t),n=e.formatter;(0,san.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,Y8.toNumber)(l.l1BlockNumber):l.l1BlockNumber,c.l1Timestamp=l.l1Timestamp?(0,Y8.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,Y8.toBigNumber)(s.l1GasPrice),o.l1GasUsed=(0,Y8.toBigNumber)(s.l1GasUsed),o.l1Fee=(0,Y8.toBigNumber)(s.l1Fee),o.l1FeeScalar=parseFloat(s.l1FeeScalar),o},e.getL1GasPrice=async()=>(0,jr.getL1GasPrice)(e),e.estimateL1Gas=async s=>(0,jr.estimateL1Gas)(e,s),e.estimateL1GasCost=async s=>(0,jr.estimateL1GasCost)(e,s),e.estimateL2GasCost=async s=>(0,jr.estimateL2GasCost)(e,s),e.estimateTotalGasCost=async s=>(0,jr.estimateTotalGasCost)(e,s),e._isL2Provider=!0,e};jr.asL2Provider=han});var Xa0=D(Ml=>{"use strict";u();p();var man=Ml&&Ml.__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]}),tM=Ml&&Ml.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&man(e,t,n)};Object.defineProperty(Ml,"__esModule",{value:!0});tM(Cx(),Ml);tM(Wm(),Ml);tM(Ve0(),Ml);tM(Hq(),Ml);tM(Ja0(),Ml)});async function Bl(t){t.originalProvider&&(t=t.originalProvider);let e=await nG(t);return e.maxFeePerGas&&e.maxPriorityFeePerGas?{maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas}:{gasPrice:await aE(t)}}async function nG(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:dt.utils.parseUnits("100","wei");if(a===jse.chainId||a===Gse.chainId)return{maxFeePerGas:null,maxPriorityFeePerGas:null,baseFee:null};if(a===MW.chainId||a===Q7.chainId)n=await Za0(a);else if(f)n=dt.BigNumber.from(f);else if(n=(await t.getFeeData()).maxPriorityFeePerGas,!n)return{maxFeePerGas:null,maxPriorityFeePerGas:null,baseFee:null};return n=ban(n),e=i.mul(2).add(n),{maxFeePerGas:e,maxPriorityFeePerGas:n,baseFee:i}}function ban(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 aE(t){let e=await t.getGasPrice(),n=dt.utils.parseUnits("300","gwei"),a=e.div(100).mul(10),r=e.add(a);return r.gt(n)?n:r}async function aM(t,e){let n=(await t.getNetwork()).chainId,a=dt.BigNumber.from(0);if(yan(n)){let{asL2Provider:s}=await Promise.resolve().then(()=>Ee(Xa0()));a=await s(t).estimateL1GasCost(e)}let r=e.gasLimit||await t.estimateGas(e),f=await aE(t);return dt.BigNumber.from(r).mul(f).add(a)}function yan(t){return t===SW.chainId||t===DW.chainId||t===RW.chainId||t===BW.chainId||t===Qse.chainId||t===Vse.chainId||t===XS.chainId||t===ZS.chainId||t===204||t===5611}function gan(t){switch(t){case E0.Polygon:return"https://gasstation.polygon.technology/v2";case E0.Mumbai:return"https://gasstation-testnet.polygon.technology/v2"}}function Tan(t){switch(t){case E0.Polygon:return van;case E0.Mumbai:return wan}}async function Za0(t){let e=gan(t);try{let a=(await(await fetch(e)).json()).fast.maxPriorityFee;if(a>0){let r=parseFloat(a).toFixed(9);return dt.utils.parseUnits(r,"gwei")}}catch{}return Tan(t)}function Gr(t){async function e(){return(await t(...arguments)).execute()}return e.prepare=t,e}function be(t){async function e(){return(await t(...arguments)).execute()}return e.prepare=t,e}async function xan(t,e,n,a,r){return r&&"biconomy"in r?Ean(t,e,n,r):r&&"openzeppelin"in r?_an(t,e,n,a,r):er0(t,e,n,a,r)}async function er0(t,e,n,a,r){d0(r&&"engine"in r,"calling engine gasless transaction without engine config in the SDK options");let f=await Aan(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 Ean(t,e,n,a){let r=await Ian(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 _an(t,e,n,a,r){d0(r&&"openzeppelin"in r,"calling openzeppelin gasless transaction without openzeppelin config in the SDK options");let f=await Can(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 Aan(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 ni(t.to,n,a),i=(await n.getNetwork()).chainId,s=await Vm(t.to,f.abi,n,{},a),o=new lt(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 Kc(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 oM(e,t.to,t.from,f,i,r.engine.domainSeparatorVersion),c={to:t.to,owner:s.owner,spender:s.spender,value:dt.BigNumber.from(s.value).toString(),nonce:dt.BigNumber.from(s.nonce).toString(),deadline:dt.BigNumber.from(s.deadline).toString()};return{method:"POST",body:JSON.stringify({type:"permit",request:c,signature:o})}}else{let f=r.engine.relayerForwarderAddress||p2[t.chainId]?.openzeppelinForwarder||await p9(n,a),i=(await Promise.resolve().then(()=>Ee(tR()))).default,s=new dt.Contract(f,i,n),o=await m9(s,"getNonce",[t.from]),c,d,l;r.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:f},d={ForwardRequest:sM},l={from:t.from,to:t.to,value:dt.BigNumber.from(0).toString(),gas:dt.BigNumber.from(t.gasLimit).toString(),nonce:dt.BigNumber.from(o).toString(),data:t.data,chainid:dt.BigNumber.from(t.chainId).toString()}):(c={name:r.engine.domainName,version:r.engine.domainVersion,chainId:t.chainId,verifyingContract:f},d={ForwardRequest:iM},l={from:t.from,to:t.to,value:dt.BigNumber.from(0).toString(),gas:dt.BigNumber.from(t.gasLimit).toString(),nonce:dt.BigNumber.from(o).toString(),data:t.data});let{signature:h}=await Kc(e,c,d,l);return{method:"POST",body:JSON.stringify({type:"forward",request:l,signature:h,forwarderAddress:f})}}}async function Can(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?p2[t.chainId]?.openzeppelinForwarderEOA||await aG(n,a):p2[t.chainId]?.openzeppelinForwarder||await p9(n,a)),i=(await Promise.resolve().then(()=>Ee(tR()))).default,s=new dt.Contract(f,i,n),o=await m9(s,"getNonce",[t.from]),c,d,l;r.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:f},d={ForwardRequest:sM},l={from:t.from,to:t.to,value:dt.BigNumber.from(0).toString(),gas:dt.BigNumber.from(t.gasLimit).toString(),nonce:dt.BigNumber.from(o).toString(),data:t.data,chainid:dt.BigNumber.from(t.chainId).toString()}):(c={name:r.openzeppelin.domainName,version:r.openzeppelin.domainVersion,chainId:t.chainId,verifyingContract:f},d={ForwardRequest:iM},l={from:t.from,to:t.to,value:dt.BigNumber.from(0).toString(),gas:dt.BigNumber.from(t.gasLimit).toString(),nonce:dt.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 oM(e,t.to,t.from,v,k,r.openzeppelin.domainSeparatorVersion),{r:z,s:W,v:j}=dt.utils.splitSignature(F);l={to:t.to,owner:O.owner,spender:O.spender,value:dt.BigNumber.from(O.value).toString(),nonce:dt.BigNumber.from(O.nonce).toString(),deadline:dt.BigNumber.from(O.deadline).toString(),r:z,s:W,v:j},h=F}else{let{signature:v}=await Kc(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 Ian(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 dt.Contract(b9(t.chainId,"biconomyForwarder"),l6e,n),f=0,i=await m9(r,"getNonce",[t.from,f]),s={from:t.from,to:t.to,token:dt.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=dt.utils.arrayify(dt.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,dt.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 dt,van,wan,tG,Me,nM,Da=oe(()=>{"use strict";u();p();ln();dt=Ee(Je());Hc();Ax();ir();van=dt.utils.parseUnits("31","gwei"),wan=dt.utils.parseUnits("1","gwei");tG=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){dt.BigNumber.isBigNumber(this.overrides.gasLimit)?this.overrides.gasLimit=dt.BigNumber.from(Math.floor(dt.BigNumber.from(this.overrides.gasLimit).toNumber()*e)):this.gasMultiple=e}async getGasPrice(){return aE(this.provider)}async getSignerAddress(){return this.signer.getAddress()}async getGasOverrides(){return $7()?{}:Bl(this.provider)}},Me=class t extends tG{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 ni(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 dt.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?dt.BigNumber.from(Math.floor(dt.BigNumber.from(e).toNumber()*this.gasMultiple)):e}catch(e){throw await this.simulate(),await this.transactionError(e)}}async estimateGasCost(){let e=await aM(this.provider,await this.populateTransaction());return{ether:dt.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 xan(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=>dt.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(dt.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=dt.BigNumber.from(0);try{o=(await this.contract.estimateGas[this.method](...n)).mul(2)}catch{}return o.lt(1e5)&&(o=dt.BigNumber.from(5e5)),this.overrides.gasLimit&&dt.BigNumber.from(this.overrides.gasLimit).gt(o)&&(o=dt.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=dt.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=rM(e),k;try{let O=(await n.getNetwork()).chainId,F=aM(this.contract.address,O);F?.name&&(k=F.name)}catch{}return new u9({reason:v,from:r,to:f,method:h,data:i,network:a,rpcUrl:o,value:s,hash:y,contractName:k},e)}},tM=class extends tG{constructor(e){super(e),this.factory=e.factory,this.events=e.events}encode(){return dt.utils.hexlify(dt.utils.concat([this.factory.bytecode,this.factory.interface.encodeDeploy(this.args)]))}getTarget(){return dt.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 nM(this.provider,a);return{ether:dt.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=dt.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=dt.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=fM(e),k;try{let O=(await n.getNetwork()).chainId,F=rM(this.contract.address,O);F?.name&&(k=F.name)}catch{}return new h9({reason:v,from:r,to:f,method:h,data:i,network:a,rpcUrl:o,value:s,hash:y,contractName:k},e)}},nM=class extends tG{constructor(e){super(e),this.factory=e.factory,this.events=e.events}encode(){return dt.utils.hexlify(dt.utils.concat([this.factory.bytecode,this.factory.interface.encodeDeploy(this.args)]))}getTarget(){return dt.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 aM(this.provider,a);return{ether:dt.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=dt.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=dt.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=rM(e);return new u9({reason:h,from:r,method:d,data:f,network:a,rpcUrl:s,value:i,hash:l},e)}}});function k0(t,e){return aE(t.abi,e,t.extensions)}function wr(t,e){return t in e.readContract.functions}function Aan(t){return p6e.utils.formatEther(t)}var p6e,Wn,Rn,va,ja,Rf=oe(()=>{"use strict";u();p();ln();Da();p6e=Ee(Je());Ex();Wn=class{constructor(e,n,a){ae(this,"featureName",oM.name);ae(this,"set",be(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 Z1(oM)}));ae(this,"update",be(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 ni(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(o1.Transaction,e)}removeTransactionListener(e){this.contractWrapper.off(o1.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",[]):$oe((await this.metadata.get()).app_uri||"",this.storage.getGatewayUrls())}}});function mf(t){return t.toLowerCase()===bf||t.toLowerCase()===Ym.constants.AddressZero}async function Pi(t,e){if(mf(e)){let n=await t.getNetwork(),a=rG(n.chainId);return{name:a.name,symbol:a.symbol,decimals:a.decimals}}else{let n=(await Promise.resolve().then(()=>Ee(poe()))).default,a=new Ym.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 Pi(t,e);return{...a,value:Ym.BigNumber.from(n),displayValue:Ym.utils.formatUnits(n,a.decimals)}}var Ym,it,or=oe(()=>{"use strict";u();p();Ym=Ee(Je());ln();it=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,ec=oe(()=>{"use strict";u();p();Pa=class{constructor(e){this.contractWrapper=e}overrideNextTransaction(e){this.contractWrapper.withTransactionOverride(e)}}});async function c1(t,e,n,a){if(mf(n))a.value=e;else{let r=(await Promise.resolve().then(()=>Ee(K1()))).default,f=t.getSigner(),i=t.getProvider(),s=new lt(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 h6e,nr0,m6e,Dl,m9,fG,h2=oe(()=>{"use strict";u();p();ln();Jd();or();h6e=fe.object({}).catchall(fe.union([b6e,fe.unknown()])),nr0=fe.union([fe.array(fe.array(h6e)).transform(t=>t.flat()),fe.array(h6e),h6e]).optional().nullable(),m6e=fe.object({name:fe.union([fe.string(),fe.number()]).optional().nullable(),description:fe.string().nullable().optional().nullable(),image:$m.nullable().optional(),animation_url:$m.optional().nullable()}),Dl=m6e.extend({external_url:$m.nullable().optional(),background_color:ar0.optional().nullable(),properties:nr0,attributes:nr0}).catchall(fe.union([b6e,fe.unknown()])),m9=fe.union([Dl,fe.string()]),fG=Dl.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 rE=D((Iva,Can)=>{Can.exports=[{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"}]});async function cM(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 fG.parse({...i,id:Qc.BigNumber.from(t).toString(),uri:e})}let a=e.replace("{id}",Qc.utils.hexZeroPad(Qc.BigNumber.from(t).toHexString(),32).slice(2)),r;try{r=await n.downloadJSON(a)}catch{let i=e.replace("{id}",Qc.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=fE}}return fG.parse({...r,id:Qc.BigNumber.from(t).toString(),uri:e})}async function $8(t,e,n,a){let r,f=(await Promise.resolve().then(()=>Ee(rE()))).default,i=new Qc.Contract(t,f,e),[s,o]=await Promise.all([i.supportsInterface(Jm),i.supportsInterface(Xm)]);if(s){let c=(await Promise.resolve().then(()=>Ee(yoe()))).default;r=await new Qc.Contract(t,c,e).tokenURI(n)}else if(o){let c=(await Promise.resolve().then(()=>Ee(voe()))).default;r=await new Qc.Contract(t,c,e).uri(n)}else throw Error("Contract must implement ERC 1155 or ERC 721.");return r?cM(n,r,a):fG.parse({...fE,id:Qc.BigNumber.from(n).toString(),uri:""})}async function J8(t,e){return typeof t=="string"?t:await e.upload(Dl.parse(t))}async function Pl(t,e,n,a){if(Ian(t))return t;if(kan(t))return await e.uploadBatch(t.map(f=>Dl.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 Zm(t){let e=t[0].substring(0,t[0].lastIndexOf("/"));for(let n=0;ntypeof e!="string")===void 0}function kan(t){return t.find(e=>typeof e!="object")===void 0}var Qc,Jm,Xm,fE,Li,Ll=oe(()=>{"use strict";u();p();h2();Qc=Ee(Je()),Jm=Qc.utils.arrayify("0x80ac58cd"),Xm=Qc.utils.arrayify("0xd9b67a26"),fE={name:"Failed to load NFT metadata"};Li=100});async function ta(t,e,n){let a=await Pi(t,n);return rr0.utils.parseUnits(ff.parse(e),a.decimals)}var rr0,id=oe(()=>{"use strict";u();p();ln();rr0=Ee(Je());or()});function Ran(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 Man(t){let e=new Uint8Array(t.length/2);for(let n=0;nn.toString(16).padStart(2,"0")).join("")}function Dan(t){let e=Array.from(t).map(n=>n.toString(16).padStart(2,"0")).join("");return BigInt(`0x${e}`)}var ca,m2,fr0,y6e,San,iE,ir0=oe(()=>{"use strict";u();p();ca=Ee(Qf()),m2=Ee(dce()),fr0=Ee(jq()),y6e=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=Man(n.toString("hex")),f=e(r),i=Ban(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")}},San=y6e;iE=class t extends San{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,m2.default)(d),(0,m2.default)(d)])),l=(0,m2.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,m2.default)(i),(0,m2.default)(s)]:o=[i,s],this.sortPairs&&o.sort(ca.Buffer.compare);let c=this.hashFn(this.concatenator(o));this.isBitcoinTree&&(c=(0,m2.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();g6e=Ee(Je());Jd();ln();b9=fe.union([fe.date().transform(t=>g6e.BigNumber.from(Math.floor(t.getTime()/1e3))),fe.number().transform(t=>g6e.BigNumber.from(t))]),dM=b9.default(new Date(0)),eb=b9.default(new Date(Date.now()+1e3*60*60*24*365*10))});function sE(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 oE(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 sd(t,e){return t==="unlimited"?rn.constants.MaxUint256:rn.utils.parseUnits(t,e)}async function sr0(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=>pM.parseAsync(f)));for(let f of r)a.push(...f);return a}async function uM(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 lM.fromShardedMerkleTreeInfo(s,r)).getProof(t,a,f);let o=await hG.parseAsync(s);if(e===o.merkleRoot)return o.claims.find(c=>c.address.toLowerCase()===t.toLowerCase())||null}return null}function cE(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 dE(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 v6e(t,e,n,a,r){let f=t.getSigner(),i=t.getProvider(),s=(await Promise.resolve().then(()=>Ee(K1()))).default,o=new lt(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 sG(t,e,n,a,r,f,i,s,o){let c=sd(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 uM(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 ta(f.getProvider(),O.price,O.currencyAddress||rn.constants.AddressZero),h=O.currencyAddress||rn.constants.AddressZero;else if(o===X8.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)&&(mf(k)?y.value=rn.BigNumber.from(v).mul(e).div(rn.utils.parseUnits("1",r)):s&&await v6e(f,k,v,e,r)),{overrides:y,proofs:d,maxClaimable:c,price:v,currencyAddress:k,priceInProof:l,currencyAddressInProof:h}}async function Uan(t,e,n,a,r){let f=await sr0(t),i=f.map(c=>c.address);if(new Set(i).size{if(s.snapshot&&s.snapshot.length>0){let o=await Uan(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 Wan(t,e,n,a){let r=t.currencyAddress===rn.constants.AddressZero?bf:t.currencyAddress,f=sd(t.maxClaimableSupply,e),i=sd(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 ta(n,t.price,r),currency:r,merkleRoot:t.merkleRootHash.toString(),waitTimeInSecondsBetweenClaims:t.waitInSeconds||0,metadata:s}}async function oG(t,e,n,a,r){let{inputsWithSnapshots:f,snapshotInfos:i}=await zan(t,e,n,a,r),s=await Oan.parseAsync(f),o=(await Promise.all(s.map(c=>Wan(c,e,n,a)))).sort((c,d)=>Han(c.startTimestamp,d.startTimestamp));return{snapshotInfos:i,sortedConditions:o}}async function qan(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 lM.fromUri(a,n))?.getAllEntries()||null;{let f=await hG.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 iG(t,e){return t.toString()===rn.constants.MaxUint256.toString()?"unlimited":rn.utils.formatUnits(t,e)}async function lE(t,e,n,a,r,f){let i=await Ja(n,t.currency,t.pricePerToken),s=iG(t.maxClaimableSupply,e),o=iG(t.maxClaimablePerWallet,e),c=iG(rn.BigNumber.from(t.maxClaimableSupply).sub(t.supplyClaimed),e),d=iG(t.supplyClaimed,e),l;return t.metadata&&(l=await r.downloadJSON(t.metadata)),or0.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 qan(t.merkleRoot,a,r):void 0,metadata:l})}async function cG(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 w6e.parseAsync({...n[t],price:f,...e}),s=await or0.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 dG(t){if(t===void 0){let e=_.Buffer.alloc(16);return Yv({},e),rn.utils.hexlify(rn.utils.toUtf8Bytes(e.toString("hex")))}else return rn.utils.hexlify(t)}var rn,Pan,X8,lM,Lan,Fan,Nan,w6e,Oan,or0,qn,lG,T6e,cr0,x6e,dr0,jan,lr0,ur0,pr0,hr0,mr0,br0,yr0,gr0,g9=oe(()=>{"use strict";u();p();rn=Ee(Je());ln();or();id();ir0();Fl();Jd();h2();I0e();Pan=2,X8=function(t){return t[t.V1=1]="V1",t[t.V2=2]="V2",t}({}),lM=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 X8.V1:return rn.utils.solidityKeccak256(["address","uint256"],[e.address,sd(e.maxClaimable,n)]);case X8.V2:return rn.utils.solidityKeccak256(["address","uint256","uint256","address"],[e.address,sd(e.maxClaimable,n),sd(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 Pi(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]:Pan,s=await sr0(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 iE(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 iE(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 iE(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 pG.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),[]}}};Lan=fe.object({name:fe.string(),symbol:fe.string(),decimals:fe.number()}),Fan=Lan.extend({value:ts,displayValue:fe.string()}),Nan=fe.object({name:fe.string().optional()}).catchall(fe.unknown()),w6e=fe.object({startTime:dM,currencyAddress:fe.string().default(bf),price:ff.default(0),maxClaimableSupply:y9,maxClaimablePerWallet:y9,waitInSeconds:Xa.default(0),merkleRootHash:vr0.default(rn.utils.hexZeroPad([0],32)),snapshot:fe.optional(pM).nullable(),metadata:Nan.optional()}),Oan=fe.array(w6e),or0=w6e.extend({availableSupply:y9,currentMintSupply:y9,currencyMetadata:Fan.default({value:rn.BigNumber.from("0"),displayValue:"0",symbol:"",decimals:18,name:""}),price:ts,waitInSeconds:ts,startTime:ts.transform(t=>new Date(t.toNumber()*1e3)),snapshot:pM.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}({});lG=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:uG.default(bf),mintStartTime:dM,mintEndTime:eb,uid:fe.string().optional().transform(t=>dG(t)),primarySaleRecipient:da.default(rn.constants.AddressZero)}),T6e=lG.extend({quantity:ff}),cr0=T6e.extend({mintStartTime:ts,mintEndTime:ts}),x6e=lG.extend({metadata:m9,royaltyRecipient:fe.string().default(rn.constants.AddressZero),royaltyBps:tb.default(0)}),dr0=x6e.extend({metadata:m9.default(""),uri:fe.string(),royaltyBps:ts,mintStartTime:ts,mintEndTime:ts}),jan=x6e.extend({metadata:m9.default(""),quantity:Xa}),lr0=jan.extend({tokenId:Xa}),ur0=dr0.extend({tokenId:ts,quantity:ts}),pr0=x6e.extend({metadata:m9.default(""),quantity:ts.default(1)}),hr0=dr0.extend({quantity:ts.default(1)}),mr0=[{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"}],br0=[{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"}],yr0=[{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"}],gr0=[{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 wr0=D((awa,Gan)=>{Gan.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 mG(t,e,n,a,r){let f={},i=a||bf,o=(await ta(t.getProvider(),e,i)).mul(n);return o.gt(0)&&(i===bf?f={value:o}:i!==bf&&r&&await v6e(t,i,o,n,0)),f}var L6,Ss,b2,Rs,Nl=oe(()=>{"use strict";u();p();Rf();Da();ln();or();L6=Ee(Je());h2();Ll();g9();id();Ss=class{constructor(e,n){ae(this,"featureName",uE.name);ae(this,"setDefaultRoyaltyInfo",be(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 it(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",be(async(e,n)=>{let a=vi.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 vi.parseAsync({fee_recipient:e,seller_fee_basis_points:n})}async getTokenRoyaltyInfo(e){let[n,a]=await this.contractWrapper.read("getRoyaltyInfoForToken",[e]);return vi.parseAsync({fee_recipient:n,seller_fee_basis_points:a})}},b2=class{constructor(e,n,a,r){ae(this,"createDelayedRevealBatch",be(async(e,n,a,r)=>{if(!a)throw new Error("Password is required");let f=await this.storage.uploadBatch([Dl.parse(e)],{rewriteFileNames:{fileStartNumber:0}}),i=Zm(f),s=await this.nextTokenIdToMintFn(),o=await this.storage.uploadBatch(n.map(k=>Dl.parse(k)),{onProgress:r?.onProgress,rewriteFileNames:{fileStartNumber:s.toNumber()}}),c=Zm(o),d=await this.contractWrapper.read("getBaseURICount",[]),l=await this.hashDelayRevealPassword(d,a),h=await this.contractWrapper.read("encryptDecrypt",[L6.utils.toUtf8Bytes(c),l]),y;if(await this.isLegacyContract())y=h;else{let k=await this.contractWrapper.getChainID(),O=L6.utils.solidityKeccak256(["bytes","bytes","uint256"],[L6.utils.toUtf8Bytes(c),l,k]);y=L6.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",be(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=>L6.utils.hexDataLength(c)>0?i?c:L6.utils.defaultAbiCoder.decode(["bytes","bytes32"],c)[0]:c);return f.map((c,d)=>({batchId:L6.BigNumber.from(d),batchUri:c.uri,placeholderMetadata:c})).filter((c,d)=>L6.utils.hexDataLength(o[d])>0)}async hashDelayRevealPassword(e,n){let a=await this.contractWrapper.getChainID(),r=this.contractWrapper.address;return L6.utils.solidityKeccak256(["string","uint256","uint256","address"],[n,a,e,r])}async getNftMetadata(e){return $8(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(wr0()))).default,r=await new L6.Contract(this.contractWrapper.address,n,this.contractWrapper.getProvider()).functions.encryptedBaseURI(e);return r.length>0?r[0]:"0x"}};Rs=class{constructor(e){ae(this,"featureName",pE.name);ae(this,"set",be(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 ai,Ol=oe(()=>{"use strict";u();p();Da();ln();ai=class{constructor(e){ae(this,"featureName",hE.name);ae(this,"set",be(async e=>{let n=await tc.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 tc.parseAsync({platform_fee_recipient:e,platform_fee_basis_points:n})}}});var Tr,Vc=oe(()=>{"use strict";u();p();ir();ln();Rf();Da();or();Tr=class{constructor(e,n){ae(this,"featureName",mE.name);ae(this,"setAll",be(async(e,n)=>{let a=n||await this.contractWrapper.getSignerAddress(),r=new it(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",be(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",be(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 mM(f,a)}))}async getRevokeRoleFunctionName(e){let[n,a]=await Promise.all([Oe(e),this.contractWrapper.getSignerAddress()]);return a.toLowerCase()===n.toLowerCase()?"renounceRole":"revokeRole"}}});var Ms,Z8=oe(()=>{"use strict";u();p();Da();ln();Ms=class{constructor(e){ae(this,"featureName",bE.name);ae(this,"setRecipient",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setPrimarySaleRecipient",args:[e]})));this.contractWrapper=e}async getRecipient(){return await this.contractWrapper.read("primarySaleRecipient",[])}}});var Yc=D((Nwa,Tr0)=>{"use strict";u();p();Tr0.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,Er0,bM,xr0,Kan,E6e,_6e,yM,A6e,C6e,I6e,k6e,S6e,yE,gM=oe(()=>{"use strict";u();p();la=Ee(Je());ln();Fl();Rf();Ll();Da();Jd();Nl();Er0=Ee(Yc());g9();or();ir();id();h2();bM=class{constructor(e,n,a){ae(this,"set",be((()=>{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",be((()=>{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=fM(e);return new h9({reason:h,from:r,method:d,data:f,network:a,rpcUrl:s,value:i,hash:l},e)}}});function k0(t,e){return fE(t.abi,e,t.extensions)}function wr(t,e){return t in e.readContract.functions}function kan(t){return u6e.utils.formatEther(t)}var u6e,Wn,Rn,va,ja,Rf=oe(()=>{"use strict";u();p();ln();Da();u6e=Ee(Je());Ax();Wn=class{constructor(e,n,a){ae(this,"featureName",cM.name);ae(this,"set",be(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 Z1(cM)}));ae(this,"update",be(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 ni(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(o1.Transaction,e)}removeTransactionListener(e){this.contractWrapper.off(o1.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",[]):Yoe((await this.metadata.get()).app_uri||"",this.storage.getGatewayUrls())}}});function mf(t){return t.toLowerCase()===bf||t.toLowerCase()===Ym.constants.AddressZero}async function Pi(t,e){if(mf(e)){let n=await t.getNetwork(),a=rG(n.chainId);return{name:a.name,symbol:a.symbol,decimals:a.decimals}}else{let n=(await Promise.resolve().then(()=>Ee(uoe()))).default,a=new Ym.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 Pi(t,e);return{...a,value:Ym.BigNumber.from(n),displayValue:Ym.utils.formatUnits(n,a.decimals)}}var Ym,it,or=oe(()=>{"use strict";u();p();Ym=Ee(Je());ln();it=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,ec=oe(()=>{"use strict";u();p();Pa=class{constructor(e){this.contractWrapper=e}overrideNextTransaction(e){this.contractWrapper.withTransactionOverride(e)}}});async function c1(t,e,n,a){if(mf(n))a.value=e;else{let r=(await Promise.resolve().then(()=>Ee(K1()))).default,f=t.getSigner(),i=t.getProvider(),s=new lt(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 p6e,tr0,h6e,Dl,y9,fG,h2=oe(()=>{"use strict";u();p();ln();Jd();or();p6e=fe.object({}).catchall(fe.union([m6e,fe.unknown()])),tr0=fe.union([fe.array(fe.array(p6e)).transform(t=>t.flat()),fe.array(p6e),p6e]).optional().nullable(),h6e=fe.object({name:fe.union([fe.string(),fe.number()]).optional().nullable(),description:fe.string().nullable().optional().nullable(),image:$m.nullable().optional(),animation_url:$m.optional().nullable()}),Dl=h6e.extend({external_url:$m.nullable().optional(),background_color:nr0.optional().nullable(),properties:tr0,attributes:tr0}).catchall(fe.union([m6e,fe.unknown()])),y9=fe.union([Dl,fe.string()]),fG=Dl.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 iE=D((Rva,San)=>{San.exports=[{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"}]});async function dM(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 fG.parse({...i,id:Qc.BigNumber.from(t).toString(),uri:e})}let a=e.replace("{id}",Qc.utils.hexZeroPad(Qc.BigNumber.from(t).toHexString(),32).slice(2)),r;try{r=await n.downloadJSON(a)}catch{let i=e.replace("{id}",Qc.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=sE}}return fG.parse({...r,id:Qc.BigNumber.from(t).toString(),uri:e})}async function $8(t,e,n,a){let r,f=(await Promise.resolve().then(()=>Ee(iE()))).default,i=new Qc.Contract(t,f,e),[s,o]=await Promise.all([i.supportsInterface(Jm),i.supportsInterface(Xm)]);if(s){let c=(await Promise.resolve().then(()=>Ee(boe()))).default;r=await new Qc.Contract(t,c,e).tokenURI(n)}else if(o){let c=(await Promise.resolve().then(()=>Ee(goe()))).default;r=await new Qc.Contract(t,c,e).uri(n)}else throw Error("Contract must implement ERC 1155 or ERC 721.");return r?dM(n,r,a):fG.parse({...sE,id:Qc.BigNumber.from(n).toString(),uri:""})}async function J8(t,e){return typeof t=="string"?t:await e.upload(Dl.parse(t))}async function Pl(t,e,n,a){if(Ran(t))return t;if(Man(t))return await e.uploadBatch(t.map(f=>Dl.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 Zm(t){let e=t[0].substring(0,t[0].lastIndexOf("/"));for(let n=0;ntypeof e!="string")===void 0}function Man(t){return t.find(e=>typeof e!="object")===void 0}var Qc,Jm,Xm,sE,Li,Ll=oe(()=>{"use strict";u();p();h2();Qc=Ee(Je()),Jm=Qc.utils.arrayify("0x80ac58cd"),Xm=Qc.utils.arrayify("0xd9b67a26"),sE={name:"Failed to load NFT metadata"};Li=100});async function ta(t,e,n){let a=await Pi(t,n);return ar0.utils.parseUnits(ff.parse(e),a.decimals)}var ar0,id=oe(()=>{"use strict";u();p();ln();ar0=Ee(Je());or()});function Dan(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 Pan(t){let e=new Uint8Array(t.length/2);for(let n=0;nn.toString(16).padStart(2,"0")).join("")}function Fan(t){let e=Array.from(t).map(n=>n.toString(16).padStart(2,"0")).join("");return BigInt(`0x${e}`)}var ca,m2,rr0,b6e,Ban,oE,fr0=oe(()=>{"use strict";u();p();ca=Ee(Qf()),m2=Ee(cce()),rr0=Ee(jq()),b6e=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=Pan(n.toString("hex")),f=e(r),i=Lan(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")}},Ban=b6e;oE=class t extends Ban{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,m2.default)(d),(0,m2.default)(d)])),l=(0,m2.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,m2.default)(i),(0,m2.default)(s)]:o=[i,s],this.sortPairs&&o.sort(ca.Buffer.compare);let c=this.hashFn(this.concatenator(o));this.isBitcoinTree&&(c=(0,m2.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();y6e=Ee(Je());Jd();ln();g9=fe.union([fe.date().transform(t=>y6e.BigNumber.from(Math.floor(t.getTime()/1e3))),fe.number().transform(t=>y6e.BigNumber.from(t))]),lM=g9.default(new Date(0)),eb=g9.default(new Date(Date.now()+1e3*60*60*24*365*10))});function cE(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 dE(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 sd(t,e){return t==="unlimited"?rn.constants.MaxUint256:rn.utils.parseUnits(t,e)}async function ir0(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=>hM.parseAsync(f)));for(let f of r)a.push(...f);return a}async function pM(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 uM.fromShardedMerkleTreeInfo(s,r)).getProof(t,a,f);let o=await hG.parseAsync(s);if(e===o.merkleRoot)return o.claims.find(c=>c.address.toLowerCase()===t.toLowerCase())||null}return null}function lE(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 uE(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 g6e(t,e,n,a,r){let f=t.getSigner(),i=t.getProvider(),s=(await Promise.resolve().then(()=>Ee(K1()))).default,o=new lt(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 sG(t,e,n,a,r,f,i,s,o){let c=sd(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 pM(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 ta(f.getProvider(),O.price,O.currencyAddress||rn.constants.AddressZero),h=O.currencyAddress||rn.constants.AddressZero;else if(o===X8.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)&&(mf(k)?y.value=rn.BigNumber.from(v).mul(e).div(rn.utils.parseUnits("1",r)):s&&await g6e(f,k,v,e,r)),{overrides:y,proofs:d,maxClaimable:c,price:v,currencyAddress:k,priceInProof:l,currencyAddressInProof:h}}async function Wan(t,e,n,a,r){let f=await ir0(t),i=f.map(c=>c.address);if(new Set(i).size{if(s.snapshot&&s.snapshot.length>0){let o=await Wan(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 Gan(t,e,n,a){let r=t.currencyAddress===rn.constants.AddressZero?bf:t.currencyAddress,f=sd(t.maxClaimableSupply,e),i=sd(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 ta(n,t.price,r),currency:r,merkleRoot:t.merkleRootHash.toString(),waitTimeInSecondsBetweenClaims:t.waitInSeconds||0,metadata:s}}async function oG(t,e,n,a,r){let{inputsWithSnapshots:f,snapshotInfos:i}=await jan(t,e,n,a,r),s=await zan.parseAsync(f),o=(await Promise.all(s.map(c=>Gan(c,e,n,a)))).sort((c,d)=>qan(c.startTimestamp,d.startTimestamp));return{snapshotInfos:i,sortedConditions:o}}async function Kan(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 uM.fromUri(a,n))?.getAllEntries()||null;{let f=await hG.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 iG(t,e){return t.toString()===rn.constants.MaxUint256.toString()?"unlimited":rn.utils.formatUnits(t,e)}async function pE(t,e,n,a,r,f){let i=await Ja(n,t.currency,t.pricePerToken),s=iG(t.maxClaimableSupply,e),o=iG(t.maxClaimablePerWallet,e),c=iG(rn.BigNumber.from(t.maxClaimableSupply).sub(t.supplyClaimed),e),d=iG(t.supplyClaimed,e),l;return t.metadata&&(l=await r.downloadJSON(t.metadata)),sr0.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 Kan(t.merkleRoot,a,r):void 0,metadata:l})}async function cG(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 v6e.parseAsync({...n[t],price:f,...e}),s=await sr0.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 dG(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,Nan,X8,uM,Oan,Uan,Han,v6e,zan,sr0,qn,lG,w6e,or0,T6e,cr0,Qan,dr0,lr0,ur0,pr0,hr0,mr0,br0,yr0,w9=oe(()=>{"use strict";u();p();rn=Ee(Je());ln();or();id();fr0();Fl();Jd();h2();k0e();Nan=2,X8=function(t){return t[t.V1=1]="V1",t[t.V2=2]="V2",t}({}),uM=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 X8.V1:return rn.utils.solidityKeccak256(["address","uint256"],[e.address,sd(e.maxClaimable,n)]);case X8.V2:return rn.utils.solidityKeccak256(["address","uint256","uint256","address"],[e.address,sd(e.maxClaimable,n),sd(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 Pi(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]:Nan,s=await ir0(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 oE(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 oE(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 oE(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 pG.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),[]}}};Oan=fe.object({name:fe.string(),symbol:fe.string(),decimals:fe.number()}),Uan=Oan.extend({value:ts,displayValue:fe.string()}),Han=fe.object({name:fe.string().optional()}).catchall(fe.unknown()),v6e=fe.object({startTime:lM,currencyAddress:fe.string().default(bf),price:ff.default(0),maxClaimableSupply:v9,maxClaimablePerWallet:v9,waitInSeconds:Xa.default(0),merkleRootHash:gr0.default(rn.utils.hexZeroPad([0],32)),snapshot:fe.optional(hM).nullable(),metadata:Han.optional()}),zan=fe.array(v6e),sr0=v6e.extend({availableSupply:v9,currentMintSupply:v9,currencyMetadata:Uan.default({value:rn.BigNumber.from("0"),displayValue:"0",symbol:"",decimals:18,name:""}),price:ts,waitInSeconds:ts,startTime:ts.transform(t=>new Date(t.toNumber()*1e3)),snapshot:hM.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}({});lG=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:uG.default(bf),mintStartTime:lM,mintEndTime:eb,uid:fe.string().optional().transform(t=>dG(t)),primarySaleRecipient:da.default(rn.constants.AddressZero)}),w6e=lG.extend({quantity:ff}),or0=w6e.extend({mintStartTime:ts,mintEndTime:ts}),T6e=lG.extend({metadata:y9,royaltyRecipient:fe.string().default(rn.constants.AddressZero),royaltyBps:tb.default(0)}),cr0=T6e.extend({metadata:y9.default(""),uri:fe.string(),royaltyBps:ts,mintStartTime:ts,mintEndTime:ts}),Qan=T6e.extend({metadata:y9.default(""),quantity:Xa}),dr0=Qan.extend({tokenId:Xa}),lr0=cr0.extend({tokenId:ts,quantity:ts}),ur0=T6e.extend({metadata:y9.default(""),quantity:ts.default(1)}),pr0=cr0.extend({quantity:ts.default(1)}),hr0=[{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"}],mr0=[{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"}],br0=[{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"}],yr0=[{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 vr0=D((iwa,Van)=>{Van.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 mG(t,e,n,a,r){let f={},i=a||bf,o=(await ta(t.getProvider(),e,i)).mul(n);return o.gt(0)&&(i===bf?f={value:o}:i!==bf&&r&&await g6e(t,i,o,n,0)),f}var L6,Ss,b2,Rs,Nl=oe(()=>{"use strict";u();p();Rf();Da();ln();or();L6=Ee(Je());h2();Ll();w9();id();Ss=class{constructor(e,n){ae(this,"featureName",hE.name);ae(this,"setDefaultRoyaltyInfo",be(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 it(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",be(async(e,n)=>{let a=vi.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 vi.parseAsync({fee_recipient:e,seller_fee_basis_points:n})}async getTokenRoyaltyInfo(e){let[n,a]=await this.contractWrapper.read("getRoyaltyInfoForToken",[e]);return vi.parseAsync({fee_recipient:n,seller_fee_basis_points:a})}},b2=class{constructor(e,n,a,r){ae(this,"createDelayedRevealBatch",be(async(e,n,a,r)=>{if(!a)throw new Error("Password is required");let f=await this.storage.uploadBatch([Dl.parse(e)],{rewriteFileNames:{fileStartNumber:0}}),i=Zm(f),s=await this.nextTokenIdToMintFn(),o=await this.storage.uploadBatch(n.map(k=>Dl.parse(k)),{onProgress:r?.onProgress,rewriteFileNames:{fileStartNumber:s.toNumber()}}),c=Zm(o),d=await this.contractWrapper.read("getBaseURICount",[]),l=await this.hashDelayRevealPassword(d,a),h=await this.contractWrapper.read("encryptDecrypt",[L6.utils.toUtf8Bytes(c),l]),y;if(await this.isLegacyContract())y=h;else{let k=await this.contractWrapper.getChainID(),O=L6.utils.solidityKeccak256(["bytes","bytes","uint256"],[L6.utils.toUtf8Bytes(c),l,k]);y=L6.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",be(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=>L6.utils.hexDataLength(c)>0?i?c:L6.utils.defaultAbiCoder.decode(["bytes","bytes32"],c)[0]:c);return f.map((c,d)=>({batchId:L6.BigNumber.from(d),batchUri:c.uri,placeholderMetadata:c})).filter((c,d)=>L6.utils.hexDataLength(o[d])>0)}async hashDelayRevealPassword(e,n){let a=await this.contractWrapper.getChainID(),r=this.contractWrapper.address;return L6.utils.solidityKeccak256(["string","uint256","uint256","address"],[n,a,e,r])}async getNftMetadata(e){return $8(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(vr0()))).default,r=await new L6.Contract(this.contractWrapper.address,n,this.contractWrapper.getProvider()).functions.encryptedBaseURI(e);return r.length>0?r[0]:"0x"}};Rs=class{constructor(e){ae(this,"featureName",mE.name);ae(this,"set",be(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 ai,Ol=oe(()=>{"use strict";u();p();Da();ln();ai=class{constructor(e){ae(this,"featureName",bE.name);ae(this,"set",be(async e=>{let n=await tc.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 tc.parseAsync({platform_fee_recipient:e,platform_fee_basis_points:n})}}});var Tr,Vc=oe(()=>{"use strict";u();p();ir();ln();Rf();Da();or();Tr=class{constructor(e,n){ae(this,"featureName",yE.name);ae(this,"setAll",be(async(e,n)=>{let a=n||await this.contractWrapper.getSignerAddress(),r=new it(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",be(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",be(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 bM(f,a)}))}async getRevokeRoleFunctionName(e){let[n,a]=await Promise.all([Oe(e),this.contractWrapper.getSignerAddress()]);return a.toLowerCase()===n.toLowerCase()?"renounceRole":"revokeRole"}}});var Ms,Z8=oe(()=>{"use strict";u();p();Da();ln();Ms=class{constructor(e){ae(this,"featureName",gE.name);ae(this,"setRecipient",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setPrimarySaleRecipient",args:[e]})));this.contractWrapper=e}async getRecipient(){return await this.contractWrapper.read("primarySaleRecipient",[])}}});var Yc=D((Hwa,wr0)=>{"use strict";u();p();wr0.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,xr0,yM,Tr0,Yan,x6e,E6e,gM,_6e,A6e,C6e,I6e,k6e,vE,vM=oe(()=>{"use strict";u();p();la=Ee(Je());ln();Fl();Rf();Ll();Da();Jd();Nl();xr0=Ee(Yc());w9();or();ir();id();h2();yM=class{constructor(e,n,a){ae(this,"set",be((()=>{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",be((()=>{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(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 oG(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,Er0.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 it(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 it(e.contractWrapper);if(e.isLegacySinglePhaseDrop(e.contractWrapper)){let h=new it(e.contractWrapper);s.push(h.encode("setClaimConditions",[c,sE(d[0]),a]))}else if(e.isLegacyMultiPhaseDrop(e.contractWrapper))s.push(l.encode("setClaimConditions",[c,d.map(sE),a]));else if(e.isNewSinglePhaseDrop(e.contractWrapper))s.push(l.encode("setClaimConditions",[c,oE(d[0]),a]));else if(e.isNewMultiphaseDrop(e.contractWrapper))s.push(l.encode("setClaimConditions",[c,d.map(oE),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",be(async(e,n,a)=>{let r=await this.getAll(e),f=await cG(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 lE(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 cE(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 cE(r)}else if(this.isNewSinglePhaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("claimCondition",[e]);return dE(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 dE(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;olE(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 eh(v,"!CONDITION")||eh(v,"no active mint condition")||eh(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=sd(i.maxClaimablePerWallet,0);try{v=await this.getSupplyClaimedByWallet(e,s)}catch{}if(d&&(k=sd(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)&&bG()){let v=i.price.mul(n),k=this.contractWrapper.getProvider();if(mf(i.currencyAddress))(await k.getBalance(s)).lt(v)&&r.push(qn.NotEnoughTokens);else{let O=(await Promise.resolve().then(()=>Ee(K1()))).default;(await new lt(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 uM(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 sG(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)?X8.V1:X8.V2}},xr0=fe.object({address:da,quantity:ff.default(1)}),Kan=fe.union([fe.array(fe.string()).transform(async t=>await Promise.all(t.map(e=>xr0.parseAsync({address:e})))),fe.array(xr0)]),E6e=class{constructor(e){ae(this,"featureName",gE.name);ae(this,"to",be(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 mG(this.contractWrapper,r.pricePerToken,a,r.currencyAddress,r.checkERC20Allowance)),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:[await Oe(e),n,a],overrides:f})}},_6e=class{constructor(e,n){ae(this,"featureName",vM.name);ae(this,"to",be(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,Ul,this.storage);this.conditions=new bM(e,a,this.storage)}},yM=class{constructor(e,n,a){ae(this,"featureName",TM.name);ae(this,"mint",be(async e=>{let n=e.payload,a=e.signature,[r,f]=await Promise.all([this.mapPayloadToContractStruct(n),this.contractWrapper.getCallOverrides()]);return await c1(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",be(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 it(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=>lr0.parseAsync(h))),r=a.map(h=>h.metadata),[f,i,s]=await Promise.all([Pl(r,this.storage),this.contractWrapper.getChainID(),yG(this.contractWrapper.address,this.contractWrapper.getProvider())]),o=await Promise.all(a.map((h,y)=>ur0.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:yr0},h)))).map((h,y)=>({payload:o[y],signature:h.toString()}))}async mapPayloadToContractStruct(e){let n=await ta(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}}},A6e=class{constructor(e){ae(this,"featureName",nb.name);ae(this,"tokens",be(async(e,n)=>{let a=await this.contractWrapper.getSignerAddress();return this.from.prepare(a,e,n)}));ae(this,"from",be(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[await Oe(e),n,a]})));ae(this,"batch",be(async(e,n)=>{let a=await this.contractWrapper.getSignerAddress();return this.batchFrom.prepare(a,e,n)}));ae(this,"batchFrom",be(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burnBatch",args:[await Oe(e),n,a]})));this.contractWrapper=e}},C6e=class{constructor(e,n){ae(this,"featureName",rb.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||Li).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||Li;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()}))}},I6e=class{constructor(e,n,a){ae(this,"featureName",wM.name);ae(this,"lazyMint",be(async(e,n)=>{let a=await this.erc1155.nextTokenIdToMint(),r=await Pl(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 yG(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",be(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}},k6e=class{constructor(e,n,a){ae(this,"featureName",xM.name);ae(this,"to",be(async(e,n)=>{let a=n.map(c=>c.metadata),r=n.map(c=>c.supply),f=await Pl(a,this.storage),i=await Oe(e),s=new it(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}},S6e=class{constructor(e,n,a){ae(this,"featureName",ab.name);ae(this,"to",be(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",be(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 J8(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 k6e(this.erc1155,this.contractWrapper,this.storage)}},yE=class{constructor(e,n,a){ae(this,"featureName",vE.name);ae(this,"transfer",be((()=>{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",be((()=>{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",be((()=>{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",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setApprovalForAll",args:[e,n]})));ae(this,"airdrop",be((()=>{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 Kan.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 it(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",be(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintTo",be(async(e,n)=>O0(this.mintable,ab).to.prepare(e,n)));ae(this,"mintAdditionalSupply",be(async(e,n)=>O0(this.mintable,ab).additionalSupplyTo.prepare(await this.contractWrapper.getSignerAddress(),e,n)));ae(this,"mintAdditionalSupplyTo",be(async(e,n,a)=>O0(this.mintable,ab).additionalSupplyTo.prepare(e,n,a)));ae(this,"mintBatch",be(async e=>this.mintBatchTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintBatchTo",be(async(e,n)=>O0(this.mintable?.batch,xM).to.prepare(e,n)));ae(this,"burn",be(async(e,n)=>O0(this.burnable,nb).tokens.prepare(e,n)));ae(this,"burnFrom",be(async(e,n,a)=>O0(this.burnable,nb).from.prepare(e,n,a)));ae(this,"burnBatch",be(async(e,n)=>O0(this.burnable,nb).batch.prepare(e,n)));ae(this,"burnBatchFrom",be(async(e,n,a)=>O0(this.burnable,nb).batchFrom.prepare(e,n,a)));ae(this,"lazyMint",be(async(e,n)=>O0(this.lazyMintable,wM).lazyMint.prepare(e,n)));ae(this,"updateMetadata",be(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 Z1(gG)}));ae(this,"claim",be(async(e,n,a)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,n,a)));ae(this,"claimTo",be(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 Z1(gE)}));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:"",...fE}))]);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 Z1(vG)}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,rb).all(e)}async totalCount(){return O0(this.query,rb).totalCount()}async totalCirculatingSupply(e){return O0(this.query,rb).totalCirculatingSupply(e)}async getOwned(e,n){return e&&(e=await Oe(e)),O0(this.query,rb).owned(e,n)}async getMintTransaction(e,n){return O0(this.mintable,ab).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 Z1(gE)}get claimConditions(){return O0(this.claimWithConditions,vM).conditions}get signature(){return O0(this.signatureMintable,TM)}get revealer(){return O0(this.lazyMintable?.revealer,v9)}async getTokenMetadata(e){let n=await this.contractWrapper.read("uri",[e]);if(!n)throw new w9;return cM(e,n,this.storage)}detectErc1155Enumerable(){if(k0(this.contractWrapper,"ERC1155Enumerable"))return new C6e(this,this.contractWrapper)}detectErc1155Mintable(){if(k0(this.contractWrapper,"ERC1155Mintable"))return new S6e(this,this.contractWrapper,this.storage)}detectErc1155Burnable(){if(k0(this.contractWrapper,"ERC1155Burnable"))return new A6e(this.contractWrapper)}detectErc1155LazyMintable(){if(k0(this.contractWrapper,"ERC1155LazyMintableV1")||k0(this.contractWrapper,"ERC1155LazyMintableV2"))return new I6e(this,this.contractWrapper,this.storage)}detectErc1155SignatureMintable(){if(k0(this.contractWrapper,"ERC1155SignatureMintable"))return new yM(this.contractWrapper,this.storage)}detectErc1155Claimable(){if(k0(this.contractWrapper,"ERC1155ClaimCustom"))return new E6e(this.contractWrapper)}detectErc1155ClaimableWithConditions(){if(k0(this.contractWrapper,"ERC1155ClaimConditionsV1")||k0(this.contractWrapper,"ERC1155ClaimConditionsV2")||k0(this.contractWrapper,"ERC1155ClaimPhasesV1")||k0(this.contractWrapper,"ERC1155ClaimPhasesV2"))return new _6e(this.contractWrapper,this.storage)}}});var fb,wG=oe(()=>{"use strict";u();p();Da();gM();fb=class{constructor(e,n,a){ae(this,"transfer",be((()=>{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",be((()=>{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",be(async(e,n)=>this.erc1155.setApprovalForAll.prepare(e,n)));ae(this,"airdrop",be((()=>{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 yE(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 Yan(t){return d0(t in _r0,`chainId not supported by paper: ${t}`),_r0[t]}async function $an(t,e){let n=Yan(e),r=await(await fetch(`${Ar0}/register-contract?contractAddress=${t}&chain=${n}`)).json();return d0(r.result.id,"Contract is not registered with paper"),r.result.id}async function Xan(t,e){let a=await(await fetch(`${Ar0}/checkout-link-intent`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({contractId:t,...Jan,...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 Qan,Van,Ar0,_r0,Jan,ib,TG=oe(()=>{"use strict";u();p();ln();ir();Qan="https://paper.xyz/api",Van="2022-08-12",Ar0=`${Qan}/${Van}/platform/thirdweb`,_r0={[E0.Mainnet]:"Ethereum",[E0.Goerli]:"Goerli",[E0.Polygon]:"Polygon",[E0.Mumbai]:"Mumbai",[E0.Avalanche]:"Avalanche"};Jan={expiresInMinutes:15,feeBearer:"BUYER",sendEmailOnSuccess:!0,redirectAfterPayment:!1};ib=class{constructor(e){this.contractWrapper=e}async getCheckoutId(){return $an(this.contractWrapper.address,await this.contractWrapper.getChainID())}async isEnabled(){try{return!!await this.getCheckoutId()}catch{return!1}}async createLinkIntent(e){return await Xan(await this.getCheckoutId(),e)}}});var Cr0={};G0(Cr0,{EditionDrop:()=>M6e});var EG,CTa,ITa,STa,R6e,xG,M6e,Ir0=oe(()=>{"use strict";u();p();EG=Ee(Je());ln();Da();Rf();or();ec();Nl();Ol();Vc();Z8();gM();wG();TG();ir();CTa=Ee(Va()),ITa=Ee(io());W0();STa=Ee(Yc()),R6e=class{constructor(e){this.events=e}async getAllClaimerAddresses(e){let n=(await this.events.getEvents("TokensClaimed")).filter(a=>a.data&&EG.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)))}},xG=class xG extends fb{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"createBatch",be(async(n,a)=>this.erc1155.lazyMint.prepare(n,a)));ae(this,"claimTo",be((()=>{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",be((()=>{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",be(async(n,a)=>this.erc1155.burn.prepare(n,a)));this.abi=ht.parse(i),this.metadata=new Wn(this.contractWrapper,_G,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,xG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.sales=new Ms(this.contractWrapper),this.claimConditions=new bM(this.contractWrapper,this.metadata,this.storage),this.events=new Rn(this.contractWrapper),this.history=new R6e(this.events),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.checkout=new ib(this.contractWrapper),this.owner=new Rs(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"),EG.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(xG,"contractRoles",Bs);M6e=xG});var kr0=D((DTa,Zan)=>{Zan.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 Sr0=D((PTa,ern)=>{ern.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 Mr0={};G0(Mr0,{Edition:()=>B6e});var Rr0,QTa,VTa,$Ta,AG,B6e,Br0=oe(()=>{"use strict";u();p();Rr0=Ee(Je());ln();Da();Rf();or();ec();Nl();Ol();Vc();Z8();gM();wG();ir();QTa=Ee(Va()),VTa=Ee(io());W0();$Ta=Ee(Yc()),AG=class AG extends fb{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"mint",be(async n=>this.erc1155.mint.prepare(n)));ae(this,"mintTo",be(async(n,a)=>this.erc1155.mintTo.prepare(n,a)));ae(this,"mintAdditionalSupply",be(async(n,a)=>this.erc1155.mintAdditionalSupply.prepare(n,a)));ae(this,"mintAdditionalSupplyTo",be(async(n,a,r)=>this.erc1155.mintAdditionalSupplyTo.prepare(n,a,r)));ae(this,"mintBatch",be(async n=>this.erc1155.mintBatch.prepare(n)));ae(this,"mintBatchTo",be(async(n,a)=>this.erc1155.mintBatchTo.prepare(n,a)));ae(this,"burn",be(async(n,a)=>this.erc1155.burn.prepare(n,a)));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,CG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,AG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.sales=new Ms(this.contractWrapper),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.signature=new yM(this.contractWrapper,this.storage,this.roles),this.owner=new Rs(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"),Rr0.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(AG,"contractRoles",Bs);B6e=AG});var Dr0=D((exa,trn)=>{trn.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 y2(t,e,n,a,r){try{let f=(await Promise.resolve().then(()=>Ee(rE()))).default,i=new th.Contract(n,f,t),[s,o]=await Promise.all([i.supportsInterface(Jm),i.supportsInterface(Xm)]);if(s){let c=(await Promise.resolve().then(()=>Ee(mx()))).default,d=new th.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(bx()))).default;return await new th.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 sb(t,e,n,a,r){let f=(await Promise.resolve().then(()=>Ee(rE()))).default,i=new lt(t.getSignerOrProvider(),n,f,t.options,t.storage),[s,o]=await Promise.all([i.read("supportsInterface",[Jm]),i.read("supportsInterface",[Xm])]);if(s){let c=(await Promise.resolve().then(()=>Ee(mx()))).default,d=new lt(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(bx()))).default,d=new lt(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 D6e(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 IG(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 Pr0(t,e,n){return n=th.BigNumber.from(n),t=th.BigNumber.from(t),e=th.BigNumber.from(e),t.eq(th.BigNumber.from(0))?!1:e.sub(t).mul(P6e).div(t).gte(n)}async function T9(t,e,n){let a=[];for(;e-t>Li;)a.push(n(t,t+Li-1)),t+=Li;return a.push(n(t,e-1)),await Promise.all(a)}var th,EM=oe(()=>{"use strict";u();p();th=Ee(Je());ir();Ll();ln();or()});function x9(t){return mf(t)?bf:t}var L6e=oe(()=>{"use strict";u();p();ln();or()});var d1,Lr0=oe(()=>{"use strict";u();p();d1=function(t){return t[t.Direct=0]="Direct",t[t.Auction=1]="Auction",t}({})});var Fr0={};G0(Fr0,{Marketplace:()=>O6e});var st,Rxa,Mxa,F6e,N6e,kG,O6e,Nr0=oe(()=>{"use strict";u();p();st=Ee(Je());ir();Ll();or();ln();EM();Da();Rf();ec();Ol();Vc();L6e();id();h2();Lr0();Rxa=Ee(Va()),Mxa=Ee(io());W0();F6e=class{constructor(e,n){ae(this,"createListing",be(async e=>{D6e(e);let n=await Oe(e.assetContractAddress),a=await Oe(e.currencyContractAddress);await sb(this.contractWrapper,this.getAddress(),n,e.tokenId,await this.contractWrapper.getSignerAddress());let r=await ta(this.contractWrapper.getProvider(),e.buyoutPricePerToken,a),f=await ta(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",be(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",be(async e=>{let n=await this.validateListing(st.BigNumber.from(e)),a=await Pi(this.contractWrapper.getProvider(),n.currencyContractAddress);return this.makeBid.prepare(e,st.utils.formatUnits(n.buyoutPrice,a.decimals))}));ae(this,"makeBid",be(async(e,n)=>{let a=await this.validateListing(st.BigNumber.from(e)),r=await ta(this.contractWrapper.getProvider(),n,a.currencyContractAddress);if(r.eq(st.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=Pr0(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=st.BigNumber.from(a.reservePrice);d0(l.gte(h),"Bid price is too low based on reserve price")}let s=st.BigNumber.from(a.quantity),o=r.mul(s),c=await this.contractWrapper.getCallOverrides()||{};await c1(this.contractWrapper,o,a.currencyContractAddress,c);let d=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"offer",args:[e,a.quantity,a.currencyContractAddress,r,st.constants.MaxUint256],overrides:c});return d.setGasLimitMultiple(1.2),d}));ae(this,"cancelListing",be(async e=>{let n=await this.validateListing(st.BigNumber.from(e)),a=st.BigNumber.from(Math.floor(Date.now()/1e3)),r=st.BigNumber.from(n.startTimeInEpochSeconds),f=await this.contractWrapper.read("winningBid",[e]);if(a.gt(r)&&f.offeror!==st.constants.AddressZero)throw new _M(e.toString());let i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"closeAuction",args:[st.BigNumber.from(e),await this.contractWrapper.getSignerAddress()]});return i.setGasLimitMultiple(1.2),i}));ae(this,"closeListing",be(async(e,n)=>{n||(n=await this.contractWrapper.getSignerAddress());let a=await this.validateListing(st.BigNumber.from(e));try{let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"closeAuction",args:[st.BigNumber.from(e),n]});return r.setGasLimitMultiple(1.2),r}catch(r){throw r.message.includes("cannot close auction before it has ended")?new v2(e.toString(),a.endTimeInEpochSeconds.toString()):r}}));ae(this,"executeSale",be(async e=>{let n=await this.validateListing(st.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 v2(e.toString(),n.endTimeInEpochSeconds.toString()):a}}));ae(this,"updateListing",be(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 it(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 g2(this.getAddress(),e.toString());if(n.listingType!==d1.Auction)throw new wE(this.getAddress(),e.toString(),"Direct","Auction");return await this.mapListing(n)}async getWinningBid(e){await this.validateListing(st.BigNumber.from(e));let n=await this.contractWrapper.read("winningBid",[e]);if(n.offeror!==st.constants.AddressZero)return await IG(this.contractWrapper.getProvider(),st.BigNumber.from(e),n)}async getWinner(e){let n=await this.validateListing(st.BigNumber.from(e)),a=await this.contractWrapper.read("winningBid",[e]),r=st.BigNumber.from(Math.floor(Date.now()/1e3)),f=st.BigNumber.from(n.endTimeInEpochSeconds);if(r.gt(f)&&a.offeror!==st.constants.AddressZero)return a.offeror;let o=(await new Rn(this.contractWrapper).getEvents("AuctionClosed")).find(c=>c.data.listingId.eq(st.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(st.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:st.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 $8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),reservePriceCurrencyValuePerToken:await Ja(this.contractWrapper.getProvider(),e.currency,e.reservePricePerToken),reservePrice:st.BigNumber.from(e.reservePricePerToken),endTimeInEpochSeconds:e.endTime,sellerAddress:e.tokenOwner,type:d1.Auction}}},N6e=class{constructor(e,n){ae(this,"createListing",be(async e=>{D6e(e);let n=await Oe(e.assetContractAddress),a=await Oe(e.currencyContractAddress);await sb(this.contractWrapper,this.getAddress(),n,e.tokenId,await this.contractWrapper.getSignerAddress());let r=await ta(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",be(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",be(async(e,n,a,r,f)=>{if(mf(a))throw new Error("You must use the wrapped native token address when making an offer with a native token");let i=await ta(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=st.BigNumber.from(n),o=st.BigNumber.from(i).mul(s),c=await this.contractWrapper.getCallOverrides()||{};await c1(this.contractWrapper,o,a,c);let d=st.constants.MaxUint256;f&&(d=st.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",be(async(e,n)=>{await this.validateListing(st.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",be(async(e,n,a)=>{let r=await this.validateListing(st.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=st.BigNumber.from(n),c=st.BigNumber.from(r.buyoutPrice).mul(o),d=await this.contractWrapper.getCallOverrides()||{};await c1(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",be(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",be(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===st.constants.AddressZero)throw new g2(this.getAddress(),e.toString());if(n.listingType!==d1.Direct)throw new wE(this.getAddress(),e.toString(),"Auction","Direct");return await this.mapListing(n)}async getActiveOffer(e,n){await this.validateListing(st.BigNumber.from(e)),d0(st.utils.isAddress(n),"Address must be a valid address");let a=await this.contractWrapper.read("offers",[e,await Oe(n)]);if(a.offeror!==st.constants.AddressZero)return await IG(this.contractWrapper.getProvider(),st.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:st.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 $8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),secondsUntilEnd:e.endTime,sellerAddress:e.tokenOwner,type:d1.Direct}}async isStillValidListing(e,n){if(!await y2(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(rE()))).default,i=new st.Contract(e.assetContractAddress,f,r),s=await i.supportsInterface(Jm),o=await i.supportsInterface(Xm);if(s){let c=(await Promise.resolve().then(()=>Ee(mx()))).default,d=new st.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(bx()))).default,h=(await new st.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."}}},kG=class kG{constructor(e,n,a){ae(this,"getAll",this.getAllListings);ae(this,"buyoutListing",be(async(e,n,a)=>{let r=await this.contractWrapper.read("listings",[e]);if(r.listingId.toString()!==e.toString())throw new g2(this.getAddress(),e.toString());switch(r.listingType){case d1.Direct:return d0(n!==void 0,"quantityDesired is required when buying out a direct listing"),await this.direct.buyoutListing.prepare(e,n,a);case d1.Auction:return await this.auction.buyoutListing.prepare(e);default:throw Error(`Unknown listing type: ${r.listingType}`)}}));ae(this,"makeOffer",be(async(e,n,a)=>{let r=await this.contractWrapper.read("listings",[e]);if(r.listingId.toString()!==e.toString())throw new g2(this.getAddress(),e.toString());let f=await this.contractWrapper.getChainID();switch(r.listingType){case d1.Direct:return d0(a,"quantity is required when making an offer on a direct listing"),await this.direct.makeOffer.prepare(e,a,mf(r.currency)?ob[f].wrapped.address:r.currency,n);case d1.Auction:return await this.auction.makeBid.prepare(e,n);default:throw Error(`Unknown listing type: ${r.listingType}`)}}));ae(this,"setBidBufferBps",be(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,st.BigNumber.from(e)]})}));ae(this,"setTimeBufferInSeconds",be(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:[st.BigNumber.from(e),n]})}));ae(this,"allowListingFromSpecificAssetOnly",be(async e=>{let n=[];return(await this.roles.get("asset")).includes(st.constants.AddressZero)&&n.push(this.encoder.encode("revokeRole",[cr("asset"),st.constants.AddressZero])),n.push(this.encoder.encode("grantRole",[cr("asset"),e])),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n]})}));ae(this,"allowListingFromAnyAsset",be(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"),st.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 lt(e,n,f,r,a);this._chainId=i,this.abi=ht.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,E9,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,kG.contractRoles),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.direct=new N6e(this.contractWrapper,this.storage),this.auction=new F6e(this.contractWrapper,this.storage),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(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===st.constants.AddressZero)throw new g2(this.getAddress(),e.toString());switch(n.listingType){case d1.Auction:return await this.auction.mapListing(n);case d1.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=st.BigNumber.from(Math.floor(Date.now()/1e3));return a.filter(f=>f.type===d1.Auction&&st.BigNumber.from(f.endTimeInEpochSeconds).gt(r)&&st.BigNumber.from(f.startTimeInEpochSeconds).lte(r)||f.type===d1.Direct&&st.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"),st.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=>IG(this.contractWrapper.getProvider(),st.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 g2)return;console.warn(`Failed to get listing ${a}' - skipping. Try 'marketplace.getListing(${a})' to get the underlying error.`);return}if(r.type===d1.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=st.BigNumber.from(n?.start||0).toNumber(),f=st.BigNumber.from(n?.count||Li).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(kG,"contractRoles",TE);O6e=kG});var Or0=D((Fxa,nrn)=>{nrn.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 ut,Ur0,uo,xE,arn,EE,rrn,_E,U6e=oe(()=>{"use strict";u();p();ut=Ee(Je());ir();L6e();or();id();h2();ln();EM();Ll();Da();Fl();Jd();Rf();ec();Ur0=fe.object({assetContractAddress:da,tokenId:Xa,quantity:Xa.default(1),currencyContractAddress:da.default(bf),pricePerToken:ff,startTimestamp:b9.default(new Date),endTimestamp:eb,isReservedListing:fe.boolean().default(!1)}),uo=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}({}),xE=class{constructor(e,n){ae(this,"featureName",cb.name);ae(this,"createListing",be(async e=>{let n=await Ur0.parseAsync(e);await sb(this.contractWrapper,this.getAddress(),n.assetContractAddress,n.tokenId,await this.contractWrapper.getSignerAddress());let a=await ta(this.contractWrapper.getProvider(),n.pricePerToken,n.currencyContractAddress),f=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;n.startTimestamp.lt(f)&&(n.startTimestamp=ut.BigNumber.from(f));let i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createListing",args:[{assetContract:n.assetContractAddress,tokenId:n.tokenId,quantity:n.quantity,currency:x9(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",be(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",be(async(e,n)=>{let a=await Ur0.parseAsync(n);await sb(this.contractWrapper,this.getAddress(),a.assetContractAddress,a.tokenId,await this.contractWrapper.getSignerAddress());let r=await ta(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:x9(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",be(async e=>{let n=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelListing",args:[e]});return n.setGasLimitMultiple(1.2),n}));ae(this,"buyFromListing",be(async(e,n,a)=>{a&&(a=await Oe(a));let r=await this.validateListing(ut.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=ut.BigNumber.from(n),c=ut.BigNumber.from(r.pricePerToken).mul(o),d=await this.contractWrapper.getCallOverrides()||{};await c1(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",be(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",be(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",be(async(e,n,a)=>{let r=await this.validateListing(ut.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",be(async(e,n)=>{let a=await this.validateListing(ut.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,ut.BigNumber.from(0)]});return i.setGasLimitMultiple(1.2),i}));this.contractWrapper=e,this.storage=n,this.events=new Rn(this.contractWrapper),this.encoder=new it(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=ut.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 T9(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=ut.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 T9(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(ut.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(ut.BigNumber.from(e)),await this.contractWrapper.read("isCurrencyApprovedForListing",[e,await Oe(n)])}async currencyPriceForListing(e,n){let a=await this.validateListing(ut.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=uo.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:n=ut.BigNumber.from(e.startTimestamp).gt(r)?uo.Created:ut.BigNumber.from(e.endTimestamp).lt(r)?uo.Expired:uo.Active;break;case 2:n=uo.Completed;break;case 3:n=uo.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:ut.BigNumber.from(e.startTimestamp).toNumber(),asset:await $8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),endTimeInSeconds:ut.BigNumber.from(e.endTimestamp).toNumber(),creatorAddress:e.listingCreator,isReservedListing:e.reserved,status:n}}async isStillValidListing(e,n){if(!await y2(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(rE()))).default,i=new ut.Contract(e.assetContractAddress,f,r),s=await i.supportsInterface(Jm),o=await i.supportsInterface(Xm);if(s){let c=(await Promise.resolve().then(()=>Ee(mx()))).default,d=new ut.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(bx()))).default,h=(await new ut.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=arn.parse(e);await sb(this.contractWrapper,this.getAddress(),n.assetContractAddress,n.tokenId,await this.contractWrapper.getSignerAddress());let a=await ta(this.contractWrapper.getProvider(),n.buyoutBidAmount,n.currencyContractAddress),r=await ta(this.contractWrapper.getProvider(),n.minimumBidAmount,n.currencyContractAddress),i=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;n.startTimestamp.lt(i)&&(n.startTimestamp=ut.BigNumber.from(i));let s=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createAuction",args:[{assetContract:n.assetContractAddress,tokenId:n.tokenId,quantity:n.quantity,currency:x9(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",be(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",be(async e=>{let n=await this.validateAuction(ut.BigNumber.from(e)),a=await Pi(this.contractWrapper.getProvider(),n.currencyContractAddress);return this.makeBid.prepare(e,ut.utils.formatUnits(n.buyoutBidAmount,a.decimals))}));ae(this,"makeBid",be(async(e,n)=>{let a=await this.validateAuction(ut.BigNumber.from(e)),r=await ta(this.contractWrapper.getProvider(),n,a.currencyContractAddress);if(r.eq(ut.BigNumber.from(0)))throw new Error("Cannot make a bid with 0 value");if(ut.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=ut.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 c1(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",be(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",be(async(e,n)=>{n||(n=await this.contractWrapper.getSignerAddress());let a=await this.validateAuction(ut.BigNumber.from(e));try{let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"collectAuctionTokens",args:[ut.BigNumber.from(e)]});return r.setGasLimitMultiple(1.2),r}catch(r){throw r.message.includes("Marketplace: auction still active.")?new v2(e.toString(),a.endTimeInSeconds.toString()):r}}));ae(this,"closeAuctionForSeller",be(async e=>{let n=await this.validateAuction(ut.BigNumber.from(e));try{let a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"collectAuctionPayout",args:[ut.BigNumber.from(e)]});return a.setGasLimitMultiple(1.2),a}catch(a){throw a.message.includes("Marketplace: auction still active.")?new v2(e.toString(),n.endTimeInSeconds.toString()):a}}));ae(this,"executeSale",be(async e=>{let n=await this.validateAuction(ut.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 v2(e.toString(),n.endTimeInSeconds.toString()):a}}));this.contractWrapper=e,this.storage=n,this.events=new Rn(this.contractWrapper),this.encoder=new it(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=ut.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 T9(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=ut.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 T9(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(ut.BigNumber.from(e));let n=await this.contractWrapper.read("getWinningBid",[e]);if(n._bidder!==ut.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(ut.BigNumber.from(e)),a=await this.contractWrapper.read("getWinningBid",[e]),r=ut.BigNumber.from(Math.floor(Date.now()/1e3)),f=ut.BigNumber.from(n.endTimeInSeconds);if(r.gt(f)&&a._bidder!==ut.constants.AddressZero)return a._bidder;let o=(await new Rn(this.contractWrapper).getEvents("AuctionClosed")).find(c=>c.data.auctionId.eq(ut.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(ut.BigNumber.from(e))]),f=a?ut.BigNumber.from(a.bidAmount):ut.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=uo.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:n=ut.BigNumber.from(e.startTimestamp).gt(r)?uo.Created:ut.BigNumber.from(e.endTimestamp).lt(r)?uo.Expired:uo.Active;break;case 2:n=uo.Completed;break;case 3:n=uo.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:ut.BigNumber.from(e.timeBufferInSeconds).toNumber(),bidBufferBps:ut.BigNumber.from(e.bidBufferBps).toNumber(),startTimeInSeconds:ut.BigNumber.from(e.startTimestamp).toNumber(),endTimeInSeconds:ut.BigNumber.from(e.endTimestamp).toNumber(),asset:await $8(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 rrn.parseAsync(e),a=await this.contractWrapper.getChainID(),r=mf(n.currencyContractAddress)?ob[a].wrapped.address:n.currencyContractAddress,f=await ta(this.contractWrapper.getProvider(),n.totalPrice,r),i=await this.contractWrapper.getCallOverrides();return await c1(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",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelOffer",args:[e]})));ae(this,"acceptOffer",be(async e=>{let n=await this.validateOffer(ut.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 sb(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 it(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=ut.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 T9(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=ut.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 T9(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=uo.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:n=ut.BigNumber.from(e.expirationTimestamp).lt(r)?uo.Expired:uo.Active;break;case 2:n=uo.Completed;break;case 3:n=uo.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 $8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),endTimeInSeconds:ut.BigNumber.from(e.expirationTimestamp).toNumber(),status:n}}async isStillValidOffer(e){if(ut.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=mf(e.currencyContractAddress)?ob[a].wrapped.address:e.currencyContractAddress,f=this.contractWrapper.getProvider(),i=(await Promise.resolve().then(()=>Ee(K1()))).default,s=new lt(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.countH6e});var dEa,lEa,SG,H6e,zr0=oe(()=>{"use strict";u();p();Fl();Rf();ln();or();ec();Ol();Vc();U6e();Da();ir();dEa=Ee(Va()),lEa=Ee(io());W0();SG=class SG{get directListings(){return O0(this.detectDirectListings(),cb)}get englishAuctions(){return O0(this.detectEnglishAuctions(),db)}get offers(){return O0(this.detectOffers(),lb)}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 lt(e,n,f,r,a);this._chainId=i,this.abi=ht.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,E9,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,SG.contractRoles),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(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 xE(this.contractWrapper,this.storage)}detectEnglishAuctions(){if(k0(this.contractWrapper,"EnglishAuctions"))return new EE(this.contractWrapper,this.storage)}detectOffers(){if(k0(this.contractWrapper,"Offers"))return new _E(this.contractWrapper,this.storage)}};ae(SG,"contractRoles",TE);H6e=SG});var Wr0=D((bEa,frn)=>{frn.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 RG(t,e,n){let a=t.getProvider(),r=(await Promise.resolve().then(()=>Ee(K1()))).default,f=new lt(a,e,r,{},t.storage),i=await t.getSignerAddress(),s=t.address;return(await f.read("allowance",[i,s])).gte(n)}var z6e=oe(()=>{"use strict";u();p();ln()});var po,qr0,od,AE=oe(()=>{"use strict";u();p();po=Ee(Je()),qr0=Ee(Yc());ln();g9();or();Rf();Da();od=class{constructor(e,n,a){ae(this,"set",be((()=>{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:po.constants.AddressZero,price:0,maxClaimableSupply:0,maxClaimablePerWallet:0,waitInSeconds:0,merkleRootHash:po.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 oG(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,xr0.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 it(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 it(e.contractWrapper);if(e.isLegacySinglePhaseDrop(e.contractWrapper)){let h=new it(e.contractWrapper);s.push(h.encode("setClaimConditions",[c,cE(d[0]),a]))}else if(e.isLegacyMultiPhaseDrop(e.contractWrapper))s.push(l.encode("setClaimConditions",[c,d.map(cE),a]));else if(e.isNewSinglePhaseDrop(e.contractWrapper))s.push(l.encode("setClaimConditions",[c,dE(d[0]),a]));else if(e.isNewMultiphaseDrop(e.contractWrapper))s.push(l.encode("setClaimConditions",[c,d.map(dE),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",be(async(e,n,a)=>{let r=await this.getAll(e),f=await cG(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 pE(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 lE(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 lE(r)}else if(this.isNewSinglePhaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("claimCondition",[e]);return uE(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 uE(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;opE(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 eh(v,"!CONDITION")||eh(v,"no active mint condition")||eh(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=sd(i.maxClaimablePerWallet,0);try{v=await this.getSupplyClaimedByWallet(e,s)}catch{}if(d&&(k=sd(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)&&bG()){let v=i.price.mul(n),k=this.contractWrapper.getProvider();if(mf(i.currencyAddress))(await k.getBalance(s)).lt(v)&&r.push(qn.NotEnoughTokens);else{let O=(await Promise.resolve().then(()=>Ee(K1()))).default;(await new lt(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 pM(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 sG(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)?X8.V1:X8.V2}},Tr0=fe.object({address:da,quantity:ff.default(1)}),Yan=fe.union([fe.array(fe.string()).transform(async t=>await Promise.all(t.map(e=>Tr0.parseAsync({address:e})))),fe.array(Tr0)]),x6e=class{constructor(e){ae(this,"featureName",wE.name);ae(this,"to",be(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 mG(this.contractWrapper,r.pricePerToken,a,r.currencyAddress,r.checkERC20Allowance)),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:[await Oe(e),n,a],overrides:f})}},E6e=class{constructor(e,n){ae(this,"featureName",wM.name);ae(this,"to",be(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,Ul,this.storage);this.conditions=new yM(e,a,this.storage)}},gM=class{constructor(e,n,a){ae(this,"featureName",xM.name);ae(this,"mint",be(async e=>{let n=e.payload,a=e.signature,[r,f]=await Promise.all([this.mapPayloadToContractStruct(n),this.contractWrapper.getCallOverrides()]);return await c1(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",be(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 it(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=>dr0.parseAsync(h))),r=a.map(h=>h.metadata),[f,i,s]=await Promise.all([Pl(r,this.storage),this.contractWrapper.getChainID(),yG(this.contractWrapper.address,this.contractWrapper.getProvider())]),o=await Promise.all(a.map((h,y)=>lr0.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:br0},h)))).map((h,y)=>({payload:o[y],signature:h.toString()}))}async mapPayloadToContractStruct(e){let n=await ta(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}}},_6e=class{constructor(e){ae(this,"featureName",nb.name);ae(this,"tokens",be(async(e,n)=>{let a=await this.contractWrapper.getSignerAddress();return this.from.prepare(a,e,n)}));ae(this,"from",be(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[await Oe(e),n,a]})));ae(this,"batch",be(async(e,n)=>{let a=await this.contractWrapper.getSignerAddress();return this.batchFrom.prepare(a,e,n)}));ae(this,"batchFrom",be(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burnBatch",args:[await Oe(e),n,a]})));this.contractWrapper=e}},A6e=class{constructor(e,n){ae(this,"featureName",rb.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||Li).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||Li;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()}))}},C6e=class{constructor(e,n,a){ae(this,"featureName",TM.name);ae(this,"lazyMint",be(async(e,n)=>{let a=await this.erc1155.nextTokenIdToMint(),r=await Pl(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 yG(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",be(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}},I6e=class{constructor(e,n,a){ae(this,"featureName",EM.name);ae(this,"to",be(async(e,n)=>{let a=n.map(c=>c.metadata),r=n.map(c=>c.supply),f=await Pl(a,this.storage),i=await Oe(e),s=new it(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}},k6e=class{constructor(e,n,a){ae(this,"featureName",ab.name);ae(this,"to",be(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",be(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 J8(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 I6e(this.erc1155,this.contractWrapper,this.storage)}},vE=class{constructor(e,n,a){ae(this,"featureName",TE.name);ae(this,"transfer",be((()=>{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",be((()=>{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",be((()=>{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",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setApprovalForAll",args:[e,n]})));ae(this,"airdrop",be((()=>{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 Yan.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 it(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",be(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintTo",be(async(e,n)=>O0(this.mintable,ab).to.prepare(e,n)));ae(this,"mintAdditionalSupply",be(async(e,n)=>O0(this.mintable,ab).additionalSupplyTo.prepare(await this.contractWrapper.getSignerAddress(),e,n)));ae(this,"mintAdditionalSupplyTo",be(async(e,n,a)=>O0(this.mintable,ab).additionalSupplyTo.prepare(e,n,a)));ae(this,"mintBatch",be(async e=>this.mintBatchTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintBatchTo",be(async(e,n)=>O0(this.mintable?.batch,EM).to.prepare(e,n)));ae(this,"burn",be(async(e,n)=>O0(this.burnable,nb).tokens.prepare(e,n)));ae(this,"burnFrom",be(async(e,n,a)=>O0(this.burnable,nb).from.prepare(e,n,a)));ae(this,"burnBatch",be(async(e,n)=>O0(this.burnable,nb).batch.prepare(e,n)));ae(this,"burnBatchFrom",be(async(e,n,a)=>O0(this.burnable,nb).batchFrom.prepare(e,n,a)));ae(this,"lazyMint",be(async(e,n)=>O0(this.lazyMintable,TM).lazyMint.prepare(e,n)));ae(this,"updateMetadata",be(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 Z1(gG)}));ae(this,"claim",be(async(e,n,a)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,n,a)));ae(this,"claimTo",be(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 Z1(wE)}));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:"",...sE}))]);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 Z1(vG)}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,rb).all(e)}async totalCount(){return O0(this.query,rb).totalCount()}async totalCirculatingSupply(e){return O0(this.query,rb).totalCirculatingSupply(e)}async getOwned(e,n){return e&&(e=await Oe(e)),O0(this.query,rb).owned(e,n)}async getMintTransaction(e,n){return O0(this.mintable,ab).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 Z1(wE)}get claimConditions(){return O0(this.claimWithConditions,wM).conditions}get signature(){return O0(this.signatureMintable,xM)}get revealer(){return O0(this.lazyMintable?.revealer,T9)}async getTokenMetadata(e){let n=await this.contractWrapper.read("uri",[e]);if(!n)throw new x9;return dM(e,n,this.storage)}detectErc1155Enumerable(){if(k0(this.contractWrapper,"ERC1155Enumerable"))return new A6e(this,this.contractWrapper)}detectErc1155Mintable(){if(k0(this.contractWrapper,"ERC1155Mintable"))return new k6e(this,this.contractWrapper,this.storage)}detectErc1155Burnable(){if(k0(this.contractWrapper,"ERC1155Burnable"))return new _6e(this.contractWrapper)}detectErc1155LazyMintable(){if(k0(this.contractWrapper,"ERC1155LazyMintableV1")||k0(this.contractWrapper,"ERC1155LazyMintableV2"))return new C6e(this,this.contractWrapper,this.storage)}detectErc1155SignatureMintable(){if(k0(this.contractWrapper,"ERC1155SignatureMintable"))return new gM(this.contractWrapper,this.storage)}detectErc1155Claimable(){if(k0(this.contractWrapper,"ERC1155ClaimCustom"))return new x6e(this.contractWrapper)}detectErc1155ClaimableWithConditions(){if(k0(this.contractWrapper,"ERC1155ClaimConditionsV1")||k0(this.contractWrapper,"ERC1155ClaimConditionsV2")||k0(this.contractWrapper,"ERC1155ClaimPhasesV1")||k0(this.contractWrapper,"ERC1155ClaimPhasesV2"))return new E6e(this.contractWrapper,this.storage)}}});var fb,wG=oe(()=>{"use strict";u();p();Da();vM();fb=class{constructor(e,n,a){ae(this,"transfer",be((()=>{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",be((()=>{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",be(async(e,n)=>this.erc1155.setApprovalForAll.prepare(e,n)));ae(this,"airdrop",be((()=>{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 vE(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 Xan(t){return d0(t in Er0,`chainId not supported by paper: ${t}`),Er0[t]}async function Zan(t,e){let n=Xan(e),r=await(await fetch(`${_r0}/register-contract?contractAddress=${t}&chain=${n}`)).json();return d0(r.result.id,"Contract is not registered with paper"),r.result.id}async function trn(t,e){let a=await(await fetch(`${_r0}/checkout-link-intent`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({contractId:t,...ern,...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 $an,Jan,_r0,Er0,ern,ib,TG=oe(()=>{"use strict";u();p();ln();ir();$an="https://paper.xyz/api",Jan="2022-08-12",_r0=`${$an}/${Jan}/platform/thirdweb`,Er0={[E0.Mainnet]:"Ethereum",[E0.Goerli]:"Goerli",[E0.Polygon]:"Polygon",[E0.Mumbai]:"Mumbai",[E0.Avalanche]:"Avalanche"};ern={expiresInMinutes:15,feeBearer:"BUYER",sendEmailOnSuccess:!0,redirectAfterPayment:!1};ib=class{constructor(e){this.contractWrapper=e}async getCheckoutId(){return Zan(this.contractWrapper.address,await this.contractWrapper.getChainID())}async isEnabled(){try{return!!await this.getCheckoutId()}catch{return!1}}async createLinkIntent(e){return await trn(await this.getCheckoutId(),e)}}});var Ar0={};G0(Ar0,{EditionDrop:()=>R6e});var EG,STa,RTa,BTa,S6e,xG,R6e,Cr0=oe(()=>{"use strict";u();p();EG=Ee(Je());ln();Da();Rf();or();ec();Nl();Ol();Vc();Z8();vM();wG();TG();ir();STa=Ee(Va()),RTa=Ee(io());W0();BTa=Ee(Yc()),S6e=class{constructor(e){this.events=e}async getAllClaimerAddresses(e){let n=(await this.events.getEvents("TokensClaimed")).filter(a=>a.data&&EG.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)))}},xG=class xG extends fb{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"createBatch",be(async(n,a)=>this.erc1155.lazyMint.prepare(n,a)));ae(this,"claimTo",be((()=>{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",be((()=>{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",be(async(n,a)=>this.erc1155.burn.prepare(n,a)));this.abi=ht.parse(i),this.metadata=new Wn(this.contractWrapper,_G,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,xG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.sales=new Ms(this.contractWrapper),this.claimConditions=new yM(this.contractWrapper,this.metadata,this.storage),this.events=new Rn(this.contractWrapper),this.history=new S6e(this.events),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.checkout=new ib(this.contractWrapper),this.owner=new Rs(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"),EG.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(xG,"contractRoles",Bs);R6e=xG});var Ir0=D((FTa,nrn)=>{nrn.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 kr0=D((NTa,arn)=>{arn.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 Rr0={};G0(Rr0,{Edition:()=>M6e});var Sr0,$Ta,JTa,ZTa,AG,M6e,Mr0=oe(()=>{"use strict";u();p();Sr0=Ee(Je());ln();Da();Rf();or();ec();Nl();Ol();Vc();Z8();vM();wG();ir();$Ta=Ee(Va()),JTa=Ee(io());W0();ZTa=Ee(Yc()),AG=class AG extends fb{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"mint",be(async n=>this.erc1155.mint.prepare(n)));ae(this,"mintTo",be(async(n,a)=>this.erc1155.mintTo.prepare(n,a)));ae(this,"mintAdditionalSupply",be(async(n,a)=>this.erc1155.mintAdditionalSupply.prepare(n,a)));ae(this,"mintAdditionalSupplyTo",be(async(n,a,r)=>this.erc1155.mintAdditionalSupplyTo.prepare(n,a,r)));ae(this,"mintBatch",be(async n=>this.erc1155.mintBatch.prepare(n)));ae(this,"mintBatchTo",be(async(n,a)=>this.erc1155.mintBatchTo.prepare(n,a)));ae(this,"burn",be(async(n,a)=>this.erc1155.burn.prepare(n,a)));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,CG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,AG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.sales=new Ms(this.contractWrapper),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.signature=new gM(this.contractWrapper,this.storage,this.roles),this.owner=new Rs(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"),Sr0.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(AG,"contractRoles",Bs);M6e=AG});var Br0=D((axa,rrn)=>{rrn.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 y2(t,e,n,a,r){try{let f=(await Promise.resolve().then(()=>Ee(iE()))).default,i=new th.Contract(n,f,t),[s,o]=await Promise.all([i.supportsInterface(Jm),i.supportsInterface(Xm)]);if(s){let c=(await Promise.resolve().then(()=>Ee(yx()))).default,d=new th.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(gx()))).default;return await new th.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 sb(t,e,n,a,r){let f=(await Promise.resolve().then(()=>Ee(iE()))).default,i=new lt(t.getSignerOrProvider(),n,f,t.options,t.storage),[s,o]=await Promise.all([i.read("supportsInterface",[Jm]),i.read("supportsInterface",[Xm])]);if(s){let c=(await Promise.resolve().then(()=>Ee(yx()))).default,d=new lt(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(gx()))).default,d=new lt(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 B6e(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 IG(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 Dr0(t,e,n){return n=th.BigNumber.from(n),t=th.BigNumber.from(t),e=th.BigNumber.from(e),t.eq(th.BigNumber.from(0))?!1:e.sub(t).mul(D6e).div(t).gte(n)}async function E9(t,e,n){let a=[];for(;e-t>Li;)a.push(n(t,t+Li-1)),t+=Li;return a.push(n(t,e-1)),await Promise.all(a)}var th,_M=oe(()=>{"use strict";u();p();th=Ee(Je());ir();Ll();ln();or()});function _9(t){return mf(t)?bf:t}var P6e=oe(()=>{"use strict";u();p();ln();or()});var d1,Pr0=oe(()=>{"use strict";u();p();d1=function(t){return t[t.Direct=0]="Direct",t[t.Auction=1]="Auction",t}({})});var Lr0={};G0(Lr0,{Marketplace:()=>N6e});var st,Dxa,Pxa,L6e,F6e,kG,N6e,Fr0=oe(()=>{"use strict";u();p();st=Ee(Je());ir();Ll();or();ln();_M();Da();Rf();ec();Ol();Vc();P6e();id();h2();Pr0();Dxa=Ee(Va()),Pxa=Ee(io());W0();L6e=class{constructor(e,n){ae(this,"createListing",be(async e=>{B6e(e);let n=await Oe(e.assetContractAddress),a=await Oe(e.currencyContractAddress);await sb(this.contractWrapper,this.getAddress(),n,e.tokenId,await this.contractWrapper.getSignerAddress());let r=await ta(this.contractWrapper.getProvider(),e.buyoutPricePerToken,a),f=await ta(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",be(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",be(async e=>{let n=await this.validateListing(st.BigNumber.from(e)),a=await Pi(this.contractWrapper.getProvider(),n.currencyContractAddress);return this.makeBid.prepare(e,st.utils.formatUnits(n.buyoutPrice,a.decimals))}));ae(this,"makeBid",be(async(e,n)=>{let a=await this.validateListing(st.BigNumber.from(e)),r=await ta(this.contractWrapper.getProvider(),n,a.currencyContractAddress);if(r.eq(st.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=Dr0(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=st.BigNumber.from(a.reservePrice);d0(l.gte(h),"Bid price is too low based on reserve price")}let s=st.BigNumber.from(a.quantity),o=r.mul(s),c=await this.contractWrapper.getCallOverrides()||{};await c1(this.contractWrapper,o,a.currencyContractAddress,c);let d=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"offer",args:[e,a.quantity,a.currencyContractAddress,r,st.constants.MaxUint256],overrides:c});return d.setGasLimitMultiple(1.2),d}));ae(this,"cancelListing",be(async e=>{let n=await this.validateListing(st.BigNumber.from(e)),a=st.BigNumber.from(Math.floor(Date.now()/1e3)),r=st.BigNumber.from(n.startTimeInEpochSeconds),f=await this.contractWrapper.read("winningBid",[e]);if(a.gt(r)&&f.offeror!==st.constants.AddressZero)throw new AM(e.toString());let i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"closeAuction",args:[st.BigNumber.from(e),await this.contractWrapper.getSignerAddress()]});return i.setGasLimitMultiple(1.2),i}));ae(this,"closeListing",be(async(e,n)=>{n||(n=await this.contractWrapper.getSignerAddress());let a=await this.validateListing(st.BigNumber.from(e));try{let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"closeAuction",args:[st.BigNumber.from(e),n]});return r.setGasLimitMultiple(1.2),r}catch(r){throw r.message.includes("cannot close auction before it has ended")?new v2(e.toString(),a.endTimeInEpochSeconds.toString()):r}}));ae(this,"executeSale",be(async e=>{let n=await this.validateListing(st.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 v2(e.toString(),n.endTimeInEpochSeconds.toString()):a}}));ae(this,"updateListing",be(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 it(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 g2(this.getAddress(),e.toString());if(n.listingType!==d1.Auction)throw new xE(this.getAddress(),e.toString(),"Direct","Auction");return await this.mapListing(n)}async getWinningBid(e){await this.validateListing(st.BigNumber.from(e));let n=await this.contractWrapper.read("winningBid",[e]);if(n.offeror!==st.constants.AddressZero)return await IG(this.contractWrapper.getProvider(),st.BigNumber.from(e),n)}async getWinner(e){let n=await this.validateListing(st.BigNumber.from(e)),a=await this.contractWrapper.read("winningBid",[e]),r=st.BigNumber.from(Math.floor(Date.now()/1e3)),f=st.BigNumber.from(n.endTimeInEpochSeconds);if(r.gt(f)&&a.offeror!==st.constants.AddressZero)return a.offeror;let o=(await new Rn(this.contractWrapper).getEvents("AuctionClosed")).find(c=>c.data.listingId.eq(st.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(st.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:st.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 $8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),reservePriceCurrencyValuePerToken:await Ja(this.contractWrapper.getProvider(),e.currency,e.reservePricePerToken),reservePrice:st.BigNumber.from(e.reservePricePerToken),endTimeInEpochSeconds:e.endTime,sellerAddress:e.tokenOwner,type:d1.Auction}}},F6e=class{constructor(e,n){ae(this,"createListing",be(async e=>{B6e(e);let n=await Oe(e.assetContractAddress),a=await Oe(e.currencyContractAddress);await sb(this.contractWrapper,this.getAddress(),n,e.tokenId,await this.contractWrapper.getSignerAddress());let r=await ta(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",be(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",be(async(e,n,a,r,f)=>{if(mf(a))throw new Error("You must use the wrapped native token address when making an offer with a native token");let i=await ta(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=st.BigNumber.from(n),o=st.BigNumber.from(i).mul(s),c=await this.contractWrapper.getCallOverrides()||{};await c1(this.contractWrapper,o,a,c);let d=st.constants.MaxUint256;f&&(d=st.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",be(async(e,n)=>{await this.validateListing(st.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",be(async(e,n,a)=>{let r=await this.validateListing(st.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=st.BigNumber.from(n),c=st.BigNumber.from(r.buyoutPrice).mul(o),d=await this.contractWrapper.getCallOverrides()||{};await c1(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",be(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",be(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===st.constants.AddressZero)throw new g2(this.getAddress(),e.toString());if(n.listingType!==d1.Direct)throw new xE(this.getAddress(),e.toString(),"Auction","Direct");return await this.mapListing(n)}async getActiveOffer(e,n){await this.validateListing(st.BigNumber.from(e)),d0(st.utils.isAddress(n),"Address must be a valid address");let a=await this.contractWrapper.read("offers",[e,await Oe(n)]);if(a.offeror!==st.constants.AddressZero)return await IG(this.contractWrapper.getProvider(),st.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:st.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 $8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),secondsUntilEnd:e.endTime,sellerAddress:e.tokenOwner,type:d1.Direct}}async isStillValidListing(e,n){if(!await y2(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(iE()))).default,i=new st.Contract(e.assetContractAddress,f,r),s=await i.supportsInterface(Jm),o=await i.supportsInterface(Xm);if(s){let c=(await Promise.resolve().then(()=>Ee(yx()))).default,d=new st.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(gx()))).default,h=(await new st.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."}}},kG=class kG{constructor(e,n,a){ae(this,"getAll",this.getAllListings);ae(this,"buyoutListing",be(async(e,n,a)=>{let r=await this.contractWrapper.read("listings",[e]);if(r.listingId.toString()!==e.toString())throw new g2(this.getAddress(),e.toString());switch(r.listingType){case d1.Direct:return d0(n!==void 0,"quantityDesired is required when buying out a direct listing"),await this.direct.buyoutListing.prepare(e,n,a);case d1.Auction:return await this.auction.buyoutListing.prepare(e);default:throw Error(`Unknown listing type: ${r.listingType}`)}}));ae(this,"makeOffer",be(async(e,n,a)=>{let r=await this.contractWrapper.read("listings",[e]);if(r.listingId.toString()!==e.toString())throw new g2(this.getAddress(),e.toString());let f=await this.contractWrapper.getChainID();switch(r.listingType){case d1.Direct:return d0(a,"quantity is required when making an offer on a direct listing"),await this.direct.makeOffer.prepare(e,a,mf(r.currency)?ob[f].wrapped.address:r.currency,n);case d1.Auction:return await this.auction.makeBid.prepare(e,n);default:throw Error(`Unknown listing type: ${r.listingType}`)}}));ae(this,"setBidBufferBps",be(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,st.BigNumber.from(e)]})}));ae(this,"setTimeBufferInSeconds",be(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:[st.BigNumber.from(e),n]})}));ae(this,"allowListingFromSpecificAssetOnly",be(async e=>{let n=[];return(await this.roles.get("asset")).includes(st.constants.AddressZero)&&n.push(this.encoder.encode("revokeRole",[cr("asset"),st.constants.AddressZero])),n.push(this.encoder.encode("grantRole",[cr("asset"),e])),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n]})}));ae(this,"allowListingFromAnyAsset",be(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"),st.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 lt(e,n,f,r,a);this._chainId=i,this.abi=ht.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,A9,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,kG.contractRoles),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.direct=new F6e(this.contractWrapper,this.storage),this.auction=new L6e(this.contractWrapper,this.storage),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(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===st.constants.AddressZero)throw new g2(this.getAddress(),e.toString());switch(n.listingType){case d1.Auction:return await this.auction.mapListing(n);case d1.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=st.BigNumber.from(Math.floor(Date.now()/1e3));return a.filter(f=>f.type===d1.Auction&&st.BigNumber.from(f.endTimeInEpochSeconds).gt(r)&&st.BigNumber.from(f.startTimeInEpochSeconds).lte(r)||f.type===d1.Direct&&st.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"),st.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=>IG(this.contractWrapper.getProvider(),st.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 g2)return;console.warn(`Failed to get listing ${a}' - skipping. Try 'marketplace.getListing(${a})' to get the underlying error.`);return}if(r.type===d1.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=st.BigNumber.from(n?.start||0).toNumber(),f=st.BigNumber.from(n?.count||Li).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(kG,"contractRoles",EE);N6e=kG});var Nr0=D((Uxa,frn)=>{frn.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 ut,Or0,uo,_E,irn,AE,srn,CE,O6e=oe(()=>{"use strict";u();p();ut=Ee(Je());ir();P6e();or();id();h2();ln();_M();Ll();Da();Fl();Jd();Rf();ec();Or0=fe.object({assetContractAddress:da,tokenId:Xa,quantity:Xa.default(1),currencyContractAddress:da.default(bf),pricePerToken:ff,startTimestamp:g9.default(new Date),endTimestamp:eb,isReservedListing:fe.boolean().default(!1)}),uo=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}({}),_E=class{constructor(e,n){ae(this,"featureName",cb.name);ae(this,"createListing",be(async e=>{let n=await Or0.parseAsync(e);await sb(this.contractWrapper,this.getAddress(),n.assetContractAddress,n.tokenId,await this.contractWrapper.getSignerAddress());let a=await ta(this.contractWrapper.getProvider(),n.pricePerToken,n.currencyContractAddress),f=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;n.startTimestamp.lt(f)&&(n.startTimestamp=ut.BigNumber.from(f));let i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createListing",args:[{assetContract:n.assetContractAddress,tokenId:n.tokenId,quantity:n.quantity,currency:_9(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",be(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",be(async(e,n)=>{let a=await Or0.parseAsync(n);await sb(this.contractWrapper,this.getAddress(),a.assetContractAddress,a.tokenId,await this.contractWrapper.getSignerAddress());let r=await ta(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:_9(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",be(async e=>{let n=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelListing",args:[e]});return n.setGasLimitMultiple(1.2),n}));ae(this,"buyFromListing",be(async(e,n,a)=>{a&&(a=await Oe(a));let r=await this.validateListing(ut.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=ut.BigNumber.from(n),c=ut.BigNumber.from(r.pricePerToken).mul(o),d=await this.contractWrapper.getCallOverrides()||{};await c1(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",be(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",be(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",be(async(e,n,a)=>{let r=await this.validateListing(ut.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",be(async(e,n)=>{let a=await this.validateListing(ut.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,ut.BigNumber.from(0)]});return i.setGasLimitMultiple(1.2),i}));this.contractWrapper=e,this.storage=n,this.events=new Rn(this.contractWrapper),this.encoder=new it(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=ut.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 E9(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=ut.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 E9(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(ut.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(ut.BigNumber.from(e)),await this.contractWrapper.read("isCurrencyApprovedForListing",[e,await Oe(n)])}async currencyPriceForListing(e,n){let a=await this.validateListing(ut.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=uo.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:n=ut.BigNumber.from(e.startTimestamp).gt(r)?uo.Created:ut.BigNumber.from(e.endTimestamp).lt(r)?uo.Expired:uo.Active;break;case 2:n=uo.Completed;break;case 3:n=uo.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:ut.BigNumber.from(e.startTimestamp).toNumber(),asset:await $8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),endTimeInSeconds:ut.BigNumber.from(e.endTimestamp).toNumber(),creatorAddress:e.listingCreator,isReservedListing:e.reserved,status:n}}async isStillValidListing(e,n){if(!await y2(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(iE()))).default,i=new ut.Contract(e.assetContractAddress,f,r),s=await i.supportsInterface(Jm),o=await i.supportsInterface(Xm);if(s){let c=(await Promise.resolve().then(()=>Ee(yx()))).default,d=new ut.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(gx()))).default,h=(await new ut.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=irn.parse(e);await sb(this.contractWrapper,this.getAddress(),n.assetContractAddress,n.tokenId,await this.contractWrapper.getSignerAddress());let a=await ta(this.contractWrapper.getProvider(),n.buyoutBidAmount,n.currencyContractAddress),r=await ta(this.contractWrapper.getProvider(),n.minimumBidAmount,n.currencyContractAddress),i=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;n.startTimestamp.lt(i)&&(n.startTimestamp=ut.BigNumber.from(i));let s=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createAuction",args:[{assetContract:n.assetContractAddress,tokenId:n.tokenId,quantity:n.quantity,currency:_9(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",be(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",be(async e=>{let n=await this.validateAuction(ut.BigNumber.from(e)),a=await Pi(this.contractWrapper.getProvider(),n.currencyContractAddress);return this.makeBid.prepare(e,ut.utils.formatUnits(n.buyoutBidAmount,a.decimals))}));ae(this,"makeBid",be(async(e,n)=>{let a=await this.validateAuction(ut.BigNumber.from(e)),r=await ta(this.contractWrapper.getProvider(),n,a.currencyContractAddress);if(r.eq(ut.BigNumber.from(0)))throw new Error("Cannot make a bid with 0 value");if(ut.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=ut.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 c1(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",be(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",be(async(e,n)=>{n||(n=await this.contractWrapper.getSignerAddress());let a=await this.validateAuction(ut.BigNumber.from(e));try{let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"collectAuctionTokens",args:[ut.BigNumber.from(e)]});return r.setGasLimitMultiple(1.2),r}catch(r){throw r.message.includes("Marketplace: auction still active.")?new v2(e.toString(),a.endTimeInSeconds.toString()):r}}));ae(this,"closeAuctionForSeller",be(async e=>{let n=await this.validateAuction(ut.BigNumber.from(e));try{let a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"collectAuctionPayout",args:[ut.BigNumber.from(e)]});return a.setGasLimitMultiple(1.2),a}catch(a){throw a.message.includes("Marketplace: auction still active.")?new v2(e.toString(),n.endTimeInSeconds.toString()):a}}));ae(this,"executeSale",be(async e=>{let n=await this.validateAuction(ut.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 v2(e.toString(),n.endTimeInSeconds.toString()):a}}));this.contractWrapper=e,this.storage=n,this.events=new Rn(this.contractWrapper),this.encoder=new it(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=ut.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 E9(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=ut.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 E9(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(ut.BigNumber.from(e));let n=await this.contractWrapper.read("getWinningBid",[e]);if(n._bidder!==ut.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(ut.BigNumber.from(e)),a=await this.contractWrapper.read("getWinningBid",[e]),r=ut.BigNumber.from(Math.floor(Date.now()/1e3)),f=ut.BigNumber.from(n.endTimeInSeconds);if(r.gt(f)&&a._bidder!==ut.constants.AddressZero)return a._bidder;let o=(await new Rn(this.contractWrapper).getEvents("AuctionClosed")).find(c=>c.data.auctionId.eq(ut.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(ut.BigNumber.from(e))]),f=a?ut.BigNumber.from(a.bidAmount):ut.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=uo.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:n=ut.BigNumber.from(e.startTimestamp).gt(r)?uo.Created:ut.BigNumber.from(e.endTimestamp).lt(r)?uo.Expired:uo.Active;break;case 2:n=uo.Completed;break;case 3:n=uo.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:ut.BigNumber.from(e.timeBufferInSeconds).toNumber(),bidBufferBps:ut.BigNumber.from(e.bidBufferBps).toNumber(),startTimeInSeconds:ut.BigNumber.from(e.startTimestamp).toNumber(),endTimeInSeconds:ut.BigNumber.from(e.endTimestamp).toNumber(),asset:await $8(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 srn.parseAsync(e),a=await this.contractWrapper.getChainID(),r=mf(n.currencyContractAddress)?ob[a].wrapped.address:n.currencyContractAddress,f=await ta(this.contractWrapper.getProvider(),n.totalPrice,r),i=await this.contractWrapper.getCallOverrides();return await c1(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",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelOffer",args:[e]})));ae(this,"acceptOffer",be(async e=>{let n=await this.validateOffer(ut.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 sb(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 it(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=ut.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 E9(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=ut.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 E9(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=uo.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:n=ut.BigNumber.from(e.expirationTimestamp).lt(r)?uo.Expired:uo.Active;break;case 2:n=uo.Completed;break;case 3:n=uo.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 $8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),endTimeInSeconds:ut.BigNumber.from(e.expirationTimestamp).toNumber(),status:n}}async isStillValidOffer(e){if(ut.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=mf(e.currencyContractAddress)?ob[a].wrapped.address:e.currencyContractAddress,f=this.contractWrapper.getProvider(),i=(await Promise.resolve().then(()=>Ee(K1()))).default,s=new lt(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.countU6e});var pEa,hEa,SG,U6e,Hr0=oe(()=>{"use strict";u();p();Fl();Rf();ln();or();ec();Ol();Vc();O6e();Da();ir();pEa=Ee(Va()),hEa=Ee(io());W0();SG=class SG{get directListings(){return O0(this.detectDirectListings(),cb)}get englishAuctions(){return O0(this.detectEnglishAuctions(),db)}get offers(){return O0(this.detectOffers(),lb)}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 lt(e,n,f,r,a);this._chainId=i,this.abi=ht.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,A9,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,SG.contractRoles),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(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 _E(this.contractWrapper,this.storage)}detectEnglishAuctions(){if(k0(this.contractWrapper,"EnglishAuctions"))return new AE(this.contractWrapper,this.storage)}detectOffers(){if(k0(this.contractWrapper,"Offers"))return new CE(this.contractWrapper,this.storage)}};ae(SG,"contractRoles",EE);U6e=SG});var zr0=D((vEa,orn)=>{orn.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 RG(t,e,n){let a=t.getProvider(),r=(await Promise.resolve().then(()=>Ee(K1()))).default,f=new lt(a,e,r,{},t.storage),i=await t.getSignerAddress(),s=t.address;return(await f.read("allowance",[i,s])).gte(n)}var H6e=oe(()=>{"use strict";u();p();ln()});var po,Wr0,od,IE=oe(()=>{"use strict";u();p();po=Ee(Je()),Wr0=Ee(Yc());ln();w9();or();Rf();Da();od=class{constructor(e,n,a){ae(this,"set",be((()=>{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:po.constants.AddressZero,price:0,maxClaimableSupply:0,maxClaimablePerWallet:0,waitInSeconds:0,merkleRootHash:po.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 oG(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,qr0.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 it(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 it(d);if(e.isLegacySinglePhaseDrop(d)){let h=new it(d);c.push(h.encode("setClaimConditions",[sE(i[0]),a]))}else if(e.isLegacyMultiPhaseDrop(d))c.push(l.encode("setClaimConditions",[i.map(sE),a]));else if(e.isNewSinglePhaseDrop(d))c.push(l.encode("setClaimConditions",[oE(i[0]),a]));else if(e.isNewMultiphaseDrop(d))c.push(l.encode("setClaimConditions",[i.map(oE),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",be(async(e,n)=>{let a=await this.getAll(),r=await cG(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 lE(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 cE(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 cE(a)}else if(this.isNewSinglePhaseDrop(this.contractWrapper)){let n=await this.contractWrapper.read("claimCondition",[]);return dE(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 dE(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;dlE(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=po.utils.parseUnits(ff.parse(e),s);try{f=await this.getActive()}catch(h){return eh(h,"!CONDITION")||eh(h,"no active mint condition")||eh(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"&&po.utils.parseUnits(f.availableSupply,s).lt(o))return a.push(qn.NotEnoughSupply),a;let d=po.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=po.BigNumber.from(0),y=sd(f.maxClaimablePerWallet,s);try{h=await this.getSupplyClaimedByWallet(i)}catch{}if(l&&(y=sd(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]=[po.BigNumber.from(0),po.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=po.BigNumber.from(Date.now()).div(1e3);if(h.gt(0)&&v.lt(y))return y.eq(po.constants.MaxUint256)?a.push(qn.AlreadyClaimed):a.push(qn.WaitBeforeNextClaimTransaction),a}if(f.price.gt(0)&&bG()){let h=f.price.mul(po.BigNumber.from(e)),y=this.contractWrapper.getProvider();if(mf(f.currencyAddress))(await y.getBalance(i)).lt(h)&&a.push(qn.NotEnoughTokens);else{let v=(await Promise.resolve().then(()=>Ee(K1()))).default;(await new lt(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(po.utils.stripZeros(r).length>0){let[i,s]=await Promise.all([this.metadata.get(),Oe(e)]);return await uM(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 sG(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},po.utils.toUtf8Bytes("")]:[r,n,a.currencyAddress,a.price,{proof:a.proofs,quantityLimitPerWallet:a.maxClaimable,pricePerToken:a.priceInProof,currency:a.currencyAddressInProof},po.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)?X8.V1:X8.V2}}});function irn(t){return dr.utils.parseEther(ff.parse(t))}var dr,W6e,q6e,j6e,G6e,K6e,Q6e,V6e,Y6e,$6e,J6e,X6e,Z6e,e5e,srn,orn,t5e,ub,CE,AM=oe(()=>{"use strict";u();p();dr=Ee(Je());ln();Fl();Rf();Ll();Da();AE();Nl();or();Ex();h2();ir();id();Jd();g9();W6e=class{constructor(e){ae(this,"featureName",CM.name);ae(this,"token",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[e]})));this.contractWrapper=e}},q6e=class{constructor(e,n,a){ae(this,"featureName",kM.name);ae(this,"to",be(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,Ul,this.storage);this.conditions=new od(this.contractWrapper,r,this.storage)}};j6e=class{constructor(e,n){ae(this,"featureName",MG.name);ae(this,"to",be(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=irn("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",[])}},G6e=class{constructor(e,n){ae(this,"featureName",IE.name);ae(this,"to",be(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 mG(this.contractWrapper,a.pricePerToken,n,a.currencyAddress,a.checkERC20Allowance)),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:[e,n],overrides:r})}},K6e=class{constructor(e,n,a){ae(this,"featureName",SM.name);ae(this,"lazyMint",be(async(e,n)=>{let a=await this.erc721.nextTokenIdToMint(),r=await Pl(e,this.storage,a.toNumber(),n),f=Zm(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",be(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())}},Q6e=class{constructor(e){ae(this,"featureName",pb.name);ae(this,"cancel",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancel",args:[e]})));ae(this,"revoke",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"revoke",args:[e]})));this.contractWrapper=e}},V6e=class{constructor(e,n){ae(this,"featureName",A9.name);ae(this,"update",be(async(e,n)=>{let a=await J8(n,this.storage);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setTokenURI",args:[e,a]})}));this.contractWrapper=e,this.storage=n}},Y6e=class{constructor(e,n,a){ae(this,"featureName",RM.name);ae(this,"to",be(async(e,n)=>{let[a,r]=await Promise.all([Pl(n,this.storage),Oe(e)]),f=new it(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}},$6e=class{constructor(e,n,a){ae(this,"featureName",MM.name);ae(this,"to",be(async(e,n)=>{let[a,r]=await Promise.all([J8(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 Y6e(this.erc721,this.contractWrapper,this.storage)}},J6e=class{constructor(e,n){ae(this,"featureName",DM.name);ae(this,"set",be(async e=>{let n=m6e.parse(e);n.description=this.sanitizeJSONString(n.description);let a=[];km(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)),km(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)}},X6e=class{constructor(e,n){ae(this,"featureName",BG.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||Li;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])))}},Z6e=class{constructor(e,n){ae(this,"featureName",DG.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||Li;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])}},e5e=class{constructor(e,n){ae(this,"featureName",_9.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||Li).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||Li;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 X6e(this.erc721,this.contractWrapper);if(k0(this.contractWrapper,"ERC721AQueryable"))return new Z6e(this.erc721,this.contractWrapper)}},srn=lG.extend({tierPriority:fe.array(fe.string()),royaltyRecipient:da.default(dr.constants.AddressZero),royaltyBps:tb.default(0),quantity:ts.default(1)}),orn=[{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"},{name:"data",type:"bytes"}],t5e=class{constructor(e,n,a){ae(this,"featureName",IM.name);ae(this,"createBatchWithTier",be(async(e,n,a)=>{let r=await this.erc721.nextTokenIdToMint(),f=await Pl(e,this.storage,r.toNumber(),a),i=Zm(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",be(async(e,n,a,r,f)=>{if(!a)throw new Error("Password is required");let i=await this.storage.uploadBatch([Dl.parse(e)],{rewriteFileNames:{fileStartNumber:0}}),s=Zm(i),o=await this.erc721.nextTokenIdToMint(),c=await this.storage.uploadBatch(n.map(F=>Dl.parse(F)),{onProgress:f?.onProgress,rewriteFileNames:{fileStartNumber:o.toNumber()}}),d=Zm(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",be(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();ssrn.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:orn},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 ta(this.contractWrapper.getProvider(),e.payload.price,e.payload.currencyAddress),r=await this.contractWrapper.getCallOverrides();await c1(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 ta(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}}},ub=class{constructor(e,n){ae(this,"featureName",BM.name);ae(this,"mint",be(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 c1(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 c1(this.contractWrapper,s,n.currencyAddress,r),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[i,a],overrides:r,parse:f})}}));ae(this,"mintBatch",be(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 it(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=>pr0.parseAsync(o))),r=a.map(o=>o.metadata),f=await Pl(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 hr0.parseAsync({...o,uri:d}),h;return n?h=await this.contractWrapper.signTypedData(s,{name:"TokenERC721",version:"1",chainId:i,verifyingContract:this.contractWrapper.address},{MintRequest:br0},await this.mapLegacyPayloadToContractStruct(l)):h=await this.contractWrapper.signTypedData(s,{name:"SignatureMintERC721",version:"1",chainId:i,verifyingContract:await this.contractWrapper.address},{MintRequest:gr0},await this.mapPayloadToContractStruct(l)),{payload:l,signature:h.toString()}}))}async mapPayloadToContractStruct(e){let n=await ta(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 ta(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")}},CE=class{constructor(e,n,a){ae(this,"featureName",kE.name);ae(this,"transfer",be(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",be(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",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setApprovalForAll",args:[await Oe(e),n]})));ae(this,"setApprovalForToken",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[await Oe(e),n]})));ae(this,"mint",be(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintTo",be(async(e,n)=>O0(this.mintable,MM).to.prepare(e,n)));ae(this,"mintBatch",be(async e=>this.mintBatchTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintBatchTo",be(async(e,n)=>O0(this.mintable?.batch,RM).to.prepare(e,n)));ae(this,"burn",be(async e=>O0(this.burnable,CM).token.prepare(e)));ae(this,"cancel",be(async e=>O0(this.loyaltyCard,pb).cancel.prepare(e)));ae(this,"revoke",be(async e=>O0(this.loyaltyCard,pb).revoke.prepare(e)));ae(this,"lazyMint",be(async(e,n)=>O0(this.lazyMintable,SM).lazyMint.prepare(e,n)));ae(this,"updateMetadata",be(async(e,n)=>this.lazyMintable?this.lazyMintable.updateMetadata.prepare(e,n):O0(this.updatableMetadata,A9).update.prepare(e,n)));ae(this,"claim",be(async(e,n)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,n)));ae(this,"claimTo",be(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 Z1(IE)}));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:"",...fE}))]);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,_9).all(e)}async getAllOwners(e){return O0(this.query,_9).allOwners(e)}async totalCount(){return this.nextTokenIdToMint()}async totalCirculatingSupply(){return O0(this.query,_9).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 Z1(IE)}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,kM).conditions}get tieredDrop(){return O0(this.tieredDropable,IM)}get signature(){return O0(this.signatureMintable,BM)}get revealer(){return O0(this.lazyMintable?.revealer,nh)}get sharedMetadata(){return O0(this.erc721SharedMetadata,DM)}async getTokenMetadata(e){let n=await this.contractWrapper.read("tokenURI",[e]);if(!n)throw new w9;return cM(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 e5e(this,this.contractWrapper)}detectErc721Mintable(){if(k0(this.contractWrapper,"ERC721Mintable"))return new $6e(this,this.contractWrapper,this.storage)}detectErc721Burnable(){if(k0(this.contractWrapper,"ERC721Burnable"))return new W6e(this.contractWrapper)}detectErc721LazyMintable(){if(k0(this.contractWrapper,"ERC721LazyMintable"))return new K6e(this,this.contractWrapper,this.storage)}detectErc721TieredDrop(){if(k0(this.contractWrapper,"ERC721TieredDrop"))return new t5e(this,this.contractWrapper,this.storage)}detectErc721SignatureMintable(){if(k0(this.contractWrapper,"ERC721SignatureMintV1")||k0(this.contractWrapper,"ERC721SignatureMintV2"))return new ub(this.contractWrapper,this.storage)}detectErc721ClaimableWithConditions(){if(k0(this.contractWrapper,"ERC721ClaimConditionsV1")||k0(this.contractWrapper,"ERC721ClaimConditionsV2")||k0(this.contractWrapper,"ERC721ClaimPhasesV1")||k0(this.contractWrapper,"ERC721ClaimPhasesV2"))return new q6e(this,this.contractWrapper,this.storage)}detectErc721Claimable(){if(k0(this.contractWrapper,"ERC721ClaimCustom"))return new G6e(this,this.contractWrapper)}detectErc721ClaimableZora(){if(k0(this.contractWrapper,"ERC721ClaimZora"))return new j6e(this,this.contractWrapper)}detectErc721SharedMetadata(){if(k0(this.contractWrapper,"ERC721SharedMetadata"))return new J6e(this.contractWrapper,this.storage)}detectErc721LoyaltyCard(){if(k0(this.contractWrapper,"ERC721LoyaltyCard"))return new Q6e(this.contractWrapper)}detectErc721UpdatableMetadata(){if(k0(this.contractWrapper,"ERC721UpdatableMetadata"))return new V6e(this.contractWrapper,this.storage)}}});var w2,PM=oe(()=>{"use strict";u();p();ln();Da();AM();w2=class{constructor(e,n,a){ae(this,"transfer",be(async(e,n)=>this.erc721.transfer.prepare(e,n)));ae(this,"setApprovalForAll",be(async(e,n)=>this.erc721.setApprovalForAll.prepare(e,n)));ae(this,"setApprovalForToken",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[await Oe(e),n]})));this.contractWrapper=e,this.storage=n,this.erc721=new CE(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 Gr0={};G0(Gr0,{Multiwrap:()=>n5e});var jr0,p_a,h_a,b_a,PG,n5e,Kr0=oe(()=>{"use strict";u();p();jr0=Ee(Je());or();z6e();id();ln();EM();Ll();Da();Rf();Nl();Vc();PM();ir();p_a=Ee(Va()),h_a=Ee(io());W0();b_a=Ee(Yc()),PG=class PG extends w2{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"wrap",be(async(n,a,r)=>{let[f,i,s]=await Promise.all([J8(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",be(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=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,a5e,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,PG.contractRoles),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.royalties=new Ss(this.contractWrapper,this.metadata),this.owner=new Rs(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 Pi(this.contractWrapper.getProvider(),s.assetContract);r.push({contractAddress:s.assetContract,quantity:jr0.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 ta(r,i.quantity,i.contractAddress);if(!await RG(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 oG(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,Wr0.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 it(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 it(d);if(e.isLegacySinglePhaseDrop(d)){let h=new it(d);c.push(h.encode("setClaimConditions",[cE(i[0]),a]))}else if(e.isLegacyMultiPhaseDrop(d))c.push(l.encode("setClaimConditions",[i.map(cE),a]));else if(e.isNewSinglePhaseDrop(d))c.push(l.encode("setClaimConditions",[dE(i[0]),a]));else if(e.isNewMultiphaseDrop(d))c.push(l.encode("setClaimConditions",[i.map(dE),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",be(async(e,n)=>{let a=await this.getAll(),r=await cG(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 pE(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 lE(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 lE(a)}else if(this.isNewSinglePhaseDrop(this.contractWrapper)){let n=await this.contractWrapper.read("claimCondition",[]);return uE(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 uE(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;dpE(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=po.utils.parseUnits(ff.parse(e),s);try{f=await this.getActive()}catch(h){return eh(h,"!CONDITION")||eh(h,"no active mint condition")||eh(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"&&po.utils.parseUnits(f.availableSupply,s).lt(o))return a.push(qn.NotEnoughSupply),a;let d=po.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=po.BigNumber.from(0),y=sd(f.maxClaimablePerWallet,s);try{h=await this.getSupplyClaimedByWallet(i)}catch{}if(l&&(y=sd(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]=[po.BigNumber.from(0),po.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=po.BigNumber.from(Date.now()).div(1e3);if(h.gt(0)&&v.lt(y))return y.eq(po.constants.MaxUint256)?a.push(qn.AlreadyClaimed):a.push(qn.WaitBeforeNextClaimTransaction),a}if(f.price.gt(0)&&bG()){let h=f.price.mul(po.BigNumber.from(e)),y=this.contractWrapper.getProvider();if(mf(f.currencyAddress))(await y.getBalance(i)).lt(h)&&a.push(qn.NotEnoughTokens);else{let v=(await Promise.resolve().then(()=>Ee(K1()))).default;(await new lt(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(po.utils.stripZeros(r).length>0){let[i,s]=await Promise.all([this.metadata.get(),Oe(e)]);return await pM(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 sG(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},po.utils.toUtf8Bytes("")]:[r,n,a.currencyAddress,a.price,{proof:a.proofs,quantityLimitPerWallet:a.maxClaimable,pricePerToken:a.priceInProof,currency:a.currencyAddressInProof},po.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)?X8.V1:X8.V2}}});function crn(t){return dr.utils.parseEther(ff.parse(t))}var dr,z6e,W6e,q6e,j6e,G6e,K6e,Q6e,V6e,Y6e,$6e,J6e,X6e,Z6e,drn,lrn,e5e,ub,kE,CM=oe(()=>{"use strict";u();p();dr=Ee(Je());ln();Fl();Rf();Ll();Da();IE();Nl();or();Ax();h2();ir();id();Jd();w9();z6e=class{constructor(e){ae(this,"featureName",IM.name);ae(this,"token",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[e]})));this.contractWrapper=e}},W6e=class{constructor(e,n,a){ae(this,"featureName",SM.name);ae(this,"to",be(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,Ul,this.storage);this.conditions=new od(this.contractWrapper,r,this.storage)}};q6e=class{constructor(e,n){ae(this,"featureName",MG.name);ae(this,"to",be(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=crn("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",[])}},j6e=class{constructor(e,n){ae(this,"featureName",SE.name);ae(this,"to",be(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 mG(this.contractWrapper,a.pricePerToken,n,a.currencyAddress,a.checkERC20Allowance)),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:[e,n],overrides:r})}},G6e=class{constructor(e,n,a){ae(this,"featureName",RM.name);ae(this,"lazyMint",be(async(e,n)=>{let a=await this.erc721.nextTokenIdToMint(),r=await Pl(e,this.storage,a.toNumber(),n),f=Zm(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",be(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())}},K6e=class{constructor(e){ae(this,"featureName",pb.name);ae(this,"cancel",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancel",args:[e]})));ae(this,"revoke",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"revoke",args:[e]})));this.contractWrapper=e}},Q6e=class{constructor(e,n){ae(this,"featureName",I9.name);ae(this,"update",be(async(e,n)=>{let a=await J8(n,this.storage);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setTokenURI",args:[e,a]})}));this.contractWrapper=e,this.storage=n}},V6e=class{constructor(e,n,a){ae(this,"featureName",MM.name);ae(this,"to",be(async(e,n)=>{let[a,r]=await Promise.all([Pl(n,this.storage),Oe(e)]),f=new it(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}},Y6e=class{constructor(e,n,a){ae(this,"featureName",BM.name);ae(this,"to",be(async(e,n)=>{let[a,r]=await Promise.all([J8(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 V6e(this.erc721,this.contractWrapper,this.storage)}},$6e=class{constructor(e,n){ae(this,"featureName",PM.name);ae(this,"set",be(async e=>{let n=h6e.parse(e);n.description=this.sanitizeJSONString(n.description);let a=[];km(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)),km(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)}},J6e=class{constructor(e,n){ae(this,"featureName",BG.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||Li;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])))}},X6e=class{constructor(e,n){ae(this,"featureName",DG.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||Li;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])}},Z6e=class{constructor(e,n){ae(this,"featureName",C9.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||Li).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||Li;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 J6e(this.erc721,this.contractWrapper);if(k0(this.contractWrapper,"ERC721AQueryable"))return new X6e(this.erc721,this.contractWrapper)}},drn=lG.extend({tierPriority:fe.array(fe.string()),royaltyRecipient:da.default(dr.constants.AddressZero),royaltyBps:tb.default(0),quantity:ts.default(1)}),lrn=[{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"},{name:"data",type:"bytes"}],e5e=class{constructor(e,n,a){ae(this,"featureName",kM.name);ae(this,"createBatchWithTier",be(async(e,n,a)=>{let r=await this.erc721.nextTokenIdToMint(),f=await Pl(e,this.storage,r.toNumber(),a),i=Zm(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",be(async(e,n,a,r,f)=>{if(!a)throw new Error("Password is required");let i=await this.storage.uploadBatch([Dl.parse(e)],{rewriteFileNames:{fileStartNumber:0}}),s=Zm(i),o=await this.erc721.nextTokenIdToMint(),c=await this.storage.uploadBatch(n.map(F=>Dl.parse(F)),{onProgress:f?.onProgress,rewriteFileNames:{fileStartNumber:o.toNumber()}}),d=Zm(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",be(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();sdrn.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:lrn},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 ta(this.contractWrapper.getProvider(),e.payload.price,e.payload.currencyAddress),r=await this.contractWrapper.getCallOverrides();await c1(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 ta(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}}},ub=class{constructor(e,n){ae(this,"featureName",DM.name);ae(this,"mint",be(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 c1(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 c1(this.contractWrapper,s,n.currencyAddress,r),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[i,a],overrides:r,parse:f})}}));ae(this,"mintBatch",be(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 it(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=>ur0.parseAsync(o))),r=a.map(o=>o.metadata),f=await Pl(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 pr0.parseAsync({...o,uri:d}),h;return n?h=await this.contractWrapper.signTypedData(s,{name:"TokenERC721",version:"1",chainId:i,verifyingContract:this.contractWrapper.address},{MintRequest:mr0},await this.mapLegacyPayloadToContractStruct(l)):h=await this.contractWrapper.signTypedData(s,{name:"SignatureMintERC721",version:"1",chainId:i,verifyingContract:await this.contractWrapper.address},{MintRequest:yr0},await this.mapPayloadToContractStruct(l)),{payload:l,signature:h.toString()}}))}async mapPayloadToContractStruct(e){let n=await ta(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 ta(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")}},kE=class{constructor(e,n,a){ae(this,"featureName",RE.name);ae(this,"transfer",be(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",be(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",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setApprovalForAll",args:[await Oe(e),n]})));ae(this,"setApprovalForToken",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[await Oe(e),n]})));ae(this,"mint",be(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintTo",be(async(e,n)=>O0(this.mintable,BM).to.prepare(e,n)));ae(this,"mintBatch",be(async e=>this.mintBatchTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintBatchTo",be(async(e,n)=>O0(this.mintable?.batch,MM).to.prepare(e,n)));ae(this,"burn",be(async e=>O0(this.burnable,IM).token.prepare(e)));ae(this,"cancel",be(async e=>O0(this.loyaltyCard,pb).cancel.prepare(e)));ae(this,"revoke",be(async e=>O0(this.loyaltyCard,pb).revoke.prepare(e)));ae(this,"lazyMint",be(async(e,n)=>O0(this.lazyMintable,RM).lazyMint.prepare(e,n)));ae(this,"updateMetadata",be(async(e,n)=>this.lazyMintable?this.lazyMintable.updateMetadata.prepare(e,n):O0(this.updatableMetadata,I9).update.prepare(e,n)));ae(this,"claim",be(async(e,n)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,n)));ae(this,"claimTo",be(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 Z1(SE)}));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:"",...sE}))]);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,C9).all(e)}async getAllOwners(e){return O0(this.query,C9).allOwners(e)}async totalCount(){return this.nextTokenIdToMint()}async totalCirculatingSupply(){return O0(this.query,C9).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 Z1(SE)}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,SM).conditions}get tieredDrop(){return O0(this.tieredDropable,kM)}get signature(){return O0(this.signatureMintable,DM)}get revealer(){return O0(this.lazyMintable?.revealer,nh)}get sharedMetadata(){return O0(this.erc721SharedMetadata,PM)}async getTokenMetadata(e){let n=await this.contractWrapper.read("tokenURI",[e]);if(!n)throw new x9;return dM(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 Z6e(this,this.contractWrapper)}detectErc721Mintable(){if(k0(this.contractWrapper,"ERC721Mintable"))return new Y6e(this,this.contractWrapper,this.storage)}detectErc721Burnable(){if(k0(this.contractWrapper,"ERC721Burnable"))return new z6e(this.contractWrapper)}detectErc721LazyMintable(){if(k0(this.contractWrapper,"ERC721LazyMintable"))return new G6e(this,this.contractWrapper,this.storage)}detectErc721TieredDrop(){if(k0(this.contractWrapper,"ERC721TieredDrop"))return new e5e(this,this.contractWrapper,this.storage)}detectErc721SignatureMintable(){if(k0(this.contractWrapper,"ERC721SignatureMintV1")||k0(this.contractWrapper,"ERC721SignatureMintV2"))return new ub(this.contractWrapper,this.storage)}detectErc721ClaimableWithConditions(){if(k0(this.contractWrapper,"ERC721ClaimConditionsV1")||k0(this.contractWrapper,"ERC721ClaimConditionsV2")||k0(this.contractWrapper,"ERC721ClaimPhasesV1")||k0(this.contractWrapper,"ERC721ClaimPhasesV2"))return new W6e(this,this.contractWrapper,this.storage)}detectErc721Claimable(){if(k0(this.contractWrapper,"ERC721ClaimCustom"))return new j6e(this,this.contractWrapper)}detectErc721ClaimableZora(){if(k0(this.contractWrapper,"ERC721ClaimZora"))return new q6e(this,this.contractWrapper)}detectErc721SharedMetadata(){if(k0(this.contractWrapper,"ERC721SharedMetadata"))return new $6e(this.contractWrapper,this.storage)}detectErc721LoyaltyCard(){if(k0(this.contractWrapper,"ERC721LoyaltyCard"))return new K6e(this.contractWrapper)}detectErc721UpdatableMetadata(){if(k0(this.contractWrapper,"ERC721UpdatableMetadata"))return new Q6e(this.contractWrapper,this.storage)}}});var w2,LM=oe(()=>{"use strict";u();p();ln();Da();CM();w2=class{constructor(e,n,a){ae(this,"transfer",be(async(e,n)=>this.erc721.transfer.prepare(e,n)));ae(this,"setApprovalForAll",be(async(e,n)=>this.erc721.setApprovalForAll.prepare(e,n)));ae(this,"setApprovalForToken",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[await Oe(e),n]})));this.contractWrapper=e,this.storage=n,this.erc721=new kE(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 jr0={};G0(jr0,{Multiwrap:()=>t5e});var qr0,b_a,y_a,v_a,PG,t5e,Gr0=oe(()=>{"use strict";u();p();qr0=Ee(Je());or();H6e();id();ln();_M();Ll();Da();Rf();Nl();Vc();LM();ir();b_a=Ee(Va()),y_a=Ee(io());W0();v_a=Ee(Yc()),PG=class PG extends w2{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"wrap",be(async(n,a,r)=>{let[f,i,s]=await Promise.all([J8(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",be(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=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,n5e,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,PG.contractRoles),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.royalties=new Ss(this.contractWrapper,this.metadata),this.owner=new Rs(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 Pi(this.contractWrapper.getProvider(),s.assetContract);r.push({contractAddress:s.assetContract,quantity:qr0.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 ta(r,i.quantity,i.contractAddress);if(!await RG(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(PG,"contractRoles",r5e);n5e=PG});var Qr0=D((w_a,crn)=>{crn.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 Yr0={};G0(Yr0,{NFTCollection:()=>f5e});var Vr0,D_a,P_a,F_a,LG,f5e,$r0=oe(()=>{"use strict";u();p();Vr0=Ee(Je());ln();Da();Rf();or();ec();Nl();Ol();Vc();Z8();PM();AM();ir();D_a=Ee(Va()),P_a=Ee(io());W0();F_a=Ee(Yc()),LG=class LG extends w2{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"mint",be(async n=>this.erc721.mint.prepare(n)));ae(this,"mintTo",be(async(n,a)=>this.erc721.mintTo.prepare(n,a)));ae(this,"mintBatch",be(async n=>this.erc721.mintBatch.prepare(n)));ae(this,"mintBatchTo",be(async(n,a)=>this.erc721.mintBatchTo.prepare(n,a)));ae(this,"burn",be(n=>this.erc721.burn.prepare(n)));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,FG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,LG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.sales=new Ms(this.contractWrapper),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.signature=new ub(this.contractWrapper,this.storage),this.owner=new Rs(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),Vr0.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(LG,"contractRoles",Bs);f5e=LG});var Jr0=D((H_a,drn)=>{drn.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 Xr0={};G0(Xr0,{NFTDrop:()=>i5e});var ah,tAa,nAa,rAa,NG,i5e,Zr0=oe(()=>{"use strict";u();p();ah=Ee(Je());Ll();ln();Da();Rf();or();ec();Nl();Ol();Vc();Z8();AE();PM();TG();ir();tAa=Ee(Va()),nAa=Ee(io());W0();rAa=Ee(Yc()),NG=class NG extends w2{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"createBatch",be(async(n,a)=>this.erc721.lazyMint.prepare(n,a)));ae(this,"claimTo",be((()=>{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",be((()=>{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",be(async n=>this.erc721.burn.prepare(n)));ae(this,"transfer",be(async(n,a)=>this.erc721.transfer.prepare(n,a)));ae(this,"setApprovalForAll",be(async(n,a)=>this.erc721.setApprovalForAll.prepare(n,a)));ae(this,"setApprovalForToken",be(async(n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[n,a]})));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,rh,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,NG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.sales=new Ms(this.contractWrapper),this.claimConditions=new od(this.contractWrapper,this.metadata,this.storage),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.revealer=new b2(this.contractWrapper,this.storage,nh.name,()=>this.erc721.nextTokenIdToMint()),this.interceptor=new Pa(this.contractWrapper),this.owner=new Rs(this.contractWrapper),this.checkout=new ib(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||Li).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=ah.BigNumber.from(n?.start||0).toNumber(),r=ah.BigNumber.from(n?.count||Li).toNumber(),f=ah.BigNumber.from(Math.max((await this.contractWrapper.read("nextTokenIdToClaim",[])).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){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(NG,"contractRoles",Bs);i5e=NG});var ef0=D((oAa,lrn)=>{lrn.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 tf0=D((cAa,urn)=>{urn.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 prn(t,e){let n=await t.read("decimals",[]);return C9.utils.parseUnits(ff.parse(e),n)}var C9,s5e,o5e,c5e,d5e,l5e,LM,hb,FM=oe(()=>{"use strict";u();p();C9=Ee(Je());or();ln();Fl();Rf();Da();AE();ir();id();h2();g9();s5e=class{constructor(e,n){ae(this,"featureName",RE.name);ae(this,"tokens",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[await this.erc20.normalizeAmount(e)]})));ae(this,"from",be(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}},o5e=class{constructor(e,n,a){ae(this,"featureName",SE.name);ae(this,"to",be(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,Ul,this.storage);this.conditions=new od(this.contractWrapper,r,this.storage)}},c5e=class{constructor(e,n,a){this.erc20=e,this.contractWrapper=n,this.storage=a,this.claim=new o5e(this.erc20,this.contractWrapper,this.storage)}},d5e=class{constructor(e,n){ae(this,"featureName",OM.name);ae(this,"to",be(async e=>{let n=new it(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}},l5e=class{constructor(e,n){ae(this,"featureName",ME.name);ae(this,"to",be(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 d5e(this.erc20,this.contractWrapper)}},LM=class{constructor(e,n){ae(this,"featureName",NM.name);ae(this,"mint",be(async e=>{let n=e.payload,a=e.signature,[r,f]=await Promise.all([this.mapPayloadToContractStruct(n),this.contractWrapper.getCallOverrides()]);return await c1(this.contractWrapper,C9.BigNumber.from(r.price),n.currencyAddress,f),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[r,a],overrides:f})}));ae(this,"mintBatch",be(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(C9.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 it(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=>T6e.parseAsync(c)))]),f=this.contractWrapper.getSigner();d0(f,"No signer available");let i=await Promise.all(r.map(c=>cr0.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:mr0},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([ta(this.contractWrapper.getProvider(),e.price,e.currencyAddress),this.contractWrapper.read("decimals",[])]),r=C9.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}}},hb=class{constructor(e,n,a){ae(this,"featureName",BE.name);ae(this,"transfer",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transfer",args:await Promise.all([Oe(e),this.normalizeAmount(n)])})));ae(this,"transferFrom",be(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",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:await Promise.all([Oe(e),this.normalizeAmount(n)])})));ae(this,"transferBatch",be(async e=>{let n=new it(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",be(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintTo",be(async(e,n)=>O0(this.mintable,ME).to.prepare(e,n)));ae(this,"mintBatchTo",be(async e=>O0(this.mintable?.batch,OM).to.prepare(e)));ae(this,"burn",be(async e=>O0(this.burnable,RE).tokens.prepare(e)));ae(this,"burnFrom",be(async(e,n)=>O0(this.burnable,RE).from.prepare(e,n)));ae(this,"claim",be(async(e,n)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,n)));ae(this,"claimTo",be(async(e,n,a)=>O0(this.droppable?.claim,SE).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 Pi(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,ME).getMintTransaction(e,n)}get claimConditions(){return O0(this.droppable?.claim,SE).conditions}get signature(){return O0(this.signatureMintable,NM)}async normalizeAmount(e){return prn(this.contractWrapper,e)}async getValue(e){return await Ja(this.contractWrapper.getProvider(),this.getAddress(),C9.BigNumber.from(e))}detectErc20Mintable(){if(k0(this.contractWrapper,"ERC20"))return new l5e(this,this.contractWrapper)}detectErc20Burnable(){if(k0(this.contractWrapper,"ERC20Burnable"))return new s5e(this,this.contractWrapper)}detectErc20Droppable(){if(k0(this.contractWrapper,"ERC20ClaimConditionsV1")||k0(this.contractWrapper,"ERC20ClaimConditionsV2")||k0(this.contractWrapper,"ERC20ClaimPhasesV1")||k0(this.contractWrapper,"ERC20ClaimPhasesV2"))return new c5e(this,this.contractWrapper,this.storage)}detectErc20SignatureMintable(){if(k0(this.contractWrapper,"ERC20SignatureMintable"))return new LM(this.contractWrapper)}}});var u5e,hrn,mrn,brn,yrn,grn,vrn,wrn,Trn,xrn,p5e,nf0,af0=oe(()=>{"use strict";u();p();h2();ln();Fl();Jd();u5e=fe.object({contractAddress:da}),hrn=u5e.extend({quantity:ff}),mrn=u5e.extend({tokenId:Xa}),brn=u5e.extend({tokenId:Xa,quantity:Xa}),yrn=hrn.omit({quantity:!0}).extend({quantityPerReward:ff}),grn=mrn,vrn=brn.omit({quantity:!0}).extend({quantityPerReward:Xa}),wrn=yrn.extend({totalRewards:Xa.default("1")}),Trn=grn,xrn=vrn.extend({totalRewards:Xa.default("1")}),p5e=fe.object({erc20Rewards:fe.array(wrn).default([]),erc721Rewards:fe.array(Trn).default([]),erc1155Rewards:fe.array(xrn).default([])}),nf0=p5e.extend({packMetadata:m9,rewardsPerPack:Xa.default("1"),openStartTime:b9.default(new Date)})});var rf0={};G0(rf0,{Pack:()=>m5e});var nc,VAa,YAa,JAa,h5e,OG,m5e,ff0=oe(()=>{"use strict";u();p();nc=Ee(Je());or();z6e();id();ln();Fl();Rf();EM();Ll();Da();ec();Nl();Vc();wG();Toe();FM();af0();ir();VAa=Ee(Va()),YAa=Ee(io());W0();JAa=Ee(Yc()),h5e=class{constructor(e,n,a,r,f){ae(this,"featureName",UM.name);ae(this,"open",be((()=>{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=nc.BigNumber.from(0);try{i=e.contractWrapper.parseLogs("PackOpenRequested",f?.logs)[0].args.requestId}catch{}return{receipt:f,id:i}}})}})()));ae(this,"claimRewards",be((()=>{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 lt(e,n,WW,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 Pi(this.contractWrapper.getProvider(),f.assetContract);n.push({contractAddress:f.assetContract,quantityPerReward:nc.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:nc.BigNumber.from(5e5)}),f=nc.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(K1()))).default;return this.getLinkContract(e).balanceOf(this.contractWrapper.address)}async transferLink(e){let n=(await Promise.resolve().then(()=>Ee(K1()))).default;await this.getLinkContract(n).transfer(this.contractWrapper.address,e)}getLinkContract(e){let n=b5e[this.chainId];if(!n)throw new Error(`No LINK token address found for chainId ${this.chainId}`);let a=new lt(this.contractWrapper.getSignerOrProvider(),n,e,this.contractWrapper.options,this.storage);return new hb(a,this.storage,this.chainId)}},OG=class OG extends fb{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 lt(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",be(async n=>{let a=await this.contractWrapper.getSignerAddress();return this.createTo.prepare(a,n)}));ae(this,"addPackContents",be(async(n,a)=>{let[r,f]=await Promise.all([this.contractWrapper.getSignerAddress(),p5e.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",be(async(n,a)=>{let[r,f,i]=await Promise.all([J8(a.packMetadata,this.storage),nf0.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",be((()=>{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 Pi(n.contractWrapper.getProvider(),h.assetContract);c.push({contractAddress:h.assetContract,quantityPerReward:nc.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=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,UG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,OG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.owner=new Rs(this.contractWrapper),this._vrf=this.detectVrf()}get vrf(){return O0(this._vrf,UM)}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"),nc.constants.AddressZero])}async getPackContents(n){let{contents:a,perUnitAmounts:r}=await this.contractWrapper.read("getPackContents",[n]),f=[],i=[],s=[];for(let o=0;o{urn.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 Vr0={};G0(Vr0,{NFTCollection:()=>r5e});var Qr0,F_a,N_a,U_a,LG,r5e,Yr0=oe(()=>{"use strict";u();p();Qr0=Ee(Je());ln();Da();Rf();or();ec();Nl();Ol();Vc();Z8();LM();CM();ir();F_a=Ee(Va()),N_a=Ee(io());W0();U_a=Ee(Yc()),LG=class LG extends w2{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"mint",be(async n=>this.erc721.mint.prepare(n)));ae(this,"mintTo",be(async(n,a)=>this.erc721.mintTo.prepare(n,a)));ae(this,"mintBatch",be(async n=>this.erc721.mintBatch.prepare(n)));ae(this,"mintBatchTo",be(async(n,a)=>this.erc721.mintBatchTo.prepare(n,a)));ae(this,"burn",be(n=>this.erc721.burn.prepare(n)));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,FG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,LG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.sales=new Ms(this.contractWrapper),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.signature=new ub(this.contractWrapper,this.storage),this.owner=new Rs(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),Qr0.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(LG,"contractRoles",Bs);r5e=LG});var $r0=D((q_a,prn)=>{prn.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 Jr0={};G0(Jr0,{NFTDrop:()=>f5e});var ah,rAa,fAa,sAa,NG,f5e,Xr0=oe(()=>{"use strict";u();p();ah=Ee(Je());Ll();ln();Da();Rf();or();ec();Nl();Ol();Vc();Z8();IE();LM();TG();ir();rAa=Ee(Va()),fAa=Ee(io());W0();sAa=Ee(Yc()),NG=class NG extends w2{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"createBatch",be(async(n,a)=>this.erc721.lazyMint.prepare(n,a)));ae(this,"claimTo",be((()=>{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",be((()=>{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",be(async n=>this.erc721.burn.prepare(n)));ae(this,"transfer",be(async(n,a)=>this.erc721.transfer.prepare(n,a)));ae(this,"setApprovalForAll",be(async(n,a)=>this.erc721.setApprovalForAll.prepare(n,a)));ae(this,"setApprovalForToken",be(async(n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[n,a]})));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,rh,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,NG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.sales=new Ms(this.contractWrapper),this.claimConditions=new od(this.contractWrapper,this.metadata,this.storage),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.revealer=new b2(this.contractWrapper,this.storage,nh.name,()=>this.erc721.nextTokenIdToMint()),this.interceptor=new Pa(this.contractWrapper),this.owner=new Rs(this.contractWrapper),this.checkout=new ib(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||Li).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=ah.BigNumber.from(n?.start||0).toNumber(),r=ah.BigNumber.from(n?.count||Li).toNumber(),f=ah.BigNumber.from(Math.max((await this.contractWrapper.read("nextTokenIdToClaim",[])).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){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(NG,"contractRoles",Bs);f5e=NG});var Zr0=D((lAa,hrn)=>{hrn.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 ef0=D((uAa,mrn)=>{mrn.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 brn(t,e){let n=await t.read("decimals",[]);return k9.utils.parseUnits(ff.parse(e),n)}var k9,i5e,s5e,o5e,c5e,d5e,FM,hb,NM=oe(()=>{"use strict";u();p();k9=Ee(Je());or();ln();Fl();Rf();Da();IE();ir();id();h2();w9();i5e=class{constructor(e,n){ae(this,"featureName",BE.name);ae(this,"tokens",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[await this.erc20.normalizeAmount(e)]})));ae(this,"from",be(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}},s5e=class{constructor(e,n,a){ae(this,"featureName",ME.name);ae(this,"to",be(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,Ul,this.storage);this.conditions=new od(this.contractWrapper,r,this.storage)}},o5e=class{constructor(e,n,a){this.erc20=e,this.contractWrapper=n,this.storage=a,this.claim=new s5e(this.erc20,this.contractWrapper,this.storage)}},c5e=class{constructor(e,n){ae(this,"featureName",UM.name);ae(this,"to",be(async e=>{let n=new it(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}},d5e=class{constructor(e,n){ae(this,"featureName",DE.name);ae(this,"to",be(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 c5e(this.erc20,this.contractWrapper)}},FM=class{constructor(e,n){ae(this,"featureName",OM.name);ae(this,"mint",be(async e=>{let n=e.payload,a=e.signature,[r,f]=await Promise.all([this.mapPayloadToContractStruct(n),this.contractWrapper.getCallOverrides()]);return await c1(this.contractWrapper,k9.BigNumber.from(r.price),n.currencyAddress,f),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[r,a],overrides:f})}));ae(this,"mintBatch",be(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(k9.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 it(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=>w6e.parseAsync(c)))]),f=this.contractWrapper.getSigner();d0(f,"No signer available");let i=await Promise.all(r.map(c=>or0.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:hr0},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([ta(this.contractWrapper.getProvider(),e.price,e.currencyAddress),this.contractWrapper.read("decimals",[])]),r=k9.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}}},hb=class{constructor(e,n,a){ae(this,"featureName",PE.name);ae(this,"transfer",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transfer",args:await Promise.all([Oe(e),this.normalizeAmount(n)])})));ae(this,"transferFrom",be(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",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:await Promise.all([Oe(e),this.normalizeAmount(n)])})));ae(this,"transferBatch",be(async e=>{let n=new it(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",be(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintTo",be(async(e,n)=>O0(this.mintable,DE).to.prepare(e,n)));ae(this,"mintBatchTo",be(async e=>O0(this.mintable?.batch,UM).to.prepare(e)));ae(this,"burn",be(async e=>O0(this.burnable,BE).tokens.prepare(e)));ae(this,"burnFrom",be(async(e,n)=>O0(this.burnable,BE).from.prepare(e,n)));ae(this,"claim",be(async(e,n)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,n)));ae(this,"claimTo",be(async(e,n,a)=>O0(this.droppable?.claim,ME).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 Pi(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,DE).getMintTransaction(e,n)}get claimConditions(){return O0(this.droppable?.claim,ME).conditions}get signature(){return O0(this.signatureMintable,OM)}async normalizeAmount(e){return brn(this.contractWrapper,e)}async getValue(e){return await Ja(this.contractWrapper.getProvider(),this.getAddress(),k9.BigNumber.from(e))}detectErc20Mintable(){if(k0(this.contractWrapper,"ERC20"))return new d5e(this,this.contractWrapper)}detectErc20Burnable(){if(k0(this.contractWrapper,"ERC20Burnable"))return new i5e(this,this.contractWrapper)}detectErc20Droppable(){if(k0(this.contractWrapper,"ERC20ClaimConditionsV1")||k0(this.contractWrapper,"ERC20ClaimConditionsV2")||k0(this.contractWrapper,"ERC20ClaimPhasesV1")||k0(this.contractWrapper,"ERC20ClaimPhasesV2"))return new o5e(this,this.contractWrapper,this.storage)}detectErc20SignatureMintable(){if(k0(this.contractWrapper,"ERC20SignatureMintable"))return new FM(this.contractWrapper)}}});var l5e,yrn,grn,vrn,wrn,Trn,xrn,Ern,_rn,Arn,u5e,tf0,nf0=oe(()=>{"use strict";u();p();h2();ln();Fl();Jd();l5e=fe.object({contractAddress:da}),yrn=l5e.extend({quantity:ff}),grn=l5e.extend({tokenId:Xa}),vrn=l5e.extend({tokenId:Xa,quantity:Xa}),wrn=yrn.omit({quantity:!0}).extend({quantityPerReward:ff}),Trn=grn,xrn=vrn.omit({quantity:!0}).extend({quantityPerReward:Xa}),Ern=wrn.extend({totalRewards:Xa.default("1")}),_rn=Trn,Arn=xrn.extend({totalRewards:Xa.default("1")}),u5e=fe.object({erc20Rewards:fe.array(Ern).default([]),erc721Rewards:fe.array(_rn).default([]),erc1155Rewards:fe.array(Arn).default([])}),tf0=u5e.extend({packMetadata:y9,rewardsPerPack:Xa.default("1"),openStartTime:g9.default(new Date)})});var af0={};G0(af0,{Pack:()=>h5e});var nc,JAa,XAa,eCa,p5e,OG,h5e,rf0=oe(()=>{"use strict";u();p();nc=Ee(Je());or();H6e();id();ln();Fl();Rf();_M();Ll();Da();ec();Nl();Vc();wG();woe();NM();nf0();ir();JAa=Ee(Va()),XAa=Ee(io());W0();eCa=Ee(Yc()),p5e=class{constructor(e,n,a,r,f){ae(this,"featureName",HM.name);ae(this,"open",be((()=>{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=nc.BigNumber.from(0);try{i=e.contractWrapper.parseLogs("PackOpenRequested",f?.logs)[0].args.requestId}catch{}return{receipt:f,id:i}}})}})()));ae(this,"claimRewards",be((()=>{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 lt(e,n,WW,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 Pi(this.contractWrapper.getProvider(),f.assetContract);n.push({contractAddress:f.assetContract,quantityPerReward:nc.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:nc.BigNumber.from(5e5)}),f=nc.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(K1()))).default;return this.getLinkContract(e).balanceOf(this.contractWrapper.address)}async transferLink(e){let n=(await Promise.resolve().then(()=>Ee(K1()))).default;await this.getLinkContract(n).transfer(this.contractWrapper.address,e)}getLinkContract(e){let n=m5e[this.chainId];if(!n)throw new Error(`No LINK token address found for chainId ${this.chainId}`);let a=new lt(this.contractWrapper.getSignerOrProvider(),n,e,this.contractWrapper.options,this.storage);return new hb(a,this.storage,this.chainId)}},OG=class OG extends fb{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 lt(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",be(async n=>{let a=await this.contractWrapper.getSignerAddress();return this.createTo.prepare(a,n)}));ae(this,"addPackContents",be(async(n,a)=>{let[r,f]=await Promise.all([this.contractWrapper.getSignerAddress(),u5e.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",be(async(n,a)=>{let[r,f,i]=await Promise.all([J8(a.packMetadata,this.storage),tf0.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",be((()=>{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 Pi(n.contractWrapper.getProvider(),h.assetContract);c.push({contractAddress:h.assetContract,quantityPerReward:nc.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=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,UG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,OG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.owner=new Rs(this.contractWrapper),this._vrf=this.detectVrf()}get vrf(){return O0(this._vrf,HM)}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"),nc.constants.AddressZero])}async getPackContents(n){let{contents:a,perUnitAmounts:r}=await this.contractWrapper.read("getPackContents",[n]),f=[],i=[],s=[];for(let o=0;o{Ern.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 sf0={};G0(sf0,{SignatureDrop:()=>g5e});var fh,yCa,gCa,wCa,HG,g5e,of0=oe(()=>{"use strict";u();p();fh=Ee(Je());Ll();ln();Da();Rf();or();ec();Nl();Ol();Vc();Z8();AE();PM();AM();TG();ir();yCa=Ee(Va()),gCa=Ee(io());W0();wCa=Ee(Yc()),HG=class HG extends w2{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"createBatch",be(async(n,a)=>this.erc721.lazyMint.prepare(n,a)));ae(this,"claimTo",be(async(n,a,r)=>this.erc721.claimTo.prepare(n,a,r)));ae(this,"claim",be(async(n,a)=>this.erc721.claim.prepare(n,a)));ae(this,"burn",be(async n=>this.erc721.burn.prepare(n)));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,rh,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,HG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.sales=new Ms(this.contractWrapper),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.claimConditions=new od(this.contractWrapper,this.metadata,this.storage),this.signature=new ub(this.contractWrapper,this.storage),this.revealer=new b2(this.contractWrapper,this.storage,nh.name,()=>this.erc721.nextTokenIdToMint()),this.signature=new ub(this.contractWrapper,this.storage),this.owner=new Rs(this.contractWrapper),this.checkout=new ib(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=fh.BigNumber.from(n?.start||0).toNumber(),r=fh.BigNumber.from(n?.count||Li).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=fh.BigNumber.from(n?.start||0).toNumber(),r=fh.BigNumber.from(n?.count||Li).toNumber(),f=fh.BigNumber.from(Math.max((await this.totalClaimedSupply()).toNumber(),a)),i=fh.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"),fh.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(HG,"contractRoles",Bs);g5e=HG});var cf0=D((_Ca,_rn)=>{_rn.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 df0=D((ACa,Arn)=>{Arn.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 lf0={};G0(lf0,{Split:()=>v5e});var HM,DCa,PCa,zG,v5e,uf0=oe(()=>{"use strict";u();p();HM=Ee(Je());or();ln();Da();Rf();ec();Vc();ir();DCa=Ee(Va()),PCa=Ee(io());W0();zG=class zG{constructor(e,n,a){ae(this,"withdraw",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"release(address)",args:[await Oe(e)]})));ae(this,"withdrawToken",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"release(address,address)",args:await Promise.all([Oe(n),Oe(e)])})));ae(this,"distribute",be(async()=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"distribute()",args:[]})));ae(this,"distributeToken",be(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 lt(e,n,f,r,a);this._chainId=i,this.abi=ht.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,WG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,zG.contractRoles),this.encoder=new it(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=HM.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(K1()))).default,i=new HM.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(HM.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(zG,"contractRoles",w5e);v5e=zG});var pf0=D((UCa,Crn)=>{Crn.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 DE,T5e=oe(()=>{"use strict";u();p();Da();FM();DE=class{constructor(e,n,a){ae(this,"transfer",be(async(e,n)=>this.erc20.transfer.prepare(e,n)));ae(this,"transferFrom",be(async(e,n,a)=>this.erc20.transferFrom.prepare(e,n,a)));ae(this,"setAllowance",be(async(e,n)=>this.erc20.setAllowance.prepare(e,n)));ae(this,"transferBatch",be(async e=>this.erc20.transferBatch.prepare(e)));this.contractWrapper=e,this.storage=n,this.erc20=new hb(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 mf0={};G0(mf0,{TokenDrop:()=>x5e});var hf0,aIa,rIa,iIa,qG,x5e,bf0=oe(()=>{"use strict";u();p();hf0=Ee(Je());ln();Da();Rf();or();ec();Ol();Vc();Z8();AE();T5e();ir();aIa=Ee(Va()),rIa=Ee(io());W0();iIa=Ee(Yc()),qG=class qG extends DE{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"claim",be((()=>{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",be((()=>{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",be(async n=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"delegate",args:[await Oe(n)]})));ae(this,"burnTokens",be(async n=>this.erc20.burn.prepare(n)));ae(this,"burnFrom",be(async(n,a)=>this.erc20.burnFrom.prepare(n,a)));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,E5e,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,qG.contractRoles),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.sales=new Ms(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.claimConditions=new od(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"),hf0.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(qG,"contractRoles",_5e);x5e=qG});var yf0=D((dIa,Irn)=>{Irn.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 gf0=D((lIa,krn)=>{krn.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 vf0={};G0(vf0,{Token:()=>C5e});var I9,EIa,_Ia,CIa,A5e,jG,C5e,wf0=oe(()=>{"use strict";u();p();I9=Ee(Je());ln();Da();Rf();or();ec();Ol();Vc();Z8();FM();T5e();ir();EIa=Ee(Va()),_Ia=Ee(io());W0();CIa=Ee(Yc()),A5e=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!==I9.constants.AddressZero&&(s in a||(a[s]=I9.BigNumber.from(0)),a[s]=a[s].sub(c)),o!==I9.constants.AddressZero&&(o in a||(a[o]=I9.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]}})}},jG=class jG extends DE{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"mint",be(async n=>this.erc20.mint.prepare(n)));ae(this,"mintTo",be(async(n,a)=>this.erc20.mintTo.prepare(n,a)));ae(this,"mintBatchTo",be(async n=>this.erc20.mintBatchTo.prepare(n)));ae(this,"delegateTo",be(async n=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"delegate",args:[await Oe(n)]})));ae(this,"burn",be(n=>this.erc20.burn.prepare(n)));ae(this,"burnFrom",be(async(n,a)=>this.erc20.burnFrom.prepare(n,a)));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,GG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,jG.contractRoles),this.sales=new Ms(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.history=new A5e(this.contractWrapper,this.events),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.signature=new LM(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"),I9.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(jG,"contractRoles",Bs);C5e=jG});var Tf0=D((RIa,Srn)=>{Srn.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 KG,xf0=oe(()=>{"use strict";u();p();KG=function(t){return t[t.Against=0]="Against",t[t.For=1]="For",t[t.Abstain=2]="Abstain",t}({})});var Ef0={};G0(Ef0,{Vote:()=>I5e});var mb,zIa,WIa,I5e,_f0=oe(()=>{"use strict";u();p();mb=Ee(Je());or();ln();Da();Rf();ec();xf0();ir();zIa=Ee(Va()),WIa=Ee(io());W0();I5e=class{constructor(e,n,a){ae(this,"propose",be(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",be((()=>{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",be(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=mb.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 lt(e,n,f,r,a);this._chainId=i,this.abi=ht.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,QG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.encoder=new it(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(mb.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:KG.Against,label:"Against",count:n.againstVotes},{type:KG.For,label:"For",count:n.forVotes},{type:KG.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=mb.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:mb.utils.formatUnits(e,18)}}async balanceOfToken(e){let n=(await Promise.resolve().then(()=>Ee(K1()))).default,a=new mb.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 Pi(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 Af0=D((QIa,Rrn)=>{Rrn.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 NE(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof x<"u"&&x.env[t]?x.env[t]:e}function qE(){return NE("contractPublisherAddress",Mrn)}function iK(t){return!!(t&&t._isSigner)}function V5e(t){return!!(t&&t._isProvider)}function Prn(t){for(let e=0,n=Cf0.length;e"u"?{x_sdk_name:VG.name,x_sdk_platform:kf0(),x_sdk_version:VG.version,x_sdk_os:If0(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=VG.name,globalThis.X_SDK_PLATFORM=kf0(),globalThis.X_SDK_VERSION=VG.version,globalThis.X_SDK_OS=If0(),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 kf0(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":"browser"}function Nrn(t){return t.supportedChains.reduce((e,n)=>(e[n.chainId]||(e[n.chainId]=n),e),{})}function Bf(t,e){if(typeof t=="string"&&Orn(t))return ZG(t,e);let n=XG.parse(e);QM(t)&&(n.supportedChains=[t,...n.supportedChains.filter(i=>i.chainId===t.chainId)]);let a=Nrn(n),r="",f;try{f=gi0(t,n),r=Tl(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 ZG(r,e,f)}function gi0(t,e){if(QM(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 QM(t){return typeof t!="string"&&typeof t!="number"&&!iK(t)&&!V5e(t)}function Orn(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 ZG(t,e,n){try{let a={},r="none";if(Urn(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"),Lrn(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=Sf0.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 Sf0.set(i,c),c;case"ws":case"wss":return new a0.providers.WebSocketProvider(t,n)}}catch{}return a0.providers.getDefaultProvider(t)}function Urn(t){return new URL(t).hostname.endsWith(".thirdweb.com")}function as(t,e){let n,a;if(iK(t)?(n=t,t.provider&&(a=t.provider)):V5e(t)?a=t:a=Bf(t,e),e?.readonlySettings&&(a=ZG(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 Y5e(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;k5e||(k5e=as("ethereum")[1]);let n;S5e.has(t)?n=S5e.get(t):n=k5e.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.expirationTimeMf0)throw new Error(`version is longer than ${Mf0} characters`);let e=t.trim().match(jrn);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 $5e(t,e){let n=eK(t),a=eK(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 jE(t,e){let n=await(await e.download(t)).text();return Mi0.parse(JSON.parse(n))}async function YM(t,e){let n=await e.downloadJSON(t,{timeoutInSeconds:Grn});if(!n||!n.output)throw new Error(`Could not resolve metadata for contract at ${t}`);return nde(n)}function nde(t){let e=ht.parse(t.output.abi),n=t.settings.compilationTarget,a=Object.keys(n),r=n[a[0]],f=tde.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 sK(t,e){return VM.parse(JSON.parse(await(await e.download(t)).text()))}async function P9(t,e,n){let a=await sK(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),YM(f,e)]);return Pi0.parse({...a,...s,bytecode:await i.text(),fetchedMetadataUri:f,fetchedBytecodeUri:r})}function Qrn(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 Ls(t,e,n){let r=`${n?`${n.compilerType}_${n.compilerVersion||""}_${n.evmVersion||""} - `:"default"}_${t}`,f=Df0.get(r);if(f)return f;let i=await P9(t,e,n),s;try{s=await jE(t,e)}catch{}let o={compilerMetadata:i,extendedMetadata:s};return Df0.put(r,o),o}function rde(t){t&&t.length>0?N5e=t:N5e=r1}function fde(){return N5e}async function fc(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=fde().find(h=>h.chainId===137)||G7,o=await Oe(t),c=(await Promise.resolve().then(()=>Ee(qW()))).default,d=new a0.Contract(qE(),c,Bf(s,{clientId:r,secretKey:f})),l;if(!n||n==="latest"){let h=await d.getPublishedContract(o,e);l=jM.parse({id:h.contractId,timestamp:h.publishTimestamp,metadataUri:h.publishMetadataUri})}else{let h=(await d.getPublishedContractVersions(o,e)).map(k=>jM.parse({id:k.contractId,timestamp:k.publishTimestamp,metadataUri:k.publishMetadataUri})),v=(await Promise.all(h.map(k=>Ls(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 '${C2}'`);return l}async function yG(t,e){try{let n=(await Promise.resolve().then(()=>Ee(xoe()))).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 Nf0(){try{let t=La();if(ns){if(o0>=ns.postBundlePosition){let e=new Error("Unexpected bundle position");throw e.incomplete=!0,e}o0=ns.postBundlePosition,ns=null}if(o0==R9)ri=null,ot=null,Hl&&(Hl=null);else if(o0>R9){let e=new Error("Unexpected end of CBOR data");throw e.incomplete=!0,e}else if(!H5e)throw new Error("Data read, but end of buffer not reached");return t}catch(t){throw Ui0(),(t instanceof RangeError||t.message.startsWith("Unexpected end of buffer"))&&(t.incomplete=!0),t}}function La(){let t=ot[o0++],e=t>>5;if(t=t&31,t>23)switch(t){case 24:t=ot[o0++];break;case 25:if(e==7)return efn();t=ac.getUint16(o0),o0+=2;break;case 26:if(e==7){let n=ac.getFloat32(o0);if(ua.useFloat32>2){let a=Hi0[(ot[o0]&127)<<1|ot[o0+1]>>7];return o0+=4,(a*n+(n>0?.5:-.5)>>0)/a}return o0+=4,n}t=ac.getUint32(o0),o0+=4;break;case 27:if(e==7){let n=ac.getFloat64(o0);return o0+=8,n}if(e>1){if(ac.getUint32(o0)>0)throw new Error("JavaScript does not support arrays, maps, or strings with length over 4294967295");t=ac.getUint32(o0+4)}else ua.int64AsNumber?(t=ac.getUint32(o0)*4294967296,t+=ac.getUint32(o0+4)):t=ac.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())!=PE;)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())!=PE;)i[T2(ua.decodeKey(f))]=La();else for(;(f=La())!=PE;)i[T2(f)]=La();return i}else{zM&&(ua.mapsAsObjects=!0,zM=!1);let i=new Map;if(ua.keyMap)for(;(f=La())!=PE;)i.set(ua.decodeKey(f),La());else for(;(f=La())!=PE;)i.set(f,La());return i}case 7:return PE;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 Zrn(t);case 3:if(GM>=o0)return aK.slice(o0-rK,(o0+=t)-rK);if(GM==0&&R9<140&&t<32){let r=t<16?Li0(t):Xrn(t);if(r!=null)return r}return Jrn(t);case 4:let n=new Array(t);for(let r=0;r=Pf0){let r=ri[t&8191];if(r)return r.read||(r.read=W5e(r)),r.read();if(t<65536){if(t==$rn)return j5e(La());if(t==Yrn){let f=WM(),i=La();for(let s=2;s23)switch(n){case 24:n=ot[o0++];break;case 25:n=ac.getUint16(o0),o0+=2;break;case 26:n=ac.getUint32(o0),o0+=4;break;default:throw new Error("Expected array header, but got "+ot[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=>Of0.test(i)?T2(i)+":r()":"["+JSON.stringify(i)+"]:r()").join(",")+"}"):new Function("r","return {"+f.map(i=>Of0.test(i)?T2(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&&O5e)return O5e.decode(ot.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+=Ds.apply(String,a),a.length=0)}return a.length>0&&(e+=Ds.apply(String,a)),e}function Xrn(t){let e=o0,n=new Array(t);for(let a=0;a0){o0=e;return}n[a]=r}return Ds.apply(String,n)}function Li0(t){if(t<4)if(t<2){if(t===0)return"";{let e=ot[o0++];if((e&128)>1){o0-=1;return}return Ds(e)}}else{let e=ot[o0++],n=ot[o0++];if((e&128)>0||(n&128)>0){o0-=2;return}if(t<3)return Ds(e,n);let a=ot[o0++];if((a&128)>0){o0-=3;return}return Ds(e,n,a)}else{let e=ot[o0++],n=ot[o0++],a=ot[o0++],r=ot[o0++];if((e&128)>0||(n&128)>0||(a&128)>0||(r&128)>0){o0-=4;return}if(t<6){if(t===4)return Ds(e,n,a,r);{let f=ot[o0++];if((f&128)>0){o0-=5;return}return Ds(e,n,a,r,f)}}else if(t<8){let f=ot[o0++],i=ot[o0++];if((f&128)>0||(i&128)>0){o0-=6;return}if(t<7)return Ds(e,n,a,r,f,i);let s=ot[o0++];if((s&128)>0){o0-=7;return}return Ds(e,n,a,r,f,i,s)}else{let f=ot[o0++],i=ot[o0++],s=ot[o0++],o=ot[o0++];if((f&128)>0||(i&128)>0||(s&128)>0||(o&128)>0){o0-=8;return}if(t<10){if(t===8)return Ds(e,n,a,r,f,i,s,o);{let c=ot[o0++];if((c&128)>0){o0-=9;return}return Ds(e,n,a,r,f,i,s,o,c)}}else if(t<12){let c=ot[o0++],d=ot[o0++];if((c&128)>0||(d&128)>0){o0-=10;return}if(t<11)return Ds(e,n,a,r,f,i,s,o,c,d);let l=ot[o0++];if((l&128)>0){o0-=11;return}return Ds(e,n,a,r,f,i,s,o,c,d,l)}else{let c=ot[o0++],d=ot[o0++],l=ot[o0++],h=ot[o0++];if((c&128)>0||(d&128)>0||(l&128)>0||(h&128)>0){o0-=12;return}if(t<14){if(t===12)return Ds(e,n,a,r,f,i,s,o,c,d,l,h);{let y=ot[o0++];if((y&128)>0){o0-=13;return}return Ds(e,n,a,r,f,i,s,o,c,d,l,h,y)}}else{let y=ot[o0++],v=ot[o0++];if((y&128)>0||(v&128)>0){o0-=14;return}if(t<15)return Ds(e,n,a,r,f,i,s,o,c,d,l,h,y,v);let k=ot[o0++];if((k&128)>0){o0-=15;return}return Ds(e,n,a,r,f,i,s,o,c,d,l,h,y,v,k)}}}}}function Zrn(t){return ua.copyBuffers?Uint8Array.prototype.slice.call(ot,o0,o0+=t):ot.subarray(o0,o0+=t)}function efn(){let t=ot[o0++],e=ot[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 YG[3]=t&128|(n>>1)+56,YG[2]=(t&7)<<5|e>>3,YG[1]=e<<5,YG[0]=0,Fi0[0]}function LE(t,e){return typeof t=="string"?t+e:t instanceof Array?t.concat(e):Object.assign({},t,e)}function S9(){if(!Jc)if(ua.getShared)ide();else throw new Error("No packed values available");return Jc}function ffn(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==afn?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=ot[o0++];break;case 25:t=ac.getUint16(o0),o0+=2;break;case 26:t=ac.getUint32(o0),o0+=4;break}return t}function ide(){if(ua.getShared){let t=Oi0(()=>(ot=null,ua.getShared()))||{},e=t.structures||[];ua.sharedVersion=t.version,Jc=ua.sharedValues=t.packedValues,ri===!0?ua.structures=ri=e:ri.splice.apply(ri,[0,e.length].concat(e))}}function Oi0(t){let e=R9,n=o0,a=rK,r=GM,f=aK,i=Hl,s=ns,o=new Uint8Array(ot.slice(0,R9)),c=ri,d=ua,l=H5e,h=t();return R9=e,o0=n,rK=a,GM=r,aK=f,Hl=i,ns=s,ot=o,H5e=l,ri=c,ua=d,ac=new DataView(ot.buffer,ot.byteOffset,ot.byteLength),h}function Ui0(){ot=null,Hl=null,ri=null}function cfn(t){if(t=t.toString(16),t.startsWith("0x")||(t=`0x${t}`),!dfn(t))throw new Error(`Given value "${t}" is not a valid hex string.`);t=t.replace(/^0x/i,"");let e=[];for(let n=0;nht.parse(f)).flat().filter(f=>f.type!=="constructor");e&&a.push(...ht.parse(e));let r=Qrn(a,(f,i)=>f.name===i.name&&f.type===i.type&&f.inputs.length===i.inputs.length);return ht.parse(r)}function G5e(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=>G5e(f,!1,!0)).join(", ")} }`),r&&(a+="[]"),n&&(a=`${t.name}: ${a}`),a}function oK(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 x2(t,e){let n=(t||[]).filter(r=>r.type==="function"),a=[];for(let r of n){let f=oK(r.name,e,"methods"),i=r.inputs?.map(l=>`${l.name||"key"}: ${G5e(l)}`)?.join(", ")||"",s=i?`, [${i}]`:"",o=r.outputs?.map(l=>G5e(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 Gi0(t,e){let n=x2(t),a=e.flatMap(f=>x2(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 Ki0(t,e){let a=e.map(f=>new hi0.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 gb(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ode,n=JSON.stringify(t);if(B5e.has(n))return B5e.get(n);let a=Qi0(t,e);return B5e.put(n,a),a}function Qi0(t,e){let n={};for(let a in e){let r=e[a],f=gfn(t,r),i=Qi0(t,r.features);n[a]={...r,features:i,enabled:f}}return n}function cde(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ode,n={};for(let a in e){let r=e[a],f=Ki0(t,r.abis),i=cde(t,r.features);n[a]={...r,features:i,enabled:f}}return n}function gfn(t,e){return Gi0(t,e.abis)}function cK(t,e){if(t)for(let n in t){let a=t[n];a.enabled&&e.push(a),cK(a.features,e)}}function Vi0(t){let e=[];return cK(cde(t),e),e}function Yi0(t){let e=Vi0(t);return e.find(a=>a.name==="ERC721")&&(e=e.filter(a=>a.name!=="ERC20")),ih(e.map(a=>ih(a.abis)))}function Ji0(t,e){return`${t}-${e}`}function wfn(t,e,n){$i0.put(Ji0(t,e),n)}function aM(t,e){return $i0.get(Ji0(t,e))}async function ni(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},r=(await e.getNetwork()).chainId,f=aM(t,r);if(f)return f;let i;if(!(r===31337||r===1337))try{let o=await fetch(`${vfn}/${r}/${t}`,{headers:{...Frn()}});if(o.ok){let c=await o.json();i=nde(c)}}catch{}if(i||(i=await Xi0(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}`):wfn(t,r,i),i}async function Xi0(t,e,n,a){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},f,[i,s]=await Promise.all([Wi0(t,n).catch(()=>{}),Tfn(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 YM(c,a)}catch{}if(!f&&o){let d=Yi0(o);if(d&&d.length>0)return f={name:"Unimported Contract",abi:d,metadata:{},info:{},licenses:[],isPartialAbi:!0},f}return f}async function Tfn(t,e,n){let a=(await Promise.resolve().then(()=>Ee(Eoe()))).default;if(!D5e){let i=n?.supportedChains?.find(s=>s.chainId===137)||G7;D5e=new a0.Contract(XM(),a,Bf(i,n))}return await D5e.getMetadataUri(e,t)}async function Zc(t,e,n){try{let a=await ni(t,e,n);if(a&&a.abi)return a.abi}catch{}}async function xfn(t,e){let{extendedMetadata:n}=await Ls(t,e);return n?.compositeAbi||[]}function ai0(t){return Efn.some(a=>t.includes(a))?!0:_fn.some(a=>a.some(r=>t.includes(r)))}async function Xc(t,e){let n=await e.getCode(t);return n!=="0x"&&n!=="0x0"}async function Q5e(t){try{await t.sendTransaction("0xf8a58085174876e800830186a08080b853604580600e600039806000f350fe7fffffffffffffffafffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf31ba02222222222222222222222222222222222222222222222222222222222222222a02222222222222222222222222222222222222222222222222222222222222222")}catch(e){let n=e.toString().toLowerCase(),a=JSON.stringify(e).toLowerCase();return!!(ai0(n)||ai0(a))}return!1}function ns0(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 qM(t,e){let n=a0.utils.joinSignature(es0),a=e.gasPrice?e.gasPrice:100*10**9,r=e.gasLimit?e.gasLimit:1e5,f=ns0({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 cd(t){return(await dK(t)).deployment}async function dK(t){let e=(await t.getNetwork()).chainId;if(P5e[e]){let l=await Q5e(t)?e:0,h=P5e[e]?.gasPrice,y=P5e[e]?.gasLimit,v=qM(l,{gasPrice:h?a0.BigNumber.from(h):void 0,gasLimit:y?a0.BigNumber.from(y):void 0});return await Xc(v.deployment,t)&&(v.transaction=""),v}let n=[...K5e.map(d=>qM(e,{gasPrice:a0.BigNumber.from(d)})),...K5e.map(d=>qM(0,{gasPrice:a0.BigNumber.from(d)}))],a=await Promise.all(n.map(d=>Xc(d.deployment,t))),r=n.findIndex(d=>d.deployment===ts0);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([Q5e(t),t.getGasPrice()]),o=i?e:0,c=Afn(s);return qM(o,{gasPrice:c})}function Afn(t){let e=K5e.find(n=>a0.BigNumber.from(n).gte(t));return e?a0.BigNumber.from(e):t}function pde(t){let e=t.startsWith("0x")?t:`0x${t}`,a=`tw.${a0.utils.id(e)}`;return a0.utils.id(a)}function KM(t,e,n){let a=t.startsWith("0x")?t:`0x${t}`,r=n?a0.utils.id(n):pde(a);return a0.utils.solidityPack(["bytes32","bytes","bytes"],[r,a,e])}function WE(t,e,n,a){let r=t.startsWith("0x")?t:`0x${t}`,f=a?a0.utils.id(a):pde(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 rG(t){let e=fde().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}`}}:ob[t]||{name:"Ether",symbol:"ETH",decimals:18,wrapped:{address:a0.constants.AddressZero,name:"Wrapped Ether",symbol:"WETH"}}}function ch(t){let e=ht.parse(t||[]);for(let n of e)if(n.type==="constructor")return n.inputs||[];return[]}function fi0(t){return Cfn[t]||a0.constants.AddressZero}async function e6(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&&sh.deploymentPresets[s])return sh.deploymentPresets[s];if(s==="WETH9"){let k=WE(ri0,[],a),O=await Xc(k,e),F="";return O||(F=KM(ri0,[])),{name:s,type:t,transaction:{predictedAddress:k,to:a,data:F}}}if(!d){d0(s,"Require contract name"),c||(c=C2);let k=await fc(c,s,o,n,f,i);d=(await Ls(k.metadataUri,n)).compilerMetadata}let l=await lK(d,e,n,a,r?.constructorParams,f,i),h=WE(d.bytecode,l,a),y=await Xc(h,e),v="";return y||(v=KM(d.bytecode,l)),{name:s,type:t,transaction:{predictedAddress:h,to:a,data:v},encodedArgs:l}}async function lK(t,e,n,a,r,f,i){let s=ch(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 ii0(e,n,a,f,i);if(l.name&&l.name.includes("trustedForwarder")){if(t.name==="Pack")return xr;let h=await e6("infra",e,n,a,{contractName:"Forwarder"},f,i);return sh.deploymentPresets.Forwarder||(sh.deploymentPresets.Forwarder=h),h.transaction.predictedAddress}else if(l.name&&l.name.includes("royaltyEngineAddress")){let h=(await e.getNetwork()).chainId;return fi0(h)}else if(l.name&&l.name.includes("marketplaceV3Params")){let h=(await e.getNetwork()).chainId,y=fi0(h),v=await ii0(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 ii0(t,e,n,a,r){let f=(await t.getNetwork()).chainId,i=rG(f).wrapped.address;if(i===a0.constants.AddressZero){let s=await e6("infra",t,e,n,{contractName:"WETH9"},a,r);sh.deploymentPresets.WETH9||(sh.deploymentPresets.WETH9=s),i=s.transaction.predictedAddress}return i}async function aG(t,e,n,a,r){return(!n||n==="")&&(n=await cd(t)),(await e6("infra",t,e,n,{contractName:"ForwarderEOAOnly"},a,r)).transaction.predictedAddress}async function l9(t,e,n,a,r){return(!n||n==="")&&(n=await cd(t)),(await e6("infra",t,e,n,{contractName:"Forwarder"},a,r)).transaction.predictedAddress}function rM(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||"":si0(/.*?"message":"([^"\\]*).*?/,e)||si0(/.*?"reason":"([^"\\]*).*?/,e)||t.message||""}function bb(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:nc.BigNumber.from(d.quantityPerReward).mul(nc.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 p5e(this.contractWrapper.getSignerOrProvider(),this.contractWrapper.address,this.storage,this.contractWrapper.options,this.chainId)}};ae(OG,"contractRoles",b5e);h5e=OG});var ff0=D((rCa,Crn)=>{Crn.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 if0={};G0(if0,{SignatureDrop:()=>y5e});var fh,wCa,TCa,ECa,HG,y5e,sf0=oe(()=>{"use strict";u();p();fh=Ee(Je());Ll();ln();Da();Rf();or();ec();Nl();Ol();Vc();Z8();IE();LM();CM();TG();ir();wCa=Ee(Va()),TCa=Ee(io());W0();ECa=Ee(Yc()),HG=class HG extends w2{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"createBatch",be(async(n,a)=>this.erc721.lazyMint.prepare(n,a)));ae(this,"claimTo",be(async(n,a,r)=>this.erc721.claimTo.prepare(n,a,r)));ae(this,"claim",be(async(n,a)=>this.erc721.claim.prepare(n,a)));ae(this,"burn",be(async n=>this.erc721.burn.prepare(n)));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,rh,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,HG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.sales=new Ms(this.contractWrapper),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.claimConditions=new od(this.contractWrapper,this.metadata,this.storage),this.signature=new ub(this.contractWrapper,this.storage),this.revealer=new b2(this.contractWrapper,this.storage,nh.name,()=>this.erc721.nextTokenIdToMint()),this.signature=new ub(this.contractWrapper,this.storage),this.owner=new Rs(this.contractWrapper),this.checkout=new ib(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=fh.BigNumber.from(n?.start||0).toNumber(),r=fh.BigNumber.from(n?.count||Li).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=fh.BigNumber.from(n?.start||0).toNumber(),r=fh.BigNumber.from(n?.count||Li).toNumber(),f=fh.BigNumber.from(Math.max((await this.totalClaimedSupply()).toNumber(),a)),i=fh.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"),fh.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(HG,"contractRoles",Bs);y5e=HG});var of0=D((ICa,Irn)=>{Irn.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 cf0=D((kCa,krn)=>{krn.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 df0={};G0(df0,{Split:()=>g5e});var zM,FCa,NCa,zG,g5e,lf0=oe(()=>{"use strict";u();p();zM=Ee(Je());or();ln();Da();Rf();ec();Vc();ir();FCa=Ee(Va()),NCa=Ee(io());W0();zG=class zG{constructor(e,n,a){ae(this,"withdraw",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"release(address)",args:[await Oe(e)]})));ae(this,"withdrawToken",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"release(address,address)",args:await Promise.all([Oe(n),Oe(e)])})));ae(this,"distribute",be(async()=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"distribute()",args:[]})));ae(this,"distributeToken",be(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 lt(e,n,f,r,a);this._chainId=i,this.abi=ht.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,WG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,zG.contractRoles),this.encoder=new it(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=zM.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(K1()))).default,i=new zM.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(zM.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(zG,"contractRoles",v5e);g5e=zG});var uf0=D((WCa,Srn)=>{Srn.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 LE,w5e=oe(()=>{"use strict";u();p();Da();NM();LE=class{constructor(e,n,a){ae(this,"transfer",be(async(e,n)=>this.erc20.transfer.prepare(e,n)));ae(this,"transferFrom",be(async(e,n,a)=>this.erc20.transferFrom.prepare(e,n,a)));ae(this,"setAllowance",be(async(e,n)=>this.erc20.setAllowance.prepare(e,n)));ae(this,"transferBatch",be(async e=>this.erc20.transferBatch.prepare(e)));this.contractWrapper=e,this.storage=n,this.erc20=new hb(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 hf0={};G0(hf0,{TokenDrop:()=>T5e});var pf0,iIa,sIa,cIa,qG,T5e,mf0=oe(()=>{"use strict";u();p();pf0=Ee(Je());ln();Da();Rf();or();ec();Ol();Vc();Z8();IE();w5e();ir();iIa=Ee(Va()),sIa=Ee(io());W0();cIa=Ee(Yc()),qG=class qG extends LE{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"claim",be((()=>{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",be((()=>{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",be(async n=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"delegate",args:[await Oe(n)]})));ae(this,"burnTokens",be(async n=>this.erc20.burn.prepare(n)));ae(this,"burnFrom",be(async(n,a)=>this.erc20.burnFrom.prepare(n,a)));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,x5e,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,qG.contractRoles),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.sales=new Ms(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.claimConditions=new od(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"),pf0.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(qG,"contractRoles",E5e);T5e=qG});var bf0=D((pIa,Rrn)=>{Rrn.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 yf0=D((hIa,Mrn)=>{Mrn.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 gf0={};G0(gf0,{Token:()=>A5e});var S9,CIa,IIa,SIa,_5e,jG,A5e,vf0=oe(()=>{"use strict";u();p();S9=Ee(Je());ln();Da();Rf();or();ec();Ol();Vc();Z8();NM();w5e();ir();CIa=Ee(Va()),IIa=Ee(io());W0();SIa=Ee(Yc()),_5e=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!==S9.constants.AddressZero&&(s in a||(a[s]=S9.BigNumber.from(0)),a[s]=a[s].sub(c)),o!==S9.constants.AddressZero&&(o in a||(a[o]=S9.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]}})}},jG=class jG extends LE{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 lt(n,a,i,f,r);super(o,r,s);ae(this,"mint",be(async n=>this.erc20.mint.prepare(n)));ae(this,"mintTo",be(async(n,a)=>this.erc20.mintTo.prepare(n,a)));ae(this,"mintBatchTo",be(async n=>this.erc20.mintBatchTo.prepare(n)));ae(this,"delegateTo",be(async n=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"delegate",args:[await Oe(n)]})));ae(this,"burn",be(n=>this.erc20.burn.prepare(n)));ae(this,"burnFrom",be(async(n,a)=>this.erc20.burnFrom.prepare(n,a)));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,GG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,jG.contractRoles),this.sales=new Ms(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.history=new _5e(this.contractWrapper,this.events),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.signature=new FM(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"),S9.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(jG,"contractRoles",Bs);A5e=jG});var wf0=D((DIa,Brn)=>{Brn.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 KG,Tf0=oe(()=>{"use strict";u();p();KG=function(t){return t[t.Against=0]="Against",t[t.For=1]="For",t[t.Abstain=2]="Abstain",t}({})});var xf0={};G0(xf0,{Vote:()=>C5e});var mb,jIa,GIa,C5e,Ef0=oe(()=>{"use strict";u();p();mb=Ee(Je());or();ln();Da();Rf();ec();Tf0();ir();jIa=Ee(Va()),GIa=Ee(io());W0();C5e=class{constructor(e,n,a){ae(this,"propose",be(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",be((()=>{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",be(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=mb.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 lt(e,n,f,r,a);this._chainId=i,this.abi=ht.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,QG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.encoder=new it(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(mb.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:KG.Against,label:"Against",count:n.againstVotes},{type:KG.For,label:"For",count:n.forVotes},{type:KG.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=mb.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:mb.utils.formatUnits(e,18)}}async balanceOfToken(e){let n=(await Promise.resolve().then(()=>Ee(K1()))).default,a=new mb.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 Pi(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 _f0=D(($Ia,Drn)=>{Drn.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 UE(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof x<"u"&&x.env[t]?x.env[t]:e}function GE(){return UE("contractPublisherAddress",Prn)}function iK(t){return!!(t&&t._isSigner)}function Q5e(t){return!!(t&&t._isProvider)}function Nrn(t){for(let e=0,n=Af0.length;e"u"?{x_sdk_name:VG.name,x_sdk_platform:If0(),x_sdk_version:VG.version,x_sdk_os:Cf0(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=VG.name,globalThis.X_SDK_PLATFORM=If0(),globalThis.X_SDK_VERSION=VG.version,globalThis.X_SDK_OS=Cf0(),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 If0(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":"browser"}function Hrn(t){return t.supportedChains.reduce((e,n)=>(e[n.chainId]||(e[n.chainId]=n),e),{})}function Bf(t,e){if(typeof t=="string"&&zrn(t))return ZG(t,e);let n=XG.parse(e);VM(t)&&(n.supportedChains=[t,...n.supportedChains.filter(i=>i.chainId===t.chainId)]);let a=Hrn(n),r="",f;try{f=yi0(t,n),r=Tl(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 ZG(r,e,f)}function yi0(t,e){if(VM(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 VM(t){return typeof t!="string"&&typeof t!="number"&&!iK(t)&&!Q5e(t)}function zrn(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 ZG(t,e,n){try{let a={},r="none";if(Wrn(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"),Orn(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=kf0.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 kf0.set(i,c),c;case"ws":case"wss":return new a0.providers.WebSocketProvider(t,n)}}catch{}return a0.providers.getDefaultProvider(t)}function Wrn(t){return new URL(t).hostname.endsWith(".thirdweb.com")}function as(t,e){let n,a;if(iK(t)?(n=t,t.provider&&(a=t.provider)):Q5e(t)?a=t:a=Bf(t,e),e?.readonlySettings&&(a=ZG(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 V5e(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;I5e||(I5e=as("ethereum")[1]);let n;k5e.has(t)?n=k5e.get(t):n=I5e.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.expirationTimeRf0)throw new Error(`version is longer than ${Rf0} characters`);let e=t.trim().match(Qrn);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 Y5e(t,e){let n=eK(t),a=eK(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 KE(t,e){let n=await(await e.download(t)).text();return Ri0.parse(JSON.parse(n))}async function $M(t,e){let n=await e.downloadJSON(t,{timeoutInSeconds:Vrn});if(!n||!n.output)throw new Error(`Could not resolve metadata for contract at ${t}`);return tde(n)}function tde(t){let e=ht.parse(t.output.abi),n=t.settings.compilationTarget,a=Object.keys(n),r=n[a[0]],f=ede.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 sK(t,e){return YM.parse(JSON.parse(await(await e.download(t)).text()))}async function F9(t,e,n){let a=await sK(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),$M(f,e)]);return Di0.parse({...a,...s,bytecode:await i.text(),fetchedMetadataUri:f,fetchedBytecodeUri:r})}function $rn(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 Ls(t,e,n){let r=`${n?`${n.compilerType}_${n.compilerVersion||""}_${n.evmVersion||""} + `:"default"}_${t}`,f=Bf0.get(r);if(f)return f;let i=await F9(t,e,n),s;try{s=await KE(t,e)}catch{}let o={compilerMetadata:i,extendedMetadata:s};return Bf0.put(r,o),o}function ade(t){t&&t.length>0?F5e=t:F5e=r1}function rde(){return F5e}async function fc(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=rde().find(h=>h.chainId===137)||Q7,o=await Oe(t),c=(await Promise.resolve().then(()=>Ee(qW()))).default,d=new a0.Contract(GE(),c,Bf(s,{clientId:r,secretKey:f})),l;if(!n||n==="latest"){let h=await d.getPublishedContract(o,e);l=GM.parse({id:h.contractId,timestamp:h.publishTimestamp,metadataUri:h.publishMetadataUri})}else{let h=(await d.getPublishedContractVersions(o,e)).map(k=>GM.parse({id:k.contractId,timestamp:k.publishTimestamp,metadataUri:k.publishMetadataUri})),v=(await Promise.all(h.map(k=>Ls(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 '${C2}'`);return l}async function yG(t,e){try{let n=(await Promise.resolve().then(()=>Ee(Toe()))).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 Ff0(){try{let t=La();if(ns){if(o0>=ns.postBundlePosition){let e=new Error("Unexpected bundle position");throw e.incomplete=!0,e}o0=ns.postBundlePosition,ns=null}if(o0==B9)ri=null,ot=null,Hl&&(Hl=null);else if(o0>B9){let e=new Error("Unexpected end of CBOR data");throw e.incomplete=!0,e}else if(!U5e)throw new Error("Data read, but end of buffer not reached");return t}catch(t){throw Oi0(),(t instanceof RangeError||t.message.startsWith("Unexpected end of buffer"))&&(t.incomplete=!0),t}}function La(){let t=ot[o0++],e=t>>5;if(t=t&31,t>23)switch(t){case 24:t=ot[o0++];break;case 25:if(e==7)return afn();t=ac.getUint16(o0),o0+=2;break;case 26:if(e==7){let n=ac.getFloat32(o0);if(ua.useFloat32>2){let a=Ui0[(ot[o0]&127)<<1|ot[o0+1]>>7];return o0+=4,(a*n+(n>0?.5:-.5)>>0)/a}return o0+=4,n}t=ac.getUint32(o0),o0+=4;break;case 27:if(e==7){let n=ac.getFloat64(o0);return o0+=8,n}if(e>1){if(ac.getUint32(o0)>0)throw new Error("JavaScript does not support arrays, maps, or strings with length over 4294967295");t=ac.getUint32(o0+4)}else ua.int64AsNumber?(t=ac.getUint32(o0)*4294967296,t+=ac.getUint32(o0+4)):t=ac.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())!=FE;)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())!=FE;)i[T2(ua.decodeKey(f))]=La();else for(;(f=La())!=FE;)i[T2(f)]=La();return i}else{WM&&(ua.mapsAsObjects=!0,WM=!1);let i=new Map;if(ua.keyMap)for(;(f=La())!=FE;)i.set(ua.decodeKey(f),La());else for(;(f=La())!=FE;)i.set(f,La());return i}case 7:return FE;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 nfn(t);case 3:if(KM>=o0)return aK.slice(o0-rK,(o0+=t)-rK);if(KM==0&&B9<140&&t<32){let r=t<16?Pi0(t):tfn(t);if(r!=null)return r}return efn(t);case 4:let n=new Array(t);for(let r=0;r=Df0){let r=ri[t&8191];if(r)return r.read||(r.read=z5e(r)),r.read();if(t<65536){if(t==Zrn)return q5e(La());if(t==Xrn){let f=qM(),i=La();for(let s=2;s23)switch(n){case 24:n=ot[o0++];break;case 25:n=ac.getUint16(o0),o0+=2;break;case 26:n=ac.getUint32(o0),o0+=4;break;default:throw new Error("Expected array header, but got "+ot[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=>Nf0.test(i)?T2(i)+":r()":"["+JSON.stringify(i)+"]:r()").join(",")+"}"):new Function("r","return {"+f.map(i=>Nf0.test(i)?T2(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&&N5e)return N5e.decode(ot.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+=Ds.apply(String,a),a.length=0)}return a.length>0&&(e+=Ds.apply(String,a)),e}function tfn(t){let e=o0,n=new Array(t);for(let a=0;a0){o0=e;return}n[a]=r}return Ds.apply(String,n)}function Pi0(t){if(t<4)if(t<2){if(t===0)return"";{let e=ot[o0++];if((e&128)>1){o0-=1;return}return Ds(e)}}else{let e=ot[o0++],n=ot[o0++];if((e&128)>0||(n&128)>0){o0-=2;return}if(t<3)return Ds(e,n);let a=ot[o0++];if((a&128)>0){o0-=3;return}return Ds(e,n,a)}else{let e=ot[o0++],n=ot[o0++],a=ot[o0++],r=ot[o0++];if((e&128)>0||(n&128)>0||(a&128)>0||(r&128)>0){o0-=4;return}if(t<6){if(t===4)return Ds(e,n,a,r);{let f=ot[o0++];if((f&128)>0){o0-=5;return}return Ds(e,n,a,r,f)}}else if(t<8){let f=ot[o0++],i=ot[o0++];if((f&128)>0||(i&128)>0){o0-=6;return}if(t<7)return Ds(e,n,a,r,f,i);let s=ot[o0++];if((s&128)>0){o0-=7;return}return Ds(e,n,a,r,f,i,s)}else{let f=ot[o0++],i=ot[o0++],s=ot[o0++],o=ot[o0++];if((f&128)>0||(i&128)>0||(s&128)>0||(o&128)>0){o0-=8;return}if(t<10){if(t===8)return Ds(e,n,a,r,f,i,s,o);{let c=ot[o0++];if((c&128)>0){o0-=9;return}return Ds(e,n,a,r,f,i,s,o,c)}}else if(t<12){let c=ot[o0++],d=ot[o0++];if((c&128)>0||(d&128)>0){o0-=10;return}if(t<11)return Ds(e,n,a,r,f,i,s,o,c,d);let l=ot[o0++];if((l&128)>0){o0-=11;return}return Ds(e,n,a,r,f,i,s,o,c,d,l)}else{let c=ot[o0++],d=ot[o0++],l=ot[o0++],h=ot[o0++];if((c&128)>0||(d&128)>0||(l&128)>0||(h&128)>0){o0-=12;return}if(t<14){if(t===12)return Ds(e,n,a,r,f,i,s,o,c,d,l,h);{let y=ot[o0++];if((y&128)>0){o0-=13;return}return Ds(e,n,a,r,f,i,s,o,c,d,l,h,y)}}else{let y=ot[o0++],v=ot[o0++];if((y&128)>0||(v&128)>0){o0-=14;return}if(t<15)return Ds(e,n,a,r,f,i,s,o,c,d,l,h,y,v);let k=ot[o0++];if((k&128)>0){o0-=15;return}return Ds(e,n,a,r,f,i,s,o,c,d,l,h,y,v,k)}}}}}function nfn(t){return ua.copyBuffers?Uint8Array.prototype.slice.call(ot,o0,o0+=t):ot.subarray(o0,o0+=t)}function afn(){let t=ot[o0++],e=ot[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 YG[3]=t&128|(n>>1)+56,YG[2]=(t&7)<<5|e>>3,YG[1]=e<<5,YG[0]=0,Li0[0]}function NE(t,e){return typeof t=="string"?t+e:t instanceof Array?t.concat(e):Object.assign({},t,e)}function M9(){if(!Jc)if(ua.getShared)fde();else throw new Error("No packed values available");return Jc}function ofn(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==ifn?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=ot[o0++];break;case 25:t=ac.getUint16(o0),o0+=2;break;case 26:t=ac.getUint32(o0),o0+=4;break}return t}function fde(){if(ua.getShared){let t=Ni0(()=>(ot=null,ua.getShared()))||{},e=t.structures||[];ua.sharedVersion=t.version,Jc=ua.sharedValues=t.packedValues,ri===!0?ua.structures=ri=e:ri.splice.apply(ri,[0,e.length].concat(e))}}function Ni0(t){let e=B9,n=o0,a=rK,r=KM,f=aK,i=Hl,s=ns,o=new Uint8Array(ot.slice(0,B9)),c=ri,d=ua,l=U5e,h=t();return B9=e,o0=n,rK=a,KM=r,aK=f,Hl=i,ns=s,ot=o,U5e=l,ri=c,ua=d,ac=new DataView(ot.buffer,ot.byteOffset,ot.byteLength),h}function Oi0(){ot=null,Hl=null,ri=null}function ufn(t){if(t=t.toString(16),t.startsWith("0x")||(t=`0x${t}`),!pfn(t))throw new Error(`Given value "${t}" is not a valid hex string.`);t=t.replace(/^0x/i,"");let e=[];for(let n=0;nht.parse(f)).flat().filter(f=>f.type!=="constructor");e&&a.push(...ht.parse(e));let r=$rn(a,(f,i)=>f.name===i.name&&f.type===i.type&&f.inputs.length===i.inputs.length);return ht.parse(r)}function j5e(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=>j5e(f,!1,!0)).join(", ")} }`),r&&(a+="[]"),n&&(a=`${t.name}: ${a}`),a}function oK(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 x2(t,e){let n=(t||[]).filter(r=>r.type==="function"),a=[];for(let r of n){let f=oK(r.name,e,"methods"),i=r.inputs?.map(l=>`${l.name||"key"}: ${j5e(l)}`)?.join(", ")||"",s=i?`, [${i}]`:"",o=r.outputs?.map(l=>j5e(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 ji0(t,e){let n=x2(t),a=e.flatMap(f=>x2(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 Gi0(t,e){let a=e.map(f=>new pi0.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 gb(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:sde,n=JSON.stringify(t);if(M5e.has(n))return M5e.get(n);let a=Ki0(t,e);return M5e.put(n,a),a}function Ki0(t,e){let n={};for(let a in e){let r=e[a],f=Tfn(t,r),i=Ki0(t,r.features);n[a]={...r,features:i,enabled:f}}return n}function ode(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:sde,n={};for(let a in e){let r=e[a],f=Gi0(t,r.abis),i=ode(t,r.features);n[a]={...r,features:i,enabled:f}}return n}function Tfn(t,e){return ji0(t,e.abis)}function cK(t,e){if(t)for(let n in t){let a=t[n];a.enabled&&e.push(a),cK(a.features,e)}}function Qi0(t){let e=[];return cK(ode(t),e),e}function Vi0(t){let e=Qi0(t);return e.find(a=>a.name==="ERC721")&&(e=e.filter(a=>a.name!=="ERC20")),ih(e.map(a=>ih(a.abis)))}function $i0(t,e){return`${t}-${e}`}function Efn(t,e,n){Yi0.put($i0(t,e),n)}function rM(t,e){return Yi0.get($i0(t,e))}async function ni(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},r=(await e.getNetwork()).chainId,f=rM(t,r);if(f)return f;let i;if(!(r===31337||r===1337))try{let o=await fetch(`${xfn}/${r}/${t}`,{headers:{...Urn()}});if(o.ok){let c=await o.json();i=tde(c)}}catch{}if(i||(i=await Ji0(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}`):Efn(t,r,i),i}async function Ji0(t,e,n,a){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},f,[i,s]=await Promise.all([zi0(t,n).catch(()=>{}),_fn(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 $M(c,a)}catch{}if(!f&&o){let d=Vi0(o);if(d&&d.length>0)return f={name:"Unimported Contract",abi:d,metadata:{},info:{},licenses:[],isPartialAbi:!0},f}return f}async function _fn(t,e,n){let a=(await Promise.resolve().then(()=>Ee(xoe()))).default;if(!B5e){let i=n?.supportedChains?.find(s=>s.chainId===137)||Q7;B5e=new a0.Contract(ZM(),a,Bf(i,n))}return await B5e.getMetadataUri(e,t)}async function Zc(t,e,n){try{let a=await ni(t,e,n);if(a&&a.abi)return a.abi}catch{}}async function Afn(t,e){let{extendedMetadata:n}=await Ls(t,e);return n?.compositeAbi||[]}function ni0(t){return Cfn.some(a=>t.includes(a))?!0:Ifn.some(a=>a.some(r=>t.includes(r)))}async function Xc(t,e){let n=await e.getCode(t);return n!=="0x"&&n!=="0x0"}async function K5e(t){try{await t.sendTransaction("0xf8a58085174876e800830186a08080b853604580600e600039806000f350fe7fffffffffffffffafffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf31ba02222222222222222222222222222222222222222222222222222222222222222a02222222222222222222222222222222222222222222222222222222222222222")}catch(e){let n=e.toString().toLowerCase(),a=JSON.stringify(e).toLowerCase();return!!(ni0(n)||ni0(a))}return!1}function ts0(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 jM(t,e){let n=a0.utils.joinSignature(Zi0),a=e.gasPrice?e.gasPrice:100*10**9,r=e.gasLimit?e.gasLimit:1e5,f=ts0({gasPrice:a,gasLimit:r,nonce:0,data:Xi0,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 cd(t){return(await dK(t)).deployment}async function dK(t){let e=(await t.getNetwork()).chainId;if(D5e[e]){let l=await K5e(t)?e:0,h=D5e[e]?.gasPrice,y=D5e[e]?.gasLimit,v=jM(l,{gasPrice:h?a0.BigNumber.from(h):void 0,gasLimit:y?a0.BigNumber.from(y):void 0});return await Xc(v.deployment,t)&&(v.transaction=""),v}let n=[...G5e.map(d=>jM(e,{gasPrice:a0.BigNumber.from(d)})),...G5e.map(d=>jM(0,{gasPrice:a0.BigNumber.from(d)}))],a=await Promise.all(n.map(d=>Xc(d.deployment,t))),r=n.findIndex(d=>d.deployment===es0);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([K5e(t),t.getGasPrice()]),o=i?e:0,c=kfn(s);return jM(o,{gasPrice:c})}function kfn(t){let e=G5e.find(n=>a0.BigNumber.from(n).gte(t));return e?a0.BigNumber.from(e):t}function ude(t){let e=t.startsWith("0x")?t:`0x${t}`,a=`tw.${a0.utils.id(e)}`;return a0.utils.id(a)}function QM(t,e,n){let a=t.startsWith("0x")?t:`0x${t}`,r=n?a0.utils.id(n):ude(a);return a0.utils.solidityPack(["bytes32","bytes","bytes"],[r,a,e])}function jE(t,e,n,a){let r=t.startsWith("0x")?t:`0x${t}`,f=a?a0.utils.id(a):ude(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 rG(t){let e=rde().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}`}}:ob[t]||{name:"Ether",symbol:"ETH",decimals:18,wrapped:{address:a0.constants.AddressZero,name:"Wrapped Ether",symbol:"WETH"}}}function ch(t){let e=ht.parse(t||[]);for(let n of e)if(n.type==="constructor")return n.inputs||[];return[]}function ri0(t){return Sfn[t]||a0.constants.AddressZero}async function e6(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&&sh.deploymentPresets[s])return sh.deploymentPresets[s];if(s==="WETH9"){let k=jE(ai0,[],a),O=await Xc(k,e),F="";return O||(F=QM(ai0,[])),{name:s,type:t,transaction:{predictedAddress:k,to:a,data:F}}}if(!d){d0(s,"Require contract name"),c||(c=C2);let k=await fc(c,s,o,n,f,i);d=(await Ls(k.metadataUri,n)).compilerMetadata}let l=await lK(d,e,n,a,r?.constructorParams,f,i),h=jE(d.bytecode,l,a),y=await Xc(h,e),v="";return y||(v=QM(d.bytecode,l)),{name:s,type:t,transaction:{predictedAddress:h,to:a,data:v},encodedArgs:l}}async function lK(t,e,n,a,r,f,i){let s=ch(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 fi0(e,n,a,f,i);if(l.name&&l.name.includes("trustedForwarder")){if(t.name==="Pack")return xr;let h=await e6("infra",e,n,a,{contractName:"Forwarder"},f,i);return sh.deploymentPresets.Forwarder||(sh.deploymentPresets.Forwarder=h),h.transaction.predictedAddress}else if(l.name&&l.name.includes("royaltyEngineAddress")){let h=(await e.getNetwork()).chainId;return ri0(h)}else if(l.name&&l.name.includes("marketplaceV3Params")){let h=(await e.getNetwork()).chainId,y=ri0(h),v=await fi0(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 fi0(t,e,n,a,r){let f=(await t.getNetwork()).chainId,i=rG(f).wrapped.address;if(i===a0.constants.AddressZero){let s=await e6("infra",t,e,n,{contractName:"WETH9"},a,r);sh.deploymentPresets.WETH9||(sh.deploymentPresets.WETH9=s),i=s.transaction.predictedAddress}return i}async function aG(t,e,n,a,r){return(!n||n==="")&&(n=await cd(t)),(await e6("infra",t,e,n,{contractName:"ForwarderEOAOnly"},a,r)).transaction.predictedAddress}async function p9(t,e,n,a,r){return(!n||n==="")&&(n=await cd(t)),(await e6("infra",t,e,n,{contractName:"Forwarder"},a,r)).transaction.predictedAddress}function fM(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||"":ii0(/.*?"message":"([^"\\]*).*?/,e)||ii0(/.*?"reason":"([^"\\]*).*?/,e)||t.message||""}function bb(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 si0(t,e){let n=e.match(t)||[],a="";return n?.length>0&&(a+=n[1]),a}function eh(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 p9(t,e,n){let a=n.join("|"),r=oi0[a],f=Date.now()-r>=2e3;if(!(a in FE)||f){let s=await t.functions[e](...n);Array.isArray(s)&&s.length>0?FE[a]=a0.BigNumber.from(s[0]):FE[a]=a0.BigNumber.from(s),oi0[a]=Date.now()}let i=FE[a];return FE[a]=a0.BigNumber.from(FE[a]).add(1),i}async function Kc(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)try{s=await f.send("eth_signTypedData_v4",[o,JSON.stringify(i)])}catch(c){if(c?.message?.includes("eth_signTypedData_v4"))s=await f.send("eth_signTypedData",[o,JSON.stringify(i)]);else throw c}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 Rfn(t,e){let n=new a0.Contract(e,Sfn,t);try{return await n.nonces(await t.getAddress())}catch{return await n.getNonce(await t.getAddress())}}async function Mfn(t,e){let n=new a0.Contract(e,kfn,t);try{return await n.DOMAIN_SEPARATOR()}catch{try{return await n.getDomainSeperator()}catch(r){console.error("Error getting domain separator",r)}}}async function Bfn(t,e){return new a0.Contract(e,Ifn,t).name()}async function Dfn(t,e){let n=await Mfn(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 sM(t,e,n,a,r,f,i,s){let[o,c,d]=await Promise.all([Bfn(t,e),t.getChainId(),Rfn(t,e)]),l=await Dfn(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 Kc(t,l,y,h);return{message:h,signature:v}}function h9(t,e){return t===E0.Hardhat||t===E0.Localhost?e==="twFactory"?NE("factoryAddress"):e==="twRegistry"?NE("registryAddress"):xr:p2[t]?.[e]}function ZM(t,e,n){return rs0(n,e)}function aE(t,e,n){return ZM(t,e,n)}function rs0(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=rs0(i.features,e),r)break}return r}return t[e].enabled}async function L5e(t,e,n){return(await Promise.all(t.map(a=>ni(a,e,n).catch(r=>(console.error(`Failed to fetch plug-in for ${a}`,r),{abi:[]}))))).map(a=>a.abi)}async function Vm(t,e,n,a,r){let f=[];try{let i=gb(e),s=aE(e,"PluginRouter",i),o=aE(e,"DynamicContract",i),c=aE(e,"Fallback",i);if(o){let h=(await new lt(n,t,ji0,a,r).call("getAllExtensions")).map(y=>y.metadata.implementation);f=await L5e(h,n,r)}else if(s){let h=(await new lt(n,t,qi0,a,r).call("getAllPlugins")).map(v=>v.pluginAddress),y=Array.from(new Set(h));f=await L5e(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 L5e(y,n,r)}}catch{}return f.length>0?ih([...f],e):e}function cr(t){return t==="admin"?a0.utils.hexZeroPad([0],32):a0.utils.id(fs0[t])}async function pK(t,e){try{return await yG(t,e)}catch{return}}function Ade(t){return Object.values(_de).find(e=>e.name===t)?.contractType||"custom"}function hK(t){return Object.values(_de).find(e=>e.contractType===t)?.name}var a0,$G,di0,_2,li0,Ps,ui0,rc,pi0,hi0,Mrn,mi0,bi0,Brn,JG,Drn,XG,VG,Cf0,Sf0,k5e,S5e,Hrn,uG,da,Rf0,zrn,$m,P6e,vr0,b6e,tb,Wrn,ar0,ff,y9,Mf0,R5e,qrn,jrn,ts,Xa,vi0,Fi,F6,vi,A2,tc,l1,fi,oh,tK,pM,pG,hG,wi0,J5e,Ti0,xi0,Ul,Bf0,F5e,Ei0,ht,_i0,VM,nK,Ai0,Ci0,Ii0,ki0,Si0,X5e,Ri0,Z5e,Mi0,Bi0,ede,jM,tde,Di0,Pi0,Grn,Krn,bG,Df0,N5e,C2,O5e,ot,R9,o0,Vrn,Yrn,$rn,Pf0,Lf0,PE,ua,ri,aK,rK,GM,ns,Hl,Mf,U5e,Jc,ac,zM,Ff0,H5e,z5e,Of0,Jrn,Ds,Fi0,YG,OE,j5e,tfn,Ni0,nfn,afn,Uf0,rfn,Hi0,sfn,ofn,hfn,mfn,Hf0,SE,zf0,Wf0,RE,NM,OM,ME,qf0,BE,CM,nh,IM,jf0,kM,Gf0,Kf0,IE,MG,SM,RM,MM,BM,Qf0,BG,DG,_9,DM,pb,A9,kE,bfn,nb,Vf0,vM,Yf0,$f0,gE,v9,wM,Jf0,TM,xM,ab,rb,gG,vG,vE,yfn,qi0,ji0,uE,bE,hE,Xf0,mE,oM,nE,pE,Zf0,UM,ei0,M9,cb,db,lb,B9,ti0,ho,D9,UE,HE,zE,ni0,ode,B5e,vfn,$i0,D5e,Efn,_fn,K5e,P5e,Zi0,es0,ts0,dde,lde,ude,ri0,E0,bf,ob,b5e,sh,Cfn,xr,w9,mM,hM,_M,g2,wE,v2,Z1,u9,fM,iM,u6e,FE,oi0,Ifn,kfn,Sfn,$c,k9,yb,p2,o1,as0,E2,lt,fs0,uK,hde,is0,ss0,_G,os0,Pfn,Lfn,E5e,mde,cs0,ds0,rh,bde,ls0,us0,E9,ps0,Ffn,Nfn,a5e,yde,hs0,ms0,UG,bs0,Ofn,fK,ys0,gs0,WG,gde,vs0,ws0,CG,vde,Ts0,xs0,GG,wde,Es0,_s0,FG,Tde,As0,xde,Cs0,Is0,QG,w5e,Bs,TE,y5e,_5e,r5e,Mn,I2,vb,k2,dh,S2,wb,R2,M2,B2,D2,Tb,P2,L2,xb,Ede,ci0,_de,ln=oe(()=>{"use strict";u();p();a0=Ee(Je());Jd();Hc();HW();ir();$G=Ee(Va()),di0=Ee(io());sze();cze();dze();uze();pze();_2=Ee(K1());hze();bze();yze();gze();li0=Ee(poe());wze();xze();_ze();Aze();Ps=Ee(mx());Ize();Sze();Mze();Dze();Pze();Lze();Nze();Uze();zze();qze();Gze();Qze();ui0=Ee(yoe());Vze();$ze();Xze();eWe();tWe();aWe();rc=Ee(bx()),pi0=Ee(voe());fWe();sWe();cWe();dWe();uWe();hWe();bWe();gWe();wWe();xWe();Toe();_We();CWe();kWe();RWe();BWe();PWe();FWe();OWe();HWe();WWe();jWe();KWe();VWe();hi0=Ee(A7());W0();Mrn="0xf5b896Ddb5146D5dA77efF4efBb3Eae36E300808";mi0=10,bi0=200,Brn={timeLimitMs:mi0,sizeLimit:bi0},JG=class extends a0.providers.StaticJsonRpcProvider{constructor(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Brn;super(e,n),this._timeLimitMs=a.timeLimitMs||mi0,this._sizeLimit=a.sizeLimit||bi0,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}},Drn=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()}),XG=fe.object({supportedChains:fe.array(Drn).default(r1),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"}}),VG={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"}},Cf0=[["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/]];Sf0=new Map;S5e=new Map;Hrn=fe.custom(t=>typeof t=="string"&&(t.endsWith(".eth")||t.endsWith(".cb.id"))).transform(async t=>Y5e(t)).refine(t=>!!t&&a0.utils.isAddress(t),{message:"Provided value was not a valid ENS name"}),uG=fe.custom(t=>typeof t=="string"&&a0.utils.isAddress(t),t=>({message:`${t} is not a valid address`})),da=fe.union([uG,Hrn],{invalid_type_error:"Provided value was not a valid address or ENS name"});Rf0=fe.instanceof(File),zrn=fe.union([Rf0,fe.object({data:fe.union([Rf0,fe.string()]),name:fe.string()})]),$m=fe.union([zrn,fe.string()]),P6e=1e4,vr0=fe.union([fe.array(fe.number()),fe.string()]),b6e=fe.union([fe.bigint(),fe.custom(t=>a0.BigNumber.isBigNumber(t)),fe.custom(t=>$G.default.isBN(t))]).transform(t=>$G.default.isBN(t)?new $G.default(t).toString():a0.BigNumber.from(t).toString()),tb=fe.number().max(P6e,"Cannot exceed 100%").min(0,"Cannot be below 0%"),Wrn=fe.number().max(100,"Cannot exceed 100%").min(0,"Cannot be below 0%"),ar0=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),y9=fe.union([ff,fe.literal("unlimited")]).default("unlimited"),Mf0=256,R5e="0|[1-9]\\d*",qrn=`(${R5e})\\.(${R5e})\\.(${R5e})`,jrn=new RegExp(qrn);ts=fe.union([fe.string(),fe.number(),fe.bigint(),fe.custom(t=>a0.BigNumber.isBigNumber(t))]).transform(t=>a0.BigNumber.from(t)),Xa=ts.transform(t=>t.toString()),vi0=fe.union([fe.bigint(),fe.custom(t=>a0.BigNumber.isBigNumber(t))]).transform(t=>a0.BigNumber.from(t).toString()),Fi=fe.object({name:fe.string(),description:fe.string().optional(),image:$m.optional(),external_link:fe.string().optional(),app_uri:fe.string().optional(),social_urls:fe.record(fe.string()).optional(),defaultAdmin:da.optional()}).catchall(fe.unknown()),F6=Fi.extend({image:fe.string().optional()}).catchall(fe.unknown()),vi=fe.object({seller_fee_basis_points:tb.default(0),fee_recipient:da.default(a0.constants.AddressZero)}),A2=fe.object({primary_sale_recipient:da.default(a0.constants.AddressZero)}),tc=fe.object({platform_fee_basis_points:tb.default(0),platform_fee_recipient:da.default(a0.constants.AddressZero)}),l1=fe.object({trusted_forwarders:fe.array(da).default([])}),fi=fe.object({symbol:fe.string().default("")}),oh=fe.object({merkle:fe.record(fe.string()).default({})}),tK=fe.object({address:da,maxClaimable:y9.default(0),price:y9.optional(),currencyAddress:da.default(a0.constants.AddressZero).optional()}),pM=fe.union([fe.array(fe.string()).transform(async t=>await Promise.all(t.map(e=>tK.parseAsync({address:e})))),fe.array(tK)]),pG=tK.extend({proof:fe.array(fe.string())}),hG=fe.object({merkleRoot:fe.string(),claims:fe.array(pG)}),wi0=Fi.catchall(fe.union([vi0,fe.unknown()])),J5e=wi0.merge(vi.merge(oh).merge(fi).partial()).catchall(fe.any()),Ti0=F6.merge(vi.merge(oh).merge(fi).partial()).catchall(fe.any()),xi0=J5e.merge(tc.merge(A2).merge(l1).partial()),Ul={deploy:xi0,output:Ti0,input:J5e},Bf0=fe.object({type:fe.string(),name:fe.string().default("")}).catchall(fe.any()),F5e=Bf0.extend({stateMutability:fe.string().optional(),components:fe.array(Bf0).optional()}).catchall(fe.any()),Ei0=fe.object({type:fe.string(),name:fe.string().default(""),inputs:fe.array(F5e).default([]),outputs:fe.array(F5e).default([])}).catchall(fe.any()),ht=fe.array(Ei0),_i0=fe.union([fe.literal("solc"),fe.literal("zksolc")]),VM=fe.object({name:fe.string(),metadataUri:fe.string(),bytecodeUri:fe.string(),analytics:fe.any().optional(),compilers:fe.record(_i0,fe.array(fe.object({compilerVersion:fe.string().optional(),evmVersion:fe.string().optional(),metadataUri:fe.string(),bytecodeUri:fe.string()}))).optional()}).catchall(fe.any()),nK=fe.record(fe.string(),fe.string()),Ai0=fe.object({factoryFunction:fe.string(),params:fe.array(fe.object({name:fe.string(),type:fe.string()})).default([]),customFactoryAddresses:nK}),Ci0=fe.object({implementationAddresses:nK,implementationInitializerFunction:fe.string().default("initialize"),customFactoryInput:Ai0.optional(),factoryAddresses:nK.optional()}),Ii0=fe.union([fe.literal("standard"),fe.literal("autoFactory"),fe.literal("customFactory")]),ki0=fe.union([fe.literal("none"),fe.literal("plugin"),fe.literal("dynamic")]),Si0=fe.object({allNetworks:fe.boolean().optional(),networksEnabled:fe.array(fe.number()).default([])}),X5e=fe.object({version:fe.string().refine(t=>{try{return eK(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:$m.nullable().optional(),logo:$m.nullable().optional(),isDeployableViaFactory:fe.boolean().optional(),isDeployableViaProxy:fe.boolean().optional(),factoryDeploymentData:Ci0.optional(),deployType:Ii0.optional(),routerType:ki0.optional(),defaultExtensions:fe.array(fe.object({extensionName:fe.string(),extensionVersion:fe.string().default("latest"),publisherAddress:da})).optional(),networksForDeployment:Si0.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:ht.optional()}).catchall(fe.any()),Ri0=X5e.extend({audit:fe.string().nullable().optional(),logo:fe.string().nullable().optional()}),Z5e=VM.merge(X5e).extend({publisher:da.optional()}),Mi0=VM.merge(Ri0).extend({publisher:da.optional()}),Bi0=fe.object({name:fe.string().optional(),bio:fe.string().optional(),avatar:$m.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()}),ede=Bi0.extend({avatar:fe.string().nullable().optional()}),jM=fe.object({id:fe.string(),timestamp:Xa,metadataUri:fe.string()}),tde=fe.object({title:fe.string().optional(),author:fe.string().optional(),details:fe.string().optional(),notice:fe.string().optional()}),Di0=fe.object({name:fe.string(),abi:ht,metadata:fe.record(fe.string(),fe.any()),info:tde,licenses:fe.array(fe.string().optional()).default([]).transform(t=>t.filter(e=>e!==void 0)),isPartialAbi:fe.boolean().optional()}),Pi0=VM.merge(Di0).extend({bytecode:fe.string(),fetchedMetadataUri:fe.string(),fetchedBytecodeUri:fe.string()});Grn=2;Krn=()=>!0,bG=()=>!Krn();Df0=ade(20);N5e=r1;C2="0xdd99b75f095d0c4d5112aCe938e4e6ed962fb024";try{O5e=new TextDecoder}catch{}o0=0,Vrn=105,Yrn=57342,$rn=57343,Pf0=57337,Lf0=6,PE={},ua={},rK=0,GM=0,Mf=[],U5e=[],Ff0={useRecords:!1,mapsAsObjects:!0},H5e=!1,z5e=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(ot)return Oi0(()=>(Ui0(),this?this.decode(e,n):t.prototype.decode.call(Ff0,e,n)));R9=n>-1?n:e.length,o0=0,GM=0,aK=null,ns=null,ot=e;try{ac=e.dataView||(e.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength))}catch(a){throw ot=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,Jc=this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),this.structures)return ri=this.structures,Nf0();(!ri||ri.length>0)&&(ri=[])}else ua=Ff0,(!ri||ri.length>0)&&(ri=[]),Jc=null;return Nf0()}};Of0=/^[a-zA-Z_$][a-zA-Z\d_$]*$/;Jrn=q5e;Ds=String.fromCharCode;Fi0=new Float32Array(1),YG=new Uint8Array(Fi0.buffer,0,4);OE=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));j5e=t=>{let e=t[0]-57344,n=t[1],a=ri[e];a&&a.isShared&&((ri.restoreStructures||(ri.restoreStructures=[]))[e]=a),ri[e]=n,n.read=W5e(n);let r={};if(ua.keyMap)for(let f=2,i=t.length;fns?ns[0].slice(ns.position0,ns.position0+=t):new OE(t,14);Mf[15]=t=>ns?ns[1].slice(ns.position1,ns.position1+=t):new OE(t,15);tfn={Error,RegExp};Mf[27]=t=>(tfn[t[0]]||Error)(t[1],t[2]);Ni0=t=>{if(ot[o0++]!=132)throw new Error("Packed values structure must be followed by a 4 element array");let e=t();return Jc=Jc?e.concat(Jc.slice(e.length)):e,Jc.prefixes=t(),Jc.suffixes=t(),t()};Ni0.handlesRead=!0;Mf[51]=Ni0;Mf[Lf0]=t=>{if(!Jc)if(ua.getShared)ide();else return new OE(t,Lf0);if(typeof t=="number")return Jc[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=>{Hl||(Hl=new Map,Hl.id=0);let e=Hl.id++,n=ot[o0],a;n>>5==4?a=[]:a={};let r={target:a};Hl.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=Hl.get(t);return e.used=!0,e.target};Mf[258]=t=>new Set(t);(Mf[259]=t=>(ua.mapsAsObjects&&(ua.mapsAsObjects=!1,zM=!0),t())).handlesRead=!0;nfn=1399353956;U5e.push((t,e)=>{if(t>=225&&t<=255)return LE(S9().prefixes[t-224],e);if(t>=28704&&t<=32767)return LE(S9().prefixes[t-28672],e);if(t>=1879052288&&t<=2147483647)return LE(S9().prefixes[t-1879048192],e);if(t>=216&&t<=223)return LE(e,S9().suffixes[t-216]);if(t>=27647&&t<=28671)return LE(e,S9().suffixes[t-27639]);if(t>=1811940352&&t<=1879048191)return LE(e,S9().suffixes[t-1811939328]);if(t==nfn)return{packedValues:Jc,structures:ri.slice(0),version:e};if(t==55799)return e});afn=new Uint8Array(new Uint16Array([1]).buffer)[0]==1,Uf0=[Uint8Array],rfn=[64];for(let t=0;t0&&(a+=n[1]),a}function eh(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 m9(t,e,n){let a=n.join("|"),r=si0[a],f=Date.now()-r>=2e3;if(!(a in OE)||f){let s=await t.functions[e](...n);Array.isArray(s)&&s.length>0?OE[a]=a0.BigNumber.from(s[0]):OE[a]=a0.BigNumber.from(s),si0[a]=Date.now()}let i=OE[a];return OE[a]=a0.BigNumber.from(OE[a]).add(1),i}async function Kc(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)try{s=await f.send("eth_signTypedData_v4",[o,JSON.stringify(i)])}catch(c){if(c?.message?.includes("eth_signTypedData_v4"))s=await f.send("eth_signTypedData",[o,JSON.stringify(i)]);else throw c}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 Dfn(t,e){let n=new a0.Contract(e,Bfn,t);try{return await n.nonces(await t.getAddress())}catch{return await n.getNonce(await t.getAddress())}}async function Pfn(t,e){let n=new a0.Contract(e,Mfn,t);try{return await n.DOMAIN_SEPARATOR()}catch{try{return await n.getDomainSeperator()}catch(r){console.error("Error getting domain separator",r)}}}async function Lfn(t,e){return new a0.Contract(e,Rfn,t).name()}async function Ffn(t,e){let n=await Pfn(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 oM(t,e,n,a,r,f,i,s){let[o,c,d]=await Promise.all([Lfn(t,e),t.getChainId(),Dfn(t,e)]),l=await Ffn(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 Kc(t,l,y,h);return{message:h,signature:v}}function b9(t,e){return t===E0.Hardhat||t===E0.Localhost?e==="twFactory"?UE("factoryAddress"):e==="twRegistry"?UE("registryAddress"):xr:p2[t]?.[e]}function eB(t,e,n){return as0(n,e)}function fE(t,e,n){return eB(t,e,n)}function as0(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=as0(i.features,e),r)break}return r}return t[e].enabled}async function P5e(t,e,n){return(await Promise.all(t.map(a=>ni(a,e,n).catch(r=>(console.error(`Failed to fetch plug-in for ${a}`,r),{abi:[]}))))).map(a=>a.abi)}async function Vm(t,e,n,a,r){let f=[];try{let i=gb(e),s=fE(e,"PluginRouter",i),o=fE(e,"DynamicContract",i),c=fE(e,"Fallback",i);if(o){let h=(await new lt(n,t,qi0,a,r).call("getAllExtensions")).map(y=>y.metadata.implementation);f=await P5e(h,n,r)}else if(s){let h=(await new lt(n,t,Wi0,a,r).call("getAllPlugins")).map(v=>v.pluginAddress),y=Array.from(new Set(h));f=await P5e(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 P5e(y,n,r)}}catch{}return f.length>0?ih([...f],e):e}function cr(t){return t==="admin"?a0.utils.hexZeroPad([0],32):a0.utils.id(rs0[t])}async function pK(t,e){try{return await yG(t,e)}catch{return}}function _de(t){return Object.values(Ede).find(e=>e.name===t)?.contractType||"custom"}function hK(t){return Object.values(Ede).find(e=>e.contractType===t)?.name}var a0,$G,ci0,_2,di0,Ps,li0,rc,ui0,pi0,Prn,hi0,mi0,Lrn,JG,Frn,XG,VG,Af0,kf0,I5e,k5e,qrn,uG,da,Sf0,jrn,$m,D6e,gr0,m6e,tb,Grn,nr0,ff,v9,Rf0,S5e,Krn,Qrn,ts,Xa,gi0,Fi,F6,vi,A2,tc,l1,fi,oh,tK,hM,pG,hG,vi0,$5e,wi0,Ti0,Ul,Mf0,L5e,xi0,ht,Ei0,YM,nK,_i0,Ai0,Ci0,Ii0,ki0,J5e,Si0,X5e,Ri0,Mi0,Z5e,GM,ede,Bi0,Di0,Vrn,Yrn,bG,Bf0,F5e,C2,N5e,ot,B9,o0,Jrn,Xrn,Zrn,Df0,Pf0,FE,ua,ri,aK,rK,KM,ns,Hl,Mf,O5e,Jc,ac,WM,Lf0,U5e,H5e,Nf0,efn,Ds,Li0,YG,HE,q5e,rfn,Fi0,ffn,ifn,Of0,sfn,Ui0,dfn,lfn,yfn,gfn,Uf0,ME,Hf0,zf0,BE,OM,UM,DE,Wf0,PE,IM,nh,kM,qf0,SM,jf0,Gf0,SE,MG,RM,MM,BM,DM,Kf0,BG,DG,C9,PM,pb,I9,RE,vfn,nb,Qf0,wM,Vf0,Yf0,wE,T9,TM,$f0,xM,EM,ab,rb,gG,vG,TE,wfn,Wi0,qi0,hE,gE,bE,Jf0,yE,cM,rE,mE,Xf0,HM,Zf0,D9,cb,db,lb,P9,ei0,ho,L9,zE,WE,qE,ti0,sde,M5e,xfn,Yi0,B5e,Cfn,Ifn,G5e,D5e,Xi0,Zi0,es0,cde,dde,lde,ai0,E0,bf,ob,m5e,sh,Sfn,xr,x9,bM,mM,AM,g2,xE,v2,Z1,h9,iM,sM,l6e,OE,si0,Rfn,Mfn,Bfn,$c,R9,yb,p2,o1,ns0,E2,lt,rs0,uK,pde,fs0,is0,_G,ss0,Nfn,Ofn,x5e,hde,os0,cs0,rh,mde,ds0,ls0,A9,us0,Ufn,Hfn,n5e,bde,ps0,hs0,UG,ms0,zfn,fK,bs0,ys0,WG,yde,gs0,vs0,CG,gde,ws0,Ts0,GG,vde,xs0,Es0,FG,wde,_s0,Tde,As0,Cs0,QG,v5e,Bs,EE,b5e,E5e,a5e,Mn,I2,vb,k2,dh,S2,wb,R2,M2,B2,D2,Tb,P2,L2,xb,xde,oi0,Ede,ln=oe(()=>{"use strict";u();p();a0=Ee(Je());Jd();Hc();HW();ir();$G=Ee(Va()),ci0=Ee(io());ize();oze();cze();lze();uze();_2=Ee(K1());pze();mze();bze();yze();di0=Ee(uoe());vze();Tze();Eze();_ze();Ps=Ee(yx());Cze();kze();Rze();Bze();Dze();Pze();Fze();Oze();Hze();Wze();jze();Kze();li0=Ee(boe());Qze();Yze();Jze();Zze();eWe();nWe();rc=Ee(gx()),ui0=Ee(goe());rWe();iWe();oWe();cWe();lWe();pWe();mWe();yWe();vWe();TWe();woe();EWe();AWe();IWe();SWe();MWe();DWe();LWe();NWe();UWe();zWe();qWe();GWe();QWe();pi0=Ee(I7());W0();Prn="0xf5b896Ddb5146D5dA77efF4efBb3Eae36E300808";hi0=10,mi0=200,Lrn={timeLimitMs:hi0,sizeLimit:mi0},JG=class extends a0.providers.StaticJsonRpcProvider{constructor(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Lrn;super(e,n),this._timeLimitMs=a.timeLimitMs||hi0,this._sizeLimit=a.sizeLimit||mi0,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}},Frn=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()}),XG=fe.object({supportedChains:fe.array(Frn).default(r1),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"}}),VG={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"}},Af0=[["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/]];kf0=new Map;k5e=new Map;qrn=fe.custom(t=>typeof t=="string"&&(t.endsWith(".eth")||t.endsWith(".cb.id"))).transform(async t=>V5e(t)).refine(t=>!!t&&a0.utils.isAddress(t),{message:"Provided value was not a valid ENS name"}),uG=fe.custom(t=>typeof t=="string"&&a0.utils.isAddress(t),t=>({message:`${t} is not a valid address`})),da=fe.union([uG,qrn],{invalid_type_error:"Provided value was not a valid address or ENS name"});Sf0=fe.instanceof(File),jrn=fe.union([Sf0,fe.object({data:fe.union([Sf0,fe.string()]),name:fe.string()})]),$m=fe.union([jrn,fe.string()]),D6e=1e4,gr0=fe.union([fe.array(fe.number()),fe.string()]),m6e=fe.union([fe.bigint(),fe.custom(t=>a0.BigNumber.isBigNumber(t)),fe.custom(t=>$G.default.isBN(t))]).transform(t=>$G.default.isBN(t)?new $G.default(t).toString():a0.BigNumber.from(t).toString()),tb=fe.number().max(D6e,"Cannot exceed 100%").min(0,"Cannot be below 0%"),Grn=fe.number().max(100,"Cannot exceed 100%").min(0,"Cannot be below 0%"),nr0=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),v9=fe.union([ff,fe.literal("unlimited")]).default("unlimited"),Rf0=256,S5e="0|[1-9]\\d*",Krn=`(${S5e})\\.(${S5e})\\.(${S5e})`,Qrn=new RegExp(Krn);ts=fe.union([fe.string(),fe.number(),fe.bigint(),fe.custom(t=>a0.BigNumber.isBigNumber(t))]).transform(t=>a0.BigNumber.from(t)),Xa=ts.transform(t=>t.toString()),gi0=fe.union([fe.bigint(),fe.custom(t=>a0.BigNumber.isBigNumber(t))]).transform(t=>a0.BigNumber.from(t).toString()),Fi=fe.object({name:fe.string(),description:fe.string().optional(),image:$m.optional(),external_link:fe.string().optional(),app_uri:fe.string().optional(),social_urls:fe.record(fe.string()).optional(),defaultAdmin:da.optional()}).catchall(fe.unknown()),F6=Fi.extend({image:fe.string().optional()}).catchall(fe.unknown()),vi=fe.object({seller_fee_basis_points:tb.default(0),fee_recipient:da.default(a0.constants.AddressZero)}),A2=fe.object({primary_sale_recipient:da.default(a0.constants.AddressZero)}),tc=fe.object({platform_fee_basis_points:tb.default(0),platform_fee_recipient:da.default(a0.constants.AddressZero)}),l1=fe.object({trusted_forwarders:fe.array(da).default([])}),fi=fe.object({symbol:fe.string().default("")}),oh=fe.object({merkle:fe.record(fe.string()).default({})}),tK=fe.object({address:da,maxClaimable:v9.default(0),price:v9.optional(),currencyAddress:da.default(a0.constants.AddressZero).optional()}),hM=fe.union([fe.array(fe.string()).transform(async t=>await Promise.all(t.map(e=>tK.parseAsync({address:e})))),fe.array(tK)]),pG=tK.extend({proof:fe.array(fe.string())}),hG=fe.object({merkleRoot:fe.string(),claims:fe.array(pG)}),vi0=Fi.catchall(fe.union([gi0,fe.unknown()])),$5e=vi0.merge(vi.merge(oh).merge(fi).partial()).catchall(fe.any()),wi0=F6.merge(vi.merge(oh).merge(fi).partial()).catchall(fe.any()),Ti0=$5e.merge(tc.merge(A2).merge(l1).partial()),Ul={deploy:Ti0,output:wi0,input:$5e},Mf0=fe.object({type:fe.string(),name:fe.string().default("")}).catchall(fe.any()),L5e=Mf0.extend({stateMutability:fe.string().optional(),components:fe.array(Mf0).optional()}).catchall(fe.any()),xi0=fe.object({type:fe.string(),name:fe.string().default(""),inputs:fe.array(L5e).default([]),outputs:fe.array(L5e).default([])}).catchall(fe.any()),ht=fe.array(xi0),Ei0=fe.union([fe.literal("solc"),fe.literal("zksolc")]),YM=fe.object({name:fe.string(),metadataUri:fe.string(),bytecodeUri:fe.string(),analytics:fe.any().optional(),compilers:fe.record(Ei0,fe.array(fe.object({compilerVersion:fe.string().optional(),evmVersion:fe.string().optional(),metadataUri:fe.string(),bytecodeUri:fe.string()}))).optional()}).catchall(fe.any()),nK=fe.record(fe.string(),fe.string()),_i0=fe.object({factoryFunction:fe.string(),params:fe.array(fe.object({name:fe.string(),type:fe.string()})).default([]),customFactoryAddresses:nK}),Ai0=fe.object({implementationAddresses:nK,implementationInitializerFunction:fe.string().default("initialize"),customFactoryInput:_i0.optional(),factoryAddresses:nK.optional()}),Ci0=fe.union([fe.literal("standard"),fe.literal("autoFactory"),fe.literal("customFactory")]),Ii0=fe.union([fe.literal("none"),fe.literal("plugin"),fe.literal("dynamic")]),ki0=fe.object({allNetworks:fe.boolean().optional(),networksEnabled:fe.array(fe.number()).default([])}),J5e=fe.object({version:fe.string().refine(t=>{try{return eK(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:$m.nullable().optional(),logo:$m.nullable().optional(),isDeployableViaFactory:fe.boolean().optional(),isDeployableViaProxy:fe.boolean().optional(),factoryDeploymentData:Ai0.optional(),deployType:Ci0.optional(),routerType:Ii0.optional(),defaultExtensions:fe.array(fe.object({extensionName:fe.string(),extensionVersion:fe.string().default("latest"),publisherAddress:da})).optional(),networksForDeployment:ki0.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:ht.optional()}).catchall(fe.any()),Si0=J5e.extend({audit:fe.string().nullable().optional(),logo:fe.string().nullable().optional()}),X5e=YM.merge(J5e).extend({publisher:da.optional()}),Ri0=YM.merge(Si0).extend({publisher:da.optional()}),Mi0=fe.object({name:fe.string().optional(),bio:fe.string().optional(),avatar:$m.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()}),Z5e=Mi0.extend({avatar:fe.string().nullable().optional()}),GM=fe.object({id:fe.string(),timestamp:Xa,metadataUri:fe.string()}),ede=fe.object({title:fe.string().optional(),author:fe.string().optional(),details:fe.string().optional(),notice:fe.string().optional()}),Bi0=fe.object({name:fe.string(),abi:ht,metadata:fe.record(fe.string(),fe.any()),info:ede,licenses:fe.array(fe.string().optional()).default([]).transform(t=>t.filter(e=>e!==void 0)),isPartialAbi:fe.boolean().optional()}),Di0=YM.merge(Bi0).extend({bytecode:fe.string(),fetchedMetadataUri:fe.string(),fetchedBytecodeUri:fe.string()});Vrn=2;Yrn=()=>!0,bG=()=>!Yrn();Bf0=nde(20);F5e=r1;C2="0xdd99b75f095d0c4d5112aCe938e4e6ed962fb024";try{N5e=new TextDecoder}catch{}o0=0,Jrn=105,Xrn=57342,Zrn=57343,Df0=57337,Pf0=6,FE={},ua={},rK=0,KM=0,Mf=[],O5e=[],Lf0={useRecords:!1,mapsAsObjects:!0},U5e=!1,H5e=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(ot)return Ni0(()=>(Oi0(),this?this.decode(e,n):t.prototype.decode.call(Lf0,e,n)));B9=n>-1?n:e.length,o0=0,KM=0,aK=null,ns=null,ot=e;try{ac=e.dataView||(e.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength))}catch(a){throw ot=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,Jc=this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),this.structures)return ri=this.structures,Ff0();(!ri||ri.length>0)&&(ri=[])}else ua=Lf0,(!ri||ri.length>0)&&(ri=[]),Jc=null;return Ff0()}};Nf0=/^[a-zA-Z_$][a-zA-Z\d_$]*$/;efn=W5e;Ds=String.fromCharCode;Li0=new Float32Array(1),YG=new Uint8Array(Li0.buffer,0,4);HE=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));q5e=t=>{let e=t[0]-57344,n=t[1],a=ri[e];a&&a.isShared&&((ri.restoreStructures||(ri.restoreStructures=[]))[e]=a),ri[e]=n,n.read=z5e(n);let r={};if(ua.keyMap)for(let f=2,i=t.length;fns?ns[0].slice(ns.position0,ns.position0+=t):new HE(t,14);Mf[15]=t=>ns?ns[1].slice(ns.position1,ns.position1+=t):new HE(t,15);rfn={Error,RegExp};Mf[27]=t=>(rfn[t[0]]||Error)(t[1],t[2]);Fi0=t=>{if(ot[o0++]!=132)throw new Error("Packed values structure must be followed by a 4 element array");let e=t();return Jc=Jc?e.concat(Jc.slice(e.length)):e,Jc.prefixes=t(),Jc.suffixes=t(),t()};Fi0.handlesRead=!0;Mf[51]=Fi0;Mf[Pf0]=t=>{if(!Jc)if(ua.getShared)fde();else return new HE(t,Pf0);if(typeof t=="number")return Jc[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=>{Hl||(Hl=new Map,Hl.id=0);let e=Hl.id++,n=ot[o0],a;n>>5==4?a=[]:a={};let r={target:a};Hl.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=Hl.get(t);return e.used=!0,e.target};Mf[258]=t=>new Set(t);(Mf[259]=t=>(ua.mapsAsObjects&&(ua.mapsAsObjects=!1,WM=!0),t())).handlesRead=!0;ffn=1399353956;O5e.push((t,e)=>{if(t>=225&&t<=255)return NE(M9().prefixes[t-224],e);if(t>=28704&&t<=32767)return NE(M9().prefixes[t-28672],e);if(t>=1879052288&&t<=2147483647)return NE(M9().prefixes[t-1879048192],e);if(t>=216&&t<=223)return NE(e,M9().suffixes[t-216]);if(t>=27647&&t<=28671)return NE(e,M9().suffixes[t-27639]);if(t>=1811940352&&t<=1879048191)return NE(e,M9().suffixes[t-1811939328]);if(t==ffn)return{packedValues:Jc,structures:ri.slice(0),version:e};if(t==55799)return e});ifn=new Uint8Array(new Uint16Array([1]).buffer)[0]==1,Of0=[Uint8Array],sfn=[64];for(let t=0;t0&&(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}};fM=[{name:"from",type:"address"},{name:"to",type:"address"},{name:"value",type:"uint256"},{name:"gas",type:"uint256"},{name:"nonce",type:"uint256"},{name:"data",type:"bytes"}],iM=[{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"}],u6e=[{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"}],FE={},oi0={};Ifn=[{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"}],kfn=[{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"}],Sfn=[{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"}];$c="0x7c487845f98938Bb955B1D5AD069d9a30e4131fd",k9="0x5DBC7B840baa9daBcBe9D2492E45D7244B54A2A0",yb="0xc82BbE41f2cF04e3a8efA18F7032BDD7f6d98a81",p2={[E0.Mainnet]:{openzeppelinForwarder:yb,openzeppelinForwarderEOA:"0x76ce2CB1Ae48Fa067f4fb8c5f803111AE0B24BEA",biconomyForwarder:"0x84a0856b038eaAd1cC7E297cF34A7e72685A8693",twFactory:k9,twRegistry:$c,twBYOCRegistry:xr},[E0.Goerli]:{openzeppelinForwarder:"0x5001A14CA6163143316a7C614e30e6041033Ac20",openzeppelinForwarderEOA:"0xe73c50cB9c5B378627ff625BB6e6725A4A5D65d2",biconomyForwarder:"0xE041608922d06a4F26C0d4c27d8bCD01daf1f792",twFactory:k9,twRegistry:$c,twBYOCRegistry:"0xB1Bd9d7942A250BA2Dce27DD601F2ED4211A60C4"},[E0.Polygon]:{openzeppelinForwarder:yb,openzeppelinForwarderEOA:"0x4f247c69184ad61036EC2Bb3213b69F10FbEDe1F",biconomyForwarder:"0x86C80a8aa58e0A4fa09A69624c31Ab2a6CAD56b8",twFactory:k9,twRegistry:$c,twBYOCRegistry:"0x308473Be900F4185A56587dE54bDFF5E8f7a6AE7"},[E0.Mumbai]:{openzeppelinForwarder:yb,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x9399BB24DBB5C4b782C70c2969F58716Ebbd6a3b",twFactory:k9,twRegistry:$c,twBYOCRegistry:"0x3F17972CB27506eb4a6a3D59659e0B57a43fd16C"},[E0.Avalanche]:{openzeppelinForwarder:yb,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x64CD353384109423a966dCd3Aa30D884C9b2E057",twFactory:k9,twRegistry:$c,twBYOCRegistry:xr},[E0.AvalancheFujiTestnet]:{openzeppelinForwarder:yb,openzeppelinForwarderEOA:"0xe73c50cB9c5B378627ff625BB6e6725A4A5D65d2",biconomyForwarder:"0x6271Ca63D30507f2Dcbf99B52787032506D75BBF",twFactory:k9,twRegistry:$c,twBYOCRegistry:"0x3E6eE864f850F5e5A98bc950B68E181Cf4010F23"},[E0.Fantom]:{openzeppelinForwarder:yb,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x64CD353384109423a966dCd3Aa30D884C9b2E057",twFactory:"0x97EA0Fcc552D5A8Fb5e9101316AAd0D62Ea0876B",twRegistry:$c,twBYOCRegistry:xr},[E0.FantomTestnet]:{openzeppelinForwarder:yb,openzeppelinForwarderEOA:"0x42D3048b595B6e1c28a588d70366CcC2AA4dB47b",biconomyForwarder:"0x69FB8Dca8067A5D38703b9e8b39cf2D51473E4b4",twFactory:k9,twRegistry:$c,twBYOCRegistry:"0x3E6eE864f850F5e5A98bc950B68E181Cf4010F23"},[E0.Arbitrum]:{openzeppelinForwarder:"0x4a8AC7f22DeD2CF923A51e4A1c67490bd8868add",openzeppelinForwarderEOA:"0x4f247c69184ad61036EC2Bb3213b69F10FbEDe1F",biconomyForwarder:"0xfe0fa3C06d03bDC7fb49c892BbB39113B534fB57",twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c,twBYOCRegistry:xr},[E0.ArbitrumGoerli]:{openzeppelinForwarder:"0x8cbc8B5d71702032904750A66AEfE8B603eBC538",openzeppelinForwarderEOA:"0x119704314Ef304EaAAE4b3c7C9ABd59272A28310",biconomyForwarder:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c,twBYOCRegistry:xr},[E0.Optimism]:{openzeppelinForwarder:"0xd85da690EF288A6976DE0E85Fb2Aad512eBAfbf7",openzeppelinForwarderEOA:"0x7e80648EB2071E26937F9D42A513ccf4815fc702",biconomyForwarder:"0xefba8a2a82ec1fb1273806174f5e28fbb917cf95",twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c,twBYOCRegistry:xr},[E0.OptimismGoerli]:{openzeppelinForwarder:"0x8cbc8B5d71702032904750A66AEfE8B603eBC538",openzeppelinForwarderEOA:"0x119704314Ef304EaAAE4b3c7C9ABd59272A28310",biconomyForwarder:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c,twBYOCRegistry:xr},[E0.BinanceSmartChainMainnet]:{openzeppelinForwarder:"0x7C4717039B89d5859c4Fbb85EDB19A6E2ce61171",openzeppelinForwarderEOA:"0xE8dd2Ff0212F86d3197b4AfDC6dAC6ac47eb10aC",biconomyForwarder:"0x86C80a8aa58e0A4fa09A69624c31Ab2a6CAD56b8",twBYOCRegistry:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c},[E0.BinanceSmartChainTestnet]:{openzeppelinForwarder:"0x44bE9D54B9C8b5e57a3325E8Ec9154640e7c6955",openzeppelinForwarderEOA:"0x7e80648EB2071E26937F9D42A513ccf4815fc702",biconomyForwarder:"0x61456BF1715C1415730076BB79ae118E806E74d2",twBYOCRegistry:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c},[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}};o1=function(t){return t.Transaction="transaction",t.Signature="signature",t}({}),as0=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(),E2=class extends R6{constructor(e,n){super();try{this.options=XG.parse(n)}catch(f){console.error("invalid sdk options object passed, falling back to default options",f),this.options=XG.parse({})}let[a,r]=as(e,this.options);this.network=e,this.signer=a,this.provider=r}updateSignerOrProvider(e){let[n,a]=as(e,this.options);this.network=e,this.signer=n,this.provider=a}isReadOnly(){return!iK(this.signer)}getSigner(){return this.signer}getProvider(){return this.provider}getSignerOrProvider(){return this.getSigner()||this.getProvider()}},lt=class t extends E2{constructor(n,a,r,f,i){super(n,f);ae(this,"isValidContract",!1);ae(this,"customOverrides",()=>({}));this.abi=ht.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=x2(this.abi),this.extensions=gb(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=ht.parse(n),this.functions=x2(this.abi),this.extensions=gb(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(o1.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 as0.parseAsync(r):void 0,i=x2(ht.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. +`,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}};iM=[{name:"from",type:"address"},{name:"to",type:"address"},{name:"value",type:"uint256"},{name:"gas",type:"uint256"},{name:"nonce",type:"uint256"},{name:"data",type:"bytes"}],sM=[{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"}],l6e=[{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"}],OE={},si0={};Rfn=[{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"}],Mfn=[{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"}],Bfn=[{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"}];$c="0x7c487845f98938Bb955B1D5AD069d9a30e4131fd",R9="0x5DBC7B840baa9daBcBe9D2492E45D7244B54A2A0",yb="0xc82BbE41f2cF04e3a8efA18F7032BDD7f6d98a81",p2={[E0.Mainnet]:{openzeppelinForwarder:yb,openzeppelinForwarderEOA:"0x76ce2CB1Ae48Fa067f4fb8c5f803111AE0B24BEA",biconomyForwarder:"0x84a0856b038eaAd1cC7E297cF34A7e72685A8693",twFactory:R9,twRegistry:$c,twBYOCRegistry:xr},[E0.Goerli]:{openzeppelinForwarder:"0x5001A14CA6163143316a7C614e30e6041033Ac20",openzeppelinForwarderEOA:"0xe73c50cB9c5B378627ff625BB6e6725A4A5D65d2",biconomyForwarder:"0xE041608922d06a4F26C0d4c27d8bCD01daf1f792",twFactory:R9,twRegistry:$c,twBYOCRegistry:"0xB1Bd9d7942A250BA2Dce27DD601F2ED4211A60C4"},[E0.Polygon]:{openzeppelinForwarder:yb,openzeppelinForwarderEOA:"0x4f247c69184ad61036EC2Bb3213b69F10FbEDe1F",biconomyForwarder:"0x86C80a8aa58e0A4fa09A69624c31Ab2a6CAD56b8",twFactory:R9,twRegistry:$c,twBYOCRegistry:"0x308473Be900F4185A56587dE54bDFF5E8f7a6AE7"},[E0.Mumbai]:{openzeppelinForwarder:yb,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x9399BB24DBB5C4b782C70c2969F58716Ebbd6a3b",twFactory:R9,twRegistry:$c,twBYOCRegistry:"0x3F17972CB27506eb4a6a3D59659e0B57a43fd16C"},[E0.Avalanche]:{openzeppelinForwarder:yb,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x64CD353384109423a966dCd3Aa30D884C9b2E057",twFactory:R9,twRegistry:$c,twBYOCRegistry:xr},[E0.AvalancheFujiTestnet]:{openzeppelinForwarder:yb,openzeppelinForwarderEOA:"0xe73c50cB9c5B378627ff625BB6e6725A4A5D65d2",biconomyForwarder:"0x6271Ca63D30507f2Dcbf99B52787032506D75BBF",twFactory:R9,twRegistry:$c,twBYOCRegistry:"0x3E6eE864f850F5e5A98bc950B68E181Cf4010F23"},[E0.Fantom]:{openzeppelinForwarder:yb,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x64CD353384109423a966dCd3Aa30D884C9b2E057",twFactory:"0x97EA0Fcc552D5A8Fb5e9101316AAd0D62Ea0876B",twRegistry:$c,twBYOCRegistry:xr},[E0.FantomTestnet]:{openzeppelinForwarder:yb,openzeppelinForwarderEOA:"0x42D3048b595B6e1c28a588d70366CcC2AA4dB47b",biconomyForwarder:"0x69FB8Dca8067A5D38703b9e8b39cf2D51473E4b4",twFactory:R9,twRegistry:$c,twBYOCRegistry:"0x3E6eE864f850F5e5A98bc950B68E181Cf4010F23"},[E0.Arbitrum]:{openzeppelinForwarder:"0x4a8AC7f22DeD2CF923A51e4A1c67490bd8868add",openzeppelinForwarderEOA:"0x4f247c69184ad61036EC2Bb3213b69F10FbEDe1F",biconomyForwarder:"0xfe0fa3C06d03bDC7fb49c892BbB39113B534fB57",twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c,twBYOCRegistry:xr},[E0.ArbitrumGoerli]:{openzeppelinForwarder:"0x8cbc8B5d71702032904750A66AEfE8B603eBC538",openzeppelinForwarderEOA:"0x119704314Ef304EaAAE4b3c7C9ABd59272A28310",biconomyForwarder:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c,twBYOCRegistry:xr},[E0.Optimism]:{openzeppelinForwarder:"0xd85da690EF288A6976DE0E85Fb2Aad512eBAfbf7",openzeppelinForwarderEOA:"0x7e80648EB2071E26937F9D42A513ccf4815fc702",biconomyForwarder:"0xefba8a2a82ec1fb1273806174f5e28fbb917cf95",twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c,twBYOCRegistry:xr},[E0.OptimismGoerli]:{openzeppelinForwarder:"0x8cbc8B5d71702032904750A66AEfE8B603eBC538",openzeppelinForwarderEOA:"0x119704314Ef304EaAAE4b3c7C9ABd59272A28310",biconomyForwarder:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c,twBYOCRegistry:xr},[E0.BinanceSmartChainMainnet]:{openzeppelinForwarder:"0x7C4717039B89d5859c4Fbb85EDB19A6E2ce61171",openzeppelinForwarderEOA:"0xE8dd2Ff0212F86d3197b4AfDC6dAC6ac47eb10aC",biconomyForwarder:"0x86C80a8aa58e0A4fa09A69624c31Ab2a6CAD56b8",twBYOCRegistry:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c},[E0.BinanceSmartChainTestnet]:{openzeppelinForwarder:"0x44bE9D54B9C8b5e57a3325E8Ec9154640e7c6955",openzeppelinForwarderEOA:"0x7e80648EB2071E26937F9D42A513ccf4815fc702",biconomyForwarder:"0x61456BF1715C1415730076BB79ae118E806E74d2",twBYOCRegistry:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c},[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}};o1=function(t){return t.Transaction="transaction",t.Signature="signature",t}({}),ns0=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(),E2=class extends R6{constructor(e,n){super();try{this.options=XG.parse(n)}catch(f){console.error("invalid sdk options object passed, falling back to default options",f),this.options=XG.parse({})}let[a,r]=as(e,this.options);this.network=e,this.signer=a,this.provider=r}updateSignerOrProvider(e){let[n,a]=as(e,this.options);this.network=e,this.signer=n,this.provider=a}isReadOnly(){return!iK(this.signer)}getSigner(){return this.signer}getProvider(){return this.provider}getSignerOrProvider(){return this.getSigner()||this.getProvider()}},lt=class t extends E2{constructor(n,a,r,f,i){super(n,f);ae(this,"isValidContract",!1);ae(this,"customOverrides",()=>({}));this.abi=ht.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=x2(this.abi),this.extensions=gb(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=ht.parse(n),this.functions=x2(this.abi),this.extensions=gb(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(o1.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 ns0.parseAsync(r):void 0,i=x2(ht.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(j=>JSON.stringify(j).length<=80?JSON.stringify(j):JSON.stringify(j,void 0,2)),k=v.join(", ").length<=80?v.join(", "):` `+v.map(j=>" "+j.split(` `).join(` `)).join(`, `)+` -`,O=`${y.name}(${k})`,F=n.transactionHash||n.transaction?.hash||n.receipt?.transactionHash,z=rM(n),W;try{let j=(await i.getNetwork()).chainId,Q=aM(this.address,j);Q?.name&&(W=Q.name)}catch{}return new u9({reason:z,from:o,to:c,method:O,data:d,network:s,rpcUrl:h,value:l,hash:F,contractName: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(o1.Signature,{status:"submitted",message:f,signature:""});let{signature:i}=await Kc(n,a,r,f);return this.emit(o1.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 ni(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 Kc(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 sM(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||p2[n.chainId]?.openzeppelinForwarder||await l9(r,f),s=(await Promise.resolve().then(()=>Ee(eR()))).default,o=new a0.Contract(i,s,r),c=await p9(o,"getNonce",[n.from]),d,l,h;this.options.gasless.experimentalChainlessSupport?(d={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:i},l={ForwardRequest:iM},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:fM},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 Kc(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(h9(n.chainId,"biconomyForwarder"),u6e,r),i=0,s=await p9(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(o1.Signature,{status:"submitted",message:c,signature:""});let d=await a.signMessage(c);this.emit(o1.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(eR()))).default,i=this.options.gasless.openzeppelin.relayerForwarderAddress||(this.options.gasless.openzeppelin.useEOAForwarder?p2[n.chainId]?.openzeppelinForwarderEOA||await aG(this.getProvider(),this.storage,"",this.options.clientId,this.options.secretKey):p2[n.chainId]?.openzeppelinForwarder||await l9(this.getProvider(),this.storage,"",this.options.clientId,this.options.secretKey)),s=new a0.Contract(i,f,r),o=await p9(s,"getNonce",[n.from]),c,d,l;this.options.gasless.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:i},d={ForwardRequest:iM},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:fM},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(o1.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 sM(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 Kc(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(o1.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})`)}};fs0={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"},uK=Object.keys(fs0);hde=Fi.merge(vi).merge(oh).merge(fi),is0=F6.merge(vi).merge(oh).merge(fi),ss0=hde.merge(tc).merge(A2).merge(l1),_G={deploy:ss0,output:is0,input:hde},os0=Fi.merge(oh).merge(fi),Pfn=F6.merge(oh).merge(fi),Lfn=os0.merge(tc).merge(A2).merge(l1),E5e={deploy:Lfn,output:Pfn,input:os0},mde=Fi.merge(vi).merge(oh).merge(fi),cs0=F6.merge(vi).merge(oh).merge(fi),ds0=mde.merge(tc).merge(A2).merge(l1),rh={deploy:ds0,output:cs0,input:mde},bde=Fi,ls0=F6,us0=bde.merge(tc).merge(l1),E9={deploy:us0,output:ls0,input:bde},ps0=Fi.merge(vi).merge(fi),Ffn=F6.merge(vi).merge(fi),Nfn=ps0.merge(l1),a5e={deploy:Nfn,output:Ffn,input:ps0},yde=Fi.merge(vi).merge(fi),hs0=F6.merge(vi).merge(fi),ms0=yde.merge(tc).merge(l1),UG={deploy:ms0,output:hs0,input:yde},bs0=fe.object({address:da,sharesBps:tb.gt(0,"Shares must be greater than 0")}),Ofn=bs0.extend({address:da,sharesBps:tb}),fK=Fi.extend({recipients:fe.array(bs0).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:[]})})}),ys0=F6.extend({recipients:fe.array(Ofn)}),gs0=fK.merge(fK).merge(l1),WG={deploy:gs0,output:ys0,input:fK},gde=Fi.merge(vi).merge(fi),vs0=F6.merge(vi).merge(fi),ws0=gde.merge(tc).merge(A2).merge(l1),CG={deploy:ws0,output:vs0,input:gde},vde=Fi.merge(fi),Ts0=F6.merge(fi),xs0=vde.merge(tc).merge(A2).merge(l1),GG={deploy:xs0,output:Ts0,input:vde},wde=Fi.merge(vi).merge(fi),Es0=F6.merge(vi).merge(fi),_s0=wde.merge(tc).merge(A2).merge(l1),FG={deploy:_s0,output:Es0,input:wde},Tde=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:Wrn.default(0),proposal_token_threshold:Xa.default(1)}),As0=Tde.extend({proposal_token_threshold:ts}),xde=Fi.merge(Tde),Cs0=F6.merge(As0),Is0=xde.merge(l1),QG={deploy:Is0,output:Cs0,input:xde},w5e=["admin"],Bs=["admin","minter","transfer","metadata"],TE=["admin","lister","asset"],y5e=["admin","minter","asset","transfer"],_5e=["admin","transfer"],r5e=["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"},I2={name:"DropERC1155",contractType:Mn["edition-drop"],schema:_G,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Ir0(),Cr0)),s.getNetwork()]);return new c.EditionDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);if(a)return a;let r=await pK(t,e);return!r||r.version>2?(await Promise.resolve().then(()=>Ee(kr0()))).default:(await Promise.resolve().then(()=>Ee(Sr0()))).default}},vb={name:"TokenERC1155",contractType:Mn.edition,schema:CG,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Br0(),Mr0)),s.getNetwork()]);return new c.Edition(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Dr0()))).default}},k2={name:"Marketplace",contractType:Mn.marketplace,schema:E9,roles:TE,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Nr0(),Fr0)),s.getNetwork()]);return new c.Marketplace(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Or0()))).default}},dh={name:"MarketplaceV3",contractType:Mn["marketplace-v3"],schema:E9,roles:TE,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(zr0(),Hr0)),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 fc(C2,"MarketplaceV3","latest",n,a?.clientId,a?.secretKey)).metadataUri;return await xfn(c,n)}let i=await Zc(t,e,n);if(i)return await Vm(t,i,e,{},n);let s=(await Promise.resolve().then(()=>Ee(Wr0()))).default;return await Vm(t,ht.parse(s||[]),e,{},n)}},S2={name:"Multiwrap",contractType:Mn.multiwrap,schema:a5e,roles:r5e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Kr0(),Gr0)),s.getNetwork()]);return new c.Multiwrap(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Qr0()))).default}},wb={name:"TokenERC721",contractType:Mn["nft-collection"],schema:FG,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n($r0(),Yr0)),s.getNetwork()]);return new c.NFTCollection(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Jr0()))).default}},R2={name:"DropERC721",contractType:Mn["nft-drop"],schema:rh,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Zr0(),Xr0)),s.getNetwork()]);return new c.NFTDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);if(a)return a;let r=await pK(t,e);return!r||r.version>3?(await Promise.resolve().then(()=>Ee(ef0()))).default:(await Promise.resolve().then(()=>Ee(tf0()))).default}},M2={name:"Pack",contractType:Mn.pack,schema:UG,roles:y5e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(ff0(),rf0)),s.getNetwork()]);return new c.Pack(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||ht.parse((await Promise.resolve().then(()=>Ee(if0()))).default||[])}},B2={name:"SignatureDrop",contractType:Mn["signature-drop"],schema:rh,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(of0(),sf0)),s.getNetwork()]);return new c.SignatureDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);if(a)return a;let r=await pK(t,e);return!r||r.version>4?(await Promise.resolve().then(()=>Ee(cf0()))).default:(await Promise.resolve().then(()=>Ee(df0()))).default}},D2={name:"Split",contractType:Mn.split,schema:WG,roles:w5e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(uf0(),lf0)),s.getNetwork()]);return new c.Split(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(pf0()))).default}},Tb={name:"DropERC20",contractType:Mn["token-drop"],schema:E5e,roles:_5e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(bf0(),mf0)),s.getNetwork()]);return new c.TokenDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);if(a)return a;let r=await pK(t,e);return!r||r.version>2?(await Promise.resolve().then(()=>Ee(yf0()))).default:(await Promise.resolve().then(()=>Ee(gf0()))).default}},P2={name:"TokenERC20",contractType:Mn.token,schema:GG,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(wf0(),vf0)),s.getNetwork()]);return new c.Token(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Tf0()))).default}},L2={name:"VoteERC20",contractType:Mn.vote,schema:QG,roles:[],initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(_f0(),Ef0)),s.getNetwork()]);return new c.Vote(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Af0()))).default}};xb={[Mn["edition-drop"]]:I2,[Mn.edition]:vb,[Mn.marketplace]:k2,[Mn["marketplace-v3"]]:dh,[Mn.multiwrap]:S2,[Mn["nft-collection"]]:wb,[Mn["nft-drop"]]:R2,[Mn.pack]:M2,[Mn["signature-drop"]]:B2,[Mn.split]:D2,[Mn["token-drop"]]:Tb,[Mn.token]:P2,[Mn.vote]:L2},Ede={[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]:""},ci0={name:"SmartContract",contractType:"custom",schema:{},roles:uK},_de={...xb,[ci0.contractType]:ci0}});async function GE(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"}}))}var mK=oe(()=>{"use strict";u();p()});async function Ufn(t,e){let n=await P9(t,e);return ch(n.abi)}async function Hfn(t,e){let n=await P9(t,e);return x2(n.abi,n.metadata)}var ks0,yK,bK,Ss0=oe(()=>{"use strict";u();p();ks0=Ee(qW()),yK=Ee(Je());ir();ln();mK();Da();bK=class extends E2{constructor(n,a,r){super(n,a);ae(this,"updatePublisherProfile",be(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",be(async(n,a)=>{let r=this.cleanupOldPublishFlowData(a),f=this.getSigner();d0(f,"A signer is required");let i=await f.getAddress(),s=await sK(n,this.storage),o=await YM(s.metadataUri,this.storage),c=gb(o.abi),d=ZM(o.abi,"PluginRouter",c),l=ZM(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=>fc(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=>Ls(K,this.storage)))).map(K=>K.compilerMetadata.abi),X=ih([o.abi,...V]);r.compositeAbi=ht.parse(X)}catch{}}let h=await this.getLatest(i,s.name);if(h&&h.metadataUri){let j=(await this.fetchPublishedContractInfo(h)).publishedMetadata.version;if(!$5e(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=yK.utils.solidityKeccak256(["bytes"],[v]),O=s.name,F=await Z5e.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,yK.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",be(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 lt(n,qE(),ks0.default,a,r)}updateSignerOrProvider(n){super.updateSignerOrProvider(n),this.publisher.updateSignerOrProvider(n)}async extractConstructorParams(n){return Ufn(n,this.storage)}async extractFunctions(n){return Hfn(n,this.storage)}async fetchCompilerMetadataFromPredeployURI(n){return P9(n,this.storage)}async fetchPrePublishMetadata(n,a){let r=await P9(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 ni(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 jE(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 $M(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 GE(r,this.storage)}async fetchContractAbiFromAddress(n){let a=await Oe(n);return(await ni(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?{}:ede.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 jM.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 Ms0,Rs0=oe(()=>{Ms0=[{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 Cde,Bs0=oe(()=>{u();p();Cde={}});function gK(t){return"("+t.map(e=>e.type==="tuple"?gK(e.components):e.type==="tuple[]"?gK(e.components)+"[]":e.type).join(",")+")"}function Wfn(t,e){let n=new Eb.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+gK(f.inputs),pluginAddress:t})}return a}function vK(t){let e=new Eb.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+gK(r.inputs)})}return n}async function L9(t,e,n,a,r,f){sh.deploymentPresets={};let[i,{compilerMetadata:s,extendedMetadata:o}]=await Promise.all([a||cd(n),Ls(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=>fc(W.publisherAddress,W.extensionName,W.extensionVersion,e,r,f))),k=(await Promise.all(v.map(W=>Ls(W.metadataUri,e)))).map(W=>W.compilerMetadata),O=await Promise.all(k.map(W=>e6("plugin",n,e,i,{metadata:W},r,f))),F=[];k.forEach((W,j)=>{let Q=Wfn(O[j].transaction.predictedAddress,W.abi);F.push(...Q)});let z=await e6("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=>fc(z.publisherAddress,z.extensionName,z.extensionVersion,e,r,f))),k=(await Promise.all(v.map(async z=>Ls(z.metadataUri,e)))).map(z=>z.compilerMetadata),O=await Promise.all(k.map(z=>e6("extension",n,e,i,{metadata:z},r,f))),F=[];k.forEach((z,W)=>{let j=vK(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([e6("implementation",n,e,i,{metadata:s,constructorParams:c},r,f),e6("infra",n,e,i,{contractName:"TWCloneFactory"},r,f)]);return d.push(y),d.push(...Object.values(sh.deploymentPresets)),d.push(h),d}function qfn(t){let e=Eb.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 Ide(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:dde;if(t=t.filter(f=>f.data.length>0),t.length===0)return[];let n=[],a=0,r=[];return t.forEach(f=>{let i=qfn(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 wK(t,e,n){let a=Ide(e);if(a.length===0)return;n?.notifier?.("deploying","infra");let r=await Promise.all(a.map(f=>new Eb.ContractFactory(ude,lde).connect(t).deploy(f)));await Promise.all(r.map(f=>f.deployed())),n?.notifier?.("deployed","infra")}async function TK(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:7e6;if(d0(t.provider,"Provider required"),!await Xc(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=Eb.BigNumber.from(a)}n?.notifier?.("deploying","preset"),await(await t.sendTransaction(f)).wait(),n?.notifier?.("deployed","preset")}}var Eb,kde=oe(()=>{"use strict";u();p();ln();Eb=Ee(Je());ir()});var Ps0,Ds0=oe(()=>{Ps0=[{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 Vfn(t,e){let a=ht.parse(t||[]).filter(f=>f.type==="event"),r=[];for(let f of a){let i=oK(f.name,e,"events");r.push({inputs:f.inputs||[],outputs:f.outputs||[],name:f.name||"unknown",comment:i})}return r}var Kr,zl,eB,Sde,Gfn,Kfn,Qfn,Rde,xK,EK,_K,AK,CK,IK,kK,Ls0=oe(()=>{"use strict";u();p();ln();Da();Kr=Ee(Je());ir();g9();Jd();Fl();Rf();mK();kde();zl=function(t){return t[t.None=0]="None",t[t.AddAdmin=1]="AddAdmin",t[t.RemoveAdmin=2]="RemoveAdmin",t}({}),eB={startDate:Kr.BigNumber.from(0),expirationDate:Kr.BigNumber.from(0),approvedCallTargets:[],nativeTokenLimitPerTransaction:"0"},Sde=fe.object({startDate:dM,expirationDate:eb,nativeTokenLimitPerTransaction:ff.default(0),approvedCallTargets:fe.union([fe.array(da),fe.literal("*")])}),Gfn=fe.array(fe.object({signer:da,makeAdmin:fe.boolean(),permissions:Sde})),Kfn=[{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"}],Qfn=[{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"}],Rde=class{constructor(e){ae(this,"featureName",ho.name);ae(this,"grantAdminPermissions",be(async e=>{let n=await Oe(e);return await this.sendSignerPermissionRequest(n,eB,zl.AddAdmin)}));ae(this,"revokeAdminPermissions",be(async e=>{let n=await Oe(e);return await this.sendSignerPermissionRequest(n,eB,zl.RemoveAdmin)}));ae(this,"grantPermissions",be(async(e,n)=>{let a=await Oe(e),r=await Sde.parseAsync(n);return await this.sendSignerPermissionRequest(a,r,zl.None)}));ae(this,"updatePermissions",be(async(e,n)=>{let a=await Oe(e),r=await Sde.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,zl.None)}));ae(this,"revokeAccess",be(async e=>{let n=await Oe(e);return await this.sendSignerPermissionRequest(n,{startDate:Kr.BigNumber.from(0),expirationDate:Kr.BigNumber.from(0),approvedCallTargets:[],nativeTokenLimitPerTransaction:"0"},zl.None)}));ae(this,"approveTargetForSigner",be(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:Kr.BigNumber.from(f.startTimestamp),expirationDate:Kr.BigNumber.from(f.endTimestamp),approvedCallTargets:i,nativeTokenLimitPerTransaction:f.nativeTokenLimitPerTransaction.toString()},zl.None)}));ae(this,"disapproveTargetForSigner",be(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=>Kr.utils.getAddress(s)!==Kr.utils.getAddress(r));return await this.sendSignerPermissionRequest(a,{startDate:Kr.BigNumber.from(f.startTimestamp),expirationDate:Kr.BigNumber.from(f.endTimestamp),approvedCallTargets:i,nativeTokenLimitPerTransaction:f.nativeTokenLimitPerTransaction.toString()},zl.None)}));ae(this,"resetAllPermissions",be(async e=>{let n=await Gfn.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,eB,zl.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,eB,zl.None)).encode();f.push(h)}}));for(let l of n)if(l.makeAdmin)(await this.sendSignerPermissionRequest(l.signer,eB,zl.AddAdmin)).encode();else{let h=(await this.sendSignerPermissionRequest(l.signer,l.permissions,zl.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:Kr.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:Kr.utils.parseEther(n.nativeTokenLimitPerTransaction),permissionStartTimestamp:n.startDate,permissionEndTimestamp:n.expirationDate,reqValidityStartTimestamp:0,reqValidityEndTimestamp:Kr.BigNumber.from(Math.floor(new Date(Date.now()+31536e7).getTime()/1e3)),uid:dG(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:Qfn},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:Kr.utils.parseEther(n.nativeTokenLimitPerTransaction),permissionStartTimestamp:n.startDate,permissionEndTimestamp:n.expirationDate,reqValidityStartTimestamp:0,reqValidityEndTimestamp:Kr.BigNumber.from(Math.floor(new Date(Date.now()+1e3*60*60*24*365*10).getTime()/1e3)),uid:dG(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:Kfn},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:Kr.BigNumber.from(0),approvedCallTargets:[]}})),a=await this.getAllSigners();return[...n,...a]}},xK=class{constructor(e){ae(this,"featureName",D9.name);ae(this,"grantAdminPermissions",be(async e=>O0(this.accountPermissions,ho).grantAdminPermissions.prepare(e)));ae(this,"revokeAdminPermissions",be(async e=>O0(this.accountPermissions,ho).revokeAdminPermissions.prepare(e)));ae(this,"grantPermissions",be(async(e,n)=>O0(this.accountPermissions,ho).grantPermissions.prepare(e,n)));ae(this,"updatePermissions",be(async(e,n)=>O0(this.accountPermissions,ho).updatePermissions.prepare(e,n)));ae(this,"revokeAccess",be(async e=>O0(this.accountPermissions,ho).revokeAccess.prepare(e)));ae(this,"approveTargetForSigner",be(async(e,n)=>O0(this.accountPermissions,ho).approveTargetForSigner.prepare(e,n)));ae(this,"disapproveTargetForSigner",be(async(e,n)=>O0(this.accountPermissions,ho).disapproveTargetForSigner.prepare(e,n)));ae(this,"resetAllPermissions",be(async e=>O0(this.accountPermissions,ho).resetAllPermissions.prepare(e)));this.contractWrapper=e,this.accountPermissions=this.detectAccountPermissions()}detectAccountPermissions(){if(k0(this.contractWrapper,"AccountPermissions")||k0(this.contractWrapper,"AccountPermissionsV1"))return new Rde(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async isAdmin(e){return O0(this.accountPermissions,ho).isAdmin(e)}async isSigner(e){return O0(this.accountPermissions,ho).isSigner(e)}async getAllAdmins(){return O0(this.accountPermissions,ho).getAllAdmins()}async getAllSigners(){return O0(this.accountPermissions,ho).getAllSigners()}async getAllAdminsAndSigners(){return O0(this.accountPermissions,ho).getAllAdminsAndSigners()}},EK=class{constructor(e){ae(this,"featureName",B9.name);ae(this,"createAccount",be(async(e,n)=>{if(await this.isAccountDeployed(e,n))throw new Error(`Account already deployed for admin: ${e}`);let a=Kr.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=Kr.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 Xc(a,this.contractWrapper.getProvider())}};_K=class{constructor(e,n){this.contractWrapper=e,this.storage=n}async get(){return this._cachedMetadata?this._cachedMetadata:(this._cachedMetadata=await ni(this.contractWrapper.address,this.contractWrapper.getProvider(),this.storage,this.contractWrapper.options),this._cachedMetadata)}async extractSources(){let e=await this.get();return GE(e,this.storage)}async extractFunctions(){let e;try{e=await this.get()}catch{}return x2(ht.parse(this.contractWrapper.abi),e?.metadata)}async extractEvents(){let e;try{e=await this.get()}catch{}return Vfn(ht.parse(this.contractWrapper.abi),e?.metadata)}},AK=class{constructor(e){ae(this,"featureName",M9.name);ae(this,"add",be(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?ht.parse(e.extensionAbi):(await ni(e.extension.metadata.implementation,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,f=this.filterAbiForAdd(r,e.extension),i=ih([ht.parse(this.contractWrapper.abi),f]);return this.contractWrapper.updateAbi(i),n}})));ae(this,"addDeployed",be(async e=>{let n=e.extensionAbi;n||(n=(await ni(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 Fi.parseAsync(e.extensionMetadata);a=await this.contractWrapper.storage.upload(i)}let r=vK(ht.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",be(async e=>{let n=e.version||"latest",{deployedExtensionAddress:a,extensionMetadata:r}=await this.deployExtension(e.extensionName,e.publisherAddress||C2,n);return this.addDeployed.prepare({extensionName:e.extensionName,extensionAddress:a,extensionMetadata:e.extensionMetadataOverride||r})}));ae(this,"replace",be(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?ht.parse(e.extensionAbi):(await ni(e.extension.metadata.implementation,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,f=this.filterAbiForRemove(ht.parse(this.contractWrapper.abi),r),i=this.filterAbiForAdd(r,e.extension),s=ih([f,i]);return this.contractWrapper.updateAbi(s),n}})));ae(this,"replaceDeployed",be(async e=>{let n=e.extensionAbi;n||(n=(await ni(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 Fi.parseAsync(e.extensionMetadata);a=await this.contractWrapper.storage.upload(i)}let r=vK(ht.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",be(async e=>{let n=e.version||"latest",{deployedExtensionAddress:a,extensionMetadata:r}=await this.deployExtension(e.extensionName,e.publisherAddress||C2,n);return this.replaceDeployed.prepare({extensionName:e.extensionName,extensionAddress:a,extensionMetadata:e.extensionMetadataOverride||r})}));ae(this,"remove",be(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 ni(n,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,i=this.filterAbiForRemove(ht.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=Kr.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 Kr.utils.Interface(e),r=n.functions.map(i=>i.functionSelector);return e.filter(i=>{let s=Object.values(new Kr.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 Kr.utils.Interface(e),r=new Kr.utils.Interface(n),f=Object.values(r.functions).map(s=>r.getSighash(s));return e.filter(s=>{let o=Object.values(new Kr.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 fc(n,e,a,this.contractWrapper.storage,this.contractWrapper.options.clientId,this.contractWrapper.options.secretKey),f=await L9(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 wK(d,c,{});for(let l of o)try{await TK(d,l)}catch(h){console.debug(`Error deploying contract at ${l.predictedAddress}`,h?.message)}return{deployedExtensionAddress:i,extensionMetadata:r.metadataUri}}},CK=class{constructor(e){ae(this,"featureName",UE.name);ae(this,"drop",be(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}},IK=class{constructor(e){ae(this,"featureName",HE.name);ae(this,"drop",be(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}},kK=class{constructor(e){ae(this,"featureName",zE.name);ae(this,"drop",be(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 Fs0={};G0(Fs0,{SmartContract:()=>Mde});var eRa,tRa,aRa,Mde,Ns0=oe(()=>{"use strict";u();p();Fl();Rf();ln();Ls0();or();ec();Nl();Ol();Vc();Z8();gM();FM();AM();U6e();Da();ir();eRa=Ee(Va()),tRa=Ee(io());W0();aRa=Ee(Yc()),Mde=class{get abi(){return ht.parse(this.contractWrapper.abi||[])}get royalties(){return O0(this.detectRoyalties(),uE)}get roles(){return O0(this.detectRoles(),mE)}get sales(){return O0(this.detectPrimarySales(),bE)}get platformFees(){return O0(this.detectPlatformFees(),hE)}get owner(){return O0(this.detectOwnable(),pE)}get erc20(){return O0(this.detectErc20(),BE)}get erc721(){return O0(this.detectErc721(),kE)}get erc1155(){return O0(this.detectErc1155(),vE)}get app(){return O0(this.detectApp(),nE)}get directListings(){return O0(this.detectDirectListings(),cb)}get englishAuctions(){return O0(this.detectEnglishAuctions(),db)}get offers(){return O0(this.detectOffers(),lb)}get airdrop20(){return O0(this.detectAirdrop20(),UE)}get airdrop721(){return O0(this.detectAirdrop721(),HE)}get airdrop1155(){return O0(this.detectAirdrop1155(),zE)}get accountFactory(){return O0(this.detectAccountFactory(),B9)}get account(){return O0(this.detectAccount(),D9)}get extensions(){return O0(this.detectBaseRouter(),M9)}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 lt(e,n,a,f,r);this._chainId=i,this.storage=r,this.contractWrapper=s,this.events=new Rn(this.contractWrapper),this.encoder=new it(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.publishedMetadata=new _K(this.contractWrapper,this.storage),this.metadata=new Wn(this.contractWrapper,Ul,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,Ul,this.storage);return new Ss(this.contractWrapper,e)}}detectRoles(){if(k0(this.contractWrapper,"Permissions"))return new Tr(this.contractWrapper,uK)}detectPrimarySales(){if(k0(this.contractWrapper,"PrimarySale"))return new Ms(this.contractWrapper)}detectPlatformFees(){if(k0(this.contractWrapper,"PlatformFee"))return new ai(this.contractWrapper)}detectErc20(){if(k0(this.contractWrapper,"ERC20"))return new hb(this.contractWrapper,this.storage,this.chainId)}detectErc721(){if(k0(this.contractWrapper,"ERC721"))return new CE(this.contractWrapper,this.storage,this.chainId)}detectErc1155(){if(k0(this.contractWrapper,"ERC1155"))return new yE(this.contractWrapper,this.storage,this.chainId)}detectOwnable(){if(k0(this.contractWrapper,"Ownable"))return new Rs(this.contractWrapper)}detectApp(){let e=new Wn(this.contractWrapper,Ul,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 xE(this.contractWrapper,this.storage)}detectEnglishAuctions(){if(k0(this.contractWrapper,"EnglishAuctions"))return new EE(this.contractWrapper,this.storage)}detectOffers(){if(k0(this.contractWrapper,"Offers"))return new _E(this.contractWrapper,this.storage)}detectBaseRouter(){if(k0(this.contractWrapper,M9.name))return new AK(this.contractWrapper)}detectAirdrop20(){if(k0(this.contractWrapper,"AirdropERC20"))return new CK(this.contractWrapper)}detectAirdrop721(){if(k0(this.contractWrapper,"AirdropERC721"))return new IK(this.contractWrapper)}detectAirdrop1155(){if(k0(this.contractWrapper,"AirdropERC1155"))return new kK(this.contractWrapper)}detectAccountFactory(){if(k0(this.contractWrapper,B9.name))return new EK(this.contractWrapper)}detectAccount(){if(k0(this.contractWrapper,D9.name))return new xK(this.contractWrapper)}}});var Us0={};G0(Us0,{TWProxy__factory:()=>tB});var KE,SK,Os0,Yfn,tB,Hs0=oe(()=>{"use strict";u();p();KE=Ee(Je()),SK=[{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"}],Os0="0x60806040526040516104893803806104898339810160408190526100229161023c565b61004d60017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd61030a565b600080516020610442833981519152146100695761006961032b565b60008051602061044283398151915280546001600160a01b0319166001600160a01b0384161790558051156100a4576100a282826100ab565b505b5050610390565b60606100d08383604051806060016040528060278152602001610462602791396100d9565b90505b92915050565b6060600080856001600160a01b0316856040516100f69190610341565b600060405180830381855af49150503d8060008114610131576040519150601f19603f3d011682016040523d82523d6000602084013e610136565b606091505b50909250905061014886838387610152565b9695505050505050565b606083156101c65782516000036101bf576001600160a01b0385163b6101bf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b50816101d0565b6101d083836101d8565b949350505050565b8151156101e85781518083602001fd5b8060405162461bcd60e51b81526004016101b6919061035d565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561023357818101518382015260200161021b565b50506000910152565b6000806040838503121561024f57600080fd5b82516001600160a01b038116811461026657600080fd5b60208401519092506001600160401b038082111561028357600080fd5b818501915085601f83011261029757600080fd5b8151818111156102a9576102a9610202565b604051601f8201601f19908116603f011681019083821181831017156102d1576102d1610202565b816040528281528860208487010111156102ea57600080fd5b6102fb836020830160208801610218565b80955050505050509250929050565b818103818111156100d357634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052600160045260246000fd5b60008251610353818460208701610218565b9190910192915050565b602081526000825180602084015261037c816040850160208701610218565b601f01601f19169190910160400192915050565b60a48061039e6000396000f3fe608060405236601057600e6013565b005b600e5b604960457f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b604b565b565b3660008037600080366000845af43d6000803e8080156069573d6000f35b3d6000fdfea2646970667358221220907079b2d3c19f0cba25799fa046304af5956938245ce0932da8cf0c0af0f43e64736f6c63430008170033360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",Yfn=t=>t.length>1,tB=class extends KE.ContractFactory{constructor(){for(var e=arguments.length,n=new Array(e),a=0;a{$fn.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 Gs0(t,e,n){Ws0||(Ws0=!0,!(e||n)&&console.warn(t))}async function Ks0(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=Bf(e,{clientId:r,secretKey:f}),c=(await fc(C2,t,a,n,r,f)).metadataUri,d=await Ls(c,n),l=await cd(s);d0(l,"Thirdweb stack not found");let{extendedMetadata:h}=await Ls(c,n),y;return h?.routerType==="plugin"||h?.routerType==="dynamic"?y=(await L9(c,n,s,l,r,f)).find(k=>k.type==="implementation")?.encodedArgs:y=await lK(d.compilerMetadata,s,n,l,i,r,f),y}async function Qs0(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=Bf(e,{clientId:r,secretKey:f}),o=(await fc(C2,t,a,n,r,f)).metadataUri,c=await cd(i);d0(c,"Thirdweb stack not found");let{extendedMetadata:d}=await Ls(o,n);if(d?.routerType==="plugin"||d?.routerType==="dynamic"){let y=(await L9(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 e6("implementation",i,n,c,{contractName:t},r,f)).transaction.predictedAddress}async function Vs0(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=Bf(e,{clientId:r,secretKey:f}),s=await Qs0(t,e,n,a,r,f),o=await Xc(s,i);return d0(o,"Contract not deployed yet"),s}async function $s0(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 Vs0(t,e,r,f,i,s),d=await Ks0(t,e,r,f,i,s,o);return console.info(`Verifying ${t} at address ${c}`),await Hde(c,e,n,a,r,d?.toString().replace("0x",""))}async function Hde(t,e,n,a,r,f){try{let i=Bf(e,{});t=(await JM(t,i)).address;let s=await ni(t,i,r),o=s.metadata.compiler.version,c=await GE(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 Jfn(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===Ys0.OK)return j.result;throw new Error(`${j.result}`)}catch(i){throw new Error(i.toString())}}async function Pde(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!==qs0.PENDING&&o?.result!==qs0.IN_PROGRESS&&(clearInterval(i),r(o))}catch(s){clearInterval(i),f(s)}},3e3)})}async function Jfn(t,e,n,a,r,f){let i=ch(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===Ys0.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 Xfn(n,r,f);if(v){let k=v.startsWith("0x")?v:`0x${v}`,O;try{O=await cd(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 Xfn(t,e,n){let a=await $M(t,e);if(a){let r=(await Promise.resolve().then(()=>Ee(qW()))).default,i=await new Ht.Contract(qE(),r,Bf("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=>jE(o,n)));return s.length>0?await(await n.download(s[0].bytecodeUri)).text():void 0}}function Js0(t){let e=[];return cK(gb(t),e),e.map(n=>n.name)}function Lde(t){return Js0(t)}function Zfn(t,e){return t||(e?.gatewayUrls?new Im({gatewayUrls:e.gatewayUrls,clientId:e.clientId,secretKey:e.secretKey}):new Im({clientId:e?.clientId,secretKey:e?.secretKey}))}function Nde(t,e){let n=ht.parse(t||[]);for(let a of n)if(a.type==="function"&&a.name===e)return a.inputs||[];return[]}async function Xs0(t,e,n,a,r){return n||(n=await cd(t)),(await e6("infra",t,e,n,{contractName:"TWCloneFactory"},a,r)).transaction.predictedAddress}function QE(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 zde(t,e){d0(t.provider,"No provider");let n=await dK(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 rs(t,e){return e===Ht.constants.AddressZero?t:e}async function Wde(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 R2.contractType:case wb.contractType:let i=await R2.schema.deploy.parseAsync(e);return[r,i.name,i.symbol,n,f,rs(r,i.primary_sale_recipient),i.fee_recipient,i.seller_fee_basis_points,i.platform_fee_basis_points,rs(r,i.platform_fee_recipient)];case B2.contractType:let s=await B2.schema.deploy.parseAsync(e);return[r,s.name,s.symbol,n,f,rs(r,s.primary_sale_recipient),s.fee_recipient,s.seller_fee_basis_points,s.platform_fee_basis_points,rs(r,s.platform_fee_recipient)];case S2.contractType:let o=await S2.schema.deploy.parseAsync(e);return[r,o.name,o.symbol,n,f,o.fee_recipient,o.seller_fee_basis_points];case I2.contractType:case vb.contractType:let c=await I2.schema.deploy.parseAsync(e);return[r,c.name,c.symbol,n,f,rs(r,c.primary_sale_recipient),c.fee_recipient,c.seller_fee_basis_points,c.platform_fee_basis_points,rs(r,c.platform_fee_recipient)];case Tb.contractType:case P2.contractType:let d=await P2.schema.deploy.parseAsync(e);return[r,d.name,d.symbol,n,f,rs(r,d.primary_sale_recipient),rs(r,d.platform_fee_recipient),d.platform_fee_basis_points];case L2.contractType:let l=await L2.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 D2.contractType:let h=await D2.schema.deploy.parseAsync(e);return[r,n,f,h.recipients.map(k=>k.address),h.recipients.map(k=>Ht.BigNumber.from(k.sharesBps))];case k2.contractType:case dh.contractType:let y=await k2.schema.deploy.parseAsync(e);return[r,n,f,rs(r,y.platform_fee_recipient),y.platform_fee_basis_points];case M2.contractType:let v=await M2.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 Ode){let n=Ode[t];if(e in n)return n[e]}return null}async function eo0(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 zde(n),o=ch(e),c=o.map(O=>O.type),d=QE(c,a),l=o.map(O=>O.type==="tuple[]"?Ht.utils.ParamType.from(O):O.type),h=Ht.utils.defaultAbiCoder.encode(l,d),y=WE(i,h,s,r),v=await Xc(y,n.provider),k="";if(v)throw new Error(`Contract already deployed at ${y}`);{console.debug(`deploying contract via create2 factory at: ${y}`),k=KM(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 to0(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 fc(e,t,n,f,i,s)).metadataUri,{compilerMetadata:l,extendedMetadata:h}=await Ls(d,f);return d0(h?.deployType==="standard","Must be direct deploy"),await eo0(l.bytecode,l.abi,r,a,o,c)}async function no0(t,e,n,a,r){let f=t.startsWith("0x")?t:`0x${t}`,i=await cd(n),s=ch(e),o=s.map(y=>y.type),c=QE(o,a),d=s.map(y=>y.type==="tuple[]"?Ht.utils.ParamType.from(y):y.type),l=Ht.utils.defaultAbiCoder.encode(d,c);return WE(f,l,i,r)}async function ao0(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 fc(e,t,n,f,i,s)).metadataUri,{compilerMetadata:d,extendedMetadata:l}=await Ls(c,f);return d0(l?.deployType==="standard","Must be direct deploy"),await no0(d.bytecode,d.abi,r,a,o)}function Dde(t,e){return QM(t)&&(e={...e,supportedChains:[t,...e?.supportedChains||[]]}),e}var js0,Ht,Ws0,qs0,Ys0,RK,nB,MK,Fde,ein,Ode,BK,Ude,tin,nin,ain,Bde,Wl,_b,DK,ro0=oe(()=>{"use strict";u();p();ln();Ex();Ss0();js0=Ee(Eoe());Rs0();Ht=Ee(Je());Da();or();W0();ir();id();Hc();Bs0();kde();mK();Ds0();Ws0=!1;qs0={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"},Ys0={OK:"1",NOTOK:"0"};RK=class extends E2{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 $s0(e,i,n,a,this.storage,r,this.options.clientId,this.options.secretKey,f);console.info("Checking verification status...");let o=await Pde(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 Hde(e,f,n,a,this.storage,i);console.info("Checking verification status...");let o=await Pde(n,a,s);console.info(o)}},nB="0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",MK=class t{constructor(e,n,a){ae(this,"events",new R6);this.connection=new E2(e,n),this.options=n,this.events=new R6,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),ta(this.connection.getProvider(),n,a)]),s=this.requireWallet();if(mf(f)){let o=await s.getAddress(),c=V7()?{}:await Bl(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(K1()))).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(mf(n))r=await a.getBalance(await this.getAddress());else{let f=(await Promise.resolve().then(()=>Ee(K1()))).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 Kc(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={...V7()?{}:await Bl(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(nB,Bf(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 lt(this.connection.getSignerOrProvider(),e,n,this.options,this.storage)}};Fde=class{constructor(e,n){ae(this,"addContract",be(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",be(async e=>{let n=await this.registryRouter.getSignerAddress(),a=[],r=new it(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",be(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",be(async e=>{let n=await this.registryRouter.getSignerAddress(),a=new it(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 lt(e,XM(),js0.default,a,n),this.registryRouter=new lt(e,XM(),Ms0,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()}))}};ein=[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];Ode={[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":""}};BK=class extends lt{constructor(n,a,r,f){super(a,n,Ps0,f,r);ae(this,"DEFAULT_VERSION_MAP",{[R2.contractType]:3,[wb.contractType]:1,[B2.contractType]:4,[S2.contractType]:1,[I2.contractType]:2,[vb.contractType]:1,[Tb.contractType]:2,[P2.contractType]:1,[L2.contractType]:1,[D2.contractType]:1,[k2.contractType]:2,[dh.contractType]:3,[M2.contractType]:2});ae(this,"deploy",be(async(n,a,r,f,i,s)=>{let o=xb[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 Wde(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",be(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 R2.contractType:case wb.contractType:let s=await R2.schema.deploy.parseAsync(a);return[i,s.name,s.symbol,r,f,rs(i,s.primary_sale_recipient),s.fee_recipient,s.seller_fee_basis_points,s.platform_fee_basis_points,rs(i,s.platform_fee_recipient)];case B2.contractType:let o=await B2.schema.deploy.parseAsync(a);return[i,o.name,o.symbol,r,f,rs(i,o.primary_sale_recipient),o.fee_recipient,o.seller_fee_basis_points,o.platform_fee_basis_points,rs(i,o.platform_fee_recipient)];case S2.contractType:let c=await S2.schema.deploy.parseAsync(a);return[i,c.name,c.symbol,r,f,c.fee_recipient,c.seller_fee_basis_points];case I2.contractType:case vb.contractType:let d=await I2.schema.deploy.parseAsync(a);return[i,d.name,d.symbol,r,f,rs(i,d.primary_sale_recipient),d.fee_recipient,d.seller_fee_basis_points,d.platform_fee_basis_points,rs(i,d.platform_fee_recipient)];case Tb.contractType:case P2.contractType:let l=await P2.schema.deploy.parseAsync(a);return[i,l.name,l.symbol,r,f,rs(i,l.primary_sale_recipient),rs(i,l.platform_fee_recipient),l.platform_fee_basis_points];case L2.contractType:let h=await L2.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 D2.contractType:let y=await D2.schema.deploy.parseAsync(a);return[i,r,f,y.recipients.map(F=>F.address),y.recipients.map(F=>Ht.BigNumber.from(F.sharesBps))];case k2.contractType:let v=await k2.schema.deploy.parseAsync(a);return[i,r,f,rs(i,v.platform_fee_recipient),v.platform_fee_basis_points];case dh.contractType:let k=await dh.schema.deploy.parseAsync(a);return[i,r,f,rs(i,k.platform_fee_recipient),k.platform_fee_basis_points];case M2.contractType:let O=await M2.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=hK(n);if(!a)throw new Error(`Invalid contract type ${n}`);let r=Ht.utils.formatBytes32String(a);return this.read("currentVersion",[r])}},Ude=class extends lt{constructor(n,a,r,f,i){super(a,n,f,i,r);ae(this,"addContract",be(async n=>await this.addContracts.prepare([n])));ae(this,"addContracts",be(async n=>{let a=await this.getSignerAddress(),r=new it(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",be(async n=>await this.removeContracts.prepare([n])));ae(this,"removeContracts",be(async n=>{let a=await this.getSignerAddress(),r=new it(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)}},tin=Fi.merge(vi).merge(fi),nin=tin.merge(tc).merge(A2).merge(l1),ain=Fi.merge(fi),Bde=ain.merge(l1);Wl=class t extends E2{constructor(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;Gs0("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=Dde(n,a);super(n,a);ae(this,"contractCache",new Map);rde(a?.supportedChains);let s=Zfn(r,a);this.storage=s,this.storageHandler=s,this.wallet=new MK(n,a,s),this.deployer=new DK(n,a,s),this.verifier=new RK(n,a,s),this.multiChainRegistry=new Fde(n,this.storageHandler,this.options),this._publisher=new bK(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=Bf(a,r);i=n.connect(o)}catch{}let s=new t(a||i,a?Dde(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=Bf(a,r),s=new Ht.Wallet(n,i);return new t(s,Dde(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=fM(n),W;try{let j=(await i.getNetwork()).chainId,Q=rM(this.address,j);Q?.name&&(W=Q.name)}catch{}return new h9({reason:z,from:o,to:c,method:O,data:d,network:s,rpcUrl:h,value:l,hash:F,contractName: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(o1.Signature,{status:"submitted",message:f,signature:""});let{signature:i}=await Kc(n,a,r,f);return this.emit(o1.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 ni(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 Kc(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 oM(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||p2[n.chainId]?.openzeppelinForwarder||await p9(r,f),s=(await Promise.resolve().then(()=>Ee(tR()))).default,o=new a0.Contract(i,s,r),c=await m9(o,"getNonce",[n.from]),d,l,h;this.options.gasless.experimentalChainlessSupport?(d={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:i},l={ForwardRequest:sM},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:iM},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 Kc(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(b9(n.chainId,"biconomyForwarder"),l6e,r),i=0,s=await m9(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(o1.Signature,{status:"submitted",message:c,signature:""});let d=await a.signMessage(c);this.emit(o1.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(tR()))).default,i=this.options.gasless.openzeppelin.relayerForwarderAddress||(this.options.gasless.openzeppelin.useEOAForwarder?p2[n.chainId]?.openzeppelinForwarderEOA||await aG(this.getProvider(),this.storage,"",this.options.clientId,this.options.secretKey):p2[n.chainId]?.openzeppelinForwarder||await p9(this.getProvider(),this.storage,"",this.options.clientId,this.options.secretKey)),s=new a0.Contract(i,f,r),o=await m9(s,"getNonce",[n.from]),c,d,l;this.options.gasless.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:i},d={ForwardRequest:sM},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:iM},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(o1.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 oM(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 Kc(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(o1.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})`)}};rs0={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"},uK=Object.keys(rs0);pde=Fi.merge(vi).merge(oh).merge(fi),fs0=F6.merge(vi).merge(oh).merge(fi),is0=pde.merge(tc).merge(A2).merge(l1),_G={deploy:is0,output:fs0,input:pde},ss0=Fi.merge(oh).merge(fi),Nfn=F6.merge(oh).merge(fi),Ofn=ss0.merge(tc).merge(A2).merge(l1),x5e={deploy:Ofn,output:Nfn,input:ss0},hde=Fi.merge(vi).merge(oh).merge(fi),os0=F6.merge(vi).merge(oh).merge(fi),cs0=hde.merge(tc).merge(A2).merge(l1),rh={deploy:cs0,output:os0,input:hde},mde=Fi,ds0=F6,ls0=mde.merge(tc).merge(l1),A9={deploy:ls0,output:ds0,input:mde},us0=Fi.merge(vi).merge(fi),Ufn=F6.merge(vi).merge(fi),Hfn=us0.merge(l1),n5e={deploy:Hfn,output:Ufn,input:us0},bde=Fi.merge(vi).merge(fi),ps0=F6.merge(vi).merge(fi),hs0=bde.merge(tc).merge(l1),UG={deploy:hs0,output:ps0,input:bde},ms0=fe.object({address:da,sharesBps:tb.gt(0,"Shares must be greater than 0")}),zfn=ms0.extend({address:da,sharesBps:tb}),fK=Fi.extend({recipients:fe.array(ms0).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:[]})})}),bs0=F6.extend({recipients:fe.array(zfn)}),ys0=fK.merge(fK).merge(l1),WG={deploy:ys0,output:bs0,input:fK},yde=Fi.merge(vi).merge(fi),gs0=F6.merge(vi).merge(fi),vs0=yde.merge(tc).merge(A2).merge(l1),CG={deploy:vs0,output:gs0,input:yde},gde=Fi.merge(fi),ws0=F6.merge(fi),Ts0=gde.merge(tc).merge(A2).merge(l1),GG={deploy:Ts0,output:ws0,input:gde},vde=Fi.merge(vi).merge(fi),xs0=F6.merge(vi).merge(fi),Es0=vde.merge(tc).merge(A2).merge(l1),FG={deploy:Es0,output:xs0,input:vde},wde=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:Grn.default(0),proposal_token_threshold:Xa.default(1)}),_s0=wde.extend({proposal_token_threshold:ts}),Tde=Fi.merge(wde),As0=F6.merge(_s0),Cs0=Tde.merge(l1),QG={deploy:Cs0,output:As0,input:Tde},v5e=["admin"],Bs=["admin","minter","transfer","metadata"],EE=["admin","lister","asset"],b5e=["admin","minter","asset","transfer"],E5e=["admin","transfer"],a5e=["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"},I2={name:"DropERC1155",contractType:Mn["edition-drop"],schema:_G,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Cr0(),Ar0)),s.getNetwork()]);return new c.EditionDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);if(a)return a;let r=await pK(t,e);return!r||r.version>2?(await Promise.resolve().then(()=>Ee(Ir0()))).default:(await Promise.resolve().then(()=>Ee(kr0()))).default}},vb={name:"TokenERC1155",contractType:Mn.edition,schema:CG,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Mr0(),Rr0)),s.getNetwork()]);return new c.Edition(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Br0()))).default}},k2={name:"Marketplace",contractType:Mn.marketplace,schema:A9,roles:EE,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Fr0(),Lr0)),s.getNetwork()]);return new c.Marketplace(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Nr0()))).default}},dh={name:"MarketplaceV3",contractType:Mn["marketplace-v3"],schema:A9,roles:EE,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Hr0(),Ur0)),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===300||r===324||r===302){let c=(await fc(C2,"MarketplaceV3","latest",n,a?.clientId,a?.secretKey)).metadataUri;return await Afn(c,n)}let i=await Zc(t,e,n);if(i)return await Vm(t,i,e,{},n);let s=(await Promise.resolve().then(()=>Ee(zr0()))).default;return await Vm(t,ht.parse(s||[]),e,{},n)}},S2={name:"Multiwrap",contractType:Mn.multiwrap,schema:n5e,roles:a5e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Gr0(),jr0)),s.getNetwork()]);return new c.Multiwrap(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Kr0()))).default}},wb={name:"TokenERC721",contractType:Mn["nft-collection"],schema:FG,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Yr0(),Vr0)),s.getNetwork()]);return new c.NFTCollection(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee($r0()))).default}},R2={name:"DropERC721",contractType:Mn["nft-drop"],schema:rh,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Xr0(),Jr0)),s.getNetwork()]);return new c.NFTDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);if(a)return a;let r=await pK(t,e);return!r||r.version>3?(await Promise.resolve().then(()=>Ee(Zr0()))).default:(await Promise.resolve().then(()=>Ee(ef0()))).default}},M2={name:"Pack",contractType:Mn.pack,schema:UG,roles:b5e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(rf0(),af0)),s.getNetwork()]);return new c.Pack(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||ht.parse((await Promise.resolve().then(()=>Ee(ff0()))).default||[])}},B2={name:"SignatureDrop",contractType:Mn["signature-drop"],schema:rh,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(sf0(),if0)),s.getNetwork()]);return new c.SignatureDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);if(a)return a;let r=await pK(t,e);return!r||r.version>4?(await Promise.resolve().then(()=>Ee(of0()))).default:(await Promise.resolve().then(()=>Ee(cf0()))).default}},D2={name:"Split",contractType:Mn.split,schema:WG,roles:v5e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(lf0(),df0)),s.getNetwork()]);return new c.Split(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(uf0()))).default}},Tb={name:"DropERC20",contractType:Mn["token-drop"],schema:x5e,roles:E5e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(mf0(),hf0)),s.getNetwork()]);return new c.TokenDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);if(a)return a;let r=await pK(t,e);return!r||r.version>2?(await Promise.resolve().then(()=>Ee(bf0()))).default:(await Promise.resolve().then(()=>Ee(yf0()))).default}},P2={name:"TokenERC20",contractType:Mn.token,schema:GG,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(vf0(),gf0)),s.getNetwork()]);return new c.Token(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(wf0()))).default}},L2={name:"VoteERC20",contractType:Mn.vote,schema:QG,roles:[],initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Ef0(),xf0)),s.getNetwork()]);return new c.Vote(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(_f0()))).default}};xb={[Mn["edition-drop"]]:I2,[Mn.edition]:vb,[Mn.marketplace]:k2,[Mn["marketplace-v3"]]:dh,[Mn.multiwrap]:S2,[Mn["nft-collection"]]:wb,[Mn["nft-drop"]]:R2,[Mn.pack]:M2,[Mn["signature-drop"]]:B2,[Mn.split]:D2,[Mn["token-drop"]]:Tb,[Mn.token]:P2,[Mn.vote]:L2},xde={[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]:""},oi0={name:"SmartContract",contractType:"custom",schema:{},roles:uK},Ede={...xb,[oi0.contractType]:oi0}});async function QE(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"}}))}var mK=oe(()=>{"use strict";u();p()});async function Wfn(t,e){let n=await F9(t,e);return ch(n.abi)}async function qfn(t,e){let n=await F9(t,e);return x2(n.abi,n.metadata)}var Is0,yK,bK,ks0=oe(()=>{"use strict";u();p();Is0=Ee(qW()),yK=Ee(Je());ir();ln();mK();Da();bK=class extends E2{constructor(n,a,r){super(n,a);ae(this,"updatePublisherProfile",be(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",be(async(n,a)=>{let r=this.cleanupOldPublishFlowData(a),f=this.getSigner();d0(f,"A signer is required");let i=await f.getAddress(),s=await sK(n,this.storage),o=await $M(s.metadataUri,this.storage),c=gb(o.abi),d=eB(o.abi,"PluginRouter",c),l=eB(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=>fc(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=>Ls(K,this.storage)))).map(K=>K.compilerMetadata.abi),X=ih([o.abi,...V]);r.compositeAbi=ht.parse(X)}catch{}}let h=await this.getLatest(i,s.name);if(h&&h.metadataUri){let j=(await this.fetchPublishedContractInfo(h)).publishedMetadata.version;if(!Y5e(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=yK.utils.solidityKeccak256(["bytes"],[v]),O=s.name,F=await X5e.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,yK.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",be(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 lt(n,GE(),Is0.default,a,r)}updateSignerOrProvider(n){super.updateSignerOrProvider(n),this.publisher.updateSignerOrProvider(n)}async extractConstructorParams(n){return Wfn(n,this.storage)}async extractFunctions(n){return qfn(n,this.storage)}async fetchCompilerMetadataFromPredeployURI(n){return F9(n,this.storage)}async fetchPrePublishMetadata(n,a){let r=await F9(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 ni(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 KE(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 QE(r,this.storage)}async fetchContractAbiFromAddress(n){let a=await Oe(n);return(await ni(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?{}:Z5e.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 GM.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 Rs0,Ss0=oe(()=>{Rs0=[{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 Ade,Ms0=oe(()=>{u();p();Ade={}});function gK(t){return"("+t.map(e=>e.type==="tuple"?gK(e.components):e.type==="tuple[]"?gK(e.components)+"[]":e.type).join(",")+")"}function Gfn(t,e){let n=new Eb.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+gK(f.inputs),pluginAddress:t})}return a}function vK(t){let e=new Eb.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+gK(r.inputs)})}return n}async function N9(t,e,n,a,r,f){sh.deploymentPresets={};let[i,{compilerMetadata:s,extendedMetadata:o}]=await Promise.all([a||cd(n),Ls(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=>fc(W.publisherAddress,W.extensionName,W.extensionVersion,e,r,f))),k=(await Promise.all(v.map(W=>Ls(W.metadataUri,e)))).map(W=>W.compilerMetadata),O=await Promise.all(k.map(W=>e6("plugin",n,e,i,{metadata:W},r,f))),F=[];k.forEach((W,j)=>{let Q=Gfn(O[j].transaction.predictedAddress,W.abi);F.push(...Q)});let z=await e6("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=>fc(z.publisherAddress,z.extensionName,z.extensionVersion,e,r,f))),k=(await Promise.all(v.map(async z=>Ls(z.metadataUri,e)))).map(z=>z.compilerMetadata),O=await Promise.all(k.map(z=>e6("extension",n,e,i,{metadata:z},r,f))),F=[];k.forEach((z,W)=>{let j=vK(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([e6("implementation",n,e,i,{metadata:s,constructorParams:c},r,f),e6("infra",n,e,i,{contractName:"TWCloneFactory"},r,f)]);return d.push(y),d.push(...Object.values(sh.deploymentPresets)),d.push(h),d}function Kfn(t){let e=Eb.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 Cde(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cde;if(t=t.filter(f=>f.data.length>0),t.length===0)return[];let n=[],a=0,r=[];return t.forEach(f=>{let i=Kfn(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 wK(t,e,n){let a=Cde(e);if(a.length===0)return;n?.notifier?.("deploying","infra");let r=await Promise.all(a.map(f=>new Eb.ContractFactory(lde,dde).connect(t).deploy(f)));await Promise.all(r.map(f=>f.deployed())),n?.notifier?.("deployed","infra")}async function TK(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:7e6;if(d0(t.provider,"Provider required"),!await Xc(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=Eb.BigNumber.from(a)}n?.notifier?.("deploying","preset"),await(await t.sendTransaction(f)).wait(),n?.notifier?.("deployed","preset")}}var Eb,Ide=oe(()=>{"use strict";u();p();ln();Eb=Ee(Je());ir()});var Ds0,Bs0=oe(()=>{Ds0=[{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 Jfn(t,e){let a=ht.parse(t||[]).filter(f=>f.type==="event"),r=[];for(let f of a){let i=oK(f.name,e,"events");r.push({inputs:f.inputs||[],outputs:f.outputs||[],name:f.name||"unknown",comment:i})}return r}var Kr,zl,tB,kde,Vfn,Yfn,$fn,Sde,xK,EK,_K,AK,CK,IK,kK,Ps0=oe(()=>{"use strict";u();p();ln();Da();Kr=Ee(Je());ir();w9();Jd();Fl();Rf();mK();Ide();zl=function(t){return t[t.None=0]="None",t[t.AddAdmin=1]="AddAdmin",t[t.RemoveAdmin=2]="RemoveAdmin",t}({}),tB={startDate:Kr.BigNumber.from(0),expirationDate:Kr.BigNumber.from(0),approvedCallTargets:[],nativeTokenLimitPerTransaction:"0"},kde=fe.object({startDate:lM,expirationDate:eb,nativeTokenLimitPerTransaction:ff.default(0),approvedCallTargets:fe.union([fe.array(da),fe.literal("*")])}),Vfn=fe.array(fe.object({signer:da,makeAdmin:fe.boolean(),permissions:kde})),Yfn=[{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"}],$fn=[{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"}],Sde=class{constructor(e){ae(this,"featureName",ho.name);ae(this,"grantAdminPermissions",be(async e=>{let n=await Oe(e);return await this.sendSignerPermissionRequest(n,tB,zl.AddAdmin)}));ae(this,"revokeAdminPermissions",be(async e=>{let n=await Oe(e);return await this.sendSignerPermissionRequest(n,tB,zl.RemoveAdmin)}));ae(this,"grantPermissions",be(async(e,n)=>{let a=await Oe(e),r=await kde.parseAsync(n);return await this.sendSignerPermissionRequest(a,r,zl.None)}));ae(this,"updatePermissions",be(async(e,n)=>{let a=await Oe(e),r=await kde.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,zl.None)}));ae(this,"revokeAccess",be(async e=>{let n=await Oe(e);return await this.sendSignerPermissionRequest(n,{startDate:Kr.BigNumber.from(0),expirationDate:Kr.BigNumber.from(0),approvedCallTargets:[],nativeTokenLimitPerTransaction:"0"},zl.None)}));ae(this,"approveTargetForSigner",be(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:Kr.BigNumber.from(f.startTimestamp),expirationDate:Kr.BigNumber.from(f.endTimestamp),approvedCallTargets:i,nativeTokenLimitPerTransaction:f.nativeTokenLimitPerTransaction.toString()},zl.None)}));ae(this,"disapproveTargetForSigner",be(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=>Kr.utils.getAddress(s)!==Kr.utils.getAddress(r));return await this.sendSignerPermissionRequest(a,{startDate:Kr.BigNumber.from(f.startTimestamp),expirationDate:Kr.BigNumber.from(f.endTimestamp),approvedCallTargets:i,nativeTokenLimitPerTransaction:f.nativeTokenLimitPerTransaction.toString()},zl.None)}));ae(this,"resetAllPermissions",be(async e=>{let n=await Vfn.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,tB,zl.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,tB,zl.None)).encode();f.push(h)}}));for(let l of n)if(l.makeAdmin)(await this.sendSignerPermissionRequest(l.signer,tB,zl.AddAdmin)).encode();else{let h=(await this.sendSignerPermissionRequest(l.signer,l.permissions,zl.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:Kr.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:Kr.utils.parseEther(n.nativeTokenLimitPerTransaction),permissionStartTimestamp:n.startDate,permissionEndTimestamp:n.expirationDate,reqValidityStartTimestamp:0,reqValidityEndTimestamp:Kr.BigNumber.from(Math.floor(new Date(Date.now()+31536e7).getTime()/1e3)),uid:dG(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:$fn},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:Kr.utils.parseEther(n.nativeTokenLimitPerTransaction),permissionStartTimestamp:n.startDate,permissionEndTimestamp:n.expirationDate,reqValidityStartTimestamp:0,reqValidityEndTimestamp:Kr.BigNumber.from(Math.floor(new Date(Date.now()+1e3*60*60*24*365*10).getTime()/1e3)),uid:dG(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:Yfn},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:Kr.BigNumber.from(0),approvedCallTargets:[]}})),a=await this.getAllSigners();return[...n,...a]}},xK=class{constructor(e){ae(this,"featureName",L9.name);ae(this,"grantAdminPermissions",be(async e=>O0(this.accountPermissions,ho).grantAdminPermissions.prepare(e)));ae(this,"revokeAdminPermissions",be(async e=>O0(this.accountPermissions,ho).revokeAdminPermissions.prepare(e)));ae(this,"grantPermissions",be(async(e,n)=>O0(this.accountPermissions,ho).grantPermissions.prepare(e,n)));ae(this,"updatePermissions",be(async(e,n)=>O0(this.accountPermissions,ho).updatePermissions.prepare(e,n)));ae(this,"revokeAccess",be(async e=>O0(this.accountPermissions,ho).revokeAccess.prepare(e)));ae(this,"approveTargetForSigner",be(async(e,n)=>O0(this.accountPermissions,ho).approveTargetForSigner.prepare(e,n)));ae(this,"disapproveTargetForSigner",be(async(e,n)=>O0(this.accountPermissions,ho).disapproveTargetForSigner.prepare(e,n)));ae(this,"resetAllPermissions",be(async e=>O0(this.accountPermissions,ho).resetAllPermissions.prepare(e)));this.contractWrapper=e,this.accountPermissions=this.detectAccountPermissions()}detectAccountPermissions(){if(k0(this.contractWrapper,"AccountPermissions")||k0(this.contractWrapper,"AccountPermissionsV1"))return new Sde(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async isAdmin(e){return O0(this.accountPermissions,ho).isAdmin(e)}async isSigner(e){return O0(this.accountPermissions,ho).isSigner(e)}async getAllAdmins(){return O0(this.accountPermissions,ho).getAllAdmins()}async getAllSigners(){return O0(this.accountPermissions,ho).getAllSigners()}async getAllAdminsAndSigners(){return O0(this.accountPermissions,ho).getAllAdminsAndSigners()}},EK=class{constructor(e){ae(this,"featureName",P9.name);ae(this,"createAccount",be(async(e,n)=>{if(await this.isAccountDeployed(e,n))throw new Error(`Account already deployed for admin: ${e}`);let a=Kr.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=Kr.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 Xc(a,this.contractWrapper.getProvider())}};_K=class{constructor(e,n){this.contractWrapper=e,this.storage=n}async get(){return this._cachedMetadata?this._cachedMetadata:(this._cachedMetadata=await ni(this.contractWrapper.address,this.contractWrapper.getProvider(),this.storage,this.contractWrapper.options),this._cachedMetadata)}async extractSources(){let e=await this.get();return QE(e,this.storage)}async extractFunctions(){let e;try{e=await this.get()}catch{}return x2(ht.parse(this.contractWrapper.abi),e?.metadata)}async extractEvents(){let e;try{e=await this.get()}catch{}return Jfn(ht.parse(this.contractWrapper.abi),e?.metadata)}},AK=class{constructor(e){ae(this,"featureName",D9.name);ae(this,"add",be(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?ht.parse(e.extensionAbi):(await ni(e.extension.metadata.implementation,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,f=this.filterAbiForAdd(r,e.extension),i=ih([ht.parse(this.contractWrapper.abi),f]);return this.contractWrapper.updateAbi(i),n}})));ae(this,"addDeployed",be(async e=>{let n=e.extensionAbi;n||(n=(await ni(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 Fi.parseAsync(e.extensionMetadata);a=await this.contractWrapper.storage.upload(i)}let r=vK(ht.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",be(async e=>{let n=e.version||"latest",{deployedExtensionAddress:a,extensionMetadata:r}=await this.deployExtension(e.extensionName,e.publisherAddress||C2,n);return this.addDeployed.prepare({extensionName:e.extensionName,extensionAddress:a,extensionMetadata:e.extensionMetadataOverride||r})}));ae(this,"replace",be(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?ht.parse(e.extensionAbi):(await ni(e.extension.metadata.implementation,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,f=this.filterAbiForRemove(ht.parse(this.contractWrapper.abi),r),i=this.filterAbiForAdd(r,e.extension),s=ih([f,i]);return this.contractWrapper.updateAbi(s),n}})));ae(this,"replaceDeployed",be(async e=>{let n=e.extensionAbi;n||(n=(await ni(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 Fi.parseAsync(e.extensionMetadata);a=await this.contractWrapper.storage.upload(i)}let r=vK(ht.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",be(async e=>{let n=e.version||"latest",{deployedExtensionAddress:a,extensionMetadata:r}=await this.deployExtension(e.extensionName,e.publisherAddress||C2,n);return this.replaceDeployed.prepare({extensionName:e.extensionName,extensionAddress:a,extensionMetadata:e.extensionMetadataOverride||r})}));ae(this,"remove",be(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 ni(n,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,i=this.filterAbiForRemove(ht.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=Kr.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 Kr.utils.Interface(e),r=n.functions.map(i=>i.functionSelector);return e.filter(i=>{let s=Object.values(new Kr.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 Kr.utils.Interface(e),r=new Kr.utils.Interface(n),f=Object.values(r.functions).map(s=>r.getSighash(s));return e.filter(s=>{let o=Object.values(new Kr.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 fc(n,e,a,this.contractWrapper.storage,this.contractWrapper.options.clientId,this.contractWrapper.options.secretKey),f=await N9(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 wK(d,c,{});for(let l of o)try{await TK(d,l)}catch(h){console.debug(`Error deploying contract at ${l.predictedAddress}`,h?.message)}return{deployedExtensionAddress:i,extensionMetadata:r.metadataUri}}},CK=class{constructor(e){ae(this,"featureName",zE.name);ae(this,"drop",be(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}},IK=class{constructor(e){ae(this,"featureName",WE.name);ae(this,"drop",be(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}},kK=class{constructor(e){ae(this,"featureName",qE.name);ae(this,"drop",be(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 Ls0={};G0(Ls0,{SmartContract:()=>Rde});var aRa,rRa,iRa,Rde,Fs0=oe(()=>{"use strict";u();p();Fl();Rf();ln();Ps0();or();ec();Nl();Ol();Vc();Z8();vM();NM();CM();O6e();Da();ir();aRa=Ee(Va()),rRa=Ee(io());W0();iRa=Ee(Yc()),Rde=class{get abi(){return ht.parse(this.contractWrapper.abi||[])}get royalties(){return O0(this.detectRoyalties(),hE)}get roles(){return O0(this.detectRoles(),yE)}get sales(){return O0(this.detectPrimarySales(),gE)}get platformFees(){return O0(this.detectPlatformFees(),bE)}get owner(){return O0(this.detectOwnable(),mE)}get erc20(){return O0(this.detectErc20(),PE)}get erc721(){return O0(this.detectErc721(),RE)}get erc1155(){return O0(this.detectErc1155(),TE)}get app(){return O0(this.detectApp(),rE)}get directListings(){return O0(this.detectDirectListings(),cb)}get englishAuctions(){return O0(this.detectEnglishAuctions(),db)}get offers(){return O0(this.detectOffers(),lb)}get airdrop20(){return O0(this.detectAirdrop20(),zE)}get airdrop721(){return O0(this.detectAirdrop721(),WE)}get airdrop1155(){return O0(this.detectAirdrop1155(),qE)}get accountFactory(){return O0(this.detectAccountFactory(),P9)}get account(){return O0(this.detectAccount(),L9)}get extensions(){return O0(this.detectBaseRouter(),D9)}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 lt(e,n,a,f,r);this._chainId=i,this.storage=r,this.contractWrapper=s,this.events=new Rn(this.contractWrapper),this.encoder=new it(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.publishedMetadata=new _K(this.contractWrapper,this.storage),this.metadata=new Wn(this.contractWrapper,Ul,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,Ul,this.storage);return new Ss(this.contractWrapper,e)}}detectRoles(){if(k0(this.contractWrapper,"Permissions"))return new Tr(this.contractWrapper,uK)}detectPrimarySales(){if(k0(this.contractWrapper,"PrimarySale"))return new Ms(this.contractWrapper)}detectPlatformFees(){if(k0(this.contractWrapper,"PlatformFee"))return new ai(this.contractWrapper)}detectErc20(){if(k0(this.contractWrapper,"ERC20"))return new hb(this.contractWrapper,this.storage,this.chainId)}detectErc721(){if(k0(this.contractWrapper,"ERC721"))return new kE(this.contractWrapper,this.storage,this.chainId)}detectErc1155(){if(k0(this.contractWrapper,"ERC1155"))return new vE(this.contractWrapper,this.storage,this.chainId)}detectOwnable(){if(k0(this.contractWrapper,"Ownable"))return new Rs(this.contractWrapper)}detectApp(){let e=new Wn(this.contractWrapper,Ul,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 _E(this.contractWrapper,this.storage)}detectEnglishAuctions(){if(k0(this.contractWrapper,"EnglishAuctions"))return new AE(this.contractWrapper,this.storage)}detectOffers(){if(k0(this.contractWrapper,"Offers"))return new CE(this.contractWrapper,this.storage)}detectBaseRouter(){if(k0(this.contractWrapper,D9.name))return new AK(this.contractWrapper)}detectAirdrop20(){if(k0(this.contractWrapper,"AirdropERC20"))return new CK(this.contractWrapper)}detectAirdrop721(){if(k0(this.contractWrapper,"AirdropERC721"))return new IK(this.contractWrapper)}detectAirdrop1155(){if(k0(this.contractWrapper,"AirdropERC1155"))return new kK(this.contractWrapper)}detectAccountFactory(){if(k0(this.contractWrapper,P9.name))return new EK(this.contractWrapper)}detectAccount(){if(k0(this.contractWrapper,L9.name))return new xK(this.contractWrapper)}}});var Os0={};G0(Os0,{TWProxy__factory:()=>nB});var VE,SK,Ns0,Xfn,nB,Us0=oe(()=>{"use strict";u();p();VE=Ee(Je()),SK=[{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"}],Ns0="0x60806040526040516104893803806104898339810160408190526100229161023c565b61004d60017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd61030a565b600080516020610442833981519152146100695761006961032b565b60008051602061044283398151915280546001600160a01b0319166001600160a01b0384161790558051156100a4576100a282826100ab565b505b5050610390565b60606100d08383604051806060016040528060278152602001610462602791396100d9565b90505b92915050565b6060600080856001600160a01b0316856040516100f69190610341565b600060405180830381855af49150503d8060008114610131576040519150601f19603f3d011682016040523d82523d6000602084013e610136565b606091505b50909250905061014886838387610152565b9695505050505050565b606083156101c65782516000036101bf576001600160a01b0385163b6101bf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b50816101d0565b6101d083836101d8565b949350505050565b8151156101e85781518083602001fd5b8060405162461bcd60e51b81526004016101b6919061035d565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561023357818101518382015260200161021b565b50506000910152565b6000806040838503121561024f57600080fd5b82516001600160a01b038116811461026657600080fd5b60208401519092506001600160401b038082111561028357600080fd5b818501915085601f83011261029757600080fd5b8151818111156102a9576102a9610202565b604051601f8201601f19908116603f011681019083821181831017156102d1576102d1610202565b816040528281528860208487010111156102ea57600080fd5b6102fb836020830160208801610218565b80955050505050509250929050565b818103818111156100d357634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052600160045260246000fd5b60008251610353818460208701610218565b9190910192915050565b602081526000825180602084015261037c816040850160208701610218565b601f01601f19169190910160400192915050565b60a48061039e6000396000f3fe608060405236601057600e6013565b005b600e5b604960457f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b604b565b565b3660008037600080366000845af43d6000803e8080156069573d6000f35b3d6000fdfea2646970667358221220907079b2d3c19f0cba25799fa046304af5956938245ce0932da8cf0c0af0f43e64736f6c63430008170033360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",Xfn=t=>t.length>1,nB=class extends VE.ContractFactory{constructor(){for(var e=arguments.length,n=new Array(e),a=0;a{Zfn.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 js0(t,e,n){zs0||(zs0=!0,!(e||n)&&console.warn(t))}async function Gs0(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=Bf(e,{clientId:r,secretKey:f}),c=(await fc(C2,t,a,n,r,f)).metadataUri,d=await Ls(c,n),l=await cd(s);d0(l,"Thirdweb stack not found");let{extendedMetadata:h}=await Ls(c,n),y;return h?.routerType==="plugin"||h?.routerType==="dynamic"?y=(await N9(c,n,s,l,r,f)).find(k=>k.type==="implementation")?.encodedArgs:y=await lK(d.compilerMetadata,s,n,l,i,r,f),y}async function Ks0(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=Bf(e,{clientId:r,secretKey:f}),o=(await fc(C2,t,a,n,r,f)).metadataUri,c=await cd(i);d0(c,"Thirdweb stack not found");let{extendedMetadata:d}=await Ls(o,n);if(d?.routerType==="plugin"||d?.routerType==="dynamic"){let y=(await N9(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 e6("implementation",i,n,c,{contractName:t},r,f)).transaction.predictedAddress}async function Qs0(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=Bf(e,{clientId:r,secretKey:f}),s=await Ks0(t,e,n,a,r,f),o=await Xc(s,i);return d0(o,"Contract not deployed yet"),s}async function Ys0(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 Qs0(t,e,r,f,i,s),d=await Gs0(t,e,r,f,i,s,o);return console.info(`Verifying ${t} at address ${c}`),await Ude(c,e,n,a,r,d?.toString().replace("0x",""))}async function Ude(t,e,n,a,r,f){try{let i=Bf(e,{});t=(await XM(t,i)).address;let s=await ni(t,i,r),o=s.metadata.compiler.version,c=await QE(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 ein(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===Vs0.OK)return j.result;throw new Error(`${j.result}`)}catch(i){throw new Error(i.toString())}}async function Dde(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!==Ws0.PENDING&&o?.result!==Ws0.IN_PROGRESS&&(clearInterval(i),r(o))}catch(s){clearInterval(i),f(s)}},3e3)})}async function ein(t,e,n,a,r,f){let i=ch(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===Vs0.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 tin(n,r,f);if(v){let k=v.startsWith("0x")?v:`0x${v}`,O;try{O=await cd(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 tin(t,e,n){let a=await JM(t,e);if(a){let r=(await Promise.resolve().then(()=>Ee(qW()))).default,i=await new Ht.Contract(GE(),r,Bf("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=>KE(o,n)));return s.length>0?await(await n.download(s[0].bytecodeUri)).text():void 0}}function $s0(t){let e=[];return cK(gb(t),e),e.map(n=>n.name)}function Pde(t){return $s0(t)}function nin(t,e){return t||(e?.gatewayUrls?new Im({gatewayUrls:e.gatewayUrls,clientId:e.clientId,secretKey:e.secretKey}):new Im({clientId:e?.clientId,secretKey:e?.secretKey}))}function Fde(t,e){let n=ht.parse(t||[]);for(let a of n)if(a.type==="function"&&a.name===e)return a.inputs||[];return[]}async function Js0(t,e,n,a,r){return n||(n=await cd(t)),(await e6("infra",t,e,n,{contractName:"TWCloneFactory"},a,r)).transaction.predictedAddress}function YE(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 Hde(t,e){d0(t.provider,"No provider");let n=await dK(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 rs(t,e){return e===Ht.constants.AddressZero?t:e}async function zde(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 R2.contractType:case wb.contractType:let i=await R2.schema.deploy.parseAsync(e);return[r,i.name,i.symbol,n,f,rs(r,i.primary_sale_recipient),i.fee_recipient,i.seller_fee_basis_points,i.platform_fee_basis_points,rs(r,i.platform_fee_recipient)];case B2.contractType:let s=await B2.schema.deploy.parseAsync(e);return[r,s.name,s.symbol,n,f,rs(r,s.primary_sale_recipient),s.fee_recipient,s.seller_fee_basis_points,s.platform_fee_basis_points,rs(r,s.platform_fee_recipient)];case S2.contractType:let o=await S2.schema.deploy.parseAsync(e);return[r,o.name,o.symbol,n,f,o.fee_recipient,o.seller_fee_basis_points];case I2.contractType:case vb.contractType:let c=await I2.schema.deploy.parseAsync(e);return[r,c.name,c.symbol,n,f,rs(r,c.primary_sale_recipient),c.fee_recipient,c.seller_fee_basis_points,c.platform_fee_basis_points,rs(r,c.platform_fee_recipient)];case Tb.contractType:case P2.contractType:let d=await P2.schema.deploy.parseAsync(e);return[r,d.name,d.symbol,n,f,rs(r,d.primary_sale_recipient),rs(r,d.platform_fee_recipient),d.platform_fee_basis_points];case L2.contractType:let l=await L2.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 D2.contractType:let h=await D2.schema.deploy.parseAsync(e);return[r,n,f,h.recipients.map(k=>k.address),h.recipients.map(k=>Ht.BigNumber.from(k.sharesBps))];case k2.contractType:case dh.contractType:let y=await k2.schema.deploy.parseAsync(e);return[r,n,f,rs(r,y.platform_fee_recipient),y.platform_fee_basis_points];case M2.contractType:let v=await M2.schema.deploy.parseAsync(e);return[r,v.name,v.symbol,n,f,v.fee_recipient,v.seller_fee_basis_points];default:return[]}}function Xs0(t,e){if(t in Nde){let n=Nde[t];if(e in n)return n[e]}return null}async function Zs0(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 Hde(n),o=ch(e),c=o.map(O=>O.type),d=YE(c,a),l=o.map(O=>O.type==="tuple[]"?Ht.utils.ParamType.from(O):O.type),h=Ht.utils.defaultAbiCoder.encode(l,d),y=jE(i,h,s,r),v=await Xc(y,n.provider),k="";if(v)throw new Error(`Contract already deployed at ${y}`);{console.debug(`deploying contract via create2 factory at: ${y}`),k=QM(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 eo0(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 fc(e,t,n,f,i,s)).metadataUri,{compilerMetadata:l,extendedMetadata:h}=await Ls(d,f);return d0(h?.deployType==="standard","Must be direct deploy"),await Zs0(l.bytecode,l.abi,r,a,o,c)}async function to0(t,e,n,a,r){let f=t.startsWith("0x")?t:`0x${t}`,i=await cd(n),s=ch(e),o=s.map(y=>y.type),c=YE(o,a),d=s.map(y=>y.type==="tuple[]"?Ht.utils.ParamType.from(y):y.type),l=Ht.utils.defaultAbiCoder.encode(d,c);return jE(f,l,i,r)}async function no0(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 fc(e,t,n,f,i,s)).metadataUri,{compilerMetadata:d,extendedMetadata:l}=await Ls(c,f);return d0(l?.deployType==="standard","Must be direct deploy"),await to0(d.bytecode,d.abi,r,a,o)}function Bde(t,e){return VM(t)&&(e={...e,supportedChains:[t,...e?.supportedChains||[]]}),e}var qs0,Ht,zs0,Ws0,Vs0,RK,aB,MK,Lde,ain,Nde,BK,Ode,rin,fin,iin,Mde,Wl,_b,DK,ao0=oe(()=>{"use strict";u();p();ln();Ax();ks0();qs0=Ee(xoe());Ss0();Ht=Ee(Je());Da();or();W0();ir();id();Hc();Ms0();Ide();mK();Bs0();zs0=!1;Ws0={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"},Vs0={OK:"1",NOTOK:"0"};RK=class extends E2{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 Ys0(e,i,n,a,this.storage,r,this.options.clientId,this.options.secretKey,f);console.info("Checking verification status...");let o=await Dde(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 Ude(e,f,n,a,this.storage,i);console.info("Checking verification status...");let o=await Dde(n,a,s);console.info(o)}},aB="0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",MK=class t{constructor(e,n,a){ae(this,"events",new R6);this.connection=new E2(e,n),this.options=n,this.events=new R6,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),ta(this.connection.getProvider(),n,a)]),s=this.requireWallet();if(mf(f)){let o=await s.getAddress(),c=$7()?{}:await Bl(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(K1()))).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(mf(n))r=await a.getBalance(await this.getAddress());else{let f=(await Promise.resolve().then(()=>Ee(K1()))).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 Kc(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={...$7()?{}:await Bl(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(aB,Bf(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 lt(this.connection.getSignerOrProvider(),e,n,this.options,this.storage)}};Lde=class{constructor(e,n){ae(this,"addContract",be(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",be(async e=>{let n=await this.registryRouter.getSignerAddress(),a=[],r=new it(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",be(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",be(async e=>{let n=await this.registryRouter.getSignerAddress(),a=new it(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 lt(e,ZM(),qs0.default,a,n),this.registryRouter=new lt(e,ZM(),Rs0,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()}))}};ain=[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];Nde={[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":""}};BK=class extends lt{constructor(n,a,r,f){super(a,n,Ds0,f,r);ae(this,"DEFAULT_VERSION_MAP",{[R2.contractType]:3,[wb.contractType]:1,[B2.contractType]:4,[S2.contractType]:1,[I2.contractType]:2,[vb.contractType]:1,[Tb.contractType]:2,[P2.contractType]:1,[L2.contractType]:1,[D2.contractType]:1,[k2.contractType]:2,[dh.contractType]:3,[M2.contractType]:2});ae(this,"deploy",be(async(n,a,r,f,i,s)=>{let o=xb[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 zde(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",be(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 R2.contractType:case wb.contractType:let s=await R2.schema.deploy.parseAsync(a);return[i,s.name,s.symbol,r,f,rs(i,s.primary_sale_recipient),s.fee_recipient,s.seller_fee_basis_points,s.platform_fee_basis_points,rs(i,s.platform_fee_recipient)];case B2.contractType:let o=await B2.schema.deploy.parseAsync(a);return[i,o.name,o.symbol,r,f,rs(i,o.primary_sale_recipient),o.fee_recipient,o.seller_fee_basis_points,o.platform_fee_basis_points,rs(i,o.platform_fee_recipient)];case S2.contractType:let c=await S2.schema.deploy.parseAsync(a);return[i,c.name,c.symbol,r,f,c.fee_recipient,c.seller_fee_basis_points];case I2.contractType:case vb.contractType:let d=await I2.schema.deploy.parseAsync(a);return[i,d.name,d.symbol,r,f,rs(i,d.primary_sale_recipient),d.fee_recipient,d.seller_fee_basis_points,d.platform_fee_basis_points,rs(i,d.platform_fee_recipient)];case Tb.contractType:case P2.contractType:let l=await P2.schema.deploy.parseAsync(a);return[i,l.name,l.symbol,r,f,rs(i,l.primary_sale_recipient),rs(i,l.platform_fee_recipient),l.platform_fee_basis_points];case L2.contractType:let h=await L2.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 D2.contractType:let y=await D2.schema.deploy.parseAsync(a);return[i,r,f,y.recipients.map(F=>F.address),y.recipients.map(F=>Ht.BigNumber.from(F.sharesBps))];case k2.contractType:let v=await k2.schema.deploy.parseAsync(a);return[i,r,f,rs(i,v.platform_fee_recipient),v.platform_fee_basis_points];case dh.contractType:let k=await dh.schema.deploy.parseAsync(a);return[i,r,f,rs(i,k.platform_fee_recipient),k.platform_fee_basis_points];case M2.contractType:let O=await M2.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=Xs0(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=hK(n);if(!a)throw new Error(`Invalid contract type ${n}`);let r=Ht.utils.formatBytes32String(a);return this.read("currentVersion",[r])}},Ode=class extends lt{constructor(n,a,r,f,i){super(a,n,f,i,r);ae(this,"addContract",be(async n=>await this.addContracts.prepare([n])));ae(this,"addContracts",be(async n=>{let a=await this.getSignerAddress(),r=new it(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",be(async n=>await this.removeContracts.prepare([n])));ae(this,"removeContracts",be(async n=>{let a=await this.getSignerAddress(),r=new it(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)}},rin=Fi.merge(vi).merge(fi),fin=rin.merge(tc).merge(A2).merge(l1),iin=Fi.merge(fi),Mde=iin.merge(l1);Wl=class t extends E2{constructor(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;js0("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=Bde(n,a);super(n,a);ae(this,"contractCache",new Map);ade(a?.supportedChains);let s=nin(r,a);this.storage=s,this.storageHandler=s,this.wallet=new MK(n,a,s),this.deployer=new DK(n,a,s),this.verifier=new RK(n,a,s),this.multiChainRegistry=new Lde(n,this.storageHandler,this.options),this._publisher=new bK(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=Bf(a,r);i=n.connect(o)}catch{}let s=new t(a||i,a?Bde(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=Bf(a,r),s=new Ht.Wallet(n,i);return new t(s,Bde(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 Cde)return await this.getContractFromAbi(r,Cde[r]);let f;if(!a||a==="custom")try{let i=await this.getPublisher().fetchCompilerMetadataFromAddress(r);f=await this.getContractFromAbi(r,await Vm(r,ht.parse(i.abi),this.getProvider(),this.options,this.storage))}catch(i){let s=await this.resolveContractType(r);if(s&&s!=="custom"){let o=await xb[s].getAbi(r,this.getProvider(),this.storage);f=await this.getContractFromAbi(r,await Vm(r,ht.parse(o),this.getProvider(),this.options,this.storage))}else throw i}else typeof a=="string"&&a in xb?f=await xb[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(xoe()))).default,r=new Ht.Contract(await Oe(n),a,this.getProvider()),f=Ht.utils.toUtf8String(await r.contractType()).replace(/\x00/g,"");return Ade(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()=>Lde((await this.getContract(f)).abi)})))}async getMultichainContractList(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r1,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()=>Lde((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(()=>(Ns0(),Fs0))]);if(this.contractCache.has(r))return this.contractCache.get(r);let[,i]=as(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}};_b="0xdd99b75f095d0c4d5112aCe938e4e6ed962fb024",DK=class extends E2{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",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(wb.contractType,n,"latest",a)));ae(this,"deployNFTDrop",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(R2.contractType,n,"latest",a)));ae(this,"deployLoyaltyCard",Gr(async(n,a)=>{let r=await nin.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(_b,"LoyaltyCard",o,"latest",a)}));ae(this,"deployOpenEdition",Gr(async(n,a)=>{let r=await rh.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(_b,"OpenEditionERC721",o,"latest",a)}));ae(this,"deploySignatureDrop",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(B2.contractType,n,"latest",a)));ae(this,"deployMultiwrap",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(S2.contractType,n,"latest",a)));ae(this,"deployEdition",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(vb.contractType,n,"latest",a)));ae(this,"deployEditionDrop",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(I2.contractType,n,"latest",a)));ae(this,"deployToken",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(P2.contractType,n,"latest",a)));ae(this,"deployTokenDrop",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(Tb.contractType,n,"latest",a)));ae(this,"deployMarketplace",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(k2.contractType,n,"latest",a)));ae(this,"deployMarketplaceV3",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(dh.contractType,n,"latest",a)));ae(this,"deployPack",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(M2.contractType,n,"latest",a)));ae(this,"deploySplit",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(D2.contractType,n,"latest",a)));ae(this,"deployVote",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(L2.contractType,n,"latest",a)));ae(this,"deployAirdropERC20",Gr(async(n,a)=>{let r=await Bde.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(_b,"AirdropERC20",o,"latest",a)}));ae(this,"deployAirdropERC721",Gr(async(n,a)=>{let r=await Bde.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(_b,"AirdropERC721",o,"latest",a)}));ae(this,"deployAirdropERC1155",Gr(async(n,a)=>{let r=await Bde.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(_b,"AirdropERC1155",o,"latest",a)}));ae(this,"deployBuiltInContract",Gr((()=>{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:Ede[a],...await xb[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(o1.Transaction,n.transactionListener),v.deploy.prepare(a,o,n.events,y,i,()=>{v.off(o1.Transaction,n.transactionListener)})}let c=hK(a);d0(c,"Contract name not found");let d=await n.storage.upload(o),l=await Wde(a,o,d,s),h=await n.fetchPublishedContractFromPolygon(_b,c,f);return n.deployContractFromUri.prepare(h.metadataUri,l,i)}})()));ae(this,"deployReleasedContract",Gr((()=>{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",be(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 BK(o,this.getSignerOrProvider(),this.storage,this.options);return l.on(o1.Transaction,this.transactionListener),await l.deployProxyByImplementation.prepare(c,r,f,i,this.events,s,()=>{l.off(o1.Transaction,this.transactionListener)})}));ae(this,"deployProxy",Gr(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(()=>(Hs0(),Us0));return this.deployContractWithAbi.prepare(o.abi,o.bytecode,[i,s])}));ae(this,"deployViaAutoFactory",Gr(async(n,a,r,f,i,s)=>{let o=await zde(r,s),c=await L9(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 wK(r,y,s);for(let F of h)try{await TK(r,F,s)}catch(z){throw console.debug(`Error deploying contract at ${F.predictedAddress}`,z?.message),z}let v=await Oe(d),k=await Xs0(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",Gr(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 ni(s,this.getProvider(),this.storage,this.options),c=Nde(o.abi,a.extendedMetadata.factoryDeploymentData.customFactoryInput.factoryFunction).map(y=>y.type),d=QE(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",Gr(async(n,a,r)=>{let f=this.getSigner();d0(f,"A signer is required");let{compilerMetadata:i,extendedMetadata:s}=await Ls(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=Nde(i.abi,s.factoryDeploymentData.implementationInitializerFunction).map(z=>z.type),k=QE(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. + 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 Ade)return await this.getContractFromAbi(r,Ade[r]);let f;if(!a||a==="custom")try{let i=await this.getPublisher().fetchCompilerMetadataFromAddress(r);f=await this.getContractFromAbi(r,await Vm(r,ht.parse(i.abi),this.getProvider(),this.options,this.storage))}catch(i){let s=await this.resolveContractType(r);if(s&&s!=="custom"){let o=await xb[s].getAbi(r,this.getProvider(),this.storage);f=await this.getContractFromAbi(r,await Vm(r,ht.parse(o),this.getProvider(),this.options,this.storage))}else throw i}else typeof a=="string"&&a in xb?f=await xb[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(Toe()))).default,r=new Ht.Contract(await Oe(n),a,this.getProvider()),f=Ht.utils.toUtf8String(await r.contractType()).replace(/\x00/g,"");return _de(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()=>Pde((await this.getContract(f)).abi)})))}async getMultichainContractList(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r1,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()=>Pde((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(()=>(Fs0(),Ls0))]);if(this.contractCache.has(r))return this.contractCache.get(r);let[,i]=as(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}};_b="0xdd99b75f095d0c4d5112aCe938e4e6ed962fb024",DK=class extends E2{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",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(wb.contractType,n,"latest",a)));ae(this,"deployNFTDrop",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(R2.contractType,n,"latest",a)));ae(this,"deployLoyaltyCard",Gr(async(n,a)=>{let r=await fin.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(_b,"LoyaltyCard",o,"latest",a)}));ae(this,"deployOpenEdition",Gr(async(n,a)=>{let r=await rh.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(_b,"OpenEditionERC721",o,"latest",a)}));ae(this,"deploySignatureDrop",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(B2.contractType,n,"latest",a)));ae(this,"deployMultiwrap",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(S2.contractType,n,"latest",a)));ae(this,"deployEdition",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(vb.contractType,n,"latest",a)));ae(this,"deployEditionDrop",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(I2.contractType,n,"latest",a)));ae(this,"deployToken",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(P2.contractType,n,"latest",a)));ae(this,"deployTokenDrop",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(Tb.contractType,n,"latest",a)));ae(this,"deployMarketplace",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(k2.contractType,n,"latest",a)));ae(this,"deployMarketplaceV3",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(dh.contractType,n,"latest",a)));ae(this,"deployPack",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(M2.contractType,n,"latest",a)));ae(this,"deploySplit",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(D2.contractType,n,"latest",a)));ae(this,"deployVote",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(L2.contractType,n,"latest",a)));ae(this,"deployAirdropERC20",Gr(async(n,a)=>{let r=await Mde.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(_b,"AirdropERC20",o,"latest",a)}));ae(this,"deployAirdropERC721",Gr(async(n,a)=>{let r=await Mde.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(_b,"AirdropERC721",o,"latest",a)}));ae(this,"deployAirdropERC1155",Gr(async(n,a)=>{let r=await Mde.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(_b,"AirdropERC1155",o,"latest",a)}));ae(this,"deployBuiltInContract",Gr((()=>{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:xde[a],...await xb[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(o1.Transaction,n.transactionListener),v.deploy.prepare(a,o,n.events,y,i,()=>{v.off(o1.Transaction,n.transactionListener)})}let c=hK(a);d0(c,"Contract name not found");let d=await n.storage.upload(o),l=await zde(a,o,d,s),h=await n.fetchPublishedContractFromPolygon(_b,c,f);return n.deployContractFromUri.prepare(h.metadataUri,l,i)}})()));ae(this,"deployReleasedContract",Gr((()=>{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",be(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 BK(o,this.getSignerOrProvider(),this.storage,this.options);return l.on(o1.Transaction,this.transactionListener),await l.deployProxyByImplementation.prepare(c,r,f,i,this.events,s,()=>{l.off(o1.Transaction,this.transactionListener)})}));ae(this,"deployProxy",Gr(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(()=>(Us0(),Os0));return this.deployContractWithAbi.prepare(o.abi,o.bytecode,[i,s])}));ae(this,"deployViaAutoFactory",Gr(async(n,a,r,f,i,s)=>{let o=await Hde(r,s),c=await N9(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 wK(r,y,s);for(let F of h)try{await TK(r,F,s)}catch(z){throw console.debug(`Error deploying contract at ${F.predictedAddress}`,z?.message),z}let v=await Oe(d),k=await Js0(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",Gr(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 ni(s,this.getProvider(),this.storage,this.options),c=Fde(o.abi,a.extendedMetadata.factoryDeploymentData.customFactoryInput.factoryFunction).map(y=>y.type),d=YE(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",Gr(async(n,a,r)=>{let f=this.getSigner();d0(f,"A signer is required");let{compilerMetadata:i,extendedMetadata:s}=await Ls(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=Fde(i.abi,s.factoryDeploymentData.implementationInitializerFunction).map(z=>z.type),k=YE(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=ch(i.abi).map(v=>v.type),y=QE(h,a);return this.deployContractWithAbi.prepare(i.abi,l,y)}));ae(this,"deployContractWithAbi",Gr(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 tM({args:r,provider:i,signer:f,factory:s,storage:this.storage,events:this.events})}));this.storage=r,this.events=new R6,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]:_b,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"),to0(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]:_b,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"),ao0(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=h9(a,"twRegistry");if(!r)return;let f=(await Promise.resolve().then(()=>Ee(zs0()))).default;return new Ude(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=h9(a,"twFactory");return r?new BK(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 Ls(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 cd(this.getProvider());r.push({contractType:"create2Factory",addresses:[d]});let h=(await L9(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);Ide(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 Xc(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 Wl("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!!NE("factoryAddress")}}});var eMa,tMa,nMa,F9=oe(()=>{"use strict";u();p();ro0();ln();or();id();Da();W0();ir();eMa=Ee(Va()),tMa=Ee(io()),nMa=Ee(Yc());globalThis.global=globalThis});function fo0(t,e){return new VE.Contract(e,rin,t)}function PK(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 VE,rin,N9,$n=oe(()=>{"use strict";u();p();Ct();VE=Ee(Je());W0();F9();rin=[{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"}];N9=class extends R6{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 mf(e)?r=await n.provider.getBalance(a):r=await fo0(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 ta(r.provider,n,a);if(mf(a)){let s=Bl(r.provider);return{receipt:await(await r.sendTransaction({from:f,to:e,value:i,...s})).wait()}}else return{receipt:await(await fo0(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=VE.utils.hashMessage(e),i=VE.utils.arrayify(f);if(VE.utils.recoverAddress(i,n)===a)return!0}catch{}return!1}}});function fin(t){for(let e=0,n=io0.length;e"u"?{x_sdk_name:LK.name,x_sdk_platform:oo0(),x_sdk_version:LK.version,x_sdk_os:so0(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=LK.name,globalThis.X_SDK_PLATFORM=oo0(),globalThis.X_SDK_VERSION=LK.version,globalThis.X_SDK_OS=so0(),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 oo0(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":"browser"}var LK,io0,aB=oe(()=>{"use strict";u();p();LK={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.13.2","@walletconnect/ethereum-provider":"2.12.2","@walletconnect/jsonrpc-utils":"^1.0.8","@walletconnect/modal":"^2.6.2","@walletconnect/types":"^2.13.2","@walletconnect/utils":"^2.13.2","@walletconnect/web3wallet":"^1.12.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"}},io0=[["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=oe(()=>{"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 t6,U9=oe(()=>{"use strict";u();p();Hc();W0();t6=class extends R6{constructor(e){let{chains:n=r1,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 FK,NK,Ab,Cb,Bn,Er,ic,_t,mo=oe(()=>{"use strict";u();p();Ct();FK=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}},NK=class extends FK{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})}},Ab=class extends Error{constructor(){super(...arguments),Pe(this,"name","AddChainError"),Pe(this,"message","Error adding chain")}},Cb=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 FK{constructor(e){super("Resource unavailable",{cause:e,code:-32002}),Pe(this,"name","ResourceUnavailable")}},ic=class extends NK{constructor(e){super("Error switching chain",{cause:e,code:4902}),Pe(this,"name","SwitchChainError")}},_t=class extends NK{constructor(e){super("User rejected request",{cause:e,code:4001}),Pe(this,"name","UserRejectedRequestError")}}});function wi(t){return typeof t=="string"?Number.parseInt(t,t.trim().substring(0,2)==="0x"?16:10):typeof t=="bigint"?Number(t):t}var lh=oe(()=>{"use strict";u();p()});var sc,It,Mr=oe(()=>{"use strict";u();p();W0();sc=class extends R6{},It=class extends sc{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 Ib(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 F2(t){return Tl(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 uh=oe(()=>{"use strict";u();p();Hc()});async function H9(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=PK(a,r),o={};if(Ib(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"),O9(o)}let c=new YE.providers.StaticJsonRpcProvider({url:s,skipFetchSetup:i,headers:o},a),d=new YE.Contract(n,lin,c);try{return await d.isValidSignature(YE.utils.hashMessage(t),e)===uin}catch{return!1}}var YE,lin,uin,rB,OK,lo0,Kde,Qde,kb=oe(()=>{"use strict";u();p();YE=Ee(Je());aB();uh();$n();lin=["function isValidSignature(bytes32 _hash, bytes _signature) public view returns (bytes4)"],uin="0x1626ba7e";rB="0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",OK="0x02101dfB77FDE026414827Fdc604ddAF224F0921",lo0=5e4,Kde="0x85e23b94e7F5E9cC1fF78BCe78cfb15B81f0DF00",Qde=[{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 yf(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 $E(t,e){if(!t)throw new Error(e)}function UK(t){let e=document.createElement("iframe");return e.setAttribute("src",t),e.setAttribute("style",vin),e}function HK(t){document.body.appendChild(t)}function N6(t){let e=t&&t.parentNode;e&&e.removeChild instanceof Function&&e.removeChild(t)}function zK(t,e,n){return wa(this,void 0,void 0,function*(){if((t.status===403||t.status===401)&&(n&&n(),YK(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 Eo0(){cle=!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 _in(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=ld[t.charCodeAt(e)]<<2|ld[t.charCodeAt(e+1)]>>4,i[o++]=r&255):f===1&&(r=ld[t.charCodeAt(e)]<<10|ld[t.charCodeAt(e+1)]<<4|ld[t.charCodeAt(e+2)]>>2,i[o++]=r>>8&255,i[o++]=r&255),i}function Cin(t){return O2[t>>18&63]+O2[t>>12&63]+O2[t>>6&63]+O2[t&63]}function Iin(t,e,n){for(var a,r=[],f=e;fo?o:s+i));return a===1?(e=t[n-1],r+=O2[e>>2],r+=O2[e<<4&63],r+="=="):a===2&&(e=(t[n-2]<<8)+t[n-1],r+=O2[e>>10],r+=O2[e>>4&63],r+=O2[e<<2&63],r+="="),f.push(r),f.join("")}function $K(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 _o0(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 jK(){return y0.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ph(t,e){if(jK()=jK())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+jK().toString(16)+" bytes");return t|0}function U2(t){return!!(t!=null&&t._isBuffer)}function ko0(t,e){if(U2(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 GK(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Lo0(t).length;default:if(a)return GK(t).length;e=(""+e).toLowerCase(),a=!0}}function Pin(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 jin(this,e,n);case"utf8":case"utf-8":return Mo0(this,e,n);case"ascii":return Win(this,e,n);case"latin1":case"binary":return qin(this,e,n);case"base64":return Hin(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Gin(this,e,n);default:if(a)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}function W9(t,e,n){var a=t[e];t[e]=t[n],t[n]=a}function So0(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)),U2(e))return e.length===0?-1:vo0(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):vo0(t,[e],n,a,r);throw new TypeError("val must be string, number or Buffer")}function vo0(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 zin(a)}function zin(t){var e=t.length;if(e<=wo0)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 n6(t,e,n,a,r,f){if(!U2(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 XK(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 Bo0(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 Do0(t,e,n,a,r){return r||Bo0(t,e,n,4),_o0(t,e,n,a,23,4),n+4}function Po0(t,e,n,a,r){return r||Bo0(t,e,n,8),_o0(t,e,n,a,52,8),n+8}function Qin(t){if(t=Vin(t).replace(Kin,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Vin(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function Yin(t){return t<16?"0"+t.toString(16):t.toString(16)}function GK(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 $in(t){for(var e=[],n=0;n>8,r=n%256,f.push(r),f.push(a);return f}function Lo0(t){return Ain(Qin(t))}function ZK(t,e,n,a){for(var r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function Xin(t){return t!==t}function Zin(t){return t!=null&&(!!t._isBuffer||Fo0(t)||esn(t))}function Fo0(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function esn(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&Fo0(t.slice(0,0))}function Xde(){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 Oo0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O6(t){"@babel/helpers - typeof";return O6=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},O6(t)}function asn(t,e){if(O6(t)!=="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var a=n.call(t,e||"default");if(O6(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function rsn(t){var e=asn(t,"string");return O6(e)==="symbol"?e:String(e)}function To0(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 WK(t,e,n){return osn()?WK=Reflect.construct.bind():WK=function(r,f,i){var s=[null];s.push.apply(s,f);var o=Function.bind.apply(r,s),c=new o;return i&&oB(c,i.prototype),c},WK.apply(null,arguments)}function Zde(t){var e=typeof Map=="function"?new Map:void 0;return Zde=function(a){if(a===null||!ssn(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 WK(a,arguments,cB(this).constructor)}return r.prototype=Object.create(a.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),oB(r,a)},Zde(t)}function Wo0(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function dB(t,e,n,a){typeof a>"u"&&(a=Wo0()),ele(t,"",0,[],void 0,0,a);var r;try{q9.length===0?r=JSON.stringify(t,e,n):r=JSON.stringify(t,jo0(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;j9.length!==0;){var f=j9.pop();f.length===4?Object.defineProperty(f[0],f[1],f[3]):f[0][f[1]]=f[2]}}return r}function JE(t,e,n,a){var r=Object.getOwnPropertyDescriptor(a,n);r.get!==void 0?r.configurable?(Object.defineProperty(a,n,{value:t}),j9.push([a,n,e,r])):q9.push([e,n,t]):(a[n]=t,j9.push([a,n,e]))}function ele(t,e,n,a,r,f,i){f+=1;var s;if(O6(t)==="object"&&t!==null){for(s=0;si.depthLimit){JE(KK,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){JE(KK,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;se?1:0}function qo0(t,e,n,a){typeof a>"u"&&(a=Wo0());var r=tle(t,"",0,[],void 0,0,a)||t,f;try{q9.length===0?f=JSON.stringify(r,e,n):f=JSON.stringify(r,jo0(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;j9.length!==0;){var i=j9.pop();i.length===4?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}}return f}function tle(t,e,n,a,r,f,i){f+=1;var s;if(O6(t)==="object"&&t!==null){for(s=0;si.depthLimit){JE(KK,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){JE(KK,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 hsn(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}function msn(t,e){if(e!=="[Circular]")return e}function bsn(t){if(Array.isArray(t))return t}function ysn(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 xo0(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"})(ql||(ql={}));(function(t){t.ETHEREUM="ethereum",t.APTOS="aptos"})(fs||(fs={}));Vde={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"},uo0={prod:"https://wallet-v2.blocto.app",staging:"https://wallet-v2-staging.blocto.app",dev:"https://wallet-v2-dev.blocto.app"},pin={prod:ql.prod,staging:ql.staging,dev:ql.dev},hin={1:ql.prod,2:ql.dev,3:ql.dev,4:ql.dev,5:ql.staging},min={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"})(z9||(z9={}));bin={1:z9.Mainnet,2:z9.Testnet,3:z9.Devnet,4:z9.Testing,5:z9.Premainnet},yin={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"},po0=["connect","disconnect","message","chainChanged","accountsChanged"],gin=86400*1e3,fle="00000000-0000-0000-0000-000000000000",VK="0.10.2",qK=class{constructor(){this.isBlocto=!0,this.isConnecting=!1,this.eventListeners={},this.off=this.removeListener,po0.forEach(e=>{this.eventListeners[e]=[]}),this.appId=fle}request(e){return wa(this,void 0,void 0,function*(){})}on(e,n){po0.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)}},vin="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;";Rb=(t,e,n=window)=>{function a(r){e(r,()=>n.removeEventListener(t,a))}n.addEventListener(t,a)},win=()=>{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}},Yde=class{constructor(){this.storage={}}getItem(e){return this[e]||null}setItem(e,n){this.storage[e]=n}removeItem(e){delete this.storage[e]}},Tin=typeof window<"u"?window.memoryStorage:new Yde,ile=win()?window.sessionStorage:Tin,sle=(t,e=null)=>{let n=ile.getItem(t);try{return n&&JSON.parse(n)||e}catch{return n||e}},ole=(t,e)=>ile.setItem(t,typeof e=="string"?e:JSON.stringify(e)),YK=t=>{ole(t,""),ile.removeItem(t)},Mb=t=>{let e=sle(t,null);return e?new Date().getTime()>e.expiry||e.v!==VK?(YK(t),null):e?.data:null},XE=(t,e,n)=>{var a,r,f;let i=sle(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()+gin,v:VK};ole(t,s)},N2=(t,e)=>{var n,a,r;return!((n=Mb(t))===null||n===void 0)&&n.code?((r=(a=Mb(t))===null||a===void 0?void 0:a.accounts)===null||r===void 0?void 0:r[e])||null:(YK(t),null)},xin=(t,e,n)=>{XE(t,{accounts:{[e]:n}})},Ein=(t,e)=>{XE(t,{accounts:{[e]:void 0}})},fB=(t,e)=>{var n,a,r;return!((n=Mb(t))===null||n===void 0)&&n.code?((r=(a=Mb(t))===null||a===void 0?void 0:a.evm)===null||r===void 0?void 0:r[e])||null:(YK(t),null)},ho0=(t,e,n)=>{XE(t,{evm:{[e]:n}})},mo0=t=>{let e=sle(t);e&&(e.data.evm={},ole(t,e))};bo0=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'})(sB||(sB={}));yo0=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},O2=[],ld=[],_in=typeof Uint8Array<"u"?Uint8Array:Array,cle=!1;kin={}.toString,Ao0=Array.isArray||function(t){return kin.call(t)=="[object Array]"};Sin=50;y0.TYPED_ARRAY_SUPPORT=yo0.TYPED_ARRAY_SUPPORT!==void 0?yo0.TYPED_ARRAY_SUPPORT:!0;jK();y0.poolSize=8192;y0._augment=function(t){return t.__proto__=y0.prototype,t};y0.from=function(t,e,n){return Co0(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 Rin(null,t,e,n)};y0.allocUnsafe=function(t){return dle(null,t)};y0.allocUnsafeSlow=function(t){return dle(null,t)};y0.isBuffer=Zin;y0.compare=function(e,n){if(!U2(e)||!U2(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(!U2(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 Lin(this,e,n,a);case"utf8":case"utf-8":return Fin(this,e,n,a);case"ascii":return Ro0(this,e,n,a);case"latin1":case"binary":return Nin(this,e,n,a);case"base64":return Oin(this,e,n,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Uin(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)}};wo0=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||Fs(e,1,this.length),this[e]};y0.prototype.readUInt16LE=function(e,n){return n||Fs(e,2,this.length),this[e]|this[e+1]<<8};y0.prototype.readUInt16BE=function(e,n){return n||Fs(e,2,this.length),this[e]<<8|this[e+1]};y0.prototype.readUInt32LE=function(e,n){return n||Fs(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||Fs(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||Fs(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||Fs(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||Fs(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};y0.prototype.readInt16LE=function(e,n){n||Fs(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||Fs(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||Fs(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||Fs(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||Fs(e,4,this.length),$K(this,e,!0,23,4)};y0.prototype.readFloatBE=function(e,n){return n||Fs(e,4,this.length),$K(this,e,!1,23,4)};y0.prototype.readDoubleLE=function(e,n){return n||Fs(e,8,this.length),$K(this,e,!0,52,8)};y0.prototype.readDoubleBE=function(e,n){return n||Fs(e,8,this.length),$K(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;n6(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||n6(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||n6(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||n6(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||n6(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):XK(this,e,n,!0),n+4};y0.prototype.writeUInt32BE=function(e,n,a){return e=+e,n=n|0,a||n6(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):XK(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);n6(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);n6(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||n6(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||n6(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||n6(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||n6(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):XK(this,e,n,!0),n+4};y0.prototype.writeInt32BE=function(e,n,a){return e=+e,n=n|0,a||n6(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):XK(this,e,n,!1),n+4};y0.prototype.writeFloatLE=function(e,n,a){return Do0(this,e,n,!0,a)};y0.prototype.writeFloatBE=function(e,n,a){return Do0(this,e,n,!1,a)};y0.prototype.writeDoubleLE=function(e,n,a){return Po0(this,e,n,!0,a)};y0.prototype.writeDoubleBE=function(e,n,a){return Po0(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),tsn=t=>y0.from(t,"utf8").toString("hex"),No0=t=>!t||typeof t!="object"||!("from"in t)?{isValid:!1,invalidMsg:sB.INVALID_TRANSACTION}:t.value&&!Jde(t.value)?{isValid:!1,invalidMsg:sB.INVALID_TRANSACTION_VALUE}:{isValid:!0},nsn=t=>{if(!Array.isArray(t))return{isValid:!1,invalidMsg:sB.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&&O6(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&&O6(h)==="object"&&!Array.isArray(h)?Object.assign({},h):h}function l(h,y){return Object.prototype.hasOwnProperty.call(h,y)}})(ule);eQ={};Object.defineProperty(eQ,"__esModule",{value:!0});eQ.ethErrors=void 0;ple=Bb,Vo0=ule,u1=Db;eQ.ethErrors={rpc:{parse:function(e){return dd(u1.errorCodes.rpc.parse,e)},invalidRequest:function(e){return dd(u1.errorCodes.rpc.invalidRequest,e)},invalidParams:function(e){return dd(u1.errorCodes.rpc.invalidParams,e)},methodNotFound:function(e){return dd(u1.errorCodes.rpc.methodNotFound,e)},internal:function(e){return dd(u1.errorCodes.rpc.internal,e)},server:function(e){if(!e||O6(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 dd(n,e)},invalidInput:function(e){return dd(u1.errorCodes.rpc.invalidInput,e)},resourceNotFound:function(e){return dd(u1.errorCodes.rpc.resourceNotFound,e)},resourceUnavailable:function(e){return dd(u1.errorCodes.rpc.resourceUnavailable,e)},transactionRejected:function(e){return dd(u1.errorCodes.rpc.transactionRejected,e)},methodNotSupported:function(e){return dd(u1.errorCodes.rpc.methodNotSupported,e)},limitExceeded:function(e){return dd(u1.errorCodes.rpc.limitExceeded,e)}},provider:{userRejectedRequest:function(e){return iB(u1.errorCodes.provider.userRejectedRequest,e)},unauthorized:function(e){return iB(u1.errorCodes.provider.unauthorized,e)},unsupportedMethod:function(e){return iB(u1.errorCodes.provider.unsupportedMethod,e)},disconnected:function(e){return iB(u1.errorCodes.provider.disconnected,e)},chainDisconnected:function(e){return iB(u1.errorCodes.provider.chainDisconnected,e)},custom:function(e){if(!e||O6(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 ple.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=Bb;Object.defineProperty(t,"EthereumRpcError",{enumerable:!0,get:function(){return e.EthereumRpcError}}),Object.defineProperty(t,"EthereumProviderError",{enumerable:!0,get:function(){return e.EthereumProviderError}});var n=ule;Object.defineProperty(t,"serializeError",{enumerable:!0,get:function(){return n.serializeError}}),Object.defineProperty(t,"getMessageFromCode",{enumerable:!0,get:function(){return n.getMessageFromCode}});var a=eQ;Object.defineProperty(t,"ethErrors",{enumerable:!0,get:function(){return a.ethErrors}});var r=Db;Object.defineProperty(t,"errorCodes",{enumerable:!0,get:function(){return r.errorCodes}})})(jn);ale=class extends qK{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:ql.prod,walletServer:this.injectedWalletServer||"",blockchainName:"",networkType:"",switchableNetwork:{}},this.appId=e.appId||fle,"chainId"in e){let{chainId:a,rpc:r}=e;$E(a,"'chainId' is required"),this.networkVersion=`${p1(a)}`,this.chainId=`0x${p1(a).toString(16)}`,this.rpc=r||Vde[this.networkVersion],$E(this.rpc,"'rpc' is required")}else{let{defaultChainId:a,switchableChains:r}=e;$E(a,"'defaultChainId' is required"),this.networkVersion=`${p1(a)}`,this.chainId=`0x${p1(a).toString(16)}`;let f=r.find(i=>p1(i.chainId)===p1(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])||Vde[this.networkVersion],$E(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 yf(this,Qr,"m",oc).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=`${p1((y=e?.params)===null||y===void 0?void 0:y[0].chainId)}`,this.chainId=`0x${p1((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 fB(h,d)||[]}if(!fB(h,d)){let y=(o=e?.params)===null||o===void 0?void 0:o[0];e.method==="eth_requestAccounts"&&bo0(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=fB(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 yf(this,Qr,"m",oc).call(this),s=((a=Mb(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=>zK(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 yf(this,Qr,"m",oc).call(this);return new Promise((r,f)=>Rb("message",(i,s)=>{let o=i;o.origin===a&&o.data.type==="ETH:FRAME:RESPONSE"&&(o.data.status==="APPROVED"&&(s(),N6(e),r(o.data[n])),o.data.status==="DECLINED"&&(s(),N6(e),o.data.errorCode==="incorrect_session_id"&&this.handleDisconnect(),f(jn.ethErrors.provider.userRejectedRequest(o.data.errorMessage)))),o.data.type==="ETH:FRAME:CLOSE"&&(s(),N6(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 yf(this,Qr,"m",oc).call(this),f=UK(`${a}/${this.appId}/${n||r}${e}`);return HK(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 yf(this,Qr,"m",oc).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}]}),ho0(f,r,[this.existedSDK.address])),new Promise((d,l)=>setTimeout(()=>this.existedSDK.enable().then(d).catch(l),10));let i=fB(f,r);if(i)return new Promise(d=>{d(i)});let s=new URLSearchParams;s.set("l6n",window.location.origin),s.set("v",VK),s.set("q",`${window.location.pathname}${window.location.search}`);let o=e&&bo0(e)?`/${e}`:"",c=yield this.setIframe(`/authn${o}?${s.toString()}`);return new Promise((d,l)=>{Rb("message",(h,y)=>{var v,k;let O=h;O.origin===a&&(O.data.type==="ETH:FRAME:RESPONSE"&&(y(),N6(c),(v=this.eventListeners)===null||v===void 0||v.connect.forEach(F=>F({chainId:this.chainId})),XE(f,{code:O.data.code,evm:{[r]:[O.data.addr]}},O.data.exp),!((k=O.data)===null||k===void 0)&&k.isAccountChanged&&postMessage({originChain:fs.ETHEREUM,type:"BLOCTO_SDK:ACCOUNT_CHANGED"}),Rb("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)!==fs.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(),N6(c),l(jn.ethErrors.provider.userRejectedRequest())))})})})}fetchAccounts(){return wa(this,void 0,void 0,function*(){yf(this,Qr,"m",Sb).call(this);let{blockchainName:e,sessionKeyEnv:n}=yield yf(this,Qr,"m",oc).call(this),{accounts:a}=yield this.bloctoApi("/accounts");return ho0(n,e,a),a})}handleReadRequests(e){return wa(this,void 0,void 0,function*(){return yf(this,Qr,"m",Sb).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):tsn(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(p1(i.chainId)!==p1(this.chainId))throw jn.ethErrors.rpc.invalidParams(`Provided chainId "${i.chainId}" must match the active chainId "${p1(this.chainId)}"`)}}yf(this,Qr,"m",Sb).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 yf(this,Qr,"m",oc).call(this),o=(n=fB(i,f))===null||n===void 0?void 0:n[0],c=p1(this.chainId),d=p1(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 yf(this,Qr,"m",oc).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:""}),yf(this,Qr,"m",oc).call(this),h});let l=yield this.setIframe(`/switch-chain?to=${s[d].name}`,s[c].name);return new Promise((h,y)=>{Rb("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(),N6(l),!((O=K.data)===null||O===void 0)&&O.addr&&o&&(XE(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)),yf(this,Qr,"m",oc).call(this),h(null)),K.data.type==="ETH:FRAME:CLOSE"&&(k(),N6(l),!((Q=K.data)===null||Q===void 0)&&Q.hasApprovedSwitchChain?((V=this.eventListeners)===null||V===void 0||V.chainChanged.forEach(G=>G(this.chainId)),mo0(i),(X=this.eventListeners)===null||X===void 0||X.disconnect.forEach(G=>G(jn.ethErrors.provider.disconnected())),yf(this,Qr,"m",oc).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:""}),yf(this,Qr,"m",oc).call(this),y(jn.ethErrors.provider.userRejectedRequest()))))})})})}handleSendTransaction(e){var n;return wa(this,void 0,void 0,function*(){yf(this,Qr,"m",Sb).call(this);let{isValid:a,invalidMsg:r}=No0((n=e.params)===null||n===void 0?void 0:n[0]);if(!a)throw jn.ethErrors.rpc.invalidParams(r);return yf(this,Qr,"m",nle).call(this,e.params)})}handleSendBatchTransaction(e){return wa(this,void 0,void 0,function*(){yf(this,Qr,"m",Sb).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}=nsn(n);if(!f)throw jn.ethErrors.rpc.invalidParams(i);return yf(this,Qr,"m",nle).call(this,n,r)})}handleSendUserOperation(e){return wa(this,void 0,void 0,function*(){yf(this,Qr,"m",Sb).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 yf(this,Qr,"m",Sb).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 yf(this,Qr,"m",oc).call(this);mo0(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=`${p1(a)}`;if(this._blocto.switchableNetwork[f])return null;let i=r?.[0]||Vde[f];if(!i)throw jn.ethErrors.rpc.invalidParams("rpcUrls required");return yf(this,Qr,"m",$o0).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 Xde().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,oc=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 Xde().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||uo0[s];return this._blocto=Object.assign(Object.assign({},this._blocto),{sessionKeyEnv:pin[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})},$o0=function({chainId:e,rpcUrls:n}){var a;return wa(this,void 0,void 0,function*(){yield yf(this,Qr,"m",oc).call(this);let r=yield Xde().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=uo0[c];this._blocto.switchableNetwork[f]={name:i,display_name:s,network_type:o,wallet_web_url:d,rpc_url:n[0]}})},Sb=function(){var e;if(!((e=this.existedSDK)===null||e===void 0)&&e.isBlocto&&p1(this.existedSDK.chainId)!==p1(this.chainId))throw jn.ethErrors.provider.chainDisconnected()},nle=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")})};wsn=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},rle=class extends qK{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,$E(e,"'chainId' is required"),$E(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=bin[e],this.api=yin[e],this.sessionKey=hin[e];let r=min[e];this.appId=a||fle,this.server=n||r||""}get publicAccount(){var e;return{address:((e=N2(this.sessionKey,fs.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=N2(this.sessionKey,fs.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=N2(this.sessionKey,fs.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}Ein(this.sessionKey,fs.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=N2(this.sessionKey,fs.APTOS))===null||a===void 0)&&a.length))throw new Error("Fail to get account");let i=((r=Mb(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=>zK(c,this.sessionKey));if(typeof window>"u")throw new Error("Currently only supported in browser");let o=UK(`${this.server}/${this.appId}/aptos/authz/${s}`);return HK(o),new Promise((c,d)=>Rb("message",(l,h)=>{let y=l;y.origin===this.server&&y.data.type==="APTOS:FRAME:RESPONSE"&&(y.data.status==="APPROVED"&&(h(),N6(o),c({hash:y.data.txHash})),y.data.status==="DECLINED"&&(h(),N6(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=wsn(e);if(this.existedSDK)return this.existedSDK.signMessage(r);if((yield this.isConnected())||(yield this.connect()),!(!((n=N2(this.sessionKey,fs.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=Mb(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=>zK(d,this.sessionKey)),o=`${this.server}/${this.appId}/aptos/user-signature/${s}`,c=UK(o);return HK(c),new Promise((d,l)=>Rb("message",(h,y)=>{let v=h;v.origin===this.server&&v.data.type==="APTOS:FRAME:RESPONSE"&&(v.data.status==="APPROVED"&&(y(),N6(c),d(v.data)),v.data.status==="DECLINED"&&(y(),N6(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=N2(this.sessionKey,fs.APTOS))===null||a===void 0)&&a.length)return e({address:((r=N2(this.sessionKey,fs.APTOS))===null||r===void 0?void 0:r[0])||null,publicKey:this.publicKey,authKey:null,minKeysRequired:2});let f=encodeURIComponent(window.location.origin),i=UK(`${this.server}/${this.appId}/aptos/authn?l6n=${f}&v=${VK}}`);HK(i),Rb("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(),N6(i),XE(this.sessionKey,{code:y.data.code,accounts:{[fs.APTOS]:[y.data.addr]}},y.data.exp),!((c=y.data)===null||c===void 0)&&c.isAccountChanged&&postMessage({originChain:fs.APTOS,type:"BLOCTO_SDK:ACCOUNT_CHANGED"}),Rb("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)!==fs.APTOS&&(this.disconnect(),k())}),!((d=N2(this.sessionKey,fs.APTOS))===null||d===void 0)&&d.length)try{let{public_keys:v}=yield fetch(`${this.server}/blocto/aptos/accounts/${(l=N2(this.sessionKey,fs.APTOS))===null||l===void 0?void 0:l[0]}`).then(k=>k.json());this.publicKey=v||[],e({address:((h=N2(this.sessionKey,fs.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(),N6(i),n(new Error("User declined the login request")))}}))})})}fetchAddress(){var e;return wa(this,void 0,void 0,function*(){let n=((e=Mb(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=>zK(r,this.sessionKey));return xin(this.sessionKey,fs.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)}},QK=class{constructor({appId:e,ethereum:n,aptos:a}){n&&(this.ethereum=new ale(Object.assign(Object.assign({},n),{appId:e}))),a&&(this.aptos=new rle(Object.assign(Object.assign({},a),{appId:e})))}}});var Xo0={};G0(Xo0,{BloctoConnector:()=>hle});var lB,hle,Zo0=oe(()=>{"use strict";u();p();Ct();U9();mo();Jo0();lB=Ee(Je());wn();uh();lh();W0();hle=class extends t6{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=lB.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 wi(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 QK({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 lB.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){return!!this._provider?._blocto?.sessionKeyEnv}async switchChain(e){let n=await this.getProvider(),a=lB.utils.hexValue(e),r=this.chains.find(s=>s.chainId===e);if(!r)throw new ic(new Error("chain not found on connector."));if(!(await n.supportChainList())[`${e}`])throw new ic(new Error(`Blocto unsupported chain: ${a}`));try{return await n.request({method:"wallet_addEthereumChain",params:[{chainId:a,rpcUrls:F2(r)}]}),await n.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]}),r}catch(s){throw this._isUserRejectedRequestError(s)?new _t(s):new ic(s)}}onAccountsChanged(){}async onChainChanged(e){let n=wi(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 tQ,Tsn,xsn,Esn,H2,ZE=oe(()=>{u();p();tQ={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"},Tsn=()=>typeof window<"u"&&window.localStorage.getItem("IS_PAPER_DEV")==="true",xsn=()=>typeof window<"u"&&window.location.origin.includes("paper.xyz"),Esn=()=>typeof window<"u"&&window.location.origin.includes("thirdweb.com"),H2=()=>{var t;return Tsn()?(t=window.localStorage.getItem("PAPER_DEV_URL"))!=null?t:"http://localhost:3000":xsn()||Esn()?window.location.origin:"https://withpaper.com"}});function gle(t){return new Promise(e=>{setTimeout(e,t*1e3)})}function ksn(t){let{clientId:e,path:n,queryParams:a}=t,r=new URL(`${n}`,nQ());if(a)for(let f of Object.keys(a))r.searchParams.set(f,a[f]?.toString()||"");return r.searchParams.set("clientId",e),r}var rQ,t10,_sn,nQ,mle,Asn,ble,Csn,yle,hB,hh,e10,pB,Isn,vle,wle,Tle,Ssn,xle,Ele,_le,Ale,Cle,aQ,n10=oe(()=>{"use strict";u();p();Ct();ZE();rQ=Ee(Je()),t10=Ee(A7());F9();_sn="/sdk/2022-08-12/embedded-wallet",nQ=()=>localStorage.getItem("IS_THIRDWEB_DEV")==="true"?window.localStorage.getItem("THIRDWEB_DEV_URL")??"http://localhost:3000":"https://embedded-wallet.thirdweb.com",mle=t=>`thirdwebEwsWalletUserId-${t}`,Asn="walletToken",ble=t=>`${Asn}-${t}`,Csn="a",yle=(t,e)=>`${Csn}-${t}-${e}`,hB=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}({}),hh=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}({}),e10=new Map,pB=class{constructor(e){let{clientId:n}=e;this.isSupported=!!window.localStorage,this.clientId=n}async getItem(e){return this.isSupported?window.localStorage.getItem(e):e10.get(e)??null}async setItem(e,n){if(this.isSupported)return window.localStorage.setItem(e,n);e10.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(ble(this.clientId),e)}async getAuthCookie(){return this.getItem(ble(this.clientId))}async removeAuthCookie(){return this.removeItem(ble(this.clientId))}async saveDeviceShare(e,n){await this.saveWalletUserId(n),await this.setItem(yle(this.clientId,n),e)}async getDeviceShare(){let e=await this.getWalletUserId();return e?this.getItem(yle(this.clientId,e)):null}async removeDeviceShare(){let e=await this.getWalletUserId();return e?this.removeItem(yle(this.clientId,e)):!1}async getWalletUserId(){return this.getItem(mle(this.clientId))}async saveWalletUserId(e){await this.setItem(mle(this.clientId),e)}async removeWalletUserId(){return this.removeItem(mle(this.clientId))}};Isn={height:"100%",width:"100%",border:"none",backgroundColor:"transparent",colorScheme:"light",position:"fixed",top:"0px",right:"0px",zIndex:"2147483646",display:"none"},vle=new Map,wle=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=nQ();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={...Isn,...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?(vle.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(;!vle.get(this.iframe.src);)await gle(this.POLLING_INTERVAL_SECONDS);return r&&(this.iframe.style.display="block",await gle(.005)),new Promise((i,s)=>{let o=new MessageChannel;o.port1.onmessage=async c=>{let{data:d}=c;o.port1.close(),r&&(await gle(.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(){vle.delete(this.iframe.src)}},Tle=class extends wle{constructor(e){let{clientId:n,customizationOptions:a}=e;super({iframeId:Ssn,link:ksn({clientId:n,path:_sn,queryParams:a}).href,container:document.body}),this.clientId=n}async onIframeLoadedInitVariables(){let e=new pB({clientId:this.clientId});return{authCookie:await e.getAuthCookie(),deviceShareStored:await e.getDeviceShare(),walletUserId:await e.getWalletUserId(),clientId:this.clientId}}};Ssn="thirdweb-embedded-wallet-iframe",xle=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}})}},Ele=class extends xle{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 hB.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===nQ()){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},nQ());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)}},_le=class{constructor(e){let{clientId:n,querier:a,onAuthSuccess:r}=e;this.clientId=n,this.AuthQuerier=a,this.localStorage=new pB({clientId:n}),this.onAuthSuccess=r,this.BaseLogin=new Ele({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}}},Ale=class t extends rQ.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,t10.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 Bl(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})}},Cle=class{constructor(e){let{clientId:n,chain:a,querier:r}=e;this.clientId=n,this.chain=a,this.walletManagerQuerier=r,this.localStorage=new pB({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===hh.LOGGED_IN_WALLET_INITIALIZED?{status:hh.LOGGED_IN_WALLET_INITIALIZED,...e.user,wallet:this}:e.status===hh.LOGGED_IN_NEW_DEVICE?{status:hh.LOGGED_IN_WALLET_UNINITIALIZED,...e.user}:e.status===hh.LOGGED_IN_WALLET_UNINITIALIZED?{status:hh.LOGGED_IN_WALLET_UNINITIALIZED,...e.user}:{status:e.status}}async setChain(e){let{chain:n}=e;this.chain=n}async getEthersJsSigner(e){return new Ale({clientId:this.clientId,provider:(0,rQ.getDefaultProvider)(e?.rpcEndpoint??tQ[this.chain]),querier:this.walletManagerQuerier})}},aQ=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 Tle({clientId:n,customizationOptions:r}),this.wallet=new Cle({clientId:n,chain:a,querier:this.querier}),this.auth=new _le({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:hh.LOGGED_IN_WALLET_INITIALIZED,authDetails:i.storedToken.authDetails,wallet:this.wallet,walletAddress:i.walletDetails.walletAddress}})})}async getUser(){return this.wallet.getUserWalletStatus()}}});var r10={};G0(r10,{EmbeddedWalletConnector:()=>Ile});function Rsn(t){throw new Error("Invalid param: "+t)}var a10,Ile,Msn,f10=oe(()=>{"use strict";u();p();Ct();a10=Ee(Je());lh();wn();Mr();n10();W0();Ile=class extends sc{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:a10.utils.getAddress(n[0])})}),Pe(this,"onChainChanged",n=>{let a=wi(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 aQ({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 hh.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=Msn[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:Rsn(a)}}};Msn={google:hB.GOOGLE,facebook:hB.FACEBOOK,apple:hB.APPLE}});function Za(t){return typeof t<"u"&&!!t&&"ethereum"in t&&!!t.ethereum}var h1=oe(()=>{"use strict";u();p()});function fQ(){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 kle=oe(()=>{"use strict";u();p();h1()});var s10={};G0(s10,{InjectedConnector:()=>Ga});function Bsn(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 G9,Ga,m1=oe(()=>{"use strict";u();p();Ct();U9();mo();h1();uh();G9=Ee(Je());lh();W0();Ga=class extends t6{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:G9.utils.getAddress(f[0])})}),Pe(this,"onChainChanged",f=>{let i=wi(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=Bsn(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=G9.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 G9.utils.getAddress(n[0])}async getChainId(){let e=await this.getProvider();if(!e)throw new Bn;return e.request({method:"eth_chainId"}).then(wi)}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 G9.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=G9.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 Cb({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:F2(f),blockExplorerUrls:this.getBlockExplorerUrls(f)}]}),f}catch(i){throw this.isUserRejectedRequestError(i)?new _t(r):new Ab}throw this.isUserRejectedRequestError(r)?new _t(r):new ic(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 c10={};G0(c10,{MetaMaskConnector:()=>Sle});var o10,Sle,d10=oe(()=>{"use strict";u();p();Ct();mo();wn();m1();o10=Ee(Je());kle();W0();Sle=class extends Ga{constructor(e){let a={...{name:"MetaMask",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:fQ},...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=o10.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 l10=oe(()=>{u();p()});var u10=oe(()=>{u();p();Pz();IS()});var Rle=oe(()=>{u();p();l10();ax();Loe();DS();ox();u10()});function s_(t){let[e,n]=t.split(Dsn);return{namespace:e,reference:n}}function nue(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 Q10(t,e){return t.includes(":")?[t]:e.chains||[]}function o_(){return typeof x<"u"&&typeof x.versions<"u"&&typeof x.versions.node<"u"}function Y9(){return!(0,Ub.getDocument)()&&!!(0,Ub.getNavigator)()&&navigator.product===Nsn}function Hb(){return!o_()&&!!(0,Ub.getNavigator)()&&!!(0,Ub.getDocument)()}function AB(){return Y9()?r6.reactNative:o_()?r6.node:Hb()?r6.browser:r6.unknown}function V10(){var t;try{return Y9()&&typeof global<"u"&&typeof(global==null?void 0:global.Application)<"u"?(t=global.Application)==null?void 0:t.applicationId:void 0}catch{return}}function Usn(t,e){let n=i_.parse(t);return n=m10(m10({},n),e),t=i_.stringify(n),t}function Y10(){return(0,G10.getWindowMetadata)()||{name:"",description:"",url:"",icons:[""]}}function Hsn(){if(AB()===r6.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=Vz();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 zsn(){var t;let e=AB();return e===r6.browser?[e,((t=(0,Ub.getLocation)())==null?void 0:t.host)||"unknown"].join(":"):e}function Wsn(t,e,n){let a=Hsn(),r=zsn();return[[t,e].join("-"),[Osn,n].join("-"),a,r].join("/")}function $10({protocol:t,version:e,relayUrl:n,sdkVersion:a,auth:r,projectId:f,useOnCloseEvent:i,bundleId:s}){let o=n.split("?"),c=Wsn(t,e,a),d={auth:r,ua:c,projectId:f,useOnCloseEvent:i||void 0,origin:s||void 0},l=Usn(o[1]||"",d);return o[0]+"?"+l}function K9(t,e){return t.filter(n=>e.includes(n)).length===t.length}function aue(t){return Object.fromEntries(t.entries())}function rue(t){return new Map(Object.entries(t))}function wh(t=vh.FIVE_MINUTES,e){let n=(0,vh.toMiliseconds)(t||vh.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 c_(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 J10(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 X10(t){return J10("topic",t)}function Z10(t){return J10("id",t)}function TQ(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 Os(t,e){return(0,vh.fromMiliseconds)((e||Date.now())+(0,vh.toMiliseconds)(t))}function $2(t){return Date.now()>=(0,vh.toMiliseconds)(t)}function Dn(t,e){return`${t}${e?`:${e}`:""}`}function CB(t=[],e=[]){return[...new Set([...t,...e])]}async function ec0({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=AB();i===r6.browser?f.startsWith("https://")||f.startsWith("http://")?window.open(f,"_blank","noreferrer noopener"):window.open(f,"_self","noreferrer noopener"):i===r6.reactNative&&typeof(global==null?void 0:global.Linking)<"u"&&await global.Linking.openURL(f)}catch(a){console.error(a)}}async function tc0(t,e){try{return await t.getItem(e)||(Hb()?localStorage.getItem(e):void 0)}catch(n){console.error(n)}}function qsn(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 Ksn(){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 rc0(t){return!!t.toHexString}function t_(t){return t.slice||(t.slice=function(){let e=Array.prototype.slice.call(arguments);return t_(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function Vsn(t){return U6(t)&&!(t.length%2)||d_(t)}function T10(t){return typeof t=="number"&&t==t&&t%1===0}function d_(t){if(t==null)return!1;if(t.constructor===Uint8Array)return!0;if(typeof t=="string"||!T10(t.length)||t.length<0)return!1;for(let e=0;e=256)return!1}return!0}function ii(t,e){if(e||(e={}),typeof t=="number"){Ti.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),t_(new Uint8Array(n))}if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),rc0(t)&&(t=t.toHexString()),U6(t)){let n=t.substring(2);n.length%2&&(e.hexPad==="left"?n="0"+n:e.hexPad==="right"?n+="0":Ti.throwArgumentError("hex data is odd-length","value",t));let a=[];for(let r=0;rii(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),t_(a)}function $sn(t,e){t=ii(t),t.length>e&&Ti.throwArgumentError("value out of range","value",arguments[0]);let n=new Uint8Array(e);return n.set(t,e-t.length),t_(n)}function U6(t,e){return!(typeof t!="string"||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}function cc(t,e){if(e||(e={}),typeof t=="number"){Ti.checkSafeUint53(t,"invalid hexlify value");let n="";for(;t;)n=Ble[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),rc0(t))return t.toHexString();if(U6(t))return t.length%2&&(e.hexPad==="left"?t="0x0"+t.substring(2):e.hexPad==="right"?t+="0":Ti.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(d_(t)){let n="0x";for(let a=0;a>4]+Ble[r&15]}return n}return Ti.throwArgumentError("invalid hexlify value","value",t)}function Jsn(t){if(typeof t!="string")t=cc(t);else if(!U6(t)||t.length%2)return null;return(t.length-2)/2}function x10(t,e,n){return typeof t!="string"?t=cc(t):(!U6(t)||t.length%2)&&Ti.throwArgumentError("invalid hexData","value",t),e=2+2*e,n!=null?"0x"+t.substring(e,2+2*n):"0x"+t.substring(e)}function K2(t,e){for(typeof t!="string"?t=cc(t):U6(t)||Ti.throwArgumentError("invalid hex string","value",t),t.length>2*e+2&&Ti.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}function fc0(t){let e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(Vsn(t)){let n=ii(t);n.length===64?(e.v=27+(n[32]>>7),n[32]&=127,e.r=cc(n.slice(0,32)),e.s=cc(n.slice(32,64))):n.length===65?(e.r=cc(n.slice(0,32)),e.s=cc(n.slice(32,64)),e.v=n[64]):Ti.throwArgumentError("invalid signature string","signature",t),e.v<27&&(e.v===0||e.v===1?e.v+=27:Ti.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(n[32]|=128),e._vs=cc(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=$sn(ii(e._vs),32);e._vs=cc(r);let f=r[0]>=128?1:0;e.recoveryParam==null?e.recoveryParam=f:e.recoveryParam!==f&&Ti.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),r[0]&=127;let i=cc(r);e.s==null?e.s=i:e.s!==i&&Ti.throwArgumentError("signature v mismatch _vs","signature",t)}if(e.recoveryParam==null)e.v==null?Ti.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&&Ti.throwArgumentError("signature recoveryParam mismatch v","signature",t)}e.r==null||!U6(e.r)?Ti.throwArgumentError("signature missing or invalid r","signature",t):e.r=K2(e.r,32),e.s==null||!U6(e.s)?Ti.throwArgumentError("signature missing or invalid s","signature",t):e.s=K2(e.s,32);let n=ii(e.s);n[0]>=128&&Ti.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(n[0]|=128);let a=cc(n);e._vs&&(U6(e._vs)||Ti.throwArgumentError("signature invalid _vs","signature",t),e._vs=K2(e._vs,32)),e._vs==null?e._vs=a:e._vs!==a&&Ti.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}function fue(t){return"0x"+jsn.keccak_256(ii(t))}function ton(t){return t!=null&&(go.isBigNumber(t)||typeof t=="number"&&t%1===0||typeof t=="string"&&!!t.match(/^-?[0-9]+$/)||U6(t)||typeof t=="bigint"||d_(t))}function xB(t){if(typeof t!="string")return xB(t.toString(16));if(t[0]==="-")return t=t.substring(1),t[0]==="-"&&bh.throwArgumentError("invalid hex","value",t),t=xB(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 a6(t){return go.from(xB(t))}function na(t){let e=go.from(t).toHexString();return e[0]==="-"?new hQ("-"+e.substring(3),16):new hQ(e.substring(2),16)}function ud(t,e,n){let a={fault:t,operation:e};return n!=null&&(a.value=n),bh.throwError(t,gf.errors.NUMERIC_FAULT,a)}function non(t){return new hQ(t,36).toString(16)}function dc0(t,e,n,a){let r={fault:e,operation:n};return a!==void 0&&(r.value=a),dc.throwError(t,gf.errors.NUMERIC_FAULT,r)}function iue(t){if(typeof t!="number")try{t=go.from(t).toNumber()}catch{}return typeof t=="number"&&t>=0&&t<=256&&!(t%1)?"1"+wB.substring(0,t):dc.throwArgumentError("invalid decimal size","decimals",t)}function Ple(t,e){e==null&&(e=0);let n=iue(e);t=go.from(t);let a=t.lt(oc0);a&&(t=t.mul(cc0));let r=t.mod(n).toString();for(;r.length2&&dc.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&&dc0("fractional component exceeds decimals","underflow","parseFixed"),i===""&&(i="0");i.length>6===2;i++)f++;return f}return t===n_.OVERRUN?n.length-e-1:0}function ion(t,e,n,a,r){return t===n_.OVERLONG?(a.push(r),0):(a.push(65533),uc0(t,e,n))}function Lle(t,e=bQ.current){e!=bQ.current&&(lc0.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 ii(n)}function son(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 C10(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 oon(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 con(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 lon(t){let e=0;return()=>t[e++]}function uon(t){return lon(don(t))}function pon(t){return t&1?~t>>1:t>>1}function hon(t,e){let n=Array(t);for(let a=0;ae[i]):n}function bon(t){let e=[];for(;;){let n=t();if(n==0)break;e.push(gon(n,t))}for(;;){let n=t()-1;if(n<0)break;e.push(von(n,t))}return con(hc0(e))}function yon(t){let e=[];for(;;){let n=t();if(n==0)break;e.push(n)}return e}function mc0(t,e,n){let a=Array(t).fill(void 0).map(()=>[]);for(let r=0;ra[i].push(f));return a}function gon(t,e){let n=1+e(),a=e(),r=yon(e),f=mc0(r.length,1+t,e);return hc0(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 von(t,e){let n=1+e();return mc0(n,1+t,e).map(a=>[a[0],a.slice(1)])}function won(t){let e=yQ(t).sort((a,r)=>a-r);return n();function n(){let a=[];for(;;){let c=yQ(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 Ton(){return uon(oon("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 bc0(t){return typeof t=="string"&&(t=Lle(t)),fue(Ysn([Lle(Eon),Lle(String(t.length)),t]))}function k10(t){U6(t,20)||gB.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=ii(fue(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 Ion(t){return Math.log10?Math.log10(t):Math.log(t)/Math.LN10}function kon(t){t=t.toUpperCase(),t=t.substring(4)+t.substring(0,2)+"00";let e=t.split("").map(a=>sue[a]).join("");for(;e.length>=S10;){let a=e.substring(0,S10);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 Son(t){let e=null;if(typeof t!="string"&&gB.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))t.substring(0,2)!=="0x"&&(t="0x"+t),e=k10(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&gB.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)!==kon(t)&&gB.throwArgumentError("bad icap checksum","address",t),e=non(t.substring(4));e.length<40;)e="0"+e;e=k10("0x"+e)}else gB.throwArgumentError("invalid address","address",t);return e}function mB(t,e,n){Object.defineProperty(t,e,{enumerable:!0,value:n,writable:!1})}function yc0(t,e){if(!t)throw new Error(e||"Assertion failed")}function Fon(t,e){return(t.charCodeAt(e)&64512)!==55296||e<0||e+1>=t.length?!1:(t.charCodeAt(e+1)&64512)===56320}function Non(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):Fon(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 Uon(t,e){for(var n="",a=0;a>>0}return f}function zon(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 Won(t,e){return t>>>e|t<<32-e}function qon(t,e){return t<>>32-e}function jon(t,e){return t+e>>>0}function Gon(t,e,n){return t+e+n>>>0}function Kon(t,e,n,a){return t+e+n+a>>>0}function Qon(t,e,n,a,r){return t+e+n+a+r>>>0}function Von(t,e,n,a){var r=t[e],f=t[e+1],i=a+f>>>0,s=(i>>0,t[e+1]=i}function Yon(t,e,n,a){var r=e+a>>>0,f=(r>>0}function $on(t,e,n,a){var r=e+a;return r>>>0}function Jon(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 Xon(t,e,n,a,r,f,i,s){var o=e+a+f+s;return o>>>0}function Zon(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 e1n(t,e,n,a,r,f,i,s,o,c){var d=e+a+f+s+c;return d>>>0}function t1n(t,e,n){var a=e<<32-n|t>>>n;return a>>>0}function n1n(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}function a1n(t,e,n){return t>>>n}function r1n(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}function sQ(){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 s1n(t,e,n,a){if(t===0)return Tc0(e,n,a);if(t===1||t===3)return Ec0(e,n,a);if(t===2)return xc0(e,n,a)}function Tc0(t,e,n){return t&e^~t&n}function xc0(t,e,n){return t&e^t&n^e&n}function Ec0(t,e,n){return t^e^n}function o1n(t){return Q2(t,2)^Q2(t,13)^Q2(t,22)}function c1n(t){return Q2(t,6)^Q2(t,11)^Q2(t,25)}function d1n(t){return Q2(t,7)^Q2(t,18)^t>>>3}function l1n(t){return Q2(t,17)^Q2(t,19)^t>>>10}function q2(){if(!(this instanceof q2))return new q2;_c0.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}function j2(){if(!(this instanceof j2))return new j2;Ac0.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=k1n,this.W=new Array(64)}function yh(){if(!(this instanceof yh))return new yh;Ic0.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}function Kl(){if(!(this instanceof Kl))return new Kl;Rc0.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=F1n,this.W=new Array(160)}function N1n(t,e,n,a,r){var f=t&n^~t&r;return f<0&&(f+=4294967296),f}function O1n(t,e,n,a,r,f){var i=e&a^~e&f;return i<0&&(i+=4294967296),i}function U1n(t,e,n,a,r){var f=t&n^t&r^n&r;return f<0&&(f+=4294967296),f}function H1n(t,e,n,a,r,f){var i=e&a^e&f^a&f;return i<0&&(i+=4294967296),i}function z1n(t,e){var n=V2(t,e,28),a=V2(e,t,2),r=V2(e,t,7),f=n^a^r;return f<0&&(f+=4294967296),f}function W1n(t,e){var n=Y2(t,e,28),a=Y2(e,t,2),r=Y2(e,t,7),f=n^a^r;return f<0&&(f+=4294967296),f}function q1n(t,e){var n=V2(t,e,14),a=V2(t,e,18),r=V2(e,t,9),f=n^a^r;return f<0&&(f+=4294967296),f}function j1n(t,e){var n=Y2(t,e,14),a=Y2(t,e,18),r=Y2(e,t,9),f=n^a^r;return f<0&&(f+=4294967296),f}function G1n(t,e){var n=V2(t,e,1),a=V2(t,e,8),r=kc0(t,e,7),f=n^a^r;return f<0&&(f+=4294967296),f}function K1n(t,e){var n=Y2(t,e,1),a=Y2(t,e,8),r=Sc0(t,e,7),f=n^a^r;return f<0&&(f+=4294967296),f}function Q1n(t,e){var n=V2(t,e,19),a=V2(e,t,29),r=kc0(t,e,6),f=n^a^r;return f<0&&(f+=4294967296),f}function V1n(t,e){var n=Y2(t,e,19),a=Y2(e,t,29),r=Sc0(t,e,6),f=n^a^r;return f<0&&(f+=4294967296),f}function gh(){if(!(this instanceof gh))return new gh;Bc0.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}function W2(){if(!(this instanceof W2))return new W2;Pc0.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function D10(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 J1n(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function X1n(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}function a_(t,e,n){if(!(this instanceof a_))return new a_(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(acn.toArray(e,n))}function p_(t,e,n){return n={path:e,exports:{},require:function(a,r){return icn(a,r??n.path)}},t(n,n.exports),n.exports}function icn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}function Lc0(t,e){if(!t)throw new Error(e||"Assertion failed")}function Fb(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 pd(t,e){this.curve=t,this.type=e,this.precomputed=null}function md(t){$9.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 Ns(t,e,n,a){$9.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 bo(t,e,n,a){$9.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 Nb(t){if(!(this instanceof Nb))return new Nb(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=Ql.toArray(t.entropy,t.entropyEnc||"hex"),n=Ql.toArray(t.nonce,t.nonceEnc||"hex"),a=Ql.toArray(t.pers,t.persEnc||"hex");oue(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,a)}function b1(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 xQ(t,e){if(t instanceof xQ)return t;this._importDER(t,e)||(dcn(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 lcn(){this.place=0}function Wle(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 L10(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 hd(t){if(!(this instanceof hd))return new hd(t);typeof t=="string"&&(Fc0(Object.prototype.hasOwnProperty.call(pQ,t),"Unknown curve "+t),t=pQ[t]),t instanceof pQ.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 G2(){return jle||(jle=new mcn("secp256k1")),jle}function ycn(t,e){let n=fc0(e),a={r:ii(n.r),s:ii(n.s)};return"0x"+G2().recoverPubKey(ii(t),a,n.recoveryParam).encode("hex",!1)}function Nc0(t,e){let n=ii(t);if(n.length===32){let a=new Jle(n);return e?"0x"+G2().keyFromPrivate(n).getPublic(!0,"hex"):a.publicKey}else{if(n.length===33)return e?cc(n):"0x"+G2().keyFromPublic(n).getPublic(!1,"hex");if(n.length===65)return e?"0x"+G2().keyFromPublic(n).getPublic(!0,"hex"):cc(n)}return $le.throwArgumentError("invalid public or private key","key","[REDACTED]")}function vcn(t){let e=Nc0(t);return Son(x10(fue(x10(e,1)),12))}function wcn(t,e){return vcn(ycn(ii(t),e))}async function xcn(t,e,n,a,r,f){switch(n.t){case"eip191":return Ecn(t,e,n.s);case"eip1271":return await _cn(t,e,n.s,a,r,f);default:throw new Error(`verifySignature failed: Attempted to verify CacaoSignature with unknown type: ${n.t}`)}}function Ecn(t,e,n){return wcn(bc0(e),n).toLowerCase()===t.toLowerCase()}async function _cn(t,e,n,a,r,f){try{let i="0x1626ba7e",s="0000000000000000000000000000000000000000000000000000000000000040",o="0000000000000000000000000000000000000000000000000000000000000041",c=n.substring(2),d=bc0(e).substring(2),l=i+d+s+o+c,h=await fetch(`${f||Tcn}/?chainId=${a}&projectId=${r}`,{method:"POST",body:JSON.stringify({id:Acn(),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 Acn(){return Date.now()+Math.floor(Math.random()*1e3)}async function uue(t){let{cacao:e,projectId:n}=t,{s:a,p:r}=e,f=pue(r,r.iss),i=kB(r.iss);return await xcn(i,f,a,Oc0(r.iss),n)}function Pcn(t){return _.Buffer.from(JSON.stringify(t)).toString("base64")}function Lcn(t){return JSON.parse(_.Buffer.from(t,"base64").toString("utf-8"))}function V9(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 Fcn(t,e,n,a={}){return n?.sort((r,f)=>r.localeCompare(f)),{att:{[t]:Ncn(e,n,a)}}}function Ncn(t,e,n={}){e=e?.sort((r,f)=>r.localeCompare(f));let a=e.map(r=>({[`${t}/${r}`]:[n]}));return Object.assign({},...a)}function Uc0(t){return V9(t),`urn:recap:${Pcn(t).replace(/=/g,"")}`}function EB(t){let e=Lcn(t.replace("urn:recap:",""));return V9(e),e}function Hc0(t,e,n){let a=Fcn(t,e,n);return Uc0(a)}function Ocn(t){return t&&t.includes("urn:recap:")}function zc0(t,e){let n=EB(t),a=EB(e),r=Ucn(n,a);return Uc0(r)}function Ucn(t,e){V9(t),V9(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]=Bcn(Mcn({},a.att[r]),{[s]:((o=t.att[r])==null?void 0:o[s])||((c=e.att[r])==null?void 0:c[s])})})}),a}function Hcn(t="",e){V9(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 hue(t){var e;let n=EB(t);V9(n);let a=(e=n.att)==null?void 0:e.eip155;return a?Object.keys(a).map(r=>r.split("/")[1]):[]}function mue(t){let e=EB(t);V9(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 SB(t){if(!t)return;let e=t?.[t.length-1];return Ocn(e)?e:void 0}function jc0(){let t=wQ.generateKeyPair();return{privateKey:Bi(t.secretKey,y1),publicKey:Bi(t.publicKey,y1)}}function EQ(){let t=(0,tue.randomBytes)(yue);return Bi(t,y1)}function Gc0(t,e){let n=wQ.sharedKey(As(t,y1),As(e,y1),!0),a=new K10.HKDF(_B.SHA256,n).expand(yue);return Bi(a,y1)}function h_(t){let e=(0,_B.hash)(As(t,y1));return Bi(e,y1)}function Th(t){let e=(0,_B.hash)(As(t,bue));return Bi(e,y1)}function Wcn(t){return As(`${t}`,Wc0)}function m_(t){return Number(Bi(t,Wc0))}function Kc0(t){let e=Wcn(typeof t.type<"u"?t.type:qc0);if(m_(e)===X2&&typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");let n=typeof t.senderPublicKey<"u"?As(t.senderPublicKey,y1):void 0,a=typeof t.iv<"u"?As(t.iv,y1):(0,tue.randomBytes)(Zle),r=new eue.ChaCha20Poly1305(As(t.symKey,y1)).seal(a,As(t.message,bue));return qcn({type:e,sealed:r,iv:a,senderPublicKey:n})}function Qc0(t){let e=new eue.ChaCha20Poly1305(As(t.symKey,y1)),{sealed:n,iv:a}=RB(t.encoded),r=e.open(a,n);if(r===null)throw new Error("Failed to decrypt");return Bi(r,bue)}function qcn(t){if(m_(t.type)===X2){if(typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");return Bi(L7([t.type,t.senderPublicKey,t.iv,t.sealed]),Xle)}return Bi(L7([t.type,t.iv,t.sealed]),Xle)}function RB(t){let e=As(t,Xle),n=e.slice(zcn,U10),a=U10;if(m_(n)===X2){let s=a+yue,o=s+Zle,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+Zle,f=e.slice(a,r),i=e.slice(r);return{type:n,sealed:i,iv:f}}function Vc0(t,e){let n=RB(t);return gue({type:m_(n.type),senderPublicKey:typeof n.senderPublicKey<"u"?Bi(n.senderPublicKey,y1):void 0,receiverPublicKey:e?.receiverPublicKey})}function gue(t){let e=t?.type||qc0;if(e===X2){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 vue(t){return t.type===X2&&typeof t.senderPublicKey=="string"&&typeof t.receiverPublicKey=="string"}function _Q(t){return t?.relay||{protocol:jcn}}function MB(t){let e=mUe[t];if(typeof e>"u")throw new Error(`Relay Protocol not supported: ${t}`);return e}function Jcn(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 wue(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=i_.parse(f),s=typeof i.methods=="string"?i.methods.split(","):void 0;return{protocol:a,topic:Xcn(r[0]),version:parseInt(r[1],10),symKey:i.symKey,relay:Jcn(i),methods:s,expiryTimestamp:i.expiryTimestamp?parseInt(i.expiryTimestamp,10):void 0}}function Xcn(t){return t.startsWith("//")?t.substring(2):t}function Zcn(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 Yc0(t){return`${t.protocol}:${t.topic}@${t.version}?`+i_.stringify(W10($cn(W10({symKey:t.symKey},Zcn(t.relay)),{expiryTimestamp:t.expiryTimestamp}),t.methods?{methods:t.methods.join(",")}:{}))}function b_(t){let e=[];return t.forEach(n=>{let[a,r]=n.split(":");e.push(`${a}:${r}`)}),e}function e6n(t){let e=[];return Object.values(t).forEach(n=>{e.push(...b_(n.accounts))}),e}function t6n(t,e){let n=[];return Object.values(t).forEach(a=>{b_(a.accounts).includes(e)&&n.push(...a.methods)}),n}function n6n(t,e){let n=[];return Object.values(t).forEach(a=>{b_(a.accounts).includes(e)&&n.push(...a.events)}),n}function AQ(t){return t.includes(":")}function y_(t){return AQ(t)?t.split(":")[0]:t}function a6n(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 Tue(t,e){e=e.map(a=>a.replace("did:pkh:",""));let n=a6n(e);for(let[a,r]of Object.entries(n))r.methods?r.methods=CB(r.methods,t):r.methods=t,r.events=["chainChanged","accountsChanged"];return n}function F0(t,e){let{message:n,code:a}=f6n[t];return{message:e?`${n} ${e}`:n,code:a}}function Ca(t,e){let{message:n,code:a}=r6n[t];return{message:e?`${n} ${e}`:n,code:a}}function z6(t,e){return Array.isArray(t)?typeof e<"u"&&t.length?t.every(e):!0:!1}function J9(t){return Object.getPrototypeOf(t)===Object.prototype&&Object.keys(t).length}function yo(t){return typeof t>"u"}function Df(t,e){return e&&yo(t)?!0:typeof t=="string"&&!!t.trim().length}function xue(t,e){return e&&yo(t)?!0:typeof t=="number"&&!isNaN(t)}function $c0(t,e){let{requiredNamespaces:n}=e,a=Object.keys(t.namespaces),r=Object.keys(n),f=!0;return K9(r,a)?(a.forEach(i=>{let{accounts:s,methods:o,events:c}=t.namespaces[i],d=b_(s),l=n[i];(!K9(Q10(i,l),d)||!K9(l.methods,o)||!K9(l.events,c))&&(f=!1)}),f):!1}function vQ(t){return Df(t,!1)&&t.includes(":")?t.split(":").length===2:!1}function i6n(t){if(Df(t,!1)&&t.includes(":")){let e=t.split(":");if(e.length===3){let n=e[0]+":"+e[1];return!!e[2]&&vQ(n)}}return!1}function Jc0(t){if(Df(t,!1))try{return typeof new URL(t)<"u"}catch{return!1}return!1}function Xc0(t){var e;return(e=t?.proposer)==null?void 0:e.publicKey}function Zc0(t){return t?.topic}function e60(t,e){let n=null;return Df(t?.publicKey,!1)||(n=F0("MISSING_OR_INVALID",`${e} controller public key should be a string`)),n}function q10(t){let e=!0;return z6(t)?t.length&&(e=t.every(n=>Df(n,!1))):e=!1,e}function s6n(t,e,n){let a=null;return z6(e)&&e.length?e.forEach(r=>{a||vQ(r)||(a=Ca("UNSUPPORTED_CHAINS",`${n}, chain ${r} should be a string and conform to "namespace:chainId" format`))}):vQ(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 o6n(t,e,n){let a=null;return Object.entries(t).forEach(([r,f])=>{if(a)return;let i=s6n(r,Q10(r,f),`${e} ${n}`);i&&(a=i)}),a}function c6n(t,e){let n=null;return z6(t)?t.forEach(a=>{n||i6n(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 d6n(t,e){let n=null;return Object.values(t).forEach(a=>{if(n)return;let r=c6n(a?.accounts,`${e} namespace`);r&&(n=r)}),n}function l6n(t,e){let n=null;return q10(t?.methods)?q10(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 t60(t,e){let n=null;return Object.values(t).forEach(a=>{if(n)return;let r=l6n(a,`${e}, namespace`);r&&(n=r)}),n}function n60(t,e,n){let a=null;if(t&&J9(t)){let r=t60(t,e);r&&(a=r);let f=o6n(t,e,n);f&&(a=f)}else a=F0("MISSING_OR_INVALID",`${e}, ${n} should be an object with data`);return a}function CQ(t,e){let n=null;if(t&&J9(t)){let a=t60(t,e);a&&(n=a);let r=d6n(t,e);r&&(n=r)}else n=F0("MISSING_OR_INVALID",`${e}, namespaces should be an object with data`);return n}function Eue(t){return Df(t.protocol,!0)}function a60(t,e){let n=!1;return e&&!t?n=!0:t&&z6(t)&&t.length&&t.forEach(a=>{n=Eue(a)}),n}function r60(t){return typeof t=="number"}function g1(t){return typeof t<"u"&&typeof t!==null}function f60(t){return!(!t||typeof t!="object"||!t.code||!xue(t.code,!1)||!t.message||!Df(t.message,!1))}function i60(t){return!(yo(t)||!Df(t.method,!1))}function s60(t){return!(yo(t)||yo(t.result)&&yo(t.error)||!xue(t.id,!1)||!Df(t.jsonrpc,!1))}function o60(t){return!(yo(t)||!Df(t.name,!1))}function _ue(t,e){return!(!vQ(e)||!e6n(t).includes(e))}function c60(t,e,n){return Df(n,!1)?t6n(t,e).includes(n):!1}function d60(t,e,n){return Df(n,!1)?n6n(t,e).includes(n):!1}function Aue(t,e,n){let a=null,r=u6n(t),f=p6n(e),i=Object.keys(r),s=Object.keys(f),o=j10(Object.keys(t)),c=j10(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=ch(i.abi).map(v=>v.type),y=YE(h,a);return this.deployContractWithAbi.prepare(i.abi,l,y)}));ae(this,"deployContractWithAbi",Gr(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 nM({args:r,provider:i,signer:f,factory:s,storage:this.storage,events:this.events})}));this.storage=r,this.events=new R6,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]:_b,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"),eo0(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]:_b,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"),no0(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=b9(a,"twRegistry");if(!r)return;let f=(await Promise.resolve().then(()=>Ee(Hs0()))).default;return new Ode(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=b9(a,"twFactory");return r?new BK(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 Ls(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 cd(this.getProvider());r.push({contractType:"create2Factory",addresses:[d]});let h=(await N9(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);Cde(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 Xc(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 Wl("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!!UE("factoryAddress")}}});var aMa,rMa,fMa,O9=oe(()=>{"use strict";u();p();ao0();ln();or();id();Da();W0();ir();aMa=Ee(Va()),rMa=Ee(io()),fMa=Ee(Yc());globalThis.global=globalThis});function ro0(t,e){return new $E.Contract(e,sin,t)}function PK(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 $E,sin,U9,$n=oe(()=>{"use strict";u();p();Ct();$E=Ee(Je());W0();O9();sin=[{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"}];U9=class extends R6{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 mf(e)?r=await n.provider.getBalance(a):r=await ro0(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 ta(r.provider,n,a);if(mf(a)){let s=Bl(r.provider);return{receipt:await(await r.sendTransaction({from:f,to:e,value:i,...s})).wait()}}else return{receipt:await(await ro0(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=$E.utils.hashMessage(e),i=$E.utils.arrayify(f);if($E.utils.recoverAddress(i,n)===a)return!0}catch{}return!1}}});function oin(t){for(let e=0,n=fo0.length;e"u"?{x_sdk_name:LK.name,x_sdk_platform:so0(),x_sdk_version:LK.version,x_sdk_os:io0(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=LK.name,globalThis.X_SDK_PLATFORM=so0(),globalThis.X_SDK_VERSION=LK.version,globalThis.X_SDK_OS=io0(),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 so0(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":"browser"}var LK,fo0,rB=oe(()=>{"use strict";u();p();LK={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.13.2","@walletconnect/ethereum-provider":"2.12.2","@walletconnect/jsonrpc-utils":"^1.0.8","@walletconnect/modal":"^2.6.2","@walletconnect/types":"^2.13.2","@walletconnect/utils":"^2.13.2","@walletconnect/web3wallet":"^1.12.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"}},fo0=[["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=oe(()=>{"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 t6,z9=oe(()=>{"use strict";u();p();Hc();W0();t6=class extends R6{constructor(e){let{chains:n=r1,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 FK,NK,Ab,Cb,Bn,Er,ic,_t,mo=oe(()=>{"use strict";u();p();Ct();FK=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}},NK=class extends FK{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})}},Ab=class extends Error{constructor(){super(...arguments),Pe(this,"name","AddChainError"),Pe(this,"message","Error adding chain")}},Cb=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 FK{constructor(e){super("Resource unavailable",{cause:e,code:-32002}),Pe(this,"name","ResourceUnavailable")}},ic=class extends NK{constructor(e){super("Error switching chain",{cause:e,code:4902}),Pe(this,"name","SwitchChainError")}},_t=class extends NK{constructor(e){super("User rejected request",{cause:e,code:4001}),Pe(this,"name","UserRejectedRequestError")}}});function wi(t){return typeof t=="string"?Number.parseInt(t,t.trim().substring(0,2)==="0x"?16:10):typeof t=="bigint"?Number(t):t}var lh=oe(()=>{"use strict";u();p()});var sc,It,Mr=oe(()=>{"use strict";u();p();W0();sc=class extends R6{},It=class extends sc{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 Ib(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 F2(t){return Tl(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 uh=oe(()=>{"use strict";u();p();Hc()});var Kde=D(OK=>{"use strict";u();p();OK.__esModule=!0;OK.BaseAccount__factory=void 0;var do0=Je(),Gde=[{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"nonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"}],hin=function(){function t(){}return t.createInterface=function(){return new do0.utils.Interface(Gde)},t.connect=function(e,n){return new do0.Contract(e,Gde,n)},t.abi=Gde,t}();OK.BaseAccount__factory=hin});var Vde=D(UK=>{"use strict";u();p();UK.__esModule=!0;UK.BasePaymaster__factory=void 0;var lo0=Je(),Qde=[{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:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"deposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"enum IPaymaster.PostOpMode",name:"mode",type:"uint8"},{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"actualGasCost",type:"uint256"}],name:"postOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"maxCost",type:"uint256"}],name:"validatePaymasterUserOp",outputs:[{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],min=function(){function t(){}return t.createInterface=function(){return new lo0.utils.Interface(Qde)},t.connect=function(e,n){return new lo0.Contract(e,Qde,n)},t.abi=Qde,t}();UK.BasePaymaster__factory=min});var $de=D(JE=>{"use strict";u();p();var bin=JE&&JE.__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)}}();JE.__esModule=!0;JE.BrokenBLSAccount__factory=void 0;var Yde=Je(),HK=[{inputs:[{internalType:"contract IEntryPoint",name:"anEntryPoint",type:"address"},{internalType:"address",name:"anAggregator",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"previousAdmin",type:"address"},{indexed:!1,internalType:"address",name:"newAdmin",type:"address"}],name:"AdminChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"beacon",type:"address"}],name:"BeaconUpgraded",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256[4]",name:"oldPublicKey",type:"uint256[4]"},{indexed:!1,internalType:"uint256[4]",name:"newPublicKey",type:"uint256[4]"}],name:"PublicKeyChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract IEntryPoint",name:"entryPoint",type:"address"},{indexed:!0,internalType:"address",name:"owner",type:"address"}],name:"SimpleAccountInitialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"implementation",type:"address"}],name:"Upgraded",type:"event"},{inputs:[],name:"addDeposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"aggregator",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"dest",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"bytes",name:"func",type:"bytes"}],name:"execute",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"dest",type:"address[]"},{internalType:"bytes[]",name:"func",type:"bytes[]"}],name:"executeBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getBlsPublicKey",outputs:[{internalType:"uint256[4]",name:"",type:"uint256[4]"}],stateMutability:"pure",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"anOwner",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256[4]",name:"aPublicKey",type:"uint256[4]"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"nonce",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:"proxiableUUID",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newImplementation",type:"address"}],name:"upgradeTo",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newImplementation",type:"address"},{internalType:"bytes",name:"data",type:"bytes"}],name:"upgradeToAndCall",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawDepositTo",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],uo0="0x60e0604052306080523480156200001557600080fd5b50604051620020c6380380620020c683398101604081905262000038916200013f565b6001600160a01b03821660a052816200005062000064565b506001600160a01b031660c052506200017e565b600054610100900460ff1615620000d15760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116101562000124576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6001600160a01b03811681146200013c57600080fd5b50565b600080604083850312156200015357600080fd5b8251620001608162000126565b6020840151909250620001738162000126565b809150509250929050565b60805160a05160c051611ecb620001fb60003960008181610137015261068a01526000818161029001528181610703015281816107aa01528181610b8c01528181610f2e0152818161128a015261152c015260008181610486015281816105360152818161086e0152818161091e0152610a670152611ecb6000f3fe6080604052600436106100f75760003560e01c80638da5cb5b1161008a578063c399ec8811610059578063c399ec88146102d4578063c4d66de8146102e9578063e02afbae14610309578063ee472f361461032b57600080fd5b80638da5cb5b14610221578063affed0e01461025e578063b0d691fe14610281578063b61d27f6146102b457600080fd5b80634a58db19116100c65780634a58db19146101d15780634d44560d146101d95780634f1ef286146101f957806352d1902d1461020c57600080fd5b806318dfb3c714610103578063245a7bfc146101255780633659cfe6146101835780633a871cdd146101a357600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b5061012361011e3660046118ef565b61034b565b005b34801561013157600080fd5b506101597f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018f57600080fd5b5061012361019e36600461197d565b61046f565b3480156101af57600080fd5b506101c36101be36600461199a565b610674565b60405190815260200161017a565b610123610701565b3480156101e557600080fd5b506101236101f43660046119ee565b6107a0565b610123610207366004611a98565b610857565b34801561021857600080fd5b506101c3610a4d565b34801561022d57600080fd5b50600154610159906c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561026a57600080fd5b506001546bffffffffffffffffffffffff166101c3565b34801561028d57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610159565b3480156102c057600080fd5b506101236102cf366004611b5e565b610b39565b3480156102e057600080fd5b506101c3610b88565b3480156102f557600080fd5b5061012361030436600461197d565b610c40565b34801561031557600080fd5b5061031e610dd3565b60405161017a9190611be7565b34801561033757600080fd5b50610123610346366004611c18565b610de8565b610353610f16565b8281146103c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f77726f6e67206172726179206c656e677468730000000000000000000000000060448201526064015b60405180910390fd5b60005b83811015610468576104568585838181106103e1576103e1611c96565b90506020020160208101906103f6919061197d565b600085858581811061040a5761040a611c96565b905060200281019061041c9190611cc5565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610fe992505050565b8061046081611d59565b9150506103c4565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163003610534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c000000000000000000000000000000000000000060648201526084016103b8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166105a97f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff161461064c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f7879000000000000000000000000000000000000000060648201526084016103b8565b61065581611066565b604080516000808252602082019092526106719183919061106e565b50565b600061067e611272565b604080516060810182527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16808252600060208301819052919092015290506106df6040850185611cc5565b90506000036106f1576106f184611311565b6106fa826113da565b9392505050565b7f00000000000000000000000000000000000000000000000000000000000000006040517fb760faf900000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff919091169063b760faf99034906024016000604051808303818588803b15801561078c57600080fd5b505af1158015610468573d6000803e3d6000fd5b6107a8611445565b7f00000000000000000000000000000000000000000000000000000000000000006040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260248201849052919091169063205c287890604401600060405180830381600087803b15801561083b57600080fd5b505af115801561084f573d6000803e3d6000fd5b505050505050565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016300361091c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c000000000000000000000000000000000000000060648201526084016103b8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166109917f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610a34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f7879000000000000000000000000000000000000000060648201526084016103b8565b610a3d82611066565b610a498282600161106e565b5050565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610b14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016103b8565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b610b41610f16565b610b82848484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610fe992505050565b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610c17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3b9190611d91565b905090565b600054610100900460ff1615808015610c605750600054600160ff909116105b80610c7a5750303b158015610c7a575060005460ff166001145b610d06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016103b8565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610d6457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610d6d826114e0565b8015610a4957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b610ddb611885565b610de3611885565b919050565b600054610100900460ff1615808015610e085750600054600160ff909116105b80610e225750303b158015610e22575060005460ff166001145b610eae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016103b8565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610f0c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610d6d60006114e0565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161480610f8157506001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633145b610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f6163636f756e743a206e6f74204f776e6572206f7220456e747279506f696e7460448201526064016103b8565b565b6000808473ffffffffffffffffffffffffffffffffffffffff1684846040516110129190611dd6565b60006040518083038185875af1925050503d806000811461104f576040519150601f19603f3d011682016040523d82523d6000602084013e611054565b606091505b50915091508161046857805160208201fd5b610671611445565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156110a6576110a183611578565b505050565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561112b575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261112891810190611d91565b60015b6111b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f74205555505300000000000000000000000000000000000060648201526084016103b8565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8114611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c6555554944000000000000000000000000000000000000000000000060648201526084016103b8565b506110a1838383611682565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6163636f756e743a206e6f742066726f6d20456e747279506f696e740000000060448201526064016103b8565b600180546020830135916bffffffffffffffffffffffff90911690600061133783611df2565b91906101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506bffffffffffffffffffffffff1614610671576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f6163636f756e743a20696e76616c6964206e6f6e63650000000000000000000060448201526064016103b8565b80156106715760405160009033907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90849084818181858888f193505050503d8060008114610468576040519150601f19603f3d011682016040523d82523d6000602084013e610468565b6001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633148061147a57503330145b610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c79206f776e65720000000000000000000000000000000000000000000060448201526064016103b8565b600180546bffffffffffffffffffffffff166c0100000000000000000000000073ffffffffffffffffffffffffffffffffffffffff8481168202929092179283905560405192048116917f0000000000000000000000000000000000000000000000000000000000000000909116907f47e55c76e7a6f1fd8996a1da8008c1ea29699cca35e7bcd057f2dec313b6e5de90600090a350565b73ffffffffffffffffffffffffffffffffffffffff81163b61161c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103b8565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61168b836116a7565b6000825111806116985750805b156110a157610b8283836116f4565b6116b081611578565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606106fa8383604051806060016040528060278152602001611e6f6027913960606000808573ffffffffffffffffffffffffffffffffffffffff168560405161173e9190611dd6565b600060405180830381855af49150503d8060008114611779576040519150601f19603f3d011682016040523d82523d6000602084013e61177e565b606091505b509150915061178f86838387611799565b9695505050505050565b6060831561182f5782516000036118285773ffffffffffffffffffffffffffffffffffffffff85163b611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103b8565b5081611839565b6118398383611841565b949350505050565b8151156118515781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b89190611e1d565b60405180608001604052806004906020820280368337509192915050565b60008083601f8401126118b557600080fd5b50813567ffffffffffffffff8111156118cd57600080fd5b6020830191508360208260051b85010111156118e857600080fd5b9250929050565b6000806000806040858703121561190557600080fd5b843567ffffffffffffffff8082111561191d57600080fd5b611929888389016118a3565b9096509450602087013591508082111561194257600080fd5b5061194f878288016118a3565b95989497509550505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461067157600080fd5b60006020828403121561198f57600080fd5b81356106fa8161195b565b6000806000606084860312156119af57600080fd5b833567ffffffffffffffff8111156119c657600080fd5b840161016081870312156119d957600080fd5b95602085013595506040909401359392505050565b60008060408385031215611a0157600080fd5b8235611a0c8161195b565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611a9057611a90611a1a565b604052919050565b60008060408385031215611aab57600080fd5b8235611ab68161195b565b915060208381013567ffffffffffffffff80821115611ad457600080fd5b818601915086601f830112611ae857600080fd5b813581811115611afa57611afa611a1a565b611b2a847fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611a49565b91508082528784828501011115611b4057600080fd5b80848401858401376000848284010152508093505050509250929050565b60008060008060608587031215611b7457600080fd5b8435611b7f8161195b565b935060208501359250604085013567ffffffffffffffff80821115611ba357600080fd5b818701915087601f830112611bb757600080fd5b813581811115611bc657600080fd5b886020828501011115611bd857600080fd5b95989497505060200194505050565b60808101818360005b6004811015611c0f578151835260209283019290910190600101611bf0565b50505092915050565b600060808284031215611c2a57600080fd5b82601f830112611c3957600080fd5b6040516080810181811067ffffffffffffffff82111715611c5c57611c5c611a1a565b604052806080840185811115611c7157600080fd5b845b81811015611c8b578035835260209283019201611c73565b509195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611cfa57600080fd5b83018035915067ffffffffffffffff821115611d1557600080fd5b6020019150368190038213156118e857600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611d8a57611d8a611d2a565b5060010190565b600060208284031215611da357600080fd5b5051919050565b60005b83811015611dc5578181015183820152602001611dad565b83811115610b825750506000910152565b60008251611de8818460208701611daa565b9190910192915050565b60006bffffffffffffffffffffffff808316818103611e1357611e13611d2a565b6001019392505050565b6020815260008251806020840152611e3c816040850160208701611daa565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212205cf49810dc1024bbe2d76f8f79dcc489e3b6a79d7f0e35498db5239b1077074564736f6c634300080f0033",yin=function(t){return t.length>1},gin=function(t){bin(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var vin=XE&&XE.__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)}}();XE.__esModule=!0;XE.BrokenBLSAccountFactory__factory=void 0;var Jde=Je(),zK=[{inputs:[{internalType:"contract IEntryPoint",name:"entryPoint",type:"address"},{internalType:"address",name:"aggregator",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"accountImplementation",outputs:[{internalType:"contract BrokenBLSAccount",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"salt",type:"uint256"},{internalType:"uint256[4]",name:"aPublicKey",type:"uint256[4]"}],name:"createAccount",outputs:[{internalType:"contract BrokenBLSAccount",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"salt",type:"uint256"},{internalType:"uint256[4]",name:"aPublicKey",type:"uint256[4]"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],po0="0x60a060405234801561001057600080fd5b50604051612ede380380612ede83398101604081905261002f916100aa565b818160405161003d90610085565b6001600160a01b03928316815291166020820152604001604051809103906000f080158015610070573d6000803e3d6000fd5b506001600160a01b0316608052506100e49050565b6120c680610e1883390190565b6001600160a01b03811681146100a757600080fd5b50565b600080604083850312156100bd57600080fd5b82516100c881610092565b60208401519092506100d981610092565b809150509250929050565b608051610d0d61010b60003960008181604b0152818160f7015261020d0152610d0d6000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806311464fbe1461004657806319c2a1b214610096578063de3398dd146100a9575b600080fd5b61006d7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61006d6100a436600461038e565b6100bc565b61006d6100b736600461038e565b6101de565b6000806100c984846101de565b905073ffffffffffffffffffffffffffffffffffffffff81163b80156100f1575090506101d8565b8460001b7f0000000000000000000000000000000000000000000000000000000000000000856040516024016101279190610418565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fee472f3600000000000000000000000000000000000000000000000000000000179052516101a790610352565b6101b2929190610479565b8190604051809103906000f59050801580156101d2573d6000803e3d6000fd5b50925050505b92915050565b60006103198360001b604051806020016101f790610352565b6020820181038252601f19601f820116604052507f00000000000000000000000000000000000000000000000000000000000000008560405160240161023d9190610418565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fee472f360000000000000000000000000000000000000000000000000000000017905290516102c293929101610479565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290526102fe92916020016104e7565b60405160208183030381529060405280519060200120610320565b9392505050565b60006103198383306000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b6107c18061051783390190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060a083850312156103a157600080fd5b82359150602084603f8501126103b657600080fd5b6040516080810181811067ffffffffffffffff821117156103d9576103d961035f565b6040528060a08601878111156103ee57600080fd5b8387015b8181101561040957803583529184019184016103f2565b50505080925050509250929050565b60808101818360005b6004811015610440578151835260209283019290910190600101610421565b50505092915050565b60005b8381101561046457818101518382015260200161044c565b83811115610473576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316815260406020820152600082518060408401526104b4816060850160208701610449565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016060019392505050565b600083516104f9818460208801610449565b83519083019061050d818360208801610449565b0194935050505056fe60806040526040516107c13803806107c183398101604081905261002291610321565b61002e82826000610035565b505061043e565b61003e8361006b565b60008251118061004b5750805b156100665761006483836100ab60201b6100291760201c565b505b505050565b610074816100d7565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100d0838360405180606001604052806027815260200161079a602791396101a9565b9392505050565b6100ea8161022260201b6100551760201c565b6101515760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806101887f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61023160201b6100711760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080856001600160a01b0316856040516101c691906103ef565b600060405180830381855af49150503d8060008114610201576040519150601f19603f3d011682016040523d82523d6000602084013e610206565b606091505b50909250905061021886838387610234565b9695505050505050565b6001600160a01b03163b151590565b90565b606083156102a357825160000361029c576001600160a01b0385163b61029c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610148565b50816102ad565b6102ad83836102b5565b949350505050565b8151156102c55781518083602001fd5b8060405162461bcd60e51b8152600401610148919061040b565b634e487b7160e01b600052604160045260246000fd5b60005b838110156103105781810151838201526020016102f8565b838111156100645750506000910152565b6000806040838503121561033457600080fd5b82516001600160a01b038116811461034b57600080fd5b60208401519092506001600160401b038082111561036857600080fd5b818501915085601f83011261037c57600080fd5b81518181111561038e5761038e6102df565b604051601f8201601f19908116603f011681019083821181831017156103b6576103b66102df565b816040528281528860208487010111156103cf57600080fd5b6103e08360208301602088016102f5565b80955050505050509250929050565b600082516104018184602087016102f5565b9190910192915050565b602081526000825180602084015261042a8160408501602087016102f5565b601f01601f19169190910160400192915050565b61034d8061044d6000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610074565b6100b9565b565b606061004e83836040518060600160405280602781526020016102f1602791396100dd565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b90565b60006100b47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b3660008037600080366000845af43d6000803e8080156100d8573d6000f35b3d6000fd5b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516101079190610283565b600060405180830381855af49150503d8060008114610142576040519150601f19603f3d011682016040523d82523d6000602084013e610147565b606091505b509150915061015886838387610162565b9695505050505050565b606083156101fd5782516000036101f65773ffffffffffffffffffffffffffffffffffffffff85163b6101f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b5081610207565b610207838361020f565b949350505050565b81511561021f5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ed919061029f565b60005b8381101561026e578181015183820152602001610256565b8381111561027d576000848401525b50505050565b60008251610295818460208701610253565b9190910192915050565b60208152600082518060208401526102be816040850160208701610253565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212201cd78ab6a31213989661cff2d7d05fc9b9c38b1a848e8249e2e398659a9eb7e364736f6c634300080f0033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220a47065a7c8ac5bac8ed56ef1cf7419a59dfdae21ba812180654b545d4faab85f64736f6c634300080f003360e0604052306080523480156200001557600080fd5b50604051620020c6380380620020c683398101604081905262000038916200013f565b6001600160a01b03821660a052816200005062000064565b506001600160a01b031660c052506200017e565b600054610100900460ff1615620000d15760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116101562000124576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6001600160a01b03811681146200013c57600080fd5b50565b600080604083850312156200015357600080fd5b8251620001608162000126565b6020840151909250620001738162000126565b809150509250929050565b60805160a05160c051611ecb620001fb60003960008181610137015261068a01526000818161029001528181610703015281816107aa01528181610b8c01528181610f2e0152818161128a015261152c015260008181610486015281816105360152818161086e0152818161091e0152610a670152611ecb6000f3fe6080604052600436106100f75760003560e01c80638da5cb5b1161008a578063c399ec8811610059578063c399ec88146102d4578063c4d66de8146102e9578063e02afbae14610309578063ee472f361461032b57600080fd5b80638da5cb5b14610221578063affed0e01461025e578063b0d691fe14610281578063b61d27f6146102b457600080fd5b80634a58db19116100c65780634a58db19146101d15780634d44560d146101d95780634f1ef286146101f957806352d1902d1461020c57600080fd5b806318dfb3c714610103578063245a7bfc146101255780633659cfe6146101835780633a871cdd146101a357600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b5061012361011e3660046118ef565b61034b565b005b34801561013157600080fd5b506101597f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018f57600080fd5b5061012361019e36600461197d565b61046f565b3480156101af57600080fd5b506101c36101be36600461199a565b610674565b60405190815260200161017a565b610123610701565b3480156101e557600080fd5b506101236101f43660046119ee565b6107a0565b610123610207366004611a98565b610857565b34801561021857600080fd5b506101c3610a4d565b34801561022d57600080fd5b50600154610159906c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561026a57600080fd5b506001546bffffffffffffffffffffffff166101c3565b34801561028d57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610159565b3480156102c057600080fd5b506101236102cf366004611b5e565b610b39565b3480156102e057600080fd5b506101c3610b88565b3480156102f557600080fd5b5061012361030436600461197d565b610c40565b34801561031557600080fd5b5061031e610dd3565b60405161017a9190611be7565b34801561033757600080fd5b50610123610346366004611c18565b610de8565b610353610f16565b8281146103c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f77726f6e67206172726179206c656e677468730000000000000000000000000060448201526064015b60405180910390fd5b60005b83811015610468576104568585838181106103e1576103e1611c96565b90506020020160208101906103f6919061197d565b600085858581811061040a5761040a611c96565b905060200281019061041c9190611cc5565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610fe992505050565b8061046081611d59565b9150506103c4565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163003610534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c000000000000000000000000000000000000000060648201526084016103b8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166105a97f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff161461064c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f7879000000000000000000000000000000000000000060648201526084016103b8565b61065581611066565b604080516000808252602082019092526106719183919061106e565b50565b600061067e611272565b604080516060810182527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16808252600060208301819052919092015290506106df6040850185611cc5565b90506000036106f1576106f184611311565b6106fa826113da565b9392505050565b7f00000000000000000000000000000000000000000000000000000000000000006040517fb760faf900000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff919091169063b760faf99034906024016000604051808303818588803b15801561078c57600080fd5b505af1158015610468573d6000803e3d6000fd5b6107a8611445565b7f00000000000000000000000000000000000000000000000000000000000000006040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260248201849052919091169063205c287890604401600060405180830381600087803b15801561083b57600080fd5b505af115801561084f573d6000803e3d6000fd5b505050505050565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016300361091c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c000000000000000000000000000000000000000060648201526084016103b8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166109917f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610a34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f7879000000000000000000000000000000000000000060648201526084016103b8565b610a3d82611066565b610a498282600161106e565b5050565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610b14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016103b8565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b610b41610f16565b610b82848484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610fe992505050565b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610c17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3b9190611d91565b905090565b600054610100900460ff1615808015610c605750600054600160ff909116105b80610c7a5750303b158015610c7a575060005460ff166001145b610d06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016103b8565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610d6457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610d6d826114e0565b8015610a4957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b610ddb611885565b610de3611885565b919050565b600054610100900460ff1615808015610e085750600054600160ff909116105b80610e225750303b158015610e22575060005460ff166001145b610eae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016103b8565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610f0c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610d6d60006114e0565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161480610f8157506001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633145b610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f6163636f756e743a206e6f74204f776e6572206f7220456e747279506f696e7460448201526064016103b8565b565b6000808473ffffffffffffffffffffffffffffffffffffffff1684846040516110129190611dd6565b60006040518083038185875af1925050503d806000811461104f576040519150601f19603f3d011682016040523d82523d6000602084013e611054565b606091505b50915091508161046857805160208201fd5b610671611445565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156110a6576110a183611578565b505050565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561112b575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261112891810190611d91565b60015b6111b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f74205555505300000000000000000000000000000000000060648201526084016103b8565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8114611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c6555554944000000000000000000000000000000000000000000000060648201526084016103b8565b506110a1838383611682565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6163636f756e743a206e6f742066726f6d20456e747279506f696e740000000060448201526064016103b8565b600180546020830135916bffffffffffffffffffffffff90911690600061133783611df2565b91906101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506bffffffffffffffffffffffff1614610671576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f6163636f756e743a20696e76616c6964206e6f6e63650000000000000000000060448201526064016103b8565b80156106715760405160009033907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90849084818181858888f193505050503d8060008114610468576040519150601f19603f3d011682016040523d82523d6000602084013e610468565b6001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633148061147a57503330145b610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c79206f776e65720000000000000000000000000000000000000000000060448201526064016103b8565b600180546bffffffffffffffffffffffff166c0100000000000000000000000073ffffffffffffffffffffffffffffffffffffffff8481168202929092179283905560405192048116917f0000000000000000000000000000000000000000000000000000000000000000909116907f47e55c76e7a6f1fd8996a1da8008c1ea29699cca35e7bcd057f2dec313b6e5de90600090a350565b73ffffffffffffffffffffffffffffffffffffffff81163b61161c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103b8565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61168b836116a7565b6000825111806116985750805b156110a157610b8283836116f4565b6116b081611578565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606106fa8383604051806060016040528060278152602001611e6f6027913960606000808573ffffffffffffffffffffffffffffffffffffffff168560405161173e9190611dd6565b600060405180830381855af49150503d8060008114611779576040519150601f19603f3d011682016040523d82523d6000602084013e61177e565b606091505b509150915061178f86838387611799565b9695505050505050565b6060831561182f5782516000036118285773ffffffffffffffffffffffffffffffffffffffff85163b611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103b8565b5081611839565b6118398383611841565b949350505050565b8151156118515781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b89190611e1d565b60405180608001604052806004906020820280368337509192915050565b60008083601f8401126118b557600080fd5b50813567ffffffffffffffff8111156118cd57600080fd5b6020830191508360208260051b85010111156118e857600080fd5b9250929050565b6000806000806040858703121561190557600080fd5b843567ffffffffffffffff8082111561191d57600080fd5b611929888389016118a3565b9096509450602087013591508082111561194257600080fd5b5061194f878288016118a3565b95989497509550505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461067157600080fd5b60006020828403121561198f57600080fd5b81356106fa8161195b565b6000806000606084860312156119af57600080fd5b833567ffffffffffffffff8111156119c657600080fd5b840161016081870312156119d957600080fd5b95602085013595506040909401359392505050565b60008060408385031215611a0157600080fd5b8235611a0c8161195b565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611a9057611a90611a1a565b604052919050565b60008060408385031215611aab57600080fd5b8235611ab68161195b565b915060208381013567ffffffffffffffff80821115611ad457600080fd5b818601915086601f830112611ae857600080fd5b813581811115611afa57611afa611a1a565b611b2a847fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611a49565b91508082528784828501011115611b4057600080fd5b80848401858401376000848284010152508093505050509250929050565b60008060008060608587031215611b7457600080fd5b8435611b7f8161195b565b935060208501359250604085013567ffffffffffffffff80821115611ba357600080fd5b818701915087601f830112611bb757600080fd5b813581811115611bc657600080fd5b886020828501011115611bd857600080fd5b95989497505060200194505050565b60808101818360005b6004811015611c0f578151835260209283019290910190600101611bf0565b50505092915050565b600060808284031215611c2a57600080fd5b82601f830112611c3957600080fd5b6040516080810181811067ffffffffffffffff82111715611c5c57611c5c611a1a565b604052806080840185811115611c7157600080fd5b845b81811015611c8b578035835260209283019201611c73565b509195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611cfa57600080fd5b83018035915067ffffffffffffffff821115611d1557600080fd5b6020019150368190038213156118e857600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611d8a57611d8a611d2a565b5060010190565b600060208284031215611da357600080fd5b5051919050565b60005b83811015611dc5578181015183820152602001611dad565b83811115610b825750506000910152565b60008251611de8818460208701611daa565b9190910192915050565b60006bffffffffffffffffffffffff808316818103611e1357611e13611d2a565b6001019392505050565b6020815260008251806020840152611e3c816040850160208701611daa565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212205cf49810dc1024bbe2d76f8f79dcc489e3b6a79d7f0e35498db5239b1077074564736f6c634300080f0033",win=function(t){return t.length>1},Tin=function(t){vin(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var xin=ZE&&ZE.__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)}}();ZE.__esModule=!0;ZE.DepositPaymaster__factory=void 0;var Zde=Je(),WK=[{inputs:[{internalType:"contract IEntryPoint",name:"_entryPoint",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{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:"COST_OF_POST",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract IERC20",name:"token",type:"address"},{internalType:"address",name:"account",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"addDepositFor",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"token",type:"address"},{internalType:"contract IOracle",name:"tokenPriceOracle",type:"address"}],name:"addToken",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"balances",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"deposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"token",type:"address"},{internalType:"address",name:"account",type:"address"}],name:"depositInfo",outputs:[{internalType:"uint256",name:"amount",type:"uint256"},{internalType:"uint256",name:"_unlockBlock",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"lockTokenDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"",type:"address"}],name:"oracles",outputs:[{internalType:"contract IOracle",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"enum IPaymaster.PostOpMode",name:"mode",type:"uint8"},{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"actualGasCost",type:"uint256"}],name:"postOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"unlockBlock",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockTokenDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"maxCost",type:"uint256"}],name:"validatePaymasterUserOp",outputs:[{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"token",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawTokensTo",outputs:[],stateMutability:"nonpayable",type:"function"}],ho0="0x60a06040523480156200001157600080fd5b5060405162001fa938038062001fa98339810160408190526200003491620000bb565b8062000040336200006b565b6001600160a01b031660805262000064336000908152600360205260409020439055565b50620000ed565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620000ce57600080fd5b81516001600160a01b0381168114620000e657600080fd5b9392505050565b608051611e6f6200013a600039600081816103b30152818161052b015281816105f50152818161089001528181610957015281816109e701528181610bb90152610ed70152611e6f6000f3fe6080604052600436106101755760003560e01c8063addd5099116100cb578063c399ec881161007f578063d0e30db011610059578063d0e30db014610499578063f2fde38b146104a1578063f465c77e146104c157600080fd5b8063c399ec8814610442578063cc9c837c14610457578063cd8f80c21461047757600080fd5b8063bb9fe6bf116100b0578063bb9fe6bf146103d5578063c23a5cea146103ea578063c23f001f1461040a57600080fd5b8063addd50991461035e578063b0d691fe146103a157600080fd5b80635476bd721161012d5780638da5cb5b116101075780638da5cb5b146102ce5780639ed0fb681461031a578063a9a234091461033e57600080fd5b80635476bd7214610283578063715018a6146102a3578063796d4371146102b857600080fd5b8063382edd9e1161015e578063382edd9e146101af578063493b0170146101cf5780634a6f84cf1461024857600080fd5b80630396cb601461017a578063205c28781461018f575b600080fd5b61018d610188366004611915565b6104ef565b005b34801561019b57600080fd5b5061018d6101aa36600461195d565b6105a1565b3480156101bb57600080fd5b5061018d6101ca366004611989565b610639565b3480156101db57600080fd5b5061022e6101ea3660046119ca565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291825282812054600390925291909120549091565b604080519283526020830191909152015b60405180910390f35b34801561025457600080fd5b50610275610263366004611a03565b60036020526000908152604090205481565b60405190815260200161023f565b34801561028f57600080fd5b5061018d61029e3660046119ca565b61076e565b3480156102af57600080fd5b5061018d610858565b3480156102c457600080fd5b506102756188b881565b3480156102da57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161023f565b34801561032657600080fd5b5061018d336000908152600360205260409020439055565b34801561034a57600080fd5b5061018d610359366004611a20565b61086c565b34801561036a57600080fd5b506102f5610379366004611a03565b60016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b3480156103ad57600080fd5b506102f57f000000000000000000000000000000000000000000000000000000000000000081565b3480156103e157600080fd5b5061018d610886565b3480156103f657600080fd5b5061018d610405366004611a03565b61090a565b34801561041657600080fd5b506102756104253660046119ca565b600260209081526000928352604080842090915290825290205481565b34801561044e57600080fd5b506102756109b6565b34801561046357600080fd5b5061018d610472366004611989565b610a6c565b34801561048357600080fd5b5061018d33600090815260036020526040812055565b61018d610b8b565b3480156104ad57600080fd5b5061018d6104bc366004611a03565b610c13565b3480156104cd57600080fd5b506104e16104dc366004611aaf565b610cca565b60405161023f929190611b79565b6104f7610ced565b6040517f0396cb6000000000000000000000000000000000000000000000000000000000815263ffffffff821660048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690630396cb609034906024016000604051808303818588803b15801561058557600080fd5b505af1158015610599573d6000803e3d6000fd5b505050505050565b6105a9610ced565b6040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063205c287890604401600060405180830381600087803b15801561058557600080fd5b61065b73ffffffffffffffffffffffffffffffffffffffff8416333084610d6e565b73ffffffffffffffffffffffffffffffffffffffff838116600090815260016020526040902054166106ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f756e737570706f7274656420746f6b656e00000000000000000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600090815260026020908152604080832093861683529290529081208054839290610732908490611bca565b909155505073ffffffffffffffffffffffffffffffffffffffff821633036107695761076933600090815260036020526040812055565b505050565b610776610ced565b73ffffffffffffffffffffffffffffffffffffffff8281166000908152600160205260409020541615610805576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f546f6b656e20616c72656164792073657400000000000000000000000000000060448201526064016106e5565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001691909216179055565b610860610ced565b61086a6000610e4a565b565b610874610ebf565b61088084848484610f5e565b50505050565b61088e610ced565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663bb9fe6bf6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156108f657600080fd5b505af1158015610880573d6000803e3d6000fd5b610912610ced565b6040517fc23a5cea00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c23a5cea90602401600060405180830381600087803b15801561099b57600080fd5b505af11580156109af573d6000803e3d6000fd5b5050505050565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611be2565b905090565b3360009081526003602052604090205415801590610a9857503360009081526003602052604090205443115b610b24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4465706f7369745061796d61737465723a206d75737420756e6c6f636b546f6b60448201527f656e4465706f736974000000000000000000000000000000000000000000000060648201526084016106e5565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260026020908152604080832033845290915281208054839290610b64908490611bfb565b90915550610769905073ffffffffffffffffffffffffffffffffffffffff841683836110d6565b6040517fb760faf90000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063b760faf99034906024016000604051808303818588803b15801561099b57600080fd5b610c1b610ced565b73ffffffffffffffffffffffffffffffffffffffff8116610cbe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106e5565b610cc781610e4a565b50565b60606000610cd6610ebf565b610ce185858561112c565b91509150935093915050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461086a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106e5565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526108809085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611475565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461086a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e74000000000000000000000060448201526064016106e5565b600080808080610f7087890189611c12565b9450945094509450945060008183856188b8610f8c9190611c63565b610f96908a611bca565b610fa09190611c63565b610faa9190611ca0565b905060028a6002811115610fc057610fc0611cdb565b14610fec57610fe773ffffffffffffffffffffffffffffffffffffffff8616873084610d6e565b611036565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600260209081526040808320938a1683529290529081208054839290611030908490611bfb565b90915550505b73ffffffffffffffffffffffffffffffffffffffff85166000908152600260205260408120829161107c60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110c59190611bca565b909155505050505050505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526107699084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401610dc8565b606060006188b88560a00135116111c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4465706f7369745061796d61737465723a2067617320746f6f206c6f7720666f60448201527f7220706f73744f7000000000000000000000000000000000000000000000000060648201526084016106e5565b3660006111d6610120880188611d0a565b90925090506028811461126b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4465706f7369745061796d61737465723a207061796d6173746572416e64446160448201527f7461206d757374207370656369667920746f6b656e000000000000000000000060648201526084016106e5565b600061127a8260148186611d76565b61128391611da0565b60601c9050873560006112968389611581565b905060006112a38b6116cf565b73ffffffffffffffffffffffffffffffffffffffff841660009081526003602052604090205490915015611358576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4465706f7369745061796d61737465723a206465706f736974206e6f74206c6f60448201527f636b65640000000000000000000000000000000000000000000000000000000060648201526084016106e5565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526002602090815260408083209387168352929052205482111561141a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4465706f7369745061796d61737465723a206465706f73697420746f6f206c6f60448201527f770000000000000000000000000000000000000000000000000000000000000060648201526084016106e5565b6040805173ffffffffffffffffffffffffffffffffffffffff948516602082015294909316848401526060840152608083015260a0808301979097528051808303909701875260c09091019052509295600095509350505050565b60006114d7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166116f69092919063ffffffff16565b80519091501561076957808060200190518101906114f59190611de8565b610769576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016106e5565b73ffffffffffffffffffffffffffffffffffffffff80831660009081526001602052604081205490911680611638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4465706f7369745061796d61737465723a20756e737570706f7274656420746f60448201527f6b656e000000000000000000000000000000000000000000000000000000000060648201526084016106e5565b6040517fd1eca9cf0000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff82169063d1eca9cf90602401602060405180830381865afa1580156116a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c79190611be2565b949350505050565b600060e08201356101008301358082036116ea575092915050565b6116c782488301611705565b60606116c7848460008561171d565b60008183106117145781611716565b825b9392505050565b6060824710156117af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016106e5565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516117d89190611e0a565b60006040518083038185875af1925050503d8060008114611815576040519150601f19603f3d011682016040523d82523d6000602084013e61181a565b606091505b509150915061182b87838387611836565b979650505050505050565b606083156118cc5782516000036118c55773ffffffffffffffffffffffffffffffffffffffff85163b6118c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106e5565b50816116c7565b6116c783838151156118e15781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e59190611e26565b60006020828403121561192757600080fd5b813563ffffffff8116811461171657600080fd5b73ffffffffffffffffffffffffffffffffffffffff81168114610cc757600080fd5b6000806040838503121561197057600080fd5b823561197b8161193b565b946020939093013593505050565b60008060006060848603121561199e57600080fd5b83356119a98161193b565b925060208401356119b98161193b565b929592945050506040919091013590565b600080604083850312156119dd57600080fd5b82356119e88161193b565b915060208301356119f88161193b565b809150509250929050565b600060208284031215611a1557600080fd5b81356117168161193b565b60008060008060608587031215611a3657600080fd5b843560038110611a4557600080fd5b9350602085013567ffffffffffffffff80821115611a6257600080fd5b818701915087601f830112611a7657600080fd5b813581811115611a8557600080fd5b886020828501011115611a9757600080fd5b95986020929092019750949560400135945092505050565b600080600060608486031215611ac457600080fd5b833567ffffffffffffffff811115611adb57600080fd5b84016101608187031215611aee57600080fd5b95602085013595506040909401359392505050565b60005b83811015611b1e578181015183820152602001611b06565b838111156108805750506000910152565b60008151808452611b47816020860160208601611b03565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b604081526000611b8c6040830185611b2f565b90508260208301529392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115611bdd57611bdd611b9b565b500190565b600060208284031215611bf457600080fd5b5051919050565b600082821015611c0d57611c0d611b9b565b500390565b600080600080600060a08688031215611c2a57600080fd5b8535611c358161193b565b94506020860135611c458161193b565b94979496505050506040830135926060810135926080909101359150565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611c9b57611c9b611b9b565b500290565b600082611cd6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611d3f57600080fd5b83018035915067ffffffffffffffff821115611d5a57600080fd5b602001915036819003821315611d6f57600080fd5b9250929050565b60008085851115611d8657600080fd5b83861115611d9357600080fd5b5050820193919092039150565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008135818116916014851015611de05780818660140360031b1b83161692505b505092915050565b600060208284031215611dfa57600080fd5b8151801515811461171657600080fd5b60008251611e1c818460208701611b03565b9190910192915050565b6020815260006117166020830184611b2f56fea2646970667358221220f935cbe4ea2ae13e8fff0cb7f87458bc2f28e69d759658a51d6206dc7702573a64736f6c634300080f0033",Ein=function(t){return t.length>1},_in=function(t){xin(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var Ain=e_&&e_.__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)}}();e_.__esModule=!0;e_.EntryPoint__factory=void 0;var tle=Je(),qK=[{inputs:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"paid",type:"uint256"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bool",name:"targetSuccess",type:"bool"},{internalType:"bytes",name:"targetResult",type:"bytes"}],name:"ExecutionResult",type:"error"},{inputs:[{internalType:"uint256",name:"opIndex",type:"uint256"},{internalType:"string",name:"reason",type:"string"}],name:"FailedOp",type:"error"},{inputs:[{internalType:"address",name:"sender",type:"address"}],name:"SenderAddressResult",type:"error"},{inputs:[{internalType:"address",name:"aggregator",type:"address"}],name:"SignatureValidationFailed",type:"error"},{inputs:[{components:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"prefund",type:"uint256"},{internalType:"bool",name:"sigFailed",type:"bool"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bytes",name:"paymasterContext",type:"bytes"}],internalType:"struct IEntryPoint.ReturnInfo",name:"returnInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"senderInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"factoryInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"paymasterInfo",type:"tuple"}],name:"ValidationResult",type:"error"},{inputs:[{components:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"prefund",type:"uint256"},{internalType:"bool",name:"sigFailed",type:"bool"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bytes",name:"paymasterContext",type:"bytes"}],internalType:"struct IEntryPoint.ReturnInfo",name:"returnInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"senderInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"factoryInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"paymasterInfo",type:"tuple"},{components:[{internalType:"address",name:"aggregator",type:"address"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"stakeInfo",type:"tuple"}],internalType:"struct IEntryPoint.AggregatorStakeInfo",name:"aggregatorInfo",type:"tuple"}],name:"ValidationResultWithAggregation",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"address",name:"factory",type:"address"},{indexed:!1,internalType:"address",name:"paymaster",type:"address"}],name:"AccountDeployed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalDeposit",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"aggregator",type:"address"}],name:"SignatureAggregatorChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalStaked",type:"uint256"},{indexed:!1,internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],name:"StakeLocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"withdrawTime",type:"uint256"}],name:"StakeUnlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"StakeWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!0,internalType:"address",name:"paymaster",type:"address"},{indexed:!1,internalType:"uint256",name:"nonce",type:"uint256"},{indexed:!1,internalType:"bool",name:"success",type:"bool"},{indexed:!1,internalType:"uint256",name:"actualGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"actualGasUsed",type:"uint256"}],name:"UserOperationEvent",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"uint256",name:"nonce",type:"uint256"},{indexed:!1,internalType:"bytes",name:"revertReason",type:"bytes"}],name:"UserOperationRevertReason",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{inputs:[],name:"SIG_VALIDATION_FAILED",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"address",name:"sender",type:"address"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"}],name:"_validateSenderAndPaymaster",outputs:[],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",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:"account",type:"address"}],name:"depositTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"getDepositInfo",outputs:[{components:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],internalType:"struct IStakeManager.DepositInfo",name:"info",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"initCode",type:"bytes"}],name:"getSenderAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"}],name:"getUserOpHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{components:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"userOps",type:"tuple[]"},{internalType:"contract IAggregator",name:"aggregator",type:"address"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct IEntryPoint.UserOpsPerAggregator[]",name:"opsPerAggregator",type:"tuple[]"},{internalType:"address payable",name:"beneficiary",type:"address"}],name:"handleAggregatedOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"ops",type:"tuple[]"},{internalType:"address payable",name:"beneficiary",type:"address"}],name:"handleOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"callData",type:"bytes"},{components:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"address",name:"paymaster",type:"address"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"}],internalType:"struct EntryPoint.MemoryUserOp",name:"mUserOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"prefund",type:"uint256"},{internalType:"uint256",name:"contextOffset",type:"uint256"},{internalType:"uint256",name:"preOpGas",type:"uint256"}],internalType:"struct EntryPoint.UserOpInfo",name:"opInfo",type:"tuple"},{internalType:"bytes",name:"context",type:"bytes"}],name:"innerHandleOp",outputs:[{internalType:"uint256",name:"actualGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"op",type:"tuple"},{internalType:"address",name:"target",type:"address"},{internalType:"bytes",name:"targetCallData",type:"bytes"}],name:"simulateHandleOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"}],name:"simulateValidation",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"withdrawAmount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],mo0="0x60a08060405234620000845761022c8181016001600160401b038111838210176200006e57829162005773833903906000f0801562000062576080526040516156e990816200008a8239608051818181611321015281816139700152613c910152f35b6040513d6000823e3d90fd5b634e487b7160e01b600052604160045260246000fd5b600080fdfe60806040526004361015610023575b361561001957600080fd5b610021614f9c565b005b60003560e01c80630396cb60146101775780631d7327561461016e5780631fad948c14610165578063205c28781461015c5780634b1d7cf5146101535780635287ce121461014a57806370a08231146101415780638f41ec5a14610138578063957122ab1461012f5780639b249f6914610126578063a61935311461011d578063b760faf914610114578063bb9fe6bf1461010b578063c23a5cea14610102578063d6383f94146100f9578063ee219423146100f05763fc7e286d0361000e576100eb611b0f565b61000e565b506100eb6118f7565b506100eb61178f565b506100eb6115f6565b506100eb611478565b506100eb611439565b506100eb611418565b506100eb611279565b506100eb6110a6565b506100eb61106b565b506100eb610fe6565b506100eb610e96565b506100eb610b6b565b506100eb6109cc565b506100eb61071c565b506100eb610549565b5060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5760043563ffffffff811680820361031d576103187fa5ae833d0bb1dcd632d98a8b70973e8516812898e19bf27b70071ebc8dc52c01916102356102053373ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b91610211811515615102565b61022e610225600185015463ffffffff1690565b63ffffffff1690565b1115615167565b54926102fa6dffffffffffffffffffffffffffff946102b861025c34888460781c166120aa565b966102688815156151cc565b61027481891115615231565b61029881610280610409565b941684906dffffffffffffffffffffffffffff169052565b6001602084015287166dffffffffffffffffffffffffffff166040830152565b63ffffffff83166060820152600060808201526102f53373ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b615296565b6040805194855263ffffffff90911660208501523393918291820190565b0390a2005b600080fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60a0810190811067ffffffffffffffff82111761036e57604052565b610376610322565b604052565b610100810190811067ffffffffffffffff82111761036e57604052565b67ffffffffffffffff811161036e57604052565b6060810190811067ffffffffffffffff82111761036e57604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761036e57604052565b6040519061041682610352565b565b6040519060c0820182811067ffffffffffffffff82111761036e57604052565b604051906040820182811067ffffffffffffffff82111761036e57604052565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209267ffffffffffffffff8111610494575b01160190565b61049c610322565b61048e565b9291926104ad82610458565b916104bb60405193846103c8565b82948184528183011161031d578281602093846000960137010152565b73ffffffffffffffffffffffffffffffffffffffff81160361031d57565b60243590610416826104d8565b60c43590610416826104d8565b3590610416826104d8565b9181601f8401121561031d5782359167ffffffffffffffff831161031d576020838186019501011161031d57565b503461031d576101c07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5767ffffffffffffffff60043581811161031d573660238201121561031d576105ac9036906024816004013591016104a1565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc3601610180811261031d57610100604051916105e983610352565b1261031d576040516105fa8161037b565b6106026104f6565b815260443560208201526064356040820152608435606082015260a435608082015261062c610503565b60a082015260e43560c08201526101043560e082015281526101243560208201526101443560408201526101643560608201526101843560808201526101a43591821161031d576106a09261068861069093369060040161051b565b929091612786565b6040519081529081906020820190565b0390f35b9060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261031d5760043567ffffffffffffffff9283821161031d578060238301121561031d57816004013593841161031d5760248460051b8301011161031d576024019190602435610719816104d8565b90565b503461031d5761072b366106a4565b610736829392611c6f565b60005b848110610788575060009283915b858310610758576100218585611dac565b90919360019061077e61076c878987611d2e565b6107768886611d0c565b519088612214565b0194019190610747565b6107b36107ac61079a83859795611d0c565b516107a6848987611d2e565b84612fc4565b9190612d9b565b73ffffffffffffffffffffffffffffffffffffffff9291831661095e576108f0576107dd90612d9b565b9116610882576107f257600101929092610739565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152602160448201527f41413332207061796d61737465722065787069726564206f72206e6f7420647560648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a490fd5b0390fd5b61087e826040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601460408201527f41413334207369676e6174757265206572726f7200000000000000000000000060608201520190565b61087e836040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601760408201527f414132322065787069726564206f72206e6f742064756500000000000000000060608201520190565b61087e846040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601460408201527f41413234207369676e6174757265206572726f7200000000000000000000000060608201520190565b503461031d5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d57600435610a08816104d8565b6024359060009133835282602052604083206dffffffffffffffffffffffffffff81541692838311610b0d57848373ffffffffffffffffffffffffffffffffffffffff829593610ab08496610a77610a648798610b0a9c612095565b6dffffffffffffffffffffffffffff1690565b6dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b6040805173ffffffffffffffffffffffffffffffffffffffff831681526020810185905233917fd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb91a2165af1610b04611d7c565b5061560d565b80f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f576974686472617720616d6f756e7420746f6f206c61726765000000000000006044820152fd5b503461031d57610b7a366106a4565b6000805b838210610d3c57610b8f9150611c6f565b6000805b848110610ca257505060008093815b818110610bd957610021868660007f575ff3acadd5ab348fe1855e217e0f3678f8d767d7494c9f9fefbee2e17cca4d8180a2611dac565b610c3d610be782848a6123a0565b610c12610bf9610bf960208401612442565b73ffffffffffffffffffffffffffffffffffffffff1690565b7f575ff3acadd5ab348fe1855e217e0f3678f8d767d7494c9f9fefbee2e17cca4d600080a2806123ee565b906000915b808310610c5a57505050610c5590612366565b610ba2565b90919497610c95610c8f610c9b92610c898c8b610c8282610c7c8e8b8d611d2e565b92611d0c565b5191612214565b906120aa565b99612366565b95612366565b9190610c42565b610cad8186886123a0565b6020610cc5610cbc83806123ee565b92909301612442565b9173ffffffffffffffffffffffffffffffffffffffff60009316905b828410610cfa5750505050610cf590612366565b610b93565b90919294610c9581610d2f85610d28610d16610d34968d611d0c565b51610d228c8b8a611d2e565b85612fc4565b908b612d53565b612366565b929190610ce1565b610d478285876123a0565b90610d5282806123ee565b92610d62610bf960208301612442565b9173ffffffffffffffffffffffffffffffffffffffff8316610d87600182141561244c565b610da8575b505050610da291610d9c916120aa565b91612366565b90610b7e565b909592610dc16040999693999895989788810190611e9d565b92908a3b1561031d5789938b918a5193849283927fe3563a4f00000000000000000000000000000000000000000000000000000000845260049e8f850193610e08946125e6565b03815a93600094fa9081610e7d575b50610e675786517f86a9f75000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a16818a0190815281906020010390fd5b9497509295509093509181610d9c610da2610d8c565b80610e8a610e9092610398565b80611060565b38610e17565b503461031d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d576106a073ffffffffffffffffffffffffffffffffffffffff600435610eea816104d8565b608060409283928351610efc81610352565b600093818580935282602082015282878201528260608201520152168152806020522090610f8b65ffffffffffff6001835194610f3886610352565b80546dffffffffffffffffffffffffffff8082168852607082901c60ff161515602089015260789190911c1685870152015463ffffffff8116606086015260201c16608084019065ffffffffffff169052565b5191829182919091608065ffffffffffff8160a08401956dffffffffffffffffffffffffffff808251168652602082015115156020870152604082015116604086015263ffffffff6060820151166060860152015116910152565b503461031d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5773ffffffffffffffffffffffffffffffffffffffff600435611037816104d8565b16600052600060205260206dffffffffffffffffffffffffffff60406000205416604051908152f35b600091031261031d57565b503461031d5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d57602060405160018152f35b503461031d5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d57600467ffffffffffffffff813581811161031d576110f7903690840161051b565b905060243591611106836104d8565b60443590811161031d5761111d903690850161051b565b92909115908161126f575b50611208576014821015611178575b61087e836040519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160409060208152600060208201520190565b6111886111949261118e926129ab565b906129b9565b60601c90565b3b156111a1573880611137565b61087e906040519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160609060208152601b60208201527f41413330207061796d6173746572206e6f74206465706c6f796564000000000060408201520190565b61087e836040519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160609060208152601960208201527f41413230206163636f756e74206e6f74206465706c6f7965640000000000000060408201520190565b90503b1538611128565b503461031d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5760043567ffffffffffffffff811161031d576112cb602491369060040161051b565b906113016040519283927f570e1a3600000000000000000000000000000000000000000000000000000000845260048401612b4f565b0360208273ffffffffffffffffffffffffffffffffffffffff92816000857f0000000000000000000000000000000000000000000000000000000000000000165af19182156113b3575b600092611383575b50604051917f6ca7b806000000000000000000000000000000000000000000000000000000008352166004820152fd5b6113a591925060203d81116113ac575b61139d81836103c8565b810190612b3a565b9038611353565b503d611393565b6113bb612058565b61134b565b908161016091031261031d5790565b60207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc82011261031d576004359067ffffffffffffffff821161031d57610719916004016113c0565b503461031d57602061143161142c366113cf565b6128e1565b604051908152f35b5060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d57610021600435611473816104d8565b615096565b503461031d576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126115f3573381528060205260408120600181019063ffffffff825416908115611595576115326114f761155a936114e96114e4855460ff9060701c1690565b6153fa565b65ffffffffffff421661545f565b84547fffffffffffffffffffffffffffffffffffffffffffff000000000000ffffffff16602082901b69ffffffffffff000000001617909455565b7fffffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffff8154169055565b60405165ffffffffffff91909116815233907ffa9b3c14cc825c412c9ed81b3ba365a5b459439403f18829e572ed53a4180f0a90602090a280f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6e6f74207374616b6564000000000000000000000000000000000000000000006044820152fd5b80fd5b503461031d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d57600435611632816104d8565b610b0a73ffffffffffffffffffffffffffffffffffffffff6116743373ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b9261172c611697610a6486546dffffffffffffffffffffffffffff9060781c1690565b946116a3861515615479565b611704600182016116dc65ffffffffffff6116c8835465ffffffffffff9060201c1690565b166116d48115156154de565b421015615543565b80547fffffffffffffffffffffffffffffffffffffffffffff00000000000000000000169055565b7fffffff0000000000000000000000000000ffffffffffffffffffffffffffffff8154169055565b6040805173ffffffffffffffffffffffffffffffffffffffff831681526020810186905233917fb7c918e0e249f999e965cafeb6c664271b3f4317d296461500e71da39f0cbda391a2600080809581948294165af1611789611d7c565b506155a8565b503461031d5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5767ffffffffffffffff60043581811161031d576117e09036906004016113c0565b602435916117ed836104d8565b60443590811161031d5761180861087e91369060040161051b565b611810611bec565b61181985612c4e565b61182c6118268287612e5c565b90614e95565b9461183c826000924384526120b7565b96438252819360609573ffffffffffffffffffffffffffffffffffffffff83166118c3575b5050505060800151936118906040611882602084015165ffffffffffff1690565b92015165ffffffffffff1690565b906040519687967f8b7ac980000000000000000000000000000000000000000000000000000000008852600488016126b6565b839550839496506118dd60409492939451809481936126a8565b03925af19060806118ec611d7c565b929190388080611861565b503461031d57611906366113cf565b61190e611bec565b61191782612c4e565b6119218183612e5c565b825160a0015191939161194e9073ffffffffffffffffffffffffffffffffffffffff16614f47565b614f47565b90611972611949855173ffffffffffffffffffffffffffffffffffffffff90511690565b9461197b612973565b506119aa61198e60409586810190611e9d565b90600060148310611b0757506111886119499261118e926129ab565b916119b491614e95565b805173ffffffffffffffffffffffffffffffffffffffff169073ffffffffffffffffffffffffffffffffffffffff821660018114916080880151978781015191886020820151611a099065ffffffffffff1690565b91015165ffffffffffff16916060015192611a22610418565b9a8b5260208b0152841515898b015265ffffffffffff1660608a015265ffffffffffff16608089015260a088015215159081611afe575b50611a93575061087e92519485947fe0cff05f00000000000000000000000000000000000000000000000000000000865260048601612ae0565b919061087e93611aa284614f47565b611ac9611aad610438565b73ffffffffffffffffffffffffffffffffffffffff9096168652565b6020850152519586957ffaecb4e400000000000000000000000000000000000000000000000000000000875260048701612a4e565b90501538611a59565b915050614f47565b503461031d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5773ffffffffffffffffffffffffffffffffffffffff600435611b60816104d8565b16600052600060205260a0604060002065ffffffffffff60018254920154604051926dffffffffffffffffffffffffffff90818116855260ff8160701c161515602086015260781c16604084015263ffffffff8116606084015260201c166080820152f35b60209067ffffffffffffffff8111611bdf575b60051b0190565b611be7610322565b611bd8565b60405190611bf982610352565b604051608083610100830167ffffffffffffffff811184821017611c62575b60405260009283815283602082015283604082015283606082015283838201528360a08201528360c08201528360e082015281528260208201528260408201528260608201520152565b611c6a610322565b611c18565b90611c7982611bc5565b611c8660405191826103c8565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0611cb48294611bc5565b019060005b828110611cc557505050565b602090611cd0611bec565b82828501015201611cb9565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020918151811015611d21575b60051b010190565b611d29611cdc565b611d19565b9190811015611d6f575b60051b810135907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffea18136030182121561031d570190565b611d77611cdc565b611d38565b3d15611da7573d90611d8d82610458565b91611d9b60405193846103c8565b82523d6000602084013e565b606090565b73ffffffffffffffffffffffffffffffffffffffff168015611e3f57600080809381935af1611dd9611d7c565b5015611de157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f41413931206661696c65642073656e6420746f2062656e6566696369617279006044820152fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4141393020696e76616c69642062656e656669636961727900000000000000006044820152fd5b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561031d570180359067ffffffffffffffff821161031d5760200191813603831361031d57565b9081602091031261031d575190565b601f82602094937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0938186528686013760008582860101520116010190565b60005b838110611f4f5750506000910152565b8181015183820152602001611f3f565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602093611f9b81518092818752878088019101611f3c565b0116010190565b90611fbc60809161071996946101c0808652850191611efd565b9360e0815173ffffffffffffffffffffffffffffffffffffffff80825116602087015260208201516040870152604082015160608701526060820151858701528482015160a087015260a08201511660c086015260c081015182860152015161010084015260208101516101208401526040810151610140840152606081015161016084015201516101808201526101a0818403910152611f5f565b506040513d6000823e3d90fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b919082039182116120a257565b610416612065565b919082018092116120a257565b905a918160206120d06060830151936060810190611e9d565b906121098560405195869485947f1d73275600000000000000000000000000000000000000000000000000000000865260048601611fa2565b03816000305af1600091816121e4575b506121dd575060206000803e7fdeaddead00000000000000000000000000000000000000000000000000000000600051146121705761216a61215f610719945a90612095565b6080840151906120aa565b916145d7565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152600f60408201527f41413935206f7574206f6620676173000000000000000000000000000000000060608201520190565b9250505090565b61220691925060203d811161220d575b6121fe81836103c8565b810190611eee565b9038612119565b503d6121f4565b909291925a938060206122306060830151946060810190611e9d565b906122698660405195869485947f1d73275600000000000000000000000000000000000000000000000000000000865260048601611fa2565b03816000305af160009181612346575b5061233f575060206000803e7fdeaddead00000000000000000000000000000000000000000000000000000000600051146122d1576122cb6122c061071995965a90612095565b6080830151906120aa565b926148ba565b61087e836040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152600f60408201527f41413935206f7574206f6620676173000000000000000000000000000000000060608201520190565b9450505050565b61235f91925060203d811161220d576121fe81836103c8565b9038612279565b6001907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612394570190565b61239c612065565b0190565b91908110156123e1575b60051b810135907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa18136030182121561031d570190565b6123e9611cdc565b6123aa565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561031d570180359067ffffffffffffffff821161031d57602001918160051b3603831361031d57565b35610719816104d8565b1561245357565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4141393620696e76616c69642061676772656761746f720000000000000000006044820152fd5b90357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18236030181121561031d57016020813591019167ffffffffffffffff821161031d57813603831361031d57565b6107199161252c8161251284610510565b73ffffffffffffffffffffffffffffffffffffffff169052565b602082013560208201526125c761257861255d61254c60408601866124b1565b610160806040880152860191611efd565b61256a60608601866124b1565b908583036060870152611efd565b6080840135608084015260a084013560a084015260c084013560c084015260e084013560e084015261010080850135908401526101206125ba818601866124b1565b9185840390860152611efd565b916125d861014091828101906124b1565b929091818503910152611efd565b949391929083604087016040885252606086019360608160051b8801019482600090815b8483106126295750505050505084602061071995968503910152611efd565b9091929394977fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa08b820301855288357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffea1843603018112156126a457600191846126929201612501565b9860209081019695019301919061260a565b8280fd5b908092918237016000815290565b92909361071996959260c0958552602085015265ffffffffffff8092166040850152166060830152151560808201528160a08201520190611f5f565b156126f957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4141393220696e7465726e616c2063616c6c206f6e6c790000000000000000006044820152fd5b90604061071992600081528160208201520190611f5f565b604090610719939281528160208201520190611f5f565b909291925a936127973033146126f2565b8151946040860151955a6113886060830151890101116128b7576107199660009580516127de575b505050906127d8915a90036080840151019436916104a1565b91614b22565b61280d9161280991612804855173ffffffffffffffffffffffffffffffffffffffff1690565b615672565b1590565b612819575b80806127bf565b6127d892919450612828615684565b90815161283c575b50506001939091612812565b7f1c4fada7374c0a9ee8841fc38afe82932dc0f8e69012e927f061a8bae611a20173ffffffffffffffffffffffffffffffffffffffff6020870151926128ad602061289b835173ffffffffffffffffffffffffffffffffffffffff1690565b9201519560405193849316968361276f565b0390a33880612830565b7fdeaddead0000000000000000000000000000000000000000000000000000000060005260206000fd5b806128f0610140820182611e9d565b50037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081016040519182016040528082526020820192833751902060405160208101918252306040820152466060820152606081526080810181811067ffffffffffffffff821117612966575b60405251902090565b61296e610322565b61295d565b604051906040820182811067ffffffffffffffff82111761299e575b60405260006020838281520152565b6129a6610322565b61298f565b9060141161031d5790601490565b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000090358181169392601481106129ee57505050565b60140360031b82901b16169150565b9060c060a061071993805184526020810151602085015260408101511515604085015265ffffffffffff80606083015116606086015260808201511660808501520151918160a08201520190611f5f565b9294612aaf61041695612a9d610100959998612a8b612a77602097610140808c528b01906129fd565b9b878a019060208091805184520151910152565b80516060890152602001516080880152565b805160a08701526020015160c0860152565b73ffffffffffffffffffffffffffffffffffffffff81511660e0850152015191019060208091805184520151910152565b612b2961041694612b17612b0260a0959998969960e0865260e08601906129fd565b98602085019060208091805184520151910152565b80516060840152602001516080830152565b019060208091805184520151910152565b9081602091031261031d5751610719816104d8565b916020610719938181520191611efd565b90612b8f73ffffffffffffffffffffffffffffffffffffffff9161071997959694606085526060850191611efd565b941660208201526040818503910152611efd565b60009060033d11612bb057565b905060046000803e60005160e01c90565b600060443d10610719576040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc91823d016004833e815167ffffffffffffffff918282113d602484011117612c3d57818401948551938411612c45573d85010160208487010111612c3d5750610719929101602001906103c8565b949350505050565b50949350505050565b612c5b6040820182611e9d565b612c73612c6784612442565b93610120810190611e9d565b9290303b1561031d57600093612cb79160405196879586957f957122ab00000000000000000000000000000000000000000000000000000000875260048701612b60565b0381305afa9081612d40575b50610416576001612cd2612ba3565b6308c379a014612ceb575b612ce357565b610416612058565b612cf3612bc1565b80612cff575b50612cdd565b80516000925015612cf95761087e906040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301612757565b80610e8a612d4d92610398565b38612cc3565b929190612d5f90612d9b565b909273ffffffffffffffffffffffffffffffffffffffff8080951691160361095e576108f057612d8e90612d9b565b9116610882576107f25750565b8015612dee57612daa90614e3a565b73ffffffffffffffffffffffffffffffffffffffff65ffffffffffff806040840151164211908115612dde575b5091511691565b9050602083015116421038612dd7565b50600090600090565b15612dfe57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f41413934206761732076616c756573206f766572666c6f7700000000000000006044820152fd5b916000915a93815190612e6f828261318e565b612e78816128e1565b6020840152612eb66effffffffffffffffffffffffffffff60808401516060850151176040850151176101008401359060e085013517171115612df7565b612ebf82613250565b612eca818584613311565b9790612ed543600052565b73ffffffffffffffffffffffffffffffffffffffff612f0d60a0606097015173ffffffffffffffffffffffffffffffffffffffff1690565b16612faa575b505a810360a084013510612f3d5760809360c092604087015260608601525a900391013501910152565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601e60408201527f41413430206f76657220766572696669636174696f6e4761734c696d6974000060608201520190565b90935081612fbb9297508584614037565b95909238612f13565b9290916000925a8251612fd7818461318e565b612fe0836128e1565b602085015261301e6effffffffffffffffffffffffffffff60808301516060840151176040840151176101008601359060e087013517171115612df7565b61302781613250565b6130338186868b61367d565b989061303e43600052565b73ffffffffffffffffffffffffffffffffffffffff61307660a0606096015173ffffffffffffffffffffffffffffffffffffffff1690565b1661310e575b505a840360a0860135106130a85750604085015260608401526080919060c0905a900391013501910152565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152601e60448201527f41413430206f76657220766572696669636174696f6e4761734c696d697400006064820152608490fd5b909250816131209298508686856142ca565b9690913861307c565b1561313057565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4141393320696e76616c6964207061796d6173746572416e64446174610000006044820152fd5b613200906131b861319e82612442565b73ffffffffffffffffffffffffffffffffffffffff168452565b602081013560208401526080810135604084015260a0810135606084015260c0810135608084015260e081013560c084015261010081013560e0840152610120810190611e9d565b9081156132455761322a61118e6111888460a094613225601461041699981015613129565b6129ab565b73ffffffffffffffffffffffffffffffffffffffff16910152565b505060a06000910152565b60a081015173ffffffffffffffffffffffffffffffffffffffff16156132925760c060035b60ff60408401519116606084015102016080830151019101510290565b60c06001613275565b6132b360409295949395606083526060830190612501565b9460208201520152565b90610416602f60405180947f414132332072657665727465643a20000000000000000000000000000000000060208301526133018151809260208686019101611f3c565b810103600f8101855201836103c8565b916000926000925a936133df6020835193613340855173ffffffffffffffffffffffffffffffffffffffff1690565b956133586133516040830183611e9d565b90846138e8565b60a086015173ffffffffffffffffffffffffffffffffffffffff169061337d43600052565b85809373ffffffffffffffffffffffffffffffffffffffff809416159889613615575b60600151908601516040517f3a871cdd00000000000000000000000000000000000000000000000000000000815297889687958693906004850161329b565b03938a1690f18291816135f5575b506135ec57506001906133fe612ba3565b6308c379a014613598575b5061352b575b61341c575b50505a900391565b6134469073ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b613461610a6482546dffffffffffffffffffffffffffff1690565b8083116134be576134b7926dffffffffffffffffffffffffffff9103166dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b3880613414565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601760408201527f41413231206469646e2774207061792070726566756e6400000000000000000060608201520190565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601660408201527f4141323320726576657274656420286f72204f4f47290000000000000000000060608201520190565b6135a0612bc1565b90816135ac5750613409565b61087e916135ba91506132bd565b6040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301612757565b955061340f9050565b61360e91925060203d811161220d576121fe81836103c8565b90386133ed565b945061365b610a646136478c73ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b546dffffffffffffffffffffffffffff1690565b8b8111156136725750856060835b969150506133a0565b606087918d03613669565b90926000936000935a946136c660208351936136ad855173ffffffffffffffffffffffffffffffffffffffff1690565b956133586136be6040830183611e9d565b90848c613c06565b03938a1690f18291816138c8575b506138bf57506001906136e5612ba3565b6308c379a014613869575b506137fb575b613704575b5050505a900391565b61372e9073ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b9161374a610a6484546dffffffffffffffffffffffffffff1690565b90818311613795575082547fffffffffffffffffffffffffffffffffffff0000000000000000000000000000169190036dffffffffffffffffffffffffffff161790553880806136fb565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152601760448201527f41413231206469646e2774207061792070726566756e640000000000000000006064820152608490fd5b61087e846040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601660408201527f4141323320726576657274656420286f72204f4f47290000000000000000000060608201520190565b613871612bc1565b908161387d57506136f0565b869161388991506132bd565b9061087e6040519283927f220266b60000000000000000000000000000000000000000000000000000000084526004840161276f565b96506136f69050565b6138e191925060203d811161220d576121fe81836103c8565b90386136d4565b9091806138f457505050565b81515173ffffffffffffffffffffffffffffffffffffffff1692833b613b9957606083510151604051907f570e1a3600000000000000000000000000000000000000000000000000000000825260208280613953878760048401612b4f565b0381600073ffffffffffffffffffffffffffffffffffffffff95867f00000000000000000000000000000000000000000000000000000000000000001690f1918215613b8c575b600092613b6c575b50808216958615613aff5716809503613a92573b15613a255761118e6111887fd51a9c61267aa6196961883ecf5ff2da6619c37dac0fa92122513fb32c032d2d936139ec936129ab565b602083810151935160a001516040805173ffffffffffffffffffffffffffffffffffffffff9485168152939091169183019190915290a3565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152602060408201527f4141313520696e6974436f6465206d757374206372656174652073656e64657260608201520190565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152602060408201527f4141313420696e6974436f6465206d7573742072657475726e2073656e64657260608201520190565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601b60408201527f4141313320696e6974436f6465206661696c6564206f72204f4f47000000000060608201520190565b613b8591925060203d81116113ac5761139d81836103c8565b90386139a2565b613b94612058565b61399a565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601f60408201527f414131302073656e64657220616c726561647920636f6e73747275637465640060608201520190565b92909181613c15575b50505050565b82515173ffffffffffffffffffffffffffffffffffffffff1693843b613ebd57606084510151604051907f570e1a3600000000000000000000000000000000000000000000000000000000825260208280613c74888860048401612b4f565b0381600073ffffffffffffffffffffffffffffffffffffffff95867f00000000000000000000000000000000000000000000000000000000000000001690f1918215613eb0575b600092613e90575b50808216968715613e225716809603613db4573b15613d4e575061118e6111887fd51a9c61267aa6196961883ecf5ff2da6619c37dac0fa92122513fb32c032d2d93613d0e936129ab565b602083810151935160a001516040805173ffffffffffffffffffffffffffffffffffffffff9485168152939091169183019190915290a338808080613c0f565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152602060448201527f4141313520696e6974436f6465206d757374206372656174652073656e6465726064820152608490fd5b61087e826040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152602060408201527f4141313420696e6974436f6465206d7573742072657475726e2073656e64657260608201520190565b61087e846040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601b60408201527f4141313320696e6974436f6465206661696c6564206f72204f4f47000000000060608201520190565b613ea991925060203d81116113ac5761139d81836103c8565b9038613cc3565b613eb8612058565b613cbb565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152601f60448201527f414131302073656e64657220616c726561647920636f6e7374727563746564006064820152608490fd5b15613f2a57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4141343120746f6f206c6974746c6520766572696669636174696f6e476173006044820152fd5b919060408382031261031d57825167ffffffffffffffff811161031d5783019080601f8301121561031d57815191613fbf83610458565b91613fcd60405193846103c8565b8383526020848301011161031d57602092613fed91848085019101611f3c565b92015190565b90610416602f60405180947f414133332072657665727465643a20000000000000000000000000000000000060208301526133018151809260208686019101611f3c565b93919260609460009460009380519261407660a08a8601519561405b888811613f23565b015173ffffffffffffffffffffffffffffffffffffffff1690565b916140a18373ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b946140bd610a6487546dffffffffffffffffffffffffffff1690565b9685881061425d5773ffffffffffffffffffffffffffffffffffffffff60208a98946141338a966dffffffffffffffffffffffffffff8b61416c9e03166dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b015194604051998a98899788937ff465c77e0000000000000000000000000000000000000000000000000000000085526004850161329b565b0395169103f1908183918493614237575b5061423057505060019061418f612ba3565b6308c379a01461420e575b506141a157565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601660408201527f4141333320726576657274656420286f72204f4f47290000000000000000000060608201520190565b614216612bc1565b9081614222575061419a565b61087e916135ba9150613ff3565b9450925050565b90925061425691503d8085833e61424e81836103c8565b810190613f88565b913861417d565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601e60408201527f41413331207061796d6173746572206465706f73697420746f6f206c6f77000060608201520190565b9194929390936060956000956000938251906142f160a08b8401519361405b848611613f23565b9361431c8573ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b614337610a6482546dffffffffffffffffffffffffffff1690565b878110614492579273ffffffffffffffffffffffffffffffffffffffff60208a989693946141338a966dffffffffffffffffffffffffffff8d6143b19e9c9a03166dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b0395169103f1908183918493614474575b5061446c5750506001906143d4612ba3565b6308c379a01461444d575b506143e75750565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152601660448201527f4141333320726576657274656420286f72204f4f4729000000000000000000006064820152608490fd5b614455612bc1565b908161446157506143df565b613889925050613ff3565b955093505050565b90925061448b91503d8085833e61424e81836103c8565b91386143c2565b61087e8a6040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601e60408201527f41413331207061796d6173746572206465706f73697420746f6f206c6f77000060608201520190565b6003111561450a57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b92919061455760409160028652606060208701526060860190611f5f565b930152565b93929190600381101561450a57604091614557918652606060208701526060860190611f5f565b90610416603660405180947f4141353020706f73744f702072657665727465643a200000000000000000000060208301526145c78151809260208686019101611f3c565b81010360168101855201836103c8565b929190925a936000918051916145ec83614df3565b9260a0810195614610875173ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff9390848116908161477f57505050614651825173ffffffffffffffffffffffffffffffffffffffff1690565b985b5a90030193840297604084019089825110614712577f49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f9461469d6020928c61470d95510390614fa5565b0151948960206146df6146c4865173ffffffffffffffffffffffffffffffffffffffff1690565b9a5173ffffffffffffffffffffffffffffffffffffffff1690565b9401519785604051968796169a16988590949392606092608083019683521515602083015260408201520152565b0390a4565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152602060408201527f414135312070726566756e642062656c6f772061637475616c476173436f737460608201520190565b9a91805161478f575b5050614653565b6060850151600099509091803b156148b65791899189836147e2956040518097819682957fa9a234090000000000000000000000000000000000000000000000000000000084528c029060048401614539565b0393f190816148a3575b5061489e5760016147fb612ba3565b6308c379a01461487f575b614812575b3880614788565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601260408201527f4141353020706f73744f7020726576657274000000000000000000000000000060608201520190565b614887612bc1565b806148925750614806565b6135ba61087e91614583565b61480b565b80610e8a6148b092610398565b386147ec565b8980fd5b9392915a906000928051906148ce82614df3565b9360a08301966148f2885173ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff959086811690816149e857505050614933845173ffffffffffffffffffffffffffffffffffffffff1690565b915b5a9003019485029860408301908a82511061498257507f49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f94939261469d61470d938c602094510390614fa5565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152602060448201527f414135312070726566756e642062656c6f772061637475616c476173436f73746064820152608490fd5b939180516149f8575b5050614935565b606087015160009a509091803b15614b1e57918a918a83614a4b956040518097819682957fa9a234090000000000000000000000000000000000000000000000000000000084528c029060048401614539565b0393f19081614b0b575b50614b06576001614a64612ba3565b6308c379a014614ae9575b614a7b575b38806149f1565b61087e8b6040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601260408201527f4141353020706f73744f7020726576657274000000000000000000000000000060608201520190565b614af1612bc1565b80614afc5750614a6f565b6138898d91614583565b614a74565b80610e8a614b1892610398565b38614a55565b8a80fd5b909392915a94805191614b3483614df3565b9260a0810195614b58875173ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff938185169182614c4057505050614b98825173ffffffffffffffffffffffffffffffffffffffff1690565b985b5a90030193840297604084019089825110614712577f49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f94614be46020928c61470d95510390614fa5565b614bed88614500565b015194896020614c146146c4865173ffffffffffffffffffffffffffffffffffffffff1690565b940151604080519182529815602082015297880152606087015290821695909116939081906080820190565b9a918151614c50575b5050614b9a565b878402614c5c8a614500565b60028a14614ce7576060860151823b1561031d57614caf93600080948d604051978896879586937fa9a234090000000000000000000000000000000000000000000000000000000085526004850161455c565b0393f18015614cda575b614cc7575b505b3880614c49565b80610e8a614cd492610398565b38614cbe565b614ce2612058565b614cb9565b6060860151823b1561031d57614d3293600080948d604051978896879586937fa9a234090000000000000000000000000000000000000000000000000000000085526004850161455c565b0393f19081614de0575b50614ddb576001614d4b612ba3565b6308c379a014614dc8575b15614cc0576040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601260408201527f4141353020706f73744f7020726576657274000000000000000000000000000060608201520190565b614dd0612bc1565b806148925750614d56565b614cc0565b80610e8a614ded92610398565b38614d3c565b60e060c0820151910151808214614e1757480180821015614e12575090565b905090565b5090565b60405190614e28826103ac565b60006040838281528260208201520152565b614e42614e1b565b5065ffffffffffff808260a01c168015614e8e575b60405192614e64846103ac565b73ffffffffffffffffffffffffffffffffffffffff8116845260d01c602084015216604082015290565b5080614e57565b614eaa614eb091614ea4614e1b565b50614e3a565b91614e3a565b9073ffffffffffffffffffffffffffffffffffffffff9182825116928315614f3c575b65ffffffffffff928391826040816020850151169301511693836040816020840151169201511690808410614f34575b50808511614f2c575b5060405195614f1a876103ac565b16855216602084015216604082015290565b935038614f0c565b925038614f03565b815181169350614ed3565b9073ffffffffffffffffffffffffffffffffffffffff614f65612973565b9216600052600060205263ffffffff600160406000206dffffffffffffffffffffffffffff815460781c1685520154166020830152565b61041633615096565b73ffffffffffffffffffffffffffffffffffffffff16600052600060205260406000206dffffffffffffffffffffffffffff80825416928301809311615089575b80831161502b5761041692166dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6465706f736974206f766572666c6f77000000000000000000000000000000006044820152fd5b615091612065565b614fe6565b73ffffffffffffffffffffffffffffffffffffffff906150b63482614fa5565b168060005260006020527f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c460206dffffffffffffffffffffffffffff60406000205416604051908152a2565b1561510957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f6d757374207370656369667920756e7374616b652064656c61790000000000006044820152fd5b1561516e57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616e6e6f7420646563726561736520756e7374616b652074696d65000000006044820152fd5b156151d357565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6e6f207374616b652073706563696669656400000000000000000000000000006044820152fd5b1561523857565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f7374616b65206f766572666c6f770000000000000000000000000000000000006044820152fd5b9065ffffffffffff60806001610416946152f66dffffffffffffffffffffffffffff86511682906dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b602085015115156eff000000000000000000000000000082549160701b16807fffffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffff83161783557fffffff000000000000000000000000000000ffffffffffffffffffffffffffff7cffffffffffffffffffffffffffff000000000000000000000000000000604089015160781b16921617178155019263ffffffff6060820151167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000008554161784550151167fffffffffffffffffffffffffffffffffffffffffffff000000000000ffffffff69ffffffffffff0000000083549260201b169116179055565b1561540157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f616c726561647920756e7374616b696e670000000000000000000000000000006044820152fd5b91909165ffffffffffff808094169116019182116120a257565b1561548057565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f207374616b6520746f2077697468647261770000000000000000000000006044820152fd5b156154e557565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f6d7573742063616c6c20756e6c6f636b5374616b6528292066697273740000006044820152fd5b1561554a57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f5374616b65207769746864726177616c206973206e6f742064756500000000006044820152fd5b156155af57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f6661696c656420746f207769746864726177207374616b6500000000000000006044820152fd5b1561561457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6661696c656420746f20776974686472617700000000000000000000000000006044820152fd5b9060009283809360208451940192f190565b3d6108008082116156ab575b50604051906020818301016040528082526000602083013e90565b90503861569056fea2646970667358221220ae4a26a2417d41eec912cee72664fcf55e9abebe95b0def4d185ac695cb88b5564736f6c634300081100336080806040523461001657610210908161001c8239f35b600080fdfe6080604052600436101561001257600080fd5b6000803560e01c63570e1a361461002857600080fd5b346100c95760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100c95760043567ffffffffffffffff918282116100c957366023830112156100c95781600401359283116100c95736602484840101116100c9576100c561009e84602485016100fc565b60405173ffffffffffffffffffffffffffffffffffffffff90911681529081906020820190565b0390f35b80fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b90806014116101bb5767ffffffffffffffff917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec82018381116101cd575b604051937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f81600b8701160116850190858210908211176101c0575b604052808452602084019036848401116101bb576020946000600c819682946014880187378301015251923560601c5af19060005191156101b557565b60009150565b600080fd5b6101c86100cc565b610178565b6101d56100cc565b61013a56fea26469706673582212201927e80b76ab9b71c952137dd676621a9fdf520c25928815636594036eb1c40364736f6c63430008110033",Cin=function(t){return t.length>1},Iin=function(t){Ain(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();jK.__esModule=!0;jK.IAccount__factory=void 0;var bo0=Je(),ale=[{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"}],kin=function(){function t(){}return t.createInterface=function(){return new bo0.utils.Interface(ale)},t.connect=function(e,n){return new bo0.Contract(e,ale,n)},t.abi=ale,t}();jK.IAccount__factory=kin});var ile=D(GK=>{"use strict";u();p();GK.__esModule=!0;GK.IAggregator__factory=void 0;var yo0=Je(),fle=[{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"userOps",type:"tuple[]"}],name:"aggregateSignatures",outputs:[{internalType:"bytes",name:"aggregatedSignature",type:"bytes"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"userOps",type:"tuple[]"},{internalType:"bytes",name:"signature",type:"bytes"}],name:"validateSignatures",outputs:[],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"}],name:"validateUserOpSignature",outputs:[{internalType:"bytes",name:"sigForUserOp",type:"bytes"}],stateMutability:"view",type:"function"}],Sin=function(){function t(){}return t.createInterface=function(){return new yo0.utils.Interface(fle)},t.connect=function(e,n){return new yo0.Contract(e,fle,n)},t.abi=fle,t}();GK.IAggregator__factory=Sin});var ole=D(KK=>{"use strict";u();p();KK.__esModule=!0;KK.IEntryPoint__factory=void 0;var go0=Je(),sle=[{inputs:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"paid",type:"uint256"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bool",name:"targetSuccess",type:"bool"},{internalType:"bytes",name:"targetResult",type:"bytes"}],name:"ExecutionResult",type:"error"},{inputs:[{internalType:"uint256",name:"opIndex",type:"uint256"},{internalType:"string",name:"reason",type:"string"}],name:"FailedOp",type:"error"},{inputs:[{internalType:"address",name:"sender",type:"address"}],name:"SenderAddressResult",type:"error"},{inputs:[{internalType:"address",name:"aggregator",type:"address"}],name:"SignatureValidationFailed",type:"error"},{inputs:[{components:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"prefund",type:"uint256"},{internalType:"bool",name:"sigFailed",type:"bool"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bytes",name:"paymasterContext",type:"bytes"}],internalType:"struct IEntryPoint.ReturnInfo",name:"returnInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"senderInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"factoryInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"paymasterInfo",type:"tuple"}],name:"ValidationResult",type:"error"},{inputs:[{components:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"prefund",type:"uint256"},{internalType:"bool",name:"sigFailed",type:"bool"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bytes",name:"paymasterContext",type:"bytes"}],internalType:"struct IEntryPoint.ReturnInfo",name:"returnInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"senderInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"factoryInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"paymasterInfo",type:"tuple"},{components:[{internalType:"address",name:"aggregator",type:"address"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"stakeInfo",type:"tuple"}],internalType:"struct IEntryPoint.AggregatorStakeInfo",name:"aggregatorInfo",type:"tuple"}],name:"ValidationResultWithAggregation",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"address",name:"factory",type:"address"},{indexed:!1,internalType:"address",name:"paymaster",type:"address"}],name:"AccountDeployed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalDeposit",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"aggregator",type:"address"}],name:"SignatureAggregatorChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalStaked",type:"uint256"},{indexed:!1,internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],name:"StakeLocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"withdrawTime",type:"uint256"}],name:"StakeUnlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"StakeWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!0,internalType:"address",name:"paymaster",type:"address"},{indexed:!1,internalType:"uint256",name:"nonce",type:"uint256"},{indexed:!1,internalType:"bool",name:"success",type:"bool"},{indexed:!1,internalType:"uint256",name:"actualGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"actualGasUsed",type:"uint256"}],name:"UserOperationEvent",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"uint256",name:"nonce",type:"uint256"},{indexed:!1,internalType:"bytes",name:"revertReason",type:"bytes"}],name:"UserOperationRevertReason",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{inputs:[{internalType:"uint32",name:"_unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",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:"account",type:"address"}],name:"depositTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"getDepositInfo",outputs:[{components:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],internalType:"struct IStakeManager.DepositInfo",name:"info",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"initCode",type:"bytes"}],name:"getSenderAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"}],name:"getUserOpHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{components:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"userOps",type:"tuple[]"},{internalType:"contract IAggregator",name:"aggregator",type:"address"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct IEntryPoint.UserOpsPerAggregator[]",name:"opsPerAggregator",type:"tuple[]"},{internalType:"address payable",name:"beneficiary",type:"address"}],name:"handleAggregatedOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"ops",type:"tuple[]"},{internalType:"address payable",name:"beneficiary",type:"address"}],name:"handleOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"op",type:"tuple"},{internalType:"address",name:"target",type:"address"},{internalType:"bytes",name:"targetCallData",type:"bytes"}],name:"simulateHandleOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"}],name:"simulateValidation",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"withdrawAmount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],Rin=function(){function t(){}return t.createInterface=function(){return new go0.utils.Interface(sle)},t.connect=function(e,n){return new go0.Contract(e,sle,n)},t.abi=sle,t}();KK.IEntryPoint__factory=Rin});var dle=D(QK=>{"use strict";u();p();QK.__esModule=!0;QK.IPaymaster__factory=void 0;var vo0=Je(),cle=[{inputs:[{internalType:"enum IPaymaster.PostOpMode",name:"mode",type:"uint8"},{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"actualGasCost",type:"uint256"}],name:"postOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"maxCost",type:"uint256"}],name:"validatePaymasterUserOp",outputs:[{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"}],Min=function(){function t(){}return t.createInterface=function(){return new vo0.utils.Interface(cle)},t.connect=function(e,n){return new vo0.Contract(e,cle,n)},t.abi=cle,t}();QK.IPaymaster__factory=Min});var ule=D(VK=>{"use strict";u();p();VK.__esModule=!0;VK.IStakeManager__factory=void 0;var wo0=Je(),lle=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalDeposit",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalStaked",type:"uint256"},{indexed:!1,internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],name:"StakeLocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"withdrawTime",type:"uint256"}],name:"StakeUnlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"StakeWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{inputs:[{internalType:"uint32",name:"_unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",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:"account",type:"address"}],name:"depositTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"getDepositInfo",outputs:[{components:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],internalType:"struct IStakeManager.DepositInfo",name:"info",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"withdrawAmount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],Bin=function(){function t(){}return t.createInterface=function(){return new wo0.utils.Interface(lle)},t.connect=function(e,n){return new wo0.Contract(e,lle,n)},t.abi=lle,t}();VK.IStakeManager__factory=Bin});var hle=D(t_=>{"use strict";u();p();var Din=t_&&t_.__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)}}();t_.__esModule=!0;t_.MaliciousAccount__factory=void 0;var ple=Je(),YK=[{inputs:[{internalType:"contract IEntryPoint",name:"_ep",type:"address"}],stateMutability:"payable",type:"constructor"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"uint256",name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"}],To0="0x608060405260405161034a38038061034a83398101604081905261002291610047565b600080546001600160a01b0319166001600160a01b0392909216919091179055610077565b60006020828403121561005957600080fd5b81516001600160a01b038116811461007057600080fd5b9392505050565b6102c4806100866000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80633a871cdd14610030575b600080fd5b61004361003e3660046101a1565b610055565b60405190815260200160405180910390f35b600080546040517fb760faf900000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff9091169063b760faf99084906024016000604051808303818588803b1580156100c257600080fd5b505af11580156100d6573d6000803e3d6000fd5b505050505060008460c001358560a0013586608001356100f69190610224565b6101009190610224565b9050600061010e828561023c565b9050600061012161010088013583610277565b905086602001358114610194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f5265766572742061667465722066697273742076616c69646174696f6e000000604482015260640160405180910390fd5b5060009695505050505050565b6000806000606084860312156101b657600080fd5b833567ffffffffffffffff8111156101cd57600080fd5b840161016081870312156101e057600080fd5b95602085013595506040909401359392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610237576102376101f5565b500190565b600082610272577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600082821015610289576102896101f5565b50039056fea2646970667358221220233c1b53bed3630405955a2809bf977fcd3053b67e56cf39bd460d18cc03844c64736f6c634300080f0033",Pin=function(t){return t.length>1},Lin=function(t){Din(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var Fin=n_&&n_.__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)}}();n_.__esModule=!0;n_.SenderCreator__factory=void 0;var mle=Je(),$K=[{inputs:[{internalType:"bytes",name:"initCode",type:"bytes"}],name:"createSender",outputs:[{internalType:"address",name:"sender",type:"address"}],stateMutability:"nonpayable",type:"function"}],xo0="0x608060405234801561001057600080fd5b50610213806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063570e1a3614610030575b600080fd5b61004361003e3660046100f9565b61006c565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60008061007c601482858761016b565b61008591610195565b60601c90506000610099846014818861016b565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525084519495509360209350849250905082850182875af190506000519350806100f057600093505b50505092915050565b6000806020838503121561010c57600080fd5b823567ffffffffffffffff8082111561012457600080fd5b818501915085601f83011261013857600080fd5b81358181111561014757600080fd5b86602082850101111561015957600080fd5b60209290920196919550909350505050565b6000808585111561017b57600080fd5b8386111561018857600080fd5b5050820193919092039150565b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000081358181169160148510156101d55780818660140360031b1b83161692505b50509291505056fea2646970667358221220d5d7cb55b3123d86b2710028be2074a469cca162ad2a26c50fb1cfdce4424b9464736f6c634300080f0033",Nin=function(t){return t.length>1},Oin=function(t){Fin(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var Uin=a_&&a_.__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)}}();a_.__esModule=!0;a_.SimpleAccount__factory=void 0;var yle=Je(),JK=[{inputs:[{internalType:"contract IEntryPoint",name:"anEntryPoint",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"previousAdmin",type:"address"},{indexed:!1,internalType:"address",name:"newAdmin",type:"address"}],name:"AdminChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"beacon",type:"address"}],name:"BeaconUpgraded",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract IEntryPoint",name:"entryPoint",type:"address"},{indexed:!0,internalType:"address",name:"owner",type:"address"}],name:"SimpleAccountInitialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"implementation",type:"address"}],name:"Upgraded",type:"event"},{inputs:[],name:"addDeposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"dest",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"bytes",name:"func",type:"bytes"}],name:"execute",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"dest",type:"address[]"},{internalType:"bytes[]",name:"func",type:"bytes[]"}],name:"executeBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"anOwner",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"nonce",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:"proxiableUUID",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newImplementation",type:"address"}],name:"upgradeTo",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newImplementation",type:"address"},{internalType:"bytes",name:"data",type:"bytes"}],name:"upgradeToAndCall",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawDepositTo",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],Eo0="0x60c03461015a57601f62001ed338819003918201601f19168301916001600160401b0383118484101761015f5780849260209460405283398101031261015a57516001600160a01b038116810361015a573060805260a05260005460ff8160081c166101055760ff808216106100ca575b604051611d5d908162000176823960805181818161032601528181610a460152610c23015260a051818181610548015281816107180152818161080101528181610dcf01528181610ef20152818161187301526118d10152f35b60ff90811916176000557f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498602060405160ff8152a138610070565b60405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b6064820152608490fd5b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604052600436101561001b575b361561001957600080fd5b005b60003560e01c806318dfb3c71461011f5780633659cfe6146101165780633a871cdd1461010d5780634a58db19146101045780634d44560d146100fb5780634f1ef286146100f257806352d1902d146100e95780638da5cb5b146100e0578063affed0e0146100d7578063b0d691fe146100ce578063b61d27f6146100c5578063c399ec88146100bc5763c4d66de80361000e576100b7610f75565b61000e565b506100b7610e78565b506100b7610df3565b506100b7610d83565b506100b7610d38565b506100b7610cf8565b506100b7610bdc565b506100b76109c4565b506100b76107a2565b506100b76106d5565b506100b76104dd565b506100b76102d1565b506100b761015e565b9181601f840112156101595782359167ffffffffffffffff8311610159576020808501948460051b01011161015957565b600080fd5b50346101595760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101595767ffffffffffffffff600435818111610159576101af903690600401610128565b9091602435908111610159576101c9903690600401610128565b91906101d36118ba565b8282036102555760005b8281106101e657005b8061021a6101ff6101fa600194878a61173f565b61175d565b61021461020d848988611767565b369161098d565b90611c93565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610248575b016101dd565b6102506116df565b610242565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f77726f6e67206172726179206c656e67746873000000000000000000000000006044820152fd5b73ffffffffffffffffffffffffffffffffffffffff81160361015957565b50346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101595760043561030d816102b3565b73ffffffffffffffffffffffffffffffffffffffff90817f00000000000000000000000000000000000000000000000000000000000000001691610353833014156110d9565b6103827f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc938285541614611164565b61038a611caa565b60405190610397826108cb565b600082527f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156103d15750506100199150611296565b6020600491604094939451928380927f52d1902d00000000000000000000000000000000000000000000000000000000825286165afa600091816104ad575b5061049a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f7420555550530000000000000000000000000000000000006064820152608490fd5b610019936104a8911461120b565b611382565b6104cf91925060203d81116104d6575b6104c78183610903565b8101906111ef565b9038610410565b503d6104bd565b5034610159577ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc6060813601126101595760043567ffffffffffffffff811161015957610160816004019282360301126101595773ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001633036106775761058861057d6024358461196d565b926044830190611620565b9050156105b3575b6105af8261059f604435611671565b6040519081529081906020820190565b0390f35b6024600154916bffffffffffffffffffffffff927fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008482169480861461066a575b600186011691161760015501350361060c5738610590565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f6163636f756e743a20696e76616c6964206e6f6e6365000000000000000000006044820152fd5b6106726116df565b6105f4565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6163636f756e743a206e6f742066726f6d20456e747279506f696e74000000006044820152fd5b506000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261079f5773ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001681813b1561079f57602491604051928380927fb760faf900000000000000000000000000000000000000000000000000000000825230600483015234905af18015610792575b610786575080f35b61078f906108aa565b80f35b61079a6111fe565b61077e565b80fd5b503461015957600060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261079f576004356107e0816102b3565b6107e8611caa565b8173ffffffffffffffffffffffffffffffffffffffff807f00000000000000000000000000000000000000000000000000000000000000001692833b15610876576044908360405195869485937f205c287800000000000000000000000000000000000000000000000000000000855216600484015260243560248401525af1801561079257610786575080f35b8280fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b67ffffffffffffffff81116108be57604052565b6108c661087a565b604052565b6020810190811067ffffffffffffffff8211176108be57604052565b6060810190811067ffffffffffffffff8211176108be57604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176108be57604052565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209267ffffffffffffffff8111610980575b01160190565b61098861087a565b61097a565b92919261099982610944565b916109a76040519384610903565b829481845281830111610159578281602093846000960137010152565b5060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610159576004356109fb816102b3565b60243567ffffffffffffffff8111610159573660238201121561015957610a2c90369060248160040135910161098d565b9073ffffffffffffffffffffffffffffffffffffffff91827f00000000000000000000000000000000000000000000000000000000000000001692610a73843014156110d9565b610aa27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc948286541614611164565b610aaa611caa565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610ae05750506100199150611296565b6020600491604094939451928380927f52d1902d00000000000000000000000000000000000000000000000000000000825286165afa60009181610bbc575b50610ba9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f7420555550530000000000000000000000000000000000006064820152608490fd5b61001993610bb7911461120b565b611461565b610bd591925060203d81116104d6576104c78183610903565b9038610b1f565b50346101595760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101595773ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163003610c74576040517f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8152602090f35b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152fd5b50346101595760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015957602060015460601c604051908152f35b50346101595760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101595760206bffffffffffffffffffffffff60015416604051908152f35b50346101595760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015957602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346101595760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015957600435610e2f816102b3565b6044359067ffffffffffffffff908183116101595736602384011215610159578260040135918211610159573660248385010111610159576024610019930190602435906116ab565b5034610159576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261079f576040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260208160248173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa908115610f68575b8291610f2e575b604051828152602090f35b90506020813d8211610f60575b81610f4860209383610903565b81010312610f5c576105af91505138610f23565b5080fd5b3d9150610f3b565b610f706111fe565b610f1c565b50346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015957600435610fb1816102b3565b61101360005491610fd960ff8460081c1615809481956110cb575b81156110ab575b50611791565b8261100a60017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006000541617600055565b6110755761181c565b61101957005b6110467fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff60005416600055565b604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602090a1005b6110a66101007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff6000541617600055565b61181c565b303b159150816110bd575b5038610fd3565b6001915060ff1614386110b6565b600160ff8216109150610fcc565b156110e057565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c00000000000000000000000000000000000000006064820152fd5b1561116b57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f787900000000000000000000000000000000000000006064820152fd5b90816020910312610159575190565b506040513d6000823e3d90fd5b1561121257565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c655555494400000000000000000000000000000000000000000000006064820152fd5b803b156112fe5773ffffffffffffffffffffffffffffffffffffffff7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc91167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e7472616374000000000000000000000000000000000000006064820152fd5b9061138c82611296565b73ffffffffffffffffffffffffffffffffffffffff82167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a2805115801590611459575b6113db575050565b61145691600080604051936113ef856108e7565b602785527f416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c60208601527f206661696c6564000000000000000000000000000000000000000000000000006040860152602081519101845af46114506114c1565b91611556565b50565b5060006113d3565b9061146b82611296565b73ffffffffffffffffffffffffffffffffffffffff82167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a28051158015906114b9576113db575050565b5060016113d3565b3d156114ec573d906114d282610944565b916114e06040519384610903565b82523d6000602084013e565b606090565b156114f857565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152fd5b91929015611579575081511561156a575090565b611576903b15156114f1565b90565b82519091501561158c5750805190602001fd5b604051907f08c379a000000000000000000000000000000000000000000000000000000000825281602080600483015282519283602484015260005b848110611609575050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f836000604480968601015201168101030190fd5b8181018301518682016044015285935082016115c8565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe181360301821215610159570180359067ffffffffffffffff82116101595760200191813603831361015957565b806116795750565b600080808093337ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1506114566114c1565b6116bc60009493859461020d6118ba565b91602083519301915af16116ce6114c1565b90156116d75750565b602081519101fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9190811015611750575b60051b0190565b61175861170f565b611749565b35611576816102b3565b909161178092811015611784575b60051b810190611620565b9091565b61178c61170f565b611775565b1561179857565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152fd5b6bffffffffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000006001549260601b169116178060015560601c73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000167f47e55c76e7a6f1fd8996a1da8008c1ea29699cca35e7bcd057f2dec313b6e5de600080a3565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163314801561195f575b1561190157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f6163636f756e743a206e6f74204f776e6572206f7220456e747279506f696e746044820152fd5b5060015460601c33146118fa565b906119f06119e873ffffffffffffffffffffffffffffffffffffffff9260405160208101917f19457468657265756d205369676e6564204d6573736167653a0a3332000000008352603c820152603c81526119c7816108e7565b5190206119e261020d60015460601c96610140810190611620565b90611bc2565b919091611a39565b16036119fb57600090565b600190565b60051115611a0a57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b611a4281611a00565b80611a4a5750565b611a5381611a00565b60018103611aba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606490fd5b611ac381611a00565b60028103611b2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606490fd5b80611b36600392611a00565b14611b3d57565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608490fd5b906041815114600014611bec57611780916020820151906060604084015193015160001a90611bf6565b5050600090600290565b9291907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311611c875791608094939160ff602094604051948552168484015260408301526060820152600093849182805260015afa15611c7a575b815173ffffffffffffffffffffffffffffffffffffffff811615611c74579190565b50600190565b611c826111fe565b611c52565b50505050600090600390565b600091829182602083519301915af16116ce6114c1565b60015460601c33148015611d1e575b15611cc057565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c79206f776e6572000000000000000000000000000000000000000000006044820152fd5b50303314611cb956fea2646970667358221220593fa2403beef0636f4ff38625c8e0f27859145384a308b0a9f2e56754fd82f664736f6c63430008110033",Hin=function(t){return t.length>1},zin=function(t){Uin(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var Win=r_&&r_.__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)}}();r_.__esModule=!0;r_.SimpleAccountFactory__factory=void 0;var vle=Je(),XK=[{inputs:[{internalType:"contract IEntryPoint",name:"_entryPoint",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"accountImplementation",outputs:[{internalType:"contract SimpleAccount",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"uint256",name:"salt",type:"uint256"}],name:"createAccount",outputs:[{internalType:"contract SimpleAccount",name:"ret",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"uint256",name:"salt",type:"uint256"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],_o0="0x60a060405234801561001057600080fd5b50604051612f0f380380612f0f83398101604081905261002f91610088565b8060405161003c9061007b565b6001600160a01b039091168152602001604051809103906000f080158015610068573d6000803e3d6000fd5b506001600160a01b0316608052506100b8565b61218980610d8683390190565b60006020828403121561009a57600080fd5b81516001600160a01b03811681146100b157600080fd5b9392505050565b608051610ca66100e060003960008181604b0152818161011401526102580152610ca66000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806311464fbe146100465780635fbfb9cf146100965780638cb84e18146100a9575b600080fd5b61006d7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61006d6100a436600461039d565b6100bc565b61006d6100b736600461039d565b6101ee565b6000806100c984846101ee565b905073ffffffffffffffffffffffffffffffffffffffff81163b80156100f1575090506101e8565b60405173ffffffffffffffffffffffffffffffffffffffff8616602482015284907f000000000000000000000000000000000000000000000000000000000000000090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fc4d66de800000000000000000000000000000000000000000000000000000000179052516101b790610390565b6101c2929190610412565b8190604051809103906000f59050801580156101e2573d6000803e3d6000fd5b50925050505b92915050565b60006103578260001b6040518060200161020790610390565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082820381018352601f90910116604081905273ffffffffffffffffffffffffffffffffffffffff871660248201527f000000000000000000000000000000000000000000000000000000000000000090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fc4d66de800000000000000000000000000000000000000000000000000000000179052905161030093929101610412565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905261033c9291602001610480565b6040516020818303038152906040528051906020012061035e565b9392505050565b60006103578383306000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b6107c1806104b083390190565b600080604083850312156103b057600080fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146103d457600080fd5b946020939093013593505050565b60005b838110156103fd5781810151838201526020016103e5565b8381111561040c576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff83168152604060208201526000825180604084015261044d8160608501602087016103e2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016060019392505050565b600083516104928184602088016103e2565b8351908301906104a68183602088016103e2565b0194935050505056fe60806040526040516107c13803806107c183398101604081905261002291610321565b61002e82826000610035565b505061043e565b61003e8361006b565b60008251118061004b5750805b156100665761006483836100ab60201b6100291760201c565b505b505050565b610074816100d7565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100d0838360405180606001604052806027815260200161079a602791396101a9565b9392505050565b6100ea8161022260201b6100551760201c565b6101515760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806101887f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61023160201b6100711760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080856001600160a01b0316856040516101c691906103ef565b600060405180830381855af49150503d8060008114610201576040519150601f19603f3d011682016040523d82523d6000602084013e610206565b606091505b50909250905061021886838387610234565b9695505050505050565b6001600160a01b03163b151590565b90565b606083156102a357825160000361029c576001600160a01b0385163b61029c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610148565b50816102ad565b6102ad83836102b5565b949350505050565b8151156102c55781518083602001fd5b8060405162461bcd60e51b8152600401610148919061040b565b634e487b7160e01b600052604160045260246000fd5b60005b838110156103105781810151838201526020016102f8565b838111156100645750506000910152565b6000806040838503121561033457600080fd5b82516001600160a01b038116811461034b57600080fd5b60208401519092506001600160401b038082111561036857600080fd5b818501915085601f83011261037c57600080fd5b81518181111561038e5761038e6102df565b604051601f8201601f19908116603f011681019083821181831017156103b6576103b66102df565b816040528281528860208487010111156103cf57600080fd5b6103e08360208301602088016102f5565b80955050505050509250929050565b600082516104018184602087016102f5565b9190910192915050565b602081526000825180602084015261042a8160408501602087016102f5565b601f01601f19169190910160400192915050565b61034d8061044d6000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610074565b6100b9565b565b606061004e83836040518060600160405280602781526020016102f1602791396100dd565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b90565b60006100b47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b3660008037600080366000845af43d6000803e8080156100d8573d6000f35b3d6000fd5b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516101079190610283565b600060405180830381855af49150503d8060008114610142576040519150601f19603f3d011682016040523d82523d6000602084013e610147565b606091505b509150915061015886838387610162565b9695505050505050565b606083156101fd5782516000036101f65773ffffffffffffffffffffffffffffffffffffffff85163b6101f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b5081610207565b610207838361020f565b949350505050565b81511561021f5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ed919061029f565b60005b8381101561026e578181015183820152602001610256565b8381111561027d576000848401525b50505050565b60008251610295818460208701610253565b9190910192915050565b60208152600082518060208401526102be816040850160208701610253565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212201cd78ab6a31213989661cff2d7d05fc9b9c38b1a848e8249e2e398659a9eb7e364736f6c634300080f0033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122030a4cd3aed4a6d9ec37ebc1d87061b12ed9906b5ba9c82d2d00395cabba20fbd64736f6c634300080f003360c0604052306080523480156200001557600080fd5b506040516200218938038062002189833981016040819052620000389162000118565b6001600160a01b03811660a0526200004f62000056565b506200014a565b600054610100900460ff1615620000c35760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116101562000116576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6000602082840312156200012b57600080fd5b81516001600160a01b03811681146200014357600080fd5b9392505050565b60805160a051611fd3620001b66000396000818161023b01528181610624015281816106cb01528181610aad01528181610d0c0152818161106801526113fc0152600081816103ef0152818161049f0152818161078f0152818161083f01526109880152611fd36000f3fe6080604052600436106100d65760003560e01c806352d1902d1161007f578063b0d691fe11610059578063b0d691fe1461022c578063b61d27f61461025f578063c399ec881461027f578063c4d66de81461029457600080fd5b806352d1902d146101925780638da5cb5b146101a7578063affed0e01461020957600080fd5b80634a58db19116100b05780634a58db19146101575780634d44560d1461015f5780634f1ef2861461017f57600080fd5b806318dfb3c7146100e25780633659cfe6146101045780633a871cdd1461012457600080fd5b366100dd57005b600080fd5b3480156100ee57600080fd5b506101026100fd366004611aaa565b6102b4565b005b34801561011057600080fd5b5061010261011f366004611b38565b6103d8565b34801561013057600080fd5b5061014461013f366004611b55565b6105dd565b6040519081526020015b60405180910390f35b610102610622565b34801561016b57600080fd5b5061010261017a366004611ba9565b6106c1565b61010261018d366004611c04565b610778565b34801561019e57600080fd5b5061014461096e565b3480156101b357600080fd5b506001546101e4906c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161014e565b34801561021557600080fd5b506001546bffffffffffffffffffffffff16610144565b34801561023857600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006101e4565b34801561026b57600080fd5b5061010261027a366004611ce6565b610a5a565b34801561028b57600080fd5b50610144610aa9565b3480156102a057600080fd5b506101026102af366004611b38565b610b61565b6102bc610cf4565b82811461032a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f77726f6e67206172726179206c656e677468730000000000000000000000000060448201526064015b60405180910390fd5b60005b838110156103d1576103bf85858381811061034a5761034a611d6f565b905060200201602081019061035f9190611b38565b600085858581811061037357610373611d6f565b90506020028101906103859190611d9e565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610dc792505050565b806103c981611e32565b91505061032d565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016300361049d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c00000000000000000000000000000000000000006064820152608401610321565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166105127f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16146105b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f787900000000000000000000000000000000000000006064820152608401610321565b6105be81610e44565b604080516000808252602082019092526105da91839190610e4c565b50565b60006105e7611050565b6105f184846110ef565b90506106006040850185611d9e565b905060000361061257610612846111e1565b61061b826112aa565b9392505050565b7f00000000000000000000000000000000000000000000000000000000000000006040517fb760faf900000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff919091169063b760faf99034906024016000604051808303818588803b1580156106ad57600080fd5b505af11580156103d1573d6000803e3d6000fd5b6106c9611315565b7f00000000000000000000000000000000000000000000000000000000000000006040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260248201849052919091169063205c287890604401600060405180830381600087803b15801561075c57600080fd5b505af1158015610770573d6000803e3d6000fd5b505050505050565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016300361083d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c00000000000000000000000000000000000000006064820152608401610321565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166108b27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f787900000000000000000000000000000000000000006064820152608401610321565b61095e82610e44565b61096a82826001610e4c565b5050565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610a35576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610321565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b610a62610cf4565b610aa3848484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610dc792505050565b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610b38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5c9190611e6a565b905090565b600054610100900460ff1615808015610b815750600054600160ff909116105b80610b9b5750303b158015610b9b575060005460ff166001145b610c27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610321565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610c8557600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610c8e826113b0565b801561096a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161480610d5f57506001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633145b610dc5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f6163636f756e743a206e6f74204f776e6572206f7220456e747279506f696e746044820152606401610321565b565b6000808473ffffffffffffffffffffffffffffffffffffffff168484604051610df09190611eaf565b60006040518083038185875af1925050503d8060008114610e2d576040519150601f19603f3d011682016040523d82523d6000602084013e610e32565b606091505b5091509150816103d157805160208201fd5b6105da611315565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610e8457610e7f83611448565b505050565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610f09575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252610f0691810190611e6a565b60015b610f95576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f7420555550530000000000000000000000000000000000006064820152608401610321565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8114611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c655555494400000000000000000000000000000000000000000000006064820152608401610321565b50610e7f838383611552565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610dc5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6163636f756e743a206e6f742066726f6d20456e747279506f696e74000000006044820152606401610321565b600080611149836040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b905061119961115c610140860186611d9e565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525085939250506115779050565b6001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff9081169116146111d55760019150506111db565b60009150505b92915050565b600180546020830135916bffffffffffffffffffffffff90911690600061120783611ecb565b91906101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506bffffffffffffffffffffffff16146105da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f6163636f756e743a20696e76616c6964206e6f6e6365000000000000000000006044820152606401610321565b80156105da5760405160009033907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90849084818181858888f193505050503d80600081146103d1576040519150601f19603f3d011682016040523d82523d6000602084013e6103d1565b6001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633148061134a57503330145b610dc5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c79206f776e6572000000000000000000000000000000000000000000006044820152606401610321565b600180546bffffffffffffffffffffffff166c0100000000000000000000000073ffffffffffffffffffffffffffffffffffffffff8481168202929092179283905560405192048116917f0000000000000000000000000000000000000000000000000000000000000000909116907f47e55c76e7a6f1fd8996a1da8008c1ea29699cca35e7bcd057f2dec313b6e5de90600090a350565b73ffffffffffffffffffffffffffffffffffffffff81163b6114ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e7472616374000000000000000000000000000000000000006064820152608401610321565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61155b8361159b565b6000825111806115685750805b15610e7f57610aa383836115e8565b6000806000611586858561160d565b9150915061159381611652565b509392505050565b6115a481611448565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606061061b8383604051806060016040528060278152602001611f7760279139611805565b60008082516041036116435760208301516040840151606085015160001a6116378782858561188a565b9450945050505061164b565b506000905060025b9250929050565b600081600481111561166657611666611ef6565b0361166e5750565b600181600481111561168257611682611ef6565b036116e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610321565b60028160048111156116fd576116fd611ef6565b03611764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610321565b600381600481111561177857611778611ef6565b036105da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610321565b60606000808573ffffffffffffffffffffffffffffffffffffffff168560405161182f9190611eaf565b600060405180830381855af49150503d806000811461186a576040519150601f19603f3d011682016040523d82523d6000602084013e61186f565b606091505b509150915061188086838387611979565b9695505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156118c15750600090506003611970565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611915573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661196957600060019250925050611970565b9150600090505b94509492505050565b60608315611a0f578251600003611a085773ffffffffffffffffffffffffffffffffffffffff85163b611a08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610321565b5081611a19565b611a198383611a21565b949350505050565b815115611a315781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103219190611f25565b60008083601f840112611a7757600080fd5b50813567ffffffffffffffff811115611a8f57600080fd5b6020830191508360208260051b850101111561164b57600080fd5b60008060008060408587031215611ac057600080fd5b843567ffffffffffffffff80821115611ad857600080fd5b611ae488838901611a65565b90965094506020870135915080821115611afd57600080fd5b50611b0a87828801611a65565b95989497509550505050565b73ffffffffffffffffffffffffffffffffffffffff811681146105da57600080fd5b600060208284031215611b4a57600080fd5b813561061b81611b16565b600080600060608486031215611b6a57600080fd5b833567ffffffffffffffff811115611b8157600080fd5b84016101608187031215611b9457600080fd5b95602085013595506040909401359392505050565b60008060408385031215611bbc57600080fd5b8235611bc781611b16565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060408385031215611c1757600080fd5b8235611c2281611b16565b9150602083013567ffffffffffffffff80821115611c3f57600080fd5b818501915085601f830112611c5357600080fd5b813581811115611c6557611c65611bd5565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715611cab57611cab611bd5565b81604052828152886020848701011115611cc457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60008060008060608587031215611cfc57600080fd5b8435611d0781611b16565b935060208501359250604085013567ffffffffffffffff80821115611d2b57600080fd5b818701915087601f830112611d3f57600080fd5b813581811115611d4e57600080fd5b886020828501011115611d6057600080fd5b95989497505060200194505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611dd357600080fd5b83018035915067ffffffffffffffff821115611dee57600080fd5b60200191503681900382131561164b57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611e6357611e63611e03565b5060010190565b600060208284031215611e7c57600080fd5b5051919050565b60005b83811015611e9e578181015183820152602001611e86565b83811115610aa35750506000910152565b60008251611ec1818460208701611e83565b9190910192915050565b60006bffffffffffffffffffffffff808316818103611eec57611eec611e03565b6001019392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020815260008251806020840152611f44816040850160208701611e83565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220fd4b8799a91c8d4b8c5386672729ac9615b60b5f5b7dbac6da122be87a2a90b164736f6c634300080f0033",qin=function(t){return t.length>1},jin=function(t){Win(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();ZK.__esModule=!0;ZK.StakeManager__factory=void 0;var Ao0=Je(),Tle=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalDeposit",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalStaked",type:"uint256"},{indexed:!1,internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],name:"StakeLocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"withdrawTime",type:"uint256"}],name:"StakeUnlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"StakeWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",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:"account",type:"address"}],name:"depositTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"getDepositInfo",outputs:[{components:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],internalType:"struct IStakeManager.DepositInfo",name:"info",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"withdrawAmount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],Gin=function(){function t(){}return t.createInterface=function(){return new Ao0.utils.Interface(Tle)},t.connect=function(e,n){return new Ao0.Contract(e,Tle,n)},t.abi=Tle,t}();ZK.StakeManager__factory=Gin});var _le=D(f_=>{"use strict";u();p();var Kin=f_&&f_.__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)}}();f_.__esModule=!0;f_.TokenPaymaster__factory=void 0;var Ele=Je(),eQ=[{inputs:[{internalType:"address",name:"accountFactory",type:"address"},{internalType:"string",name:"_symbol",type:"string"},{internalType:"contract IEntryPoint",name:"_entryPoint",type:"address"}],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:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",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:[],name:"COST_OF_POST",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",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:"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:[],name:"deposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",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:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"mintTokens",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"enum IPaymaster.PostOpMode",name:"mode",type:"uint8"},{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"actualGasCost",type:"uint256"}],name:"postOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"theFactory",outputs:[{internalType:"address",name:"",type:"address"}],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:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"maxCost",type:"uint256"}],name:"validatePaymasterUserOp",outputs:[{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],Co0="0x60c06040523480156200001157600080fd5b506040516200224438038062002244833981016040819052620000349162000327565b8180826200004233620000a0565b6001600160a01b031660805260046200005c8382620004bc565b5060056200006b8282620004bc565b5050506001600160a01b03831660a05262000088306001620000f0565b620000973033600019620001b9565b505050620005af565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200014c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b806003600082825462000160919062000588565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0383166200021d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000143565b6001600160a01b038216620002805760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000143565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b505050565b6001600160a01b0381168114620002fc57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b80516200032281620002e6565b919050565b6000806000606084860312156200033d57600080fd5b83516200034a81620002e6565b602085810151919450906001600160401b03808211156200036a57600080fd5b818701915087601f8301126200037f57600080fd5b815181811115620003945762000394620002ff565b604051601f8201601f19908116603f01168101908382118183101715620003bf57620003bf620002ff565b816040528281528a86848701011115620003d857600080fd5b600093505b82841015620003fc5784840186015181850187015292850192620003dd565b828411156200040e5760008684830101525b809750505050505050620004256040850162000315565b90509250925092565b600181811c908216806200044357607f821691505b6020821081036200046457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002e157600081815260208120601f850160051c81016020861015620004935750805b601f850160051c820191505b81811015620004b4578281556001016200049f565b505050505050565b81516001600160401b03811115620004d857620004d8620002ff565b620004f081620004e984546200042e565b846200046a565b602080601f8311600181146200052857600084156200050f5750858301515b600019600386901b1c1916600185901b178555620004b4565b600085815260208120601f198616915b82811015620005595788860151825594840194600190910190840162000538565b5085821015620005785787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008219821115620005aa57634e487b7160e01b600052601160045260246000fd5b500190565b60805160a051611c376200060d6000396000818161039201526116fa015260008181610426015281816105970152818161070b015281816108ea015281816109b101528181610a4101528181610af401526111f80152611c376000f3fe6080604052600436106101a15760003560e01c80639f5ca221116100e1578063c23a5cea1161008a578063dd62ed3e11610064578063dd62ed3e1461049a578063f0dda65c146104ed578063f2fde38b1461050d578063f465c77e1461052d57600080fd5b8063c23a5cea1461045d578063c399ec881461047d578063d0e30db01461049257600080fd5b8063a9a23409116100bb578063a9a23409146103f4578063b0d691fe14610414578063bb9fe6bf1461044857600080fd5b80639f5ca22114610380578063a457c2d7146103b4578063a9059cbb146103d457600080fd5b8063313ce5671161014e578063715018a611610128578063715018a6146102f4578063796d4371146103095780638da5cb5b1461031f57806395d89b411461036b57600080fd5b8063313ce56714610275578063395093511461029157806370a08231146102b157600080fd5b806318160ddd1161017f57806318160ddd14610216578063205c28781461023557806323b872dd1461025557600080fd5b80630396cb60146101a657806306fdde03146101bb578063095ea7b3146101e6575b600080fd5b6101b96101b43660046117a8565b61055b565b005b3480156101c757600080fd5b506101d061060d565b6040516101dd9190611840565b60405180910390f35b3480156101f257600080fd5b50610206610201366004611875565b61069f565b60405190151581526020016101dd565b34801561022257600080fd5b506003545b6040519081526020016101dd565b34801561024157600080fd5b506101b9610250366004611875565b6106b7565b34801561026157600080fd5b506102066102703660046118a1565b61074f565b34801561028157600080fd5b50604051601281526020016101dd565b34801561029d57600080fd5b506102066102ac366004611875565b610773565b3480156102bd57600080fd5b506102276102cc3660046118e2565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b34801561030057600080fd5b506101b96107bf565b34801561031557600080fd5b50610227613a9881565b34801561032b57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101dd565b34801561037757600080fd5b506101d06107d3565b34801561038c57600080fd5b506103467f000000000000000000000000000000000000000000000000000000000000000081565b3480156103c057600080fd5b506102066103cf366004611875565b6107e2565b3480156103e057600080fd5b506102066103ef366004611875565b6108b8565b34801561040057600080fd5b506101b961040f3660046118ff565b6108c6565b34801561042057600080fd5b506103467f000000000000000000000000000000000000000000000000000000000000000081565b34801561045457600080fd5b506101b96108e0565b34801561046957600080fd5b506101b96104783660046118e2565b610964565b34801561048957600080fd5b50610227610a10565b6101b9610ac6565b3480156104a657600080fd5b506102276104b536600461198e565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b3480156104f957600080fd5b506101b9610508366004611875565b610b4e565b34801561051957600080fd5b506101b96105283660046118e2565b610b64565b34801561053957600080fd5b5061054d6105483660046119c7565b610bcd565b6040516101dd929190611a1b565b610563610bf0565b6040517f0396cb6000000000000000000000000000000000000000000000000000000000815263ffffffff821660048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690630396cb609034906024016000604051808303818588803b1580156105f157600080fd5b505af1158015610605573d6000803e3d6000fd5b505050505050565b60606004805461061c90611a3d565b80601f016020809104026020016040519081016040528092919081815260200182805461064890611a3d565b80156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b5050505050905090565b6000336106ad818585610c71565b5060019392505050565b6106bf610bf0565b6040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063205c287890604401600060405180830381600087803b1580156105f157600080fd5b60003361075d858285610e24565b610768858585610ef5565b506001949350505050565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906106ad90829086906107ba908790611a90565b610c71565b6107c7610bf0565b6107d1600061116b565b565b60606005805461061c90611a3d565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156108ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6107688286868403610c71565b6000336106ad818585610ef5565b6108ce6111e0565b6108da8484848461127f565b50505050565b6108e8610bf0565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663bb9fe6bf6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561095057600080fd5b505af11580156108da573d6000803e3d6000fd5b61096c610bf0565b6040517fc23a5cea00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c23a5cea90602401600060405180830381600087803b1580156109f557600080fd5b505af1158015610a09573d6000803e3d6000fd5b5050505050565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610a9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac19190611acf565b905090565b6040517fb760faf90000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063b760faf99034906024016000604051808303818588803b1580156109f557600080fd5b610b56610bf0565b610b6082826112b2565b5050565b610b6c610bf0565b610b9630610b8f60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000610c71565b610b9f816113a7565b610bca30827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610c71565b50565b60606000610bd96111e0565b610be485858561145b565b91509150935093915050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108a2565b73ffffffffffffffffffffffffffffffffffffffff8316610d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108a2565b73ffffffffffffffffffffffffffffffffffffffff8216610db6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016108a2565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600260209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146108da5781811015610ee8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108a2565b6108da8484848403610c71565b73ffffffffffffffffffffffffffffffffffffffff8316610f98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016108a2565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016108a2565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016108a2565b73ffffffffffffffffffffffffffffffffffffffff80851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061115e9086815260200190565b60405180910390a36108da565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146107d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e74000000000000000000000060448201526064016108a2565b600061128d838501856118e2565b905060006112a56112a0613a9885611a90565b6116a4565b9050610605823083610ef5565b73ffffffffffffffffffffffffffffffffffffffff821661132f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108a2565b80600360008282546113419190611a90565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6113af610bf0565b73ffffffffffffffffffffffffffffffffffffffff8116611452576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108a2565b610bca8161116b565b6060600080611469846116a4565b9050613a988660a0013511611500576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f546f6b656e5061796d61737465723a2067617320746f6f206c6f7720666f722060448201527f706f73744f70000000000000000000000000000000000000000000000000000060648201526084016108a2565b61150d6040870187611ae8565b1590506115c15761151d866116b7565b8061152e6102cc60208901896118e2565b10156115bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f546f6b656e5061796d61737465723a206e6f2062616c616e636520287072652d60448201527f637265617465290000000000000000000000000000000000000000000000000060648201526084016108a2565b61163a565b806115d26102cc60208901896118e2565b101561163a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f546f6b656e5061796d61737465723a206e6f2062616c616e636500000000000060448201526064016108a2565b61164760208701876118e2565b6040805173ffffffffffffffffffffffffffffffffffffffff909216602083015201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190529660009650945050505050565b60006116b1606483611b54565b92915050565b60006116c66040830183611ae8565b6116d591601491600091611b8f565b6116de91611bb9565b60601c905073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168114610b60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f546f6b656e5061796d61737465723a2077726f6e67206163636f756e7420666160448201527f63746f727900000000000000000000000000000000000000000000000000000060648201526084016108a2565b6000602082840312156117ba57600080fd5b813563ffffffff811681146117ce57600080fd5b9392505050565b6000815180845260005b818110156117fb576020818501810151868301820152016117df565b8181111561180d576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006117ce60208301846117d5565b73ffffffffffffffffffffffffffffffffffffffff81168114610bca57600080fd5b6000806040838503121561188857600080fd5b823561189381611853565b946020939093013593505050565b6000806000606084860312156118b657600080fd5b83356118c181611853565b925060208401356118d181611853565b929592945050506040919091013590565b6000602082840312156118f457600080fd5b81356117ce81611853565b6000806000806060858703121561191557600080fd5b84356003811061192457600080fd5b9350602085013567ffffffffffffffff8082111561194157600080fd5b818701915087601f83011261195557600080fd5b81358181111561196457600080fd5b88602082850101111561197657600080fd5b95986020929092019750949560400135945092505050565b600080604083850312156119a157600080fd5b82356119ac81611853565b915060208301356119bc81611853565b809150509250929050565b6000806000606084860312156119dc57600080fd5b833567ffffffffffffffff8111156119f357600080fd5b84016101608187031215611a0657600080fd5b95602085013595506040909401359392505050565b604081526000611a2e60408301856117d5565b90508260208301529392505050565b600181811c90821680611a5157607f821691505b602082108103611a8a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60008219821115611aca577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500190565b600060208284031215611ae157600080fd5b5051919050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611b1d57600080fd5b83018035915067ffffffffffffffff821115611b3857600080fd5b602001915036819003821315611b4d57600080fd5b9250929050565b600082611b8a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60008085851115611b9f57600080fd5b83861115611bac57600080fd5b5050820193919092039150565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008135818116916014851015611bf95780818660140360031b1b83161692505b50509291505056fea2646970667358221220a332863119321216e5189708c2880dbc64e46a1707c0f292f429daa2c9a7ea3764736f6c634300080f0033",Qin=function(t){return t.length>1},Vin=function(t){Kin(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var Yin=i_&&i_.__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)}}();i_.__esModule=!0;i_.VerifyingPaymaster__factory=void 0;var Ale=Je(),tQ=[{inputs:[{internalType:"contract IEntryPoint",name:"_entryPoint",type:"address"},{internalType:"address",name:"_verifyingSigner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{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:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"deposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"uint48",name:"validAfter",type:"uint48"}],name:"getHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"paymasterAndData",type:"bytes"}],name:"parsePaymasterAndData",outputs:[{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"bytes",name:"signature",type:"bytes"}],stateMutability:"pure",type:"function"},{inputs:[{internalType:"enum IPaymaster.PostOpMode",name:"mode",type:"uint8"},{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"actualGasCost",type:"uint256"}],name:"postOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"senderNonce",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:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",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:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"maxCost",type:"uint256"}],name:"validatePaymasterUserOp",outputs:[{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"verifyingSigner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],Io0="0x60c06040523480156200001157600080fd5b5060405162001723380380620017238339810160408190526200003491620000c2565b81620000403362000059565b6001600160a01b039081166080521660a0525062000101565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381168114620000bf57600080fd5b50565b60008060408385031215620000d657600080fd5b8251620000e381620000a9565b6020840151909250620000f681620000a9565b809150509250929050565b60805160a0516115c46200015f6000396000818161013f0152610ca20152600081816102880152818161038601528181610450015281816105730152818161063a015281816106ca0152818161077d0152610a0401526115c46000f3fe6080604052600436106100f35760003560e01c8063a9a234091161008a578063c399ec8811610059578063c399ec88146102df578063d0e30db0146102f4578063f2fde38b146102fc578063f465c77e1461031c57600080fd5b8063a9a2340914610256578063b0d691fe14610276578063bb9fe6bf146102aa578063c23a5cea146102bf57600080fd5b80638da5cb5b116100c65780638da5cb5b146101a057806394d4ad60146101cb57806394e1fc19146101fb5780639c90b4431461022957600080fd5b80630396cb60146100f8578063205c28781461010d57806323d9ac9b1461012d578063715018a61461018b575b600080fd5b61010b610106366004611075565b61034a565b005b34801561011957600080fd5b5061010b6101283660046110c4565b6103fc565b34801561013957600080fd5b506101617f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561019757600080fd5b5061010b610494565b3480156101ac57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610161565b3480156101d757600080fd5b506101eb6101e6366004611132565b6104a8565b6040516101829493929190611174565b34801561020757600080fd5b5061021b610216366004611212565b6104e5565b604051908152602001610182565b34801561023557600080fd5b5061021b610244366004611270565b60016020526000908152604090205481565b34801561026257600080fd5b5061010b61027136600461128d565b61054f565b34801561028257600080fd5b506101617f000000000000000000000000000000000000000000000000000000000000000081565b3480156102b657600080fd5b5061010b610569565b3480156102cb57600080fd5b5061010b6102da366004611270565b6105ed565b3480156102eb57600080fd5b5061021b610699565b61010b61074f565b34801561030857600080fd5b5061010b610317366004611270565b6107d7565b34801561032857600080fd5b5061033c6103373660046112ed565b610893565b6040516101829291906113a6565b6103526108b7565b6040517f0396cb6000000000000000000000000000000000000000000000000000000000815263ffffffff821660048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690630396cb609034906024016000604051808303818588803b1580156103e057600080fd5b505af11580156103f4573d6000803e3d6000fd5b505050505050565b6104046108b7565b6040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063205c287890604401600060405180830381600087803b1580156103e057600080fd5b61049c6108b7565b6104a66000610938565b565b60008036816104bb6054601487896113c8565b8101906104c891906113f2565b90945092506104da85605481896113c8565b949793965094505050565b60006104f0846109ad565b73ffffffffffffffffffffffffffffffffffffffff8535166000908152600160209081526040918290205491516105309392469230928991899101611425565b6040516020818303038152906040528051906020012090509392505050565b6105576109ec565b61056384848484610a8b565b50505050565b6105716108b7565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663bb9fe6bf6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156105d957600080fd5b505af1158015610563573d6000803e3d6000fd5b6105f56108b7565b6040517fc23a5cea00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c23a5cea90602401600060405180830381600087803b15801561067e57600080fd5b505af1158015610692573d6000803e3d6000fd5b5050505050565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610726573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074a9190611482565b905090565b6040517fb760faf90000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063b760faf99034906024016000604051808303818588803b15801561067e57600080fd5b6107df6108b7565b73ffffffffffffffffffffffffffffffffffffffff8116610887576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61089081610938565b50565b6060600061089f6109ec565b6108aa858585610aed565b915091505b935093915050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161087e565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60603660006109c061012085018561149b565b915091508360208184030360405194506020810185016040528085528082602087013750505050919050565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146104a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e740000000000000000000000604482015260640161087e565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f6d757374206f7665727269646500000000000000000000000000000000000000604482015260640161087e565b6060600080803681610b066101e66101208b018b61149b565b929650909450925090506040811480610b1f5750604181145b610bad57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f566572696679696e675061796d61737465723a20696e76616c6964207369676e60448201527f6174757265206c656e67746820696e207061796d6173746572416e6444617461606482015260840161087e565b6000610c10610bbd8b87876104e5565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b73ffffffffffffffffffffffffffffffffffffffff8b35166000908152600160205260408120805492935090610c4583611500565b9190505550610c8a8184848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610d3292505050565b73ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1614610d0757610ce860018686610d56565b60405180602001604052806000815250909650965050505050506108af565b610d1360008686610d56565b6040805160208101909152600081529b909a5098505050505050505050565b6000806000610d418585610d8e565b91509150610d4e81610dd3565b509392505050565b600060d08265ffffffffffff16901b60a08465ffffffffffff16901b85610d7e576000610d81565b60015b60ff161717949350505050565b6000808251604103610dc45760208301516040840151606085015160001a610db887828585610f86565b94509450505050610dcc565b506000905060025b9250929050565b6000816004811115610de757610de761155f565b03610def5750565b6001816004811115610e0357610e0361155f565b03610e6a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161087e565b6002816004811115610e7e57610e7e61155f565b03610ee5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161087e565b6003816004811115610ef957610ef961155f565b03610890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f7565000000000000000000000000000000000000000000000000000000000000606482015260840161087e565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610fbd575060009050600361106c565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611011573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166110655760006001925092505061106c565b9150600090505b94509492505050565b60006020828403121561108757600080fd5b813563ffffffff8116811461109b57600080fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461089057600080fd5b600080604083850312156110d757600080fd5b82356110e2816110a2565b946020939093013593505050565b60008083601f84011261110257600080fd5b50813567ffffffffffffffff81111561111a57600080fd5b602083019150836020828501011115610dcc57600080fd5b6000806020838503121561114557600080fd5b823567ffffffffffffffff81111561115c57600080fd5b611168858286016110f0565b90969095509350505050565b600065ffffffffffff8087168352808616602084015250606060408301528260608301528284608084013760006080848401015260807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f850116830101905095945050505050565b600061016082840312156111f157600080fd5b50919050565b803565ffffffffffff8116811461120d57600080fd5b919050565b60008060006060848603121561122757600080fd5b833567ffffffffffffffff81111561123e57600080fd5b61124a868287016111de565b935050611259602085016111f7565b9150611267604085016111f7565b90509250925092565b60006020828403121561128257600080fd5b813561109b816110a2565b600080600080606085870312156112a357600080fd5b8435600381106112b257600080fd5b9350602085013567ffffffffffffffff8111156112ce57600080fd5b6112da878288016110f0565b9598909750949560400135949350505050565b60008060006060848603121561130257600080fd5b833567ffffffffffffffff81111561131957600080fd5b611325868287016111de565b9660208601359650604090950135949350505050565b6000815180845260005b8181101561136157602081850181015186830182015201611345565b81811115611373576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6040815260006113b9604083018561133b565b90508260208301529392505050565b600080858511156113d857600080fd5b838611156113e557600080fd5b5050820193919092039150565b6000806040838503121561140557600080fd5b61140e836111f7565b915061141c602084016111f7565b90509250929050565b60c08152600061143860c083018961133b565b60208301979097525073ffffffffffffffffffffffffffffffffffffffff949094166040850152606084019290925265ffffffffffff90811660808401521660a090910152919050565b60006020828403121561149457600080fd5b5051919050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126114d057600080fd5b83018035915067ffffffffffffffff8211156114eb57600080fd5b602001915036819003821315610dcc57600080fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611558577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea26469706673582212201f0be91b92179d101ae4aa96dcbd313210e5b62f1b15c18338e0acb937cb466a64736f6c634300080f0033",$in=function(t){return t.length>1},Jin=function(t){Yin(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var Fs=An&&An.__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]});An.__esModule=!0;An.VerifyingPaymaster__factory=An.TokenPaymaster__factory=An.StakeManager__factory=An.SimpleAccountFactory__factory=An.SimpleAccount__factory=An.SenderCreator__factory=An.MaliciousAccount__factory=An.IStakeManager__factory=An.IPaymaster__factory=An.IEntryPoint__factory=An.IAggregator__factory=An.IAccount__factory=An.EntryPoint__factory=An.DepositPaymaster__factory=An.BrokenBLSAccountFactory__factory=An.BrokenBLSAccount__factory=An.BasePaymaster__factory=An.BaseAccount__factory=void 0;var Xin=Kde();Fs(An,Xin,"BaseAccount__factory");var Zin=Vde();Fs(An,Zin,"BasePaymaster__factory");var esn=$de();Fs(An,esn,"BrokenBLSAccount__factory");var tsn=Xde();Fs(An,tsn,"BrokenBLSAccountFactory__factory");var nsn=ele();Fs(An,nsn,"DepositPaymaster__factory");var asn=nle();Fs(An,asn,"EntryPoint__factory");var rsn=rle();Fs(An,rsn,"IAccount__factory");var fsn=ile();Fs(An,fsn,"IAggregator__factory");var isn=ole();Fs(An,isn,"IEntryPoint__factory");var ssn=dle();Fs(An,ssn,"IPaymaster__factory");var osn=ule();Fs(An,osn,"IStakeManager__factory");var csn=hle();Fs(An,csn,"MaliciousAccount__factory");var dsn=ble();Fs(An,dsn,"SenderCreator__factory");var lsn=gle();Fs(An,lsn,"SimpleAccount__factory");var usn=wle();Fs(An,usn,"SimpleAccountFactory__factory");var psn=xle();Fs(An,psn,"StakeManager__factory");var hsn=_le();Fs(An,hsn,"TokenPaymaster__factory");var msn=Cle();Fs(An,msn,"VerifyingPaymaster__factory")});var So0=D(un=>{"use strict";u();p();var Ns=un&&un.__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]});un.__esModule=!0;un.VerifyingPaymaster__factory=un.TokenPaymaster__factory=un.StakeManager__factory=un.SimpleAccountFactory__factory=un.SimpleAccount__factory=un.SenderCreator__factory=un.MaliciousAccount__factory=un.IStakeManager__factory=un.IPaymaster__factory=un.IEntryPoint__factory=un.IAggregator__factory=un.IAccount__factory=un.EntryPoint__factory=un.DepositPaymaster__factory=un.BrokenBLSAccountFactory__factory=un.BrokenBLSAccount__factory=un.BasePaymaster__factory=un.BaseAccount__factory=un.factories=void 0;un.factories=ko0();var bsn=Kde();Ns(un,bsn,"BaseAccount__factory");var ysn=Vde();Ns(un,ysn,"BasePaymaster__factory");var gsn=$de();Ns(un,gsn,"BrokenBLSAccount__factory");var vsn=Xde();Ns(un,vsn,"BrokenBLSAccountFactory__factory");var wsn=ele();Ns(un,wsn,"DepositPaymaster__factory");var Tsn=nle();Ns(un,Tsn,"EntryPoint__factory");var xsn=rle();Ns(un,xsn,"IAccount__factory");var Esn=ile();Ns(un,Esn,"IAggregator__factory");var _sn=ole();Ns(un,_sn,"IEntryPoint__factory");var Asn=dle();Ns(un,Asn,"IPaymaster__factory");var Csn=ule();Ns(un,Csn,"IStakeManager__factory");var Isn=hle();Ns(un,Isn,"MaliciousAccount__factory");var ksn=ble();Ns(un,ksn,"SenderCreator__factory");var Ssn=gle();Ns(un,Ssn,"SimpleAccount__factory");var Rsn=wle();Ns(un,Rsn,"SimpleAccountFactory__factory");var Msn=xle();Ns(un,Msn,"StakeManager__factory");var Bsn=_le();Ns(un,Bsn,"TokenPaymaster__factory");var Dsn=Cle();Ns(un,Dsn,"VerifyingPaymaster__factory")});var kb=D(W9=>{"use strict";u();p();var Psn=W9&&W9.__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]}),Lsn=W9&&W9.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Psn(e,t,n)};W9.__esModule=!0;Lsn(So0(),W9)});async function q9(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=PK(a,r),o={};if(Ib(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"),H9(o)}let c=new s_.providers.StaticJsonRpcProvider({url:s,skipFetchSetup:i,headers:o},a),d=new s_.Contract(n,Nsn,c);try{return await d.isValidSignature(s_.utils.hashMessage(t),e)===Osn}catch{return!1}}async function Sb(t,e,n){let r=(await Bf(t,{clientId:e,secretKey:n}).getNetwork()).chainId;return r===324||r===300||r===302}var s_,Fsn,Nsn,Osn,nQ,aQ,Ro0,Ile,kle,Rb=oe(()=>{"use strict";u();p();s_=Ee(Je());rB();uh();$n();O9();Fsn=Ee(kb()),Nsn=["function isValidSignature(bytes32 _hash, bytes _signature) public view returns (bytes4)"],Osn="0x1626ba7e";nQ="0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",aQ="0x02101dfB77FDE026414827Fdc604ddAF224F0921",Ro0=5e4,Ile="0x85e23b94e7F5E9cC1fF78BCe78cfb15B81f0DF00",kle=[{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 yf(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 o_(t,e){if(!t)throw new Error(e)}function rQ(t){let e=document.createElement("iframe");return e.setAttribute("src",t),e.setAttribute("style",Gsn),e}function fQ(t){document.body.appendChild(t)}function N6(t){let e=t&&t.parentNode;e&&e.removeChild instanceof Function&&e.removeChild(t)}function iQ(t,e,n){return wa(this,void 0,void 0,function*(){if((t.status===403||t.status===401)&&(n&&n(),hQ(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 Wo0(){jle=!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 $sn(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=ld[t.charCodeAt(e)]<<2|ld[t.charCodeAt(e+1)]>>4,i[o++]=r&255):f===1&&(r=ld[t.charCodeAt(e)]<<10|ld[t.charCodeAt(e+1)]<<4|ld[t.charCodeAt(e+2)]>>2,i[o++]=r>>8&255,i[o++]=r&255),i}function Xsn(t){return O2[t>>18&63]+O2[t>>12&63]+O2[t>>6&63]+O2[t&63]}function Zsn(t,e,n){for(var a,r=[],f=e;fo?o:s+i));return a===1?(e=t[n-1],r+=O2[e>>2],r+=O2[e<<4&63],r+="=="):a===2&&(e=(t[n-2]<<8)+t[n-1],r+=O2[e>>10],r+=O2[e>>4&63],r+=O2[e<<2&63],r+="="),f.push(r),f.join("")}function mQ(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 qo0(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 cQ(){return y0.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ph(t,e){if(cQ()=cQ())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+cQ().toString(16)+" bytes");return t|0}function U2(t){return!!(t!=null&&t._isBuffer)}function Qo0(t,e){if(U2(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 dQ(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return e10(t).length;default:if(a)return dQ(t).length;e=(""+e).toLowerCase(),a=!0}}function ion(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 bon(this,e,n);case"utf8":case"utf-8":return $o0(this,e,n);case"ascii":return hon(this,e,n);case"latin1":case"binary":return mon(this,e,n);case"base64":return uon(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yon(this,e,n);default:if(a)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}function G9(t,e,n){var a=t[e];t[e]=t[n],t[n]=a}function Vo0(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)),U2(e))return e.length===0?-1:Oo0(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):Oo0(t,[e],n,a,r);throw new TypeError("val must be string, number or Buffer")}function Oo0(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 pon(a)}function pon(t){var e=t.length;if(e<=Uo0)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 n6(t,e,n,a,r,f){if(!U2(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function bQ(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 yQ(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 Jo0(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 Xo0(t,e,n,a,r){return r||Jo0(t,e,n,4),qo0(t,e,n,a,23,4),n+4}function Zo0(t,e,n,a,r){return r||Jo0(t,e,n,8),qo0(t,e,n,a,52,8),n+8}function von(t){if(t=won(t).replace(gon,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function won(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function Ton(t){return t<16?"0"+t.toString(16):t.toString(16)}function dQ(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 xon(t){for(var e=[],n=0;n>8,r=n%256,f.push(r),f.push(a);return f}function e10(t){return Jsn(von(t))}function gQ(t,e,n,a){for(var r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function _on(t){return t!==t}function Aon(t){return t!=null&&(!!t._isBuffer||t10(t)||Con(t))}function t10(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Con(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&t10(t.slice(0,0))}function Dle(){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 a10(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O6(t){"@babel/helpers - typeof";return O6=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},O6(t)}function Son(t,e){if(O6(t)!=="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var a=n.call(t,e||"default");if(O6(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ron(t){var e=Son(t,"string");return O6(e)==="symbol"?e:String(e)}function Ho0(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 sQ(t,e,n){return Pon()?sQ=Reflect.construct.bind():sQ=function(r,f,i){var s=[null];s.push.apply(s,f);var o=Function.bind.apply(r,s),c=new o;return i&&oB(c,i.prototype),c},sQ.apply(null,arguments)}function Ple(t){var e=typeof Map=="function"?new Map:void 0;return Ple=function(a){if(a===null||!Don(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 sQ(a,arguments,cB(this).constructor)}return r.prototype=Object.create(a.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),oB(r,a)},Ple(t)}function s10(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function dB(t,e,n,a){typeof a>"u"&&(a=s10()),Lle(t,"",0,[],void 0,0,a);var r;try{K9.length===0?r=JSON.stringify(t,e,n):r=JSON.stringify(t,c10(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;Q9.length!==0;){var f=Q9.pop();f.length===4?Object.defineProperty(f[0],f[1],f[3]):f[0][f[1]]=f[2]}}return r}function c_(t,e,n,a){var r=Object.getOwnPropertyDescriptor(a,n);r.get!==void 0?r.configurable?(Object.defineProperty(a,n,{value:t}),Q9.push([a,n,e,r])):K9.push([e,n,t]):(a[n]=t,Q9.push([a,n,e]))}function Lle(t,e,n,a,r,f,i){f+=1;var s;if(O6(t)==="object"&&t!==null){for(s=0;si.depthLimit){c_(lQ,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){c_(lQ,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;se?1:0}function o10(t,e,n,a){typeof a>"u"&&(a=s10());var r=Fle(t,"",0,[],void 0,0,a)||t,f;try{K9.length===0?f=JSON.stringify(r,e,n):f=JSON.stringify(r,c10(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;Q9.length!==0;){var i=Q9.pop();i.length===4?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}}return f}function Fle(t,e,n,a,r,f,i){f+=1;var s;if(O6(t)==="object"&&t!==null){for(s=0;si.depthLimit){c_(lQ,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){c_(lQ,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 Hon(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}function zon(t,e){if(e!=="[Circular]")return e}function Won(t){if(Array.isArray(t))return t}function qon(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 zo0(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"})(ql||(ql={}));(function(t){t.ETHEREUM="ethereum",t.APTOS="aptos"})(fs||(fs={}));Sle={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"},Mo0={prod:"https://wallet-v2.blocto.app",staging:"https://wallet-v2-staging.blocto.app",dev:"https://wallet-v2-dev.blocto.app"},Usn={prod:ql.prod,staging:ql.staging,dev:ql.dev},Hsn={1:ql.prod,2:ql.dev,3:ql.dev,4:ql.dev,5:ql.staging},zsn={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"})(j9||(j9={}));Wsn={1:j9.Mainnet,2:j9.Testnet,3:j9.Devnet,4:j9.Testing,5:j9.Premainnet},qsn={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"},Bo0=["connect","disconnect","message","chainChanged","accountsChanged"],jsn=86400*1e3,Hle="00000000-0000-0000-0000-000000000000",pQ="0.10.2",oQ=class{constructor(){this.isBlocto=!0,this.isConnecting=!1,this.eventListeners={},this.off=this.removeListener,Bo0.forEach(e=>{this.eventListeners[e]=[]}),this.appId=Hle}request(e){return wa(this,void 0,void 0,function*(){})}on(e,n){Bo0.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)}},Gsn="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;";Bb=(t,e,n=window)=>{function a(r){e(r,()=>n.removeEventListener(t,a))}n.addEventListener(t,a)},Ksn=()=>{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}},Rle=class{constructor(){this.storage={}}getItem(e){return this[e]||null}setItem(e,n){this.storage[e]=n}removeItem(e){delete this.storage[e]}},Qsn=typeof window<"u"?window.memoryStorage:new Rle,zle=Ksn()?window.sessionStorage:Qsn,Wle=(t,e=null)=>{let n=zle.getItem(t);try{return n&&JSON.parse(n)||e}catch{return n||e}},qle=(t,e)=>zle.setItem(t,typeof e=="string"?e:JSON.stringify(e)),hQ=t=>{qle(t,""),zle.removeItem(t)},Db=t=>{let e=Wle(t,null);return e?new Date().getTime()>e.expiry||e.v!==pQ?(hQ(t),null):e?.data:null},d_=(t,e,n)=>{var a,r,f;let i=Wle(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()+jsn,v:pQ};qle(t,s)},N2=(t,e)=>{var n,a,r;return!((n=Db(t))===null||n===void 0)&&n.code?((r=(a=Db(t))===null||a===void 0?void 0:a.accounts)===null||r===void 0?void 0:r[e])||null:(hQ(t),null)},Vsn=(t,e,n)=>{d_(t,{accounts:{[e]:n}})},Ysn=(t,e)=>{d_(t,{accounts:{[e]:void 0}})},fB=(t,e)=>{var n,a,r;return!((n=Db(t))===null||n===void 0)&&n.code?((r=(a=Db(t))===null||a===void 0?void 0:a.evm)===null||r===void 0?void 0:r[e])||null:(hQ(t),null)},Do0=(t,e,n)=>{d_(t,{evm:{[e]:n}})},Po0=t=>{let e=Wle(t);e&&(e.data.evm={},qle(t,e))};Lo0=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'})(sB||(sB={}));Fo0=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},O2=[],ld=[],$sn=typeof Uint8Array<"u"?Uint8Array:Array,jle=!1;eon={}.toString,jo0=Array.isArray||function(t){return eon.call(t)=="[object Array]"};ton=50;y0.TYPED_ARRAY_SUPPORT=Fo0.TYPED_ARRAY_SUPPORT!==void 0?Fo0.TYPED_ARRAY_SUPPORT:!0;cQ();y0.poolSize=8192;y0._augment=function(t){return t.__proto__=y0.prototype,t};y0.from=function(t,e,n){return Go0(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 non(null,t,e,n)};y0.allocUnsafe=function(t){return Gle(null,t)};y0.allocUnsafeSlow=function(t){return Gle(null,t)};y0.isBuffer=Aon;y0.compare=function(e,n){if(!U2(e)||!U2(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(!U2(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 son(this,e,n,a);case"utf8":case"utf-8":return oon(this,e,n,a);case"ascii":return Yo0(this,e,n,a);case"latin1":case"binary":return con(this,e,n,a);case"base64":return don(this,e,n,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return lon(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)}};Uo0=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||Os(e,1,this.length),this[e]};y0.prototype.readUInt16LE=function(e,n){return n||Os(e,2,this.length),this[e]|this[e+1]<<8};y0.prototype.readUInt16BE=function(e,n){return n||Os(e,2,this.length),this[e]<<8|this[e+1]};y0.prototype.readUInt32LE=function(e,n){return n||Os(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||Os(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||Os(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||Os(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||Os(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};y0.prototype.readInt16LE=function(e,n){n||Os(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||Os(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||Os(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||Os(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||Os(e,4,this.length),mQ(this,e,!0,23,4)};y0.prototype.readFloatBE=function(e,n){return n||Os(e,4,this.length),mQ(this,e,!1,23,4)};y0.prototype.readDoubleLE=function(e,n){return n||Os(e,8,this.length),mQ(this,e,!0,52,8)};y0.prototype.readDoubleBE=function(e,n){return n||Os(e,8,this.length),mQ(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;n6(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||n6(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||n6(this,e,n,2,65535,0),y0.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8):bQ(this,e,n,!0),n+2};y0.prototype.writeUInt16BE=function(e,n,a){return e=+e,n=n|0,a||n6(this,e,n,2,65535,0),y0.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=e&255):bQ(this,e,n,!1),n+2};y0.prototype.writeUInt32LE=function(e,n,a){return e=+e,n=n|0,a||n6(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):yQ(this,e,n,!0),n+4};y0.prototype.writeUInt32BE=function(e,n,a){return e=+e,n=n|0,a||n6(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):yQ(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);n6(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);n6(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||n6(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||n6(this,e,n,2,32767,-32768),y0.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8):bQ(this,e,n,!0),n+2};y0.prototype.writeInt16BE=function(e,n,a){return e=+e,n=n|0,a||n6(this,e,n,2,32767,-32768),y0.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=e&255):bQ(this,e,n,!1),n+2};y0.prototype.writeInt32LE=function(e,n,a){return e=+e,n=n|0,a||n6(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):yQ(this,e,n,!0),n+4};y0.prototype.writeInt32BE=function(e,n,a){return e=+e,n=n|0,a||n6(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):yQ(this,e,n,!1),n+4};y0.prototype.writeFloatLE=function(e,n,a){return Xo0(this,e,n,!0,a)};y0.prototype.writeFloatBE=function(e,n,a){return Xo0(this,e,n,!1,a)};y0.prototype.writeDoubleLE=function(e,n,a){return Zo0(this,e,n,!0,a)};y0.prototype.writeDoubleBE=function(e,n,a){return Zo0(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),Ion=t=>y0.from(t,"utf8").toString("hex"),n10=t=>!t||typeof t!="object"||!("from"in t)?{isValid:!1,invalidMsg:sB.INVALID_TRANSACTION}:t.value&&!Ble(t.value)?{isValid:!1,invalidMsg:sB.INVALID_TRANSACTION_VALUE}:{isValid:!0},kon=t=>{if(!Array.isArray(t))return{isValid:!1,invalidMsg:sB.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&&O6(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&&O6(h)==="object"&&!Array.isArray(h)?Object.assign({},h):h}function l(h,y){return Object.prototype.hasOwnProperty.call(h,y)}})(Qle);vQ={};Object.defineProperty(vQ,"__esModule",{value:!0});vQ.ethErrors=void 0;Vle=Pb,p10=Qle,u1=Lb;vQ.ethErrors={rpc:{parse:function(e){return dd(u1.errorCodes.rpc.parse,e)},invalidRequest:function(e){return dd(u1.errorCodes.rpc.invalidRequest,e)},invalidParams:function(e){return dd(u1.errorCodes.rpc.invalidParams,e)},methodNotFound:function(e){return dd(u1.errorCodes.rpc.methodNotFound,e)},internal:function(e){return dd(u1.errorCodes.rpc.internal,e)},server:function(e){if(!e||O6(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 dd(n,e)},invalidInput:function(e){return dd(u1.errorCodes.rpc.invalidInput,e)},resourceNotFound:function(e){return dd(u1.errorCodes.rpc.resourceNotFound,e)},resourceUnavailable:function(e){return dd(u1.errorCodes.rpc.resourceUnavailable,e)},transactionRejected:function(e){return dd(u1.errorCodes.rpc.transactionRejected,e)},methodNotSupported:function(e){return dd(u1.errorCodes.rpc.methodNotSupported,e)},limitExceeded:function(e){return dd(u1.errorCodes.rpc.limitExceeded,e)}},provider:{userRejectedRequest:function(e){return iB(u1.errorCodes.provider.userRejectedRequest,e)},unauthorized:function(e){return iB(u1.errorCodes.provider.unauthorized,e)},unsupportedMethod:function(e){return iB(u1.errorCodes.provider.unsupportedMethod,e)},disconnected:function(e){return iB(u1.errorCodes.provider.disconnected,e)},chainDisconnected:function(e){return iB(u1.errorCodes.provider.chainDisconnected,e)},custom:function(e){if(!e||O6(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 Vle.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=Pb;Object.defineProperty(t,"EthereumRpcError",{enumerable:!0,get:function(){return e.EthereumRpcError}}),Object.defineProperty(t,"EthereumProviderError",{enumerable:!0,get:function(){return e.EthereumProviderError}});var n=Qle;Object.defineProperty(t,"serializeError",{enumerable:!0,get:function(){return n.serializeError}}),Object.defineProperty(t,"getMessageFromCode",{enumerable:!0,get:function(){return n.getMessageFromCode}});var a=vQ;Object.defineProperty(t,"ethErrors",{enumerable:!0,get:function(){return a.ethErrors}});var r=Lb;Object.defineProperty(t,"errorCodes",{enumerable:!0,get:function(){return r.errorCodes}})})(jn);Ole=class extends oQ{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:ql.prod,walletServer:this.injectedWalletServer||"",blockchainName:"",networkType:"",switchableNetwork:{}},this.appId=e.appId||Hle,"chainId"in e){let{chainId:a,rpc:r}=e;o_(a,"'chainId' is required"),this.networkVersion=`${p1(a)}`,this.chainId=`0x${p1(a).toString(16)}`,this.rpc=r||Sle[this.networkVersion],o_(this.rpc,"'rpc' is required")}else{let{defaultChainId:a,switchableChains:r}=e;o_(a,"'defaultChainId' is required"),this.networkVersion=`${p1(a)}`,this.chainId=`0x${p1(a).toString(16)}`;let f=r.find(i=>p1(i.chainId)===p1(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])||Sle[this.networkVersion],o_(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 yf(this,Qr,"m",oc).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=`${p1((y=e?.params)===null||y===void 0?void 0:y[0].chainId)}`,this.chainId=`0x${p1((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 fB(h,d)||[]}if(!fB(h,d)){let y=(o=e?.params)===null||o===void 0?void 0:o[0];e.method==="eth_requestAccounts"&&Lo0(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=fB(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 yf(this,Qr,"m",oc).call(this),s=((a=Db(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=>iQ(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 yf(this,Qr,"m",oc).call(this);return new Promise((r,f)=>Bb("message",(i,s)=>{let o=i;o.origin===a&&o.data.type==="ETH:FRAME:RESPONSE"&&(o.data.status==="APPROVED"&&(s(),N6(e),r(o.data[n])),o.data.status==="DECLINED"&&(s(),N6(e),o.data.errorCode==="incorrect_session_id"&&this.handleDisconnect(),f(jn.ethErrors.provider.userRejectedRequest(o.data.errorMessage)))),o.data.type==="ETH:FRAME:CLOSE"&&(s(),N6(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 yf(this,Qr,"m",oc).call(this),f=rQ(`${a}/${this.appId}/${n||r}${e}`);return fQ(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 yf(this,Qr,"m",oc).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}]}),Do0(f,r,[this.existedSDK.address])),new Promise((d,l)=>setTimeout(()=>this.existedSDK.enable().then(d).catch(l),10));let i=fB(f,r);if(i)return new Promise(d=>{d(i)});let s=new URLSearchParams;s.set("l6n",window.location.origin),s.set("v",pQ),s.set("q",`${window.location.pathname}${window.location.search}`);let o=e&&Lo0(e)?`/${e}`:"",c=yield this.setIframe(`/authn${o}?${s.toString()}`);return new Promise((d,l)=>{Bb("message",(h,y)=>{var v,k;let O=h;O.origin===a&&(O.data.type==="ETH:FRAME:RESPONSE"&&(y(),N6(c),(v=this.eventListeners)===null||v===void 0||v.connect.forEach(F=>F({chainId:this.chainId})),d_(f,{code:O.data.code,evm:{[r]:[O.data.addr]}},O.data.exp),!((k=O.data)===null||k===void 0)&&k.isAccountChanged&&postMessage({originChain:fs.ETHEREUM,type:"BLOCTO_SDK:ACCOUNT_CHANGED"}),Bb("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)!==fs.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(),N6(c),l(jn.ethErrors.provider.userRejectedRequest())))})})})}fetchAccounts(){return wa(this,void 0,void 0,function*(){yf(this,Qr,"m",Mb).call(this);let{blockchainName:e,sessionKeyEnv:n}=yield yf(this,Qr,"m",oc).call(this),{accounts:a}=yield this.bloctoApi("/accounts");return Do0(n,e,a),a})}handleReadRequests(e){return wa(this,void 0,void 0,function*(){return yf(this,Qr,"m",Mb).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=Ble(n[0])?n[0].slice(2):Ion(n[0]);else if(["eth_signTypedData","eth_signTypedData_v3","eth_signTypedData_v4"].includes(e)){a=n[1];let{domain:i}=JSON.parse(a);if(Ble(i.chainId))throw jn.ethErrors.rpc.invalidParams(`Provided chainId "${i.chainId}" must be a number`);if(p1(i.chainId)!==p1(this.chainId))throw jn.ethErrors.rpc.invalidParams(`Provided chainId "${i.chainId}" must match the active chainId "${p1(this.chainId)}"`)}}yf(this,Qr,"m",Mb).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 yf(this,Qr,"m",oc).call(this),o=(n=fB(i,f))===null||n===void 0?void 0:n[0],c=p1(this.chainId),d=p1(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 yf(this,Qr,"m",oc).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:""}),yf(this,Qr,"m",oc).call(this),h});let l=yield this.setIframe(`/switch-chain?to=${s[d].name}`,s[c].name);return new Promise((h,y)=>{Bb("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(),N6(l),!((O=K.data)===null||O===void 0)&&O.addr&&o&&(d_(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)),yf(this,Qr,"m",oc).call(this),h(null)),K.data.type==="ETH:FRAME:CLOSE"&&(k(),N6(l),!((Q=K.data)===null||Q===void 0)&&Q.hasApprovedSwitchChain?((V=this.eventListeners)===null||V===void 0||V.chainChanged.forEach(G=>G(this.chainId)),Po0(i),(X=this.eventListeners)===null||X===void 0||X.disconnect.forEach(G=>G(jn.ethErrors.provider.disconnected())),yf(this,Qr,"m",oc).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:""}),yf(this,Qr,"m",oc).call(this),y(jn.ethErrors.provider.userRejectedRequest()))))})})})}handleSendTransaction(e){var n;return wa(this,void 0,void 0,function*(){yf(this,Qr,"m",Mb).call(this);let{isValid:a,invalidMsg:r}=n10((n=e.params)===null||n===void 0?void 0:n[0]);if(!a)throw jn.ethErrors.rpc.invalidParams(r);return yf(this,Qr,"m",Nle).call(this,e.params)})}handleSendBatchTransaction(e){return wa(this,void 0,void 0,function*(){yf(this,Qr,"m",Mb).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}=kon(n);if(!f)throw jn.ethErrors.rpc.invalidParams(i);return yf(this,Qr,"m",Nle).call(this,n,r)})}handleSendUserOperation(e){return wa(this,void 0,void 0,function*(){yf(this,Qr,"m",Mb).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 yf(this,Qr,"m",Mb).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 yf(this,Qr,"m",oc).call(this);Po0(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=`${p1(a)}`;if(this._blocto.switchableNetwork[f])return null;let i=r?.[0]||Sle[f];if(!i)throw jn.ethErrors.rpc.invalidParams("rpcUrls required");return yf(this,Qr,"m",m10).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 Dle().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,oc=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 Dle().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||Mo0[s];return this._blocto=Object.assign(Object.assign({},this._blocto),{sessionKeyEnv:Usn[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})},m10=function({chainId:e,rpcUrls:n}){var a;return wa(this,void 0,void 0,function*(){yield yf(this,Qr,"m",oc).call(this);let r=yield Dle().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=Mo0[c];this._blocto.switchableNetwork[f]={name:i,display_name:s,network_type:o,wallet_web_url:d,rpc_url:n[0]}})},Mb=function(){var e;if(!((e=this.existedSDK)===null||e===void 0)&&e.isBlocto&&p1(this.existedSDK.chainId)!==p1(this.chainId))throw jn.ethErrors.provider.chainDisconnected()},Nle=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")})};Kon=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},Ule=class extends oQ{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,o_(e,"'chainId' is required"),o_(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=Wsn[e],this.api=qsn[e],this.sessionKey=Hsn[e];let r=zsn[e];this.appId=a||Hle,this.server=n||r||""}get publicAccount(){var e;return{address:((e=N2(this.sessionKey,fs.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=N2(this.sessionKey,fs.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=N2(this.sessionKey,fs.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}Ysn(this.sessionKey,fs.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=N2(this.sessionKey,fs.APTOS))===null||a===void 0)&&a.length))throw new Error("Fail to get account");let i=((r=Db(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=>iQ(c,this.sessionKey));if(typeof window>"u")throw new Error("Currently only supported in browser");let o=rQ(`${this.server}/${this.appId}/aptos/authz/${s}`);return fQ(o),new Promise((c,d)=>Bb("message",(l,h)=>{let y=l;y.origin===this.server&&y.data.type==="APTOS:FRAME:RESPONSE"&&(y.data.status==="APPROVED"&&(h(),N6(o),c({hash:y.data.txHash})),y.data.status==="DECLINED"&&(h(),N6(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=Kon(e);if(this.existedSDK)return this.existedSDK.signMessage(r);if((yield this.isConnected())||(yield this.connect()),!(!((n=N2(this.sessionKey,fs.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=Db(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=>iQ(d,this.sessionKey)),o=`${this.server}/${this.appId}/aptos/user-signature/${s}`,c=rQ(o);return fQ(c),new Promise((d,l)=>Bb("message",(h,y)=>{let v=h;v.origin===this.server&&v.data.type==="APTOS:FRAME:RESPONSE"&&(v.data.status==="APPROVED"&&(y(),N6(c),d(v.data)),v.data.status==="DECLINED"&&(y(),N6(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=N2(this.sessionKey,fs.APTOS))===null||a===void 0)&&a.length)return e({address:((r=N2(this.sessionKey,fs.APTOS))===null||r===void 0?void 0:r[0])||null,publicKey:this.publicKey,authKey:null,minKeysRequired:2});let f=encodeURIComponent(window.location.origin),i=rQ(`${this.server}/${this.appId}/aptos/authn?l6n=${f}&v=${pQ}}`);fQ(i),Bb("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(),N6(i),d_(this.sessionKey,{code:y.data.code,accounts:{[fs.APTOS]:[y.data.addr]}},y.data.exp),!((c=y.data)===null||c===void 0)&&c.isAccountChanged&&postMessage({originChain:fs.APTOS,type:"BLOCTO_SDK:ACCOUNT_CHANGED"}),Bb("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)!==fs.APTOS&&(this.disconnect(),k())}),!((d=N2(this.sessionKey,fs.APTOS))===null||d===void 0)&&d.length)try{let{public_keys:v}=yield fetch(`${this.server}/blocto/aptos/accounts/${(l=N2(this.sessionKey,fs.APTOS))===null||l===void 0?void 0:l[0]}`).then(k=>k.json());this.publicKey=v||[],e({address:((h=N2(this.sessionKey,fs.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(),N6(i),n(new Error("User declined the login request")))}}))})})}fetchAddress(){var e;return wa(this,void 0,void 0,function*(){let n=((e=Db(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=>iQ(r,this.sessionKey));return Vsn(this.sessionKey,fs.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)}},uQ=class{constructor({appId:e,ethereum:n,aptos:a}){n&&(this.ethereum=new Ole(Object.assign(Object.assign({},n),{appId:e}))),a&&(this.aptos=new Ule(Object.assign(Object.assign({},a),{appId:e})))}}});var y10={};G0(y10,{BloctoConnector:()=>Yle});var lB,Yle,g10=oe(()=>{"use strict";u();p();Ct();z9();mo();b10();lB=Ee(Je());wn();uh();lh();W0();Yle=class extends t6{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=lB.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 wi(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 uQ({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 lB.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){return!!this._provider?._blocto?.sessionKeyEnv}async switchChain(e){let n=await this.getProvider(),a=lB.utils.hexValue(e),r=this.chains.find(s=>s.chainId===e);if(!r)throw new ic(new Error("chain not found on connector."));if(!(await n.supportChainList())[`${e}`])throw new ic(new Error(`Blocto unsupported chain: ${a}`));try{return await n.request({method:"wallet_addEthereumChain",params:[{chainId:a,rpcUrls:F2(r)}]}),await n.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]}),r}catch(s){throw this._isUserRejectedRequestError(s)?new _t(s):new ic(s)}}onAccountsChanged(){}async onChainChanged(e){let n=wi(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 wQ,Qon,Von,Yon,H2,l_=oe(()=>{u();p();wQ={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"},Qon=()=>typeof window<"u"&&window.localStorage.getItem("IS_PAPER_DEV")==="true",Von=()=>typeof window<"u"&&window.location.origin.includes("paper.xyz"),Yon=()=>typeof window<"u"&&window.location.origin.includes("thirdweb.com"),H2=()=>{var t;return Qon()?(t=window.localStorage.getItem("PAPER_DEV_URL"))!=null?t:"http://localhost:3000":Von()||Yon()?window.location.origin:"https://withpaper.com"}});function Zle(t){return new Promise(e=>{setTimeout(e,t*1e3)})}function e1n(t){let{clientId:e,path:n,queryParams:a}=t,r=new URL(`${n}`,TQ());if(a)for(let f of Object.keys(a))r.searchParams.set(f,a[f]?.toString()||"");return r.searchParams.set("clientId",e),r}var EQ,w10,$on,TQ,$le,Jon,Jle,Xon,Xle,hB,hh,v10,pB,Zon,eue,tue,nue,t1n,aue,rue,fue,iue,sue,xQ,T10=oe(()=>{"use strict";u();p();Ct();l_();EQ=Ee(Je()),w10=Ee(I7());O9();$on="/sdk/2022-08-12/embedded-wallet",TQ=()=>localStorage.getItem("IS_THIRDWEB_DEV")==="true"?window.localStorage.getItem("THIRDWEB_DEV_URL")??"http://localhost:3000":"https://embedded-wallet.thirdweb.com",$le=t=>`thirdwebEwsWalletUserId-${t}`,Jon="walletToken",Jle=t=>`${Jon}-${t}`,Xon="a",Xle=(t,e)=>`${Xon}-${t}-${e}`,hB=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}({}),hh=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}({}),v10=new Map,pB=class{constructor(e){let{clientId:n}=e;this.isSupported=!!window.localStorage,this.clientId=n}async getItem(e){return this.isSupported?window.localStorage.getItem(e):v10.get(e)??null}async setItem(e,n){if(this.isSupported)return window.localStorage.setItem(e,n);v10.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(Jle(this.clientId),e)}async getAuthCookie(){return this.getItem(Jle(this.clientId))}async removeAuthCookie(){return this.removeItem(Jle(this.clientId))}async saveDeviceShare(e,n){await this.saveWalletUserId(n),await this.setItem(Xle(this.clientId,n),e)}async getDeviceShare(){let e=await this.getWalletUserId();return e?this.getItem(Xle(this.clientId,e)):null}async removeDeviceShare(){let e=await this.getWalletUserId();return e?this.removeItem(Xle(this.clientId,e)):!1}async getWalletUserId(){return this.getItem($le(this.clientId))}async saveWalletUserId(e){await this.setItem($le(this.clientId),e)}async removeWalletUserId(){return this.removeItem($le(this.clientId))}};Zon={height:"100%",width:"100%",border:"none",backgroundColor:"transparent",colorScheme:"light",position:"fixed",top:"0px",right:"0px",zIndex:"2147483646",display:"none"},eue=new Map,tue=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=TQ();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={...Zon,...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?(eue.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(;!eue.get(this.iframe.src);)await Zle(this.POLLING_INTERVAL_SECONDS);return r&&(this.iframe.style.display="block",await Zle(.005)),new Promise((i,s)=>{let o=new MessageChannel;o.port1.onmessage=async c=>{let{data:d}=c;o.port1.close(),r&&(await Zle(.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(){eue.delete(this.iframe.src)}},nue=class extends tue{constructor(e){let{clientId:n,customizationOptions:a}=e;super({iframeId:t1n,link:e1n({clientId:n,path:$on,queryParams:a}).href,container:document.body}),this.clientId=n}async onIframeLoadedInitVariables(){let e=new pB({clientId:this.clientId});return{authCookie:await e.getAuthCookie(),deviceShareStored:await e.getDeviceShare(),walletUserId:await e.getWalletUserId(),clientId:this.clientId}}};t1n="thirdweb-embedded-wallet-iframe",aue=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}})}},rue=class extends aue{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 hB.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===TQ()){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},TQ());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)}},fue=class{constructor(e){let{clientId:n,querier:a,onAuthSuccess:r}=e;this.clientId=n,this.AuthQuerier=a,this.localStorage=new pB({clientId:n}),this.onAuthSuccess=r,this.BaseLogin=new rue({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}}},iue=class t extends EQ.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,w10.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 Bl(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})}},sue=class{constructor(e){let{clientId:n,chain:a,querier:r}=e;this.clientId=n,this.chain=a,this.walletManagerQuerier=r,this.localStorage=new pB({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===hh.LOGGED_IN_WALLET_INITIALIZED?{status:hh.LOGGED_IN_WALLET_INITIALIZED,...e.user,wallet:this}:e.status===hh.LOGGED_IN_NEW_DEVICE?{status:hh.LOGGED_IN_WALLET_UNINITIALIZED,...e.user}:e.status===hh.LOGGED_IN_WALLET_UNINITIALIZED?{status:hh.LOGGED_IN_WALLET_UNINITIALIZED,...e.user}:{status:e.status}}async setChain(e){let{chain:n}=e;this.chain=n}async getEthersJsSigner(e){return new iue({clientId:this.clientId,provider:(0,EQ.getDefaultProvider)(e?.rpcEndpoint??wQ[this.chain]),querier:this.walletManagerQuerier})}},xQ=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 nue({clientId:n,customizationOptions:r}),this.wallet=new sue({clientId:n,chain:a,querier:this.querier}),this.auth=new fue({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:hh.LOGGED_IN_WALLET_INITIALIZED,authDetails:i.storedToken.authDetails,wallet:this.wallet,walletAddress:i.walletDetails.walletAddress}})})}async getUser(){return this.wallet.getUserWalletStatus()}}});var E10={};G0(E10,{EmbeddedWalletConnector:()=>oue});function n1n(t){throw new Error("Invalid param: "+t)}var x10,oue,a1n,_10=oe(()=>{"use strict";u();p();Ct();x10=Ee(Je());lh();wn();Mr();T10();W0();oue=class extends sc{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:x10.utils.getAddress(n[0])})}),Pe(this,"onChainChanged",n=>{let a=wi(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 xQ({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 hh.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=a1n[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:n1n(a)}}};a1n={google:hB.GOOGLE,facebook:hB.FACEBOOK,apple:hB.APPLE}});function Za(t){return typeof t<"u"&&!!t&&"ethereum"in t&&!!t.ethereum}var h1=oe(()=>{"use strict";u();p()});function _Q(){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 cue=oe(()=>{"use strict";u();p();h1()});var C10={};G0(C10,{InjectedConnector:()=>Ga});function r1n(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 V9,Ga,m1=oe(()=>{"use strict";u();p();Ct();z9();mo();h1();uh();V9=Ee(Je());lh();W0();Ga=class extends t6{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:V9.utils.getAddress(f[0])})}),Pe(this,"onChainChanged",f=>{let i=wi(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=r1n(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=V9.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 V9.utils.getAddress(n[0])}async getChainId(){let e=await this.getProvider();if(!e)throw new Bn;return e.request({method:"eth_chainId"}).then(wi)}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 V9.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=V9.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 Cb({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:F2(f),blockExplorerUrls:this.getBlockExplorerUrls(f)}]}),f}catch(i){throw this.isUserRejectedRequestError(i)?new _t(r):new Ab}throw this.isUserRejectedRequestError(r)?new _t(r):new ic(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 k10={};G0(k10,{MetaMaskConnector:()=>due});var I10,due,S10=oe(()=>{"use strict";u();p();Ct();mo();wn();m1();I10=Ee(Je());cue();W0();due=class extends Ga{constructor(e){let a={...{name:"MetaMask",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:_Q},...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=I10.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 R10=oe(()=>{u();p()});var M10=oe(()=>{u();p();Pz();kS()});var lue=oe(()=>{u();p();R10();fx();Poe();PS();dx();M10()});function v_(t){let[e,n]=t.split(f1n);return{namespace:e,reference:n}}function Nue(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 uc0(t,e){return t.includes(":")?[t]:e.chains||[]}function w_(){return typeof x<"u"&&typeof x.versions<"u"&&typeof x.versions.node<"u"}function X9(){return!(0,zb.getDocument)()&&!!(0,zb.getNavigator)()&&navigator.product===c1n}function Wb(){return!w_()&&!!(0,zb.getNavigator)()&&!!(0,zb.getDocument)()}function AB(){return X9()?r6.reactNative:w_()?r6.node:Wb()?r6.browser:r6.unknown}function pc0(){var t;try{return X9()&&typeof global<"u"&&typeof(global==null?void 0:global.Application)<"u"?(t=global.Application)==null?void 0:t.applicationId:void 0}catch{return}}function l1n(t,e){let n=g_.parse(t);return n=P10(P10({},n),e),t=g_.stringify(n),t}function hc0(){return(0,dc0.getWindowMetadata)()||{name:"",description:"",url:"",icons:[""]}}function u1n(){if(AB()===r6.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=Vz();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 p1n(){var t;let e=AB();return e===r6.browser?[e,((t=(0,zb.getLocation)())==null?void 0:t.host)||"unknown"].join(":"):e}function h1n(t,e,n){let a=u1n(),r=p1n();return[[t,e].join("-"),[d1n,n].join("-"),a,r].join("/")}function mc0({protocol:t,version:e,relayUrl:n,sdkVersion:a,auth:r,projectId:f,useOnCloseEvent:i,bundleId:s}){let o=n.split("?"),c=h1n(t,e,a),d={auth:r,ua:c,projectId:f,useOnCloseEvent:i||void 0,origin:s||void 0},l=l1n(o[1]||"",d);return o[0]+"?"+l}function Y9(t,e){return t.filter(n=>e.includes(n)).length===t.length}function Oue(t){return Object.fromEntries(t.entries())}function Uue(t){return new Map(Object.entries(t))}function wh(t=vh.FIVE_MINUTES,e){let n=(0,vh.toMiliseconds)(t||vh.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 T_(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 bc0(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 yc0(t){return bc0("topic",t)}function gc0(t){return bc0("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 Hs(t,e){return(0,vh.fromMiliseconds)((e||Date.now())+(0,vh.toMiliseconds)(t))}function $2(t){return Date.now()>=(0,vh.toMiliseconds)(t)}function Dn(t,e){return`${t}${e?`:${e}`:""}`}function CB(t=[],e=[]){return[...new Set([...t,...e])]}async function vc0({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=AB();i===r6.browser?f.startsWith("https://")||f.startsWith("http://")?window.open(f,"_blank","noreferrer noopener"):window.open(f,"_self","noreferrer noopener"):i===r6.reactNative&&typeof(global==null?void 0:global.Linking)<"u"&&await global.Linking.openURL(f)}catch(a){console.error(a)}}async function wc0(t,e){try{return await t.getItem(e)||(Wb()?localStorage.getItem(e):void 0)}catch(n){console.error(n)}}function m1n(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 g1n(){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 Ec0(t){return!!t.toHexString}function p_(t){return t.slice||(t.slice=function(){let e=Array.prototype.slice.call(arguments);return p_(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function w1n(t){return U6(t)&&!(t.length%2)||x_(t)}function H10(t){return typeof t=="number"&&t==t&&t%1===0}function x_(t){if(t==null)return!1;if(t.constructor===Uint8Array)return!0;if(typeof t=="string"||!H10(t.length)||t.length<0)return!1;for(let e=0;e=256)return!1}return!0}function ii(t,e){if(e||(e={}),typeof t=="number"){Ti.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),p_(new Uint8Array(n))}if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),Ec0(t)&&(t=t.toHexString()),U6(t)){let n=t.substring(2);n.length%2&&(e.hexPad==="left"?n="0"+n:e.hexPad==="right"?n+="0":Ti.throwArgumentError("hex data is odd-length","value",t));let a=[];for(let r=0;rii(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),p_(a)}function x1n(t,e){t=ii(t),t.length>e&&Ti.throwArgumentError("value out of range","value",arguments[0]);let n=new Uint8Array(e);return n.set(t,e-t.length),p_(n)}function U6(t,e){return!(typeof t!="string"||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}function cc(t,e){if(e||(e={}),typeof t=="number"){Ti.checkSafeUint53(t,"invalid hexlify value");let n="";for(;t;)n=pue[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),Ec0(t))return t.toHexString();if(U6(t))return t.length%2&&(e.hexPad==="left"?t="0x0"+t.substring(2):e.hexPad==="right"?t+="0":Ti.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(x_(t)){let n="0x";for(let a=0;a>4]+pue[r&15]}return n}return Ti.throwArgumentError("invalid hexlify value","value",t)}function E1n(t){if(typeof t!="string")t=cc(t);else if(!U6(t)||t.length%2)return null;return(t.length-2)/2}function z10(t,e,n){return typeof t!="string"?t=cc(t):(!U6(t)||t.length%2)&&Ti.throwArgumentError("invalid hexData","value",t),e=2+2*e,n!=null?"0x"+t.substring(e,2+2*n):"0x"+t.substring(e)}function K2(t,e){for(typeof t!="string"?t=cc(t):U6(t)||Ti.throwArgumentError("invalid hex string","value",t),t.length>2*e+2&&Ti.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}function _c0(t){let e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(w1n(t)){let n=ii(t);n.length===64?(e.v=27+(n[32]>>7),n[32]&=127,e.r=cc(n.slice(0,32)),e.s=cc(n.slice(32,64))):n.length===65?(e.r=cc(n.slice(0,32)),e.s=cc(n.slice(32,64)),e.v=n[64]):Ti.throwArgumentError("invalid signature string","signature",t),e.v<27&&(e.v===0||e.v===1?e.v+=27:Ti.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(n[32]|=128),e._vs=cc(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=x1n(ii(e._vs),32);e._vs=cc(r);let f=r[0]>=128?1:0;e.recoveryParam==null?e.recoveryParam=f:e.recoveryParam!==f&&Ti.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),r[0]&=127;let i=cc(r);e.s==null?e.s=i:e.s!==i&&Ti.throwArgumentError("signature v mismatch _vs","signature",t)}if(e.recoveryParam==null)e.v==null?Ti.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&&Ti.throwArgumentError("signature recoveryParam mismatch v","signature",t)}e.r==null||!U6(e.r)?Ti.throwArgumentError("signature missing or invalid r","signature",t):e.r=K2(e.r,32),e.s==null||!U6(e.s)?Ti.throwArgumentError("signature missing or invalid s","signature",t):e.s=K2(e.s,32);let n=ii(e.s);n[0]>=128&&Ti.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(n[0]|=128);let a=cc(n);e._vs&&(U6(e._vs)||Ti.throwArgumentError("signature invalid _vs","signature",t),e._vs=K2(e._vs,32)),e._vs==null?e._vs=a:e._vs!==a&&Ti.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}function Hue(t){return"0x"+b1n.keccak_256(ii(t))}function I1n(t){return t!=null&&(go.isBigNumber(t)||typeof t=="number"&&t%1===0||typeof t=="string"&&!!t.match(/^-?[0-9]+$/)||U6(t)||typeof t=="bigint"||x_(t))}function xB(t){if(typeof t!="string")return xB(t.toString(16));if(t[0]==="-")return t=t.substring(1),t[0]==="-"&&bh.throwArgumentError("invalid hex","value",t),t=xB(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 a6(t){return go.from(xB(t))}function na(t){let e=go.from(t).toHexString();return e[0]==="-"?new DQ("-"+e.substring(3),16):new DQ(e.substring(2),16)}function ud(t,e,n){let a={fault:t,operation:e};return n!=null&&(a.value=n),bh.throwError(t,gf.errors.NUMERIC_FAULT,a)}function k1n(t){return new DQ(t,36).toString(16)}function Sc0(t,e,n,a){let r={fault:e,operation:n};return a!==void 0&&(r.value=a),dc.throwError(t,gf.errors.NUMERIC_FAULT,r)}function zue(t){if(typeof t!="number")try{t=go.from(t).toNumber()}catch{}return typeof t=="number"&&t>=0&&t<=256&&!(t%1)?"1"+wB.substring(0,t):dc.throwArgumentError("invalid decimal size","decimals",t)}function mue(t,e){e==null&&(e=0);let n=zue(e);t=go.from(t);let a=t.lt(Ic0);a&&(t=t.mul(kc0));let r=t.mod(n).toString();for(;r.length2&&dc.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&&Sc0("fractional component exceeds decimals","underflow","parseFixed"),i===""&&(i="0");i.length>6===2;i++)f++;return f}return t===h_.OVERRUN?n.length-e-1:0}function B1n(t,e,n,a,r){return t===h_.OVERLONG?(a.push(r),0):(a.push(65533),Mc0(t,e,n))}function bue(t,e=LQ.current){e!=LQ.current&&(Rc0.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 ii(n)}function D1n(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 G10(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 P1n(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 L1n(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 N1n(t){let e=0;return()=>t[e++]}function O1n(t){return N1n(F1n(t))}function U1n(t){return t&1?~t>>1:t>>1}function H1n(t,e){let n=Array(t);for(let a=0;ae[i]):n}function W1n(t){let e=[];for(;;){let n=t();if(n==0)break;e.push(j1n(n,t))}for(;;){let n=t()-1;if(n<0)break;e.push(G1n(n,t))}return L1n(Dc0(e))}function q1n(t){let e=[];for(;;){let n=t();if(n==0)break;e.push(n)}return e}function Pc0(t,e,n){let a=Array(t).fill(void 0).map(()=>[]);for(let r=0;ra[i].push(f));return a}function j1n(t,e){let n=1+e(),a=e(),r=q1n(e),f=Pc0(r.length,1+t,e);return Dc0(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 G1n(t,e){let n=1+e();return Pc0(n,1+t,e).map(a=>[a[0],a.slice(1)])}function K1n(t){let e=FQ(t).sort((a,r)=>a-r);return n();function n(){let a=[];for(;;){let c=FQ(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 Q1n(){return O1n(P1n("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 Lc0(t){return typeof t=="string"&&(t=bue(t)),Hue(T1n([bue(Y1n),bue(String(t.length)),t]))}function Q10(t){U6(t,20)||gB.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=ii(Hue(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 Z1n(t){return Math.log10?Math.log10(t):Math.log(t)/Math.LN10}function ecn(t){t=t.toUpperCase(),t=t.substring(4)+t.substring(0,2)+"00";let e=t.split("").map(a=>Wue[a]).join("");for(;e.length>=V10;){let a=e.substring(0,V10);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 tcn(t){let e=null;if(typeof t!="string"&&gB.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))t.substring(0,2)!=="0x"&&(t="0x"+t),e=Q10(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&gB.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)!==ecn(t)&&gB.throwArgumentError("bad icap checksum","address",t),e=k1n(t.substring(4));e.length<40;)e="0"+e;e=Q10("0x"+e)}else gB.throwArgumentError("invalid address","address",t);return e}function mB(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 ocn(t,e){return(t.charCodeAt(e)&64512)!==55296||e<0||e+1>=t.length?!1:(t.charCodeAt(e+1)&64512)===56320}function ccn(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):ocn(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 lcn(t,e){for(var n="",a=0;a>>0}return f}function pcn(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 hcn(t,e){return t>>>e|t<<32-e}function mcn(t,e){return t<>>32-e}function bcn(t,e){return t+e>>>0}function ycn(t,e,n){return t+e+n>>>0}function gcn(t,e,n,a){return t+e+n+a>>>0}function vcn(t,e,n,a,r){return t+e+n+a+r>>>0}function wcn(t,e,n,a){var r=t[e],f=t[e+1],i=a+f>>>0,s=(i>>0,t[e+1]=i}function Tcn(t,e,n,a){var r=e+a>>>0,f=(r>>0}function xcn(t,e,n,a){var r=e+a;return r>>>0}function Ecn(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 _cn(t,e,n,a,r,f,i,s){var o=e+a+f+s;return o>>>0}function Acn(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 Ccn(t,e,n,a,r,f,i,s,o,c){var d=e+a+f+s+c;return d>>>0}function Icn(t,e,n){var a=e<<32-n|t>>>n;return a>>>0}function kcn(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}function Scn(t,e,n){return t>>>n}function Rcn(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}function CQ(){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 Dcn(t,e,n,a){if(t===0)return Hc0(e,n,a);if(t===1||t===3)return Wc0(e,n,a);if(t===2)return zc0(e,n,a)}function Hc0(t,e,n){return t&e^~t&n}function zc0(t,e,n){return t&e^t&n^e&n}function Wc0(t,e,n){return t^e^n}function Pcn(t){return Q2(t,2)^Q2(t,13)^Q2(t,22)}function Lcn(t){return Q2(t,6)^Q2(t,11)^Q2(t,25)}function Fcn(t){return Q2(t,7)^Q2(t,18)^t>>>3}function Ncn(t){return Q2(t,17)^Q2(t,19)^t>>>10}function q2(){if(!(this instanceof q2))return new q2;qc0.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}function j2(){if(!(this instanceof j2))return new j2;jc0.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=e6n,this.W=new Array(64)}function yh(){if(!(this instanceof yh))return new yh;Kc0.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}function Kl(){if(!(this instanceof Kl))return new Kl;Yc0.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=o6n,this.W=new Array(160)}function c6n(t,e,n,a,r){var f=t&n^~t&r;return f<0&&(f+=4294967296),f}function d6n(t,e,n,a,r,f){var i=e&a^~e&f;return i<0&&(i+=4294967296),i}function l6n(t,e,n,a,r){var f=t&n^t&r^n&r;return f<0&&(f+=4294967296),f}function u6n(t,e,n,a,r,f){var i=e&a^e&f^a&f;return i<0&&(i+=4294967296),i}function p6n(t,e){var n=V2(t,e,28),a=V2(e,t,2),r=V2(e,t,7),f=n^a^r;return f<0&&(f+=4294967296),f}function h6n(t,e){var n=Y2(t,e,28),a=Y2(e,t,2),r=Y2(e,t,7),f=n^a^r;return f<0&&(f+=4294967296),f}function m6n(t,e){var n=V2(t,e,14),a=V2(t,e,18),r=V2(e,t,9),f=n^a^r;return f<0&&(f+=4294967296),f}function b6n(t,e){var n=Y2(t,e,14),a=Y2(t,e,18),r=Y2(e,t,9),f=n^a^r;return f<0&&(f+=4294967296),f}function y6n(t,e){var n=V2(t,e,1),a=V2(t,e,8),r=Qc0(t,e,7),f=n^a^r;return f<0&&(f+=4294967296),f}function g6n(t,e){var n=Y2(t,e,1),a=Y2(t,e,8),r=Vc0(t,e,7),f=n^a^r;return f<0&&(f+=4294967296),f}function v6n(t,e){var n=V2(t,e,19),a=V2(e,t,29),r=Qc0(t,e,6),f=n^a^r;return f<0&&(f+=4294967296),f}function w6n(t,e){var n=Y2(t,e,19),a=Y2(e,t,29),r=Vc0(t,e,6),f=n^a^r;return f<0&&(f+=4294967296),f}function gh(){if(!(this instanceof gh))return new gh;Jc0.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}function W2(){if(!(this instanceof W2))return new W2;Zc0.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function X10(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 E6n(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function _6n(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}function m_(t,e,n){if(!(this instanceof m_))return new m_(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(S6n.toArray(e,n))}function A_(t,e,n){return n={path:e,exports:{},require:function(a,r){return B6n(a,r??n.path)}},t(n,n.exports),n.exports}function B6n(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}function e60(t,e){if(!t)throw new Error(e||"Assertion failed")}function Ob(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 pd(t,e){this.curve=t,this.type=e,this.precomputed=null}function md(t){Z9.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 Us(t,e,n,a){Z9.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 bo(t,e,n,a){Z9.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 Ub(t){if(!(this instanceof Ub))return new Ub(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=Ql.toArray(t.entropy,t.entropyEnc||"hex"),n=Ql.toArray(t.nonce,t.nonceEnc||"hex"),a=Ql.toArray(t.pers,t.persEnc||"hex");que(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,a)}function b1(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 zQ(t,e){if(t instanceof zQ)return t;this._importDER(t,e)||(F6n(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 N6n(){this.place=0}function Eue(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 ec0(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 hd(t){if(!(this instanceof hd))return new hd(t);typeof t=="string"&&(t60(Object.prototype.hasOwnProperty.call(BQ,t),"Unknown curve "+t),t=BQ[t]),t instanceof BQ.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 G2(){return Aue||(Aue=new z6n("secp256k1")),Aue}function q6n(t,e){let n=_c0(e),a={r:ii(n.r),s:ii(n.s)};return"0x"+G2().recoverPubKey(ii(t),a,n.recoveryParam).encode("hex",!1)}function n60(t,e){let n=ii(t);if(n.length===32){let a=new Bue(n);return e?"0x"+G2().keyFromPrivate(n).getPublic(!0,"hex"):a.publicKey}else{if(n.length===33)return e?cc(n):"0x"+G2().keyFromPublic(n).getPublic(!1,"hex");if(n.length===65)return e?"0x"+G2().keyFromPublic(n).getPublic(!0,"hex"):cc(n)}return Mue.throwArgumentError("invalid public or private key","key","[REDACTED]")}function G6n(t){let e=n60(t);return tcn(z10(Hue(z10(e,1)),12))}function K6n(t,e){return G6n(q6n(ii(t),e))}async function V6n(t,e,n,a,r,f){switch(n.t){case"eip191":return Y6n(t,e,n.s);case"eip1271":return await $6n(t,e,n.s,a,r,f);default:throw new Error(`verifySignature failed: Attempted to verify CacaoSignature with unknown type: ${n.t}`)}}function Y6n(t,e,n){return K6n(Lc0(e),n).toLowerCase()===t.toLowerCase()}async function $6n(t,e,n,a,r,f){try{let i="0x1626ba7e",s="0000000000000000000000000000000000000000000000000000000000000040",o="0000000000000000000000000000000000000000000000000000000000000041",c=n.substring(2),d=Lc0(e).substring(2),l=i+d+s+o+c,h=await fetch(`${f||Q6n}/?chainId=${a}&projectId=${r}`,{method:"POST",body:JSON.stringify({id:J6n(),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 J6n(){return Date.now()+Math.floor(Math.random()*1e3)}async function Que(t){let{cacao:e,projectId:n}=t,{s:a,p:r}=e,f=Vue(r,r.iss),i=kB(r.iss);return await V6n(i,f,a,a60(r.iss),n)}function i5n(t){return _.Buffer.from(JSON.stringify(t)).toString("base64")}function s5n(t){return JSON.parse(_.Buffer.from(t,"base64").toString("utf-8"))}function J9(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 o5n(t,e,n,a={}){return n?.sort((r,f)=>r.localeCompare(f)),{att:{[t]:c5n(e,n,a)}}}function c5n(t,e,n={}){e=e?.sort((r,f)=>r.localeCompare(f));let a=e.map(r=>({[`${t}/${r}`]:[n]}));return Object.assign({},...a)}function r60(t){return J9(t),`urn:recap:${i5n(t).replace(/=/g,"")}`}function EB(t){let e=s5n(t.replace("urn:recap:",""));return J9(e),e}function f60(t,e,n){let a=o5n(t,e,n);return r60(a)}function d5n(t){return t&&t.includes("urn:recap:")}function i60(t,e){let n=EB(t),a=EB(e),r=l5n(n,a);return r60(r)}function l5n(t,e){J9(t),J9(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]=r5n(a5n({},a.att[r]),{[s]:((o=t.att[r])==null?void 0:o[s])||((c=e.att[r])==null?void 0:c[s])})})}),a}function u5n(t="",e){J9(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 Yue(t){var e;let n=EB(t);J9(n);let a=(e=n.att)==null?void 0:e.eip155;return a?Object.keys(a).map(r=>r.split("/")[1]):[]}function $ue(t){let e=EB(t);J9(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 SB(t){if(!t)return;let e=t?.[t.length-1];return d5n(e)?e:void 0}function c60(){let t=UQ.generateKeyPair();return{privateKey:Bi(t.secretKey,y1),publicKey:Bi(t.publicKey,y1)}}function WQ(){let t=(0,Fue.randomBytes)(Xue);return Bi(t,y1)}function d60(t,e){let n=UQ.sharedKey(As(t,y1),As(e,y1),!0),a=new lc0.HKDF(_B.SHA256,n).expand(Xue);return Bi(a,y1)}function C_(t){let e=(0,_B.hash)(As(t,y1));return Bi(e,y1)}function Th(t){let e=(0,_B.hash)(As(t,Jue));return Bi(e,y1)}function h5n(t){return As(`${t}`,s60)}function I_(t){return Number(Bi(t,s60))}function l60(t){let e=h5n(typeof t.type<"u"?t.type:o60);if(I_(e)===X2&&typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");let n=typeof t.senderPublicKey<"u"?As(t.senderPublicKey,y1):void 0,a=typeof t.iv<"u"?As(t.iv,y1):(0,Fue.randomBytes)(Pue),r=new Lue.ChaCha20Poly1305(As(t.symKey,y1)).seal(a,As(t.message,Jue));return m5n({type:e,sealed:r,iv:a,senderPublicKey:n})}function u60(t){let e=new Lue.ChaCha20Poly1305(As(t.symKey,y1)),{sealed:n,iv:a}=RB(t.encoded),r=e.open(a,n);if(r===null)throw new Error("Failed to decrypt");return Bi(r,Jue)}function m5n(t){if(I_(t.type)===X2){if(typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");return Bi(N7([t.type,t.senderPublicKey,t.iv,t.sealed]),Due)}return Bi(N7([t.type,t.iv,t.sealed]),Due)}function RB(t){let e=As(t,Due),n=e.slice(p5n,rc0),a=rc0;if(I_(n)===X2){let s=a+Xue,o=s+Pue,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+Pue,f=e.slice(a,r),i=e.slice(r);return{type:n,sealed:i,iv:f}}function p60(t,e){let n=RB(t);return Zue({type:I_(n.type),senderPublicKey:typeof n.senderPublicKey<"u"?Bi(n.senderPublicKey,y1):void 0,receiverPublicKey:e?.receiverPublicKey})}function Zue(t){let e=t?.type||o60;if(e===X2){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 e2e(t){return t.type===X2&&typeof t.senderPublicKey=="string"&&typeof t.receiverPublicKey=="string"}function qQ(t){return t?.relay||{protocol:b5n}}function MB(t){let e=hUe[t];if(typeof e>"u")throw new Error(`Relay Protocol not supported: ${t}`);return e}function E5n(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 t2e(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=g_.parse(f),s=typeof i.methods=="string"?i.methods.split(","):void 0;return{protocol:a,topic:_5n(r[0]),version:parseInt(r[1],10),symKey:i.symKey,relay:E5n(i),methods:s,expiryTimestamp:i.expiryTimestamp?parseInt(i.expiryTimestamp,10):void 0}}function _5n(t){return t.startsWith("//")?t.substring(2):t}function A5n(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 h60(t){return`${t.protocol}:${t.topic}@${t.version}?`+g_.stringify(sc0(x5n(sc0({symKey:t.symKey},A5n(t.relay)),{expiryTimestamp:t.expiryTimestamp}),t.methods?{methods:t.methods.join(",")}:{}))}function k_(t){let e=[];return t.forEach(n=>{let[a,r]=n.split(":");e.push(`${a}:${r}`)}),e}function C5n(t){let e=[];return Object.values(t).forEach(n=>{e.push(...k_(n.accounts))}),e}function I5n(t,e){let n=[];return Object.values(t).forEach(a=>{k_(a.accounts).includes(e)&&n.push(...a.methods)}),n}function k5n(t,e){let n=[];return Object.values(t).forEach(a=>{k_(a.accounts).includes(e)&&n.push(...a.events)}),n}function jQ(t){return t.includes(":")}function S_(t){return jQ(t)?t.split(":")[0]:t}function S5n(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 n2e(t,e){e=e.map(a=>a.replace("did:pkh:",""));let n=S5n(e);for(let[a,r]of Object.entries(n))r.methods?r.methods=CB(r.methods,t):r.methods=t,r.events=["chainChanged","accountsChanged"];return n}function F0(t,e){let{message:n,code:a}=M5n[t];return{message:e?`${n} ${e}`:n,code:a}}function Ca(t,e){let{message:n,code:a}=R5n[t];return{message:e?`${n} ${e}`:n,code:a}}function z6(t,e){return Array.isArray(t)?typeof e<"u"&&t.length?t.every(e):!0:!1}function eg(t){return Object.getPrototypeOf(t)===Object.prototype&&Object.keys(t).length}function yo(t){return typeof t>"u"}function Df(t,e){return e&&yo(t)?!0:typeof t=="string"&&!!t.trim().length}function a2e(t,e){return e&&yo(t)?!0:typeof t=="number"&&!isNaN(t)}function m60(t,e){let{requiredNamespaces:n}=e,a=Object.keys(t.namespaces),r=Object.keys(n),f=!0;return Y9(r,a)?(a.forEach(i=>{let{accounts:s,methods:o,events:c}=t.namespaces[i],d=k_(s),l=n[i];(!Y9(uc0(i,l),d)||!Y9(l.methods,o)||!Y9(l.events,c))&&(f=!1)}),f):!1}function OQ(t){return Df(t,!1)&&t.includes(":")?t.split(":").length===2:!1}function B5n(t){if(Df(t,!1)&&t.includes(":")){let e=t.split(":");if(e.length===3){let n=e[0]+":"+e[1];return!!e[2]&&OQ(n)}}return!1}function b60(t){if(Df(t,!1))try{return typeof new URL(t)<"u"}catch{return!1}return!1}function y60(t){var e;return(e=t?.proposer)==null?void 0:e.publicKey}function g60(t){return t?.topic}function v60(t,e){let n=null;return Df(t?.publicKey,!1)||(n=F0("MISSING_OR_INVALID",`${e} controller public key should be a string`)),n}function oc0(t){let e=!0;return z6(t)?t.length&&(e=t.every(n=>Df(n,!1))):e=!1,e}function D5n(t,e,n){let a=null;return z6(e)&&e.length?e.forEach(r=>{a||OQ(r)||(a=Ca("UNSUPPORTED_CHAINS",`${n}, chain ${r} should be a string and conform to "namespace:chainId" format`))}):OQ(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 P5n(t,e,n){let a=null;return Object.entries(t).forEach(([r,f])=>{if(a)return;let i=D5n(r,uc0(r,f),`${e} ${n}`);i&&(a=i)}),a}function L5n(t,e){let n=null;return z6(t)?t.forEach(a=>{n||B5n(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 F5n(t,e){let n=null;return Object.values(t).forEach(a=>{if(n)return;let r=L5n(a?.accounts,`${e} namespace`);r&&(n=r)}),n}function N5n(t,e){let n=null;return oc0(t?.methods)?oc0(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 w60(t,e){let n=null;return Object.values(t).forEach(a=>{if(n)return;let r=N5n(a,`${e}, namespace`);r&&(n=r)}),n}function T60(t,e,n){let a=null;if(t&&eg(t)){let r=w60(t,e);r&&(a=r);let f=P5n(t,e,n);f&&(a=f)}else a=F0("MISSING_OR_INVALID",`${e}, ${n} should be an object with data`);return a}function GQ(t,e){let n=null;if(t&&eg(t)){let a=w60(t,e);a&&(n=a);let r=F5n(t,e);r&&(n=r)}else n=F0("MISSING_OR_INVALID",`${e}, namespaces should be an object with data`);return n}function r2e(t){return Df(t.protocol,!0)}function x60(t,e){let n=!1;return e&&!t?n=!0:t&&z6(t)&&t.length&&t.forEach(a=>{n=r2e(a)}),n}function E60(t){return typeof t=="number"}function g1(t){return typeof t<"u"&&typeof t!==null}function _60(t){return!(!t||typeof t!="object"||!t.code||!a2e(t.code,!1)||!t.message||!Df(t.message,!1))}function A60(t){return!(yo(t)||!Df(t.method,!1))}function C60(t){return!(yo(t)||yo(t.result)&&yo(t.error)||!a2e(t.id,!1)||!Df(t.jsonrpc,!1))}function I60(t){return!(yo(t)||!Df(t.name,!1))}function f2e(t,e){return!(!OQ(e)||!C5n(t).includes(e))}function k60(t,e,n){return Df(n,!1)?I5n(t,e).includes(n):!1}function S60(t,e,n){return Df(n,!1)?k5n(t,e).includes(n):!1}function i2e(t,e,n){let a=null,r=O5n(t),f=U5n(e),i=Object.keys(r),s=Object.keys(f),o=cc0(Object.keys(t)),c=cc0(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()}`)),K9(i,s)||(a=F0("NON_CONFORMING_NAMESPACES",`${n} namespaces chains don't satisfy required namespaces. + Received: ${Object.keys(e).toString()}`)),Y9(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=b_(e[l].accounts);h.includes(l)||(a=F0("NON_CONFORMING_NAMESPACES",`${n} namespaces accounts don't satisfy namespace accounts for ${l} + Approved: ${s.toString()}`)),Object.keys(e).forEach(l=>{if(!l.includes(":")||a)return;let h=k_(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||(K9(r[l].methods,f[l].methods)?K9(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 u6n(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 j10(t){return[...new Set(t.map(e=>e.includes(":")?e.split(":")[0]:e))]}function p6n(t){let e={};return Object.keys(t).forEach(n=>{n.includes(":")?e[n]=t[n]:b_(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 l60(t,e){return xue(t,!1)&&t<=e.max&&t>=e.min}function Cue(){let t=AB();return new Promise(e=>{switch(t){case r6.browser:e(h6n());break;case r6.reactNative:e(m6n());break;case r6.node:e(b6n());break;default:e(!0)}})}function h6n(){return Hb()&&navigator?.onLine}async function m6n(){return Y9()&&typeof global<"u"&&global!=null&&global.NetInfo?(await(global==null?void 0:global.NetInfo.fetch()))?.isConnected:!0}function b6n(){return!0}function u60(t){switch(AB()){case r6.browser:y6n(t);break;case r6.reactNative:g6n(t);break;case r6.node:break}}function y6n(t){!Y9()&&Hb()&&(window.addEventListener("online",()=>t(!0)),window.addEventListener("offline",()=>t(!1)))}function g6n(t){Y9()&&typeof global<"u"&&global!=null&&global.NetInfo&&global?.NetInfo.addEventListener(e=>t(e?.isConnected))}var vh,Ub,G10,i_,eue,K10,tue,_B,wQ,Dsn,Psn,p10,Lsn,Fsn,h10,m10,Nsn,r6,Osn,nc0,ac0,jsn,Gsn,b10,y10,lQ,g10,Mle,v10,Kle,Gl,w10,gf,Qsn,Ti,Ble,ic0,Xsn,Zsn,eon,fn,sc0,hQ,bh,Dle,E10,_10,go,dc,vB,oc0,cc0,wB,TB,mQ,A10,aon,ron,lc0,bQ,n_,pc0,iQ,xon,Eon,_on,Aon,gB,Con,sue,S10,Ron,Mon,Bon,Don,z2,aa,IB,Qle,Pon,Lon,l_,R10,f1n,e_,J2,i1n,Q2,r_,u1n,p1n,Nle,bB,h1n,m1n,_c0,b1n,y1n,f_,g1n,u_,v1n,jl,w1n,T1n,x1n,E1n,_1n,A1n,C1n,I1n,Ac0,k1n,Cc0,Vle,Ic0,S1n,f6,R1n,M1n,V2,Y2,kc0,Sc0,Lb,Ole,Ule,B1n,D1n,P1n,L1n,Rc0,F1n,Mc0,Yle,Bc0,Y1n,Dc0,Q9,$1n,oQ,M10,yB,B10,Pc0,Z1n,ecn,tcn,ncn,acn,rcn,fcn,oue,Ql,H6,cQ,scn,gQ,$9,cue,ocn,ccn,uQ,pQ,P10,Hle,zle,dcn,dQ,ucn,Fc0,pcn,hcn,mcn,bcn,$le,jle,Jle,gcn,F10,Tcn,Ccn,Icn,kcn,N10,Scn,Rcn,O10,Mcn,Bcn,Dcn,due,Oc0,lue,kB,pue,Wc0,y1,Xle,bue,qc0,X2,zcn,U10,Zle,yue,jcn,Gcn,Kcn,Qcn,H10,Vcn,Ycn,z10,W10,$cn,r6n,f6n,Gle,Ob,BB=oe(()=>{u();p();use();vh=Ee(k7()),Ub=Ee(pse()),G10=Ee(SOe()),i_=Ee(VOe()),eue=Ee(nUe()),K10=Ee(oUe()),tue=Ee(_S()),_B=Ee(dUe()),wQ=Ee(hUe());Rle();bUe();Dsn=":";Psn=Object.defineProperty,p10=Object.getOwnPropertySymbols,Lsn=Object.prototype.hasOwnProperty,Fsn=Object.prototype.propertyIsEnumerable,h10=(t,e,n)=>e in t?Psn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,m10=(t,e)=>{for(var n in e||(e={}))Lsn.call(e,n)&&h10(t,n,e[n]);if(p10)for(var n of p10(e))Fsn.call(e,n)&&h10(t,n,e[n]);return t},Nsn="ReactNative",r6={reactNative:"react-native",node:"node",browser:"browser",unknown:"unknown"},Osn="js";nc0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};ac0={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 x=="object"&&x.versions&&x.versions.node;i?r=nc0: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 b["cshake"+U].update(ne,ue,Y,re)[Z]()}},X=function(U,J,Z){return function(ne,ue,Y,re){return b["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,me,ye,_e,ze,je,Ue,m0,h0,$e,M0,P0,t0,j0,z0,Ke,B0,K0,s0,J0,Y0,l0,Q0,et,p0,Z0,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,K0=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,J0=U[23]<<10|U[22]>>>22,Ve=U[33]<<13|U[32]>>>19,me=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,Z0=U[4]<<30|U[5]>>>2,Ue=U[14]<<6|U[15]>>>26,m0=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,Q0=U[47]<<24|U[46]>>>8,et=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^~m0&$e,U[30]=z0^~B0&s0,U[31]=Ke^~K0&J0,U[40]=p0^~Et&Tt,U[41]=Z0^~$0&Pn,U[2]=_0^~Ze&pe,U[3]=L0^~I0&he,U[12]=u0^~v0&Ve,U[13]=qe^~w0&me,U[22]=Ue^~h0&M0,U[23]=m0^~$e&P0,U[32]=B0^~s0&Y0,U[33]=K0^~J0&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^~me&_e,U[24]=h0^~M0&t0,U[25]=$e^~P0&j0,U[34]=s0^~Y0&Q0,U[35]=J0^~l0&et,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]=me^~_e&Qe,U[26]=M0^~t0&ze,U[27]=P0^~j0&je,U[36]=Y0^~Q0&z0,U[37]=l0^~et&Ke,U[46]=Ln^~Nn&p0,U[47]=Fn^~On&Z0,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&m0,U[38]=Q0^~z0&B0,U[39]=et^~Ke&K0,U[48]=Nn^~p0&Et,U[49]=On^~Z0&$0,U[0]^=k[ne],U[1]^=k[ne+1]};if(s)t.exports=b;else for(P=0;PlQ[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(y10)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+=w10[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 Gl.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 Gl.CALL_EXCEPTION:case Gl.INSUFFICIENT_FUNDS:case Gl.MISSING_NEW:case Gl.NONCE_EXPIRED:case Gl.REPLACEMENT_UNDERPRICED:case Gl.TRANSACTION_REPLACED:case Gl.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){v10&&this.throwError("platform missing String.prototype.normalize",t.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:v10})}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 Mle||(Mle=new t(Gsn)),Mle}static setCensorship(e,n){if(!e&&n&&this.globalLogger().throwError("cannot permanently disable censorship",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),b10){if(!e)return;this.globalLogger().throwError("error censorship permanent",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}y10=!!e,b10=!!n}static setLogLevel(e){let n=lQ[e.toLowerCase()];if(n==null){t.globalLogger().warn("invalid log level - "+e);return}g10=n}static from(e){return new t(e)}};gf.errors=Gl,gf.levels=Kle;Qsn="bytes/5.7.0",Ti=new gf(Qsn);Ble="0123456789abcdef";ic0={exports:{}},Xsn={},Zsn=Object.freeze({__proto__:null,default:Xsn}),eon=qsn(Zsn);(function(t){(function(e,n){function a(w,b){if(!w)throw new Error(b||"Assertion failed")}function r(w,b){w.super_=b;var A=function(){};A.prototype=b.prototype,w.prototype=new A,w.prototype.constructor=w}function f(w,b,A){if(f.isBN(w))return w;this.negative=0,this.words=null,this.length=0,this.red=null,w!==null&&((b==="le"||b==="be")&&(A=b,b=10),this._init(w||0,b||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=eon.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,b){return w.cmp(b)>0?w:b},f.min=function(w,b){return w.cmp(b)<0?w:b},f.prototype._init=function(w,b,A){if(typeof w=="number")return this._initNumber(w,b,A);if(typeof w=="object")return this._initArray(w,b,A);b==="hex"&&(b=16),a(b===(b|0)&&b>=2&&b<=36),w=w.toString().replace(/\s+/g,"");var P=0;w[0]==="-"&&(P++,this.negative=1),P=0;P-=3)E=w[P]|w[P-1]<<8|w[P-2]<<16,this.words[L]|=E<>>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,b){var A=w.charCodeAt(b);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,b,A){var P=s(w,A);return A-1>=b&&(P|=s(w,A-1)<<4),P}f.prototype._parseHex=function(w,b,A){this.length=Math.ceil((w.length-b)/6),this.words=new Array(this.length);for(var P=0;P=b;P-=2)g=o(w,b,P)<=18?(L-=18,E+=1,this.words[E]|=g>>>26):L+=8;else{var B=w.length-b;for(P=B%2===0?b+1:b;P=18?(L-=18,E+=1,this.words[E]|=g>>>26):L+=8}this._strip()};function c(w,b,A,P){for(var L=0,E=0,g=Math.min(w.length,A),B=b;B=49?E=M-49+10:M>=17?E=M-17+10:E=M,a(M>=0&&E1&&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,b){w=w||10,b=b|0||1;var A;if(w===16||w==="hex"){A="";for(var P=0,L=0,E=0;E>>24-P&16777215,P+=2,P>=26&&(P-=26,E--),L!==0||E!==this.length-1?A=h[6-B.length]+B+A:A=B+A}for(L!==0&&(A=L.toString(16)+A);A.length%b!==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%b!==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,b){return this.toArrayLike(i,w,b)}),f.prototype.toArray=function(w,b){return this.toArrayLike(Array,w,b)};var k=function(w,b){return w.allocUnsafe?w.allocUnsafe(b):new w(b)};f.prototype.toArrayLike=function(w,b,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 E=k(w,L),g=b==="le"?"LE":"BE";return this["_toArrayLike"+g](E,P),E},f.prototype._toArrayLikeLE=function(w,b){for(var A=0,P=0,L=0,E=0;L>8&255),A>16&255),E===6?(A>24&255),P=0,E=0):(P=g>>>24,E+=2)}if(A=0&&(w[A--]=g>>8&255),A>=0&&(w[A--]=g>>16&255),E===6?(A>=0&&(w[A--]=g>>24&255),P=0,E=0):(P=g>>>24,E+=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 b=w,A=0;return b>=4096&&(A+=13,b>>>=13),b>=64&&(A+=7,b>>>=7),b>=8&&(A+=4,b>>>=4),b>=2&&(A+=2,b>>>=2),A+b},f.prototype._zeroBits=function(w){if(w===0)return 26;var b=w,A=0;return b&8191||(A+=13,b>>>=13),b&127||(A+=7,b>>>=7),b&15||(A+=4,b>>>=4),b&3||(A+=2,b>>>=2),b&1||A++,A},f.prototype.bitLength=function(){var w=this.words[this.length-1],b=this._countBits(w);return(this.length-1)*26+b};function O(w){for(var b=new Array(w.bitLength()),A=0;A>>L&1}return b}f.prototype.zeroBits=function(){if(this.isZero())return 0;for(var w=0,b=0;bw.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 b;this.length>w.length?b=w:b=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 b,A;this.length>w.length?(b=this,A=w):(b=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 b=Math.ceil(w/26)|0,A=w%26;this._expand(b),A>0&&b--;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,b){a(typeof w=="number"&&w>=0);var A=w/26|0,P=w%26;return this._expand(A+1),b?this.words[A]=this.words[A]|1<w.length?(A=this,P=w):(A=w,P=this);for(var L=0,E=0;E>>26;for(;L!==0&&E>>26;if(this.length=A.length,L!==0)this.words[this.length]=L,this.length++;else if(A!==this)for(;Ew.length?this.clone().iadd(w):w.clone().iadd(this)},f.prototype.isub=function(w){if(w.negative!==0){w.negative=0;var b=this.iadd(w);return w.negative=1,b._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 E=0,g=0;g>26,this.words[g]=b&67108863;for(;E!==0&&g>26,this.words[g]=b&67108863;if(E===0&&g>>26,ee=M&67108863,U=Math.min(S,b.length-1),J=Math.max(0,S-w.length+1);J<=U;J++){var Z=S-J|0;L=w.words[Z]|0,E=b.words[J]|0,g=L*E+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,b,A){var P=w.words,L=b.words,E=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,me=L[1]|0,ye=me&8191,_e=me>>>13,ze=L[2]|0,je=ze&8191,Ue=ze>>>13,m0=L[3]|0,h0=m0&8191,$e=m0>>>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,K0=B0&8191,s0=B0>>>13,J0=L[7]|0,Y0=J0&8191,l0=J0>>>13,Q0=L[8]|0,et=Q0&8191,p0=Q0>>>13,Z0=L[9]|0,Et=Z0&8191,$0=Z0>>>13;A.negative=w.negative^b.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,K0)|0,M=M+Math.imul(ee,s0)|0,M=M+Math.imul(U,K0)|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,K0)|0,M=M+Math.imul(Z,s0)|0,M=M+Math.imul(ne,K0)|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,K0)|0,M=M+Math.imul(Y,s0)|0,M=M+Math.imul(re,K0)|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,et)|0,M=M+Math.imul(ee,p0)|0,M=M+Math.imul(U,et)|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,K0)|0,M=M+Math.imul(ge,s0)|0,M=M+Math.imul(de,K0)|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,et)|0,M=M+Math.imul(Z,p0)|0,M=M+Math.imul(ne,et)|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,K0)|0,M=M+Math.imul(Ge,s0)|0,M=M+Math.imul(Be,K0)|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,et)|0,M=M+Math.imul(Y,p0)|0,M=M+Math.imul(re,et)|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,K0)|0,M=M+Math.imul(Ye,s0)|0,M=M+Math.imul(He,K0)|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,et)|0,M=M+Math.imul(ge,p0)|0,M=M+Math.imul(de,et)|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,K0)|0,M=M+Math.imul(L0,s0)|0,M=M+Math.imul(Ze,K0)|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,et)|0,M=M+Math.imul(Ge,p0)|0,M=M+Math.imul(Be,et)|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,K0)|0,M=M+Math.imul(pe,s0)|0,M=M+Math.imul(he,K0)|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,et)|0,M=M+Math.imul(Ye,p0)|0,M=M+Math.imul(He,et)|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,K0)|0,M=M+Math.imul(Ce,s0)|0,M=M+Math.imul(Se,K0)|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,et)|0,M=M+Math.imul(L0,p0)|0,M=M+Math.imul(Ze,et)|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 cf=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(cf>>>26)|0,cf&=67108863,B=Math.imul(u0,K0),M=Math.imul(u0,s0),M=M+Math.imul(qe,K0)|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,et)|0,M=M+Math.imul(pe,p0)|0,M=M+Math.imul(he,et)|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 Gf=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Gf>>>26)|0,Gf&=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,et)|0,M=M+Math.imul(Ce,p0)|0,M=M+Math.imul(Se,et)|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 Qs=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Qs>>>26)|0,Qs&=67108863,B=Math.imul(u0,et),M=Math.imul(u0,p0),M=M+Math.imul(qe,et)|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 Wd=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Wd>>>26)|0,Wd&=67108863,B=Math.imul(u0,Et),M=Math.imul(u0,$0),M=M+Math.imul(qe,Et)|0,S=Math.imul(qe,$0);var qd=(g+B|0)+((M&8191)<<13)|0;return g=(S+(M>>>13)|0)+(qd>>>26)|0,qd&=67108863,E[0]=Tt,E[1]=Pn,E[2]=Ln,E[3]=Fn,E[4]=Nn,E[5]=On,E[6]=Ha,E[7]=pr,E[8]=za,E[9]=hr,E[10]=ar,E[11]=Cr,E[12]=Jr,E[13]=rr,E[14]=cf,E[15]=Gf,E[16]=Qs,E[17]=Wd,E[18]=qd,g!==0&&(E[19]=g,A.length++),A};Math.imul||(z=F);function W(w,b,A){A.negative=b.negative^w.negative,A.length=w.length+b.length;for(var P=0,L=0,E=0;E>>26)|0,L+=g>>>26,g&=67108863}A.words[E]=B,P=g,g=L}return P!==0?A.words[E]=P:A.length--,A._strip()}function j(w,b,A){return W(w,b,A)}f.prototype.mulTo=function(w,b){var A,P=this.length+w.length;return this.length===10&&w.length===10?A=z(this,w,b):P<63?A=F(this,w,b):P<1024?A=W(this,w,b):A=j(this,w,b),A},f.prototype.mul=function(w){var b=new f(null);return b.words=new Array(this.length+w.length),this.mulTo(w,b)},f.prototype.mulf=function(w){var b=new f(null);return b.words=new Array(this.length+w.length),j(this,w,b)},f.prototype.imul=function(w){return this.clone().mulTo(w,this)},f.prototype.imuln=function(w){var b=w<0;b&&(w=-w),a(typeof w=="number"),a(w<67108864);for(var A=0,P=0;P>=26,A+=L/67108864|0,A+=E>>>26,this.words[P]=E&67108863}return A!==0&&(this.words[P]=A,this.length++),b?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 b=O(w);if(b.length===0)return new f(1);for(var A=this,P=0;P=0);var b=w%26,A=(w-b)/26,P=67108863>>>26-b<<26-b,L;if(b!==0){var E=0;for(L=0;L>>26-b}E&&(this.words[L]=E,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;b?P=(b-b%26)/26:P=0;var L=w%26,E=Math.min((w-L)/26,this.length),g=67108863^67108863>>>L<E)for(this.length-=E,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,b,A){return a(this.negative===0),this.iushrn(w,b,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 b=w%26,A=(w-b)/26,P=1<=0);var b=w%26,A=(w-b)/26;if(a(this.negative===0,"imaskn works only with positive numbers"),this.length<=A)return this;if(b!==0&&A++,this.length=Math.min(A,this.length),b!==0){var P=67108863^67108863>>>b<=67108864;b++)this.words[b]-=67108864,b===this.length-1?this.words[b+1]=1:this.words[b+1]++;return this.length=Math.max(this.length,b+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 b=0;b>26)-(B/67108864|0),this.words[L+A]=E&67108863}for(;L>26,this.words[L+A]=E&67108863;if(g===0)return this._strip();for(a(g===-1),g=0,L=0;L>26,this.words[L]=E&67108863;return this.negative=1,this._strip()},f.prototype._wordDiv=function(w,b){var A=this.length-w.length,P=this.clone(),L=w,E=L.words[L.length-1]|0,g=this._countBits(E);A=26-g,A!==0&&(L=L.ushln(A),P.iushln(A),E=L.words[L.length-1]|0);var B=P.length-L.length,M;if(b!=="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/E|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(),b!=="div"&&A!==0&&P.iushrn(A),{div:M||null,mod:P}},f.prototype.divmod=function(w,b,A){if(a(!w.isZero()),this.isZero())return{div:new f(0),mod:new f(0)};var P,L,E;return this.negative!==0&&w.negative===0?(E=this.neg().divmod(w,b),b!=="mod"&&(P=E.div.neg()),b!=="div"&&(L=E.mod.neg(),A&&L.negative!==0&&L.iadd(w)),{div:P,mod:L}):this.negative===0&&w.negative!==0?(E=this.divmod(w.neg(),b),b!=="mod"&&(P=E.div.neg()),{div:P,mod:E.mod}):this.negative&w.negative?(E=this.neg().divmod(w.neg(),b),b!=="div"&&(L=E.mod.neg(),A&&L.negative!==0&&L.isub(w)),{div:E.div,mod:L}):w.length>this.length||this.cmp(w)<0?{div:new f(0),mod:this}:w.length===1?b==="div"?{div:this.divn(w.words[0]),mod:null}:b==="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,b)},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 b=this.divmod(w);if(b.mod.isZero())return b.div;var A=b.div.negative!==0?b.mod.isub(w):b.mod,P=w.ushrn(1),L=w.andln(1),E=A.cmp(P);return E<0||L===1&&E===0?b.div:b.div.negative!==0?b.div.isubn(1):b.div.iaddn(1)},f.prototype.modrn=function(w){var b=w<0;b&&(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 b?-P:P},f.prototype.modn=function(w){return this.modrn(w)},f.prototype.idivn=function(w){var b=w<0;b&&(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(),b?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 b=this,A=w.clone();b.negative!==0?b=b.umod(w):b=b.clone();for(var P=new f(1),L=new f(0),E=new f(0),g=new f(1),B=0;b.isEven()&&A.isEven();)b.iushrn(1),A.iushrn(1),++B;for(var M=A.clone(),S=b.clone();!b.isZero();){for(var q=0,ee=1;!(b.words[0]&ee)&&q<26;++q,ee<<=1);if(q>0)for(b.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;)(E.isOdd()||g.isOdd())&&(E.iadd(M),g.isub(S)),E.iushrn(1),g.iushrn(1);b.cmp(A)>=0?(b.isub(A),P.isub(E),L.isub(g)):(A.isub(b),E.isub(P),g.isub(L))}return{a:E,b:g,gcd:A.iushln(B)}},f.prototype._invmp=function(w){a(w.negative===0),a(!w.isZero());var b=this,A=w.clone();b.negative!==0?b=b.umod(w):b=b.clone();for(var P=new f(1),L=new f(0),E=A.clone();b.cmpn(1)>0&&A.cmpn(1)>0;){for(var g=0,B=1;!(b.words[0]&B)&&g<26;++g,B<<=1);if(g>0)for(b.iushrn(g);g-- >0;)P.isOdd()&&P.iadd(E),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(E),L.iushrn(1);b.cmp(A)>=0?(b.isub(A),P.isub(L)):(A.isub(b),L.isub(P))}var q;return b.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 b=this.clone(),A=w.clone();b.negative=0,A.negative=0;for(var P=0;b.isEven()&&A.isEven();P++)b.iushrn(1),A.iushrn(1);do{for(;b.isEven();)b.iushrn(1);for(;A.isEven();)A.iushrn(1);var L=b.cmp(A);if(L<0){var E=b;b=A,A=E}else if(L===0||A.cmpn(1)===0)break;b.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 b=w%26,A=(w-b)/26,P=1<>>26,g&=67108863,this.words[E]=g}return L!==0&&(this.words[E]=L,this.length++),this},f.prototype.isZero=function(){return this.length===1&&this.words[0]===0},f.prototype.cmpn=function(w){var b=w<0;if(this.negative!==0&&!b)return-1;if(this.negative===0&&b)return 1;this._strip();var A;if(this.length>1)A=1;else{b&&(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&&(b=1);break}}return b},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,b){this.name=w,this.p=new f(b,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 b=w,A;do this.split(b,this.tmp),b=this.imulK(b),b=b.iadd(this.tmp),A=b.bitLength();while(A>this.n);var P=A0?b.isub(this.p):b.strip!==void 0?b.strip():b._strip(),b},V.prototype.split=function(w,b){w.iushrn(this.n,0,b)},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,b){for(var A=4194303,P=Math.min(w.length,9),L=0;L>>22,E=g}E>>>=22,w.words[L-10]=E,E===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 b=0,A=0;A>>=26,w.words[A]=L,b=P}return b!==0&&(w.words[w.length++]=b),w},f._prime=function(w){if(Q[w])return Q[w];var b;if(w==="k256")b=new X;else if(w==="p224")b=new K;else if(w==="p192")b=new G;else if(w==="p25519")b=new R;else throw new Error("Unknown prime "+w);return Q[w]=b,b};function T(w){if(typeof w=="string"){var b=f._prime(w);this.m=b.p,this.prime=b}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,b){a((w.negative|b.negative)===0,"red works only with positives"),a(w.red&&w.red===b.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,b){this._verify2(w,b);var A=w.add(b);return A.cmp(this.m)>=0&&A.isub(this.m),A._forceRed(this)},T.prototype.iadd=function(w,b){this._verify2(w,b);var A=w.iadd(b);return A.cmp(this.m)>=0&&A.isub(this.m),A},T.prototype.sub=function(w,b){this._verify2(w,b);var A=w.sub(b);return A.cmpn(0)<0&&A.iadd(this.m),A._forceRed(this)},T.prototype.isub=function(w,b){this._verify2(w,b);var A=w.isub(b);return A.cmpn(0)<0&&A.iadd(this.m),A},T.prototype.shl=function(w,b){return this._verify1(w),this.imod(w.ushln(b))},T.prototype.imul=function(w,b){return this._verify2(w,b),this.imod(w.imul(b))},T.prototype.mul=function(w,b){return this._verify2(w,b),this.imod(w.mul(b))},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 b=this.m.andln(3);if(a(b%2===1),b===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 E=new f(1).toRed(this),g=E.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(E)!==0;){for(var J=ee,Z=0;J.cmp(E)!==0;Z++)J=J.redSqr();a(Z=0;L--){for(var S=b.words[L],q=M-1;q>=0;q--){var ee=S>>q&1;if(E!==P[0]&&(E=this.sqr(E)),ee===0&&g===0){B=0;continue}g<<=1,g|=ee,B++,!(B!==A&&(L!==0||q!==0))&&(E=this.mul(E,P[g]),B=0,g=0)}M=26}return E},T.prototype.convertTo=function(w){var b=w.umod(this.m);return b===w?b.clone():b},T.prototype.convertFrom=function(w){var b=w.clone();return b.red=null,b},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 b=this.imod(w.mul(this.rinv));return b.red=null,b},N.prototype.imul=function(w,b){if(w.isZero()||b.isZero())return w.words[0]=0,w.length=1,w;var A=w.imul(b),P=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),L=A.isub(P).iushrn(this.shift),E=L;return L.cmp(this.m)>=0?E=L.isub(this.m):L.cmpn(0)<0&&(E=L.iadd(this.m)),E._forceRed(this)},N.prototype.mul=function(w,b){if(w.isZero()||b.isZero())return new f(0)._forceRed(this);var A=w.mul(b),P=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),L=A.isub(P).iushrn(this.shift),E=L;return L.cmp(this.m)>=0?E=L.isub(this.m):L.cmpn(0)<0&&(E=L.iadd(this.m)),E._forceRed(this)},N.prototype.invm=function(w){var b=this.imod(w._invmp(this.m).mul(this.r2));return b._forceRed(this)}})(t,nc0)})(ic0);fn=ic0.exports,sc0="bignumber/5.7.0",hQ=fn.BN,bh=new gf(sc0),Dle={},E10=9007199254740991;_10=!1,go=class t{constructor(e,n){e!==Dle&&bh.throwError("cannot call constructor directly; use BigNumber.from",gf.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=n,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return a6(na(this).fromTwos(e))}toTwos(e){return a6(na(this).toTwos(e))}abs(){return this._hex[0]==="-"?t.from(this._hex.substring(1)):this}add(e){return a6(na(this).add(na(e)))}sub(e){return a6(na(this).sub(na(e)))}div(e){return t.from(e).isZero()&&ud("division-by-zero","div"),a6(na(this).div(na(e)))}mul(e){return a6(na(this).mul(na(e)))}mod(e){let n=na(e);return n.isNeg()&&ud("division-by-zero","mod"),a6(na(this).umod(n))}pow(e){let n=na(e);return n.isNeg()&&ud("negative-power","pow"),a6(na(this).pow(n))}and(e){let n=na(e);return(this.isNegative()||n.isNeg())&&ud("unbound-bitwise-result","and"),a6(na(this).and(n))}or(e){let n=na(e);return(this.isNegative()||n.isNeg())&&ud("unbound-bitwise-result","or"),a6(na(this).or(n))}xor(e){let n=na(e);return(this.isNegative()||n.isNeg())&&ud("unbound-bitwise-result","xor"),a6(na(this).xor(n))}mask(e){return(this.isNegative()||e<0)&&ud("negative-width","mask"),a6(na(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&ud("negative-width","shl"),a6(na(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&ud("negative-width","shr"),a6(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{ud("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return bh.throwError("this platform does not support BigInt",gf.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?_10||(_10=!0,bh.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?bh.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",gf.errors.UNEXPECTED_ARGUMENT,{}):bh.throwError("BigNumber.toString does not accept parameters",gf.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(Dle,xB(e)):e.match(/^-?[0-9]+$/)?new t(Dle,xB(new hQ(e))):bh.throwArgumentError("invalid BigNumber string","value",e);if(typeof e=="number")return e%1&&ud("underflow","BigNumber.from",e),(e>=E10||e<=-E10)&&ud("overflow","BigNumber.from",e),t.from(String(e));let n=e;if(typeof n=="bigint")return t.from(n.toString());if(d_(n))return t.from(cc(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"&&(U6(a)||a[0]==="-"&&U6(a.substring(1))))return t.from(a)}return bh.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!!(e&&e._isBigNumber)}};dc=new gf(sc0),vB={},oc0=go.from(0),cc0=go.from(-1);wB="0";for(;wB.length<256;)wB+=wB;TB=class t{constructor(e,n,a,r){e!==vB&&dc.throwError("cannot use FixedFormat constructor; use FixedFormat.from",gf.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=iue(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||dc.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&&dc.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&&dc.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",a),r>80&&dc.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",r),new t(vB,n,a,r)}},mQ=class t{constructor(e,n,a,r){e!==vB&&dc.throwError("cannot use FixedNumber constructor; use FixedNumber.from",gf.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&&dc.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}addUnsafe(e){this._checkFormat(e);let n=mh(this._value,this.format.decimals),a=mh(e._value,e.format.decimals);return t.fromValue(n.add(a),this.format.decimals,this.format)}subUnsafe(e){this._checkFormat(e);let n=mh(this._value,this.format.decimals),a=mh(e._value,e.format.decimals);return t.fromValue(n.sub(a),this.format.decimals,this.format)}mulUnsafe(e){this._checkFormat(e);let n=mh(this._value,this.format.decimals),a=mh(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=mh(this._value,this.format.decimals),a=mh(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(A10.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(A10.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)&&dc.throwArgumentError("invalid decimal count","decimals",e),n[1].length<=e)return this;let a=t.from("1"+wB.substring(0,e),this.format),r=aon.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&&dc.throwArgumentError("invalid byte width","width",e);let n=go.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return K2(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&&!ton(n)&&(a=n,n=null),n==null&&(n=0),a==null&&(a="fixed"),t.fromString(Ple(e,n),TB.from(a))}static fromString(e,n){n==null&&(n="fixed");let a=TB.from(n),r=mh(e,a.decimals);!a.signed&&r.lt(oc0)&&dc0("unsigned value cannot be negative","overflow","value",e);let f=null;a.signed?f=r.toTwos(a.width).toHexString():(f=r.toHexString(),f=K2(f,a.width/8));let i=Ple(r,a.decimals);return new t(vB,f,i,a)}static fromBytes(e,n){n==null&&(n="fixed");let a=TB.from(n);if(ii(e).length>a.width/8)throw new Error("overflow");let r=go.from(e);a.signed&&(r=r.fromTwos(a.width));let f=r.toTwos((a.signed?0:1)+a.width).toHexString(),i=Ple(r,a.decimals);return new t(vB,f,i,a)}static from(e,n){if(typeof e=="string")return t.fromString(e,n);if(d_(e))return t.fromBytes(e,n);try{return t.fromValue(e,0,n)}catch(a){if(a.code!==gf.errors.INVALID_ARGUMENT)throw a}return dc.throwArgumentError("invalid FixedNumber value","value",e)}static isFixedNumber(e){return!!(e&&e._isFixedNumber)}},A10=mQ.from(1),aon=mQ.from("0.5"),ron="strings/5.7.0",lc0=new gf(ron);(function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"})(bQ||(bQ={}));(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"})(n_||(n_={}));Object.freeze({error:fon,ignore:uc0,replace:ion});C10("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)),Fle("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"),Fle("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"),Fle("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",son),C10("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");pc0="hash/5.7.0";iQ=Ton();new Set(yQ(iQ)),new Set(yQ(iQ)),bon(iQ),won(iQ),new gf(pc0);xon=new Uint8Array(32);xon.fill(0);Eon=`Ethereum Signed Message: -`;_on="rlp/5.7.0";new gf(_on);Aon="address/5.7.0",gB=new gf(Aon);Con=9007199254740991;sue={};for(let t=0;t<10;t++)sue[String(t)]=String(t);for(let t=0;t<26;t++)sue[String.fromCharCode(65+t)]=String(10+t);S10=Math.floor(Ion(Con));Ron="properties/5.7.0";new gf(Ron);new gf(pc0);Mon=new Uint8Array(32);Mon.fill(0),go.from(-1);Bon=go.from(0),Don=go.from(1);go.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),K2(Don.toHexString(),32),K2(Bon.toHexString(),32);z2={},aa={},IB=yc0;yc0.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)};Qle={exports:{}};typeof Object.create=="function"?Qle.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Qle.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}};Pon=IB,Lon=Qle.exports;aa.inherits=Lon;aa.toArray=Non;aa.toHex=Oon;aa.htonl=gc0;aa.toHex32=Uon;aa.zero2=vc0;aa.zero8=wc0;aa.join32=Hon;aa.split32=zon;aa.rotr32=Won;aa.rotl32=qon;aa.sum32=jon;aa.sum32_3=Gon;aa.sum32_4=Kon;aa.sum32_5=Qon;aa.sum64=Von;aa.sum64_hi=Yon;aa.sum64_lo=$on;aa.sum64_4_hi=Jon;aa.sum64_4_lo=Xon;aa.sum64_5_hi=Zon;aa.sum64_5_lo=e1n;aa.rotr64_hi=t1n;aa.rotr64_lo=n1n;aa.shr64_hi=a1n;aa.shr64_lo=r1n;l_={},R10=aa,f1n=IB;l_.BlockHash=sQ,sQ.prototype.update=function(t,e){if(t=R10.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=R10.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()),rcn(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}),cQ=H6.getNAF,scn=H6.getJSF,gQ=H6.assert;$9=Fb;Fb.prototype.point=function(){throw new Error("Not implemented")},Fb.prototype.validate=function(){throw new Error("Not implemented")},Fb.prototype._fixedNafMul=function(t,e){gQ(t.precomputed);var n=t._getDoubles(),a=cQ(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];gQ(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},Fb.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]=cQ(n[y],f[y],this._bitLength),s[v]=cQ(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=scn(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},pd.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}]},md.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}},md.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)},md.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},md.prototype._endoWnafMulAdd=function(t,e,n){for(var a=this._endoWnafT1,r=this._endoWnafT2,f=0;f":""},Ns.prototype.isInfinity=function(){return this.inf},Ns.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)},Ns.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)},Ns.prototype.getX=function(){return this.x.fromRed()},Ns.prototype.getY=function(){return this.y.fromRed()},Ns.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)},Ns.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)},Ns.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)},Ns.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)},Ns.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},Ns.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};cue(bo,$9.BasePoint),md.prototype.jpoint=function(t,e,n){return new bo(this,t,e,n)},bo.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)},bo.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},bo.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)},bo.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)},bo.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}},bo.prototype.inspect=function(){return this.isInfinity()?"":""},bo.prototype.isInfinity=function(){return this.z.cmpn(0)===0};uQ=p_(function(t,e){var n=e;n.base=$9,n.short=ccn,n.mont=null,n.edwards=null}),pQ=p_(function(t,e){var n=e,a=H6.assert;function r(s){s.type==="short"?this.curve=new uQ.short(s):s.type==="edwards"?this.curve=new uQ.edwards(s):this.curve=new uQ.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:z2.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:z2.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:z2.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:z2.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:z2.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:z2.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:z2.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:z2.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",i]})});P10=Nb;Nb.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},Nb.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=Ql.toArray(n,a||"hex"),this._update(n));for(var r=[];r.length"};dcn=H6.assert;dQ=xQ;xQ.prototype._importDER=function(t,e){t=H6.toArray(t,e);var n=new lcn;if(t[n.place++]!==48)return!1;var a=Wle(t,n);if(a===!1||a+n.place!==t.length||t[n.place++]!==2)return!1;var r=Wle(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=Wle(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};xQ.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=L10(e),n=L10(n);!n[0]&&!(n[1]&128);)n=n.slice(1);var a=[2];qle(a,e.length),a=a.concat(e),a.push(2),qle(a,n.length);var r=a.concat(n),f=[48];return qle(f,r.length),f=f.concat(r),H6.encode(f,t)};ucn=function(){throw new Error("unsupported")},Fc0=H6.assert;pcn=hd;hd.prototype.keyPair=function(t){return new zle(this,t)},hd.prototype.keyFromPrivate=function(t,e){return zle.fromPrivate(this,t,e)},hd.prototype.keyFromPublic=function(t,e){return zle.fromPublic(this,t,e)},hd.prototype.genKeyPair=function(t){t||(t={});for(var e=new P10({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||ucn(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)}},hd.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},hd.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 P10({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 dQ({r:y,s:v,recoveryParam:k})}}}}}},hd.prototype.verify=function(t,e,n,a){t=this._truncateToN(new fn(t,16)),n=this.keyFromPublic(n,a),e=new dQ(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)},hd.prototype.recoverPubKey=function(t,e,n,a){Fc0((3&n)===n,"The recovery param is more than two bits"),e=new dQ(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)},hd.prototype.getKeyRecoveryParam=function(t,e,n,a){if(e=new dQ(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")};hcn=p_(function(t,e){var n=e;n.version="6.5.4",n.utils=H6,n.rand=function(){throw new Error("unsupported")},n.curve=uQ,n.curves=pQ,n.ec=pcn,n.eddsa=null}),mcn=hcn.ec,bcn="signing-key/5.7.0",$le=new gf(bcn),jle=null;Jle=class{constructor(e){mB(this,"curve","secp256k1"),mB(this,"privateKey",cc(e)),Jsn(this.privateKey)!==32&&$le.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");let n=G2().keyFromPrivate(ii(this.privateKey));mB(this,"publicKey","0x"+n.getPublic(!1,"hex")),mB(this,"compressedPublicKey","0x"+n.getPublic(!0,"hex")),mB(this,"_isSigningKey",!0)}_addPoint(e){let n=G2().keyFromPublic(ii(this.publicKey)),a=G2().keyFromPublic(ii(e));return"0x"+n.pub.add(a.pub).encodeCompressed("hex")}signDigest(e){let n=G2().keyFromPrivate(ii(this.privateKey)),a=ii(e);a.length!==32&&$le.throwArgumentError("bad digest length","digest",e);let r=n.sign(a,{canonical:!0});return fc0({recoveryParam:r.recoveryParam,r:K2("0x"+r.r.toString(16),32),s:K2("0x"+r.s.toString(16),32)})}computeSharedSecret(e){let n=G2().keyFromPrivate(ii(this.privateKey)),a=G2().keyFromPublic(ii(Nc0(e)));return K2("0x"+n.derive(a.getPublic()).toString(16),32)}static isSigningKey(e){return!!(e&&e._isSigningKey)}};gcn="transactions/5.7.0";new gf(gcn);(function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"})(F10||(F10={}));Tcn="https://rpc.walletconnect.com/v1";Ccn=Object.defineProperty,Icn=Object.defineProperties,kcn=Object.getOwnPropertyDescriptors,N10=Object.getOwnPropertySymbols,Scn=Object.prototype.hasOwnProperty,Rcn=Object.prototype.propertyIsEnumerable,O10=(t,e,n)=>e in t?Ccn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Mcn=(t,e)=>{for(var n in e||(e={}))Scn.call(e,n)&&O10(t,n,e[n]);if(N10)for(var n of N10(e))Rcn.call(e,n)&&O10(t,n,e[n]);return t},Bcn=(t,e)=>Icn(t,kcn(e)),Dcn="did:pkh:",due=t=>t?.split(":"),Oc0=t=>{let e=t&&due(t);if(e)return t.includes(Dcn)?e[3]:e[1]},lue=t=>{let e=t&&due(t);if(e)return e[2]+":"+e[3]},kB=t=>{let e=t&&due(t);if(e)return e.pop()};pue=(t,e)=>{let n=`${t.domain} wants you to sign in with your Ethereum account:`,a=kB(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: ${Oc0(e)}`,o=`Nonce: ${t.nonce}`,c=`Issued At: ${t.iat}`,d=t.resources?`Resources:${t.resources.map(h=>` -- ${h}`).join("")}`:void 0,l=SB(t.resources);if(l){let h=EB(l);r=Hcn(r,h)}return[n,a,"",r,"",f,i,s,o,c,d].filter(h=>h!=null).join(` -`)};Wc0="base10",y1="base16",Xle="base64pad",bue="utf8",qc0=0,X2=1,zcn=0,U10=1,Zle=12,yue=32;jcn="irn";Gcn=Object.defineProperty,Kcn=Object.defineProperties,Qcn=Object.getOwnPropertyDescriptors,H10=Object.getOwnPropertySymbols,Vcn=Object.prototype.hasOwnProperty,Ycn=Object.prototype.propertyIsEnumerable,z10=(t,e,n)=>e in t?Gcn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,W10=(t,e)=>{for(var n in e||(e={}))Vcn.call(e,n)&&z10(t,n,e[n]);if(H10)for(var n of H10(e))Ycn.call(e,n)&&z10(t,n,e[n]);return t},$cn=(t,e)=>Kcn(t,Qcn(e));r6n={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}},f6n={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}};Gle={},Ob=class{static get(e){return Gle[e]}static set(e,n){Gle[e]=n}static delete(e){delete Gle[e]}}});var p60=D(IQ=>{"use strict";u();p();Object.defineProperty(IQ,"__esModule",{value:!0});IQ.IHeartBeat=void 0;var v6n=(fie(),vn(jFe)),Iue=class extends v6n.IEvents{constructor(e){super()}};IQ.IHeartBeat=Iue});var Sue=D(kue=>{"use strict";u();p();Object.defineProperty(kue,"__esModule",{value:!0});var w6n=(Xu(),vn(Ju));w6n.__exportStar(p60(),kue)});var h60=D(g_=>{"use strict";u();p();Object.defineProperty(g_,"__esModule",{value:!0});g_.HEARTBEAT_EVENTS=g_.HEARTBEAT_INTERVAL=void 0;var T6n=k7();g_.HEARTBEAT_INTERVAL=T6n.FIVE_SECONDS;g_.HEARTBEAT_EVENTS={pulse:"heartbeat_pulse"}});var Mue=D(Rue=>{"use strict";u();p();Object.defineProperty(Rue,"__esModule",{value:!0});var x6n=(Xu(),vn(Ju));x6n.__exportStar(h60(),Rue)});var m60=D(kQ=>{"use strict";u();p();Object.defineProperty(kQ,"__esModule",{value:!0});kQ.HeartBeat=void 0;var Bue=(Xu(),vn(Ju)),E6n=Or(),_6n=k7(),A6n=Sue(),Due=Mue(),Pue=class t extends A6n.IHeartBeat{constructor(e){super(e),this.events=new E6n.EventEmitter,this.interval=Due.HEARTBEAT_INTERVAL,this.interval=e?.interval||Due.HEARTBEAT_INTERVAL}static init(e){return Bue.__awaiter(this,void 0,void 0,function*(){let n=new t(e);return yield n.init(),n})}init(){return Bue.__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 Bue.__awaiter(this,void 0,void 0,function*(){this.intervalRef=setInterval(()=>this.pulse(),_6n.toMiliseconds(this.interval))})}pulse(){this.events.emit(Due.HEARTBEAT_EVENTS.pulse)}};kQ.HeartBeat=Pue});var b60=D(DB=>{"use strict";u();p();Object.defineProperty(DB,"__esModule",{value:!0});var Lue=(Xu(),vn(Ju));Lue.__exportStar(m60(),DB);Lue.__exportStar(Sue(),DB);Lue.__exportStar(Mue(),DB)});var y60,SQ,RQ,MQ,BQ,DQ,PQ,LQ,FQ,NQ,OQ,UQ,HQ,Fue=oe(()=>{u();p();fie();y60=Ee(Or()),SQ=class extends Zu{constructor(e){super(),this.opts=e,this.protocol="wc",this.version=2}},RQ=class extends Zu{constructor(e,n){super(),this.core=e,this.logger=n,this.records=new Map}},MQ=class{constructor(e,n){this.logger=e,this.core=n}},BQ=class extends Zu{constructor(e,n){super(),this.relayer=e,this.logger=n}},DQ=class extends Zu{constructor(e){super()}},PQ=class{constructor(e,n,a,r){this.core=e,this.logger=n,this.name=a}},LQ=class extends Zu{constructor(e,n){super(),this.relayer=e,this.logger=n}},FQ=class extends Zu{constructor(e,n){super(),this.core=e,this.logger=n}},NQ=class{constructor(e,n){this.projectId=e,this.logger=n}},OQ=class{constructor(e,n){this.projectId=e,this.logger=n}},UQ=class{constructor(e){this.opts=e,this.protocol="wc",this.version=2}},HQ=class{constructor(e){this.client=e}}});var g60,W6,Nue=oe(()=>{u();p();g60=Ee(Or());xm();W6=class extends qS{constructor(e){super(e),this.events=new g60.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(f2(e.method,e.params||[],e.id||wl().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=>{n1(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),Tm(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 Oue=oe(()=>{u();p();Nue();Nue()});function C6n(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 p5n(t){return t.reduce((e,n)=>(e+=l5n[n],e),"")}function h5n(t){let e=[];for(let n of t){let a=u5n[n.codePointAt(0)];if(a===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(a)}return new Uint8Array(e)}function W60(t,e,n){e=e||[],n=n||0;for(var a=n;t>=w5n;)e[n++]=t&255|v60,t/=128;for(;t&v5n;)e[n++]=t&255|v60,t>>>=7;return e[n]=t|0,W60.bytes=n-a+1,e}function Kue(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s)throw Kue.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&w60)<=x5n);return Kue.bytes=f-a,n}function V60(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function z5n(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?V60(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function Y60(t,e,n,a){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:a}}}function q5n(t,e="utf8"){let n=W5n[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?V60(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}var xh,eg,Xt,N60,O60,I6n,k6n,U60,S6n,R6n,Wue,que,jue,H60,Gue,zQ,FB,M6n,B6n,vo,D6n,P6n,L6n,F6n,N6n,O6n,U6n,H6n,z6n,W6n,q6n,j6n,G6n,K6n,Q6n,V6n,Y6n,$6n,J6n,X6n,Z6n,e5n,t5n,n5n,a5n,r5n,f5n,i5n,s5n,o5n,c5n,d5n,z60,l5n,u5n,m5n,b5n,y5n,v60,g5n,v5n,w5n,T5n,x5n,w60,E5n,_5n,A5n,C5n,I5n,k5n,S5n,R5n,M5n,B5n,D5n,q60,T60,x60,Que,Vue,j60,Yue,G60,P5n,L5n,F5n,K60,N5n,Q60,O5n,U5n,H5n,E60,_60,Uue,W5n,$60,j5n,d2e,zb,G5n,K5n,Q5n,A60,V5n,Y5n,$5n,J5n,X5n,Z5n,edn,l2e,tdn,J60,C60,ndn,i6,adn,bd,rdn,fdn,idn,sdn,odn,Z2,cdn,ddn,ldn,udn,pdn,PB,X9,Vl,hdn,mdn,bdn,q6,ydn,Hue,Z9,$ue,gdn,vdn,wdn,Jue,Xue,Zue,e2e,t2e,Tdn,xdn,Edn,I60,_dn,Adn,k60,LB,zue,n2e,Cdn,S60,Idn,kdn,R60,Sdn,a2e,Rdn,M60,Mdn,Bdn,B60,D60,ep,r2e,f2e,i2e,s2e,o2e,Ddn,P60,Pdn,Ldn,L60,F60,c2e,X60,Z60=oe(()=>{u();p();xh=Ee(Or());RFe();eg=Ee(b60());Iz();Fue();I7();EOe();BB();Rle();Xt=Ee(k7());Oue();xm();jUe();N60=Ee(AHe()),O60=Ee(kHe());I6n=C6n,k6n=I6n,U60=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")},S6n=t=>new TextEncoder().encode(t),R6n=t=>new TextDecoder().decode(t),Wue=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")}},que=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 H60(this,e)}},jue=class{constructor(e){this.decoders=e}or(e){return H60(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`)}},H60=(t,e)=>new jue({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}}),Gue=class{constructor(e,n,a,r){this.name=e,this.prefix=n,this.baseEncode=a,this.baseDecode=r,this.encoder=new Wue(e,n,a),this.decoder=new que(e,n,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}},zQ=({name:t,prefix:e,encode:n,decode:a})=>new Gue(t,e,n,a),FB=({prefix:t,name:e,alphabet:n})=>{let{encode:a,decode:r}=k6n(n,e);return zQ({prefix:t,name:e,encode:a,decode:f=>U60(r(f))})},M6n=(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},B6n=(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<zQ({prefix:e,name:t,encode(r){return B6n(r,a,n)},decode(r){return M6n(r,a,n,t)}}),D6n=zQ({prefix:"\0",name:"identity",encode:t=>R6n(t),decode:t=>S6n(t)}),P6n=Object.freeze({__proto__:null,identity:D6n}),L6n=vo({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),F6n=Object.freeze({__proto__:null,base2:L6n}),N6n=vo({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),O6n=Object.freeze({__proto__:null,base8:N6n}),U6n=FB({prefix:"9",name:"base10",alphabet:"0123456789"}),H6n=Object.freeze({__proto__:null,base10:U6n}),z6n=vo({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),W6n=vo({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),q6n=Object.freeze({__proto__:null,base16:z6n,base16upper:W6n}),j6n=vo({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),G6n=vo({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),K6n=vo({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),Q6n=vo({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),V6n=vo({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),Y6n=vo({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),$6n=vo({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),J6n=vo({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),X6n=vo({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),Z6n=Object.freeze({__proto__:null,base32:j6n,base32upper:G6n,base32pad:K6n,base32padupper:Q6n,base32hex:V6n,base32hexupper:Y6n,base32hexpad:$6n,base32hexpadupper:J6n,base32z:X6n}),e5n=FB({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),t5n=FB({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),n5n=Object.freeze({__proto__:null,base36:e5n,base36upper:t5n}),a5n=FB({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),r5n=FB({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),f5n=Object.freeze({__proto__:null,base58btc:a5n,base58flickr:r5n}),i5n=vo({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),s5n=vo({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),o5n=vo({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),c5n=vo({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),d5n=Object.freeze({__proto__:null,base64:i5n,base64pad:s5n,base64url:o5n,base64urlpad:c5n}),z60=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}"),l5n=z60.reduce((t,e,n)=>(t[n]=e,t),[]),u5n=z60.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);m5n=zQ({prefix:"\u{1F680}",name:"base256emoji",encode:p5n,decode:h5n}),b5n=Object.freeze({__proto__:null,base256emoji:m5n}),y5n=W60,v60=128,g5n=127,v5n=~g5n,w5n=Math.pow(2,31);T5n=Kue,x5n=128,w60=127;E5n=Math.pow(2,7),_5n=Math.pow(2,14),A5n=Math.pow(2,21),C5n=Math.pow(2,28),I5n=Math.pow(2,35),k5n=Math.pow(2,42),S5n=Math.pow(2,49),R5n=Math.pow(2,56),M5n=Math.pow(2,63),B5n=function(t){return t(q60.encode(t,e,n),e),x60=t=>q60.encodingLength(t),Que=(t,e)=>{let n=e.byteLength,a=x60(t),r=a+x60(n),f=new Uint8Array(r+n);return T60(t,f,0),T60(n,f,a),f.set(e,r),new Vue(t,n,e,f)},Vue=class{constructor(e,n,a,r){this.code=e,this.size=n,this.digest=a,this.bytes=r}},j60=({name:t,code:e,encode:n})=>new Yue(t,e,n),Yue=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?Que(this.code,n):n.then(a=>Que(this.code,a))}else throw Error("Unknown type, must be binary type")}},G60=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),P5n=j60({name:"sha2-256",code:18,encode:G60("SHA-256")}),L5n=j60({name:"sha2-512",code:19,encode:G60("SHA-512")}),F5n=Object.freeze({__proto__:null,sha256:P5n,sha512:L5n}),K60=0,N5n="identity",Q60=U60,O5n=t=>Que(K60,Q60(t)),U5n={code:K60,name:N5n,encode:Q60,digest:O5n},H5n=Object.freeze({__proto__:null,identity:U5n});new TextEncoder,new TextDecoder;E60={...P6n,...F6n,...O6n,...H6n,...q6n,...Z6n,...n5n,...f5n,...d5n,...b5n};({...F5n,...H5n});_60=Y60("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),Uue=Y60("ascii","a",t=>{let e="a";for(let n=0;n{t=t.substring(1);let e=z5n(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=Zo(n,this.name)}get context(){return Xo(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setKeyChain(e){await this.core.storage.setItem(this.storageKey,aue(e))}async getKeyChain(){let e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?rue(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)}}},Xue=class{constructor(e,n,a){this.core=e,this.logger=n,this.name=Q5n,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=lse(r);return Qz(f.publicKey)},this.generateKeyPair=()=>{this.isInitialized();let r=jc0();return this.setPrivateKey(r.publicKey,r.privateKey)},this.signJWT=async r=>{this.isInitialized();let f=await this.getClientSeed(),i=lse(f),s=EQ();return await wOe(s,r,V5n,i)},this.generateSharedKey=(r,f,i)=>{this.isInitialized();let s=this.getPrivateKey(r),o=Gc0(s,f);return this.setSymKey(o,i)},this.setSymKey=async(r,f)=>{this.isInitialized();let i=f||h_(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=gue(i),o=q1(f);if(vue(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 Kc0({type:d,symKey:c,message:o,senderPublicKey:l})},this.decode=async(r,f,i)=>{this.isInitialized();let s=Vc0(f,i);if(vue(s)){let o=s.receiverPublicKey,c=s.senderPublicKey;r=await this.generateSharedKey(o,c)}try{let o=this.getSymKey(r),c=Qc0({symKey:o,encoded:f});return $u(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=RB(r);return m_(f.type)},this.getPayloadSenderPublicKey=r=>{let f=RB(r);return f.senderPublicKey?Bi(f.senderPublicKey,y1):void 0},this.core=e,this.logger=Zo(n,this.name),this.keychain=a||new Jue(this.core,this.logger)}get context(){return Xo(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(A60)}catch{e=EQ(),await this.keychain.set(A60,e)}return q5n(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)}}},Zue=class extends MQ{constructor(e,n){super(e,n),this.logger=e,this.core=n,this.messages=new Map,this.name=J5n,this.version=X5n,this.initialized=!1,this.storagePrefix=zb,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=Th(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=Th(r);return typeof f[i]<"u"},this.del=async a=>{this.isInitialized(),this.messages.delete(a),await this.persist()},this.logger=Zo(e,this.name),this.core=n}get context(){return Xo(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setRelayerMessages(e){await this.core.storage.setItem(this.storageKey,aue(e))}async getRelayerMessages(){let e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?rue(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)}}},e2e=class extends BQ{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,this.events=new xh.EventEmitter,this.name=edn,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||Z5n,o=_Q(f),c=f?.prompt||!1,d=f?.tag||0,l=f?.id||wl().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 c_(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(i6.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=Zo(n,this.name),this.registerEventListeners()}get context(){return Xo(this.logger)}rpcPublish(e,n,a,r,f,i,s){var o,c,d,l;let h={method:MB(r.protocol).publish,params:{topic:e,message:n,ttl:a,prompt:f,tag:i},id:s};return yo((o=h.params)==null?void 0:o.prompt)&&((c=h.params)==null||delete c.prompt),yo((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(eg.HEARTBEAT_EVENTS.pulse,()=>{if(this.needsTransportRestart){this.needsTransportRestart=!1,this.relayer.events.emit(i6.connection_stalled);return}this.checkQueue()}),this.relayer.on(i6.message_ack,e=>{this.removeRequestFromQueue(e.id.toString())})}},t2e=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())}},Tdn=Object.defineProperty,xdn=Object.defineProperties,Edn=Object.getOwnPropertyDescriptors,I60=Object.getOwnPropertySymbols,_dn=Object.prototype.hasOwnProperty,Adn=Object.prototype.propertyIsEnumerable,k60=(t,e,n)=>e in t?Tdn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,LB=(t,e)=>{for(var n in e||(e={}))_dn.call(e,n)&&k60(t,n,e[n]);if(I60)for(var n of I60(e))Adn.call(e,n)&&k60(t,n,e[n]);return t},zue=(t,e)=>xdn(t,Edn(e)),n2e=class extends LQ{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,this.subscriptions=new Map,this.topicMap=new t2e,this.events=new xh.EventEmitter,this.name=cdn,this.version=ddn,this.pending=new Map,this.cached=[],this.initialized=!1,this.pendingSubscriptionWatchLabel="pending_sub_watch_label",this.pollingInterval=20,this.storagePrefix=zb,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=_Q(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)>=ldn&&(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=Zo(n,this.name),this.clientId=""}get context(){return Xo(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=_Q(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:MB(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 c_(this.relayer.request(a).catch(r=>this.logger.warn(r)),this.subscribeTimeout)?Th(e+this.clientId):null}catch{this.logger.debug("Outgoing Relay Subscribe Payload stalled"),this.relayer.events.emit(i6.connection_stalled)}return null}async rpcBatchSubscribe(e){if(!e.length)return;let n=e[0].relay,a={method:MB(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 c_(this.relayer.request(a).catch(r=>this.logger.warn(r)),this.subscribeTimeout)}catch{this.relayer.events.emit(i6.connection_stalled)}}rpcUnsubscribe(e,n,a){let r={method:MB(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,zue(LB({},n),{id:e})),this.pending.delete(n.topic)}onBatchSubscribe(e){e.length&&e.forEach(n=>{this.setSubscription(n.id,LB({},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,LB({},n)),this.topicMap.set(n.topic,e),this.events.emit(Z2.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(Z2.deleted,zue(LB({},a),{reason:n}))}async persist(){await this.setRelayerSubscriptions(this.values),this.events.emit(Z2.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);z6(n)&&this.onBatchSubscribe(n.map((a,r)=>zue(LB({},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(eg.HEARTBEAT_EVENTS.pulse,async()=>{await this.checkPending()}),this.events.on(Z2.created,async e=>{let n=Z2.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),await this.persist()}),this.events.on(Z2.deleted,async e=>{let n=Z2.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)})}},Cdn=Object.defineProperty,S60=Object.getOwnPropertySymbols,Idn=Object.prototype.hasOwnProperty,kdn=Object.prototype.propertyIsEnumerable,R60=(t,e,n)=>e in t?Cdn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Sdn=(t,e)=>{for(var n in e||(e={}))Idn.call(e,n)&&R60(t,n,e[n]);if(S60)for(var n of S60(e))kdn.call(e,n)&&R60(t,n,e[n]);return t},a2e=class extends DQ{constructor(e){super(e),this.protocol="wc",this.version=2,this.events=new xh.EventEmitter,this.name=ndn,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||wl().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(bd.disconnect,d);let l=await i;this.provider.off(bd.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(o_())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(i6.connect)},this.onDisconnectHandler=()=>{this.onProviderDisconnect()},this.onProviderErrorHandler=n=>{this.logger.error(n),this.events.emit(i6.error,n),this.logger.info("Fatal socket error received, closing transport"),this.transportClose()},this.registerProviderListeners=()=>{this.provider.on(bd.payload,this.onPayloadHandler),this.provider.on(bd.connect,this.onConnectHandler),this.provider.on(bd.disconnect,this.onDisconnectHandler),this.provider.on(bd.error,this.onProviderErrorHandler)},this.core=e.core,this.logger=typeof e.logger<"u"&&typeof e.logger!="string"?Zo(e.logger,this.name):(0,S7.default)(R7({level:e.logger||tdn})),this.messages=new Zue(this.logger,e.core),this.subscriber=new n2e(this,this.logger),this.publisher=new e2e(this,this.logger),this.relayUrl=e?.relayUrl||J60,this.projectId=e.projectId,this.bundleId=V10(),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 ${C60}...`),await this.restartTransport(C60)}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)},idn)}get context(){return Xo(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(Z2.created,i),f())};return await Promise.all([new Promise(s=>{f=s,this.subscriber.on(Z2.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 c_(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(bd.disconnect,r),a(new Error("Connection interrupted while trying to subscribe"))};this.provider.on(bd.disconnect,r),await c_(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 Cue())throw new Error("No internet connection detected. Please restart your network and try again.")}startPingTimeout(){var e,n,a,r,f;if(o_())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 W6(new bW($10({sdkVersion:fdn,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}),lx(e)){if(!e.method.endsWith(adn))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(Sdn({type:"event",event:n.id},i)),this.events.emit(n.id,i),await this.acknowledgePayload(e),await this.onMessageEvent(i)}else Tm(e)&&this.events.emit(i6.message_ack,e)}async onMessageEvent(e){await this.shouldIgnoreMessageEvent(e)||(this.events.emit(i6.message,e),await this.recordMessageEvent(e))}async acknowledgePayload(e){let n=N8(e.id,!0);await this.provider.connection.send(n)}unregisterProviderListeners(){this.provider.off(bd.payload,this.onPayloadHandler),this.provider.off(bd.connect,this.onConnectHandler),this.provider.off(bd.disconnect,this.onDisconnectHandler),this.provider.off(bd.error,this.onProviderErrorHandler)}async registerEventListeners(){let e=await Cue();u60(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(i6.disconnect),this.connectionAttemptInProgress=!1,!this.transportExplicitlyClosed&&setTimeout(async()=>{await this.transportOpen().catch(e=>this.logger.error(e))},(0,Xt.toMiliseconds)(rdn))}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())}},Rdn=Object.defineProperty,M60=Object.getOwnPropertySymbols,Mdn=Object.prototype.hasOwnProperty,Bdn=Object.prototype.propertyIsEnumerable,B60=(t,e,n)=>e in t?Rdn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,D60=(t,e)=>{for(var n in e||(e={}))Mdn.call(e,n)&&B60(t,n,e[n]);if(M60)for(var n of M60(e))Bdn.call(e,n)&&B60(t,n,e[n]);return t},ep=class extends PQ{constructor(e,n,a,r=zb,f=void 0){super(e,n,a,r),this.core=e,this.logger=n,this.name=a,this.map=new Map,this.version=sdn,this.cached=[],this.initialized=!1,this.storagePrefix=zb,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&&!yo(i)?this.map.set(this.getKey(i),i):Xc0(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,N60.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=D60(D60({},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=Zo(n,this.name),this.storagePrefix=r,this.getKey=f}get context(){return Xo(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)}}},r2e=class{constructor(e,n){this.core=e,this.logger=n,this.name=udn,this.version=pdn,this.events=new xh.default,this.initialized=!1,this.storagePrefix=zb,this.ignoredPayloadTypes=[X2],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=EQ(),f=await this.core.crypto.setSymKey(r),i=Os(Xt.FIVE_MINUTES),s={protocol:l2e},o={topic:f,expiry:i,relay:s,active:!1},c=Yc0({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}=wue(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||Os(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(X9.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=Os(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}=wh();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=f2(r,f),s=await this.core.crypto.encode(a,i),o=PB[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=N8(a,f),s=await this.core.crypto.encode(r,i),o=await this.core.history.get(r,a),c=PB[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=O8(a,f),s=await this.core.crypto.encode(r,i),o=await this.core.history.get(r,a),c=PB[o.request.method]?PB[o.request.method].res:PB.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=>$2(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(X9.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(()=>{S6(r)?this.events.emit(Dn("pairing_ping",f),{}):n1(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(X9.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(!g1(a)){let{message:i}=F0("MISSING_OR_INVALID",`pair() params: ${a}`);throw new Error(i)}if(!Jc0(a.uri)){let{message:i}=F0("MISSING_OR_INVALID",`pair() uri: ${a.uri}`);throw new Error(i)}let f=wue(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(!g1(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(!g1(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(!Df(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($2(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=Zo(n,this.name),this.pairings=new ep(this.core,this.logger,this.name,this.storagePrefix)}get context(){return Xo(this.logger)}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}registerRelayerEvents(){this.core.relayer.on(i6.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{lx(r)?(this.core.history.set(n,r),this.onRelayEventRequest({topic:n,payload:r})):Tm(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(q6.expired,async e=>{let{topic:n}=TQ(e.target);n&&this.pairings.keys.includes(n)&&(await this.deletePairing(n,!0),this.events.emit(X9.expire,{topic:n}))})}},f2e=class extends RQ{constructor(e,n){super(e,n),this.core=e,this.logger=n,this.records=new Map,this.events=new xh.EventEmitter,this.name=hdn,this.version=mdn,this.cached=[],this.initialized=!1,this.storagePrefix=zb,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:Os(Xt.THIRTY_DAYS)};this.records.set(i.id,i),this.persist(),this.events.emit(Vl.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=n1(a)?{error:a.error}:{result:a.result},this.records.set(r.id,r),this.persist(),this.events.emit(Vl.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(Vl.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=Zo(n,this.name)}get context(){return Xo(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:f2(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(Vl.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(Vl.created,e=>{let n=Vl.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(Vl.updated,e=>{let n=Vl.updated;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(Vl.deleted,e=>{let n=Vl.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.core.heartbeat.on(eg.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(Vl.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)}}},i2e=class extends FQ{constructor(e,n){super(e,n),this.core=e,this.logger=n,this.expirations=new Map,this.events=new xh.EventEmitter,this.name=bdn,this.version=ydn,this.cached=[],this.initialized=!1,this.storagePrefix=zb,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(q6.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(q6.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=Zo(n,this.name)}get context(){return Xo(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 X10(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(q6.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(q6.expired,{target:e,expiration:n})}checkExpirations(){this.core.relayer.connected&&this.expirations.forEach((e,n)=>this.checkExpiry(n,e))}registerEventListeners(){this.core.heartbeat.on(eg.HEARTBEAT_EVENTS.pulse,()=>this.checkExpirations()),this.events.on(q6.created,e=>{let n=q6.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(q6.expired,e=>{let n=q6.expired;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(q6.deleted,e=>{let n=q6.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)}}},s2e=class extends NQ{constructor(e,n){super(e,n),this.projectId=e,this.logger=n,this.name=Hue,this.initialized=!1,this.queue=[],this.verifyDisabled=!1,this.init=async a=>{if(this.verifyDisabled||Y9()||!Hb())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=$ue;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,$ue)}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(Hue);if(i)return this.iframe=i,this.onInit(),f();window.addEventListener("message",r);let s=document.createElement("iframe");s.id=Hue,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||Z9;return gdn.includes(r)||(this.logger.info(`verify url: ${r}, not included in trusted list, assigning default: ${Z9}`),r=Z9),r},this.logger=Zo(n,this.name),this.verifyUrl=Z9,this.abortController=new AbortController,this.isDevEnv=o_()&&x.env.IS_VITEST}get context(){return Xo(this.logger)}startAbortTimer(e){return this.abortController=new AbortController,setTimeout(()=>this.abortController.abort(),(0,Xt.toMiliseconds)(e))}},o2e=class extends OQ{constructor(e,n){super(e,n),this.projectId=e,this.logger=n,this.context=vdn,this.registerDeviceToken=async a=>{let{clientId:r,token:f,notificationType:i,enableEncrypted:s=!1}=a,o=`${wdn}/${this.projectId}/clients`;await(0,O60.default)(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({client_id:r,type:i,token:f,always_raw:s})})},this.logger=Zo(n,this.context)}},Ddn=Object.defineProperty,P60=Object.getOwnPropertySymbols,Pdn=Object.prototype.hasOwnProperty,Ldn=Object.prototype.propertyIsEnumerable,L60=(t,e,n)=>e in t?Ddn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,F60=(t,e)=>{for(var n in e||(e={}))Pdn.call(e,n)&&L60(t,n,e[n]);if(P60)for(var n of P60(e))Ldn.call(e,n)&&L60(t,n,e[n]);return t},c2e=class t extends SQ{constructor(e){var n;super(e),this.protocol=$60,this.version=j5n,this.name=d2e,this.events=new xh.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||J60,this.customStoragePrefix=e!=null&&e.customStoragePrefix?`:${e.customStoragePrefix}`:"";let a=R7({level:typeof e?.logger=="string"&&e.logger?e.logger:G5n.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=Zo(r,this.name),this.heartbeat=new eg.HeartBeat,this.crypto=new Xue(this,this.logger,e?.keychain),this.history=new f2e(this,this.logger),this.expirer=new i2e(this,this.logger),this.storage=e!=null&&e.storage?e.storage:new hz(F60(F60({},K5n),e?.storageOptions)),this.relayer=new a2e({core:this,logger:this.logger,relayUrl:this.relayUrl,projectId:this.projectId}),this.pairing=new r2e(this,this.logger),this.verify=new s2e(this.projectId||"",this.logger),this.echoClient=new o2e(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(odn,a),n}get context(){return Xo(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}}},X60=c2e});var jQ,Fa,a50,r50,f50,x2e,u2e,e50,Fdn,E2e,Ndn,v_,Odn,yd,p2e,Eh,Udn,Hdn,zdn,Wdn,qdn,jdn,Gdn,GQ,WQ,Kdn,Qdn,Vdn,t50,Ydn,$dn,n50,Us,w_,h2e,m2e,b2e,y2e,g2e,v2e,w2e,T2e,qQ,i50=oe(()=>{u();p();Z60();Iz();Fue();BB();jQ=Ee(Or()),Fa=Ee(k7());xm();a50="wc",r50=2,f50="client",x2e=`${a50}@${r50}:${f50}:`,u2e={name:f50,logger:"error",controller:!1,relayUrl:"wss://relay.walletconnect.com"},e50="WALLETCONNECT_DEEPLINK_CHOICE",Fdn="proposal",E2e="Proposal expired",Ndn="session",v_=Fa.SEVEN_DAYS,Odn="engine",yd={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}}},p2e={min:Fa.FIVE_MINUTES,max:Fa.SEVEN_DAYS},Eh={idle:"IDLE",active:"ACTIVE"},Udn="request",Hdn=["wc_sessionPropose","wc_sessionRequest","wc_authRequest"],zdn="wc",Wdn="auth",qdn="authKeys",jdn="pairingTopics",Gdn="requests",GQ=`${zdn}@${1.5}:${Wdn}:`,WQ=`${GQ}:PUB_KEY`,Kdn=Object.defineProperty,Qdn=Object.defineProperties,Vdn=Object.getOwnPropertyDescriptors,t50=Object.getOwnPropertySymbols,Ydn=Object.prototype.hasOwnProperty,$dn=Object.prototype.propertyIsEnumerable,n50=(t,e,n)=>e in t?Kdn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Us=(t,e)=>{for(var n in e||(e={}))Ydn.call(e,n)&&n50(t,n,e[n]);if(t50)for(var n of t50(e))$dn.call(e,n)&&n50(t,n,e[n]);return t},w_=(t,e)=>Qdn(t,Vdn(e)),h2e=class extends HQ{constructor(e){super(e),this.name=Odn,this.events=new jQ.default,this.initialized=!1,this.requestQueue={state:Eh.idle,queue:[]},this.sessionRequestQueue={state:Eh.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(yd)}),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=w_(Us({},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=yd.wc_sessionPropose.req.ttl||Fa.FIVE_MINUTES,v=Os(y),k=Us({requiredNamespaces:f,optionalNamespaces:i,relays:o??[{protocol:l2e}],proposer:{publicKey:h,metadata:this.client.metadata},expiryTimestamp:v},s&&{sessionProperties:s}),{reject:O,resolve:F,done:z}=wh(y,E2e);this.events.once(Dn("session_connect"),async({error:j,session:Q})=>{if(j)O(j);else if(Q){Q.self.publicKey=h;let V=w_(Us({},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,Us({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=Us(Us({relay:{protocol:r??"irn"},namespaces:f,pairingTopic:c,controller:{publicKey:y,metadata:this.client.metadata},expiry:Os(v_)},i&&{sessionProperties:i}),s&&{sessionConfig:s});await this.client.core.relayer.subscribe(k);let F=w_(Us({},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,Os(v_)),{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}=wh(),o=r2(),c=wl().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=r2(),{done:f,resolve:i,reject:s}=wh();return this.events.once(Dn("session_extend",r),({error:o})=>{o?s(o):i()}),await this.setExpiry(a,Os(v_)),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=yd.wc_sessionRequest.req.ttl}=n,s=this.client.session.get(f),o=r2(),c=wl().toString(),{done:d,resolve:l,reject:h}=wh(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:w_(Us({},r),{expiryTimestamp:Os(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 tc0(this.client.core.storage,e50);ec0({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;S6(r)?await this.sendResult({id:f,topic:a,result:r.result,throwOnFailedPublish:!0}):n1(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=r2(),f=wl().toString(),{done:i,resolve:s,reject:o}=wh();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=wl().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=>$c0(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=h_(k);if(await Promise.all([this.client.auth.authKeys.set(WQ,{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}=s_(a[0]),w=Hc0(N,"request",l);SB(h)&&(w=zc0(w,h.pop())),h.push(w)}let F=Os(yd.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}=wh(yd.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 b=this.client.session.get(w.topic);V({session:b})}},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:b}=N.result,A=[],P=[];for(let g of w){await uue({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=SB(B.resources),S=[lue(B.iss)],q=kB(B.iss);if(M){let ee=hue(M),U=mue(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,b.publicKey),E;A.length>0&&(E={topic:L,acknowledged:!0,self:{publicKey:k,metadata:this.client.metadata},peer:b,controller:b.publicKey,expiry:Os(v_),requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:y,namespaces:Tue([...new Set(A)],[...new Set(P)])},await this.client.core.relayer.subscribe(L),await this.client.session.set(L,E),E=this.client.session.get(L)),V({auths:w,session:E})},R=r2(),T=r2();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:yd.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,Us({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=h_(i),c={type:X2,receiverPublicKey:i,senderPublicKey:s},d=[],l=[];for(let v of r){if(!await uue({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=SB(k.resources),F=[lue(k.iss)],z=kB(k.iss);if(O){let W=hue(O),j=mue(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:Os(v_),authentication:r,requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:"",namespaces:Tue([...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=h_(i),c={type:X2,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 pue(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(e50).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=Eh.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,Os(yd.wc_sessionPropose.req.ttl))},this.setPendingSessionRequest=async n=>{let{id:a,topic:r,params:f,verifyContext:i}=n,s=f.request.expiryTimestamp||Os(yd.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=f2(r,f,o);if(Hb()&&Hdn.includes(r)){let y=Th(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=yd[r].req;return i&&(h.ttl=i),s&&(h.id=s),this.client.core.history.set(a,d),c?(h.internal=w_(Us({},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=N8(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=yd[d.request.method].res;i?(l.internal=w_(Us({},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=O8(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=yd[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;$2(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=>{$2(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===Eh.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=Eh.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=Eh.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(Us({},a.params));let i=r.expiryTimestamp||Os(yd.wc_sessionPropose.req.ttl),s=Us({id:f,pairingTopic:n,expiryTimestamp:i},r);await this.setProposal(f,s);let o=Th(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(S6(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(n1(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=Us(Us({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;S6(a)?(await this.client.session.update(n,{acknowledged:!0}),this.events.emit(Dn("session_approve",r),{})):n1(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=Ob.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(Us({topic:n},r));try{Ob.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 Ob.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`);S6(a)?this.events.emit(Dn("session_update",r),{}):n1(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,Os(v_)),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`);S6(a)?this.events.emit(Dn("session_extend",r),{}):n1(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(()=>{S6(a)?this.events.emit(Dn("session_ping",r),{}):n1(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(i6.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(Us({topic:n},f));let i=Th(JSON.stringify(f2("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`);S6(a)?this.events.emit(Dn("session_request",r),{result:a.result}):n1(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=Ob.get(i);if(s&&this.isRequestOutOfSync(s,r)){this.client.logger.info(`Discarding out of sync request - ${r}`);return}this.isValidEmit(Us({topic:n},f)),this.client.events.emit("session_event",{id:r,topic:n,params:f}),Ob.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}),S6(a)?this.events.emit(Dn("session_request",r),{result:a.result}):n1(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=Th(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=Eh.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===Eh.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=Eh.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,f2("wc_sessionPropose",{requiredNamespaces:a.requiredNamespaces,optionalNamespaces:a.optionalNamespaces,relays:a.relays,proposer:a.proposer,sessionProperties:a.sessionProperties},a.id))},this.isValidConnect=async n=>{if(!g1(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(yo(a)||await this.isValidPairingTopic(a),!a60(s,!0)){let{message:o}=F0("MISSING_OR_INVALID",`connect() relays: ${s}`);throw new Error(o)}!yo(r)&&J9(r)!==0&&this.validateNamespaces(r,"requiredNamespaces"),!yo(f)&&J9(f)!==0&&this.validateNamespaces(f,"optionalNamespaces"),yo(i)||this.validateSessionProps(i,"sessionProperties")},this.validateNamespaces=(n,a)=>{let r=n60(n,"connect()",a);if(r)throw new Error(r.message)},this.isValidApprove=async n=>{if(!g1(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=CQ(r,"approve()");if(o)throw new Error(o.message);let c=Aue(s.requiredNamespaces,r,"approve()");if(c)throw new Error(c.message);if(!Df(f,!0)){let{message:d}=F0("MISSING_OR_INVALID",`approve() relayProtocol: ${f}`);throw new Error(d)}yo(i)||this.validateSessionProps(i,"sessionProperties")},this.isValidReject=async n=>{if(!g1(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),!f60(r)){let{message:f}=F0("MISSING_OR_INVALID",`reject() reason: ${JSON.stringify(r)}`);throw new Error(f)}},this.isValidSessionSettleRequest=n=>{if(!g1(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(!Eue(a)){let{message:c}=F0("MISSING_OR_INVALID","onSessionSettleRequest() relay protocol should be a string");throw new Error(c)}let s=e60(r,"onSessionSettleRequest()");if(s)throw new Error(s.message);let o=CQ(f,"onSessionSettleRequest()");if(o)throw new Error(o.message);if($2(i)){let{message:c}=F0("EXPIRED","onSessionSettleRequest()");throw new Error(c)}},this.isValidUpdate=async n=>{if(!g1(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=CQ(r,"update()");if(i)throw new Error(i.message);let s=Aue(f.requiredNamespaces,r,"update()");if(s)throw new Error(s.message)},this.isValidExtend=async n=>{if(!g1(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(!g1(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(!_ue(s,f)){let{message:o}=F0("MISSING_OR_INVALID",`request() chainId: ${f}`);throw new Error(o)}if(!i60(r)){let{message:o}=F0("MISSING_OR_INVALID",`request() ${JSON.stringify(r)}`);throw new Error(o)}if(!c60(s,f,r.method)){let{message:o}=F0("MISSING_OR_INVALID",`request() method: ${r.method}`);throw new Error(o)}if(i&&!l60(i,p2e)){let{message:o}=F0("MISSING_OR_INVALID",`request() expiry: ${i}. Expiry must be a number (in seconds) between ${p2e.min} and ${p2e.max}`);throw new Error(o)}},this.isValidRespond=async n=>{var a;if(!g1(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(!s60(f)){let{message:i}=F0("MISSING_OR_INVALID",`respond() response: ${JSON.stringify(f)}`);throw new Error(i)}},this.isValidPing=async n=>{if(!g1(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(!g1(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(!_ue(i,f)){let{message:s}=F0("MISSING_OR_INVALID",`emit() chainId: ${f}`);throw new Error(s)}if(!o60(r)){let{message:s}=F0("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(r)}`);throw new Error(s)}if(!d60(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(!g1(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(!Df(r,!1))throw new Error("uri is required parameter");if(!Df(f,!1))throw new Error("domain is required parameter");if(!Df(i,!1))throw new Error("nonce is required parameter");if([...new Set(a.map(o=>s_(o).namespace))].length>1)throw new Error("Multi-namespace requests are not supported. Please request single namespace only.");let{namespace:s}=s_(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||Z9,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(!Df(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(i6.message,async e=>{let{topic:n,message:a}=e,{publicKey:r}=this.client.auth.authKeys.keys.includes(WQ)?this.client.auth.authKeys.get(WQ):{responseTopic:void 0,publicKey:void 0},f=await this.client.core.crypto.decode(n,a,{receiverPublicKey:r});try{lx(f)?(this.client.core.history.set(n,f),this.onRelayEventRequest({topic:n,payload:f})):Tm(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(q6.expired,async e=>{let{topic:n,id:a}=TQ(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(X9.create,e=>this.onPairingCreated(e)),this.client.core.pairing.events.on(X9.delete,e=>{this.addToRecentlyDeleted(e.topic,"pairing")})}isValidPairingTopic(e){if(!Df(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($2(this.client.core.pairing.pairings.get(e).expiry)){let{message:n}=F0("EXPIRED",`pairing topic: ${e}`);throw new Error(n)}}async isValidSessionTopic(e){if(!Df(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($2(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(Df(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(!r60(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($2(this.client.proposal.get(e).expiryTimestamp)){await this.deleteProposal(e);let{message:n}=F0("EXPIRED",`proposal id: ${e}`);throw new Error(n)}}},m2e=class extends ep{constructor(e,n){super(e,n,Fdn,x2e),this.core=e,this.logger=n}},b2e=class extends ep{constructor(e,n){super(e,n,Ndn,x2e),this.core=e,this.logger=n}},y2e=class extends ep{constructor(e,n){super(e,n,Udn,x2e,a=>a.id),this.core=e,this.logger=n}},g2e=class extends ep{constructor(e,n){super(e,n,qdn,GQ,()=>WQ),this.core=e,this.logger=n}},v2e=class extends ep{constructor(e,n){super(e,n,jdn,GQ),this.core=e,this.logger=n}},w2e=class extends ep{constructor(e,n){super(e,n,Gdn,GQ,a=>a.id),this.core=e,this.logger=n}},T2e=class{constructor(e,n){this.core=e,this.logger=n,this.authKeys=new g2e(this.core,this.logger),this.pairingTopics=new v2e(this.core,this.logger),this.requests=new w2e(this.core,this.logger)}async init(){await this.authKeys.init(),await this.pairingTopics.init(),await this.requests.init()}},qQ=class t extends UQ{constructor(e){super(e),this.protocol=a50,this.version=r50,this.name=u2e.name,this.events=new jQ.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||u2e.name,this.metadata=e?.metadata||Y10();let n=typeof e?.logger<"u"&&typeof e?.logger!="string"?e.logger:(0,S7.default)(R7({level:e?.logger||u2e.logger}));this.core=e?.core||new X60(e),this.logger=Zo(n,this.name),this.session=new b2e(this.core,this.logger),this.proposal=new m2e(this.core,this.logger),this.pendingRequest=new y2e(this.core,this.logger),this.engine=new h2e(this),this.auth=new T2e(this.core,this.logger)}static async init(e){let n=new t(e);return await n.initialize(),n}get context(){return Xo(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 c50=D((_h,o50)=>{u();p();var s50=typeof self<"u"?self:_h,KQ=function(){function t(){this.fetch=!1,this.DOMException=s50.DOMException}return t.prototype=s50,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("="),b=w.shift().replace(/\+/g," "),A=w.join("=").replace(/\+/g," ");T.append(decodeURIComponent(b),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 b=w.split(":"),A=b.shift().trim();if(A){var P=b.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 b=new j(R,T);if(b.signal&&b.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 E="response"in A?A.response:A.responseText;N(new X(E,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(b.method,b.url,!0),b.credentials==="include"?A.withCredentials=!0:b.credentials==="omit"&&(A.withCredentials=!1),"responseType"in A&&a.blob&&(A.responseType="blob"),b.headers.forEach(function(L,E){A.setRequestHeader(E,L)}),b.signal&&(b.signal.addEventListener("abort",P),A.onreadystatechange=function(){A.readyState===4&&b.signal.removeEventListener("abort",P)}),A.send(typeof b._bodyInit>"u"?null:b._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}({})})(KQ);KQ.fetch.ponyfill=!0;delete KQ.fetch.polyfill;var T_=KQ;_h=T_.fetch;_h.default=T_.fetch;_h.fetch=T_.fetch;_h.Headers=T_.Headers;_h.Request=T_.Request;_h.Response=T_.Response;o50.exports=_h});var b50,_2e,Jdn,Xdn,Zdn,d50,eln,tln,l50,u50,p50,nln,aln,h50,m50,gd,y50=oe(()=>{u();p();b50=Ee(Or()),_2e=Ee(c50());I7();xm();Jdn=Object.defineProperty,Xdn=Object.defineProperties,Zdn=Object.getOwnPropertyDescriptors,d50=Object.getOwnPropertySymbols,eln=Object.prototype.hasOwnProperty,tln=Object.prototype.propertyIsEnumerable,l50=(t,e,n)=>e in t?Jdn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,u50=(t,e)=>{for(var n in e||(e={}))eln.call(e,n)&&l50(t,n,e[n]);if(d50)for(var n of d50(e))tln.call(e,n)&&l50(t,n,e[n]);return t},p50=(t,e)=>Xdn(t,Zdn(e)),nln={Accept:"application/json","Content-Type":"application/json"},aln="POST",h50={headers:nln,method:aln},m50=10,gd=class{constructor(e,n=!1){if(this.url=e,this.disableProviderPing=n,this.events=new b50.EventEmitter,this.isAvailable=!1,this.registering=!1,!hW(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=q1(e),a=await(await(0,_2e.default)(this.url,p50(u50({},h50),{body:n}))).json();this.onPayload({data:a})}catch(n){this.onError(e.id,n)}}async register(e=this.url){if(!hW(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=q1({id:1,jsonrpc:"2.0",method:"test",params:[]});await(0,_2e.default)(e,p50(u50({},h50),{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"?$u(e.data):e.data;this.events.emit("payload",n)}onError(e,n){let a=this.parseError(n),r=a.message||a.toString(),f=O8(e,r);this.events.emit("payload",f)}parseError(e,n=this.url){return zS(e,n,"HTTP")}resetMaxListeners(){this.events.getMaxListeners()>m50&&this.events.setMaxListeners(m50)}}});function Wb(t,e,n){var a;let r=s_(t);return((a=e.rpcMap)==null?void 0:a[r.reference])||`${sln}?chainId=${r.namespace}:${r.reference}&projectId=${n}`}function tg(t){return t.includes(":")?t.split(":")[1]:t}function I50(t){return t.map(e=>`${e.split(":")[0]}:${e.split(":")[1]}`)}function hln(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 A2e(t={},e={}){let n=x50(t),a=x50(e);return S2e.exports.merge(n,a)}function x50(t){var e,n,a,r;let f={};if(!J9(t))return f;for(let[i,s]of Object.entries(t)){let o=AQ(i)?[i]:s.chains,c=s.methods||[],d=s.events||[],l=s.rpcMap||{},h=y_(i);f[h]=pln(QQ(QQ({},f[h]),s),{chains:CB(o,(e=f[h])==null?void 0:e.chains),methods:CB(c,(n=f[h])==null?void 0:n.methods),events:CB(d,(a=f[h])==null?void 0:a.events),rpcMap:QQ(QQ({},l),(r=f[h])==null?void 0:r.rpcMap)})}return f}function mln(t){return t.includes(":")?t.split(":")[2]:t}function E50(t){let e={};for(let[n,a]of Object.entries(t)){let r=a.methods||[],f=a.events||[],i=a.accounts||[],s=AQ(n)?[n]:a.chains?a.chains:I50(a.accounts);e[n]={chains:s,methods:r,events:f,accounts:i}}return e}function C2e(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 C50,g50,rln,fln,iln,v50,sln,Ah,NB,S2e,oln,cln,dln,w50,lln,uln,T50,QQ,pln,k50,vf,I2e,R2e,M2e,B2e,D2e,P2e,L2e,F2e,N2e,bln,yln,gln,_50,vln,wln,A50,VQ,k2e,O2e,S50,R50=oe(()=>{u();p();i50();BB();Iz();y50();Oue();C50=Ee(Or());xm();g50="error",rln="wss://relay.walletconnect.com",fln="wc",iln="universal_provider",v50=`${fln}@2:${iln}:`,sln="https://rpc.walletconnect.com/v1/",Ah={DEFAULT_CHAIN_CHANGED:"default_chain_changed"},NB=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},S2e={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,b=1,A=2,P=3,L=1/0,E=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]",me="[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,m0=/[&<>"']/g,h0=RegExp(Ue.source),$e=RegExp(m0.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,K0=RegExp(B0.source),s0=/^\s+/,J0=/\s/,Y0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,l0=/\{\n\/\* \[wrapped with (.+)\] \*/,Q0=/,? & /,et=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,p0=/[()=,{}\[\]\/\s]/,Z0=/\\(\\)?/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",cf="a-z\\xdf-\\xf6\\xf8-\\xff",Gf="\\xac\\xb1\\xd7\\xf7",Qs="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Wd="\\u2000-\\u206f",qd=" \\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",ru="A-Z\\xc0-\\xd6\\xd8-\\xde",DL="\\ufe0e\\ufe0f",PL=Gf+Qs+Wd+qd,ce="['\u2019]",we="["+za+"]",ve="["+PL+"]",Le="["+Jr+"]",Re="\\d+",Ne="["+rr+"]",e0="["+cf+"]",x0="[^"+za+PL+Re+rr+cf+ru+"]",S0="\\ud83c[\\udffb-\\udfff]",R0="(?:"+Le+"|"+S0+")",A0="[^"+za+"]",pt="(?:\\ud83c[\\udde6-\\uddff]){2}",yn="[\\ud800-\\udbff][\\udc00-\\udfff]",ya="["+ru+"]",Ra="\\u200d",Cf="(?:"+e0+"|"+x0+")",Xr="(?:"+ya+"|"+x0+")",P1="(?:"+ce+"(?:d|ll|m|re|s|t|ve))?",Ev="(?:"+ce+"(?:D|LL|M|RE|S|T|VE))?",_v=R0+"?",LL="["+DL+"]?",nee="(?:"+Ra+"(?:"+[A0,pt,yn].join("|")+")"+LL+_v+")*",FL="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",I_0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",g9e=LL+_v+nee,k_0="(?:"+[Ne,pt,yn].join("|")+")"+g9e,S_0="(?:"+[A0+Le+"?",Le,pt,yn,we].join("|")+")",R_0=RegExp(ce,"g"),M_0=RegExp(Le,"g"),aee=RegExp(S0+"(?="+S0+")|"+S_0+g9e,"g"),B_0=RegExp([ya+"?"+e0+"+"+P1+"(?="+[ve,ya,"$"].join("|")+")",Xr+"+"+Ev+"(?="+[ve,ya+Cf,"$"].join("|")+")",ya+"?"+Cf+"+"+P1,ya+"+"+Ev,I_0,FL,Re,k_0].join("|"),"g"),D_0=RegExp("["+Ra+za+Jr+DL+"]"),P_0=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,L_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"],F_0=-1,Zr={};Zr[Se]=Zr[Qe]=Zr[u0]=Zr[qe]=Zr[v0]=Zr[w0]=Zr[Ve]=Zr[me]=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 Nr={};Nr[U]=Nr[J]=Nr[Te]=Nr[Ce]=Nr[ne]=Nr[ue]=Nr[Se]=Nr[Qe]=Nr[u0]=Nr[qe]=Nr[v0]=Nr[de]=Nr[Ae]=Nr[Be]=Nr[He]=Nr[_0]=Nr[L0]=Nr[Ze]=Nr[w0]=Nr[Ve]=Nr[me]=Nr[ye]=!0,Nr[re]=Nr[ie]=Nr[pe]=!1;var N_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"},O_0={"&":"&","<":"<",">":">",'"':""","'":"'"},U_0={"&":"&","<":"<",">":">",""":'"',"'":"'"},H_0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},z_0=parseFloat,W_0=parseInt,v9e=typeof NB=="object"&&NB&&NB.Object===Object&&NB,q_0=typeof self=="object"&&self&&self.Object===Object&&self,Vs=v9e||q_0||Function("return this")(),ree=e&&!e.nodeType&&e,Y4=ree&&!0&&t&&!t.nodeType&&t,w9e=Y4&&Y4.exports===ree,fee=w9e&&v9e.process,s5=function(){try{var De=Y4&&Y4.require&&Y4.require("util").types;return De||fee&&fee.binding&&fee.binding("util")}catch{}}(),T9e=s5&&s5.isArrayBuffer,x9e=s5&&s5.isDate,E9e=s5&&s5.isMap,_9e=s5&&s5.isRegExp,A9e=s5&&s5.isSet,C9e=s5&&s5.isTypedArray;function h6(De,Xe,We){switch(We.length){case 0:return De.call(Xe);case 1:return De.call(Xe,We[0]);case 2:return De.call(Xe,We[0],We[1]);case 3:return De.call(Xe,We[0],We[1],We[2])}return De.apply(Xe,We)}function j_0(De,Xe,We,rt){for(var Kt=-1,Wa=De==null?0:De.length;++Kt-1}function iee(De,Xe,We){for(var rt=-1,Kt=De==null?0:De.length;++rt-1;);return We}function P9e(De,Xe){for(var We=De.length;We--&&Av(Xe,De[We],0)>-1;);return We}function Z_0(De,Xe){for(var We=De.length,rt=0;We--;)De[We]===Xe&&++rt;return rt}var eA0=dee(N_0),tA0=dee(O_0);function nA0(De){return"\\"+H_0[De]}function aA0(De,Xe){return De==null?n:De[Xe]}function Cv(De){return D_0.test(De)}function rA0(De){return P_0.test(De)}function fA0(De){for(var Xe,We=[];!(Xe=De.next()).done;)We.push(Xe.value);return We}function hee(De){var Xe=-1,We=Array(De.size);return De.forEach(function(rt,Kt){We[++Xe]=[Kt,rt]}),We}function L9e(De,Xe){return function(We){return De(Xe(We))}}function s3(De,Xe){for(var We=-1,rt=De.length,Kt=0,Wa=[];++We-1}function KA0(m,C){var H=this.__data__,$=eF(H,m);return $<0?(++this.size,H.push([m,C])):H[$][1]=C,this}Up.prototype.clear=WA0,Up.prototype.delete=qA0,Up.prototype.get=jA0,Up.prototype.has=GA0,Up.prototype.set=KA0;function Hp(m){var C=-1,H=m==null?0:m.length;for(this.clear();++C=C?m:C)),m}function l5(m,C,H,$,te,le){var xe,Ie=C&l,Fe=C&h,r0=C&y;if(H&&(xe=te?H(m,$,te,le):H(m)),xe!==n)return xe;if(!If(m))return m;var f0=nn(m);if(f0){if(xe=$C0(m),!Ie)return _c(m,xe)}else{var b0=Ro(m),V0=b0==ie||b0==ge;if(p3(m))return yge(m,Ie);if(b0==Be||b0==U||V0&&!te){if(xe=Fe||V0?{}:Fge(m),!Ie)return Fe?UC0(m,oC0(xe,m)):OC0(m,Q9e(xe,m))}else{if(!Nr[b0])return te?m:{};xe=JC0(m,b0,Ie)}}le||(le=new Gd);var ct=le.get(m);if(ct)return ct;le.set(m,xe),lve(m)?m.forEach(function(Dt){xe.add(l5(Dt,C,H,Dt,m,le))}):cve(m)&&m.forEach(function(Dt,Kn){xe.set(Kn,l5(Dt,C,H,Kn,m,le))});var Bt=r0?Fe?Hee:Uee:Fe?Cc:ds,xn=f0?n:Bt(m);return o5(xn||m,function(Dt,Kn){xn&&(Kn=Dt,Dt=m[Kn]),$C(xe,Kn,l5(Dt,C,H,Kn,m,le))}),xe}function cC0(m){var C=ds(m);return function(H){return V9e(H,m,C)}}function V9e(m,C,H){var $=H.length;if(m==null)return!$;for(m=Ir(m);$--;){var te=H[$],le=C[te],xe=m[te];if(xe===n&&!(te in m)||!le(xe))return!1}return!0}function Y9e(m,C,H){if(typeof m!="function")throw new c5(i);return aI(function(){m.apply(n,H)},C)}function JC(m,C,H,$){var te=-1,le=NL,xe=!0,Ie=m.length,Fe=[],r0=C.length;if(!Ie)return Fe;H&&(C=df(C,m6(H))),$?(le=iee,xe=!1):C.length>=r&&(le=jC,xe=!1,C=new X4(C));e:for(;++tete?0:te+H),$=$===n||$>te?te:gn($),$<0&&($+=te),$=H>$?0:pve($);H<$;)m[H++]=C;return m}function J9e(m,C){var H=[];return c3(m,function($,te,le){C($,te,le)&&H.push($)}),H}function Ys(m,C,H,$,te){var le=-1,xe=m.length;for(H||(H=ZC0),te||(te=[]);++le0&&H(Ie)?C>1?Ys(Ie,C-1,H,$,te):i3(te,Ie):$||(te[te.length]=Ie)}return te}var Tee=Ege(),X9e=Ege(!0);function fu(m,C){return m&&Tee(m,C,ds)}function xee(m,C){return m&&X9e(m,C,ds)}function nF(m,C){return f3(C,function(H){return Gp(m[H])})}function ey(m,C){C=l3(C,m);for(var H=0,$=C.length;m!=null&&H<$;)m=m[su(C[H++])];return H&&H==$?m:n}function Z9e(m,C,H){var $=C(m);return nn(m)?$:i3($,H(m))}function L1(m){return m==null?m===n?I0:Ge:$4&&$4 in Ir(m)?QC0(m):iI0(m)}function Eee(m,C){return m>C}function uC0(m,C){return m!=null&&fr.call(m,C)}function pC0(m,C){return m!=null&&C in Ir(m)}function hC0(m,C,H){return m>=So(C,H)&&m=120&&f0.length>=120)?new X4(xe&&f0):n}f0=m[0];var b0=-1,V0=Ie[0];e:for(;++b0-1;)Ie!==m&&QL.call(Ie,Fe,1),QL.call(m,Fe,1);return m}function cge(m,C){for(var H=m?C.length:0,$=H-1;H--;){var te=C[H];if(H==$||te!==le){var le=te;jp(te)?QL.call(m,te,1):Bee(m,te)}}return m}function See(m,C){return m+$L(q9e()*(C-m+1))}function IC0(m,C,H,$){for(var te=-1,le=Yi(YL((C-m)/(H||1)),0),xe=We(le);le--;)xe[$?le:++te]=m,m+=H;return xe}function Ree(m,C){var H="";if(!m||C<1||C>E)return H;do C%2&&(H+=m),C=$L(C/2),C&&(m+=m);while(C);return H}function Sn(m,C){return Qee(Uge(m,C,Ic),m+"")}function kC0(m){return K9e(Nv(m))}function SC0(m,C){var H=Nv(m);return pF(H,Z4(C,0,H.length))}function eI(m,C,H,$){if(!If(m))return m;C=l3(C,m);for(var te=-1,le=C.length,xe=le-1,Ie=m;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=m[le];xe!==null&&!y6(xe)&&(H?xe<=C:xe=r){var r0=C?null:qC0(m);if(r0)return UL(r0);xe=!1,te=jC,Fe=new X4}else Fe=C?[]:Ie;e:for(;++$=$?m:u5(m,C,H)}var bge=wA0||function(m){return Vs.clearTimeout(m)};function yge(m,C){if(C)return m.slice();var H=m.length,$=O9e?O9e(H):new m.constructor(H);return m.copy($),$}function Fee(m){var C=new m.constructor(m.byteLength);return new GL(C).set(new GL(m)),C}function PC0(m,C){var H=C?Fee(m.buffer):m.buffer;return new m.constructor(H,m.byteOffset,m.byteLength)}function LC0(m){var C=new m.constructor(m.source,$0.exec(m));return C.lastIndex=m.lastIndex,C}function FC0(m){return YC?Ir(YC.call(m)):{}}function gge(m,C){var H=C?Fee(m.buffer):m.buffer;return new m.constructor(H,m.byteOffset,m.length)}function vge(m,C){if(m!==C){var H=m!==n,$=m===null,te=m===m,le=y6(m),xe=C!==n,Ie=C===null,Fe=C===C,r0=y6(C);if(!Ie&&!r0&&!le&&m>C||le&&xe&&Fe&&!Ie&&!r0||$&&xe&&Fe||!H&&Fe||!te)return 1;if(!$&&!le&&!r0&&m=Ie)return Fe;var r0=H[$];return Fe*(r0=="desc"?-1:1)}}return m.index-C.index}function wge(m,C,H,$){for(var te=-1,le=m.length,xe=H.length,Ie=-1,Fe=C.length,r0=Yi(le-xe,0),f0=We(Fe+r0),b0=!$;++Ie1?H[te-1]:n,xe=te>2?H[2]:n;for(le=m.length>3&&typeof le=="function"?(te--,le):n,xe&&F1(H[0],H[1],xe)&&(le=te<3?n:le,te=1),C=Ir(C);++$-1?te[le?C[xe]:xe]:n}}function Cge(m){return qp(function(C){var H=C.length,$=H,te=d5.prototype.thru;for(m&&C.reverse();$--;){var le=C[$];if(typeof le!="function")throw new c5(i);if(te&&!xe&&lF(le)=="wrapper")var xe=new d5([],!0)}for($=xe?$:H;++$1&&fa.reverse(),f0&&FeIe))return!1;var r0=le.get(m),f0=le.get(C);if(r0&&f0)return r0==C&&f0==m;var b0=-1,V0=!0,ct=H&k?new X4:n;for(le.set(m,C),le.set(C,m);++b01?"& ":"")+C[$],C=C.join(H>2?", ":" "),m.replace(Y0,`{ + Approved: ${h.toString()}`))}),i.forEach(l=>{a||(Y9(r[l].methods,f[l].methods)?Y9(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 O5n(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 cc0(t){return[...new Set(t.map(e=>e.includes(":")?e.split(":")[0]:e))]}function U5n(t){let e={};return Object.keys(t).forEach(n=>{n.includes(":")?e[n]=t[n]:k_(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 R60(t,e){return a2e(t,!1)&&t<=e.max&&t>=e.min}function s2e(){let t=AB();return new Promise(e=>{switch(t){case r6.browser:e(H5n());break;case r6.reactNative:e(z5n());break;case r6.node:e(W5n());break;default:e(!0)}})}function H5n(){return Wb()&&navigator?.onLine}async function z5n(){return X9()&&typeof global<"u"&&global!=null&&global.NetInfo?(await(global==null?void 0:global.NetInfo.fetch()))?.isConnected:!0}function W5n(){return!0}function M60(t){switch(AB()){case r6.browser:q5n(t);break;case r6.reactNative:j5n(t);break;case r6.node:break}}function q5n(t){!X9()&&Wb()&&(window.addEventListener("online",()=>t(!0)),window.addEventListener("offline",()=>t(!1)))}function j5n(t){X9()&&typeof global<"u"&&global!=null&&global.NetInfo&&global?.NetInfo.addEventListener(e=>t(e?.isConnected))}var vh,zb,dc0,g_,Lue,lc0,Fue,_B,UQ,f1n,i1n,B10,s1n,o1n,D10,P10,c1n,r6,d1n,Tc0,xc0,b1n,y1n,L10,F10,RQ,N10,uue,O10,Iue,Gl,U10,gf,v1n,Ti,pue,Ac0,_1n,A1n,C1n,fn,Cc0,DQ,bh,hue,W10,q10,go,dc,vB,Ic0,kc0,wB,TB,PQ,j10,S1n,R1n,Rc0,LQ,h_,Bc0,AQ,V1n,Y1n,$1n,J1n,gB,X1n,Wue,V10,ncn,acn,rcn,fcn,z2,aa,IB,kue,icn,scn,E_,Y10,Mcn,u_,J2,Bcn,Q2,b_,Ocn,Ucn,gue,bB,Hcn,zcn,qc0,Wcn,qcn,y_,jcn,__,Gcn,jl,Kcn,Qcn,Vcn,Ycn,$cn,Jcn,Xcn,Zcn,jc0,e6n,Gc0,Sue,Kc0,t6n,f6,n6n,a6n,V2,Y2,Qc0,Vc0,Nb,vue,wue,r6n,f6n,i6n,s6n,Yc0,o6n,$c0,Rue,Jc0,T6n,Xc0,$9,x6n,IQ,$10,yB,J10,Zc0,A6n,C6n,I6n,k6n,S6n,R6n,M6n,que,Ql,H6,kQ,D6n,NQ,Z9,jue,P6n,L6n,MQ,BQ,Z10,Tue,xue,F6n,SQ,O6n,t60,U6n,H6n,z6n,W6n,Mue,Aue,Bue,j6n,tc0,Q6n,X6n,Z6n,e5n,nc0,t5n,n5n,ac0,a5n,r5n,f5n,Gue,a60,Kue,kB,Vue,s60,y1,Due,Jue,o60,X2,p5n,rc0,Pue,Xue,b5n,y5n,g5n,v5n,fc0,w5n,T5n,ic0,sc0,x5n,R5n,M5n,Cue,Hb,BB=oe(()=>{u();p();pse();vh=Ee(R7()),zb=Ee(hse()),dc0=Ee(kOe()),g_=Ee(QOe()),Lue=Ee(tUe()),lc0=Ee(sUe()),Fue=Ee(AS()),_B=Ee(cUe()),UQ=Ee(pUe());lue();mUe();f1n=":";i1n=Object.defineProperty,B10=Object.getOwnPropertySymbols,s1n=Object.prototype.hasOwnProperty,o1n=Object.prototype.propertyIsEnumerable,D10=(t,e,n)=>e in t?i1n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,P10=(t,e)=>{for(var n in e||(e={}))s1n.call(e,n)&&D10(t,n,e[n]);if(B10)for(var n of B10(e))o1n.call(e,n)&&D10(t,n,e[n]);return t},c1n="ReactNative",r6={reactNative:"react-native",node:"node",browser:"browser",unknown:"unknown"},d1n="js";Tc0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};xc0={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 x=="object"&&x.versions&&x.versions.node;i?r=Tc0: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 b["cshake"+U].update(ne,ue,Y,re)[Z]()}},X=function(U,J,Z){return function(ne,ue,Y,re){return b["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,me,ye,_e,ze,je,Ue,m0,h0,$e,M0,P0,t0,j0,z0,Ke,B0,K0,s0,J0,Y0,l0,Q0,et,p0,Z0,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,K0=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,J0=U[23]<<10|U[22]>>>22,Ve=U[33]<<13|U[32]>>>19,me=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,Z0=U[4]<<30|U[5]>>>2,Ue=U[14]<<6|U[15]>>>26,m0=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,Q0=U[47]<<24|U[46]>>>8,et=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^~m0&$e,U[30]=z0^~B0&s0,U[31]=Ke^~K0&J0,U[40]=p0^~Et&Tt,U[41]=Z0^~$0&Pn,U[2]=_0^~Ze&pe,U[3]=L0^~I0&he,U[12]=u0^~v0&Ve,U[13]=qe^~w0&me,U[22]=Ue^~h0&M0,U[23]=m0^~$e&P0,U[32]=B0^~s0&Y0,U[33]=K0^~J0&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^~me&_e,U[24]=h0^~M0&t0,U[25]=$e^~P0&j0,U[34]=s0^~Y0&Q0,U[35]=J0^~l0&et,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]=me^~_e&Qe,U[26]=M0^~t0&ze,U[27]=P0^~j0&je,U[36]=Y0^~Q0&z0,U[37]=l0^~et&Ke,U[46]=Ln^~Nn&p0,U[47]=Fn^~On&Z0,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&m0,U[38]=Q0^~z0&B0,U[39]=et^~Ke&K0,U[48]=Nn^~p0&Et,U[49]=On^~Z0&$0,U[0]^=k[ne],U[1]^=k[ne+1]};if(s)t.exports=b;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+=U10[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 Gl.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 Gl.CALL_EXCEPTION:case Gl.INSUFFICIENT_FUNDS:case Gl.MISSING_NEW:case Gl.NONCE_EXPIRED:case Gl.REPLACEMENT_UNDERPRICED:case Gl.TRANSACTION_REPLACED:case Gl.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){O10&&this.throwError("platform missing String.prototype.normalize",t.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:O10})}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 uue||(uue=new t(y1n)),uue}static setCensorship(e,n){if(!e&&n&&this.globalLogger().throwError("cannot permanently disable censorship",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),L10){if(!e)return;this.globalLogger().throwError("error censorship permanent",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}F10=!!e,L10=!!n}static setLogLevel(e){let n=RQ[e.toLowerCase()];if(n==null){t.globalLogger().warn("invalid log level - "+e);return}N10=n}static from(e){return new t(e)}};gf.errors=Gl,gf.levels=Iue;v1n="bytes/5.7.0",Ti=new gf(v1n);pue="0123456789abcdef";Ac0={exports:{}},_1n={},A1n=Object.freeze({__proto__:null,default:_1n}),C1n=m1n(A1n);(function(t){(function(e,n){function a(w,b){if(!w)throw new Error(b||"Assertion failed")}function r(w,b){w.super_=b;var A=function(){};A.prototype=b.prototype,w.prototype=new A,w.prototype.constructor=w}function f(w,b,A){if(f.isBN(w))return w;this.negative=0,this.words=null,this.length=0,this.red=null,w!==null&&((b==="le"||b==="be")&&(A=b,b=10),this._init(w||0,b||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=C1n.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,b){return w.cmp(b)>0?w:b},f.min=function(w,b){return w.cmp(b)<0?w:b},f.prototype._init=function(w,b,A){if(typeof w=="number")return this._initNumber(w,b,A);if(typeof w=="object")return this._initArray(w,b,A);b==="hex"&&(b=16),a(b===(b|0)&&b>=2&&b<=36),w=w.toString().replace(/\s+/g,"");var P=0;w[0]==="-"&&(P++,this.negative=1),P=0;P-=3)E=w[P]|w[P-1]<<8|w[P-2]<<16,this.words[L]|=E<>>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,b){var A=w.charCodeAt(b);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,b,A){var P=s(w,A);return A-1>=b&&(P|=s(w,A-1)<<4),P}f.prototype._parseHex=function(w,b,A){this.length=Math.ceil((w.length-b)/6),this.words=new Array(this.length);for(var P=0;P=b;P-=2)g=o(w,b,P)<=18?(L-=18,E+=1,this.words[E]|=g>>>26):L+=8;else{var B=w.length-b;for(P=B%2===0?b+1:b;P=18?(L-=18,E+=1,this.words[E]|=g>>>26):L+=8}this._strip()};function c(w,b,A,P){for(var L=0,E=0,g=Math.min(w.length,A),B=b;B=49?E=M-49+10:M>=17?E=M-17+10:E=M,a(M>=0&&E1&&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,b){w=w||10,b=b|0||1;var A;if(w===16||w==="hex"){A="";for(var P=0,L=0,E=0;E>>24-P&16777215,P+=2,P>=26&&(P-=26,E--),L!==0||E!==this.length-1?A=h[6-B.length]+B+A:A=B+A}for(L!==0&&(A=L.toString(16)+A);A.length%b!==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%b!==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,b){return this.toArrayLike(i,w,b)}),f.prototype.toArray=function(w,b){return this.toArrayLike(Array,w,b)};var k=function(w,b){return w.allocUnsafe?w.allocUnsafe(b):new w(b)};f.prototype.toArrayLike=function(w,b,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 E=k(w,L),g=b==="le"?"LE":"BE";return this["_toArrayLike"+g](E,P),E},f.prototype._toArrayLikeLE=function(w,b){for(var A=0,P=0,L=0,E=0;L>8&255),A>16&255),E===6?(A>24&255),P=0,E=0):(P=g>>>24,E+=2)}if(A=0&&(w[A--]=g>>8&255),A>=0&&(w[A--]=g>>16&255),E===6?(A>=0&&(w[A--]=g>>24&255),P=0,E=0):(P=g>>>24,E+=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 b=w,A=0;return b>=4096&&(A+=13,b>>>=13),b>=64&&(A+=7,b>>>=7),b>=8&&(A+=4,b>>>=4),b>=2&&(A+=2,b>>>=2),A+b},f.prototype._zeroBits=function(w){if(w===0)return 26;var b=w,A=0;return b&8191||(A+=13,b>>>=13),b&127||(A+=7,b>>>=7),b&15||(A+=4,b>>>=4),b&3||(A+=2,b>>>=2),b&1||A++,A},f.prototype.bitLength=function(){var w=this.words[this.length-1],b=this._countBits(w);return(this.length-1)*26+b};function O(w){for(var b=new Array(w.bitLength()),A=0;A>>L&1}return b}f.prototype.zeroBits=function(){if(this.isZero())return 0;for(var w=0,b=0;bw.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 b;this.length>w.length?b=w:b=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 b,A;this.length>w.length?(b=this,A=w):(b=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 b=Math.ceil(w/26)|0,A=w%26;this._expand(b),A>0&&b--;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,b){a(typeof w=="number"&&w>=0);var A=w/26|0,P=w%26;return this._expand(A+1),b?this.words[A]=this.words[A]|1<w.length?(A=this,P=w):(A=w,P=this);for(var L=0,E=0;E>>26;for(;L!==0&&E>>26;if(this.length=A.length,L!==0)this.words[this.length]=L,this.length++;else if(A!==this)for(;Ew.length?this.clone().iadd(w):w.clone().iadd(this)},f.prototype.isub=function(w){if(w.negative!==0){w.negative=0;var b=this.iadd(w);return w.negative=1,b._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 E=0,g=0;g>26,this.words[g]=b&67108863;for(;E!==0&&g>26,this.words[g]=b&67108863;if(E===0&&g>>26,ee=M&67108863,U=Math.min(S,b.length-1),J=Math.max(0,S-w.length+1);J<=U;J++){var Z=S-J|0;L=w.words[Z]|0,E=b.words[J]|0,g=L*E+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,b,A){var P=w.words,L=b.words,E=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,me=L[1]|0,ye=me&8191,_e=me>>>13,ze=L[2]|0,je=ze&8191,Ue=ze>>>13,m0=L[3]|0,h0=m0&8191,$e=m0>>>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,K0=B0&8191,s0=B0>>>13,J0=L[7]|0,Y0=J0&8191,l0=J0>>>13,Q0=L[8]|0,et=Q0&8191,p0=Q0>>>13,Z0=L[9]|0,Et=Z0&8191,$0=Z0>>>13;A.negative=w.negative^b.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,K0)|0,M=M+Math.imul(ee,s0)|0,M=M+Math.imul(U,K0)|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,K0)|0,M=M+Math.imul(Z,s0)|0,M=M+Math.imul(ne,K0)|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,K0)|0,M=M+Math.imul(Y,s0)|0,M=M+Math.imul(re,K0)|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,et)|0,M=M+Math.imul(ee,p0)|0,M=M+Math.imul(U,et)|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,K0)|0,M=M+Math.imul(ge,s0)|0,M=M+Math.imul(de,K0)|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,et)|0,M=M+Math.imul(Z,p0)|0,M=M+Math.imul(ne,et)|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,K0)|0,M=M+Math.imul(Ge,s0)|0,M=M+Math.imul(Be,K0)|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,et)|0,M=M+Math.imul(Y,p0)|0,M=M+Math.imul(re,et)|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,K0)|0,M=M+Math.imul(Ye,s0)|0,M=M+Math.imul(He,K0)|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,et)|0,M=M+Math.imul(ge,p0)|0,M=M+Math.imul(de,et)|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,K0)|0,M=M+Math.imul(L0,s0)|0,M=M+Math.imul(Ze,K0)|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,et)|0,M=M+Math.imul(Ge,p0)|0,M=M+Math.imul(Be,et)|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,K0)|0,M=M+Math.imul(pe,s0)|0,M=M+Math.imul(he,K0)|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,et)|0,M=M+Math.imul(Ye,p0)|0,M=M+Math.imul(He,et)|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,K0)|0,M=M+Math.imul(Ce,s0)|0,M=M+Math.imul(Se,K0)|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,et)|0,M=M+Math.imul(L0,p0)|0,M=M+Math.imul(Ze,et)|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 cf=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(cf>>>26)|0,cf&=67108863,B=Math.imul(u0,K0),M=Math.imul(u0,s0),M=M+Math.imul(qe,K0)|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,et)|0,M=M+Math.imul(pe,p0)|0,M=M+Math.imul(he,et)|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 Gf=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Gf>>>26)|0,Gf&=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,et)|0,M=M+Math.imul(Ce,p0)|0,M=M+Math.imul(Se,et)|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 Qs=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Qs>>>26)|0,Qs&=67108863,B=Math.imul(u0,et),M=Math.imul(u0,p0),M=M+Math.imul(qe,et)|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 Wd=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Wd>>>26)|0,Wd&=67108863,B=Math.imul(u0,Et),M=Math.imul(u0,$0),M=M+Math.imul(qe,Et)|0,S=Math.imul(qe,$0);var qd=(g+B|0)+((M&8191)<<13)|0;return g=(S+(M>>>13)|0)+(qd>>>26)|0,qd&=67108863,E[0]=Tt,E[1]=Pn,E[2]=Ln,E[3]=Fn,E[4]=Nn,E[5]=On,E[6]=Ha,E[7]=pr,E[8]=za,E[9]=hr,E[10]=ar,E[11]=Cr,E[12]=Jr,E[13]=rr,E[14]=cf,E[15]=Gf,E[16]=Qs,E[17]=Wd,E[18]=qd,g!==0&&(E[19]=g,A.length++),A};Math.imul||(z=F);function W(w,b,A){A.negative=b.negative^w.negative,A.length=w.length+b.length;for(var P=0,L=0,E=0;E>>26)|0,L+=g>>>26,g&=67108863}A.words[E]=B,P=g,g=L}return P!==0?A.words[E]=P:A.length--,A._strip()}function j(w,b,A){return W(w,b,A)}f.prototype.mulTo=function(w,b){var A,P=this.length+w.length;return this.length===10&&w.length===10?A=z(this,w,b):P<63?A=F(this,w,b):P<1024?A=W(this,w,b):A=j(this,w,b),A},f.prototype.mul=function(w){var b=new f(null);return b.words=new Array(this.length+w.length),this.mulTo(w,b)},f.prototype.mulf=function(w){var b=new f(null);return b.words=new Array(this.length+w.length),j(this,w,b)},f.prototype.imul=function(w){return this.clone().mulTo(w,this)},f.prototype.imuln=function(w){var b=w<0;b&&(w=-w),a(typeof w=="number"),a(w<67108864);for(var A=0,P=0;P>=26,A+=L/67108864|0,A+=E>>>26,this.words[P]=E&67108863}return A!==0&&(this.words[P]=A,this.length++),b?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 b=O(w);if(b.length===0)return new f(1);for(var A=this,P=0;P=0);var b=w%26,A=(w-b)/26,P=67108863>>>26-b<<26-b,L;if(b!==0){var E=0;for(L=0;L>>26-b}E&&(this.words[L]=E,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;b?P=(b-b%26)/26:P=0;var L=w%26,E=Math.min((w-L)/26,this.length),g=67108863^67108863>>>L<E)for(this.length-=E,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,b,A){return a(this.negative===0),this.iushrn(w,b,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 b=w%26,A=(w-b)/26,P=1<=0);var b=w%26,A=(w-b)/26;if(a(this.negative===0,"imaskn works only with positive numbers"),this.length<=A)return this;if(b!==0&&A++,this.length=Math.min(A,this.length),b!==0){var P=67108863^67108863>>>b<=67108864;b++)this.words[b]-=67108864,b===this.length-1?this.words[b+1]=1:this.words[b+1]++;return this.length=Math.max(this.length,b+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 b=0;b>26)-(B/67108864|0),this.words[L+A]=E&67108863}for(;L>26,this.words[L+A]=E&67108863;if(g===0)return this._strip();for(a(g===-1),g=0,L=0;L>26,this.words[L]=E&67108863;return this.negative=1,this._strip()},f.prototype._wordDiv=function(w,b){var A=this.length-w.length,P=this.clone(),L=w,E=L.words[L.length-1]|0,g=this._countBits(E);A=26-g,A!==0&&(L=L.ushln(A),P.iushln(A),E=L.words[L.length-1]|0);var B=P.length-L.length,M;if(b!=="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/E|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(),b!=="div"&&A!==0&&P.iushrn(A),{div:M||null,mod:P}},f.prototype.divmod=function(w,b,A){if(a(!w.isZero()),this.isZero())return{div:new f(0),mod:new f(0)};var P,L,E;return this.negative!==0&&w.negative===0?(E=this.neg().divmod(w,b),b!=="mod"&&(P=E.div.neg()),b!=="div"&&(L=E.mod.neg(),A&&L.negative!==0&&L.iadd(w)),{div:P,mod:L}):this.negative===0&&w.negative!==0?(E=this.divmod(w.neg(),b),b!=="mod"&&(P=E.div.neg()),{div:P,mod:E.mod}):this.negative&w.negative?(E=this.neg().divmod(w.neg(),b),b!=="div"&&(L=E.mod.neg(),A&&L.negative!==0&&L.isub(w)),{div:E.div,mod:L}):w.length>this.length||this.cmp(w)<0?{div:new f(0),mod:this}:w.length===1?b==="div"?{div:this.divn(w.words[0]),mod:null}:b==="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,b)},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 b=this.divmod(w);if(b.mod.isZero())return b.div;var A=b.div.negative!==0?b.mod.isub(w):b.mod,P=w.ushrn(1),L=w.andln(1),E=A.cmp(P);return E<0||L===1&&E===0?b.div:b.div.negative!==0?b.div.isubn(1):b.div.iaddn(1)},f.prototype.modrn=function(w){var b=w<0;b&&(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 b?-P:P},f.prototype.modn=function(w){return this.modrn(w)},f.prototype.idivn=function(w){var b=w<0;b&&(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(),b?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 b=this,A=w.clone();b.negative!==0?b=b.umod(w):b=b.clone();for(var P=new f(1),L=new f(0),E=new f(0),g=new f(1),B=0;b.isEven()&&A.isEven();)b.iushrn(1),A.iushrn(1),++B;for(var M=A.clone(),S=b.clone();!b.isZero();){for(var q=0,ee=1;!(b.words[0]&ee)&&q<26;++q,ee<<=1);if(q>0)for(b.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;)(E.isOdd()||g.isOdd())&&(E.iadd(M),g.isub(S)),E.iushrn(1),g.iushrn(1);b.cmp(A)>=0?(b.isub(A),P.isub(E),L.isub(g)):(A.isub(b),E.isub(P),g.isub(L))}return{a:E,b:g,gcd:A.iushln(B)}},f.prototype._invmp=function(w){a(w.negative===0),a(!w.isZero());var b=this,A=w.clone();b.negative!==0?b=b.umod(w):b=b.clone();for(var P=new f(1),L=new f(0),E=A.clone();b.cmpn(1)>0&&A.cmpn(1)>0;){for(var g=0,B=1;!(b.words[0]&B)&&g<26;++g,B<<=1);if(g>0)for(b.iushrn(g);g-- >0;)P.isOdd()&&P.iadd(E),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(E),L.iushrn(1);b.cmp(A)>=0?(b.isub(A),P.isub(L)):(A.isub(b),L.isub(P))}var q;return b.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 b=this.clone(),A=w.clone();b.negative=0,A.negative=0;for(var P=0;b.isEven()&&A.isEven();P++)b.iushrn(1),A.iushrn(1);do{for(;b.isEven();)b.iushrn(1);for(;A.isEven();)A.iushrn(1);var L=b.cmp(A);if(L<0){var E=b;b=A,A=E}else if(L===0||A.cmpn(1)===0)break;b.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 b=w%26,A=(w-b)/26,P=1<>>26,g&=67108863,this.words[E]=g}return L!==0&&(this.words[E]=L,this.length++),this},f.prototype.isZero=function(){return this.length===1&&this.words[0]===0},f.prototype.cmpn=function(w){var b=w<0;if(this.negative!==0&&!b)return-1;if(this.negative===0&&b)return 1;this._strip();var A;if(this.length>1)A=1;else{b&&(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&&(b=1);break}}return b},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,b){this.name=w,this.p=new f(b,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 b=w,A;do this.split(b,this.tmp),b=this.imulK(b),b=b.iadd(this.tmp),A=b.bitLength();while(A>this.n);var P=A0?b.isub(this.p):b.strip!==void 0?b.strip():b._strip(),b},V.prototype.split=function(w,b){w.iushrn(this.n,0,b)},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,b){for(var A=4194303,P=Math.min(w.length,9),L=0;L>>22,E=g}E>>>=22,w.words[L-10]=E,E===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 b=0,A=0;A>>=26,w.words[A]=L,b=P}return b!==0&&(w.words[w.length++]=b),w},f._prime=function(w){if(Q[w])return Q[w];var b;if(w==="k256")b=new X;else if(w==="p224")b=new K;else if(w==="p192")b=new G;else if(w==="p25519")b=new R;else throw new Error("Unknown prime "+w);return Q[w]=b,b};function T(w){if(typeof w=="string"){var b=f._prime(w);this.m=b.p,this.prime=b}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,b){a((w.negative|b.negative)===0,"red works only with positives"),a(w.red&&w.red===b.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,b){this._verify2(w,b);var A=w.add(b);return A.cmp(this.m)>=0&&A.isub(this.m),A._forceRed(this)},T.prototype.iadd=function(w,b){this._verify2(w,b);var A=w.iadd(b);return A.cmp(this.m)>=0&&A.isub(this.m),A},T.prototype.sub=function(w,b){this._verify2(w,b);var A=w.sub(b);return A.cmpn(0)<0&&A.iadd(this.m),A._forceRed(this)},T.prototype.isub=function(w,b){this._verify2(w,b);var A=w.isub(b);return A.cmpn(0)<0&&A.iadd(this.m),A},T.prototype.shl=function(w,b){return this._verify1(w),this.imod(w.ushln(b))},T.prototype.imul=function(w,b){return this._verify2(w,b),this.imod(w.imul(b))},T.prototype.mul=function(w,b){return this._verify2(w,b),this.imod(w.mul(b))},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 b=this.m.andln(3);if(a(b%2===1),b===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 E=new f(1).toRed(this),g=E.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(E)!==0;){for(var J=ee,Z=0;J.cmp(E)!==0;Z++)J=J.redSqr();a(Z=0;L--){for(var S=b.words[L],q=M-1;q>=0;q--){var ee=S>>q&1;if(E!==P[0]&&(E=this.sqr(E)),ee===0&&g===0){B=0;continue}g<<=1,g|=ee,B++,!(B!==A&&(L!==0||q!==0))&&(E=this.mul(E,P[g]),B=0,g=0)}M=26}return E},T.prototype.convertTo=function(w){var b=w.umod(this.m);return b===w?b.clone():b},T.prototype.convertFrom=function(w){var b=w.clone();return b.red=null,b},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 b=this.imod(w.mul(this.rinv));return b.red=null,b},N.prototype.imul=function(w,b){if(w.isZero()||b.isZero())return w.words[0]=0,w.length=1,w;var A=w.imul(b),P=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),L=A.isub(P).iushrn(this.shift),E=L;return L.cmp(this.m)>=0?E=L.isub(this.m):L.cmpn(0)<0&&(E=L.iadd(this.m)),E._forceRed(this)},N.prototype.mul=function(w,b){if(w.isZero()||b.isZero())return new f(0)._forceRed(this);var A=w.mul(b),P=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),L=A.isub(P).iushrn(this.shift),E=L;return L.cmp(this.m)>=0?E=L.isub(this.m):L.cmpn(0)<0&&(E=L.iadd(this.m)),E._forceRed(this)},N.prototype.invm=function(w){var b=this.imod(w._invmp(this.m).mul(this.r2));return b._forceRed(this)}})(t,Tc0)})(Ac0);fn=Ac0.exports,Cc0="bignumber/5.7.0",DQ=fn.BN,bh=new gf(Cc0),hue={},W10=9007199254740991;q10=!1,go=class t{constructor(e,n){e!==hue&&bh.throwError("cannot call constructor directly; use BigNumber.from",gf.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=n,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return a6(na(this).fromTwos(e))}toTwos(e){return a6(na(this).toTwos(e))}abs(){return this._hex[0]==="-"?t.from(this._hex.substring(1)):this}add(e){return a6(na(this).add(na(e)))}sub(e){return a6(na(this).sub(na(e)))}div(e){return t.from(e).isZero()&&ud("division-by-zero","div"),a6(na(this).div(na(e)))}mul(e){return a6(na(this).mul(na(e)))}mod(e){let n=na(e);return n.isNeg()&&ud("division-by-zero","mod"),a6(na(this).umod(n))}pow(e){let n=na(e);return n.isNeg()&&ud("negative-power","pow"),a6(na(this).pow(n))}and(e){let n=na(e);return(this.isNegative()||n.isNeg())&&ud("unbound-bitwise-result","and"),a6(na(this).and(n))}or(e){let n=na(e);return(this.isNegative()||n.isNeg())&&ud("unbound-bitwise-result","or"),a6(na(this).or(n))}xor(e){let n=na(e);return(this.isNegative()||n.isNeg())&&ud("unbound-bitwise-result","xor"),a6(na(this).xor(n))}mask(e){return(this.isNegative()||e<0)&&ud("negative-width","mask"),a6(na(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&ud("negative-width","shl"),a6(na(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&ud("negative-width","shr"),a6(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{ud("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return bh.throwError("this platform does not support BigInt",gf.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?q10||(q10=!0,bh.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?bh.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",gf.errors.UNEXPECTED_ARGUMENT,{}):bh.throwError("BigNumber.toString does not accept parameters",gf.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(hue,xB(e)):e.match(/^-?[0-9]+$/)?new t(hue,xB(new DQ(e))):bh.throwArgumentError("invalid BigNumber string","value",e);if(typeof e=="number")return e%1&&ud("underflow","BigNumber.from",e),(e>=W10||e<=-W10)&&ud("overflow","BigNumber.from",e),t.from(String(e));let n=e;if(typeof n=="bigint")return t.from(n.toString());if(x_(n))return t.from(cc(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"&&(U6(a)||a[0]==="-"&&U6(a.substring(1))))return t.from(a)}return bh.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!!(e&&e._isBigNumber)}};dc=new gf(Cc0),vB={},Ic0=go.from(0),kc0=go.from(-1);wB="0";for(;wB.length<256;)wB+=wB;TB=class t{constructor(e,n,a,r){e!==vB&&dc.throwError("cannot use FixedFormat constructor; use FixedFormat.from",gf.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=zue(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||dc.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&&dc.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&&dc.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",a),r>80&&dc.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",r),new t(vB,n,a,r)}},PQ=class t{constructor(e,n,a,r){e!==vB&&dc.throwError("cannot use FixedNumber constructor; use FixedNumber.from",gf.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&&dc.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}addUnsafe(e){this._checkFormat(e);let n=mh(this._value,this.format.decimals),a=mh(e._value,e.format.decimals);return t.fromValue(n.add(a),this.format.decimals,this.format)}subUnsafe(e){this._checkFormat(e);let n=mh(this._value,this.format.decimals),a=mh(e._value,e.format.decimals);return t.fromValue(n.sub(a),this.format.decimals,this.format)}mulUnsafe(e){this._checkFormat(e);let n=mh(this._value,this.format.decimals),a=mh(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=mh(this._value,this.format.decimals),a=mh(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(j10.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(j10.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)&&dc.throwArgumentError("invalid decimal count","decimals",e),n[1].length<=e)return this;let a=t.from("1"+wB.substring(0,e),this.format),r=S1n.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&&dc.throwArgumentError("invalid byte width","width",e);let n=go.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return K2(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&&!I1n(n)&&(a=n,n=null),n==null&&(n=0),a==null&&(a="fixed"),t.fromString(mue(e,n),TB.from(a))}static fromString(e,n){n==null&&(n="fixed");let a=TB.from(n),r=mh(e,a.decimals);!a.signed&&r.lt(Ic0)&&Sc0("unsigned value cannot be negative","overflow","value",e);let f=null;a.signed?f=r.toTwos(a.width).toHexString():(f=r.toHexString(),f=K2(f,a.width/8));let i=mue(r,a.decimals);return new t(vB,f,i,a)}static fromBytes(e,n){n==null&&(n="fixed");let a=TB.from(n);if(ii(e).length>a.width/8)throw new Error("overflow");let r=go.from(e);a.signed&&(r=r.fromTwos(a.width));let f=r.toTwos((a.signed?0:1)+a.width).toHexString(),i=mue(r,a.decimals);return new t(vB,f,i,a)}static from(e,n){if(typeof e=="string")return t.fromString(e,n);if(x_(e))return t.fromBytes(e,n);try{return t.fromValue(e,0,n)}catch(a){if(a.code!==gf.errors.INVALID_ARGUMENT)throw a}return dc.throwArgumentError("invalid FixedNumber value","value",e)}static isFixedNumber(e){return!!(e&&e._isFixedNumber)}},j10=PQ.from(1),S1n=PQ.from("0.5"),R1n="strings/5.7.0",Rc0=new gf(R1n);(function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"})(LQ||(LQ={}));(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"})(h_||(h_={}));Object.freeze({error:M1n,ignore:Mc0,replace:B1n});G10("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)),yue("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"),yue("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"),yue("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",D1n),G10("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");Bc0="hash/5.7.0";AQ=Q1n();new Set(FQ(AQ)),new Set(FQ(AQ)),W1n(AQ),K1n(AQ),new gf(Bc0);V1n=new Uint8Array(32);V1n.fill(0);Y1n=`Ethereum Signed Message: +`;$1n="rlp/5.7.0";new gf($1n);J1n="address/5.7.0",gB=new gf(J1n);X1n=9007199254740991;Wue={};for(let t=0;t<10;t++)Wue[String(t)]=String(t);for(let t=0;t<26;t++)Wue[String.fromCharCode(65+t)]=String(10+t);V10=Math.floor(Z1n(X1n));ncn="properties/5.7.0";new gf(ncn);new gf(Bc0);acn=new Uint8Array(32);acn.fill(0),go.from(-1);rcn=go.from(0),fcn=go.from(1);go.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),K2(fcn.toHexString(),32),K2(rcn.toHexString(),32);z2={},aa={},IB=Fc0;Fc0.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)};kue={exports:{}};typeof Object.create=="function"?kue.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:kue.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}};icn=IB,scn=kue.exports;aa.inherits=scn;aa.toArray=ccn;aa.toHex=dcn;aa.htonl=Nc0;aa.toHex32=lcn;aa.zero2=Oc0;aa.zero8=Uc0;aa.join32=ucn;aa.split32=pcn;aa.rotr32=hcn;aa.rotl32=mcn;aa.sum32=bcn;aa.sum32_3=ycn;aa.sum32_4=gcn;aa.sum32_5=vcn;aa.sum64=wcn;aa.sum64_hi=Tcn;aa.sum64_lo=xcn;aa.sum64_4_hi=Ecn;aa.sum64_4_lo=_cn;aa.sum64_5_hi=Acn;aa.sum64_5_lo=Ccn;aa.rotr64_hi=Icn;aa.rotr64_lo=kcn;aa.shr64_hi=Scn;aa.shr64_lo=Rcn;E_={},Y10=aa,Mcn=IB;E_.BlockHash=CQ,CQ.prototype.update=function(t,e){if(t=Y10.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=Y10.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()),R6n(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}),kQ=H6.getNAF,D6n=H6.getJSF,NQ=H6.assert;Z9=Ob;Ob.prototype.point=function(){throw new Error("Not implemented")},Ob.prototype.validate=function(){throw new Error("Not implemented")},Ob.prototype._fixedNafMul=function(t,e){NQ(t.precomputed);var n=t._getDoubles(),a=kQ(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];NQ(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},Ob.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]=kQ(n[y],f[y],this._bitLength),s[v]=kQ(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=D6n(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},pd.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}]},md.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}},md.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)},md.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},md.prototype._endoWnafMulAdd=function(t,e,n){for(var a=this._endoWnafT1,r=this._endoWnafT2,f=0;f":""},Us.prototype.isInfinity=function(){return this.inf},Us.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)},Us.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)},Us.prototype.getX=function(){return this.x.fromRed()},Us.prototype.getY=function(){return this.y.fromRed()},Us.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)},Us.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)},Us.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)},Us.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)},Us.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},Us.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};jue(bo,Z9.BasePoint),md.prototype.jpoint=function(t,e,n){return new bo(this,t,e,n)},bo.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)},bo.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},bo.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)},bo.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)},bo.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}},bo.prototype.inspect=function(){return this.isInfinity()?"":""},bo.prototype.isInfinity=function(){return this.z.cmpn(0)===0};MQ=A_(function(t,e){var n=e;n.base=Z9,n.short=L6n,n.mont=null,n.edwards=null}),BQ=A_(function(t,e){var n=e,a=H6.assert;function r(s){s.type==="short"?this.curve=new MQ.short(s):s.type==="edwards"?this.curve=new MQ.edwards(s):this.curve=new MQ.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:z2.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:z2.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:z2.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:z2.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:z2.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:z2.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:z2.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:z2.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",i]})});Z10=Ub;Ub.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},Ub.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=Ql.toArray(n,a||"hex"),this._update(n));for(var r=[];r.length"};F6n=H6.assert;SQ=zQ;zQ.prototype._importDER=function(t,e){t=H6.toArray(t,e);var n=new N6n;if(t[n.place++]!==48)return!1;var a=Eue(t,n);if(a===!1||a+n.place!==t.length||t[n.place++]!==2)return!1;var r=Eue(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=Eue(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};zQ.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=ec0(e),n=ec0(n);!n[0]&&!(n[1]&128);)n=n.slice(1);var a=[2];_ue(a,e.length),a=a.concat(e),a.push(2),_ue(a,n.length);var r=a.concat(n),f=[48];return _ue(f,r.length),f=f.concat(r),H6.encode(f,t)};O6n=function(){throw new Error("unsupported")},t60=H6.assert;U6n=hd;hd.prototype.keyPair=function(t){return new xue(this,t)},hd.prototype.keyFromPrivate=function(t,e){return xue.fromPrivate(this,t,e)},hd.prototype.keyFromPublic=function(t,e){return xue.fromPublic(this,t,e)},hd.prototype.genKeyPair=function(t){t||(t={});for(var e=new Z10({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||O6n(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)}},hd.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},hd.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 Z10({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 SQ({r:y,s:v,recoveryParam:k})}}}}}},hd.prototype.verify=function(t,e,n,a){t=this._truncateToN(new fn(t,16)),n=this.keyFromPublic(n,a),e=new SQ(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)},hd.prototype.recoverPubKey=function(t,e,n,a){t60((3&n)===n,"The recovery param is more than two bits"),e=new SQ(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)},hd.prototype.getKeyRecoveryParam=function(t,e,n,a){if(e=new SQ(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")};H6n=A_(function(t,e){var n=e;n.version="6.5.4",n.utils=H6,n.rand=function(){throw new Error("unsupported")},n.curve=MQ,n.curves=BQ,n.ec=U6n,n.eddsa=null}),z6n=H6n.ec,W6n="signing-key/5.7.0",Mue=new gf(W6n),Aue=null;Bue=class{constructor(e){mB(this,"curve","secp256k1"),mB(this,"privateKey",cc(e)),E1n(this.privateKey)!==32&&Mue.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");let n=G2().keyFromPrivate(ii(this.privateKey));mB(this,"publicKey","0x"+n.getPublic(!1,"hex")),mB(this,"compressedPublicKey","0x"+n.getPublic(!0,"hex")),mB(this,"_isSigningKey",!0)}_addPoint(e){let n=G2().keyFromPublic(ii(this.publicKey)),a=G2().keyFromPublic(ii(e));return"0x"+n.pub.add(a.pub).encodeCompressed("hex")}signDigest(e){let n=G2().keyFromPrivate(ii(this.privateKey)),a=ii(e);a.length!==32&&Mue.throwArgumentError("bad digest length","digest",e);let r=n.sign(a,{canonical:!0});return _c0({recoveryParam:r.recoveryParam,r:K2("0x"+r.r.toString(16),32),s:K2("0x"+r.s.toString(16),32)})}computeSharedSecret(e){let n=G2().keyFromPrivate(ii(this.privateKey)),a=G2().keyFromPublic(ii(n60(e)));return K2("0x"+n.derive(a.getPublic()).toString(16),32)}static isSigningKey(e){return!!(e&&e._isSigningKey)}};j6n="transactions/5.7.0";new gf(j6n);(function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"})(tc0||(tc0={}));Q6n="https://rpc.walletconnect.com/v1";X6n=Object.defineProperty,Z6n=Object.defineProperties,e5n=Object.getOwnPropertyDescriptors,nc0=Object.getOwnPropertySymbols,t5n=Object.prototype.hasOwnProperty,n5n=Object.prototype.propertyIsEnumerable,ac0=(t,e,n)=>e in t?X6n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,a5n=(t,e)=>{for(var n in e||(e={}))t5n.call(e,n)&&ac0(t,n,e[n]);if(nc0)for(var n of nc0(e))n5n.call(e,n)&&ac0(t,n,e[n]);return t},r5n=(t,e)=>Z6n(t,e5n(e)),f5n="did:pkh:",Gue=t=>t?.split(":"),a60=t=>{let e=t&&Gue(t);if(e)return t.includes(f5n)?e[3]:e[1]},Kue=t=>{let e=t&&Gue(t);if(e)return e[2]+":"+e[3]},kB=t=>{let e=t&&Gue(t);if(e)return e.pop()};Vue=(t,e)=>{let n=`${t.domain} wants you to sign in with your Ethereum account:`,a=kB(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: ${a60(e)}`,o=`Nonce: ${t.nonce}`,c=`Issued At: ${t.iat}`,d=t.resources?`Resources:${t.resources.map(h=>` +- ${h}`).join("")}`:void 0,l=SB(t.resources);if(l){let h=EB(l);r=u5n(r,h)}return[n,a,"",r,"",f,i,s,o,c,d].filter(h=>h!=null).join(` +`)};s60="base10",y1="base16",Due="base64pad",Jue="utf8",o60=0,X2=1,p5n=0,rc0=1,Pue=12,Xue=32;b5n="irn";y5n=Object.defineProperty,g5n=Object.defineProperties,v5n=Object.getOwnPropertyDescriptors,fc0=Object.getOwnPropertySymbols,w5n=Object.prototype.hasOwnProperty,T5n=Object.prototype.propertyIsEnumerable,ic0=(t,e,n)=>e in t?y5n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,sc0=(t,e)=>{for(var n in e||(e={}))w5n.call(e,n)&&ic0(t,n,e[n]);if(fc0)for(var n of fc0(e))T5n.call(e,n)&&ic0(t,n,e[n]);return t},x5n=(t,e)=>g5n(t,v5n(e));R5n={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}},M5n={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}};Cue={},Hb=class{static get(e){return Cue[e]}static set(e,n){Cue[e]=n}static delete(e){delete Cue[e]}}});var B60=D(KQ=>{"use strict";u();p();Object.defineProperty(KQ,"__esModule",{value:!0});KQ.IHeartBeat=void 0;var G5n=(iie(),vn(qFe)),o2e=class extends G5n.IEvents{constructor(e){super()}};KQ.IHeartBeat=o2e});var d2e=D(c2e=>{"use strict";u();p();Object.defineProperty(c2e,"__esModule",{value:!0});var K5n=(Xu(),vn(Ju));K5n.__exportStar(B60(),c2e)});var D60=D(R_=>{"use strict";u();p();Object.defineProperty(R_,"__esModule",{value:!0});R_.HEARTBEAT_EVENTS=R_.HEARTBEAT_INTERVAL=void 0;var Q5n=R7();R_.HEARTBEAT_INTERVAL=Q5n.FIVE_SECONDS;R_.HEARTBEAT_EVENTS={pulse:"heartbeat_pulse"}});var u2e=D(l2e=>{"use strict";u();p();Object.defineProperty(l2e,"__esModule",{value:!0});var V5n=(Xu(),vn(Ju));V5n.__exportStar(D60(),l2e)});var P60=D(QQ=>{"use strict";u();p();Object.defineProperty(QQ,"__esModule",{value:!0});QQ.HeartBeat=void 0;var p2e=(Xu(),vn(Ju)),Y5n=Or(),$5n=R7(),J5n=d2e(),h2e=u2e(),m2e=class t extends J5n.IHeartBeat{constructor(e){super(e),this.events=new Y5n.EventEmitter,this.interval=h2e.HEARTBEAT_INTERVAL,this.interval=e?.interval||h2e.HEARTBEAT_INTERVAL}static init(e){return p2e.__awaiter(this,void 0,void 0,function*(){let n=new t(e);return yield n.init(),n})}init(){return p2e.__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 p2e.__awaiter(this,void 0,void 0,function*(){this.intervalRef=setInterval(()=>this.pulse(),$5n.toMiliseconds(this.interval))})}pulse(){this.events.emit(h2e.HEARTBEAT_EVENTS.pulse)}};QQ.HeartBeat=m2e});var L60=D(DB=>{"use strict";u();p();Object.defineProperty(DB,"__esModule",{value:!0});var b2e=(Xu(),vn(Ju));b2e.__exportStar(P60(),DB);b2e.__exportStar(d2e(),DB);b2e.__exportStar(u2e(),DB)});var F60,VQ,YQ,$Q,JQ,XQ,ZQ,eV,tV,nV,aV,rV,fV,y2e=oe(()=>{u();p();iie();F60=Ee(Or()),VQ=class extends Zu{constructor(e){super(),this.opts=e,this.protocol="wc",this.version=2}},YQ=class extends Zu{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}},JQ=class extends Zu{constructor(e,n){super(),this.relayer=e,this.logger=n}},XQ=class extends Zu{constructor(e){super()}},ZQ=class{constructor(e,n,a,r){this.core=e,this.logger=n,this.name=a}},eV=class extends Zu{constructor(e,n){super(),this.relayer=e,this.logger=n}},tV=class extends Zu{constructor(e,n){super(),this.core=e,this.logger=n}},nV=class{constructor(e,n){this.projectId=e,this.logger=n}},aV=class{constructor(e,n){this.projectId=e,this.logger=n}},rV=class{constructor(e){this.opts=e,this.protocol="wc",this.version=2}},fV=class{constructor(e){this.client=e}}});var N60,W6,g2e=oe(()=>{u();p();N60=Ee(Or());xm();W6=class extends jS{constructor(e){super(e),this.events=new N60.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(f2(e.method,e.params||[],e.id||wl().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=>{n1(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),Tm(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 v2e=oe(()=>{u();p();g2e();g2e()});function X5n(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 Udn(t){return t.reduce((e,n)=>(e+=Ndn[n],e),"")}function Hdn(t){let e=[];for(let n of t){let a=Odn[n.codePointAt(0)];if(a===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(a)}return new Uint8Array(e)}function s50(t,e,n){e=e||[],n=n||0;for(var a=n;t>=Kdn;)e[n++]=t&255|O60,t/=128;for(;t&Gdn;)e[n++]=t&255|O60,t>>>=7;return e[n]=t|0,s50.bytes=n-a+1,e}function I2e(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s)throw I2e.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&U60)<=Vdn);return I2e.bytes=f-a,n}function p50(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function pln(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?p50(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function h50(t,e,n,a){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:a}}}function mln(t,e="utf8"){let n=hln[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?p50(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}var xh,ag,Xt,n50,a50,Z5n,edn,r50,tdn,ndn,E2e,_2e,A2e,f50,C2e,iV,FB,adn,rdn,vo,fdn,idn,sdn,odn,cdn,ddn,ldn,udn,pdn,hdn,mdn,bdn,ydn,gdn,vdn,wdn,Tdn,xdn,Edn,_dn,Adn,Cdn,Idn,kdn,Sdn,Rdn,Mdn,Bdn,Ddn,Pdn,Ldn,Fdn,i50,Ndn,Odn,zdn,Wdn,qdn,O60,jdn,Gdn,Kdn,Qdn,Vdn,U60,Ydn,$dn,Jdn,Xdn,Zdn,eln,tln,nln,aln,rln,fln,o50,H60,z60,k2e,S2e,c50,R2e,d50,iln,sln,oln,l50,cln,u50,dln,lln,uln,W60,q60,w2e,hln,m50,bln,G2e,qb,yln,gln,vln,j60,wln,Tln,xln,Eln,_ln,Aln,Cln,K2e,Iln,b50,G60,kln,i6,Sln,bd,Rln,Mln,Bln,Dln,Pln,Z2,Lln,Fln,Nln,Oln,Uln,PB,tg,Vl,Hln,zln,Wln,q6,qln,T2e,ng,M2e,jln,Gln,Kln,B2e,D2e,P2e,L2e,F2e,Qln,Vln,Yln,K60,$ln,Jln,Q60,LB,x2e,N2e,Xln,V60,Zln,eun,Y60,tun,O2e,nun,$60,aun,run,J60,X60,ep,U2e,H2e,z2e,W2e,q2e,fun,Z60,iun,sun,e50,t50,j2e,y50,g50=oe(()=>{u();p();xh=Ee(Or());SFe();ag=Ee(L60());Iz();y2e();S7();xOe();BB();lue();Xt=Ee(R7());v2e();xm();qUe();n50=Ee(_He()),a50=Ee(IHe());Z5n=X5n,edn=Z5n,r50=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")},tdn=t=>new TextEncoder().encode(t),ndn=t=>new TextDecoder().decode(t),E2e=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")}},_2e=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 f50(this,e)}},A2e=class{constructor(e){this.decoders=e}or(e){return f50(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`)}},f50=(t,e)=>new A2e({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}}),C2e=class{constructor(e,n,a,r){this.name=e,this.prefix=n,this.baseEncode=a,this.baseDecode=r,this.encoder=new E2e(e,n,a),this.decoder=new _2e(e,n,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}},iV=({name:t,prefix:e,encode:n,decode:a})=>new C2e(t,e,n,a),FB=({prefix:t,name:e,alphabet:n})=>{let{encode:a,decode:r}=edn(n,e);return iV({prefix:t,name:e,encode:a,decode:f=>r50(r(f))})},adn=(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},rdn=(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<iV({prefix:e,name:t,encode(r){return rdn(r,a,n)},decode(r){return adn(r,a,n,t)}}),fdn=iV({prefix:"\0",name:"identity",encode:t=>ndn(t),decode:t=>tdn(t)}),idn=Object.freeze({__proto__:null,identity:fdn}),sdn=vo({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),odn=Object.freeze({__proto__:null,base2:sdn}),cdn=vo({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),ddn=Object.freeze({__proto__:null,base8:cdn}),ldn=FB({prefix:"9",name:"base10",alphabet:"0123456789"}),udn=Object.freeze({__proto__:null,base10:ldn}),pdn=vo({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),hdn=vo({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),mdn=Object.freeze({__proto__:null,base16:pdn,base16upper:hdn}),bdn=vo({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),ydn=vo({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),gdn=vo({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),vdn=vo({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),wdn=vo({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),Tdn=vo({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),xdn=vo({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),Edn=vo({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),_dn=vo({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),Adn=Object.freeze({__proto__:null,base32:bdn,base32upper:ydn,base32pad:gdn,base32padupper:vdn,base32hex:wdn,base32hexupper:Tdn,base32hexpad:xdn,base32hexpadupper:Edn,base32z:_dn}),Cdn=FB({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),Idn=FB({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),kdn=Object.freeze({__proto__:null,base36:Cdn,base36upper:Idn}),Sdn=FB({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),Rdn=FB({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),Mdn=Object.freeze({__proto__:null,base58btc:Sdn,base58flickr:Rdn}),Bdn=vo({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Ddn=vo({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),Pdn=vo({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),Ldn=vo({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),Fdn=Object.freeze({__proto__:null,base64:Bdn,base64pad:Ddn,base64url:Pdn,base64urlpad:Ldn}),i50=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}"),Ndn=i50.reduce((t,e,n)=>(t[n]=e,t),[]),Odn=i50.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);zdn=iV({prefix:"\u{1F680}",name:"base256emoji",encode:Udn,decode:Hdn}),Wdn=Object.freeze({__proto__:null,base256emoji:zdn}),qdn=s50,O60=128,jdn=127,Gdn=~jdn,Kdn=Math.pow(2,31);Qdn=I2e,Vdn=128,U60=127;Ydn=Math.pow(2,7),$dn=Math.pow(2,14),Jdn=Math.pow(2,21),Xdn=Math.pow(2,28),Zdn=Math.pow(2,35),eln=Math.pow(2,42),tln=Math.pow(2,49),nln=Math.pow(2,56),aln=Math.pow(2,63),rln=function(t){return t(o50.encode(t,e,n),e),z60=t=>o50.encodingLength(t),k2e=(t,e)=>{let n=e.byteLength,a=z60(t),r=a+z60(n),f=new Uint8Array(r+n);return H60(t,f,0),H60(n,f,a),f.set(e,r),new S2e(t,n,e,f)},S2e=class{constructor(e,n,a,r){this.code=e,this.size=n,this.digest=a,this.bytes=r}},c50=({name:t,code:e,encode:n})=>new R2e(t,e,n),R2e=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?k2e(this.code,n):n.then(a=>k2e(this.code,a))}else throw Error("Unknown type, must be binary type")}},d50=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),iln=c50({name:"sha2-256",code:18,encode:d50("SHA-256")}),sln=c50({name:"sha2-512",code:19,encode:d50("SHA-512")}),oln=Object.freeze({__proto__:null,sha256:iln,sha512:sln}),l50=0,cln="identity",u50=r50,dln=t=>k2e(l50,u50(t)),lln={code:l50,name:cln,encode:u50,digest:dln},uln=Object.freeze({__proto__:null,identity:lln});new TextEncoder,new TextDecoder;W60={...idn,...odn,...ddn,...udn,...mdn,...Adn,...kdn,...Mdn,...Fdn,...Wdn};({...oln,...uln});q60=h50("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),w2e=h50("ascii","a",t=>{let e="a";for(let n=0;n{t=t.substring(1);let e=pln(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=Zo(n,this.name)}get context(){return Xo(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setKeyChain(e){await this.core.storage.setItem(this.storageKey,Oue(e))}async getKeyChain(){let e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Uue(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)}}},D2e=class{constructor(e,n,a){this.core=e,this.logger=n,this.name=vln,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=use(r);return Qz(f.publicKey)},this.generateKeyPair=()=>{this.isInitialized();let r=c60();return this.setPrivateKey(r.publicKey,r.privateKey)},this.signJWT=async r=>{this.isInitialized();let f=await this.getClientSeed(),i=use(f),s=WQ();return await vOe(s,r,wln,i)},this.generateSharedKey=(r,f,i)=>{this.isInitialized();let s=this.getPrivateKey(r),o=d60(s,f);return this.setSymKey(o,i)},this.setSymKey=async(r,f)=>{this.isInitialized();let i=f||C_(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=Zue(i),o=q1(f);if(e2e(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 l60({type:d,symKey:c,message:o,senderPublicKey:l})},this.decode=async(r,f,i)=>{this.isInitialized();let s=p60(f,i);if(e2e(s)){let o=s.receiverPublicKey,c=s.senderPublicKey;r=await this.generateSharedKey(o,c)}try{let o=this.getSymKey(r),c=u60({symKey:o,encoded:f});return $u(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=RB(r);return I_(f.type)},this.getPayloadSenderPublicKey=r=>{let f=RB(r);return f.senderPublicKey?Bi(f.senderPublicKey,y1):void 0},this.core=e,this.logger=Zo(n,this.name),this.keychain=a||new B2e(this.core,this.logger)}get context(){return Xo(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(j60)}catch{e=WQ(),await this.keychain.set(j60,e)}return mln(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)}}},P2e=class extends $Q{constructor(e,n){super(e,n),this.logger=e,this.core=n,this.messages=new Map,this.name=Eln,this.version=_ln,this.initialized=!1,this.storagePrefix=qb,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=Th(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=Th(r);return typeof f[i]<"u"},this.del=async a=>{this.isInitialized(),this.messages.delete(a),await this.persist()},this.logger=Zo(e,this.name),this.core=n}get context(){return Xo(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setRelayerMessages(e){await this.core.storage.setItem(this.storageKey,Oue(e))}async getRelayerMessages(){let e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Uue(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)}}},L2e=class extends JQ{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,this.events=new xh.EventEmitter,this.name=Cln,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||Aln,o=qQ(f),c=f?.prompt||!1,d=f?.tag||0,l=f?.id||wl().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 T_(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(i6.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=Zo(n,this.name),this.registerEventListeners()}get context(){return Xo(this.logger)}rpcPublish(e,n,a,r,f,i,s){var o,c,d,l;let h={method:MB(r.protocol).publish,params:{topic:e,message:n,ttl:a,prompt:f,tag:i},id:s};return yo((o=h.params)==null?void 0:o.prompt)&&((c=h.params)==null||delete c.prompt),yo((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(ag.HEARTBEAT_EVENTS.pulse,()=>{if(this.needsTransportRestart){this.needsTransportRestart=!1,this.relayer.events.emit(i6.connection_stalled);return}this.checkQueue()}),this.relayer.on(i6.message_ack,e=>{this.removeRequestFromQueue(e.id.toString())})}},F2e=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())}},Qln=Object.defineProperty,Vln=Object.defineProperties,Yln=Object.getOwnPropertyDescriptors,K60=Object.getOwnPropertySymbols,$ln=Object.prototype.hasOwnProperty,Jln=Object.prototype.propertyIsEnumerable,Q60=(t,e,n)=>e in t?Qln(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,LB=(t,e)=>{for(var n in e||(e={}))$ln.call(e,n)&&Q60(t,n,e[n]);if(K60)for(var n of K60(e))Jln.call(e,n)&&Q60(t,n,e[n]);return t},x2e=(t,e)=>Vln(t,Yln(e)),N2e=class extends eV{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,this.subscriptions=new Map,this.topicMap=new F2e,this.events=new xh.EventEmitter,this.name=Lln,this.version=Fln,this.pending=new Map,this.cached=[],this.initialized=!1,this.pendingSubscriptionWatchLabel="pending_sub_watch_label",this.pollingInterval=20,this.storagePrefix=qb,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=qQ(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)>=Nln&&(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=Zo(n,this.name),this.clientId=""}get context(){return Xo(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=qQ(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:MB(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 T_(this.relayer.request(a).catch(r=>this.logger.warn(r)),this.subscribeTimeout)?Th(e+this.clientId):null}catch{this.logger.debug("Outgoing Relay Subscribe Payload stalled"),this.relayer.events.emit(i6.connection_stalled)}return null}async rpcBatchSubscribe(e){if(!e.length)return;let n=e[0].relay,a={method:MB(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 T_(this.relayer.request(a).catch(r=>this.logger.warn(r)),this.subscribeTimeout)}catch{this.relayer.events.emit(i6.connection_stalled)}}rpcUnsubscribe(e,n,a){let r={method:MB(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,x2e(LB({},n),{id:e})),this.pending.delete(n.topic)}onBatchSubscribe(e){e.length&&e.forEach(n=>{this.setSubscription(n.id,LB({},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,LB({},n)),this.topicMap.set(n.topic,e),this.events.emit(Z2.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(Z2.deleted,x2e(LB({},a),{reason:n}))}async persist(){await this.setRelayerSubscriptions(this.values),this.events.emit(Z2.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);z6(n)&&this.onBatchSubscribe(n.map((a,r)=>x2e(LB({},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(ag.HEARTBEAT_EVENTS.pulse,async()=>{await this.checkPending()}),this.events.on(Z2.created,async e=>{let n=Z2.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),await this.persist()}),this.events.on(Z2.deleted,async e=>{let n=Z2.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)})}},Xln=Object.defineProperty,V60=Object.getOwnPropertySymbols,Zln=Object.prototype.hasOwnProperty,eun=Object.prototype.propertyIsEnumerable,Y60=(t,e,n)=>e in t?Xln(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,tun=(t,e)=>{for(var n in e||(e={}))Zln.call(e,n)&&Y60(t,n,e[n]);if(V60)for(var n of V60(e))eun.call(e,n)&&Y60(t,n,e[n]);return t},O2e=class extends XQ{constructor(e){super(e),this.protocol="wc",this.version=2,this.events=new xh.EventEmitter,this.name=kln,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||wl().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(bd.disconnect,d);let l=await i;this.provider.off(bd.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(w_())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(i6.connect)},this.onDisconnectHandler=()=>{this.onProviderDisconnect()},this.onProviderErrorHandler=n=>{this.logger.error(n),this.events.emit(i6.error,n),this.logger.info("Fatal socket error received, closing transport"),this.transportClose()},this.registerProviderListeners=()=>{this.provider.on(bd.payload,this.onPayloadHandler),this.provider.on(bd.connect,this.onConnectHandler),this.provider.on(bd.disconnect,this.onDisconnectHandler),this.provider.on(bd.error,this.onProviderErrorHandler)},this.core=e.core,this.logger=typeof e.logger<"u"&&typeof e.logger!="string"?Zo(e.logger,this.name):(0,M7.default)(B7({level:e.logger||Iln})),this.messages=new P2e(this.logger,e.core),this.subscriber=new N2e(this,this.logger),this.publisher=new L2e(this,this.logger),this.relayUrl=e?.relayUrl||b50,this.projectId=e.projectId,this.bundleId=pc0(),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 ${G60}...`),await this.restartTransport(G60)}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)},Bln)}get context(){return Xo(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(Z2.created,i),f())};return await Promise.all([new Promise(s=>{f=s,this.subscriber.on(Z2.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 T_(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(bd.disconnect,r),a(new Error("Connection interrupted while trying to subscribe"))};this.provider.on(bd.disconnect,r),await T_(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 s2e())throw new Error("No internet connection detected. Please restart your network and try again.")}startPingTimeout(){var e,n,a,r,f;if(w_())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 W6(new bW(mc0({sdkVersion:Mln,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}),px(e)){if(!e.method.endsWith(Sln))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(tun({type:"event",event:n.id},i)),this.events.emit(n.id,i),await this.acknowledgePayload(e),await this.onMessageEvent(i)}else Tm(e)&&this.events.emit(i6.message_ack,e)}async onMessageEvent(e){await this.shouldIgnoreMessageEvent(e)||(this.events.emit(i6.message,e),await this.recordMessageEvent(e))}async acknowledgePayload(e){let n=N8(e.id,!0);await this.provider.connection.send(n)}unregisterProviderListeners(){this.provider.off(bd.payload,this.onPayloadHandler),this.provider.off(bd.connect,this.onConnectHandler),this.provider.off(bd.disconnect,this.onDisconnectHandler),this.provider.off(bd.error,this.onProviderErrorHandler)}async registerEventListeners(){let e=await s2e();M60(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(i6.disconnect),this.connectionAttemptInProgress=!1,!this.transportExplicitlyClosed&&setTimeout(async()=>{await this.transportOpen().catch(e=>this.logger.error(e))},(0,Xt.toMiliseconds)(Rln))}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())}},nun=Object.defineProperty,$60=Object.getOwnPropertySymbols,aun=Object.prototype.hasOwnProperty,run=Object.prototype.propertyIsEnumerable,J60=(t,e,n)=>e in t?nun(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,X60=(t,e)=>{for(var n in e||(e={}))aun.call(e,n)&&J60(t,n,e[n]);if($60)for(var n of $60(e))run.call(e,n)&&J60(t,n,e[n]);return t},ep=class extends ZQ{constructor(e,n,a,r=qb,f=void 0){super(e,n,a,r),this.core=e,this.logger=n,this.name=a,this.map=new Map,this.version=Dln,this.cached=[],this.initialized=!1,this.storagePrefix=qb,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&&!yo(i)?this.map.set(this.getKey(i),i):y60(i)?this.map.set(i.id,i):g60(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,n50.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=X60(X60({},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=Zo(n,this.name),this.storagePrefix=r,this.getKey=f}get context(){return Xo(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)}}},U2e=class{constructor(e,n){this.core=e,this.logger=n,this.name=Oln,this.version=Uln,this.events=new xh.default,this.initialized=!1,this.storagePrefix=qb,this.ignoredPayloadTypes=[X2],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=WQ(),f=await this.core.crypto.setSymKey(r),i=Hs(Xt.FIVE_MINUTES),s={protocol:K2e},o={topic:f,expiry:i,relay:s,active:!1},c=h60({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}=t2e(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||Hs(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(tg.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=Hs(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}=wh();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=f2(r,f),s=await this.core.crypto.encode(a,i),o=PB[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=N8(a,f),s=await this.core.crypto.encode(r,i),o=await this.core.history.get(r,a),c=PB[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=O8(a,f),s=await this.core.crypto.encode(r,i),o=await this.core.history.get(r,a),c=PB[o.request.method]?PB[o.request.method].res:PB.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=>$2(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(tg.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(()=>{S6(r)?this.events.emit(Dn("pairing_ping",f),{}):n1(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(tg.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(!g1(a)){let{message:i}=F0("MISSING_OR_INVALID",`pair() params: ${a}`);throw new Error(i)}if(!b60(a.uri)){let{message:i}=F0("MISSING_OR_INVALID",`pair() uri: ${a.uri}`);throw new Error(i)}let f=t2e(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(!g1(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(!g1(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(!Df(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($2(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=Zo(n,this.name),this.pairings=new ep(this.core,this.logger,this.name,this.storagePrefix)}get context(){return Xo(this.logger)}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}registerRelayerEvents(){this.core.relayer.on(i6.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{px(r)?(this.core.history.set(n,r),this.onRelayEventRequest({topic:n,payload:r})):Tm(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(q6.expired,async e=>{let{topic:n}=HQ(e.target);n&&this.pairings.keys.includes(n)&&(await this.deletePairing(n,!0),this.events.emit(tg.expire,{topic:n}))})}},H2e=class extends YQ{constructor(e,n){super(e,n),this.core=e,this.logger=n,this.records=new Map,this.events=new xh.EventEmitter,this.name=Hln,this.version=zln,this.cached=[],this.initialized=!1,this.storagePrefix=qb,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:Hs(Xt.THIRTY_DAYS)};this.records.set(i.id,i),this.persist(),this.events.emit(Vl.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=n1(a)?{error:a.error}:{result:a.result},this.records.set(r.id,r),this.persist(),this.events.emit(Vl.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(Vl.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=Zo(n,this.name)}get context(){return Xo(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:f2(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(Vl.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(Vl.created,e=>{let n=Vl.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(Vl.updated,e=>{let n=Vl.updated;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(Vl.deleted,e=>{let n=Vl.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.core.heartbeat.on(ag.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(Vl.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 tV{constructor(e,n){super(e,n),this.core=e,this.logger=n,this.expirations=new Map,this.events=new xh.EventEmitter,this.name=Wln,this.version=qln,this.cached=[],this.initialized=!1,this.storagePrefix=qb,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(q6.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(q6.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=Zo(n,this.name)}get context(){return Xo(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 yc0(e);if(typeof e=="number")return gc0(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(q6.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(q6.expired,{target:e,expiration:n})}checkExpirations(){this.core.relayer.connected&&this.expirations.forEach((e,n)=>this.checkExpiry(n,e))}registerEventListeners(){this.core.heartbeat.on(ag.HEARTBEAT_EVENTS.pulse,()=>this.checkExpirations()),this.events.on(q6.created,e=>{let n=q6.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(q6.expired,e=>{let n=q6.expired;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(q6.deleted,e=>{let n=q6.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)}}},W2e=class extends nV{constructor(e,n){super(e,n),this.projectId=e,this.logger=n,this.name=T2e,this.initialized=!1,this.queue=[],this.verifyDisabled=!1,this.init=async a=>{if(this.verifyDisabled||X9()||!Wb())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=M2e;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,M2e)}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(T2e);if(i)return this.iframe=i,this.onInit(),f();window.addEventListener("message",r);let s=document.createElement("iframe");s.id=T2e,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||ng;return jln.includes(r)||(this.logger.info(`verify url: ${r}, not included in trusted list, assigning default: ${ng}`),r=ng),r},this.logger=Zo(n,this.name),this.verifyUrl=ng,this.abortController=new AbortController,this.isDevEnv=w_()&&x.env.IS_VITEST}get context(){return Xo(this.logger)}startAbortTimer(e){return this.abortController=new AbortController,setTimeout(()=>this.abortController.abort(),(0,Xt.toMiliseconds)(e))}},q2e=class extends aV{constructor(e,n){super(e,n),this.projectId=e,this.logger=n,this.context=Gln,this.registerDeviceToken=async a=>{let{clientId:r,token:f,notificationType:i,enableEncrypted:s=!1}=a,o=`${Kln}/${this.projectId}/clients`;await(0,a50.default)(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({client_id:r,type:i,token:f,always_raw:s})})},this.logger=Zo(n,this.context)}},fun=Object.defineProperty,Z60=Object.getOwnPropertySymbols,iun=Object.prototype.hasOwnProperty,sun=Object.prototype.propertyIsEnumerable,e50=(t,e,n)=>e in t?fun(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,t50=(t,e)=>{for(var n in e||(e={}))iun.call(e,n)&&e50(t,n,e[n]);if(Z60)for(var n of Z60(e))sun.call(e,n)&&e50(t,n,e[n]);return t},j2e=class t extends VQ{constructor(e){var n;super(e),this.protocol=m50,this.version=bln,this.name=G2e,this.events=new xh.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||b50,this.customStoragePrefix=e!=null&&e.customStoragePrefix?`:${e.customStoragePrefix}`:"";let a=B7({level:typeof e?.logger=="string"&&e.logger?e.logger:yln.logger}),{logger:r,chunkLoggerController:f}=XFe({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=Zo(r,this.name),this.heartbeat=new ag.HeartBeat,this.crypto=new D2e(this,this.logger,e?.keychain),this.history=new H2e(this,this.logger),this.expirer=new z2e(this,this.logger),this.storage=e!=null&&e.storage?e.storage:new hz(t50(t50({},gln),e?.storageOptions)),this.relayer=new O2e({core:this,logger:this.logger,relayUrl:this.relayUrl,projectId:this.projectId}),this.pairing=new U2e(this,this.logger),this.verify=new W2e(this.projectId||"",this.logger),this.echoClient=new q2e(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(Pln,a),n}get context(){return Xo(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}}},y50=j2e});var cV,Fa,x50,E50,_50,ape,Q2e,v50,oun,rpe,cun,M_,dun,yd,V2e,Eh,lun,uun,pun,hun,mun,bun,yun,dV,sV,gun,vun,wun,w50,Tun,xun,T50,zs,B_,Y2e,$2e,J2e,X2e,Z2e,epe,tpe,npe,oV,A50=oe(()=>{u();p();g50();Iz();y2e();BB();cV=Ee(Or()),Fa=Ee(R7());xm();x50="wc",E50=2,_50="client",ape=`${x50}@${E50}:${_50}:`,Q2e={name:_50,logger:"error",controller:!1,relayUrl:"wss://relay.walletconnect.com"},v50="WALLETCONNECT_DEEPLINK_CHOICE",oun="proposal",rpe="Proposal expired",cun="session",M_=Fa.SEVEN_DAYS,dun="engine",yd={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}}},V2e={min:Fa.FIVE_MINUTES,max:Fa.SEVEN_DAYS},Eh={idle:"IDLE",active:"ACTIVE"},lun="request",uun=["wc_sessionPropose","wc_sessionRequest","wc_authRequest"],pun="wc",hun="auth",mun="authKeys",bun="pairingTopics",yun="requests",dV=`${pun}@${1.5}:${hun}:`,sV=`${dV}:PUB_KEY`,gun=Object.defineProperty,vun=Object.defineProperties,wun=Object.getOwnPropertyDescriptors,w50=Object.getOwnPropertySymbols,Tun=Object.prototype.hasOwnProperty,xun=Object.prototype.propertyIsEnumerable,T50=(t,e,n)=>e in t?gun(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,zs=(t,e)=>{for(var n in e||(e={}))Tun.call(e,n)&&T50(t,n,e[n]);if(w50)for(var n of w50(e))xun.call(e,n)&&T50(t,n,e[n]);return t},B_=(t,e)=>vun(t,wun(e)),Y2e=class extends fV{constructor(e){super(e),this.name=dun,this.events=new cV.default,this.initialized=!1,this.requestQueue={state:Eh.idle,queue:[]},this.sessionRequestQueue={state:Eh.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(yd)}),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=B_(zs({},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=yd.wc_sessionPropose.req.ttl||Fa.FIVE_MINUTES,v=Hs(y),k=zs({requiredNamespaces:f,optionalNamespaces:i,relays:o??[{protocol:K2e}],proposer:{publicKey:h,metadata:this.client.metadata},expiryTimestamp:v},s&&{sessionProperties:s}),{reject:O,resolve:F,done:z}=wh(y,rpe);this.events.once(Dn("session_connect"),async({error:j,session:Q})=>{if(j)O(j);else if(Q){Q.self.publicKey=h;let V=B_(zs({},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,zs({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=zs(zs({relay:{protocol:r??"irn"},namespaces:f,pairingTopic:c,controller:{publicKey:y,metadata:this.client.metadata},expiry:Hs(M_)},i&&{sessionProperties:i}),s&&{sessionConfig:s});await this.client.core.relayer.subscribe(k);let F=B_(zs({},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,Hs(M_)),{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}=wh(),o=r2(),c=wl().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=r2(),{done:f,resolve:i,reject:s}=wh();return this.events.once(Dn("session_extend",r),({error:o})=>{o?s(o):i()}),await this.setExpiry(a,Hs(M_)),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=yd.wc_sessionRequest.req.ttl}=n,s=this.client.session.get(f),o=r2(),c=wl().toString(),{done:d,resolve:l,reject:h}=wh(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:B_(zs({},r),{expiryTimestamp:Hs(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 wc0(this.client.core.storage,v50);vc0({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;S6(r)?await this.sendResult({id:f,topic:a,result:r.result,throwOnFailedPublish:!0}):n1(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=r2(),f=wl().toString(),{done:i,resolve:s,reject:o}=wh();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=wl().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=>m60(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=C_(k);if(await Promise.all([this.client.auth.authKeys.set(sV,{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}=v_(a[0]),w=f60(N,"request",l);SB(h)&&(w=i60(w,h.pop())),h.push(w)}let F=Hs(yd.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}=wh(yd.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 b=this.client.session.get(w.topic);V({session:b})}},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:b}=N.result,A=[],P=[];for(let g of w){await Que({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=SB(B.resources),S=[Kue(B.iss)],q=kB(B.iss);if(M){let ee=Yue(M),U=$ue(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,b.publicKey),E;A.length>0&&(E={topic:L,acknowledged:!0,self:{publicKey:k,metadata:this.client.metadata},peer:b,controller:b.publicKey,expiry:Hs(M_),requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:y,namespaces:n2e([...new Set(A)],[...new Set(P)])},await this.client.core.relayer.subscribe(L),await this.client.session.set(L,E),E=this.client.session.get(L)),V({auths:w,session:E})},R=r2(),T=r2();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:yd.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,zs({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=C_(i),c={type:X2,receiverPublicKey:i,senderPublicKey:s},d=[],l=[];for(let v of r){if(!await Que({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=SB(k.resources),F=[Kue(k.iss)],z=kB(k.iss);if(O){let W=Yue(O),j=$ue(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:Hs(M_),authentication:r,requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:"",namespaces:n2e([...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=C_(i),c={type:X2,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 Vue(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(v50).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=Eh.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,Hs(yd.wc_sessionPropose.req.ttl))},this.setPendingSessionRequest=async n=>{let{id:a,topic:r,params:f,verifyContext:i}=n,s=f.request.expiryTimestamp||Hs(yd.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=f2(r,f,o);if(Wb()&&uun.includes(r)){let y=Th(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=yd[r].req;return i&&(h.ttl=i),s&&(h.id=s),this.client.core.history.set(a,d),c?(h.internal=B_(zs({},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=N8(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=yd[d.request.method].res;i?(l.internal=B_(zs({},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=O8(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=yd[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;$2(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=>{$2(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===Eh.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=Eh.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=Eh.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(zs({},a.params));let i=r.expiryTimestamp||Hs(yd.wc_sessionPropose.req.ttl),s=zs({id:f,pairingTopic:n,expiryTimestamp:i},r);await this.setProposal(f,s);let o=Th(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(S6(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(n1(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=zs(zs({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;S6(a)?(await this.client.session.update(n,{acknowledged:!0}),this.events.emit(Dn("session_approve",r),{})):n1(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=Hb.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(zs({topic:n},r));try{Hb.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 Hb.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`);S6(a)?this.events.emit(Dn("session_update",r),{}):n1(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,Hs(M_)),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`);S6(a)?this.events.emit(Dn("session_extend",r),{}):n1(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(()=>{S6(a)?this.events.emit(Dn("session_ping",r),{}):n1(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(i6.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(zs({topic:n},f));let i=Th(JSON.stringify(f2("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`);S6(a)?this.events.emit(Dn("session_request",r),{result:a.result}):n1(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=Hb.get(i);if(s&&this.isRequestOutOfSync(s,r)){this.client.logger.info(`Discarding out of sync request - ${r}`);return}this.isValidEmit(zs({topic:n},f)),this.client.events.emit("session_event",{id:r,topic:n,params:f}),Hb.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}),S6(a)?this.events.emit(Dn("session_request",r),{result:a.result}):n1(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=Th(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=Eh.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===Eh.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=Eh.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,f2("wc_sessionPropose",{requiredNamespaces:a.requiredNamespaces,optionalNamespaces:a.optionalNamespaces,relays:a.relays,proposer:a.proposer,sessionProperties:a.sessionProperties},a.id))},this.isValidConnect=async n=>{if(!g1(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(yo(a)||await this.isValidPairingTopic(a),!x60(s,!0)){let{message:o}=F0("MISSING_OR_INVALID",`connect() relays: ${s}`);throw new Error(o)}!yo(r)&&eg(r)!==0&&this.validateNamespaces(r,"requiredNamespaces"),!yo(f)&&eg(f)!==0&&this.validateNamespaces(f,"optionalNamespaces"),yo(i)||this.validateSessionProps(i,"sessionProperties")},this.validateNamespaces=(n,a)=>{let r=T60(n,"connect()",a);if(r)throw new Error(r.message)},this.isValidApprove=async n=>{if(!g1(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=GQ(r,"approve()");if(o)throw new Error(o.message);let c=i2e(s.requiredNamespaces,r,"approve()");if(c)throw new Error(c.message);if(!Df(f,!0)){let{message:d}=F0("MISSING_OR_INVALID",`approve() relayProtocol: ${f}`);throw new Error(d)}yo(i)||this.validateSessionProps(i,"sessionProperties")},this.isValidReject=async n=>{if(!g1(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),!_60(r)){let{message:f}=F0("MISSING_OR_INVALID",`reject() reason: ${JSON.stringify(r)}`);throw new Error(f)}},this.isValidSessionSettleRequest=n=>{if(!g1(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(!r2e(a)){let{message:c}=F0("MISSING_OR_INVALID","onSessionSettleRequest() relay protocol should be a string");throw new Error(c)}let s=v60(r,"onSessionSettleRequest()");if(s)throw new Error(s.message);let o=GQ(f,"onSessionSettleRequest()");if(o)throw new Error(o.message);if($2(i)){let{message:c}=F0("EXPIRED","onSessionSettleRequest()");throw new Error(c)}},this.isValidUpdate=async n=>{if(!g1(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=GQ(r,"update()");if(i)throw new Error(i.message);let s=i2e(f.requiredNamespaces,r,"update()");if(s)throw new Error(s.message)},this.isValidExtend=async n=>{if(!g1(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(!g1(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(!f2e(s,f)){let{message:o}=F0("MISSING_OR_INVALID",`request() chainId: ${f}`);throw new Error(o)}if(!A60(r)){let{message:o}=F0("MISSING_OR_INVALID",`request() ${JSON.stringify(r)}`);throw new Error(o)}if(!k60(s,f,r.method)){let{message:o}=F0("MISSING_OR_INVALID",`request() method: ${r.method}`);throw new Error(o)}if(i&&!R60(i,V2e)){let{message:o}=F0("MISSING_OR_INVALID",`request() expiry: ${i}. Expiry must be a number (in seconds) between ${V2e.min} and ${V2e.max}`);throw new Error(o)}},this.isValidRespond=async n=>{var a;if(!g1(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(!C60(f)){let{message:i}=F0("MISSING_OR_INVALID",`respond() response: ${JSON.stringify(f)}`);throw new Error(i)}},this.isValidPing=async n=>{if(!g1(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(!g1(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(!f2e(i,f)){let{message:s}=F0("MISSING_OR_INVALID",`emit() chainId: ${f}`);throw new Error(s)}if(!I60(r)){let{message:s}=F0("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(r)}`);throw new Error(s)}if(!S60(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(!g1(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(!Df(r,!1))throw new Error("uri is required parameter");if(!Df(f,!1))throw new Error("domain is required parameter");if(!Df(i,!1))throw new Error("nonce is required parameter");if([...new Set(a.map(o=>v_(o).namespace))].length>1)throw new Error("Multi-namespace requests are not supported. Please request single namespace only.");let{namespace:s}=v_(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||ng,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(!Df(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(i6.message,async e=>{let{topic:n,message:a}=e,{publicKey:r}=this.client.auth.authKeys.keys.includes(sV)?this.client.auth.authKeys.get(sV):{responseTopic:void 0,publicKey:void 0},f=await this.client.core.crypto.decode(n,a,{receiverPublicKey:r});try{px(f)?(this.client.core.history.set(n,f),this.onRelayEventRequest({topic:n,payload:f})):Tm(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(q6.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(tg.create,e=>this.onPairingCreated(e)),this.client.core.pairing.events.on(tg.delete,e=>{this.addToRecentlyDeleted(e.topic,"pairing")})}isValidPairingTopic(e){if(!Df(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($2(this.client.core.pairing.pairings.get(e).expiry)){let{message:n}=F0("EXPIRED",`pairing topic: ${e}`);throw new Error(n)}}async isValidSessionTopic(e){if(!Df(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($2(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(Df(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(!E60(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($2(this.client.proposal.get(e).expiryTimestamp)){await this.deleteProposal(e);let{message:n}=F0("EXPIRED",`proposal id: ${e}`);throw new Error(n)}}},$2e=class extends ep{constructor(e,n){super(e,n,oun,ape),this.core=e,this.logger=n}},J2e=class extends ep{constructor(e,n){super(e,n,cun,ape),this.core=e,this.logger=n}},X2e=class extends ep{constructor(e,n){super(e,n,lun,ape,a=>a.id),this.core=e,this.logger=n}},Z2e=class extends ep{constructor(e,n){super(e,n,mun,dV,()=>sV),this.core=e,this.logger=n}},epe=class extends ep{constructor(e,n){super(e,n,bun,dV),this.core=e,this.logger=n}},tpe=class extends ep{constructor(e,n){super(e,n,yun,dV,a=>a.id),this.core=e,this.logger=n}},npe=class{constructor(e,n){this.core=e,this.logger=n,this.authKeys=new Z2e(this.core,this.logger),this.pairingTopics=new epe(this.core,this.logger),this.requests=new tpe(this.core,this.logger)}async init(){await this.authKeys.init(),await this.pairingTopics.init(),await this.requests.init()}},oV=class t extends rV{constructor(e){super(e),this.protocol=x50,this.version=E50,this.name=Q2e.name,this.events=new cV.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||Q2e.name,this.metadata=e?.metadata||hc0();let n=typeof e?.logger<"u"&&typeof e?.logger!="string"?e.logger:(0,M7.default)(B7({level:e?.logger||Q2e.logger}));this.core=e?.core||new y50(e),this.logger=Zo(n,this.name),this.session=new J2e(this.core,this.logger),this.proposal=new $2e(this.core,this.logger),this.pendingRequest=new X2e(this.core,this.logger),this.engine=new Y2e(this),this.auth=new npe(this.core,this.logger)}static async init(e){let n=new t(e);return await n.initialize(),n}get context(){return Xo(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 k50=D((_h,I50)=>{u();p();var C50=typeof self<"u"?self:_h,lV=function(){function t(){this.fetch=!1,this.DOMException=C50.DOMException}return t.prototype=C50,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("="),b=w.shift().replace(/\+/g," "),A=w.join("=").replace(/\+/g," ");T.append(decodeURIComponent(b),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 b=w.split(":"),A=b.shift().trim();if(A){var P=b.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 b=new j(R,T);if(b.signal&&b.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 E="response"in A?A.response:A.responseText;N(new X(E,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(b.method,b.url,!0),b.credentials==="include"?A.withCredentials=!0:b.credentials==="omit"&&(A.withCredentials=!1),"responseType"in A&&a.blob&&(A.responseType="blob"),b.headers.forEach(function(L,E){A.setRequestHeader(E,L)}),b.signal&&(b.signal.addEventListener("abort",P),A.onreadystatechange=function(){A.readyState===4&&b.signal.removeEventListener("abort",P)}),A.send(typeof b._bodyInit>"u"?null:b._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}({})})(lV);lV.fetch.ponyfill=!0;delete lV.fetch.polyfill;var D_=lV;_h=D_.fetch;_h.default=D_.fetch;_h.fetch=D_.fetch;_h.Headers=D_.Headers;_h.Request=D_.Request;_h.Response=D_.Response;I50.exports=_h});var L50,fpe,Eun,_un,Aun,S50,Cun,Iun,R50,M50,B50,kun,Sun,D50,P50,gd,F50=oe(()=>{u();p();L50=Ee(Or()),fpe=Ee(k50());S7();xm();Eun=Object.defineProperty,_un=Object.defineProperties,Aun=Object.getOwnPropertyDescriptors,S50=Object.getOwnPropertySymbols,Cun=Object.prototype.hasOwnProperty,Iun=Object.prototype.propertyIsEnumerable,R50=(t,e,n)=>e in t?Eun(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,M50=(t,e)=>{for(var n in e||(e={}))Cun.call(e,n)&&R50(t,n,e[n]);if(S50)for(var n of S50(e))Iun.call(e,n)&&R50(t,n,e[n]);return t},B50=(t,e)=>_un(t,Aun(e)),kun={Accept:"application/json","Content-Type":"application/json"},Sun="POST",D50={headers:kun,method:Sun},P50=10,gd=class{constructor(e,n=!1){if(this.url=e,this.disableProviderPing=n,this.events=new L50.EventEmitter,this.isAvailable=!1,this.registering=!1,!hW(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=q1(e),a=await(await(0,fpe.default)(this.url,B50(M50({},D50),{body:n}))).json();this.onPayload({data:a})}catch(n){this.onError(e.id,n)}}async register(e=this.url){if(!hW(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=q1({id:1,jsonrpc:"2.0",method:"test",params:[]});await(0,fpe.default)(e,B50(M50({},D50),{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"?$u(e.data):e.data;this.events.emit("payload",n)}onError(e,n){let a=this.parseError(n),r=a.message||a.toString(),f=O8(e,r);this.events.emit("payload",f)}parseError(e,n=this.url){return WS(e,n,"HTTP")}resetMaxListeners(){this.events.getMaxListeners()>P50&&this.events.setMaxListeners(P50)}}});function jb(t,e,n){var a;let r=v_(t);return((a=e.rpcMap)==null?void 0:a[r.reference])||`${Dun}?chainId=${r.namespace}:${r.reference}&projectId=${n}`}function rg(t){return t.includes(":")?t.split(":")[1]:t}function K50(t){return t.map(e=>`${e.split(":")[0]}:${e.split(":")[1]}`)}function Hun(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 ipe(t={},e={}){let n=z50(t),a=z50(e);return dpe.exports.merge(n,a)}function z50(t){var e,n,a,r;let f={};if(!eg(t))return f;for(let[i,s]of Object.entries(t)){let o=jQ(i)?[i]:s.chains,c=s.methods||[],d=s.events||[],l=s.rpcMap||{},h=S_(i);f[h]=Uun(uV(uV({},f[h]),s),{chains:CB(o,(e=f[h])==null?void 0:e.chains),methods:CB(c,(n=f[h])==null?void 0:n.methods),events:CB(d,(a=f[h])==null?void 0:a.events),rpcMap:uV(uV({},l),(r=f[h])==null?void 0:r.rpcMap)})}return f}function zun(t){return t.includes(":")?t.split(":")[2]:t}function W50(t){let e={};for(let[n,a]of Object.entries(t)){let r=a.methods||[],f=a.events||[],i=a.accounts||[],s=jQ(n)?[n]:a.chains?a.chains:K50(a.accounts);e[n]={chains:s,methods:r,events:f,accounts:i}}return e}function spe(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 G50,N50,Run,Mun,Bun,O50,Dun,Ah,NB,dpe,Pun,Lun,Fun,U50,Nun,Oun,H50,uV,Uun,Q50,vf,ope,lpe,upe,ppe,hpe,mpe,bpe,ype,gpe,Wun,qun,jun,q50,Gun,Kun,j50,pV,cpe,vpe,V50,Y50=oe(()=>{u();p();A50();BB();Iz();F50();v2e();G50=Ee(Or());xm();N50="error",Run="wss://relay.walletconnect.com",Mun="wc",Bun="universal_provider",O50=`${Mun}@2:${Bun}:`,Dun="https://rpc.walletconnect.com/v1/",Ah={DEFAULT_CHAIN_CHANGED:"default_chain_changed"},NB=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},dpe={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,b=1,A=2,P=3,L=1/0,E=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]",me="[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,m0=/[&<>"']/g,h0=RegExp(Ue.source),$e=RegExp(m0.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,K0=RegExp(B0.source),s0=/^\s+/,J0=/\s/,Y0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,l0=/\{\n\/\* \[wrapped with (.+)\] \*/,Q0=/,? & /,et=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,p0=/[()=,{}\[\]\/\s]/,Z0=/\\(\\)?/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",cf="a-z\\xdf-\\xf6\\xf8-\\xff",Gf="\\xac\\xb1\\xd7\\xf7",Qs="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Wd="\\u2000-\\u206f",qd=" \\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",ru="A-Z\\xc0-\\xd6\\xd8-\\xde",DL="\\ufe0e\\ufe0f",PL=Gf+Qs+Wd+qd,ce="['\u2019]",we="["+za+"]",ve="["+PL+"]",Le="["+Jr+"]",Re="\\d+",Ne="["+rr+"]",e0="["+cf+"]",x0="[^"+za+PL+Re+rr+cf+ru+"]",S0="\\ud83c[\\udffb-\\udfff]",R0="(?:"+Le+"|"+S0+")",A0="[^"+za+"]",pt="(?:\\ud83c[\\udde6-\\uddff]){2}",yn="[\\ud800-\\udbff][\\udc00-\\udfff]",ya="["+ru+"]",Ra="\\u200d",Cf="(?:"+e0+"|"+x0+")",Xr="(?:"+ya+"|"+x0+")",P1="(?:"+ce+"(?:d|ll|m|re|s|t|ve))?",Av="(?:"+ce+"(?:D|LL|M|RE|S|T|VE))?",Cv=R0+"?",LL="["+DL+"]?",aee="(?:"+Ra+"(?:"+[A0,pt,yn].join("|")+")"+LL+Cv+")*",FL="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",A_0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",y9e=LL+Cv+aee,C_0="(?:"+[Ne,pt,yn].join("|")+")"+y9e,I_0="(?:"+[A0+Le+"?",Le,pt,yn,we].join("|")+")",k_0=RegExp(ce,"g"),S_0=RegExp(Le,"g"),ree=RegExp(S0+"(?="+S0+")|"+I_0+y9e,"g"),R_0=RegExp([ya+"?"+e0+"+"+P1+"(?="+[ve,ya,"$"].join("|")+")",Xr+"+"+Av+"(?="+[ve,ya+Cf,"$"].join("|")+")",ya+"?"+Cf+"+"+P1,ya+"+"+Av,A_0,FL,Re,C_0].join("|"),"g"),M_0=RegExp("["+Ra+za+Jr+DL+"]"),B_0=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,D_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"],P_0=-1,Zr={};Zr[Se]=Zr[Qe]=Zr[u0]=Zr[qe]=Zr[v0]=Zr[w0]=Zr[Ve]=Zr[me]=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 Nr={};Nr[U]=Nr[J]=Nr[Te]=Nr[Ce]=Nr[ne]=Nr[ue]=Nr[Se]=Nr[Qe]=Nr[u0]=Nr[qe]=Nr[v0]=Nr[de]=Nr[Ae]=Nr[Be]=Nr[He]=Nr[_0]=Nr[L0]=Nr[Ze]=Nr[w0]=Nr[Ve]=Nr[me]=Nr[ye]=!0,Nr[re]=Nr[ie]=Nr[pe]=!1;var L_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"},F_0={"&":"&","<":"<",">":">",'"':""","'":"'"},N_0={"&":"&","<":"<",">":">",""":'"',"'":"'"},O_0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},U_0=parseFloat,H_0=parseInt,g9e=typeof NB=="object"&&NB&&NB.Object===Object&&NB,z_0=typeof self=="object"&&self&&self.Object===Object&&self,Vs=g9e||z_0||Function("return this")(),fee=e&&!e.nodeType&&e,J4=fee&&!0&&t&&!t.nodeType&&t,v9e=J4&&J4.exports===fee,iee=v9e&&g9e.process,s5=function(){try{var De=J4&&J4.require&&J4.require("util").types;return De||iee&&iee.binding&&iee.binding("util")}catch{}}(),w9e=s5&&s5.isArrayBuffer,T9e=s5&&s5.isDate,x9e=s5&&s5.isMap,E9e=s5&&s5.isRegExp,_9e=s5&&s5.isSet,A9e=s5&&s5.isTypedArray;function h6(De,Xe,We){switch(We.length){case 0:return De.call(Xe);case 1:return De.call(Xe,We[0]);case 2:return De.call(Xe,We[0],We[1]);case 3:return De.call(Xe,We[0],We[1],We[2])}return De.apply(Xe,We)}function W_0(De,Xe,We,rt){for(var Kt=-1,Wa=De==null?0:De.length;++Kt-1}function see(De,Xe,We){for(var rt=-1,Kt=De==null?0:De.length;++rt-1;);return We}function D9e(De,Xe){for(var We=De.length;We--&&Iv(Xe,De[We],0)>-1;);return We}function J_0(De,Xe){for(var We=De.length,rt=0;We--;)De[We]===Xe&&++rt;return rt}var X_0=lee(L_0),Z_0=lee(F_0);function eA0(De){return"\\"+O_0[De]}function tA0(De,Xe){return De==null?n:De[Xe]}function kv(De){return M_0.test(De)}function nA0(De){return B_0.test(De)}function aA0(De){for(var Xe,We=[];!(Xe=De.next()).done;)We.push(Xe.value);return We}function mee(De){var Xe=-1,We=Array(De.size);return De.forEach(function(rt,Kt){We[++Xe]=[Kt,rt]}),We}function P9e(De,Xe){return function(We){return De(Xe(We))}}function s3(De,Xe){for(var We=-1,rt=De.length,Kt=0,Wa=[];++We-1}function jA0(m,C){var H=this.__data__,$=eF(H,m);return $<0?(++this.size,H.push([m,C])):H[$][1]=C,this}Up.prototype.clear=HA0,Up.prototype.delete=zA0,Up.prototype.get=WA0,Up.prototype.has=qA0,Up.prototype.set=jA0;function Hp(m){var C=-1,H=m==null?0:m.length;for(this.clear();++C=C?m:C)),m}function l5(m,C,H,$,te,le){var xe,Ie=C&l,Fe=C&h,r0=C&y;if(H&&(xe=te?H(m,$,te,le):H(m)),xe!==n)return xe;if(!If(m))return m;var f0=nn(m);if(f0){if(xe=VC0(m),!Ie)return _c(m,xe)}else{var b0=Ro(m),V0=b0==ie||b0==ge;if(p3(m))return bge(m,Ie);if(b0==Be||b0==U||V0&&!te){if(xe=Fe||V0?{}:Lge(m),!Ie)return Fe?NC0(m,iC0(xe,m)):FC0(m,K9e(xe,m))}else{if(!Nr[b0])return te?m:{};xe=YC0(m,b0,Ie)}}le||(le=new Gd);var ct=le.get(m);if(ct)return ct;le.set(m,xe),dve(m)?m.forEach(function(Dt){xe.add(l5(Dt,C,H,Dt,m,le))}):ove(m)&&m.forEach(function(Dt,Kn){xe.set(Kn,l5(Dt,C,H,Kn,m,le))});var Bt=r0?Fe?zee:Hee:Fe?Cc:ds,xn=f0?n:Bt(m);return o5(xn||m,function(Dt,Kn){xn&&(Kn=Dt,Dt=m[Kn]),JC(xe,Kn,l5(Dt,C,H,Kn,m,le))}),xe}function sC0(m){var C=ds(m);return function(H){return Q9e(H,m,C)}}function Q9e(m,C,H){var $=H.length;if(m==null)return!$;for(m=Ir(m);$--;){var te=H[$],le=C[te],xe=m[te];if(xe===n&&!(te in m)||!le(xe))return!1}return!0}function V9e(m,C,H){if(typeof m!="function")throw new c5(i);return rI(function(){m.apply(n,H)},C)}function XC(m,C,H,$){var te=-1,le=NL,xe=!0,Ie=m.length,Fe=[],r0=C.length;if(!Ie)return Fe;H&&(C=df(C,m6(H))),$?(le=see,xe=!1):C.length>=r&&(le=GC,xe=!1,C=new ey(C));e:for(;++tete?0:te+H),$=$===n||$>te?te:gn($),$<0&&($+=te),$=H>$?0:uve($);H<$;)m[H++]=C;return m}function $9e(m,C){var H=[];return c3(m,function($,te,le){C($,te,le)&&H.push($)}),H}function Ys(m,C,H,$,te){var le=-1,xe=m.length;for(H||(H=JC0),te||(te=[]);++le0&&H(Ie)?C>1?Ys(Ie,C-1,H,$,te):i3(te,Ie):$||(te[te.length]=Ie)}return te}var xee=xge(),J9e=xge(!0);function fu(m,C){return m&&xee(m,C,ds)}function Eee(m,C){return m&&J9e(m,C,ds)}function nF(m,C){return f3(C,function(H){return Gp(m[H])})}function ny(m,C){C=l3(C,m);for(var H=0,$=C.length;m!=null&&H<$;)m=m[su(C[H++])];return H&&H==$?m:n}function X9e(m,C,H){var $=C(m);return nn(m)?$:i3($,H(m))}function L1(m){return m==null?m===n?I0:Ge:X4&&X4 in Ir(m)?GC0(m):rI0(m)}function _ee(m,C){return m>C}function dC0(m,C){return m!=null&&fr.call(m,C)}function lC0(m,C){return m!=null&&C in Ir(m)}function uC0(m,C,H){return m>=So(C,H)&&m=120&&f0.length>=120)?new ey(xe&&f0):n}f0=m[0];var b0=-1,V0=Ie[0];e:for(;++b0-1;)Ie!==m&&QL.call(Ie,Fe,1),QL.call(m,Fe,1);return m}function oge(m,C){for(var H=m?C.length:0,$=H-1;H--;){var te=C[H];if(H==$||te!==le){var le=te;jp(te)?QL.call(m,te,1):Dee(m,te)}}return m}function Ree(m,C){return m+$L(W9e()*(C-m+1))}function AC0(m,C,H,$){for(var te=-1,le=Yi(YL((C-m)/(H||1)),0),xe=We(le);le--;)xe[$?le:++te]=m,m+=H;return xe}function Mee(m,C){var H="";if(!m||C<1||C>E)return H;do C%2&&(H+=m),C=$L(C/2),C&&(m+=m);while(C);return H}function Sn(m,C){return Vee(Oge(m,C,Ic),m+"")}function CC0(m){return G9e(Uv(m))}function IC0(m,C){var H=Uv(m);return pF(H,ty(C,0,H.length))}function tI(m,C,H,$){if(!If(m))return m;C=l3(C,m);for(var te=-1,le=C.length,xe=le-1,Ie=m;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=m[le];xe!==null&&!y6(xe)&&(H?xe<=C:xe=r){var r0=C?null:zC0(m);if(r0)return UL(r0);xe=!1,te=GC,Fe=new ey}else Fe=C?[]:Ie;e:for(;++$=$?m:u5(m,C,H)}var mge=gA0||function(m){return Vs.clearTimeout(m)};function bge(m,C){if(C)return m.slice();var H=m.length,$=N9e?N9e(H):new m.constructor(H);return m.copy($),$}function Nee(m){var C=new m.constructor(m.byteLength);return new GL(C).set(new GL(m)),C}function BC0(m,C){var H=C?Nee(m.buffer):m.buffer;return new m.constructor(H,m.byteOffset,m.byteLength)}function DC0(m){var C=new m.constructor(m.source,$0.exec(m));return C.lastIndex=m.lastIndex,C}function PC0(m){return $C?Ir($C.call(m)):{}}function yge(m,C){var H=C?Nee(m.buffer):m.buffer;return new m.constructor(H,m.byteOffset,m.length)}function gge(m,C){if(m!==C){var H=m!==n,$=m===null,te=m===m,le=y6(m),xe=C!==n,Ie=C===null,Fe=C===C,r0=y6(C);if(!Ie&&!r0&&!le&&m>C||le&&xe&&Fe&&!Ie&&!r0||$&&xe&&Fe||!H&&Fe||!te)return 1;if(!$&&!le&&!r0&&m=Ie)return Fe;var r0=H[$];return Fe*(r0=="desc"?-1:1)}}return m.index-C.index}function vge(m,C,H,$){for(var te=-1,le=m.length,xe=H.length,Ie=-1,Fe=C.length,r0=Yi(le-xe,0),f0=We(Fe+r0),b0=!$;++Ie1?H[te-1]:n,xe=te>2?H[2]:n;for(le=m.length>3&&typeof le=="function"?(te--,le):n,xe&&F1(H[0],H[1],xe)&&(le=te<3?n:le,te=1),C=Ir(C);++$-1?te[le?C[xe]:xe]:n}}function Age(m){return qp(function(C){var H=C.length,$=H,te=d5.prototype.thru;for(m&&C.reverse();$--;){var le=C[$];if(typeof le!="function")throw new c5(i);if(te&&!xe&&lF(le)=="wrapper")var xe=new d5([],!0)}for($=xe?$:H;++$1&&fa.reverse(),f0&&FeIe))return!1;var r0=le.get(m),f0=le.get(C);if(r0&&f0)return r0==C&&f0==m;var b0=-1,V0=!0,ct=H&k?new ey:n;for(le.set(m,C),le.set(C,m);++b01?"& ":"")+C[$],C=C.join(H>2?", ":" "),m.replace(Y0,`{ /* [wrapped with `+C+`] */ -`)}function ZC0(m){return nn(m)||ay(m)||!!(z9e&&m&&m[z9e])}function jp(m,C){var H=typeof m;return C=C??E,!!C&&(H=="number"||H!="symbol"&&Nn.test(m))&&m>-1&&m%1==0&&m0){if(++C>=N)return arguments[0]}else C=0;return m.apply(n,arguments)}}function pF(m,C){var H=-1,$=m.length,te=$-1;for(C=C===n?$:C;++H1?m[C-1]:n;return H=typeof H=="function"?(m.pop(),H):n,Jge(m,H)});function Xge(m){var C=se(m);return C.__chain__=!0,C}function dk0(m,C){return C(m),m}function hF(m,C){return C(m)}var lk0=qp(function(m){var C=m.length,H=C?m[0]:0,$=this.__wrapped__,te=function(le){return wee(le,m)};return C>1||this.__actions__.length||!($ instanceof Jn)||!jp(H)?this.thru(te):($=$.slice(H,+H+(C?1:0)),$.__actions__.push({func:hF,args:[te],thisArg:n}),new d5($,this.__chain__).thru(function(le){return C&&!le.length&&le.push(n),le}))});function uk0(){return Xge(this)}function pk0(){return new d5(this.value(),this.__chain__)}function hk0(){this.__values__===n&&(this.__values__=uve(this.value()));var m=this.__index__>=this.__values__.length,C=m?n:this.__values__[this.__index__++];return{done:m,value:C}}function mk0(){return this}function bk0(m){for(var C,H=this;H instanceof ZL;){var $=Gge(H);$.__index__=0,$.__values__=n,C?te.__wrapped__=$:C=$;var te=$;H=H.__wrapped__}return te.__wrapped__=m,C}function yk0(){var m=this.__wrapped__;if(m instanceof Jn){var C=m;return this.__actions__.length&&(C=new Jn(this)),C=C.reverse(),C.__actions__.push({func:hF,args:[Vee],thisArg:n}),new d5(C,this.__chain__)}return this.thru(Vee)}function gk0(){return hge(this.__wrapped__,this.__actions__)}var vk0=iF(function(m,C,H){fr.call(m,H)?++m[H]:zp(m,H,1)});function wk0(m,C,H){var $=nn(m)?I9e:dC0;return H&&F1(m,C,H)&&(C=n),$(m,Mt(C,3))}function Tk0(m,C){var H=nn(m)?f3:J9e;return H(m,Mt(C,3))}var xk0=Age(Kge),Ek0=Age(Qge);function _k0(m,C){return Ys(mF(m,C),1)}function Ak0(m,C){return Ys(mF(m,C),L)}function Ck0(m,C,H){return H=H===n?1:gn(H),Ys(mF(m,C),H)}function Zge(m,C){var H=nn(m)?o5:c3;return H(m,Mt(C,3))}function eve(m,C){var H=nn(m)?G_0:$9e;return H(m,Mt(C,3))}var Ik0=iF(function(m,C,H){fr.call(m,H)?m[H].push(C):zp(m,H,[C])});function kk0(m,C,H,$){m=Ac(m)?m:Nv(m),H=H&&!$?gn(H):0;var te=m.length;return H<0&&(H=Yi(te+H,0)),wF(m)?H<=te&&m.indexOf(C,H)>-1:!!te&&Av(m,C,H)>-1}var Sk0=Sn(function(m,C,H){var $=-1,te=typeof C=="function",le=Ac(m)?We(m.length):[];return c3(m,function(xe){le[++$]=te?h6(C,xe,H):XC(xe,C,H)}),le}),Rk0=iF(function(m,C,H){zp(m,H,C)});function mF(m,C){var H=nn(m)?df:age;return H(m,Mt(C,3))}function Mk0(m,C,H,$){return m==null?[]:(nn(C)||(C=C==null?[]:[C]),H=$?n:H,nn(H)||(H=H==null?[]:[H]),sge(m,C,H))}var Bk0=iF(function(m,C,H){m[H?0:1].push(C)},function(){return[[],[]]});function Dk0(m,C,H){var $=nn(m)?see:M9e,te=arguments.length<3;return $(m,Mt(C,4),H,te,c3)}function Pk0(m,C,H){var $=nn(m)?K_0:M9e,te=arguments.length<3;return $(m,Mt(C,4),H,te,$9e)}function Lk0(m,C){var H=nn(m)?f3:J9e;return H(m,gF(Mt(C,3)))}function Fk0(m){var C=nn(m)?K9e:kC0;return C(m)}function Nk0(m,C,H){(H?F1(m,C,H):C===n)?C=1:C=gn(C);var $=nn(m)?fC0:SC0;return $(m,C)}function Ok0(m){var C=nn(m)?iC0:MC0;return C(m)}function Uk0(m){if(m==null)return 0;if(Ac(m))return wF(m)?Iv(m):m.length;var C=Ro(m);return C==de||C==_0?m.size:Cee(m).length}function Hk0(m,C,H){var $=nn(m)?oee:BC0;return H&&F1(m,C,H)&&(C=n),$(m,Mt(C,3))}var zk0=Sn(function(m,C){if(m==null)return[];var H=C.length;return H>1&&F1(m,C[0],C[1])?C=[]:H>2&&F1(C[0],C[1],C[2])&&(C=[C[0]]),sge(m,Ys(C,1),[])}),bF=TA0||function(){return Vs.Date.now()};function Wk0(m,C){if(typeof C!="function")throw new c5(i);return m=gn(m),function(){if(--m<1)return C.apply(this,arguments)}}function tve(m,C,H){return C=H?n:C,C=m&&C==null?m.length:C,Wp(m,X,n,n,n,n,C)}function nve(m,C){var H;if(typeof C!="function")throw new c5(i);return m=gn(m),function(){return--m>0&&(H=C.apply(this,arguments)),m<=1&&(C=n),H}}var $ee=Sn(function(m,C,H){var $=O;if(H.length){var te=s3(H,Lv($ee));$|=Q}return Wp(m,$,C,H,te)}),ave=Sn(function(m,C,H){var $=O|F;if(H.length){var te=s3(H,Lv(ave));$|=Q}return Wp(C,$,m,H,te)});function rve(m,C,H){C=H?n:C;var $=Wp(m,W,n,n,n,n,n,C);return $.placeholder=rve.placeholder,$}function fve(m,C,H){C=H?n:C;var $=Wp(m,j,n,n,n,n,n,C);return $.placeholder=fve.placeholder,$}function ive(m,C,H){var $,te,le,xe,Ie,Fe,r0=0,f0=!1,b0=!1,V0=!0;if(typeof m!="function")throw new c5(i);C=h5(C)||0,If(H)&&(f0=!!H.leading,b0="maxWait"in H,le=b0?Yi(h5(H.maxWait)||0,C):le,V0="trailing"in H?!!H.trailing:V0);function ct(li){var Qd=$,Qp=te;return $=te=n,r0=li,xe=m.apply(Qp,Qd),xe}function Bt(li){return r0=li,Ie=aI(Kn,C),f0?ct(li):xe}function xn(li){var Qd=li-Fe,Qp=li-r0,Ave=C-Qd;return b0?So(Ave,le-Qp):Ave}function Dt(li){var Qd=li-Fe,Qp=li-r0;return Fe===n||Qd>=C||Qd<0||b0&&Qp>=le}function Kn(){var li=bF();if(Dt(li))return fa(li);Ie=aI(Kn,xn(li))}function fa(li){return Ie=n,V0&&$?ct(li):($=te=n,xe)}function g6(){Ie!==n&&bge(Ie),r0=0,$=Fe=te=Ie=n}function N1(){return Ie===n?xe:fa(bF())}function v6(){var li=bF(),Qd=Dt(li);if($=arguments,te=this,Fe=li,Qd){if(Ie===n)return Bt(Fe);if(b0)return bge(Ie),Ie=aI(Kn,C),ct(Fe)}return Ie===n&&(Ie=aI(Kn,C)),xe}return v6.cancel=g6,v6.flush=N1,v6}var qk0=Sn(function(m,C){return Y9e(m,1,C)}),jk0=Sn(function(m,C,H){return Y9e(m,h5(C)||0,H)});function Gk0(m){return Wp(m,G)}function yF(m,C){if(typeof m!="function"||C!=null&&typeof C!="function")throw new c5(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=m.apply(this,$);return H.cache=le.set(te,xe)||le,xe};return H.cache=new(yF.Cache||Hp),H}yF.Cache=Hp;function gF(m){if(typeof m!="function")throw new c5(i);return function(){var C=arguments;switch(C.length){case 0:return!m.call(this);case 1:return!m.call(this,C[0]);case 2:return!m.call(this,C[0],C[1]);case 3:return!m.call(this,C[0],C[1],C[2])}return!m.apply(this,C)}}function Kk0(m){return nve(2,m)}var Qk0=DC0(function(m,C){C=C.length==1&&nn(C[0])?df(C[0],m6(Mt())):df(Ys(C,1),m6(Mt()));var H=C.length;return Sn(function($){for(var te=-1,le=So($.length,H);++te=C}),ay=ege(function(){return arguments}())?ege:function(m){return Kf(m)&&fr.call(m,"callee")&&!H9e.call(m,"callee")},nn=We.isArray,oS0=T9e?m6(T9e):bC0;function Ac(m){return m!=null&&vF(m.length)&&!Gp(m)}function di(m){return Kf(m)&&Ac(m)}function cS0(m){return m===!0||m===!1||Kf(m)&&L1(m)==ne}var p3=EA0||o0e,dS0=x9e?m6(x9e):yC0;function lS0(m){return Kf(m)&&m.nodeType===1&&!rI(m)}function uS0(m){if(m==null)return!0;if(Ac(m)&&(nn(m)||typeof m=="string"||typeof m.splice=="function"||p3(m)||Fv(m)||ay(m)))return!m.length;var C=Ro(m);if(C==de||C==_0)return!m.size;if(nI(m))return!Cee(m).length;for(var H in m)if(fr.call(m,H))return!1;return!0}function pS0(m,C){return ZC(m,C)}function hS0(m,C,H){H=typeof H=="function"?H:n;var $=H?H(m,C):n;return $===n?ZC(m,C,n,H):!!$}function Xee(m){if(!Kf(m))return!1;var C=L1(m);return C==re||C==Y||typeof m.message=="string"&&typeof m.name=="string"&&!rI(m)}function mS0(m){return typeof m=="number"&&W9e(m)}function Gp(m){if(!If(m))return!1;var C=L1(m);return C==ie||C==ge||C==Z||C==Ye}function ove(m){return typeof m=="number"&&m==gn(m)}function vF(m){return typeof m=="number"&&m>-1&&m%1==0&&m<=E}function If(m){var C=typeof m;return m!=null&&(C=="object"||C=="function")}function Kf(m){return m!=null&&typeof m=="object"}var cve=E9e?m6(E9e):vC0;function bS0(m,C){return m===C||Aee(m,C,Wee(C))}function yS0(m,C,H){return H=typeof H=="function"?H:n,Aee(m,C,Wee(C),H)}function gS0(m){return dve(m)&&m!=+m}function vS0(m){if(nI0(m))throw new Kt(f);return tge(m)}function wS0(m){return m===null}function TS0(m){return m==null}function dve(m){return typeof m=="number"||Kf(m)&&L1(m)==Ae}function rI(m){if(!Kf(m)||L1(m)!=Be)return!1;var C=KL(m);if(C===null)return!0;var H=fr.call(C,"constructor")&&C.constructor;return typeof H=="function"&&H instanceof H&&WL.call(H)==yA0}var Zee=_9e?m6(_9e):wC0;function xS0(m){return ove(m)&&m>=-E&&m<=E}var lve=A9e?m6(A9e):TC0;function wF(m){return typeof m=="string"||!nn(m)&&Kf(m)&&L1(m)==L0}function y6(m){return typeof m=="symbol"||Kf(m)&&L1(m)==Ze}var Fv=C9e?m6(C9e):xC0;function ES0(m){return m===n}function _S0(m){return Kf(m)&&Ro(m)==pe}function AS0(m){return Kf(m)&&L1(m)==he}var CS0=dF(Iee),IS0=dF(function(m,C){return m<=C});function uve(m){if(!m)return[];if(Ac(m))return wF(m)?jd(m):_c(m);if(GC&&m[GC])return fA0(m[GC]());var C=Ro(m),H=C==de?hee:C==_0?UL:Nv;return H(m)}function Kp(m){if(!m)return m===0?m:0;if(m=h5(m),m===L||m===-L){var C=m<0?-1:1;return C*g}return m===m?m:0}function gn(m){var C=Kp(m),H=C%1;return C===C?H?C-H:C:0}function pve(m){return m?Z4(gn(m),0,M):0}function h5(m){if(typeof m=="number")return m;if(y6(m))return B;if(If(m)){var C=typeof m.valueOf=="function"?m.valueOf():m;m=If(C)?C+"":C}if(typeof m!="string")return m===0?m:+m;m=B9e(m);var H=Pn.test(m);return H||Fn.test(m)?W_0(m.slice(2),H?2:8):Tt.test(m)?B:+m}function hve(m){return iu(m,Cc(m))}function kS0(m){return m?Z4(gn(m),-E,E):m===0?m:0}function Qa(m){return m==null?"":b6(m)}var SS0=Dv(function(m,C){if(nI(C)||Ac(C)){iu(C,ds(C),m);return}for(var H in C)fr.call(C,H)&&$C(m,H,C[H])}),mve=Dv(function(m,C){iu(C,Cc(C),m)}),TF=Dv(function(m,C,H,$){iu(C,Cc(C),m,$)}),RS0=Dv(function(m,C,H,$){iu(C,ds(C),m,$)}),MS0=qp(wee);function BS0(m,C){var H=Bv(m);return C==null?H:Q9e(H,C)}var DS0=Sn(function(m,C){m=Ir(m);var H=-1,$=C.length,te=$>2?C[2]:n;for(te&&F1(C[0],C[1],te)&&($=1);++H<$;)for(var le=C[H],xe=Cc(le),Ie=-1,Fe=xe.length;++Ie1),le}),iu(m,Hee(m),H),$&&(H=l5(H,l|h|y,jC0));for(var te=C.length;te--;)Bee(H,C[te]);return H});function JS0(m,C){return yve(m,gF(Mt(C)))}var XS0=qp(function(m,C){return m==null?{}:AC0(m,C)});function yve(m,C){if(m==null)return{};var H=df(Hee(m),function($){return[$]});return C=Mt(C),oge(m,H,function($,te){return C($,te[0])})}function ZS0(m,C,H){C=l3(C,m);var $=-1,te=C.length;for(te||(te=1,m=n);++$C){var $=m;m=C,C=$}if(H||m%1||C%1){var te=q9e();return So(m+te*(C-m+z_0("1e-"+((te+"").length-1))),C)}return See(m,C)}var dR0=Pv(function(m,C,H){return C=C.toLowerCase(),m+(H?wve(C):C)});function wve(m){return n0e(Qa(m).toLowerCase())}function Tve(m){return m=Qa(m),m&&m.replace(On,eA0).replace(M_0,"")}function lR0(m,C,H){m=Qa(m),C=b6(C);var $=m.length;H=H===n?$:Z4(gn(H),0,$);var te=H;return H-=C.length,H>=0&&m.slice(H,te)==C}function uR0(m){return m=Qa(m),m&&$e.test(m)?m.replace(m0,tA0):m}function pR0(m){return m=Qa(m),m&&K0.test(m)?m.replace(B0,"\\$&"):m}var hR0=Pv(function(m,C,H){return m+(H?"-":"")+C.toLowerCase()}),mR0=Pv(function(m,C,H){return m+(H?" ":"")+C.toLowerCase()}),bR0=_ge("toLowerCase");function yR0(m,C,H){m=Qa(m),C=gn(C);var $=C?Iv(m):0;if(!C||$>=C)return m;var te=(C-$)/2;return cF($L(te),H)+m+cF(YL(te),H)}function gR0(m,C,H){m=Qa(m),C=gn(C);var $=C?Iv(m):0;return C&&$>>0,H?(m=Qa(m),m&&(typeof C=="string"||C!=null&&!Zee(C))&&(C=b6(C),!C&&Cv(m))?u3(jd(m),0,H):m.split(C,H)):[]}var AR0=Pv(function(m,C,H){return m+(H?" ":"")+n0e(C)});function CR0(m,C,H){return m=Qa(m),H=H==null?0:Z4(gn(H),0,m.length),C=b6(C),m.slice(H,H+C.length)==C}function IR0(m,C,H){var $=se.templateSettings;H&&F1(m,C,H)&&(C=n),m=Qa(m),C=TF({},C,$,Mge);var te=TF({},C.imports,$.imports,Mge),le=ds(te),xe=pee(te,le),Ie,Fe,r0=0,f0=C.interpolate||Ha,b0="__p += '",V0=mee((C.escape||Ha).source+"|"+f0.source+"|"+(f0===t0?Et:Ha).source+"|"+(C.evaluate||Ha).source+"|$","g"),ct="//# sourceURL="+(fr.call(C,"sourceURL")?(C.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++F_0+"]")+` -`;m.replace(V0,function(Dt,Kn,fa,g6,N1,v6){return fa||(fa=g6),b0+=m.slice(r0,v6).replace(pr,nA0),Kn&&(Ie=!0,b0+=`' + +`)}function JC0(m){return nn(m)||fy(m)||!!(H9e&&m&&m[H9e])}function jp(m,C){var H=typeof m;return C=C??E,!!C&&(H=="number"||H!="symbol"&&Nn.test(m))&&m>-1&&m%1==0&&m0){if(++C>=N)return arguments[0]}else C=0;return m.apply(n,arguments)}}function pF(m,C){var H=-1,$=m.length,te=$-1;for(C=C===n?$:C;++H1?m[C-1]:n;return H=typeof H=="function"?(m.pop(),H):n,$ge(m,H)});function Jge(m){var C=se(m);return C.__chain__=!0,C}function ok0(m,C){return C(m),m}function hF(m,C){return C(m)}var ck0=qp(function(m){var C=m.length,H=C?m[0]:0,$=this.__wrapped__,te=function(le){return Tee(le,m)};return C>1||this.__actions__.length||!($ instanceof Jn)||!jp(H)?this.thru(te):($=$.slice(H,+H+(C?1:0)),$.__actions__.push({func:hF,args:[te],thisArg:n}),new d5($,this.__chain__).thru(function(le){return C&&!le.length&&le.push(n),le}))});function dk0(){return Jge(this)}function lk0(){return new d5(this.value(),this.__chain__)}function uk0(){this.__values__===n&&(this.__values__=lve(this.value()));var m=this.__index__>=this.__values__.length,C=m?n:this.__values__[this.__index__++];return{done:m,value:C}}function pk0(){return this}function hk0(m){for(var C,H=this;H instanceof ZL;){var $=jge(H);$.__index__=0,$.__values__=n,C?te.__wrapped__=$:C=$;var te=$;H=H.__wrapped__}return te.__wrapped__=m,C}function mk0(){var m=this.__wrapped__;if(m instanceof Jn){var C=m;return this.__actions__.length&&(C=new Jn(this)),C=C.reverse(),C.__actions__.push({func:hF,args:[Yee],thisArg:n}),new d5(C,this.__chain__)}return this.thru(Yee)}function bk0(){return pge(this.__wrapped__,this.__actions__)}var yk0=iF(function(m,C,H){fr.call(m,H)?++m[H]:zp(m,H,1)});function gk0(m,C,H){var $=nn(m)?C9e:oC0;return H&&F1(m,C,H)&&(C=n),$(m,Mt(C,3))}function vk0(m,C){var H=nn(m)?f3:$9e;return H(m,Mt(C,3))}var wk0=_ge(Gge),Tk0=_ge(Kge);function xk0(m,C){return Ys(mF(m,C),1)}function Ek0(m,C){return Ys(mF(m,C),L)}function _k0(m,C,H){return H=H===n?1:gn(H),Ys(mF(m,C),H)}function Xge(m,C){var H=nn(m)?o5:c3;return H(m,Mt(C,3))}function Zge(m,C){var H=nn(m)?q_0:Y9e;return H(m,Mt(C,3))}var Ak0=iF(function(m,C,H){fr.call(m,H)?m[H].push(C):zp(m,H,[C])});function Ck0(m,C,H,$){m=Ac(m)?m:Uv(m),H=H&&!$?gn(H):0;var te=m.length;return H<0&&(H=Yi(te+H,0)),wF(m)?H<=te&&m.indexOf(C,H)>-1:!!te&&Iv(m,C,H)>-1}var Ik0=Sn(function(m,C,H){var $=-1,te=typeof C=="function",le=Ac(m)?We(m.length):[];return c3(m,function(xe){le[++$]=te?h6(C,xe,H):ZC(xe,C,H)}),le}),kk0=iF(function(m,C,H){zp(m,H,C)});function mF(m,C){var H=nn(m)?df:nge;return H(m,Mt(C,3))}function Sk0(m,C,H,$){return m==null?[]:(nn(C)||(C=C==null?[]:[C]),H=$?n:H,nn(H)||(H=H==null?[]:[H]),ige(m,C,H))}var Rk0=iF(function(m,C,H){m[H?0:1].push(C)},function(){return[[],[]]});function Mk0(m,C,H){var $=nn(m)?oee:R9e,te=arguments.length<3;return $(m,Mt(C,4),H,te,c3)}function Bk0(m,C,H){var $=nn(m)?j_0:R9e,te=arguments.length<3;return $(m,Mt(C,4),H,te,Y9e)}function Dk0(m,C){var H=nn(m)?f3:$9e;return H(m,gF(Mt(C,3)))}function Pk0(m){var C=nn(m)?G9e:CC0;return C(m)}function Lk0(m,C,H){(H?F1(m,C,H):C===n)?C=1:C=gn(C);var $=nn(m)?aC0:IC0;return $(m,C)}function Fk0(m){var C=nn(m)?rC0:SC0;return C(m)}function Nk0(m){if(m==null)return 0;if(Ac(m))return wF(m)?Sv(m):m.length;var C=Ro(m);return C==de||C==_0?m.size:Iee(m).length}function Ok0(m,C,H){var $=nn(m)?cee:RC0;return H&&F1(m,C,H)&&(C=n),$(m,Mt(C,3))}var Uk0=Sn(function(m,C){if(m==null)return[];var H=C.length;return H>1&&F1(m,C[0],C[1])?C=[]:H>2&&F1(C[0],C[1],C[2])&&(C=[C[0]]),ige(m,Ys(C,1),[])}),bF=vA0||function(){return Vs.Date.now()};function Hk0(m,C){if(typeof C!="function")throw new c5(i);return m=gn(m),function(){if(--m<1)return C.apply(this,arguments)}}function eve(m,C,H){return C=H?n:C,C=m&&C==null?m.length:C,Wp(m,X,n,n,n,n,C)}function tve(m,C){var H;if(typeof C!="function")throw new c5(i);return m=gn(m),function(){return--m>0&&(H=C.apply(this,arguments)),m<=1&&(C=n),H}}var Jee=Sn(function(m,C,H){var $=O;if(H.length){var te=s3(H,Nv(Jee));$|=Q}return Wp(m,$,C,H,te)}),nve=Sn(function(m,C,H){var $=O|F;if(H.length){var te=s3(H,Nv(nve));$|=Q}return Wp(C,$,m,H,te)});function ave(m,C,H){C=H?n:C;var $=Wp(m,W,n,n,n,n,n,C);return $.placeholder=ave.placeholder,$}function rve(m,C,H){C=H?n:C;var $=Wp(m,j,n,n,n,n,n,C);return $.placeholder=rve.placeholder,$}function fve(m,C,H){var $,te,le,xe,Ie,Fe,r0=0,f0=!1,b0=!1,V0=!0;if(typeof m!="function")throw new c5(i);C=h5(C)||0,If(H)&&(f0=!!H.leading,b0="maxWait"in H,le=b0?Yi(h5(H.maxWait)||0,C):le,V0="trailing"in H?!!H.trailing:V0);function ct(li){var Qd=$,Qp=te;return $=te=n,r0=li,xe=m.apply(Qp,Qd),xe}function Bt(li){return r0=li,Ie=rI(Kn,C),f0?ct(li):xe}function xn(li){var Qd=li-Fe,Qp=li-r0,_ve=C-Qd;return b0?So(_ve,le-Qp):_ve}function Dt(li){var Qd=li-Fe,Qp=li-r0;return Fe===n||Qd>=C||Qd<0||b0&&Qp>=le}function Kn(){var li=bF();if(Dt(li))return fa(li);Ie=rI(Kn,xn(li))}function fa(li){return Ie=n,V0&&$?ct(li):($=te=n,xe)}function g6(){Ie!==n&&mge(Ie),r0=0,$=Fe=te=Ie=n}function N1(){return Ie===n?xe:fa(bF())}function v6(){var li=bF(),Qd=Dt(li);if($=arguments,te=this,Fe=li,Qd){if(Ie===n)return Bt(Fe);if(b0)return mge(Ie),Ie=rI(Kn,C),ct(Fe)}return Ie===n&&(Ie=rI(Kn,C)),xe}return v6.cancel=g6,v6.flush=N1,v6}var zk0=Sn(function(m,C){return V9e(m,1,C)}),Wk0=Sn(function(m,C,H){return V9e(m,h5(C)||0,H)});function qk0(m){return Wp(m,G)}function yF(m,C){if(typeof m!="function"||C!=null&&typeof C!="function")throw new c5(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=m.apply(this,$);return H.cache=le.set(te,xe)||le,xe};return H.cache=new(yF.Cache||Hp),H}yF.Cache=Hp;function gF(m){if(typeof m!="function")throw new c5(i);return function(){var C=arguments;switch(C.length){case 0:return!m.call(this);case 1:return!m.call(this,C[0]);case 2:return!m.call(this,C[0],C[1]);case 3:return!m.call(this,C[0],C[1],C[2])}return!m.apply(this,C)}}function jk0(m){return tve(2,m)}var Gk0=MC0(function(m,C){C=C.length==1&&nn(C[0])?df(C[0],m6(Mt())):df(Ys(C,1),m6(Mt()));var H=C.length;return Sn(function($){for(var te=-1,le=So($.length,H);++te=C}),fy=Z9e(function(){return arguments}())?Z9e:function(m){return Kf(m)&&fr.call(m,"callee")&&!U9e.call(m,"callee")},nn=We.isArray,iS0=w9e?m6(w9e):hC0;function Ac(m){return m!=null&&vF(m.length)&&!Gp(m)}function di(m){return Kf(m)&&Ac(m)}function sS0(m){return m===!0||m===!1||Kf(m)&&L1(m)==ne}var p3=TA0||c0e,oS0=T9e?m6(T9e):mC0;function cS0(m){return Kf(m)&&m.nodeType===1&&!fI(m)}function dS0(m){if(m==null)return!0;if(Ac(m)&&(nn(m)||typeof m=="string"||typeof m.splice=="function"||p3(m)||Ov(m)||fy(m)))return!m.length;var C=Ro(m);if(C==de||C==_0)return!m.size;if(aI(m))return!Iee(m).length;for(var H in m)if(fr.call(m,H))return!1;return!0}function lS0(m,C){return eI(m,C)}function uS0(m,C,H){H=typeof H=="function"?H:n;var $=H?H(m,C):n;return $===n?eI(m,C,n,H):!!$}function Zee(m){if(!Kf(m))return!1;var C=L1(m);return C==re||C==Y||typeof m.message=="string"&&typeof m.name=="string"&&!fI(m)}function pS0(m){return typeof m=="number"&&z9e(m)}function Gp(m){if(!If(m))return!1;var C=L1(m);return C==ie||C==ge||C==Z||C==Ye}function sve(m){return typeof m=="number"&&m==gn(m)}function vF(m){return typeof m=="number"&&m>-1&&m%1==0&&m<=E}function If(m){var C=typeof m;return m!=null&&(C=="object"||C=="function")}function Kf(m){return m!=null&&typeof m=="object"}var ove=x9e?m6(x9e):yC0;function hS0(m,C){return m===C||Cee(m,C,qee(C))}function mS0(m,C,H){return H=typeof H=="function"?H:n,Cee(m,C,qee(C),H)}function bS0(m){return cve(m)&&m!=+m}function yS0(m){if(eI0(m))throw new Kt(f);return ege(m)}function gS0(m){return m===null}function vS0(m){return m==null}function cve(m){return typeof m=="number"||Kf(m)&&L1(m)==Ae}function fI(m){if(!Kf(m)||L1(m)!=Be)return!1;var C=KL(m);if(C===null)return!0;var H=fr.call(C,"constructor")&&C.constructor;return typeof H=="function"&&H instanceof H&&WL.call(H)==mA0}var e0e=E9e?m6(E9e):gC0;function wS0(m){return sve(m)&&m>=-E&&m<=E}var dve=_9e?m6(_9e):vC0;function wF(m){return typeof m=="string"||!nn(m)&&Kf(m)&&L1(m)==L0}function y6(m){return typeof m=="symbol"||Kf(m)&&L1(m)==Ze}var Ov=A9e?m6(A9e):wC0;function TS0(m){return m===n}function xS0(m){return Kf(m)&&Ro(m)==pe}function ES0(m){return Kf(m)&&L1(m)==he}var _S0=dF(kee),AS0=dF(function(m,C){return m<=C});function lve(m){if(!m)return[];if(Ac(m))return wF(m)?jd(m):_c(m);if(KC&&m[KC])return aA0(m[KC]());var C=Ro(m),H=C==de?mee:C==_0?UL:Uv;return H(m)}function Kp(m){if(!m)return m===0?m:0;if(m=h5(m),m===L||m===-L){var C=m<0?-1:1;return C*g}return m===m?m:0}function gn(m){var C=Kp(m),H=C%1;return C===C?H?C-H:C:0}function uve(m){return m?ty(gn(m),0,M):0}function h5(m){if(typeof m=="number")return m;if(y6(m))return B;if(If(m)){var C=typeof m.valueOf=="function"?m.valueOf():m;m=If(C)?C+"":C}if(typeof m!="string")return m===0?m:+m;m=M9e(m);var H=Pn.test(m);return H||Fn.test(m)?H_0(m.slice(2),H?2:8):Tt.test(m)?B:+m}function pve(m){return iu(m,Cc(m))}function CS0(m){return m?ty(gn(m),-E,E):m===0?m:0}function Qa(m){return m==null?"":b6(m)}var IS0=Lv(function(m,C){if(aI(C)||Ac(C)){iu(C,ds(C),m);return}for(var H in C)fr.call(C,H)&&JC(m,H,C[H])}),hve=Lv(function(m,C){iu(C,Cc(C),m)}),TF=Lv(function(m,C,H,$){iu(C,Cc(C),m,$)}),kS0=Lv(function(m,C,H,$){iu(C,ds(C),m,$)}),SS0=qp(Tee);function RS0(m,C){var H=Pv(m);return C==null?H:K9e(H,C)}var MS0=Sn(function(m,C){m=Ir(m);var H=-1,$=C.length,te=$>2?C[2]:n;for(te&&F1(C[0],C[1],te)&&($=1);++H<$;)for(var le=C[H],xe=Cc(le),Ie=-1,Fe=xe.length;++Ie1),le}),iu(m,zee(m),H),$&&(H=l5(H,l|h|y,WC0));for(var te=C.length;te--;)Dee(H,C[te]);return H});function YS0(m,C){return bve(m,gF(Mt(C)))}var $S0=qp(function(m,C){return m==null?{}:EC0(m,C)});function bve(m,C){if(m==null)return{};var H=df(zee(m),function($){return[$]});return C=Mt(C),sge(m,H,function($,te){return C($,te[0])})}function JS0(m,C,H){C=l3(C,m);var $=-1,te=C.length;for(te||(te=1,m=n);++$C){var $=m;m=C,C=$}if(H||m%1||C%1){var te=W9e();return So(m+te*(C-m+U_0("1e-"+((te+"").length-1))),C)}return Ree(m,C)}var oR0=Fv(function(m,C,H){return C=C.toLowerCase(),m+(H?vve(C):C)});function vve(m){return a0e(Qa(m).toLowerCase())}function wve(m){return m=Qa(m),m&&m.replace(On,X_0).replace(S_0,"")}function cR0(m,C,H){m=Qa(m),C=b6(C);var $=m.length;H=H===n?$:ty(gn(H),0,$);var te=H;return H-=C.length,H>=0&&m.slice(H,te)==C}function dR0(m){return m=Qa(m),m&&$e.test(m)?m.replace(m0,Z_0):m}function lR0(m){return m=Qa(m),m&&K0.test(m)?m.replace(B0,"\\$&"):m}var uR0=Fv(function(m,C,H){return m+(H?"-":"")+C.toLowerCase()}),pR0=Fv(function(m,C,H){return m+(H?" ":"")+C.toLowerCase()}),hR0=Ege("toLowerCase");function mR0(m,C,H){m=Qa(m),C=gn(C);var $=C?Sv(m):0;if(!C||$>=C)return m;var te=(C-$)/2;return cF($L(te),H)+m+cF(YL(te),H)}function bR0(m,C,H){m=Qa(m),C=gn(C);var $=C?Sv(m):0;return C&&$>>0,H?(m=Qa(m),m&&(typeof C=="string"||C!=null&&!e0e(C))&&(C=b6(C),!C&&kv(m))?u3(jd(m),0,H):m.split(C,H)):[]}var ER0=Fv(function(m,C,H){return m+(H?" ":"")+a0e(C)});function _R0(m,C,H){return m=Qa(m),H=H==null?0:ty(gn(H),0,m.length),C=b6(C),m.slice(H,H+C.length)==C}function AR0(m,C,H){var $=se.templateSettings;H&&F1(m,C,H)&&(C=n),m=Qa(m),C=TF({},C,$,Rge);var te=TF({},C.imports,$.imports,Rge),le=ds(te),xe=hee(te,le),Ie,Fe,r0=0,f0=C.interpolate||Ha,b0="__p += '",V0=bee((C.escape||Ha).source+"|"+f0.source+"|"+(f0===t0?Et:Ha).source+"|"+(C.evaluate||Ha).source+"|$","g"),ct="//# sourceURL="+(fr.call(C,"sourceURL")?(C.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++P_0+"]")+` +`;m.replace(V0,function(Dt,Kn,fa,g6,N1,v6){return fa||(fa=g6),b0+=m.slice(r0,v6).replace(pr,eA0),Kn&&(Ie=!0,b0+=`' + __e(`+Kn+`) + '`),N1&&(Fe=!0,b0+=`'; `+N1+`; @@ -227,49 +227,49 @@ __p += '`),fa&&(b0+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+b0+`return __p -}`;var xn=Eve(function(){return Wa(le,ct+"return "+b0).apply(n,xe)});if(xn.source=b0,Xee(xn))throw xn;return xn}function kR0(m){return Qa(m).toLowerCase()}function SR0(m){return Qa(m).toUpperCase()}function RR0(m,C,H){if(m=Qa(m),m&&(H||C===n))return B9e(m);if(!m||!(C=b6(C)))return m;var $=jd(m),te=jd(C),le=D9e($,te),xe=P9e($,te)+1;return u3($,le,xe).join("")}function MR0(m,C,H){if(m=Qa(m),m&&(H||C===n))return m.slice(0,F9e(m)+1);if(!m||!(C=b6(C)))return m;var $=jd(m),te=P9e($,jd(C))+1;return u3($,0,te).join("")}function BR0(m,C,H){if(m=Qa(m),m&&(H||C===n))return m.replace(s0,"");if(!m||!(C=b6(C)))return m;var $=jd(m),te=D9e($,jd(C));return u3($,te).join("")}function DR0(m,C){var H=R,$=T;if(If(C)){var te="separator"in C?C.separator:te;H="length"in C?gn(C.length):H,$="omission"in C?b6(C.omission):$}m=Qa(m);var le=m.length;if(Cv(m)){var xe=jd(m);le=xe.length}if(H>=le)return m;var Ie=H-Iv($);if(Ie<1)return $;var Fe=xe?u3(xe,0,Ie).join(""):m.slice(0,Ie);if(te===n)return Fe+$;if(xe&&(Ie+=Fe.length-Ie),Zee(te)){if(m.slice(Ie).search(te)){var r0,f0=Fe;for(te.global||(te=mee(te.source,Qa($0.exec(te))+"g")),te.lastIndex=0;r0=te.exec(f0);)var b0=r0.index;Fe=Fe.slice(0,b0===n?Ie:b0)}}else if(m.indexOf(b6(te),Ie)!=Ie){var V0=Fe.lastIndexOf(te);V0>-1&&(Fe=Fe.slice(0,V0))}return Fe+$}function PR0(m){return m=Qa(m),m&&h0.test(m)?m.replace(Ue,cA0):m}var LR0=Pv(function(m,C,H){return m+(H?" ":"")+C.toUpperCase()}),n0e=_ge("toUpperCase");function xve(m,C,H){return m=Qa(m),C=H?n:C,C===n?rA0(m)?uA0(m):Y_0(m):m.match(C)||[]}var Eve=Sn(function(m,C){try{return h6(m,n,C)}catch(H){return Xee(H)?H:new Kt(H)}}),FR0=qp(function(m,C){return o5(C,function(H){H=su(H),zp(m,H,$ee(m[H],m))}),m});function NR0(m){var C=m==null?0:m.length,H=Mt();return m=C?df(m,function($){if(typeof $[1]!="function")throw new c5(i);return[H($[0]),$[1]]}):[],Sn(function($){for(var te=-1;++teE)return[];var H=M,$=So(m,M);C=Mt(C),m-=M;for(var te=uee($,C);++H0||C<0)?new Jn(H):(m<0?H=H.takeRight(-m):m&&(H=H.drop(m)),C!==n&&(C=gn(C),H=C<0?H.dropRight(-C):H.take(C-m)),H)},Jn.prototype.takeRightWhile=function(m){return this.reverse().takeWhile(m).reverse()},Jn.prototype.toArray=function(){return this.take(M)},fu(Jn.prototype,function(m,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 Jn,r0=Ie[0],f0=Fe||nn(xe),b0=function(Kn){var fa=te.apply(se,i3([Kn],Ie));return $&&V0?fa[0]:fa};f0&&H&&typeof r0=="function"&&r0.length!=1&&(Fe=f0=!1);var V0=this.__chain__,ct=!!this.__actions__.length,Bt=le&&!V0,xn=Fe&&!ct;if(!le&&f0){xe=xn?xe:new Jn(this);var Dt=m.apply(xe,Ie);return Dt.__actions__.push({func:hF,args:[b0],thisArg:n}),new d5(Dt,V0)}return Bt&&xn?m.apply(this,Ie):(Dt=this.thru(b0),Bt?$?Dt.value()[0]:Dt.value():Dt)})}),o5(["pop","push","shift","sort","splice","unshift"],function(m){var C=HL[m],H=/^(?:push|sort|unshift)$/.test(m)?"tap":"thru",$=/^(?:pop|shift)$/.test(m);se.prototype[m]=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)})}}),fu(Jn.prototype,function(m,C){var H=se[C];if(H){var $=H.name+"";fr.call(Mv,$)||(Mv[$]=[]),Mv[$].push({name:C,func:H})}}),Mv[sF(n,F).name]=[{name:"wrapper",func:n}],Jn.prototype.clone=PA0,Jn.prototype.reverse=LA0,Jn.prototype.value=FA0,se.prototype.at=lk0,se.prototype.chain=uk0,se.prototype.commit=pk0,se.prototype.next=hk0,se.prototype.plant=bk0,se.prototype.reverse=yk0,se.prototype.toJSON=se.prototype.valueOf=se.prototype.value=gk0,se.prototype.first=se.prototype.head,GC&&(se.prototype[GC]=mk0),se},kv=pA0();Y4?((Y4.exports=kv)._=kv,ree._=kv):Vs._=kv}).call(NB)})(S2e,S2e.exports);oln=Object.defineProperty,cln=Object.defineProperties,dln=Object.getOwnPropertyDescriptors,w50=Object.getOwnPropertySymbols,lln=Object.prototype.hasOwnProperty,uln=Object.prototype.propertyIsEnumerable,T50=(t,e,n)=>e in t?oln(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,QQ=(t,e)=>{for(var n in e||(e={}))lln.call(e,n)&&T50(t,n,e[n]);if(w50)for(var n of w50(e))uln.call(e,n)&&T50(t,n,e[n]);return t},pln=(t,e)=>cln(t,dln(e));k50={},vf=t=>k50[t],I2e=(t,e)=>{k50[t]=e},R2e=class{constructor(e){this.name="polkadot",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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(Ah.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=tg(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||Wb(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new gd(a,vf("disableProviderPing")))}},M2e=class{constructor(e){this.name="eip155",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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(Ah.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||Wb(`${this.name}:${e}`,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new gd(a,vf("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(tg(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}`)}},B2e=class{constructor(e){this.name="solana",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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(Ah.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=tg(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||Wb(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new gd(a,vf("disableProviderPing")))}},D2e=class{constructor(e){this.name="cosmos",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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(Ah.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=tg(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||Wb(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new gd(a,vf("disableProviderPing")))}},P2e=class{constructor(e){this.name="cip34",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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(Ah.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=tg(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 W6(new gd(a,vf("disableProviderPing")))}},L2e=class{constructor(e){this.name="elrond",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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(Ah.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=tg(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||Wb(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new gd(a,vf("disableProviderPing")))}},F2e=class{constructor(e){this.name="multiversx",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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(Ah.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=tg(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||Wb(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new gd(a,vf("disableProviderPing")))}},N2e=class{constructor(e){this.name="near",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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||Wb(`${this.name}:${e}`,this.namespace);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);this.setHttpProvider(e,a)}this.events.emit(Ah.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||Wb(e,this.namespace);return typeof a>"u"?void 0:new W6(new gd(a,vf("disableProviderPing")))}},bln=Object.defineProperty,yln=Object.defineProperties,gln=Object.getOwnPropertyDescriptors,_50=Object.getOwnPropertySymbols,vln=Object.prototype.hasOwnProperty,wln=Object.prototype.propertyIsEnumerable,A50=(t,e,n)=>e in t?bln(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,VQ=(t,e)=>{for(var n in e||(e={}))vln.call(e,n)&&A50(t,n,e[n]);if(_50)for(var n of _50(e))wln.call(e,n)&&A50(t,n,e[n]);return t},k2e=(t,e)=>yln(t,gln(e)),O2e=class t{constructor(e){this.events=new C50.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,S7.default)(R7({level:e?.logger||g50})),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:VQ({},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,N8(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=E50(this.session.namespaces);this.namespaces=A2e(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=E50(f.namespaces);this.namespaces=A2e(this.namespaces,i),this.persist("namespaces",this.namespaces)}).catch(f=>{if(f.message!==E2e)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(z6(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 qQ.init({logger:this.providerOpts.logger||g50,relayUrl:this.providerOpts.relayUrl||rln,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=>y_(n)))];I2e("client",this.client),I2e("events",this.events),I2e("disableProviderPing",this.disableProviderPing),e.forEach(n=>{if(!this.session)return;let a=hln(n,this.session),r=I50(a),f=A2e(this.namespaces,this.optionalNamespaces),i=k2e(VQ({},f[n]),{accounts:a,chains:r});switch(n){case"eip155":this.rpcProviders[n]=new M2e({namespace:i});break;case"solana":this.rpcProviders[n]=new B2e({namespace:i});break;case"cosmos":this.rpcProviders[n]=new D2e({namespace:i});break;case"polkadot":this.rpcProviders[n]=new R2e({namespace:i});break;case"cip34":this.rpcProviders[n]=new P2e({namespace:i});break;case"elrond":this.rpcProviders[n]=new L2e({namespace:i});break;case"multiversx":this.rpcProviders[n]=new F2e({namespace:i});break;case"near":this.rpcProviders[n]=new N2e({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&&z6(r)&&this.events.emit("accountsChanged",r.map(mln))}else if(a.name==="chainChanged"){let r=n.chainId,f=n.event.data,i=y_(r),s=C2e(r)!==C2e(f)?`${i}:${C2e(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=k2e(VQ({},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",k2e(VQ({},Ca("USER_DISCONNECTED")),{data:e.topic}))}),this.on(Ah.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=>y_(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=y_(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(`${v50}/${e}`,n)}async getFromStore(e){return await this.client.core.storage.getItem(`${v50}/${e}`)}},S50=O2e});var fLa,Tln,M50,U2e,xln,B50,H2e,D50=oe(()=>{u();p();fLa=Symbol(),Tln=Symbol(),M50=Object.getPrototypeOf,U2e=new WeakMap,xln=t=>t&&(U2e.has(t)?U2e.get(t):M50(t)===Object.prototype||M50(t)===Array.prototype),B50=t=>xln(t)&&t[Tln]||null,H2e=(t,e=!0)=>{U2e.set(t,e)}});function Ch(t={}){return _ln(t)}function Gb(t,e,n){let a=qb.get(t);(jb.env?jb.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 P50(t,e){let n=qb.get(t);(jb.env?jb.env.MODE:void 0)!=="production"&&!n&&console.warn("Please use proxy object");let[a,r,f]=n;return f(a,r(),e)}var jb,z2e,qb,YQ,Eln,_ln,L50=oe(()=>{u();p();D50();jb={},z2e=t=>typeof t=="object"&&t!==null,qb=new WeakMap,YQ=new WeakSet,Eln=(t=Object.is,e=(c,d)=>new Proxy(c,d),n=c=>z2e(c)&&!YQ.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 H2e(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(YQ.has(k))H2e(k,!1);else if(k instanceof Promise)delete O.value,O.get=()=>l(k);else if(qb.has(k)){let[F,z]=qb.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(!z2e(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((jb.env?jb.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((jb.env?jb.env.MODE:void 0)!=="production"&&N)throw new Error("remove already exists");let b=T[3](O(w));F.set(w,[T,b])}),()=>{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),b=Reflect.get(G,R,N);if(w&&(t(b,T)||i.has(T)&&t(b,i.get(T))))return!0;W(R),z2e(T)&&(T=B50(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{!qb.has(T)&&n(T)&&(A=o(T));let P=!YQ.has(A)&&qb.get(A);P&&z(R,P)}return Reflect.set(G,R,A,N),y(["set",[R],T,b]),!0}});i.set(c,X);let K=[Q,k,f,j];return qb.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,qb,YQ,t,e,n,a,r,f,i,s],[_ln]=Eln()});async function JQ(t,e){let n=Sln({sdkType:q2e,sdkVersion:j2e},e),a=new URL(t,W2e);return a.searchParams.append("projectId",lc.state.projectId),Object.entries(n).forEach(([r,f])=>{f&&a.searchParams.append(r,String(f))}),(await fetch(a)).json()}function Oln(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}var Hs,wf,gt,Aln,v1,G2e,tp,Pf,$Q,lc,Cln,F50,Iln,kln,N50,Sln,W2e,q2e,j2e,ng,Rln,O50,Mln,Bln,U50,Dln,H50,np,uc,x_,Ih,Pln,z50,Lln,Fln,W50,Nln,OB,ap,ag,kh,K2e=oe(()=>{u();p();L50();Hs=Ch({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),wf={state:Hs,subscribe(t){return Gb(Hs,()=>t(Hs))},push(t,e){t!==Hs.view&&(Hs.view=t,e&&(Hs.data=e),Hs.history.push(t))},reset(t){Hs.view=t,Hs.history=[t]},replace(t){Hs.history.length>1&&(Hs.history[Hs.history.length-1]=t,Hs.view=t)},goBack(){if(Hs.history.length>1){Hs.history.pop();let[t]=Hs.history.slice(-1);Hs.view=t}},setData(t){Hs.data=t}},gt={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 gt.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){let t=navigator.userAgent.toLowerCase();return gt.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(gt.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(!gt.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(gt.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(gt.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:"Android"}))}catch{console.info("Unable to set WalletConnect android deep link")}},removeWalletConnectDeepLink(){try{localStorage.removeItem(gt.WALLETCONNECT_DEEPLINK_CHOICE)}catch{console.info("Unable to remove WalletConnect deep link")}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(gt.WCM_VERSION,"2.6.2")}catch{console.info("Unable to set Web3Modal version in storage")}},getWalletRouterData(){var t;let e=(t=wf.state.data)==null?void 0:t.Wallet;if(!e)throw new Error('Missing "Wallet" view data');return e}},Aln=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),v1=Ch({enabled:Aln,userSessionId:"",events:[],connectedWalletId:void 0}),G2e={state:v1,subscribe(t){return Gb(v1.events,()=>t(P50(v1.events[v1.events.length-1])))},initialize(){v1.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(v1.userSessionId=crypto.randomUUID())},setConnectedWalletId(t){v1.connectedWalletId=t},click(t){if(v1.enabled){let e={type:"CLICK",name:t.name,userSessionId:v1.userSessionId,timestamp:Date.now(),data:t};v1.events.push(e)}},track(t){if(v1.enabled){let e={type:"TRACK",name:t.name,userSessionId:v1.userSessionId,timestamp:Date.now(),data:t};v1.events.push(e)}},view(t){if(v1.enabled){let e={type:"VIEW",name:t.name,userSessionId:v1.userSessionId,timestamp:Date.now(),data:t};v1.events.push(e)}}},tp=Ch({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),Pf={state:tp,subscribe(t){return Gb(tp,()=>t(tp))},setChains(t){tp.chains=t},setWalletConnectUri(t){tp.walletConnectUri=t},setIsCustomDesktop(t){tp.isCustomDesktop=t},setIsCustomMobile(t){tp.isCustomMobile=t},setIsDataLoaded(t){tp.isDataLoaded=t},setIsUiLoaded(t){tp.isUiLoaded=t},setIsAuth(t){tp.isAuth=t}},$Q=Ch({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}),lc={state:$Q,subscribe(t){return Gb($Q,()=>t($Q))},setConfig(t){var e,n;G2e.initialize(),Pf.setChains(t.chains),Pf.setIsAuth(!!t.enableAuthMode),Pf.setIsCustomMobile(!!((e=t.mobileWallets)!=null&&e.length)),Pf.setIsCustomDesktop(!!((n=t.desktopWallets)!=null&&n.length)),gt.setModalVersionInStorage(),Object.assign($Q,t)}},Cln=Object.defineProperty,F50=Object.getOwnPropertySymbols,Iln=Object.prototype.hasOwnProperty,kln=Object.prototype.propertyIsEnumerable,N50=(t,e,n)=>e in t?Cln(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Sln=(t,e)=>{for(var n in e||(e={}))Iln.call(e,n)&&N50(t,n,e[n]);if(F50)for(var n of F50(e))kln.call(e,n)&&N50(t,n,e[n]);return t},W2e="https://explorer-api.walletconnect.com",q2e="wcm",j2e="js-2.6.2";ng={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`${W2e}/w3m/v1/getWalletImage/${t}?projectId=${lc.state.projectId}&sdkType=${q2e}&sdkVersion=${j2e}`},getAssetImageUrl(t){return`${W2e}/w3m/v1/getAssetImage/${t}?projectId=${lc.state.projectId}&sdkType=${q2e}&sdkVersion=${j2e}`}},Rln=Object.defineProperty,O50=Object.getOwnPropertySymbols,Mln=Object.prototype.hasOwnProperty,Bln=Object.prototype.propertyIsEnumerable,U50=(t,e,n)=>e in t?Rln(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Dln=(t,e)=>{for(var n in e||(e={}))Mln.call(e,n)&&U50(t,n,e[n]);if(O50)for(var n of O50(e))Bln.call(e,n)&&U50(t,n,e[n]);return t},H50=gt.isMobile(),np=Ch({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),uc={state:np,async getRecomendedWallets(){let{explorerRecommendedWalletIds:t,explorerExcludedWalletIds:e}=lc.state;if(t==="NONE"||e==="ALL"&&!t)return np.recomendedWallets;if(gt.isArray(t)){let n={recommendedIds:t.join(",")},{listings:a}=await ng.getAllListings(n),r=Object.values(a);r.sort((f,i)=>{let s=t.indexOf(f.id),o=t.indexOf(i.id);return s-o}),np.recomendedWallets=r}else{let{chains:n,isAuth:a}=Pf.state,r=n?.join(","),f=gt.isArray(e),i={page:1,sdks:a?"auth_v1":void 0,entries:gt.RECOMMENDED_WALLET_AMOUNT,chains:r,version:2,excludedIds:f?e.join(","):void 0},{listings:s}=H50?await ng.getMobileListings(i):await ng.getDesktopListings(i);np.recomendedWallets=Object.values(s)}return np.recomendedWallets},async getWallets(t){let e=Dln({},t),{explorerRecommendedWalletIds:n,explorerExcludedWalletIds:a}=lc.state,{recomendedWallets:r}=np;if(a==="ALL")return np.wallets;r.length?e.excludedIds=r.map(l=>l.id).join(","):gt.isArray(n)&&(e.excludedIds=n.join(",")),gt.isArray(a)&&(e.excludedIds=[e.excludedIds,a].filter(Boolean).join(",")),Pf.state.isAuth&&(e.sdks="auth_v1");let{page:f,search:i}=t,{listings:s,total:o}=H50?await ng.getMobileListings(e):await ng.getDesktopListings(e),c=Object.values(s),d=i?"search":"wallets";return np[d]={listings:[...np[d].listings,...c],total:o,page:f??1},{listings:c,total:o}},getWalletImageUrl(t){return ng.getWalletImageUrl(t)},getAssetImageUrl(t){return ng.getAssetImageUrl(t)},resetSearch(){np.search={listings:[],total:0,page:1}}},x_=Ch({open:!1}),Ih={state:x_,subscribe(t){return Gb(x_,()=>t(x_))},async open(t){return new Promise(e=>{let{isUiLoaded:n,isDataLoaded:a}=Pf.state;if(gt.removeWalletConnectDeepLink(),Pf.setWalletConnectUri(t?.uri),Pf.setChains(t?.chains),wf.reset("ConnectWallet"),n&&a)x_.open=!0,e();else{let r=setInterval(()=>{let f=Pf.state;f.isUiLoaded&&f.isDataLoaded&&(clearInterval(r),x_.open=!0,e())},200)}})},close(){x_.open=!1}},Pln=Object.defineProperty,z50=Object.getOwnPropertySymbols,Lln=Object.prototype.hasOwnProperty,Fln=Object.prototype.propertyIsEnumerable,W50=(t,e,n)=>e in t?Pln(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Nln=(t,e)=>{for(var n in e||(e={}))Lln.call(e,n)&&W50(t,n,e[n]);if(z50)for(var n of z50(e))Fln.call(e,n)&&W50(t,n,e[n]);return t};OB=Ch({themeMode:Oln()?"dark":"light"}),ap={state:OB,subscribe(t){return Gb(OB,()=>t(OB))},setThemeConfig(t){let{themeMode:e,themeVariables:n}=t;e&&(OB.themeMode=e),n&&(OB.themeVariables=Nln({},n))}},ag=Ch({open:!1,message:"",variant:"success"}),kh={state:ag,subscribe(t){return Gb(ag,()=>t(ag))},openToast(t,e){ag.open=!0,ag.message=t,ag.variant=e},closeToast(){ag.open=!1}}});var XQ,ZQ,Q2e,q50,UB,j50,Ia,V2e,eV,Y2e=oe(()=>{u();p();XQ=window,ZQ=XQ.ShadowRoot&&(XQ.ShadyCSS===void 0||XQ.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Q2e=Symbol(),q50=new WeakMap,UB=class{constructor(e,n,a){if(this._$cssResult$=!0,a!==Q2e)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(ZQ&&e===void 0){let a=n!==void 0&&n.length===1;a&&(e=q50.get(n)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),a&&q50.set(n,e))}return e}toString(){return this.cssText}},j50=t=>new UB(typeof t=="string"?t:t+"",void 0,Q2e),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 UB(n,t,Q2e)},V2e=(t,e)=>{ZQ?t.adoptedStyleSheets=e.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet):e.forEach(n=>{let a=document.createElement("style"),r=XQ.litNonce;r!==void 0&&a.setAttribute("nonce",r),a.textContent=n.cssText,t.appendChild(a)})},eV=ZQ?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let n="";for(let a of e.cssRules)n+=a.cssText;return j50(n)})(t):t});var $2e,tV,G50,Uln,K50,X2e,Q50,J2e,Z2e,Sh,nV=oe(()=>{u();p();Y2e();Y2e();tV=window,G50=tV.trustedTypes,Uln=G50?G50.emptyScript:"",K50=tV.reactiveElementPolyfillSupport,X2e={toAttribute(t,e){switch(e){case Boolean:t=t?Uln: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}},Q50=(t,e)=>e!==t&&(e==e||t==t),J2e={attribute:!0,type:String,converter:X2e,reflect:!1,hasChanged:Q50},Z2e="finalized",Sh=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=J2e){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)||J2e}static finalize(){if(this.hasOwnProperty(Z2e))return!1;this[Z2e]=!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(eV(r))}else e!==void 0&&n.push(eV(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 V2e(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=J2e){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:X2e).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:X2e;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||Q50)(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){}};Sh[Z2e]=!0,Sh.elementProperties=new Map,Sh.elementStyles=[],Sh.shadowRootOptions={mode:"open"},K50?.({ReactiveElement:Sh}),(($2e=tV.reactiveElementVersions)!==null&&$2e!==void 0?$2e:tV.reactiveElementVersions=[]).push("1.6.3")});function fd0(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return V50!==void 0?V50.createHTML(e):e}function __(t,e,n=t,a){var r,f,i,s;if(e===Rh)return e;let o=a!==void 0?(r=n._$Co)===null||r===void 0?void 0:r[a]:n._$Cl,c=WB(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=__(t,o._$AS(t,e.values),o,a)),e}var epe,aV,E_,V50,npe,Kb,td0,Hln,ig,zB,WB,nd0,zln,tpe,HB,Y50,$50,rg,J50,X50,ad0,rd0,q0,Tf,Rh,Ni,Z50,fg,Wln,qB,ape,jB,A_,rpe,qln,fpe,ipe,spe,ed0,id0,sg=oe(()=>{u();p();aV=window,E_=aV.trustedTypes,V50=E_?E_.createPolicy("lit-html",{createHTML:t=>t}):void 0,npe="$lit$",Kb=`lit$${(Math.random()+"").slice(9)}$`,td0="?"+Kb,Hln=`<${td0}>`,ig=document,zB=()=>ig.createComment(""),WB=t=>t===null||typeof t!="object"&&typeof t!="function",nd0=Array.isArray,zln=t=>nd0(t)||typeof t?.[Symbol.iterator]=="function",tpe=`[ -\f\r]`,HB=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Y50=/-->/g,$50=/>/g,rg=RegExp(`>|${tpe}(?:([^\\s"'>=/]+)(${tpe}*=${tpe}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),J50=/'/g,X50=/"/g,ad0=/^(?:script|style|textarea|title)$/i,rd0=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),q0=rd0(1),Tf=rd0(2),Rh=Symbol.for("lit-noChange"),Ni=Symbol.for("lit-nothing"),Z50=new WeakMap,fg=ig.createTreeWalker(ig,129,null,!1);Wln=(t,e)=>{let n=t.length-1,a=[],r,f=e===2?"":"",i=HB;for(let s=0;s"?(i=r??HB,l=-1):d[1]===void 0?l=-2:(l=i.lastIndex-d[2].length,c=d[1],i=d[3]===void 0?rg:d[3]==='"'?X50:J50):i===X50||i===J50?i=rg:i===Y50||i===$50?i=HB:(i=rg,r=void 0);let y=i===rg&&t[s+1].startsWith("/>")?" ":"";f+=i===HB?o+Hln:l>=0?(a.push(c),o.slice(0,l)+npe+o.slice(l)+Kb+y):o+Kb+(l===-2?(a.push(void 0),s):y)}return[fd0(t,f+(t[n]||"")+(e===2?"":"")),a]},qB=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]=Wln(e,n);if(this.el=t.createElement(c,a),fg.currentNode=this.el.content,n===2){let l=this.el.content,h=l.firstChild;h.remove(),l.append(...h.childNodes)}for(;(r=fg.nextNode())!==null&&o.length0){r.textContent=E_?E_.emptyScript:"";for(let y=0;y2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=Ni}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=__(this,e,n,0),i=!WB(e)||e!==this._$AH&&e!==Rh,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 jB(e.insertBefore(zB(),s),s,void 0,n??{})}return i._$AI(t),i}});var ope,cpe,Tn,sd0,od0=oe(()=>{u();p();nV();nV();sg();sg();Tn=class extends Sh{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=id0(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 Rh}};Tn.finalized=!0,Tn._$litElement$=!0,(ope=globalThis.litElementHydrateSupport)===null||ope===void 0||ope.call(globalThis,{LitElement:Tn});sd0=globalThis.litElementPolyfillSupport;sd0?.({LitElement:Tn});((cpe=globalThis.litElementVersions)!==null&&cpe!==void 0?cpe:globalThis.litElementVersions=[]).push("3.3.3")});var cd0=oe(()=>{u();p();});var dd0=oe(()=>{u();p();nV();sg();od0();cd0()});var pa,ld0=oe(()=>{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?Gln(t,e,n):jln(t,e)}var jln,Gln,dpe=oe(()=>{u();p();jln=(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)}},Gln=(t,e,n)=>{e.constructor.createProperty(n,t)}});function pc(t){return sn({...t,state:!0})}var ud0=oe(()=>{u();p();dpe();});var og=oe(()=>{u();p();});var pd0=oe(()=>{u();p();og();});var hd0=oe(()=>{u();p();og();});var md0=oe(()=>{u();p();og();});var bd0=oe(()=>{u();p();og();});var lpe,TFa,upe=oe(()=>{u();p();og();TFa=((lpe=window.HTMLSlotElement)===null||lpe===void 0?void 0:lpe.prototype.assignedElements)!=null?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter(n=>n.nodeType===Node.ELEMENT_NODE)});var yd0=oe(()=>{u();p();og();upe();});var gd0=oe(()=>{u();p();ld0();dpe();ud0();pd0();hd0();md0();bd0();upe();yd0()});var vd0,wd0,rV,Td0=oe(()=>{u();p();vd0={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},wd0=t=>(...e)=>({_$litDirective$:t,values:e}),rV=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 rp,xd0=oe(()=>{u();p();sg();Td0();rp=wd0(class extends rV{constructor(t){var e;if(super(t),t.type!==vd0.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 Rh}})});var Ed0=oe(()=>{u();p();xd0()});function ppe(t,e){t.indexOf(e)===-1&&t.push(e)}var _d0=oe(()=>{u();p()});var KB,hpe=oe(()=>{u();p();KB=(t,e,n)=>Math.min(Math.max(n,t),e)});var wo,Ad0=oe(()=>{u();p();wo={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"}});var Mh,fV=oe(()=>{u();p();Mh=t=>typeof t=="number"});var fp,mpe=oe(()=>{u();p();fV();fp=t=>Array.isArray(t)&&!Mh(t[0])});var Cd0,Id0=oe(()=>{u();p();Cd0=(t,e,n)=>{let a=e-t;return((n-t)%a+a)%a+t}});function kd0(t,e){return fp(t)?t[Cd0(0,t.length,e)]:t}var Sd0=oe(()=>{u();p();mpe();Id0()});var iV,bpe=oe(()=>{u();p();iV=(t,e,n)=>-n*t+n*e+t});var QB,hc,ype=oe(()=>{u();p();QB=()=>{},hc=t=>t});var cg,sV=oe(()=>{u();p();cg=(t,e,n)=>e-t===0?1:(n-t)/(e-t)});function gpe(t,e){let n=t[t.length-1];for(let a=1;a<=e;a++){let r=cg(0,e,a);t.push(iV(n,1,r))}}function Rd0(t){let e=[0];return gpe(e,t-1),e}var Md0=oe(()=>{u();p();bpe();sV()});function vpe(t,e=Rd0(t.length),n=hc){let a=t.length,r=a-e.length;return r>0&&gpe(e,r),f=>{let i=0;for(;i{u();p();bpe();ype();Md0();sV();Sd0();hpe()});var VB,Dd0=oe(()=>{u();p();fV();VB=t=>Array.isArray(t)&&Mh(t[0])});var C_,Pd0=oe(()=>{u();p();C_=t=>typeof t=="object"&&!!t.createAnimation});var vd,Ld0=oe(()=>{u();p();vd=t=>typeof t=="function"});var wpe,Fd0=oe(()=>{u();p();wpe=t=>typeof t=="string"});var Qb,Nd0=oe(()=>{u();p();Qb={ms:t=>t*1e3,s:t=>t/1e3}});var wd=oe(()=>{u();p();_d0();hpe();Ad0();Bd0();Dd0();Pd0();mpe();Ld0();fV();Fd0();ype();sV();Nd0()});function Vln(t,e,n,a,r){let f,i,s=0;do i=e+(n-e)/2,f=Od0(i,a,r)-t,f>0?n=i:e=i;while(Math.abs(f)>Kln&&++sVln(f,0,1,t,n);return f=>f===0||f===1?f:Od0(r(f),e,a)}var Od0,Kln,Qln,Ud0=oe(()=>{u();p();wd();Od0=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Kln=1e-7,Qln=12});var Tpe,Hd0=oe(()=>{u();p();wd();Tpe=(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 KB(0,1,r/t)}});var zd0=oe(()=>{u();p();Ud0();Hd0()});function xpe(t){if(vd(t))return t;if(VB(t))return dg(...t);if(Wd0[t])return Wd0[t];if(t.startsWith("steps")){let e=Yln.exec(t);if(e){let n=e[1].split(",");return Tpe(parseFloat(n[0]),n[1].trim())}}return hc}var Wd0,Yln,qd0=oe(()=>{u();p();zd0();wd();Wd0={ease:dg(.25,.1,.25,1),"ease-in":dg(.42,0,1,1),"ease-in-out":dg(.42,0,.58,1),"ease-out":dg(0,0,.58,1)},Yln=/\((.*?)\)/});var lg,jd0=oe(()=>{u();p();wd();qd0();lg=class{constructor(e,n=[0,1],{easing:a,duration:r=wo.duration,delay:f=wo.delay,endDelay:i=wo.endDelay,repeat:s=wo.repeat,offset:o,direction:c="normal",autoplay:d=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=hc,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||wo.easing,C_(a)){let h=a.createAnimation(n);a=h.easing,n=h.keyframes||n,r=h.duration||r}this.repeat=s,this.easing=fp(a)?hc:xpe(a),this.updateDuration(r);let l=vpe(n,o,fp(a)?a.map(xpe):hc);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 Epe=oe(()=>{u();p();jd0()});var $ln,oV,Gd0=oe(()=>{u();p();$ln=function(){},oV=function(){};x.env.NODE_ENV!=="production"&&($ln=function(t,e){!t&&typeof console<"u"&&console.warn(e)},oV=function(t,e){if(!t)throw new Error(e)})});var YB,Kd0=oe(()=>{u();p();YB=class{setAnimation(e){this.animation=e,e?.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}});var _pe=oe(()=>{u();p();Kd0()});function cV(t){return Ape.has(t)||Ape.set(t,{transforms:[],values:new Map}),Ape.get(t)}function Qd0(t,e){return t.has(e)||t.set(e,new YB),t.get(e)}var Ape,Cpe=oe(()=>{u();p();_pe();Ape=new WeakMap});var Jln,Xln,$B,Vd0,Zln,Vb,lV,dV,eun,tun,uV,Yd0,nun,aun,JB=oe(()=>{u();p();wd();Cpe();Jln=["","X","Y","Z"],Xln=["translate","scale","rotate","skew"],$B={x:"translateX",y:"translateY",z:"translateZ"},Vd0={syntax:"",initialValue:"0deg",toDefaultUnit:t=>t+"deg"},Zln={translate:{syntax:"",initialValue:"0px",toDefaultUnit:t=>t+"px"},rotate:Vd0,scale:{syntax:"",initialValue:1,toDefaultUnit:hc},skew:Vd0},Vb=new Map,lV=t=>`--motion-${t}`,dV=["x","y","z"];Xln.forEach(t=>{Jln.forEach(e=>{dV.push(t+e),Vb.set(lV(t+e),Zln[t])})});eun=(t,e)=>dV.indexOf(t)-dV.indexOf(e),tun=new Set(dV),uV=t=>tun.has(t),Yd0=(t,e)=>{$B[e]&&(e=$B[e]);let{transforms:n}=cV(t);ppe(n,e),t.style.transform=nun(n)},nun=t=>t.sort(eun).reduce(aun,"").trim(),aun=(t,e)=>`${t} ${e}(var(${lV(e)}))`});function Jd0(t){if(!$d0.has(t)){$d0.add(t);try{let{syntax:e,initialValue:n}=Vb.has(t)?Vb.get(t):{};CSS.registerProperty({name:t,inherits:!1,syntax:e,initialValue:n})}catch{}}}var XB,$d0,Ipe=oe(()=>{u();p();JB();XB=t=>t.startsWith("--"),$d0=new Set});var kpe,Xd0,Spe,Yb,Rpe=oe(()=>{u();p();kpe=(t,e)=>document.createElement("div").animate(t,e),Xd0={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{kpe({opacity:[1]})}catch{return!1}return!0},finished:()=>!!kpe({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{kpe({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},Spe={},Yb={};for(let t in Xd0)Yb[t]=()=>(Spe[t]===void 0&&(Spe[t]=Xd0[t]()),Spe[t])});var run,fun,Mpe,iun,Zd0=oe(()=>{u();p();wd();Rpe();run=.015,fun=(t,e)=>{let n="",a=Math.round(e/run);for(let r=0;rvd(t)?Yb.linearEasing()?`linear(${fun(t,e)})`:wo.easing:VB(t)?iun(t):t,iun=([t,e,n,a])=>`cubic-bezier(${t}, ${e}, ${n}, ${a})`});function el0(t,e){for(let n=0;n{u();p();tl0=t=>Array.isArray(t)?t:[t]});function ZB(t){return $B[t]&&(t=$B[t]),uV(t)?lV(t):t}var Bpe=oe(()=>{u();p();JB()});var eD,al0=oe(()=>{u();p();Ipe();Bpe();JB();eD={get:(t,e)=>{e=ZB(e);let n=XB(e)?t.style.getPropertyValue(e):getComputedStyle(t)[e];if(!n&&n!==0){let a=Vb.get(e);a&&(n=a.initialValue)}return n},set:(t,e,n)=>{e=ZB(e),XB(e)?t.style.setProperty(e,n):t.style[e]=n}}});function pV(t,e=!0){if(!(!t||t.playState==="finished"))try{t.stop?t.stop():(e&&t.commitStyles(),t.cancel())}catch{}}var Dpe=oe(()=>{u();p()});function rl0(t,e){var n;let a=e?.toDefaultUnit||hc,r=t[t.length-1];if(wpe(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 fl0=oe(()=>{u();p();wd()});function sun(){return window.__MOTION_DEV_TOOLS_RECORD}function il0(t,e,n,a={},r){let f=sun(),i=a.record!==!1&&f,s,{duration:o=wo.duration,delay:c=wo.delay,endDelay:d=wo.endDelay,repeat:l=wo.repeat,easing:h=wo.easing,persist:y=!1,direction:v,offset:k,allowWebkitAcceleration:O=!1,autoplay:F=!0}=a,z=cV(t),W=uV(e),j=Yb.waapi();W&&Yd0(t,e);let Q=ZB(e),V=Qd0(z.values,Q),X=Vb.get(Q);return pV(V.animation,!(C_(h)&&V.generator)&&a.record!==!1),()=>{let K=()=>{var T,N;return(N=(T=eD.get(t,Q))!==null&&T!==void 0?T:X?.initialValue)!==null&&N!==void 0?N:0},G=el0(tl0(n),K),R=rl0(G,X);if(C_(h)){let T=h.createAnimation(G,e!=="opacity",K,Q,V);h=T.easing,G=T.keyframes||G,o=T.duration||o}if(XB(Q)&&(Yb.cssRegisterProperty()?Jd0(Q):j=!1),W&&!Yb.linearEasing()&&(vd(h)||fp(h)&&h.some(vd))&&(j=!1),j){X&&(G=G.map(w=>Mh(w)?X.toDefaultUnit(w):w)),G.length===1&&(!Yb.partialKeyframes()||i)&&G.unshift(K());let T={delay:Qb.ms(c),duration:Qb.ms(o),endDelay:Qb.ms(d),easing:fp(h)?void 0:Mpe(h,o),direction:v,iterations:l+1,fill:"both"};s=t.animate({[Q]:G,offset:k,easing:fp(h)?h.map(w=>Mpe(w,o)):void 0},T),s.finished||(s.finished=new Promise((w,b)=>{s.onfinish=w,s.oncancel=b}));let N=G[G.length-1];s.finished.then(()=>{y||(eD.set(t,Q,N),s.cancel())}).catch(QB),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=>{eD.set(t,Q,R?R(T):T)},G,Object.assign(Object.assign({},a),{duration:o,easing:h}));else{let T=G[G.length-1];eD.set(t,Q,X&&Mh(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 sl0=oe(()=>{u();p();Cpe();Ipe();wd();JB();Zd0();Rpe();nl0();al0();Bpe();Dpe();fl0()});var ol0,cl0=oe(()=>{u();p();ol0=(t,e)=>t[e]?Object.assign(Object.assign({},t),t[e]):Object.assign({},t)});function dl0(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 ll0=oe(()=>{u();p()});var oun,tD,cun,dun,lun,Ppe=oe(()=>{u();p();wd();Dpe();oun=t=>t(),tD=(t,e,n=wo.duration)=>new Proxy({animations:t.map(oun).filter(Boolean),duration:n,options:e},dun),cun=t=>t.animations[0],dun={get:(t,e)=>{let n=cun(t);switch(e){case"duration":return t.duration;case"currentTime":return Qb.s(n?.[e]||0);case"playbackRate":case"playState":return n?.[e];case"finished":return t.finished||(t.finished=Promise.all(t.animations.map(lun)).catch(QB)),t.finished;case"stop":return()=>{t.animations.forEach(a=>pV(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=Qb.ms(n);case"playbackRate":for(let a=0;at.finished});function ul0(t,e,n){return vd(t)?t(e,n):t}var pl0=oe(()=>{u();p();wd()});function hl0(t){return function(n,a,r={}){n=dl0(n);let f=n.length;oV(!!f,"No valid element provided."),oV(!!a,"No keyframes defined.");let i=[];for(let s=0;s{u();p();Gd0();sl0();cl0();ll0();Ppe();pl0()});var Lpe,bl0=oe(()=>{u();p();Epe();ml0();Lpe=hl0(lg)});var yV={};G0(yV,{__addDisposableResource:()=>Nl0,__assign:()=>hV,__asyncDelegator:()=>Sl0,__asyncGenerator:()=>kl0,__asyncValues:()=>Rl0,__await:()=>I_,__awaiter:()=>xl0,__classPrivateFieldGet:()=>Pl0,__classPrivateFieldIn:()=>Fl0,__classPrivateFieldSet:()=>Ll0,__createBinding:()=>bV,__decorate:()=>vl0,__disposeResources:()=>Ol0,__esDecorate:()=>uun,__exportStar:()=>_l0,__extends:()=>yl0,__generator:()=>El0,__importDefault:()=>Dl0,__importStar:()=>Bl0,__makeTemplateObject:()=>Ml0,__metadata:()=>Tl0,__param:()=>wl0,__propKey:()=>hun,__read:()=>Npe,__rest:()=>gl0,__runInitializers:()=>pun,__setFunctionName:()=>mun,__spread:()=>Al0,__spreadArray:()=>Il0,__spreadArrays:()=>Cl0,__values:()=>mV,default:()=>gun});function yl0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Fpe(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function gl0(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 wl0(t,e){return function(n,a){e(n,a,t)}}function uun(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 pun(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 Npe(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 Al0(){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 I_?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 Sl0(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:I_(t[r](i)),done:!1}:f?f(i):i}:f}}function Rl0(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 mV=="function"?mV(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 Ml0(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function Bl0(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)&&bV(e,t,n);return bun(e,t),e}function Dl0(t){return t&&t.__esModule?t:{default:t}}function Pl0(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 Ll0(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 Fl0(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 Nl0(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 Ol0(t){function e(a){t.error=t.hasError?new yun(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 Fpe,hV,bV,bun,yun,gun,gV=oe(()=>{u();p();Fpe=function(t,e){return Fpe=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])},Fpe(t,e)};hV=function(){return hV=Object.assign||function(e){for(var n,a=1,r=arguments.length;a{u();p();bl0();Ppe()});function vun(t,e={}){return tD([()=>{let n=new lg(t,[0,1],e);return n.finished.catch(()=>{}),n}],e,e.duration)}function Bh(t,e,n){return(vd(t)?vun:Lpe)(t,e,n)}var Ul0=oe(()=>{u();p();Ope();wd();Epe()});var Hl0=oe(()=>{u();p();Ope();_pe();Ul0()});var w1,zl0=oe(()=>{u();p();sg();w1=t=>t??Ni});var Wl0=oe(()=>{u();p();zl0()});var jl0=D((hza,ql0)=>{u();p();ql0.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var $b=D(ug=>{u();p();var Upe,wun=[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];ug.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};ug.getSymbolTotalCodewords=function(e){return wun[e]};ug.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};ug.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');Upe=e};ug.isKanjiModeEnabled=function(){return typeof Upe<"u"};ug.toSJIS=function(e){return Upe(e)}});var vV=D(Td=>{u();p();Td.L={bit:1};Td.M={bit:0};Td.Q={bit:3};Td.H={bit:2};function Tun(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return Td.L;case"m":case"medium":return Td.M;case"q":case"quartile":return Td.Q;case"h":case"high":return Td.H;default:throw new Error("Unknown EC Level: "+t)}}Td.isValid=function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4};Td.from=function(e,n){if(Td.isValid(e))return e;try{return Tun(e)}catch{return n}}});var Ql0=D((Eza,Kl0)=>{u();p();function Gl0(){this.buffer=[],this.length=0}Gl0.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++}};Kl0.exports=Gl0});var Yl0=D((Cza,Vl0)=>{u();p();function nD(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)}nD.prototype.set=function(t,e,n,a){let r=t*this.size+e;this.data[r]=n,a&&(this.reservedBit[r]=!0)};nD.prototype.get=function(t,e){return this.data[t*this.size+e]};nD.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n};nD.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};Vl0.exports=nD});var $l0=D(wV=>{u();p();var xun=$b().getSymbolSize;wV.getRowColCoords=function(e){if(e===1)return[];let n=Math.floor(e/7)+2,a=xun(e),r=a===145?26:Math.ceil((a-13)/(2*n-2))*2,f=[a-7];for(let i=1;i{u();p();var Eun=$b().getSymbolSize,Jl0=7;Xl0.getPositions=function(e){let n=Eun(e);return[[0,0],[n-Jl0,0],[0,n-Jl0]]}});var eu0=D(Vr=>{u();p();Vr.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var pg={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+=pg.N1+(r-5)),i=d,r=1),d=e.get(c,o),d===s?f++:(f>=5&&(a+=pg.N1+(f-5)),s=d,f=1)}r>=5&&(a+=pg.N1+(r-5)),f>=5&&(a+=pg.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*pg.N3};Vr.getPenaltyN4=function(e){let n=0,a=e.data.length;for(let f=0;f{u();p();var Jb=vV(),TV=[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],xV=[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];Hpe.getBlocksCount=function(e,n){switch(n){case Jb.L:return TV[(e-1)*4+0];case Jb.M:return TV[(e-1)*4+1];case Jb.Q:return TV[(e-1)*4+2];case Jb.H:return TV[(e-1)*4+3];default:return}};Hpe.getTotalCodewordsCount=function(e,n){switch(n){case Jb.L:return xV[(e-1)*4+0];case Jb.M:return xV[(e-1)*4+1];case Jb.Q:return xV[(e-1)*4+2];case Jb.H:return xV[(e-1)*4+3];default:return}}});var tu0=D(_V=>{u();p();var aD=new Uint8Array(512),EV=new Uint8Array(256);(function(){let e=1;for(let n=0;n<255;n++)aD[n]=e,EV[e]=n,e<<=1,e&256&&(e^=285);for(let n=255;n<512;n++)aD[n]=aD[n-255]})();_V.log=function(e){if(e<1)throw new Error("log("+e+")");return EV[e]};_V.exp=function(e){return aD[e]};_V.mul=function(e,n){return e===0||n===0?0:aD[EV[e]+EV[n]]}});var nu0=D(rD=>{u();p();var Wpe=tu0();rD.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 au0=nu0();function qpe(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}qpe.prototype.initialize=function(e){this.degree=e,this.genPoly=au0.generateECPolynomial(this.degree)};qpe.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=au0.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};ru0.exports=qpe});var jpe=D(iu0=>{u();p();iu0.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}});var Gpe=D(Dh=>{u();p();var su0="[0-9]+",Aun="[A-Z $%*+\\-./:]+",fD="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";fD=fD.replace(/u/g,"\\u");var Cun="(?:(?![A-Z0-9 $%*+\\-./:]|"+fD+`)(?:.|[\r -]))+`;Dh.KANJI=new RegExp(fD,"g");Dh.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Dh.BYTE=new RegExp(Cun,"g");Dh.NUMERIC=new RegExp(su0,"g");Dh.ALPHANUMERIC=new RegExp(Aun,"g");var Iun=new RegExp("^"+fD+"$"),kun=new RegExp("^"+su0+"$"),Sun=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Dh.testKanji=function(e){return Iun.test(e)};Dh.testNumeric=function(e){return kun.test(e)};Dh.testAlphanumeric=function(e){return Sun.test(e)}});var Xb=D(Oi=>{u();p();var Run=jpe(),Kpe=Gpe();Oi.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};Oi.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};Oi.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};Oi.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};Oi.MIXED={bit:-1};Oi.getCharCountIndicator=function(e,n){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!Run.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?e.ccBits[0]:n<27?e.ccBits[1]:e.ccBits[2]};Oi.getBestModeForData=function(e){return Kpe.testNumeric(e)?Oi.NUMERIC:Kpe.testAlphanumeric(e)?Oi.ALPHANUMERIC:Kpe.testKanji(e)?Oi.KANJI:Oi.BYTE};Oi.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")};Oi.isValid=function(e){return e&&e.bit&&e.ccBits};function Mun(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return Oi.NUMERIC;case"alphanumeric":return Oi.ALPHANUMERIC;case"kanji":return Oi.KANJI;case"byte":return Oi.BYTE;default:throw new Error("Unknown mode: "+t)}}Oi.from=function(e,n){if(Oi.isValid(e))return e;try{return Mun(e)}catch{return n}}});var uu0=D(hg=>{u();p();var AV=$b(),Bun=zpe(),ou0=vV(),Zb=Xb(),Qpe=jpe(),du0=7973,cu0=AV.getBCHDigit(du0);function Dun(t,e,n){for(let a=1;a<=40;a++)if(e<=hg.getCapacity(a,n,t))return a}function lu0(t,e){return Zb.getCharCountIndicator(t,e)+4}function Pun(t,e){let n=0;return t.forEach(function(a){let r=lu0(a.mode,e);n+=r+a.getBitsLength()}),n}function Lun(t,e){for(let n=1;n<=40;n++)if(Pun(t,n)<=hg.getCapacity(n,e,Zb.MIXED))return n}hg.from=function(e,n){return Qpe.isValid(e)?parseInt(e,10):n};hg.getCapacity=function(e,n,a){if(!Qpe.isValid(e))throw new Error("Invalid QR Code version");typeof a>"u"&&(a=Zb.BYTE);let r=AV.getSymbolTotalCodewords(e),f=Bun.getTotalCodewordsCount(e,n),i=(r-f)*8;if(a===Zb.MIXED)return i;let s=i-lu0(a,e);switch(a){case Zb.NUMERIC:return Math.floor(s/10*3);case Zb.ALPHANUMERIC:return Math.floor(s/11*2);case Zb.KANJI:return Math.floor(s/13);case Zb.BYTE:default:return Math.floor(s/8)}};hg.getBestVersionForData=function(e,n){let a,r=ou0.from(n,ou0.M);if(Array.isArray(e)){if(e.length>1)return Lun(e,r);if(e.length===0)return 1;a=e[0]}else a=e;return Dun(a.mode,a.getLength(),r)};hg.getEncodedBits=function(e){if(!Qpe.isValid(e)||e<7)throw new Error("Invalid QR Code version");let n=e<<12;for(;AV.getBCHDigit(n)-cu0>=0;)n^=du0<{u();p();var Vpe=$b(),hu0=1335,Fun=21522,pu0=Vpe.getBCHDigit(hu0);mu0.getEncodedBits=function(e,n){let a=e.bit<<3|n,r=a<<10;for(;Vpe.getBCHDigit(r)-pu0>=0;)r^=hu0<{u();p();var Nun=Xb();function k_(t){this.mode=Nun.NUMERIC,this.data=t.toString()}k_.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)};k_.prototype.getLength=function(){return this.data.length};k_.prototype.getBitsLength=function(){return k_.getBitsLength(this.data.length)};k_.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))};yu0.exports=k_});var wu0=D((hWa,vu0)=>{u();p();var Oun=Xb(),Ype=["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 S_(t){this.mode=Oun.ALPHANUMERIC,this.data=t}S_.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};S_.prototype.getLength=function(){return this.data.length};S_.prototype.getBitsLength=function(){return S_.getBitsLength(this.data.length)};S_.prototype.write=function(e){let n;for(n=0;n+2<=this.data.length;n+=2){let a=Ype.indexOf(this.data[n])*45;a+=Ype.indexOf(this.data[n+1]),e.put(a,11)}this.data.length%2&&e.put(Ype.indexOf(this.data[n]),6)};vu0.exports=S_});var xu0=D((yWa,Tu0)=>{"use strict";u();p();Tu0.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 _u0=D((wWa,Eu0)=>{u();p();var Uun=xu0(),Hun=Xb();function R_(t){this.mode=Hun.BYTE,typeof t=="string"&&(t=Uun(t)),this.data=new Uint8Array(t)}R_.getBitsLength=function(e){return e*8};R_.prototype.getLength=function(){return this.data.length};R_.prototype.getBitsLength=function(){return R_.getBitsLength(this.data.length)};R_.prototype.write=function(t){for(let e=0,n=this.data.length;e{u();p();var zun=Xb(),Wun=$b();function M_(t){this.mode=zun.KANJI,this.data=t}M_.getBitsLength=function(e){return e*13};M_.prototype.getLength=function(){return this.data.length};M_.prototype.getBitsLength=function(){return M_.getBitsLength(this.data.length)};M_.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)}};Au0.exports=M_});var Iu0=D((CWa,$pe)=>{"use strict";u();p();var iD={single_source_shortest_paths:function(t,e,n){var a={},r={};r[e]=0;var f=iD.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=iD.single_source_shortest_paths(t,e,n);return iD.extract_shortest_path_from_predecessor_list(a,n)},PriorityQueue:{make:function(t){var e=iD.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 $pe<"u"&&($pe.exports=iD)});var Lu0=D(B_=>{u();p();var er=Xb(),Ru0=gu0(),Mu0=wu0(),Bu0=_u0(),Du0=Cu0(),sD=Gpe(),CV=$b(),qun=Iu0();function ku0(t){return unescape(encodeURIComponent(t)).length}function oD(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 Pu0(t){let e=oD(sD.NUMERIC,er.NUMERIC,t),n=oD(sD.ALPHANUMERIC,er.ALPHANUMERIC,t),a,r;return CV.isKanjiModeEnabled()?(a=oD(sD.BYTE,er.BYTE,t),r=oD(sD.KANJI,er.KANJI,t)):(a=oD(sD.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 Ru0.getBitsLength(t);case er.ALPHANUMERIC:return Mu0.getBitsLength(t);case er.KANJI:return Du0.getBitsLength(t);case er.BYTE:return Bu0.getBitsLength(t)}}function jun(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 Gun(t){let e=[];for(let n=0;n{u();p();var kV=$b(),Xpe=vV(),Qun=Ql0(),Vun=Yl0(),Yun=$l0(),$un=Zl0(),t8e=eu0(),n8e=zpe(),Jun=fu0(),IV=uu0(),Xun=bu0(),Zun=Xb(),Zpe=Lu0();function e2n(t,e){let n=t.size,a=$un.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 t2n(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 e8e(t,e,n){let a=t.size,r=Xun.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 r2n(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 f2n(t,e,n){let a=new Qun;n.forEach(function(o){a.put(o.mode.bit,4),a.put(o.getLength(),Zun.getCharCountIndicator(o.mode,t)),o.write(a)});let r=kV.getSymbolTotalCodewords(t),f=n8e.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=le)return m;var Ie=H-Sv($);if(Ie<1)return $;var Fe=xe?u3(xe,0,Ie).join(""):m.slice(0,Ie);if(te===n)return Fe+$;if(xe&&(Ie+=Fe.length-Ie),e0e(te)){if(m.slice(Ie).search(te)){var r0,f0=Fe;for(te.global||(te=bee(te.source,Qa($0.exec(te))+"g")),te.lastIndex=0;r0=te.exec(f0);)var b0=r0.index;Fe=Fe.slice(0,b0===n?Ie:b0)}}else if(m.indexOf(b6(te),Ie)!=Ie){var V0=Fe.lastIndexOf(te);V0>-1&&(Fe=Fe.slice(0,V0))}return Fe+$}function BR0(m){return m=Qa(m),m&&h0.test(m)?m.replace(Ue,sA0):m}var DR0=Fv(function(m,C,H){return m+(H?" ":"")+C.toUpperCase()}),a0e=Ege("toUpperCase");function Tve(m,C,H){return m=Qa(m),C=H?n:C,C===n?nA0(m)?dA0(m):Q_0(m):m.match(C)||[]}var xve=Sn(function(m,C){try{return h6(m,n,C)}catch(H){return Zee(H)?H:new Kt(H)}}),PR0=qp(function(m,C){return o5(C,function(H){H=su(H),zp(m,H,Jee(m[H],m))}),m});function LR0(m){var C=m==null?0:m.length,H=Mt();return m=C?df(m,function($){if(typeof $[1]!="function")throw new c5(i);return[H($[0]),$[1]]}):[],Sn(function($){for(var te=-1;++teE)return[];var H=M,$=So(m,M);C=Mt(C),m-=M;for(var te=pee($,C);++H0||C<0)?new Jn(H):(m<0?H=H.takeRight(-m):m&&(H=H.drop(m)),C!==n&&(C=gn(C),H=C<0?H.dropRight(-C):H.take(C-m)),H)},Jn.prototype.takeRightWhile=function(m){return this.reverse().takeWhile(m).reverse()},Jn.prototype.toArray=function(){return this.take(M)},fu(Jn.prototype,function(m,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 Jn,r0=Ie[0],f0=Fe||nn(xe),b0=function(Kn){var fa=te.apply(se,i3([Kn],Ie));return $&&V0?fa[0]:fa};f0&&H&&typeof r0=="function"&&r0.length!=1&&(Fe=f0=!1);var V0=this.__chain__,ct=!!this.__actions__.length,Bt=le&&!V0,xn=Fe&&!ct;if(!le&&f0){xe=xn?xe:new Jn(this);var Dt=m.apply(xe,Ie);return Dt.__actions__.push({func:hF,args:[b0],thisArg:n}),new d5(Dt,V0)}return Bt&&xn?m.apply(this,Ie):(Dt=this.thru(b0),Bt?$?Dt.value()[0]:Dt.value():Dt)})}),o5(["pop","push","shift","sort","splice","unshift"],function(m){var C=HL[m],H=/^(?:push|sort|unshift)$/.test(m)?"tap":"thru",$=/^(?:pop|shift)$/.test(m);se.prototype[m]=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)})}}),fu(Jn.prototype,function(m,C){var H=se[C];if(H){var $=H.name+"";fr.call(Dv,$)||(Dv[$]=[]),Dv[$].push({name:C,func:H})}}),Dv[sF(n,F).name]=[{name:"wrapper",func:n}],Jn.prototype.clone=BA0,Jn.prototype.reverse=DA0,Jn.prototype.value=PA0,se.prototype.at=ck0,se.prototype.chain=dk0,se.prototype.commit=lk0,se.prototype.next=uk0,se.prototype.plant=hk0,se.prototype.reverse=mk0,se.prototype.toJSON=se.prototype.valueOf=se.prototype.value=bk0,se.prototype.first=se.prototype.head,KC&&(se.prototype[KC]=pk0),se},Rv=lA0();J4?((J4.exports=Rv)._=Rv,fee._=Rv):Vs._=Rv}).call(NB)})(dpe,dpe.exports);Pun=Object.defineProperty,Lun=Object.defineProperties,Fun=Object.getOwnPropertyDescriptors,U50=Object.getOwnPropertySymbols,Nun=Object.prototype.hasOwnProperty,Oun=Object.prototype.propertyIsEnumerable,H50=(t,e,n)=>e in t?Pun(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,uV=(t,e)=>{for(var n in e||(e={}))Nun.call(e,n)&&H50(t,n,e[n]);if(U50)for(var n of U50(e))Oun.call(e,n)&&H50(t,n,e[n]);return t},Uun=(t,e)=>Lun(t,Fun(e));Q50={},vf=t=>Q50[t],ope=(t,e)=>{Q50[t]=e},lpe=class{constructor(e){this.name="polkadot",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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(Ah.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=rg(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||jb(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new gd(a,vf("disableProviderPing")))}},upe=class{constructor(e){this.name="eip155",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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(Ah.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||jb(`${this.name}:${e}`,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new gd(a,vf("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(rg(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}`)}},ppe=class{constructor(e){this.name="solana",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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(Ah.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=rg(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||jb(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new gd(a,vf("disableProviderPing")))}},hpe=class{constructor(e){this.name="cosmos",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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(Ah.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=rg(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||jb(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new gd(a,vf("disableProviderPing")))}},mpe=class{constructor(e){this.name="cip34",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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(Ah.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=rg(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 W6(new gd(a,vf("disableProviderPing")))}},bpe=class{constructor(e){this.name="elrond",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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(Ah.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=rg(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||jb(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new gd(a,vf("disableProviderPing")))}},ype=class{constructor(e){this.name="multiversx",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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(Ah.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=rg(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||jb(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new gd(a,vf("disableProviderPing")))}},gpe=class{constructor(e){this.name="near",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("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||jb(`${this.name}:${e}`,this.namespace);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);this.setHttpProvider(e,a)}this.events.emit(Ah.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||jb(e,this.namespace);return typeof a>"u"?void 0:new W6(new gd(a,vf("disableProviderPing")))}},Wun=Object.defineProperty,qun=Object.defineProperties,jun=Object.getOwnPropertyDescriptors,q50=Object.getOwnPropertySymbols,Gun=Object.prototype.hasOwnProperty,Kun=Object.prototype.propertyIsEnumerable,j50=(t,e,n)=>e in t?Wun(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,pV=(t,e)=>{for(var n in e||(e={}))Gun.call(e,n)&&j50(t,n,e[n]);if(q50)for(var n of q50(e))Kun.call(e,n)&&j50(t,n,e[n]);return t},cpe=(t,e)=>qun(t,jun(e)),vpe=class t{constructor(e){this.events=new G50.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,M7.default)(B7({level:e?.logger||N50})),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:pV({},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,N8(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=W50(this.session.namespaces);this.namespaces=ipe(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=W50(f.namespaces);this.namespaces=ipe(this.namespaces,i),this.persist("namespaces",this.namespaces)}).catch(f=>{if(f.message!==rpe)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(z6(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 oV.init({logger:this.providerOpts.logger||N50,relayUrl:this.providerOpts.relayUrl||Run,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=>S_(n)))];ope("client",this.client),ope("events",this.events),ope("disableProviderPing",this.disableProviderPing),e.forEach(n=>{if(!this.session)return;let a=Hun(n,this.session),r=K50(a),f=ipe(this.namespaces,this.optionalNamespaces),i=cpe(pV({},f[n]),{accounts:a,chains:r});switch(n){case"eip155":this.rpcProviders[n]=new upe({namespace:i});break;case"solana":this.rpcProviders[n]=new ppe({namespace:i});break;case"cosmos":this.rpcProviders[n]=new hpe({namespace:i});break;case"polkadot":this.rpcProviders[n]=new lpe({namespace:i});break;case"cip34":this.rpcProviders[n]=new mpe({namespace:i});break;case"elrond":this.rpcProviders[n]=new bpe({namespace:i});break;case"multiversx":this.rpcProviders[n]=new ype({namespace:i});break;case"near":this.rpcProviders[n]=new gpe({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&&z6(r)&&this.events.emit("accountsChanged",r.map(zun))}else if(a.name==="chainChanged"){let r=n.chainId,f=n.event.data,i=S_(r),s=spe(r)!==spe(f)?`${i}:${spe(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=cpe(pV({},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",cpe(pV({},Ca("USER_DISCONNECTED")),{data:e.topic}))}),this.on(Ah.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=>S_(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=S_(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(`${O50}/${e}`,n)}async getFromStore(e){return await this.client.core.storage.getItem(`${O50}/${e}`)}},V50=vpe});var gFa,Qun,$50,wpe,Vun,J50,Tpe,X50=oe(()=>{u();p();gFa=Symbol(),Qun=Symbol(),$50=Object.getPrototypeOf,wpe=new WeakMap,Vun=t=>t&&(wpe.has(t)?wpe.get(t):$50(t)===Object.prototype||$50(t)===Array.prototype),J50=t=>Vun(t)&&t[Qun]||null,Tpe=(t,e=!0)=>{wpe.set(t,e)}});function Ch(t={}){return $un(t)}function Qb(t,e,n){let a=Gb.get(t);(Kb.env?Kb.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 Z50(t,e){let n=Gb.get(t);(Kb.env?Kb.env.MODE:void 0)!=="production"&&!n&&console.warn("Please use proxy object");let[a,r,f]=n;return f(a,r(),e)}var Kb,xpe,Gb,hV,Yun,$un,ed0=oe(()=>{u();p();X50();Kb={},xpe=t=>typeof t=="object"&&t!==null,Gb=new WeakMap,hV=new WeakSet,Yun=(t=Object.is,e=(c,d)=>new Proxy(c,d),n=c=>xpe(c)&&!hV.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 Tpe(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(hV.has(k))Tpe(k,!1);else if(k instanceof Promise)delete O.value,O.get=()=>l(k);else if(Gb.has(k)){let[F,z]=Gb.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(!xpe(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((Kb.env?Kb.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((Kb.env?Kb.env.MODE:void 0)!=="production"&&N)throw new Error("remove already exists");let b=T[3](O(w));F.set(w,[T,b])}),()=>{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),b=Reflect.get(G,R,N);if(w&&(t(b,T)||i.has(T)&&t(b,i.get(T))))return!0;W(R),xpe(T)&&(T=J50(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{!Gb.has(T)&&n(T)&&(A=o(T));let P=!hV.has(A)&&Gb.get(A);P&&z(R,P)}return Reflect.set(G,R,A,N),y(["set",[R],T,b]),!0}});i.set(c,X);let K=[Q,k,f,j];return Gb.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,Gb,hV,t,e,n,a,r,f,i,s],[$un]=Yun()});async function bV(t,e){let n=t2n({sdkType:_pe,sdkVersion:Ape},e),a=new URL(t,Epe);return a.searchParams.append("projectId",lc.state.projectId),Object.entries(n).forEach(([r,f])=>{f&&a.searchParams.append(r,String(f))}),(await fetch(a)).json()}function d2n(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}var Ws,wf,gt,Jun,v1,Cpe,tp,Pf,mV,lc,Xun,td0,Zun,e2n,nd0,t2n,Epe,_pe,Ape,fg,n2n,ad0,a2n,r2n,rd0,f2n,fd0,np,uc,P_,Ih,i2n,id0,s2n,o2n,sd0,c2n,OB,ap,ig,kh,Ipe=oe(()=>{u();p();ed0();Ws=Ch({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),wf={state:Ws,subscribe(t){return Qb(Ws,()=>t(Ws))},push(t,e){t!==Ws.view&&(Ws.view=t,e&&(Ws.data=e),Ws.history.push(t))},reset(t){Ws.view=t,Ws.history=[t]},replace(t){Ws.history.length>1&&(Ws.history[Ws.history.length-1]=t,Ws.view=t)},goBack(){if(Ws.history.length>1){Ws.history.pop();let[t]=Ws.history.slice(-1);Ws.view=t}},setData(t){Ws.data=t}},gt={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 gt.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){let t=navigator.userAgent.toLowerCase();return gt.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(gt.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(!gt.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(gt.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(gt.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:"Android"}))}catch{console.info("Unable to set WalletConnect android deep link")}},removeWalletConnectDeepLink(){try{localStorage.removeItem(gt.WALLETCONNECT_DEEPLINK_CHOICE)}catch{console.info("Unable to remove WalletConnect deep link")}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(gt.WCM_VERSION,"2.6.2")}catch{console.info("Unable to set Web3Modal version in storage")}},getWalletRouterData(){var t;let e=(t=wf.state.data)==null?void 0:t.Wallet;if(!e)throw new Error('Missing "Wallet" view data');return e}},Jun=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),v1=Ch({enabled:Jun,userSessionId:"",events:[],connectedWalletId:void 0}),Cpe={state:v1,subscribe(t){return Qb(v1.events,()=>t(Z50(v1.events[v1.events.length-1])))},initialize(){v1.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(v1.userSessionId=crypto.randomUUID())},setConnectedWalletId(t){v1.connectedWalletId=t},click(t){if(v1.enabled){let e={type:"CLICK",name:t.name,userSessionId:v1.userSessionId,timestamp:Date.now(),data:t};v1.events.push(e)}},track(t){if(v1.enabled){let e={type:"TRACK",name:t.name,userSessionId:v1.userSessionId,timestamp:Date.now(),data:t};v1.events.push(e)}},view(t){if(v1.enabled){let e={type:"VIEW",name:t.name,userSessionId:v1.userSessionId,timestamp:Date.now(),data:t};v1.events.push(e)}}},tp=Ch({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),Pf={state:tp,subscribe(t){return Qb(tp,()=>t(tp))},setChains(t){tp.chains=t},setWalletConnectUri(t){tp.walletConnectUri=t},setIsCustomDesktop(t){tp.isCustomDesktop=t},setIsCustomMobile(t){tp.isCustomMobile=t},setIsDataLoaded(t){tp.isDataLoaded=t},setIsUiLoaded(t){tp.isUiLoaded=t},setIsAuth(t){tp.isAuth=t}},mV=Ch({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}),lc={state:mV,subscribe(t){return Qb(mV,()=>t(mV))},setConfig(t){var e,n;Cpe.initialize(),Pf.setChains(t.chains),Pf.setIsAuth(!!t.enableAuthMode),Pf.setIsCustomMobile(!!((e=t.mobileWallets)!=null&&e.length)),Pf.setIsCustomDesktop(!!((n=t.desktopWallets)!=null&&n.length)),gt.setModalVersionInStorage(),Object.assign(mV,t)}},Xun=Object.defineProperty,td0=Object.getOwnPropertySymbols,Zun=Object.prototype.hasOwnProperty,e2n=Object.prototype.propertyIsEnumerable,nd0=(t,e,n)=>e in t?Xun(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,t2n=(t,e)=>{for(var n in e||(e={}))Zun.call(e,n)&&nd0(t,n,e[n]);if(td0)for(var n of td0(e))e2n.call(e,n)&&nd0(t,n,e[n]);return t},Epe="https://explorer-api.walletconnect.com",_pe="wcm",Ape="js-2.6.2";fg={async getDesktopListings(t){return bV("/w3m/v1/getDesktopListings",t)},async getMobileListings(t){return bV("/w3m/v1/getMobileListings",t)},async getInjectedListings(t){return bV("/w3m/v1/getInjectedListings",t)},async getAllListings(t){return bV("/w3m/v1/getAllListings",t)},getWalletImageUrl(t){return`${Epe}/w3m/v1/getWalletImage/${t}?projectId=${lc.state.projectId}&sdkType=${_pe}&sdkVersion=${Ape}`},getAssetImageUrl(t){return`${Epe}/w3m/v1/getAssetImage/${t}?projectId=${lc.state.projectId}&sdkType=${_pe}&sdkVersion=${Ape}`}},n2n=Object.defineProperty,ad0=Object.getOwnPropertySymbols,a2n=Object.prototype.hasOwnProperty,r2n=Object.prototype.propertyIsEnumerable,rd0=(t,e,n)=>e in t?n2n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,f2n=(t,e)=>{for(var n in e||(e={}))a2n.call(e,n)&&rd0(t,n,e[n]);if(ad0)for(var n of ad0(e))r2n.call(e,n)&&rd0(t,n,e[n]);return t},fd0=gt.isMobile(),np=Ch({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),uc={state:np,async getRecomendedWallets(){let{explorerRecommendedWalletIds:t,explorerExcludedWalletIds:e}=lc.state;if(t==="NONE"||e==="ALL"&&!t)return np.recomendedWallets;if(gt.isArray(t)){let n={recommendedIds:t.join(",")},{listings:a}=await fg.getAllListings(n),r=Object.values(a);r.sort((f,i)=>{let s=t.indexOf(f.id),o=t.indexOf(i.id);return s-o}),np.recomendedWallets=r}else{let{chains:n,isAuth:a}=Pf.state,r=n?.join(","),f=gt.isArray(e),i={page:1,sdks:a?"auth_v1":void 0,entries:gt.RECOMMENDED_WALLET_AMOUNT,chains:r,version:2,excludedIds:f?e.join(","):void 0},{listings:s}=fd0?await fg.getMobileListings(i):await fg.getDesktopListings(i);np.recomendedWallets=Object.values(s)}return np.recomendedWallets},async getWallets(t){let e=f2n({},t),{explorerRecommendedWalletIds:n,explorerExcludedWalletIds:a}=lc.state,{recomendedWallets:r}=np;if(a==="ALL")return np.wallets;r.length?e.excludedIds=r.map(l=>l.id).join(","):gt.isArray(n)&&(e.excludedIds=n.join(",")),gt.isArray(a)&&(e.excludedIds=[e.excludedIds,a].filter(Boolean).join(",")),Pf.state.isAuth&&(e.sdks="auth_v1");let{page:f,search:i}=t,{listings:s,total:o}=fd0?await fg.getMobileListings(e):await fg.getDesktopListings(e),c=Object.values(s),d=i?"search":"wallets";return np[d]={listings:[...np[d].listings,...c],total:o,page:f??1},{listings:c,total:o}},getWalletImageUrl(t){return fg.getWalletImageUrl(t)},getAssetImageUrl(t){return fg.getAssetImageUrl(t)},resetSearch(){np.search={listings:[],total:0,page:1}}},P_=Ch({open:!1}),Ih={state:P_,subscribe(t){return Qb(P_,()=>t(P_))},async open(t){return new Promise(e=>{let{isUiLoaded:n,isDataLoaded:a}=Pf.state;if(gt.removeWalletConnectDeepLink(),Pf.setWalletConnectUri(t?.uri),Pf.setChains(t?.chains),wf.reset("ConnectWallet"),n&&a)P_.open=!0,e();else{let r=setInterval(()=>{let f=Pf.state;f.isUiLoaded&&f.isDataLoaded&&(clearInterval(r),P_.open=!0,e())},200)}})},close(){P_.open=!1}},i2n=Object.defineProperty,id0=Object.getOwnPropertySymbols,s2n=Object.prototype.hasOwnProperty,o2n=Object.prototype.propertyIsEnumerable,sd0=(t,e,n)=>e in t?i2n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,c2n=(t,e)=>{for(var n in e||(e={}))s2n.call(e,n)&&sd0(t,n,e[n]);if(id0)for(var n of id0(e))o2n.call(e,n)&&sd0(t,n,e[n]);return t};OB=Ch({themeMode:d2n()?"dark":"light"}),ap={state:OB,subscribe(t){return Qb(OB,()=>t(OB))},setThemeConfig(t){let{themeMode:e,themeVariables:n}=t;e&&(OB.themeMode=e),n&&(OB.themeVariables=c2n({},n))}},ig=Ch({open:!1,message:"",variant:"success"}),kh={state:ig,subscribe(t){return Qb(ig,()=>t(ig))},openToast(t,e){ig.open=!0,ig.message=t,ig.variant=e},closeToast(){ig.open=!1}}});var yV,gV,kpe,od0,UB,cd0,Ia,Spe,vV,Rpe=oe(()=>{u();p();yV=window,gV=yV.ShadowRoot&&(yV.ShadyCSS===void 0||yV.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,kpe=Symbol(),od0=new WeakMap,UB=class{constructor(e,n,a){if(this._$cssResult$=!0,a!==kpe)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(gV&&e===void 0){let a=n!==void 0&&n.length===1;a&&(e=od0.get(n)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),a&&od0.set(n,e))}return e}toString(){return this.cssText}},cd0=t=>new UB(typeof t=="string"?t:t+"",void 0,kpe),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 UB(n,t,kpe)},Spe=(t,e)=>{gV?t.adoptedStyleSheets=e.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet):e.forEach(n=>{let a=document.createElement("style"),r=yV.litNonce;r!==void 0&&a.setAttribute("nonce",r),a.textContent=n.cssText,t.appendChild(a)})},vV=gV?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let n="";for(let a of e.cssRules)n+=a.cssText;return cd0(n)})(t):t});var Mpe,wV,dd0,l2n,ld0,Dpe,ud0,Bpe,Ppe,Sh,TV=oe(()=>{u();p();Rpe();Rpe();wV=window,dd0=wV.trustedTypes,l2n=dd0?dd0.emptyScript:"",ld0=wV.reactiveElementPolyfillSupport,Dpe={toAttribute(t,e){switch(e){case Boolean:t=t?l2n: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}},ud0=(t,e)=>e!==t&&(e==e||t==t),Bpe={attribute:!0,type:String,converter:Dpe,reflect:!1,hasChanged:ud0},Ppe="finalized",Sh=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=Bpe){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)||Bpe}static finalize(){if(this.hasOwnProperty(Ppe))return!1;this[Ppe]=!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(vV(r))}else e!==void 0&&n.push(vV(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 Spe(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=Bpe){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:Dpe).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:Dpe;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||ud0)(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){}};Sh[Ppe]=!0,Sh.elementProperties=new Map,Sh.elementStyles=[],Sh.shadowRootOptions={mode:"open"},ld0?.({ReactiveElement:Sh}),((Mpe=wV.reactiveElementVersions)!==null&&Mpe!==void 0?Mpe:wV.reactiveElementVersions=[]).push("1.6.3")});function _d0(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return pd0!==void 0?pd0.createHTML(e):e}function F_(t,e,n=t,a){var r,f,i,s;if(e===Rh)return e;let o=a!==void 0?(r=n._$Co)===null||r===void 0?void 0:r[a]:n._$Cl,c=WB(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=F_(t,o._$AS(t,e.values),o,a)),e}var Lpe,xV,L_,pd0,Npe,Vb,wd0,u2n,cg,zB,WB,Td0,p2n,Fpe,HB,hd0,md0,sg,bd0,yd0,xd0,Ed0,q0,Tf,Rh,Ni,gd0,og,h2n,qB,Ope,jB,N_,Upe,m2n,Hpe,zpe,Wpe,vd0,Ad0,dg=oe(()=>{u();p();xV=window,L_=xV.trustedTypes,pd0=L_?L_.createPolicy("lit-html",{createHTML:t=>t}):void 0,Npe="$lit$",Vb=`lit$${(Math.random()+"").slice(9)}$`,wd0="?"+Vb,u2n=`<${wd0}>`,cg=document,zB=()=>cg.createComment(""),WB=t=>t===null||typeof t!="object"&&typeof t!="function",Td0=Array.isArray,p2n=t=>Td0(t)||typeof t?.[Symbol.iterator]=="function",Fpe=`[ +\f\r]`,HB=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,hd0=/-->/g,md0=/>/g,sg=RegExp(`>|${Fpe}(?:([^\\s"'>=/]+)(${Fpe}*=${Fpe}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),bd0=/'/g,yd0=/"/g,xd0=/^(?:script|style|textarea|title)$/i,Ed0=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),q0=Ed0(1),Tf=Ed0(2),Rh=Symbol.for("lit-noChange"),Ni=Symbol.for("lit-nothing"),gd0=new WeakMap,og=cg.createTreeWalker(cg,129,null,!1);h2n=(t,e)=>{let n=t.length-1,a=[],r,f=e===2?"":"",i=HB;for(let s=0;s"?(i=r??HB,l=-1):d[1]===void 0?l=-2:(l=i.lastIndex-d[2].length,c=d[1],i=d[3]===void 0?sg:d[3]==='"'?yd0:bd0):i===yd0||i===bd0?i=sg:i===hd0||i===md0?i=HB:(i=sg,r=void 0);let y=i===sg&&t[s+1].startsWith("/>")?" ":"";f+=i===HB?o+u2n:l>=0?(a.push(c),o.slice(0,l)+Npe+o.slice(l)+Vb+y):o+Vb+(l===-2?(a.push(void 0),s):y)}return[_d0(t,f+(t[n]||"")+(e===2?"":"")),a]},qB=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]=h2n(e,n);if(this.el=t.createElement(c,a),og.currentNode=this.el.content,n===2){let l=this.el.content,h=l.firstChild;h.remove(),l.append(...h.childNodes)}for(;(r=og.nextNode())!==null&&o.length0){r.textContent=L_?L_.emptyScript:"";for(let y=0;y2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=Ni}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=F_(this,e,n,0),i=!WB(e)||e!==this._$AH&&e!==Rh,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 jB(e.insertBefore(zB(),s),s,void 0,n??{})}return i._$AI(t),i}});var qpe,jpe,Tn,Cd0,Id0=oe(()=>{u();p();TV();TV();dg();dg();Tn=class extends Sh{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=Ad0(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 Rh}};Tn.finalized=!0,Tn._$litElement$=!0,(qpe=globalThis.litElementHydrateSupport)===null||qpe===void 0||qpe.call(globalThis,{LitElement:Tn});Cd0=globalThis.litElementPolyfillSupport;Cd0?.({LitElement:Tn});((jpe=globalThis.litElementVersions)!==null&&jpe!==void 0?jpe:globalThis.litElementVersions=[]).push("3.3.3")});var kd0=oe(()=>{u();p();});var Sd0=oe(()=>{u();p();TV();dg();Id0();kd0()});var pa,Rd0=oe(()=>{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?y2n(t,e,n):b2n(t,e)}var b2n,y2n,Gpe=oe(()=>{u();p();b2n=(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)}},y2n=(t,e,n)=>{e.constructor.createProperty(n,t)}});function pc(t){return sn({...t,state:!0})}var Md0=oe(()=>{u();p();Gpe();});var lg=oe(()=>{u();p();});var Bd0=oe(()=>{u();p();lg();});var Dd0=oe(()=>{u();p();lg();});var Pd0=oe(()=>{u();p();lg();});var Ld0=oe(()=>{u();p();lg();});var Kpe,PNa,Qpe=oe(()=>{u();p();lg();PNa=((Kpe=window.HTMLSlotElement)===null||Kpe===void 0?void 0:Kpe.prototype.assignedElements)!=null?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter(n=>n.nodeType===Node.ELEMENT_NODE)});var Fd0=oe(()=>{u();p();lg();Qpe();});var Nd0=oe(()=>{u();p();Rd0();Gpe();Md0();Bd0();Dd0();Pd0();Ld0();Qpe();Fd0()});var Od0,Ud0,EV,Hd0=oe(()=>{u();p();Od0={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ud0=t=>(...e)=>({_$litDirective$:t,values:e}),EV=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 rp,zd0=oe(()=>{u();p();dg();Hd0();rp=Ud0(class extends EV{constructor(t){var e;if(super(t),t.type!==Od0.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 Rh}})});var Wd0=oe(()=>{u();p();zd0()});function Vpe(t,e){t.indexOf(e)===-1&&t.push(e)}var qd0=oe(()=>{u();p()});var KB,Ype=oe(()=>{u();p();KB=(t,e,n)=>Math.min(Math.max(n,t),e)});var wo,jd0=oe(()=>{u();p();wo={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"}});var Mh,_V=oe(()=>{u();p();Mh=t=>typeof t=="number"});var fp,$pe=oe(()=>{u();p();_V();fp=t=>Array.isArray(t)&&!Mh(t[0])});var Gd0,Kd0=oe(()=>{u();p();Gd0=(t,e,n)=>{let a=e-t;return((n-t)%a+a)%a+t}});function Qd0(t,e){return fp(t)?t[Gd0(0,t.length,e)]:t}var Vd0=oe(()=>{u();p();$pe();Kd0()});var AV,Jpe=oe(()=>{u();p();AV=(t,e,n)=>-n*t+n*e+t});var QB,hc,Xpe=oe(()=>{u();p();QB=()=>{},hc=t=>t});var ug,CV=oe(()=>{u();p();ug=(t,e,n)=>e-t===0?1:(n-t)/(e-t)});function Zpe(t,e){let n=t[t.length-1];for(let a=1;a<=e;a++){let r=ug(0,e,a);t.push(AV(n,1,r))}}function Yd0(t){let e=[0];return Zpe(e,t-1),e}var $d0=oe(()=>{u();p();Jpe();CV()});function e8e(t,e=Yd0(t.length),n=hc){let a=t.length,r=a-e.length;return r>0&&Zpe(e,r),f=>{let i=0;for(;i{u();p();Jpe();Xpe();$d0();CV();Vd0();Ype()});var VB,Xd0=oe(()=>{u();p();_V();VB=t=>Array.isArray(t)&&Mh(t[0])});var O_,Zd0=oe(()=>{u();p();O_=t=>typeof t=="object"&&!!t.createAnimation});var vd,el0=oe(()=>{u();p();vd=t=>typeof t=="function"});var t8e,tl0=oe(()=>{u();p();t8e=t=>typeof t=="string"});var Yb,nl0=oe(()=>{u();p();Yb={ms:t=>t*1e3,s:t=>t/1e3}});var wd=oe(()=>{u();p();qd0();Ype();jd0();Jd0();Xd0();Zd0();$pe();el0();_V();tl0();Xpe();CV();nl0()});function w2n(t,e,n,a,r){let f,i,s=0;do i=e+(n-e)/2,f=al0(i,a,r)-t,f>0?n=i:e=i;while(Math.abs(f)>g2n&&++sw2n(f,0,1,t,n);return f=>f===0||f===1?f:al0(r(f),e,a)}var al0,g2n,v2n,rl0=oe(()=>{u();p();wd();al0=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,g2n=1e-7,v2n=12});var n8e,fl0=oe(()=>{u();p();wd();n8e=(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 KB(0,1,r/t)}});var il0=oe(()=>{u();p();rl0();fl0()});function a8e(t){if(vd(t))return t;if(VB(t))return pg(...t);if(sl0[t])return sl0[t];if(t.startsWith("steps")){let e=T2n.exec(t);if(e){let n=e[1].split(",");return n8e(parseFloat(n[0]),n[1].trim())}}return hc}var sl0,T2n,ol0=oe(()=>{u();p();il0();wd();sl0={ease:pg(.25,.1,.25,1),"ease-in":pg(.42,0,1,1),"ease-in-out":pg(.42,0,.58,1),"ease-out":pg(0,0,.58,1)},T2n=/\((.*?)\)/});var hg,cl0=oe(()=>{u();p();wd();ol0();hg=class{constructor(e,n=[0,1],{easing:a,duration:r=wo.duration,delay:f=wo.delay,endDelay:i=wo.endDelay,repeat:s=wo.repeat,offset:o,direction:c="normal",autoplay:d=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=hc,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||wo.easing,O_(a)){let h=a.createAnimation(n);a=h.easing,n=h.keyframes||n,r=h.duration||r}this.repeat=s,this.easing=fp(a)?hc:a8e(a),this.updateDuration(r);let l=e8e(n,o,fp(a)?a.map(a8e):hc);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 r8e=oe(()=>{u();p();cl0()});var x2n,IV,dl0=oe(()=>{u();p();x2n=function(){},IV=function(){};x.env.NODE_ENV!=="production"&&(x2n=function(t,e){!t&&typeof console<"u"&&console.warn(e)},IV=function(t,e){if(!t)throw new Error(e)})});var YB,ll0=oe(()=>{u();p();YB=class{setAnimation(e){this.animation=e,e?.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}});var f8e=oe(()=>{u();p();ll0()});function kV(t){return i8e.has(t)||i8e.set(t,{transforms:[],values:new Map}),i8e.get(t)}function ul0(t,e){return t.has(e)||t.set(e,new YB),t.get(e)}var i8e,s8e=oe(()=>{u();p();f8e();i8e=new WeakMap});var E2n,_2n,$B,pl0,A2n,$b,RV,SV,C2n,I2n,MV,hl0,k2n,S2n,JB=oe(()=>{u();p();wd();s8e();E2n=["","X","Y","Z"],_2n=["translate","scale","rotate","skew"],$B={x:"translateX",y:"translateY",z:"translateZ"},pl0={syntax:"",initialValue:"0deg",toDefaultUnit:t=>t+"deg"},A2n={translate:{syntax:"",initialValue:"0px",toDefaultUnit:t=>t+"px"},rotate:pl0,scale:{syntax:"",initialValue:1,toDefaultUnit:hc},skew:pl0},$b=new Map,RV=t=>`--motion-${t}`,SV=["x","y","z"];_2n.forEach(t=>{E2n.forEach(e=>{SV.push(t+e),$b.set(RV(t+e),A2n[t])})});C2n=(t,e)=>SV.indexOf(t)-SV.indexOf(e),I2n=new Set(SV),MV=t=>I2n.has(t),hl0=(t,e)=>{$B[e]&&(e=$B[e]);let{transforms:n}=kV(t);Vpe(n,e),t.style.transform=k2n(n)},k2n=t=>t.sort(C2n).reduce(S2n,"").trim(),S2n=(t,e)=>`${t} ${e}(var(${RV(e)}))`});function bl0(t){if(!ml0.has(t)){ml0.add(t);try{let{syntax:e,initialValue:n}=$b.has(t)?$b.get(t):{};CSS.registerProperty({name:t,inherits:!1,syntax:e,initialValue:n})}catch{}}}var XB,ml0,o8e=oe(()=>{u();p();JB();XB=t=>t.startsWith("--"),ml0=new Set});var c8e,yl0,d8e,Jb,l8e=oe(()=>{u();p();c8e=(t,e)=>document.createElement("div").animate(t,e),yl0={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{c8e({opacity:[1]})}catch{return!1}return!0},finished:()=>!!c8e({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{c8e({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},d8e={},Jb={};for(let t in yl0)Jb[t]=()=>(d8e[t]===void 0&&(d8e[t]=yl0[t]()),d8e[t])});var R2n,M2n,u8e,B2n,gl0=oe(()=>{u();p();wd();l8e();R2n=.015,M2n=(t,e)=>{let n="",a=Math.round(e/R2n);for(let r=0;rvd(t)?Jb.linearEasing()?`linear(${M2n(t,e)})`:wo.easing:VB(t)?B2n(t):t,B2n=([t,e,n,a])=>`cubic-bezier(${t}, ${e}, ${n}, ${a})`});function vl0(t,e){for(let n=0;n{u();p();wl0=t=>Array.isArray(t)?t:[t]});function ZB(t){return $B[t]&&(t=$B[t]),MV(t)?RV(t):t}var p8e=oe(()=>{u();p();JB()});var eD,xl0=oe(()=>{u();p();o8e();p8e();JB();eD={get:(t,e)=>{e=ZB(e);let n=XB(e)?t.style.getPropertyValue(e):getComputedStyle(t)[e];if(!n&&n!==0){let a=$b.get(e);a&&(n=a.initialValue)}return n},set:(t,e,n)=>{e=ZB(e),XB(e)?t.style.setProperty(e,n):t.style[e]=n}}});function BV(t,e=!0){if(!(!t||t.playState==="finished"))try{t.stop?t.stop():(e&&t.commitStyles(),t.cancel())}catch{}}var h8e=oe(()=>{u();p()});function El0(t,e){var n;let a=e?.toDefaultUnit||hc,r=t[t.length-1];if(t8e(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 _l0=oe(()=>{u();p();wd()});function D2n(){return window.__MOTION_DEV_TOOLS_RECORD}function Al0(t,e,n,a={},r){let f=D2n(),i=a.record!==!1&&f,s,{duration:o=wo.duration,delay:c=wo.delay,endDelay:d=wo.endDelay,repeat:l=wo.repeat,easing:h=wo.easing,persist:y=!1,direction:v,offset:k,allowWebkitAcceleration:O=!1,autoplay:F=!0}=a,z=kV(t),W=MV(e),j=Jb.waapi();W&&hl0(t,e);let Q=ZB(e),V=ul0(z.values,Q),X=$b.get(Q);return BV(V.animation,!(O_(h)&&V.generator)&&a.record!==!1),()=>{let K=()=>{var T,N;return(N=(T=eD.get(t,Q))!==null&&T!==void 0?T:X?.initialValue)!==null&&N!==void 0?N:0},G=vl0(wl0(n),K),R=El0(G,X);if(O_(h)){let T=h.createAnimation(G,e!=="opacity",K,Q,V);h=T.easing,G=T.keyframes||G,o=T.duration||o}if(XB(Q)&&(Jb.cssRegisterProperty()?bl0(Q):j=!1),W&&!Jb.linearEasing()&&(vd(h)||fp(h)&&h.some(vd))&&(j=!1),j){X&&(G=G.map(w=>Mh(w)?X.toDefaultUnit(w):w)),G.length===1&&(!Jb.partialKeyframes()||i)&&G.unshift(K());let T={delay:Yb.ms(c),duration:Yb.ms(o),endDelay:Yb.ms(d),easing:fp(h)?void 0:u8e(h,o),direction:v,iterations:l+1,fill:"both"};s=t.animate({[Q]:G,offset:k,easing:fp(h)?h.map(w=>u8e(w,o)):void 0},T),s.finished||(s.finished=new Promise((w,b)=>{s.onfinish=w,s.oncancel=b}));let N=G[G.length-1];s.finished.then(()=>{y||(eD.set(t,Q,N),s.cancel())}).catch(QB),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=>{eD.set(t,Q,R?R(T):T)},G,Object.assign(Object.assign({},a),{duration:o,easing:h}));else{let T=G[G.length-1];eD.set(t,Q,X&&Mh(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 Cl0=oe(()=>{u();p();s8e();o8e();wd();JB();gl0();l8e();Tl0();xl0();p8e();h8e();_l0()});var Il0,kl0=oe(()=>{u();p();Il0=(t,e)=>t[e]?Object.assign(Object.assign({},t),t[e]):Object.assign({},t)});function Sl0(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 Rl0=oe(()=>{u();p()});var P2n,tD,L2n,F2n,N2n,m8e=oe(()=>{u();p();wd();h8e();P2n=t=>t(),tD=(t,e,n=wo.duration)=>new Proxy({animations:t.map(P2n).filter(Boolean),duration:n,options:e},F2n),L2n=t=>t.animations[0],F2n={get:(t,e)=>{let n=L2n(t);switch(e){case"duration":return t.duration;case"currentTime":return Yb.s(n?.[e]||0);case"playbackRate":case"playState":return n?.[e];case"finished":return t.finished||(t.finished=Promise.all(t.animations.map(N2n)).catch(QB)),t.finished;case"stop":return()=>{t.animations.forEach(a=>BV(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=Yb.ms(n);case"playbackRate":for(let a=0;at.finished});function Ml0(t,e,n){return vd(t)?t(e,n):t}var Bl0=oe(()=>{u();p();wd()});function Dl0(t){return function(n,a,r={}){n=Sl0(n);let f=n.length;IV(!!f,"No valid element provided."),IV(!!a,"No keyframes defined.");let i=[];for(let s=0;s{u();p();dl0();Cl0();kl0();Rl0();m8e();Bl0()});var b8e,Ll0=oe(()=>{u();p();r8e();Pl0();b8e=Dl0(hg)});var FV={};G0(FV,{__addDisposableResource:()=>nu0,__assign:()=>DV,__asyncDelegator:()=>Vl0,__asyncGenerator:()=>Ql0,__asyncValues:()=>Yl0,__await:()=>U_,__awaiter:()=>zl0,__classPrivateFieldGet:()=>Zl0,__classPrivateFieldIn:()=>tu0,__classPrivateFieldSet:()=>eu0,__createBinding:()=>LV,__decorate:()=>Ol0,__disposeResources:()=>au0,__esDecorate:()=>O2n,__exportStar:()=>ql0,__extends:()=>Fl0,__generator:()=>Wl0,__importDefault:()=>Xl0,__importStar:()=>Jl0,__makeTemplateObject:()=>$l0,__metadata:()=>Hl0,__param:()=>Ul0,__propKey:()=>H2n,__read:()=>g8e,__rest:()=>Nl0,__runInitializers:()=>U2n,__setFunctionName:()=>z2n,__spread:()=>jl0,__spreadArray:()=>Kl0,__spreadArrays:()=>Gl0,__values:()=>PV,default:()=>j2n});function Fl0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");y8e(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function Nl0(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 Ul0(t,e){return function(n,a){e(n,a,t)}}function O2n(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 U2n(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 g8e(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 jl0(){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 U_?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 Vl0(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:U_(t[r](i)),done:!1}:f?f(i):i}:f}}function Yl0(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 PV=="function"?PV(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 $l0(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function Jl0(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)&&LV(e,t,n);return W2n(e,t),e}function Xl0(t){return t&&t.__esModule?t:{default:t}}function Zl0(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 eu0(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 tu0(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 nu0(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 au0(t){function e(a){t.error=t.hasError?new q2n(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 y8e,DV,LV,W2n,q2n,j2n,NV=oe(()=>{u();p();y8e=function(t,e){return y8e=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])},y8e(t,e)};DV=function(){return DV=Object.assign||function(e){for(var n,a=1,r=arguments.length;a{u();p();Ll0();m8e()});function G2n(t,e={}){return tD([()=>{let n=new hg(t,[0,1],e);return n.finished.catch(()=>{}),n}],e,e.duration)}function Bh(t,e,n){return(vd(t)?G2n:b8e)(t,e,n)}var ru0=oe(()=>{u();p();v8e();wd();r8e()});var fu0=oe(()=>{u();p();v8e();f8e();ru0()});var w1,iu0=oe(()=>{u();p();dg();w1=t=>t??Ni});var su0=oe(()=>{u();p();iu0()});var cu0=D((IWa,ou0)=>{u();p();ou0.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var Xb=D(mg=>{u();p();var w8e,K2n=[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];mg.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};mg.getSymbolTotalCodewords=function(e){return K2n[e]};mg.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};mg.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');w8e=e};mg.isKanjiModeEnabled=function(){return typeof w8e<"u"};mg.toSJIS=function(e){return w8e(e)}});var OV=D(Td=>{u();p();Td.L={bit:1};Td.M={bit:0};Td.Q={bit:3};Td.H={bit:2};function Q2n(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return Td.L;case"m":case"medium":return Td.M;case"q":case"quartile":return Td.Q;case"h":case"high":return Td.H;default:throw new Error("Unknown EC Level: "+t)}}Td.isValid=function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4};Td.from=function(e,n){if(Td.isValid(e))return e;try{return Q2n(e)}catch{return n}}});var uu0=D((FWa,lu0)=>{u();p();function du0(){this.buffer=[],this.length=0}du0.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++}};lu0.exports=du0});var hu0=D((UWa,pu0)=>{u();p();function nD(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)}nD.prototype.set=function(t,e,n,a){let r=t*this.size+e;this.data[r]=n,a&&(this.reservedBit[r]=!0)};nD.prototype.get=function(t,e){return this.data[t*this.size+e]};nD.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n};nD.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};pu0.exports=nD});var mu0=D(UV=>{u();p();var V2n=Xb().getSymbolSize;UV.getRowColCoords=function(e){if(e===1)return[];let n=Math.floor(e/7)+2,a=V2n(e),r=a===145?26:Math.ceil((a-13)/(2*n-2))*2,f=[a-7];for(let i=1;i{u();p();var Y2n=Xb().getSymbolSize,bu0=7;yu0.getPositions=function(e){let n=Y2n(e);return[[0,0],[n-bu0,0],[0,n-bu0]]}});var vu0=D(Vr=>{u();p();Vr.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var bg={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+=bg.N1+(r-5)),i=d,r=1),d=e.get(c,o),d===s?f++:(f>=5&&(a+=bg.N1+(f-5)),s=d,f=1)}r>=5&&(a+=bg.N1+(r-5)),f>=5&&(a+=bg.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*bg.N3};Vr.getPenaltyN4=function(e){let n=0,a=e.data.length;for(let f=0;f{u();p();var Zb=OV(),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],zV=[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];T8e.getBlocksCount=function(e,n){switch(n){case Zb.L:return HV[(e-1)*4+0];case Zb.M:return HV[(e-1)*4+1];case Zb.Q:return HV[(e-1)*4+2];case Zb.H:return HV[(e-1)*4+3];default:return}};T8e.getTotalCodewordsCount=function(e,n){switch(n){case Zb.L:return zV[(e-1)*4+0];case Zb.M:return zV[(e-1)*4+1];case Zb.Q:return zV[(e-1)*4+2];case Zb.H:return zV[(e-1)*4+3];default:return}}});var wu0=D(qV=>{u();p();var aD=new Uint8Array(512),WV=new Uint8Array(256);(function(){let e=1;for(let n=0;n<255;n++)aD[n]=e,WV[e]=n,e<<=1,e&256&&(e^=285);for(let n=255;n<512;n++)aD[n]=aD[n-255]})();qV.log=function(e){if(e<1)throw new Error("log("+e+")");return WV[e]};qV.exp=function(e){return aD[e]};qV.mul=function(e,n){return e===0||n===0?0:aD[WV[e]+WV[n]]}});var Tu0=D(rD=>{u();p();var E8e=wu0();rD.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 xu0=Tu0();function _8e(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}_8e.prototype.initialize=function(e){this.degree=e,this.genPoly=xu0.generateECPolynomial(this.degree)};_8e.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=xu0.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};Eu0.exports=_8e});var A8e=D(Au0=>{u();p();Au0.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}});var C8e=D(Dh=>{u();p();var Cu0="[0-9]+",J2n="[A-Z $%*+\\-./:]+",fD="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";fD=fD.replace(/u/g,"\\u");var X2n="(?:(?![A-Z0-9 $%*+\\-./:]|"+fD+`)(?:.|[\r +]))+`;Dh.KANJI=new RegExp(fD,"g");Dh.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Dh.BYTE=new RegExp(X2n,"g");Dh.NUMERIC=new RegExp(Cu0,"g");Dh.ALPHANUMERIC=new RegExp(J2n,"g");var Z2n=new RegExp("^"+fD+"$"),epn=new RegExp("^"+Cu0+"$"),tpn=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Dh.testKanji=function(e){return Z2n.test(e)};Dh.testNumeric=function(e){return epn.test(e)};Dh.testAlphanumeric=function(e){return tpn.test(e)}});var e4=D(Oi=>{u();p();var npn=A8e(),I8e=C8e();Oi.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};Oi.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};Oi.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};Oi.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};Oi.MIXED={bit:-1};Oi.getCharCountIndicator=function(e,n){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!npn.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?e.ccBits[0]:n<27?e.ccBits[1]:e.ccBits[2]};Oi.getBestModeForData=function(e){return I8e.testNumeric(e)?Oi.NUMERIC:I8e.testAlphanumeric(e)?Oi.ALPHANUMERIC:I8e.testKanji(e)?Oi.KANJI:Oi.BYTE};Oi.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")};Oi.isValid=function(e){return e&&e.bit&&e.ccBits};function apn(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return Oi.NUMERIC;case"alphanumeric":return Oi.ALPHANUMERIC;case"kanji":return Oi.KANJI;case"byte":return Oi.BYTE;default:throw new Error("Unknown mode: "+t)}}Oi.from=function(e,n){if(Oi.isValid(e))return e;try{return apn(e)}catch{return n}}});var Mu0=D(yg=>{u();p();var jV=Xb(),rpn=x8e(),Iu0=OV(),t4=e4(),k8e=A8e(),Su0=7973,ku0=jV.getBCHDigit(Su0);function fpn(t,e,n){for(let a=1;a<=40;a++)if(e<=yg.getCapacity(a,n,t))return a}function Ru0(t,e){return t4.getCharCountIndicator(t,e)+4}function ipn(t,e){let n=0;return t.forEach(function(a){let r=Ru0(a.mode,e);n+=r+a.getBitsLength()}),n}function spn(t,e){for(let n=1;n<=40;n++)if(ipn(t,n)<=yg.getCapacity(n,e,t4.MIXED))return n}yg.from=function(e,n){return k8e.isValid(e)?parseInt(e,10):n};yg.getCapacity=function(e,n,a){if(!k8e.isValid(e))throw new Error("Invalid QR Code version");typeof a>"u"&&(a=t4.BYTE);let r=jV.getSymbolTotalCodewords(e),f=rpn.getTotalCodewordsCount(e,n),i=(r-f)*8;if(a===t4.MIXED)return i;let s=i-Ru0(a,e);switch(a){case t4.NUMERIC:return Math.floor(s/10*3);case t4.ALPHANUMERIC:return Math.floor(s/11*2);case t4.KANJI:return Math.floor(s/13);case t4.BYTE:default:return Math.floor(s/8)}};yg.getBestVersionForData=function(e,n){let a,r=Iu0.from(n,Iu0.M);if(Array.isArray(e)){if(e.length>1)return spn(e,r);if(e.length===0)return 1;a=e[0]}else a=e;return fpn(a.mode,a.getLength(),r)};yg.getEncodedBits=function(e){if(!k8e.isValid(e)||e<7)throw new Error("Invalid QR Code version");let n=e<<12;for(;jV.getBCHDigit(n)-ku0>=0;)n^=Su0<{u();p();var S8e=Xb(),Du0=1335,opn=21522,Bu0=S8e.getBCHDigit(Du0);Pu0.getEncodedBits=function(e,n){let a=e.bit<<3|n,r=a<<10;for(;S8e.getBCHDigit(r)-Bu0>=0;)r^=Du0<{u();p();var cpn=e4();function H_(t){this.mode=cpn.NUMERIC,this.data=t.toString()}H_.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)};H_.prototype.getLength=function(){return this.data.length};H_.prototype.getBitsLength=function(){return H_.getBitsLength(this.data.length)};H_.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))};Fu0.exports=H_});var Uu0=D((Iqa,Ou0)=>{u();p();var dpn=e4(),R8e=["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 z_(t){this.mode=dpn.ALPHANUMERIC,this.data=t}z_.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};z_.prototype.getLength=function(){return this.data.length};z_.prototype.getBitsLength=function(){return z_.getBitsLength(this.data.length)};z_.prototype.write=function(e){let n;for(n=0;n+2<=this.data.length;n+=2){let a=R8e.indexOf(this.data[n])*45;a+=R8e.indexOf(this.data[n+1]),e.put(a,11)}this.data.length%2&&e.put(R8e.indexOf(this.data[n]),6)};Ou0.exports=z_});var zu0=D((Rqa,Hu0)=>{"use strict";u();p();Hu0.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 qu0=D((Dqa,Wu0)=>{u();p();var lpn=zu0(),upn=e4();function W_(t){this.mode=upn.BYTE,typeof t=="string"&&(t=lpn(t)),this.data=new Uint8Array(t)}W_.getBitsLength=function(e){return e*8};W_.prototype.getLength=function(){return this.data.length};W_.prototype.getBitsLength=function(){return W_.getBitsLength(this.data.length)};W_.prototype.write=function(t){for(let e=0,n=this.data.length;e{u();p();var ppn=e4(),hpn=Xb();function q_(t){this.mode=ppn.KANJI,this.data=t}q_.getBitsLength=function(e){return e*13};q_.prototype.getLength=function(){return this.data.length};q_.prototype.getBitsLength=function(){return q_.getBitsLength(this.data.length)};q_.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)}};ju0.exports=q_});var Ku0=D((Uqa,M8e)=>{"use strict";u();p();var iD={single_source_shortest_paths:function(t,e,n){var a={},r={};r[e]=0;var f=iD.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=iD.single_source_shortest_paths(t,e,n);return iD.extract_shortest_path_from_predecessor_list(a,n)},PriorityQueue:{make:function(t){var e=iD.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 M8e<"u"&&(M8e.exports=iD)});var e20=D(j_=>{u();p();var er=e4(),Yu0=Nu0(),$u0=Uu0(),Ju0=qu0(),Xu0=Gu0(),sD=C8e(),GV=Xb(),mpn=Ku0();function Qu0(t){return unescape(encodeURIComponent(t)).length}function oD(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 Zu0(t){let e=oD(sD.NUMERIC,er.NUMERIC,t),n=oD(sD.ALPHANUMERIC,er.ALPHANUMERIC,t),a,r;return GV.isKanjiModeEnabled()?(a=oD(sD.BYTE,er.BYTE,t),r=oD(sD.KANJI,er.KANJI,t)):(a=oD(sD.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 B8e(t,e){switch(e){case er.NUMERIC:return Yu0.getBitsLength(t);case er.ALPHANUMERIC:return $u0.getBitsLength(t);case er.KANJI:return Xu0.getBitsLength(t);case er.BYTE:return Ju0.getBitsLength(t)}}function bpn(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 ypn(t){let e=[];for(let n=0;n{u();p();var QV=Xb(),D8e=OV(),vpn=uu0(),wpn=hu0(),Tpn=mu0(),xpn=gu0(),F8e=vu0(),N8e=x8e(),Epn=_u0(),KV=Mu0(),_pn=Lu0(),Apn=e4(),P8e=e20();function Cpn(t,e){let n=t.size,a=xpn.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 Ipn(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 L8e(t,e,n){let a=t.size,r=_pn.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 Rpn(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 Mpn(t,e,n){let a=new vpn;n.forEach(function(o){a.put(o.mode.bit,4),a.put(o.getLength(),Apn.getCharCountIndicator(o.mode,t)),o.write(a)});let r=QV.getSymbolTotalCodewords(t),f=N8e.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&&a2n(o,e),r2n(o,i),isNaN(a)&&(a=t8e.getBestMask(o,e8e.bind(null,o,n))),t8e.applyMask(a,o),e8e(o,n,a),{modules:o,version:e,errorCorrectionLevel:n,maskPattern:a,segments:r}}Fu0.create=function(e,n){if(typeof e>"u"||e==="")throw new Error("No input text");let a=Xpe.M,r,f;return typeof n<"u"&&(a=Xpe.from(n.errorCorrectionLevel,Xpe.M),r=IV.from(n.version),f=t8e.from(n.maskPattern),n.toSJISFunc&&kV.setToSJISFunction(n.toSJISFunc)),s2n(e,r,a,f)}});var a8e=D(mg=>{u();p();function Ou0(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("")}}mg.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:Ou0(e.color.dark||"#000000ff"),light:Ou0(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}};mg.getScale=function(e,n){return n.width&&n.width>=e+n.margin*2?n.width/(e+n.margin*2):n.scale};mg.getImageWidth=function(e,n){let a=mg.getScale(e,n);return Math.floor((e+n.margin*2)*a)};mg.qrToImageData=function(e,n,a){let r=n.modules.size,f=n.modules.data,i=mg.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 r8e=a8e();function o2n(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 c2n(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}SV.render=function(e,n,a){let r=a,f=n;typeof r>"u"&&(!n||!n.getContext)&&(r=n,n=void 0),n||(f=c2n()),r=r8e.getOptions(r);let i=r8e.getImageWidth(e.modules.size,r),s=f.getContext("2d"),o=s.createImageData(i,i);return r8e.qrToImageData(o.data,e,r),o2n(s,f,i),s.putImageData(o,0,0),f};SV.renderToDataURL=function(e,n,a){let r=a;typeof r>"u"&&(!n||!n.getContext)&&(r=n,n=void 0),r||(r={});let f=SV.render(e,n,r),i=r.type||"image/png",s=r.rendererOpts||{};return f.toDataURL(i,s.quality)}});var Wu0=D(zu0=>{u();p();var d2n=a8e();function Hu0(t,e){let n=t.a/255,a=e+'="'+t.hex+'"';return n<1?a+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':a}function f8e(t,e,n){let a=t+e;return typeof n<"u"&&(a+=" "+n),a}function l2n(t,e,n){let a="",r=0,f=!1,i=0;for(let s=0;s0&&o>0&&t[s-1]||(a+=f?f8e("M",o+n,.5+c+n):f8e("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 ju0=D(cD=>{u();p();var u2n=jl0(),i8e=Nu0(),qu0=Uu0(),p2n=Wu0();function s8e(t,e,n,a,r){let f=[].slice.call(arguments,1),i=f.length,s=typeof f[i-1]=="function";if(!s&&!u2n())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=i8e.create(n,a);o(t(d,e,a))}catch(d){c(d)}})}try{let o=i8e.create(n,a);r(null,t(o,e,a))}catch(o){r(o)}}cD.create=i8e.create;cD.toCanvas=s8e.bind(null,qu0.render);cD.toDataURL=s8e.bind(null,qu0.renderToDataURL);cD.toString=s8e.bind(null,function(t,e,n){return p2n.render(t,n)})});var a20={};G0(a20,{WcmModal:()=>O_,WcmQrCode:()=>Lh});function y2n(){var t;let e=(t=ap.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 Qu0(){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 m8e(t,e,n){return t===e?!1:(t-e<0?e-t:t-e)<=n+Y2n}function $2n(t,e){let n=Array.prototype.slice.call(n20.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 n20,h2n,Gu0,m2n,b2n,Ku0,o8e,ha,g2n,v2n,w2n,D_,e4,T2n,x2n,E2n,c8e,dD,_2n,A2n,C2n,I2n,d8e,tr,k2n,S2n,R2n,M2n,l8e,B2n,D2n,P2n,L2n,u8e,F2n,N2n,O2n,U2n,p8e,H2n,z2n,W2n,lD,bg,Zt,q2n,j2n,G2n,h8e,uD,K2n,Q2n,V2n,Vu0,RV,Y2n,Yu0,Ph,J2n,X2n,Z2n,epn,P_,Lh,tpn,npn,apn,$u0,MV,rpn,fpn,ipn,spn,b8e,opn,cpn,dpn,y8e,pD,lpn,upn,ppn,t4,ip,hpn,mpn,bpn,BV,L_,ypn,gpn,Ju0,g8e,vpn,wpn,Tpn,Xu0,xpn,Epn,_pn,Apn,v8e,Cpn,Ipn,kpn,F_,n4,U_,a4,Spn,Rpn,Mpn,Bpn,w8e,Dpn,Ppn,Lpn,Fpn,T8e,Npn,Opn,Upn,Hpn,x8e,zpn,Wpn,qpn,E8e,O_,jpn,Gpn,Kpn,hD,yg,Qpn,Vpn,Ypn,$pn,_8e,Jpn,Xpn,Zpn,DV,N_,e8n,t8n,n8n,A8e,a8n,r8n,f8n,Zu0,PV,i8n,s8n,o8n,c8n,C8e,d8n,l8n,u8n,e20,LV,p8n,h8n,m8n,b8n,I8e,y8n,g8n,v8n,k8e,w8n,T8n,x8n,mD,S8e,gg,E8n,_8n,A8n,t20,FV,r20=oe(()=>{u();p();dd0();gd0();Ed0();K2e();sg();Hl0();Wl0();n20=Ee(ju0(),1),h2n=Object.defineProperty,Gu0=Object.getOwnPropertySymbols,m2n=Object.prototype.hasOwnProperty,b2n=Object.prototype.propertyIsEnumerable,Ku0=(t,e,n)=>e in t?h2n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,o8e=(t,e)=>{for(var n in e||(e={}))m2n.call(e,n)&&Ku0(t,n,e[n]);if(Gu0)for(var n of Gu0(e))b2n.call(e,n)&&Ku0(t,n,e[n]);return t};ha={getPreset(t){return Qu0()[t]},setTheme(){let t=document.querySelector(":root"),{themeVariables:e}=ap.state;if(t){let n=o8e(o8e(o8e({},y2n()),Qu0()),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)}`},g2n=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}`,v2n=Object.defineProperty,w2n=Object.getOwnPropertyDescriptor,D_=(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&&v2n(e,n,r),r},e4=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``}};e4.styles=[ha.globalCss,g2n],D_([sn({type:Boolean})],e4.prototype,"disabled",2),D_([sn()],e4.prototype,"iconLeft",2),D_([sn()],e4.prototype,"iconRight",2),D_([sn()],e4.prototype,"onClick",2),D_([sn()],e4.prototype,"variant",2),e4=D_([pa("wcm-button")],e4);T2n=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)}}`,x2n=Object.defineProperty,E2n=Object.getOwnPropertyDescriptor,c8e=(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},dD=class extends Tn{constructor(){super(...arguments),this.disabled=!1,this.variant="primary"}render(){let t={"wcm-secondary":this.variant==="secondary"};return q0``}};dD.styles=[ha.globalCss,T2n],c8e([sn({type:Boolean})],dD.prototype,"disabled",2),c8e([sn()],dD.prototype,"variant",2),dD=c8e([pa("wcm-button-big")],dD);_2n=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}`,A2n=Object.defineProperty,C2n=Object.getOwnPropertyDescriptor,I2n=(t,e,n,a)=>{for(var r=a>1?void 0:a?C2n(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&&A2n(e,n,r),r},d8e=class extends Tn{render(){return q0`
`}};d8e.styles=[ha.globalCss,_2n],d8e=I2n([pa("wcm-info-footer")],d8e);tr={CROSS_ICON:Tf``,WALLET_CONNECT_LOGO:Tf``,WALLET_CONNECT_ICON:Tf``,WALLET_CONNECT_ICON_COLORED:Tf``,BACK_ICON:Tf``,COPY_ICON:Tf``,RETRY_ICON:Tf``,DESKTOP_ICON:Tf``,MOBILE_ICON:Tf``,ARROW_DOWN_ICON:Tf``,ARROW_UP_RIGHT_ICON:Tf``,ARROW_RIGHT_ICON:Tf``,QRCODE_ICON:Tf``,SCAN_ICON:Tf``,CHECKMARK_ICON:Tf``,SEARCH_ICON:Tf``,WALLET_PLACEHOLDER:Tf``,GLOBE_ICON:Tf``},k2n=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)}}`,S2n=Object.defineProperty,R2n=Object.getOwnPropertyDescriptor,M2n=(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},l8e=class extends Tn{render(){return q0`
${tr.WALLET_CONNECT_LOGO}
`}};l8e.styles=[ha.globalCss,k2n],l8e=M2n([pa("wcm-modal-backcard")],l8e);B2n=Ia`main{padding:20px;padding-top:0;width:100%}`,D2n=Object.defineProperty,P2n=Object.getOwnPropertyDescriptor,L2n=(t,e,n,a)=>{for(var r=a>1?void 0:a?P2n(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},u8e=class extends Tn{render(){return q0`
`}};u8e.styles=[ha.globalCss,B2n],u8e=L2n([pa("wcm-modal-content")],u8e);F2n=Ia`footer{padding:10px;display:flex;flex-direction:column;align-items:inherit;justify-content:inherit;border-top:1px solid var(--wcm-color-bg-2)}`,N2n=Object.defineProperty,O2n=Object.getOwnPropertyDescriptor,U2n=(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&&N2n(e,n,r),r},p8e=class extends Tn{render(){return q0`
`}};p8e.styles=[ha.globalCss,F2n],p8e=U2n([pa("wcm-modal-footer")],p8e);H2n=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)}`,z2n=Object.defineProperty,W2n=Object.getOwnPropertyDescriptor,lD=(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},bg=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=wf.state.history.length>1,n=this.title?q0`${this.title}`:q0``;return q0`
${e?this.backBtnTemplate():null} ${n} ${this.onAction?this.actionBtnTemplate():null}
`}};bg.styles=[ha.globalCss,H2n],lD([sn()],bg.prototype,"title",2),lD([sn()],bg.prototype,"onAction",2),lD([sn()],bg.prototype,"actionIcon",2),lD([sn({type:Boolean})],bg.prototype,"border",2),bg=lD([pa("wcm-modal-header")],bg);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}=lc.state;return n!=null&&n[t]?n[t]:e?uc.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,gt.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}=Pf.state,{mobile:n,name:a}=t,r=n?.native,f=n?.universal;Zt.setRecentWallet(t);function i(s){let o="";r?o=gt.formatUniversalUrl(r,s,a):f&&(o=gt.formatNativeUrl(f,s,a)),gt.openHref(o,"_self")}e&&i(e)},handleAndroidLinking(){let{walletConnectUri:t}=Pf.state;t&&(gt.setWalletConnectAndroidDeepLink(t),gt.openHref(t,"_self"))},async handleUriCopy(){let{walletConnectUri:t}=Pf.state;if(t)try{await navigator.clipboard.writeText(t),kh.openToast("Link copied","success")}catch{kh.openToast("Failed to copy","error")}},getCustomImageUrls(){let{walletImages:t}=lc.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(){gt.openHref(Zt.EXPLORER_WALLET_URL,"_blank")},getCachedRouterWalletPlatforms(){let{desktop:t,mobile:e}=gt.getWalletRouterData(),n=!!t?.native,a=!!t?.universal,r=!!e?.native||!!e?.universal;return{isDesktop:n,isMobile:r,isWeb:a}},goToConnectingView(t){wf.setData({Wallet:t});let e=gt.isMobile(),{isDesktop:n,isWeb:a,isMobile:r}=Zt.getCachedRouterWalletPlatforms();e?r?wf.push("MobileConnecting"):a?wf.push("WebConnecting"):wf.push("InstallWallet"):n?wf.push("DesktopConnecting"):a?wf.push("WebConnecting"):r?wf.push("MobileQrcodeConnecting"):wf.push("InstallWallet")}},q2n=Ia`.wcm-router{overflow:hidden;will-change:transform}.wcm-content{display:flex;flex-direction:column}`,j2n=Object.defineProperty,G2n=Object.getOwnPropertyDescriptor,h8e=(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},uD=class extends Tn{constructor(){super(),this.view=wf.state.view,this.prevView=wf.state.view,this.unsubscribe=void 0,this.oldHeight="0px",this.resizeObserver=void 0,this.unsubscribe=wf.subscribe(t=>{this.view!==t.view&&this.onChangeRoute()})}firstUpdated(){this.resizeObserver=new ResizeObserver(([t])=>{let e=`${t.contentRect.height}px`;this.oldHeight!=="0px"&&Bh(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 Bh(this.routerEl,{opacity:[1,0],scale:[1,1.02]},{duration:.15,delay:.1}).finished,this.view=wf.state.view,Bh(this.routerEl,{opacity:[0,1],scale:[.99,1]},{duration:.37,delay:.05})}render(){return q0`
${this.viewTemplate()}
`}};uD.styles=[ha.globalCss,q2n],h8e([pc()],uD.prototype,"view",2),h8e([pc()],uD.prototype,"prevView",2),uD=h8e([pa("wcm-modal-router")],uD);K2n=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)}`,Q2n=Object.defineProperty,V2n=Object.getOwnPropertyDescriptor,Vu0=(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&&Q2n(e,n,r),r},RV=class extends Tn{constructor(){super(),this.open=!1,this.unsubscribe=void 0,this.timeout=void 0,this.unsubscribe=kh.subscribe(t=>{t.open?(this.open=!0,this.timeout=setTimeout(()=>kh.closeToast(),2200)):(this.open=!1,clearTimeout(this.timeout))})}disconnectedCallback(){var t;(t=this.unsubscribe)==null||t.call(this),clearTimeout(this.timeout),kh.closeToast()}render(){let{message:t,variant:e}=kh.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}};RV.styles=[ha.globalCss,K2n],Vu0([pc()],RV.prototype,"open",2),RV=Vu0([pa("wcm-modal-toast")],RV);Y2n=.1,Yu0=2.5,Ph=7;J2n={generate(t,e,n){let a="#141414",r="#ffffff",f=[],i=$2n(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-Ph)*s*v,F=(i.length-Ph)*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-(Ph+1)&&Fi.length-(Ph+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=>!m8e(F,z,s)));return[Number(v),O]}).forEach(([v,k])=>{k.forEach(O=>{f.push(Tf``)})}),Object.entries(y).filter(([v,k])=>k.length>1).map(([v,k])=>{let O=k.filter(F=>k.some(z=>m8e(F,z,s)));return[Number(v),O]}).map(([v,k])=>{k.sort((F,z)=>FW.some(j=>m8e(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(Tf``)})}),f}},X2n=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)}`,Z2n=Object.defineProperty,epn=Object.getOwnPropertyDescriptor,P_=(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&&Z2n(e,n,r),r},Lh=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=ap.state.themeMode==="light"?this.size:this.size-36;return Tf`${J2n.generate(this.uri,t,t/4)}`}render(){let t={"wcm-dark":ap.state.themeMode==="dark"};return q0`
${this.walletId||this.imageUrl?q0``:tr.WALLET_CONNECT_ICON_COLORED} ${this.svgTemplate()}
`}};Lh.styles=[ha.globalCss,X2n],P_([sn()],Lh.prototype,"uri",2),P_([sn({type:Number})],Lh.prototype,"size",2),P_([sn()],Lh.prototype,"imageId",2),P_([sn()],Lh.prototype,"walletId",2),P_([sn()],Lh.prototype,"imageUrl",2),Lh=P_([pa("wcm-qrcode")],Lh);tpn=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)}`,npn=Object.defineProperty,apn=Object.getOwnPropertyDescriptor,$u0=(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},MV=class extends Tn{constructor(){super(...arguments),this.onChange=()=>null}render(){return q0` ${tr.SEARCH_ICON}`}};MV.styles=[ha.globalCss,tpn],$u0([sn()],MV.prototype,"onChange",2),MV=$u0([pa("wcm-search-input")],MV);rpn=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)}`,fpn=Object.defineProperty,ipn=Object.getOwnPropertyDescriptor,spn=(t,e,n,a)=>{for(var r=a>1?void 0:a?ipn(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&&fpn(e,n,r),r},b8e=class extends Tn{render(){return q0``}};b8e.styles=[ha.globalCss,rpn],b8e=spn([pa("wcm-spinner")],b8e);opn=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)}`,cpn=Object.defineProperty,dpn=Object.getOwnPropertyDescriptor,y8e=(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},pD=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``}};pD.styles=[ha.globalCss,opn],y8e([sn()],pD.prototype,"variant",2),y8e([sn()],pD.prototype,"color",2),pD=y8e([pa("wcm-text")],pD);lpn=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}`,upn=Object.defineProperty,ppn=Object.getOwnPropertyDescriptor,t4=(t,e,n,a)=>{for(var r=a>1?void 0:a?ppn(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&&upn(e,n,r),r},ip=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(){G2e.click({name:"WALLET_BUTTON",walletId:this.walletId}),this.onClick()}render(){var t;return q0``}};ip.styles=[ha.globalCss,lpn],t4([sn()],ip.prototype,"onClick",2),t4([sn()],ip.prototype,"name",2),t4([sn()],ip.prototype,"walletId",2),t4([sn()],ip.prototype,"label",2),t4([sn()],ip.prototype,"imageId",2),t4([sn({type:Boolean})],ip.prototype,"installed",2),t4([sn({type:Boolean})],ip.prototype,"recent",2),ip=t4([pa("wcm-wallet-button")],ip);hpn=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)}`,mpn=Object.defineProperty,bpn=Object.getOwnPropertyDescriptor,BV=(t,e,n,a)=>{for(var r=a>1?void 0:a?bpn(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&&mpn(e,n,r),r},L_=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}`}};L_.styles=[ha.globalCss,hpn],BV([sn()],L_.prototype,"walletId",2),BV([sn()],L_.prototype,"imageId",2),BV([sn()],L_.prototype,"imageUrl",2),L_=BV([pa("wcm-wallet-image")],L_);ypn=Object.defineProperty,gpn=Object.getOwnPropertyDescriptor,Ju0=(t,e,n,a)=>{for(var r=a>1?void 0:a?gpn(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&&ypn(e,n,r),r},g8e=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(lc.state.enableExplorer){await uc.getRecomendedWallets(),Pf.setIsDataLoaded(!0);let{recomendedWallets:t}=uc.state,e=t.map(n=>Zt.getWalletIcon(n));await this.loadImages(e)}else Pf.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),kh.openToast("Failed preloading","error")}}};Ju0([pc()],g8e.prototype,"preload",2),g8e=Ju0([pa("wcm-explorer-context")],g8e);vpn=Object.defineProperty,wpn=Object.getOwnPropertyDescriptor,Tpn=(t,e,n,a)=>{for(var r=a>1?void 0:a?wpn(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&&vpn(e,n,r),r},Xu0=class extends Tn{constructor(){super(),this.unsubscribeTheme=void 0,ha.setTheme(),this.unsubscribeTheme=ap.subscribe(ha.setTheme)}disconnectedCallback(){var t;(t=this.unsubscribeTheme)==null||t.call(this)}};Xu0=Tpn([pa("wcm-theme-context")],Xu0);xpn=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)}`,Epn=Object.defineProperty,_pn=Object.getOwnPropertyDescriptor,Apn=(t,e,n,a)=>{for(var r=a>1?void 0:a?_pn(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&&Epn(e,n,r),r},v8e=class extends Tn{onGoToQrcode(){wf.push("Qrcode")}render(){let{recomendedWallets:t}=uc.state,e=[...t,...t],n=gt.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`}};v8e.styles=[ha.globalCss,xpn],v8e=Apn([pa("wcm-android-wallet-selection")],v8e);Cpn=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}`,Ipn=Object.defineProperty,kpn=Object.getOwnPropertyDescriptor,F_=(t,e,n,a)=>{for(var r=a>1?void 0:a?kpn(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},n4=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=ap.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}`}};n4.styles=[ha.globalCss,Cpn],F_([sn()],n4.prototype,"walletId",2),F_([sn()],n4.prototype,"imageId",2),F_([sn({type:Boolean})],n4.prototype,"isError",2),F_([sn({type:Boolean})],n4.prototype,"isStale",2),F_([sn()],n4.prototype,"label",2),n4=F_([pa("wcm-connector-waiting")],n4);U_={manualWallets(){var t,e;let{mobileWallets:n,desktopWallets:a}=lc.state,r=(t=U_.recentWallet())==null?void 0:t.id,f=gt.isMobile()?n:a,i=f?.filter(s=>r!==s.id);return(e=gt.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=U_.recentWallet())==null?void 0:e.id,{recomendedWallets:a}=uc.state;return a.filter(r=>n!==r.id)}},a4={onConnecting(t){Zt.goToConnectingView(t)},manualWalletsTemplate(){return U_.manualWallets().map(t=>q0``)},recomendedWalletsTemplate(t=!1){return U_.recomendedWallets(t).map(e=>q0``)},recentWalletTemplate(){let t=U_.recentWallet();if(t)return q0``}},Spn=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)}`,Rpn=Object.defineProperty,Mpn=Object.getOwnPropertyDescriptor,Bpn=(t,e,n,a)=>{for(var r=a>1?void 0:a?Mpn(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&&Rpn(e,n,r),r},w8e=class extends Tn{render(){let{explorerExcludedWalletIds:t,enableExplorer:e}=lc.state,n=t!=="ALL"&&e,a=a4.manualWalletsTemplate(),r=a4.recomendedWalletsTemplate(),f=[a4.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}`}};w8e.styles=[ha.globalCss,Spn],w8e=Bpn([pa("wcm-desktop-wallet-selection")],w8e);Dpn=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}}`,Ppn=Object.defineProperty,Lpn=Object.getOwnPropertyDescriptor,Fpn=(t,e,n,a)=>{for(var r=a>1?void 0:a?Lpn(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&&Ppn(e,n,r),r},T8e=class extends Tn{render(){let{termsOfServiceUrl:t,privacyPolicyUrl:e}=lc.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}};T8e.styles=[ha.globalCss,Dpn],T8e=Fpn([pa("wcm-legal-notice")],T8e);Npn=Ia`div{display:grid;grid-template-columns:repeat(4,80px);margin:0 -10px;justify-content:space-between;row-gap:10px}`,Opn=Object.defineProperty,Upn=Object.getOwnPropertyDescriptor,Hpn=(t,e,n,a)=>{for(var r=a>1?void 0:a?Upn(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&&Opn(e,n,r),r},x8e=class extends Tn{onQrcode(){wf.push("Qrcode")}render(){let{explorerExcludedWalletIds:t,enableExplorer:e}=lc.state,n=t!=="ALL"&&e,a=a4.manualWalletsTemplate(),r=a4.recomendedWalletsTemplate(),f=[a4.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}`}};x8e.styles=[ha.globalCss,Npn],x8e=Hpn([pa("wcm-mobile-wallet-selection")],x8e);zpn=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}}`,Wpn=Object.defineProperty,qpn=Object.getOwnPropertyDescriptor,E8e=(t,e,n,a)=>{for(var r=a>1?void 0:a?qpn(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&&Wpn(e,n,r),r},O_=class extends Tn{constructor(){super(),this.open=!1,this.active=!1,this.unsubscribeModal=void 0,this.abortController=void 0,this.unsubscribeModal=Ih.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&&Ih.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([Bh(this.overlayEl,{opacity:[0,1]},{delay:e,duration:n}).finished,Bh(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([Bh(this.overlayEl,{opacity:[1,0]},{duration:e}).finished,Bh(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"?Ih.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}
`}};O_.styles=[ha.globalCss,zpn],E8e([pc()],O_.prototype,"open",2),E8e([pc()],O_.prototype,"active",2),O_=E8e([pa("wcm-modal")],O_);jpn=Ia`div{display:flex;margin-top:15px}slot{display:inline-block;margin:0 5px}wcm-button{margin:0 5px}`,Gpn=Object.defineProperty,Kpn=Object.getOwnPropertyDescriptor,hD=(t,e,n,a)=>{for(var r=a>1?void 0:a?Kpn(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&&Gpn(e,n,r),r},yg=class extends Tn{constructor(){super(...arguments),this.isMobile=!1,this.isDesktop=!1,this.isWeb=!1,this.isRetry=!1}onMobile(){gt.isMobile()?wf.replace("MobileConnecting"):wf.replace("MobileQrcodeConnecting")}onDesktop(){wf.replace("DesktopConnecting")}onWeb(){wf.replace("WebConnecting")}render(){return q0`
${this.isRetry?q0``:null} ${this.isMobile?q0`Mobile`:null} ${this.isDesktop?q0`Desktop`:null} ${this.isWeb?q0`Web`:null}
`}};yg.styles=[ha.globalCss,jpn],hD([sn({type:Boolean})],yg.prototype,"isMobile",2),hD([sn({type:Boolean})],yg.prototype,"isDesktop",2),hD([sn({type:Boolean})],yg.prototype,"isWeb",2),hD([sn({type:Boolean})],yg.prototype,"isRetry",2),yg=hD([pa("wcm-platform-selection")],yg);Qpn=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)}`,Vpn=Object.defineProperty,Ypn=Object.getOwnPropertyDescriptor,$pn=(t,e,n,a)=>{for(var r=a>1?void 0:a?Ypn(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&&Vpn(e,n,r),r},_8e=class extends Tn{onClick(){wf.push("WalletExplorer")}render(){let{recomendedWallets:t}=uc.state,e=U_.manualWallets(),n=[...t,...e].reverse().slice(0,4);return q0``}};_8e.styles=[ha.globalCss,Qpn],_8e=$pn([pa("wcm-view-all-wallets-button")],_8e);Jpn=Ia`.wcm-qr-container{width:100%;display:flex;justify-content:center;align-items:center;aspect-ratio:1/1}`,Xpn=Object.defineProperty,Zpn=Object.getOwnPropertyDescriptor,DV=(t,e,n,a)=>{for(var r=a>1?void 0:a?Zpn(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&&Xpn(e,n,r),r},N_=class extends Tn{constructor(){super(),this.walletId="",this.imageId="",this.uri="",setTimeout(()=>{let{walletConnectUri:t}=Pf.state;this.uri=t},0)}get overlayEl(){return Zt.getShadowRootElement(this,".wcm-qr-container")}render(){return q0`
${this.uri?q0``:q0``}
`}};N_.styles=[ha.globalCss,Jpn],DV([sn()],N_.prototype,"walletId",2),DV([sn()],N_.prototype,"imageId",2),DV([pc()],N_.prototype,"uri",2),N_=DV([pa("wcm-walletconnect-qr")],N_);e8n=Object.defineProperty,t8n=Object.getOwnPropertyDescriptor,n8n=(t,e,n,a)=>{for(var r=a>1?void 0:a?t8n(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&&e8n(e,n,r),r},A8e=class extends Tn{viewTemplate(){return gt.isAndroid()?q0``:gt.isMobile()?q0``:q0``}render(){return q0`${this.viewTemplate()}`}};A8e.styles=[ha.globalCss],A8e=n8n([pa("wcm-connect-wallet-view")],A8e);a8n=Ia`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`,r8n=Object.defineProperty,f8n=Object.getOwnPropertyDescriptor,Zu0=(t,e,n,a)=>{for(var r=a>1?void 0:a?f8n(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&&r8n(e,n,r),r},PV=class extends Tn{constructor(){super(),this.isError=!1,this.openDesktopApp()}onFormatAndRedirect(t){let{desktop:e,name:n}=gt.getWalletRouterData(),a=e?.native;if(a){let r=gt.formatNativeUrl(a,t,n);gt.openHref(r,"_self")}}openDesktopApp(){let{walletConnectUri:t}=Pf.state,e=gt.getWalletRouterData();Zt.setRecentWallet(e),t&&this.onFormatAndRedirect(t)}render(){let{name:t,id:e,image_id:n}=gt.getWalletRouterData(),{isMobile:a,isWeb:r}=Zt.getCachedRouterWalletPlatforms();return q0`${`Connection can continue loading if ${t} is not installed on your device`}Retry`}};PV.styles=[ha.globalCss,a8n],Zu0([pc()],PV.prototype,"isError",2),PV=Zu0([pa("wcm-desktop-connecting-view")],PV);i8n=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}`,s8n=Object.defineProperty,o8n=Object.getOwnPropertyDescriptor,c8n=(t,e,n,a)=>{for(var r=a>1?void 0:a?o8n(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&&s8n(e,n,r),r},C8e=class extends Tn{onInstall(t){t&>.openHref(t,"_blank")}render(){let{name:t,id:e,image_id:n,homepage:a}=gt.getWalletRouterData();return q0`${`Download ${t} to continue. If multiple browser extensions are installed, disable non ${t} ones and try again`}Download`}};C8e.styles=[ha.globalCss,i8n],C8e=c8n([pa("wcm-install-wallet-view")],C8e);d8n=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)}`,l8n=Object.defineProperty,u8n=Object.getOwnPropertyDescriptor,e20=(t,e,n,a)=>{for(var r=a>1?void 0:a?u8n(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&&l8n(e,n,r),r},LV=class extends Tn{constructor(){super(),this.isError=!1,this.openMobileApp()}onFormatAndRedirect(t,e=!1){let{mobile:n,name:a}=gt.getWalletRouterData(),r=n?.native,f=n?.universal;if(r&&!e){let i=gt.formatNativeUrl(r,t,a);gt.openHref(i,"_self")}else if(f){let i=gt.formatUniversalUrl(f,t,a);gt.openHref(i,"_self")}}openMobileApp(t=!1){let{walletConnectUri:e}=Pf.state,n=gt.getWalletRouterData();Zt.setRecentWallet(n),e&&this.onFormatAndRedirect(e,t)}onGoToAppStore(t){t&>.openHref(t,"_blank")}render(){let{name:t,id:e,image_id:n,app:a,mobile:r}=gt.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
`}};LV.styles=[ha.globalCss,d8n],e20([pc()],LV.prototype,"isError",2),LV=e20([pa("wcm-mobile-connecting-view")],LV);p8n=Ia`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`,h8n=Object.defineProperty,m8n=Object.getOwnPropertyDescriptor,b8n=(t,e,n,a)=>{for(var r=a>1?void 0:a?m8n(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&&h8n(e,n,r),r},I8e=class extends Tn{render(){let{name:t,id:e,image_id:n}=gt.getWalletRouterData(),{isDesktop:a,isWeb:r}=Zt.getCachedRouterWalletPlatforms();return q0`${`Scan this QR Code with your phone's camera or inside ${t} app`}`}};I8e.styles=[ha.globalCss,p8n],I8e=b8n([pa("wcm-mobile-qr-connecting-view")],I8e);y8n=Object.defineProperty,g8n=Object.getOwnPropertyDescriptor,v8n=(t,e,n,a)=>{for(var r=a>1?void 0:a?g8n(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&&y8n(e,n,r),r},k8e=class extends Tn{render(){return q0``}};k8e.styles=[ha.globalCss],k8e=v8n([pa("wcm-qrcode-view")],k8e);w8n=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}`,T8n=Object.defineProperty,x8n=Object.getOwnPropertyDescriptor,mD=(t,e,n,a)=>{for(var r=a>1?void 0:a?x8n(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&&T8n(e,n,r),r},S8e=40,gg=class extends Tn{constructor(){super(...arguments),this.loading=!uc.state.wallets.listings.length,this.firstFetch=!uc.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,uc.resetSearch(),this.fetchWallets()):this.search&&(this.search="",this.endReached=this.isLastPage(),uc.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}=uc.state,{listings:n,total:a}=this.search?e:t;return a<=S8e||n.length>=a}async fetchWallets(){var t;let{wallets:e,search:n}=uc.state,{listings:a,total:r,page:f}=this.search?n:e;if(!this.endReached&&(this.firstFetch||r>S8e&&a.lengthZt.getWalletIcon(c));await Promise.all([...o.map(async c=>Zt.preloadImage(c)),gt.wait(300)]),this.endReached=this.isLastPage()}catch(i){console.error(i),kh.openToast(Zt.getErrorMessage(i),"error")}finally{this.loading=!1,this.firstFetch=!1}}onConnect(t){gt.isAndroid()?Zt.handleMobileLinking(t):Zt.goToConnectingView(t)}onSearchChange(t){let{value:e}=t.target;this.searchDebounce(e)}render(){let{wallets:t,search:e}=uc.state,{listings:n}=this.search?e:t,a=this.loading&&!n.length,r=this.search.length>=3,f=a4.manualWalletsTemplate(),i=a4.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}
`}};gg.styles=[ha.globalCss,w8n],mD([pc()],gg.prototype,"loading",2),mD([pc()],gg.prototype,"firstFetch",2),mD([pc()],gg.prototype,"search",2),mD([pc()],gg.prototype,"endReached",2),gg=mD([pa("wcm-wallet-explorer-view")],gg);E8n=Ia`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`,_8n=Object.defineProperty,A8n=Object.getOwnPropertyDescriptor,t20=(t,e,n,a)=>{for(var r=a>1?void 0:a?A8n(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&&_8n(e,n,r),r},FV=class extends Tn{constructor(){super(),this.isError=!1,this.openWebWallet()}onFormatAndRedirect(t){let{desktop:e,name:n}=gt.getWalletRouterData(),a=e?.universal;if(a){let r=gt.formatUniversalUrl(a,t,n);gt.openHref(r,"_blank")}}openWebWallet(){let{walletConnectUri:t}=Pf.state,e=gt.getWalletRouterData();Zt.setRecentWallet(e),t&&this.onFormatAndRedirect(t)}render(){let{name:t,id:e,image_id:n}=gt.getWalletRouterData(),{isMobile:a,isDesktop:r}=Zt.getCachedRouterWalletPlatforms(),f=gt.isMobile();return q0`${`${t} web app has opened in a new tab. Go there, accept the connection, and come back`}Retry`}};FV.styles=[ha.globalCss,E8n],t20([pc()],FV.prototype,"isError",2),FV=t20([pa("wcm-web-connecting-view")],FV)});var f20={};G0(f20,{WalletConnectModal:()=>R8e});var R8e,i20=oe(()=>{u();p();K2e();R8e=class{constructor(e){this.openModal=Ih.open,this.closeModal=Ih.close,this.subscribeModal=Ih.subscribe,this.setTheme=ap.setThemeConfig,ap.setThemeConfig(e),lc.setConfig(e),this.initUi()}async initUi(){if(typeof window<"u"){await Promise.resolve().then(()=>(r20(),a20));let e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),Pf.setIsUiLoaded(!0)}}}});var u20={};G0(u20,{EthereumProvider:()=>F8n,OPTIONAL_EVENTS:()=>l20,OPTIONAL_METHODS:()=>d20,REQUIRED_EVENTS:()=>UV,REQUIRED_METHODS:()=>OV,default:()=>zV});function HV(t){return Number(t[0].split(":")[1])}function NV(t){return`0x${t.toString(16)}`}function L8n(t){let{chains:e,optionalChains:n,methods:a,optionalMethods:r,events:f,optionalEvents:i,rpcMap:s}=t;if(!z6(e))throw new Error("Invalid chains");let o={chains:e,methods:a||OV,events:f||UV,rpcMap:H_({},e.length?{[HV(e)]:s[HV(e)]}:{})},c=f?.filter(y=>!UV.includes(y)),d=a?.filter(y=>!OV.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:d20))],events:[...new Set(o.events.concat(i!=null&&i.length?i:l20))],rpcMap:s};return{required:e.length?o:void 0,optional:n.length?h:void 0}}var c20,C8n,I8n,k8n,S8n,OV,d20,UV,l20,R8n,M8n,B8n,s20,D8n,P8n,o20,H_,M8e,zV,F8n,p20=oe(()=>{u();p();c20=Ee(Or());BB();R50();C8n="wc",I8n="ethereum_provider",k8n=`${C8n}@2:${I8n}:`,S8n="https://rpc.walletconnect.com/v1/",OV=["eth_sendTransaction","personal_sign"],d20=["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"],UV=["chainChanged","accountsChanged"],l20=["chainChanged","accountsChanged","message","disconnect","connect"],R8n=Object.defineProperty,M8n=Object.defineProperties,B8n=Object.getOwnPropertyDescriptors,s20=Object.getOwnPropertySymbols,D8n=Object.prototype.hasOwnProperty,P8n=Object.prototype.propertyIsEnumerable,o20=(t,e,n)=>e in t?R8n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,H_=(t,e)=>{for(var n in e||(e={}))D8n.call(e,n)&&o20(t,n,e[n]);if(s20)for(var n of s20(e))P8n.call(e,n)&&o20(t,n,e[n]);return t},M8e=(t,e)=>M8n(t,B8n(e));zV=class t{constructor(){this.events=new c20.EventEmitter,this.namespace="eip155",this.accounts=[],this.chainId=1,this.STORAGE_KEY=k8n,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}=L8n(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(M8e(H_({namespaces:H_({},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=nue(r.namespaces,[this.namespace]);this.setChainIds(this.rpc.chains.length?this.rpc.chains:f),this.setAccounts(f),this.events.emit("connect",{chainId:NV(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(M8e(H_({},e),{chains:this.rpc.chains})).then(s=>{r(s)}).catch(s=>{f(new Error(s.message))})}),a=n.session;if(a){let r=nue(a.namespaces,[this.namespace]);this.setChainIds(this.rpc.chains.length?this.rpc.chains:r),this.setAccounts(r),this.events.emit("connect",{chainId:NV(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",NV(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",M8e(H_({},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",NV(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||OV:[],o=r.length?e?.events||UV:[],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?HV(this.rpc.chains):HV(this.rpc.optionalChains),this.signer=await S50.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(()=>(i20(),f20));n=a}catch{throw new Error("To use QR modal, please install @walletconnect/modal package")}if(n)try{this.modal=new n(H_({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&&z6(n)&&(this.rpc.chains=n.map(f=>this.formatChainId(f)),n.forEach(f=>{this.rpc.rpcMap[f]=r?.[f]||this.getRpcUrl(f)})),a&&z6(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])||`${S8n}?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))}},F8n=zV});var j6={};G0(j6,{WalletConnectConnector:()=>P8e});var Fh,N8n,h20,m20,B8e,D8e,P8e,G6=oe(()=>{"use strict";u();p();Ct();mo();Fh=Ee(Je());wn();uh();U9();W0();N8n=new Set([1,137,10,42161,56]),h20="eip155",m20="wagmi.requestedChains",B8e="wallet_addEthereumChain",D8e="last-used-chain-id",P8e=class extends t6{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:Fh.utils.getAddress(n[0])})}),Pe(this,"onChainChanged",async n=>{let a=Number(n),r=this.isChainUnsupported(a);await this._storage.setItem(D8e,String(n)),this.emit("change",{chain:{id:a,unsupported:r}})}),Pe(this,"onDisconnect",async()=>{await this._setRequestedChainsIds([]),await this._storage.removeItem(D8e),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=>N8n.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(D8e),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=Fh.utils.getAddress(f[0]),s=await this.getChainId(),o=this.isChainUnsupported(s);return{account:i,chain:{id:s,unsupported:o},provider:new Fh.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 Fh.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 Fh.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 ic(`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(B8e)){let s=n.explorers&&n.explorers[0],o=s?{blockExplorerUrls:[s.url]}:{};await a.request({method:B8e,params:[{chainId:Fh.utils.hexValue(n.chainId),chainName:n.name,nativeCurrency:n.nativeCurrency,rpcUrls:F2(n),...o}]});let c=await this._getRequestedChainsIds();c.push(e),await this._setRequestedChainsIds(c)}return await a.request({method:"wallet_switchEthereumChain",params:[{chainId:Fh.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 ic(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(()=>(p20(),u20)),[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,methods:["eth_sendTransaction","personal_sign","eth_signTypedData_v4"],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(B8e)||!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(m20,JSON.stringify(e))}async _getRequestedChainsIds(){let e=await this._storage.getItem(m20);return e?JSON.parse(e):[]}_getNamespaceChainsIds(){return this._provider?this._provider.session?.namespaces[h20]?.chains?.map(n=>parseInt(n.split(":")[1]||""))??[]:[]}_getNamespaceMethods(){return this._provider?this._provider.session?.namespaces[h20]?.methods??[]:[]}}});function WV(){if(globalThis.window&&globalThis.window.xfi&&globalThis.window.xfi.ethereum)return globalThis.window.xfi.ethereum}var L8e=oe(()=>{"use strict";u();p()});function qV(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.okxwallet)return window.okxwallet}var F8e=oe(()=>{"use strict";u();p();h1()});var y20={};G0(y20,{OKXConnector:()=>N8e});var b20,N8e,g20=oe(()=>{"use strict";u();p();Ct();mo();wn();m1();b20=Ee(Je());F8e();W0();N8e=class extends Ga{constructor(e){let a={...{name:"OKX",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:qV},...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=b20.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 GV(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.avalanche)return window.avalanche}var O8e=oe(()=>{"use strict";u();p();h1()});var w20={};G0(w20,{CoreWalletConnector:()=>U8e});var v20,U8e,T20=oe(()=>{"use strict";u();p();Ct();mo();wn();m1();v20=Ee(Je());O8e();W0();U8e=class extends Ga{constructor(e){let a={...{name:"Core Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:GV},...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=v20.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 QV(){if(Za(globalThis.window)&&globalThis.window.$onekey&&globalThis.window.$onekey.ethereum)return globalThis.window.$onekey.ethereum}var H8e=oe(()=>{"use strict";u();p();h1()});var E20={};G0(E20,{OneKeyConnector:()=>z8e});var x20,z8e,_20=oe(()=>{"use strict";u();p();Ct();mo();wn();m1();x20=Ee(Je());H8e();W0();z8e=class extends Ga{constructor(e){let a={...{name:"OneKey Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:QV},...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=x20.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 YV(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.deficonnectProvider)return window.deficonnectProvider}var W8e=oe(()=>{"use strict";u();p();h1()});var C20={};G0(C20,{CryptoDefiWalletConnector:()=>q8e});var A20,q8e,I20=oe(()=>{"use strict";u();p();Ct();mo();wn();m1();A20=Ee(Je());W8e();W0();q8e=class extends Ga{constructor(e){let a={...{name:"Crypto Defi Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:YV},...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=A20.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 j8e=oe(()=>{"use strict";u();p();h1()});var S20={};G0(S20,{RabbyConnector:()=>G8e});var k20,G8e,R20=oe(()=>{"use strict";u();p();Ct();mo();wn();m1();k20=Ee(Je());j8e();W0();G8e=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=k20.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 XV(){if(Za(globalThis.window)&&window.coin98)return window.ethereum}var K8e=oe(()=>{"use strict";u();p();h1()});var B20={};G0(B20,{Coin98Connector:()=>Q8e});var M20,Q8e,D20=oe(()=>{"use strict";u();p();Ct();mo();wn();m1();M20=Ee(Je());K8e();W0();Q8e=class extends Ga{constructor(e){let a={...{name:"Coin98 Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:XV},...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=M20.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 eY(){if(globalThis.window&&globalThis.window.magicEden&&globalThis.window.magicEden.ethereum)return globalThis.window.magicEden.ethereum}var V8e=oe(()=>{"use strict";u();p()});function tY(){let t=window.phantom?.ethereum;if(t?.isPhantom)return t}var Y8e=oe(()=>{"use strict";u();p()});function nY(){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 $8e=oe(()=>{"use strict";u();p();h1()});var K20={};G0(K20,{AUTH_TOKEN_LOCAL_STORAGE_NAME:()=>fY,AuthProvider:()=>U20,DEVICE_SHARE_LOCAL_STORAGE_NAME:()=>iY,DEVICE_SHARE_LOCAL_STORAGE_NAME_DEPRECATED:()=>G8n,PaperEmbeddedWalletSdk:()=>thn,RecoveryShareManagement:()=>bD,UserStatus:()=>W_,UserWalletStatus:()=>H20,WALLET_USER_DETAILS_LOCAL_STORAGE_NAME:()=>q8n,WALLET_USER_ID_LOCAL_STORAGE_NAME:()=>rY});function aY(t){return new Promise(e=>{setTimeout(e,t*1e3)})}function Y8n({clientId:t,path:e,queryParams:n}){var a;let r=new URL(e,H2());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 W20,q20,j20,O8n,U8n,H8n,P20,z8n,W8n,L20,r4,sY,xt,oY,JKa,q8n,rY,j8n,fY,O20,iY,G8n,bD,U20,W_,H20,F20,X8e,K8n,J8e,Q8n,V8n,$8n,z20,J8n,X8n,Z8n,N20,G20,ehn,thn,Z8e=oe(()=>{u();p();ZE();ZE();ZE();W20=Ee(oz(),1);ZE();q20=Ee(i8(),1),j20=Ee(Ba(),1),O8n=Object.defineProperty,U8n=Object.defineProperties,H8n=Object.getOwnPropertyDescriptors,P20=Object.getOwnPropertySymbols,z8n=Object.prototype.hasOwnProperty,W8n=Object.prototype.propertyIsEnumerable,L20=(t,e,n)=>e in t?O8n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,r4=(t,e)=>{for(var n in e||(e={}))z8n.call(e,n)&&L20(t,n,e[n]);if(P20)for(var n of P20(e))W8n.call(e,n)&&L20(t,n,e[n]);return t},sY=(t,e)=>U8n(t,H8n(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())}),oY="/sdk/2022-08-12/embedded-wallet",JKa=`${oY}/auth/headless-google-login-managed`,q8n=t=>`paperEwsWalletUserDetails-${t}`,rY=t=>`paperEwsWalletUserId-${t}`,j8n="walletToken",fY=t=>`${j8n}-${t}`,O20="a",iY=(t,e)=>`${O20}-${t}-${e}`,G8n=t=>`${O20}-${t}`,bD=(t=>(t.USER_MANAGED="USER_MANAGED",t.AWS_MANAGED="AWS_MANAGED",t))(bD||{}),U20=(t=>(t.PAPER_EMAIL_OTP="PaperEmailOTP",t.GOOGLE="Google",t.TWITTER="Twitter",t.COGNITO="Cognito",t.AUTH0="Auth0",t.CUSTOM_JWT="CustomJWT",t))(U20||{}),W_=(t=>(t.LOGGED_OUT="Logged Out",t.LOGGED_IN_WALLET_INITIALIZED="Logged In, Wallet Initialized",t))(W_||{}),H20=(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))(H20||{}),F20=new Map,X8e=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=F20.get(t))!=null?e:null})}setItem(t,e){return xt(this,null,function*(){if(this.isSupported)return window.localStorage.setItem(t,e);F20.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(fY(this.clientId),t)})}getAuthCookie(){return xt(this,null,function*(){return this.getItem(fY(this.clientId))})}removeAuthCookie(){return xt(this,null,function*(){return this.removeItem(fY(this.clientId))})}saveDeviceShare(t,e){return xt(this,null,function*(){yield this.saveWalletUserId(e),yield this.setItem(iY(this.clientId,e),t)})}getDeviceShare(){return xt(this,null,function*(){let t=yield this.getWalletUserId();return t?this.getItem(iY(this.clientId,t)):null})}removeDeviceShare(){return xt(this,null,function*(){let t=yield this.getWalletUserId();return t?this.removeItem(iY(this.clientId,t)):!1})}getWalletUserId(){return xt(this,null,function*(){return this.getItem(rY(this.clientId))})}saveWalletUserId(t){return xt(this,null,function*(){yield this.setItem(rY(this.clientId),t)})}removeWalletUserId(){return xt(this,null,function*(){return this.removeItem(rY(this.clientId))})}};K8n={height:"100%",width:"100%",border:"none",backgroundColor:"transparent",colorScheme:"light",position:"fixed",top:"0px",right:"0px",zIndex:"2147483646",display:"none"},J8e=new Map,Q8n=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=r4(r4({},K8n),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 aY(e),(f=t?.contentWindow)==null||f.postMessage({eventType:"initIframe",data:yield this.onIframeLoadedInitVariables()},`${H2()}${oY}`,[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 aY(this.POLLING_INTERVAL_SECONDS);return a&&(this.iframe.style.display="block",yield aY(.005)),new Promise((f,i)=>{var s;if(r.isInjectRecoveryCode){let c=d=>xt(this,null,function*(){var l,h;if(d.origin!==H2()||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},H2()),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 aY(.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},`${H2()}${oY}`,[o.port2])})})}destroy(){J8e.delete(this.iframe.src)}},V8n=class extends Q8n{constructor({clientId:t,customizationOptions:e}){super({iframeId:$8n,link:Y8n({clientId:t,path:oY,queryParams:e}).href,container:document.body}),this.clientId=t}onIframeLoadedInitVariables(){return xt(this,null,function*(){let t=new X8e({clientId:this.clientId});return{authCookie:yield t.getAuthCookie(),deviceShareStored:yield t.getDeviceShare(),walletUserId:yield t.getWalletUserId(),clientId:this.clientId}})}};$8n="paper-embedded-wallet-iframe",z20=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}})}},J8n=class extends z20{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===H2()){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},H2());break}}}});window.addEventListener("message",o)});return this.postLogin({storedToken:sY(r4({},r.storedToken),{shouldStoreCookieString:!0}),walletDetails:sY(r4({},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)})}},X8n=class extends z20{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)})}},Z8n=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 X8e({clientId:t}),this.onAuthSuccess=a,this.userManagedLogin=new X8n({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 J8n({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}})}},N20=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}}})})}},G20=class extends q20.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,j20.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 G20({clientId:this.clientId,provider:t,querier:this.querier})}},ehn=class{constructor({clientId:t,chain:e,querier:n}){this.clientId=t,this.chain=e,this.walletManagerQuerier=n,this.gasless=new N20({chain:e,clientId:t,querier:n}),this.localStorage=new X8e({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:sY(r4({},t.user),{wallet:this})}:t})}setChain(t){return xt(this,arguments,function*({chain:e}){this.chain=e,this.gasless=new N20({chain:e,clientId:this.clientId,querier:this.walletManagerQuerier})})}getEthersJsSigner(t){return xt(this,null,function*(){var e;return new G20({clientId:this.clientId,provider:(0,W20.getDefaultProvider)((e=t?.rpcEndpoint)!=null?e:tQ[this.chain]),querier:this.walletManagerQuerier})})}},thn=class{constructor({clientId:t,chain:e,styles:n,advancedOptions:a,onAuthSuccess:r}){this.clientId=t,this.querier=new V8n({clientId:t,customizationOptions:n}),this.wallet=new ehn({clientId:t,chain:e,querier:this.querier}),this.auth=new Z8n({clientId:t,advancedOptions:r4({recoveryShareManagement:"USER_MANAGED"},a??{}),querier:this.querier,onAuthSuccess:f=>xt(this,null,function*(){return yield this.wallet.postWalletSetUp(sY(r4({},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 r4({status:"Logged In, Wallet Initialized"},t.user)}})}}});var V20={};G0(V20,{PaperWalletConnector:()=>ehe});var Q20,ehe,Y20=oe(()=>{"use strict";u();p();Ct();Z8e();Q20=Ee(Je());lh();wn();Mr();W0();ehe=class extends sc{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:Q20.utils.getAddress(n[0])})}),Pe(this,"onChainChanged",n=>{let a=wi(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(()=>(Z8e(),K20)),f={AWS_MANAGED:bD.AWS_MANAGED,USER_MANAGED:bD.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 W_.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 W_.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 W_.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 $20=D(cY=>{"use strict";u();p();Object.defineProperty(cY,"__esModule",{value:!0});cY.walletLogo=void 0;var nhn=(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 `}};cY.walletLogo=nhn});var J20=D(dY=>{"use strict";u();p();Object.defineProperty(dY,"__esModule",{value:!0});dY.LINK_API_URL=void 0;dY.LINK_API_URL="https://www.walletlink.org"});var gD=D(q_=>{"use strict";u();p();Object.defineProperty(q_,"__esModule",{value:!0});q_.errorValues=q_.standardErrorCodes=void 0;q_.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}};q_.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 uY=D(K6=>{"use strict";u();p();Object.defineProperty(K6,"__esModule",{value:!0});K6.serialize=K6.getErrorCode=K6.isValidCode=K6.getMessageFromCode=K6.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;var lY=gD(),ep0="Unspecified error message.";K6.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.";function tp0(t,e=ep0){if(t&&Number.isInteger(t)){let n=t.toString();if(the(lY.errorValues,n))return lY.errorValues[n].message;if(ap0(t))return K6.JSON_RPC_SERVER_ERROR_MESSAGE}return e}K6.getMessageFromCode=tp0;function np0(t){if(!Number.isInteger(t))return!1;let e=t.toString();return!!(lY.errorValues[e]||ap0(t))}K6.isValidCode=np0;function ahn(t){var e;if(typeof t=="number")return t;if(rhn(t))return(e=t.code)!==null&&e!==void 0?e:t.errorCode}K6.getErrorCode=ahn;function rhn(t){return typeof t=="object"&&t!==null&&(typeof t.code=="number"||typeof t.errorCode=="number")}function fhn(t,{shouldIncludeStack:e=!1}={}){let n={};if(t&&typeof t=="object"&&!Array.isArray(t)&&the(t,"code")&&np0(t.code)){let a=t;n.code=a.code,a.message&&typeof a.message=="string"?(n.message=a.message,the(a,"data")&&(n.data=a.data)):(n.message=tp0(n.code),n.data={originalError:X20(t)})}else n.code=lY.standardErrorCodes.rpc.internal,n.message=Z20(t,"message")?t.message:ep0,n.data={originalError:X20(t)};return e&&(n.stack=Z20(t,"stack")?t.stack:void 0),n}K6.serialize=fhn;function ap0(t){return t>=-32099&&t<=-32e3}function X20(t){return t&&typeof t=="object"&&!Array.isArray(t)?Object.assign({},t):t}function the(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Z20(t,e){return typeof t=="object"&&t!==null&&e in t&&typeof t[e]=="string"}});var ip0=D(mY=>{"use strict";u();p();Object.defineProperty(mY,"__esModule",{value:!0});mY.standardErrors=void 0;var To=gD(),rp0=uY();mY.standardErrors={rpc:{parse:t=>xd(To.standardErrorCodes.rpc.parse,t),invalidRequest:t=>xd(To.standardErrorCodes.rpc.invalidRequest,t),invalidParams:t=>xd(To.standardErrorCodes.rpc.invalidParams,t),methodNotFound:t=>xd(To.standardErrorCodes.rpc.methodNotFound,t),internal:t=>xd(To.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 xd(e,t)},invalidInput:t=>xd(To.standardErrorCodes.rpc.invalidInput,t),resourceNotFound:t=>xd(To.standardErrorCodes.rpc.resourceNotFound,t),resourceUnavailable:t=>xd(To.standardErrorCodes.rpc.resourceUnavailable,t),transactionRejected:t=>xd(To.standardErrorCodes.rpc.transactionRejected,t),methodNotSupported:t=>xd(To.standardErrorCodes.rpc.methodNotSupported,t),limitExceeded:t=>xd(To.standardErrorCodes.rpc.limitExceeded,t)},provider:{userRejectedRequest:t=>j_(To.standardErrorCodes.provider.userRejectedRequest,t),unauthorized:t=>j_(To.standardErrorCodes.provider.unauthorized,t),unsupportedMethod:t=>j_(To.standardErrorCodes.provider.unsupportedMethod,t),disconnected:t=>j_(To.standardErrorCodes.provider.disconnected,t),chainDisconnected:t=>j_(To.standardErrorCodes.provider.chainDisconnected,t),unsupportedChain:t=>j_(To.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 hY(e,n,a)}}};function xd(t,e){let[n,a]=fp0(e);return new pY(t,n||(0,rp0.getMessageFromCode)(t),a)}function j_(t,e){let[n,a]=fp0(e);return new hY(t,n||(0,rp0.getMessageFromCode)(t),a)}function fp0(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 pY=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)}},hY=class extends pY{constructor(e,n,a){if(!ihn(e))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,n,a)}};function ihn(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}});var yY=D(bY=>{"use strict";u();p();Object.defineProperty(bY,"__esModule",{value:!0});bY.isErrorResponse=void 0;function shn(t){return t.errorMessage!==void 0}bY.isErrorResponse=shn});var vY=D(gY=>{"use strict";u();p();Object.defineProperty(gY,"__esModule",{value:!0});gY.LIB_VERSION=void 0;gY.LIB_VERSION="3.9.3"});var sp0=D(wY=>{"use strict";u();p();Object.defineProperty(wY,"__esModule",{value:!0});wY.serializeError=void 0;var ohn=yY(),chn=vY(),dhn=gD(),lhn=uY();function uhn(t,e){let n=(0,lhn.serialize)(phn(t),{shouldIncludeStack:!0}),a=new URL("https://docs.cloud.coinbase.com/wallet-sdk/docs/errors");a.searchParams.set("version",chn.LIB_VERSION),a.searchParams.set("code",n.code.toString());let r=hhn(n.data,e);return r&&a.searchParams.set("method",r),a.searchParams.set("message",n.message),Object.assign(Object.assign({},n),{docUrl:a.href})}wY.serializeError=uhn;function phn(t){return typeof t=="string"?{message:t,code:dhn.standardErrorCodes.rpc.internal}:(0,ohn.isErrorResponse)(t)?Object.assign(Object.assign({},t),{message:t.errorMessage,code:t.errorCode,data:{method:t.method}}):t}function hhn(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 vD=D(Ed=>{"use strict";u();p();Object.defineProperty(Ed,"__esModule",{value:!0});Ed.standardErrors=Ed.standardErrorCodes=Ed.serializeError=Ed.getMessageFromCode=Ed.getErrorCode=void 0;var mhn=gD();Object.defineProperty(Ed,"standardErrorCodes",{enumerable:!0,get:function(){return mhn.standardErrorCodes}});var bhn=ip0();Object.defineProperty(Ed,"standardErrors",{enumerable:!0,get:function(){return bhn.standardErrors}});var yhn=sp0();Object.defineProperty(Ed,"serializeError",{enumerable:!0,get:function(){return yhn.serializeError}});var op0=uY();Object.defineProperty(Ed,"getErrorCode",{enumerable:!0,get:function(){return op0.getErrorCode}});Object.defineProperty(Ed,"getMessageFromCode",{enumerable:!0,get:function(){return op0.getMessageFromCode}})});var TD=D(T1=>{"use strict";u();p();Object.defineProperty(T1,"__esModule",{value:!0});T1.ProviderType=T1.RegExpString=T1.IntNumber=T1.BigIntString=T1.AddressString=T1.HexString=T1.OpaqueType=void 0;function wD(){return t=>t}T1.OpaqueType=wD;T1.HexString=wD();T1.AddressString=wD();T1.BigIntString=wD();function ghn(t){return Math.floor(t)}T1.IntNumber=ghn;T1.RegExpString=wD();var cp0;(function(t){t.CoinbaseWallet="CoinbaseWallet",t.MetaMask="MetaMask",t.Unselected=""})(cp0||(T1.ProviderType=cp0={}))});var sp=D(vt=>{"use strict";u();p();var vhn=vt&&vt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(vt,"__esModule",{value:!0});vt.isMobileWeb=vt.getLocation=vt.isInIFrame=vt.createQrUrl=vt.getFavicon=vt.range=vt.isBigNumber=vt.ensureParsedJSONObject=vt.ensureBN=vt.ensureRegExpString=vt.ensureIntNumber=vt.ensureBuffer=vt.ensureAddressString=vt.ensureEvenLengthHexString=vt.ensureHexString=vt.isHexString=vt.prepend0x=vt.strip0x=vt.has0xPrefix=vt.hexStringFromIntNumber=vt.intNumberFromHexString=vt.bigIntStringFromBN=vt.hexStringFromBuffer=vt.hexStringToUint8Array=vt.uint8ArrayToHex=vt.randomBytesHex=void 0;var f4=vhn(Va()),wg=vD(),_d=TD(),dp0=/^[0-9]*$/,lp0=/^[a-f0-9]*$/;function whn(t){return up0(crypto.getRandomValues(new Uint8Array(t)))}vt.randomBytesHex=whn;function up0(t){return[...t].map(e=>e.toString(16).padStart(2,"0")).join("")}vt.uint8ArrayToHex=up0;function Thn(t){return new Uint8Array(t.match(/.{1,2}/g).map(e=>parseInt(e,16)))}vt.hexStringToUint8Array=Thn;function xhn(t,e=!1){let n=t.toString("hex");return(0,_d.HexString)(e?`0x${n}`:n)}vt.hexStringFromBuffer=xhn;function Ehn(t){return(0,_d.BigIntString)(t.toString(10))}vt.bigIntStringFromBN=Ehn;function _hn(t){return(0,_d.IntNumber)(new f4.default(ED(t,!1),16).toNumber())}vt.intNumberFromHexString=_hn;function Ahn(t){return(0,_d.HexString)(`0x${new f4.default(t).toString(16)}`)}vt.hexStringFromIntNumber=Ahn;function nhe(t){return t.startsWith("0x")||t.startsWith("0X")}vt.has0xPrefix=nhe;function TY(t){return nhe(t)?t.slice(2):t}vt.strip0x=TY;function pp0(t){return nhe(t)?`0x${t.slice(2)}`:`0x${t}`}vt.prepend0x=pp0;function xD(t){if(typeof t!="string")return!1;let e=TY(t).toLowerCase();return lp0.test(e)}vt.isHexString=xD;function hp0(t,e=!1){if(typeof t=="string"){let n=TY(t).toLowerCase();if(lp0.test(n))return(0,_d.HexString)(e?`0x${n}`:n)}throw wg.standardErrors.rpc.invalidParams(`"${String(t)}" is not a hexadecimal string`)}vt.ensureHexString=hp0;function ED(t,e=!1){let n=hp0(t,!1);return n.length%2===1&&(n=(0,_d.HexString)(`0${n}`)),e?(0,_d.HexString)(`0x${n}`):n}vt.ensureEvenLengthHexString=ED;function Chn(t){if(typeof t=="string"){let e=TY(t).toLowerCase();if(xD(e)&&e.length===40)return(0,_d.AddressString)(pp0(e))}throw wg.standardErrors.rpc.invalidParams(`Invalid Ethereum address: ${String(t)}`)}vt.ensureAddressString=Chn;function Ihn(t){if(_.Buffer.isBuffer(t))return t;if(typeof t=="string"){if(xD(t)){let e=ED(t,!1);return _.Buffer.from(e,"hex")}return _.Buffer.from(t,"utf8")}throw wg.standardErrors.rpc.invalidParams(`Not binary data: ${String(t)}`)}vt.ensureBuffer=Ihn;function mp0(t){if(typeof t=="number"&&Number.isInteger(t))return(0,_d.IntNumber)(t);if(typeof t=="string"){if(dp0.test(t))return(0,_d.IntNumber)(Number(t));if(xD(t))return(0,_d.IntNumber)(new f4.default(ED(t,!1),16).toNumber())}throw wg.standardErrors.rpc.invalidParams(`Not an integer: ${String(t)}`)}vt.ensureIntNumber=mp0;function khn(t){if(t instanceof RegExp)return(0,_d.RegExpString)(t.toString());throw wg.standardErrors.rpc.invalidParams(`Not a RegExp: ${String(t)}`)}vt.ensureRegExpString=khn;function Shn(t){if(t!==null&&(f4.default.isBN(t)||bp0(t)))return new f4.default(t.toString(10),10);if(typeof t=="number")return new f4.default(mp0(t));if(typeof t=="string"){if(dp0.test(t))return new f4.default(t,10);if(xD(t))return new f4.default(ED(t,!1),16)}throw wg.standardErrors.rpc.invalidParams(`Not an integer: ${String(t)}`)}vt.ensureBN=Shn;function Rhn(t){if(typeof t=="string")return JSON.parse(t);if(typeof t=="object")return t;throw wg.standardErrors.rpc.invalidParams(`Not a JSON string or an object: ${String(t)}`)}vt.ensureParsedJSONObject=Rhn;function bp0(t){if(t==null||typeof t.constructor!="function")return!1;let{constructor:e}=t;return typeof e.config=="function"&&typeof e.EUCLID=="number"}vt.isBigNumber=bp0;function Mhn(t,e){return Array.from({length:e-t},(n,a)=>t+a)}vt.range=Mhn;function Bhn(){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}`}vt.getFavicon=Bhn;function Dhn(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}`}vt.createQrUrl=Dhn;function yp0(){try{return window.frameElement!==null}catch{return!1}}vt.isInIFrame=yp0;function Phn(){try{return yp0()&&window.top?window.top.location:window.location}catch{return window.location}}vt.getLocation=Phn;function Lhn(){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)}vt.isMobileWeb=Lhn});var gp0=D(xY=>{"use strict";u();p();Object.defineProperty(xY,"__esModule",{value:!0});xY.ScopedLocalStorage=void 0;var ahe=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}`}};xY.ScopedLocalStorage=ahe});var _Y=D(EY=>{"use strict";u();p();Object.defineProperty(EY,"__esModule",{value:!0});EY.EVENTS=void 0;EY.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 AY=D(op=>{"use strict";u();p();Object.defineProperty(op,"__esModule",{value:!0});op.RelayAbstract=op.APP_VERSION_KEY=op.LOCAL_STORAGE_ADDRESSES_KEY=op.WALLET_USER_NAME_KEY=void 0;var vp0=vD();op.WALLET_USER_NAME_KEY="walletUsername";op.LOCAL_STORAGE_ADDRESSES_KEY="Addresses";op.APP_VERSION_KEY="AppVersion";var rhe=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 vp0.standardErrors.rpc.parse({});let r=a,{error:f}=r;if(f)throw(0,vp0.serializeError)(f,e.method);return r})}};op.RelayAbstract=rhe});var IY=D(CY=>{"use strict";u();p();Object.defineProperty(CY,"__esModule",{value:!0});CY.Session=void 0;var wp0=YI(),Tp0=sp(),xp0="session:id",Ep0="session:secret",_p0="session:linked",fhe=class t{constructor(e,n,a,r){this._storage=e,this._id=n||(0,Tp0.randomBytesHex)(16),this._secret=a||(0,Tp0.randomBytesHex)(32),this._key=new wp0.sha256().update(`${this._id}, ${this._secret} WalletLink`).digest("hex"),this._linked=!!r}static load(e){let n=e.getItem(xp0),a=e.getItem(_p0),r=e.getItem(Ep0);return n&&r?new t(e,n,r,a==="1"):null}static hash(e){return new wp0.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(xp0,this._id),this._storage.setItem(Ep0,this._secret),this.persistLinked(),this}persistLinked(){this._storage.setItem(_p0,this._linked?"1":"0")}};CY.Session=fhe});var Ap0=D(SY=>{"use strict";u();p();Object.defineProperty(SY,"__esModule",{value:!0});SY.Cipher=void 0;var kY=sp(),ihe=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,kY.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,kY.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,kY.hexStringToUint8Array)(n),{name:"aes-gcm"},!1,["encrypt","decrypt"]),i=(0,kY.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)}})()})}};SY.Cipher=ihe});var Cp0=D(RY=>{"use strict";u();p();Object.defineProperty(RY,"__esModule",{value:!0});RY.WalletLinkHTTP=void 0;var she=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}`)}};RY.WalletLinkHTTP=she});var Ip0=D(K_=>{"use strict";u();p();Object.defineProperty(K_,"__esModule",{value:!0});K_.WalletLinkWebSocket=K_.ConnectionState=void 0;var G_;(function(t){t[t.DISCONNECTED=0]="DISCONNECTED",t[t.CONNECTING=1]="CONNECTING",t[t.CONNECTED=2]="CONNECTED"})(G_||(K_.ConnectionState=G_={}));var ohe=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,G_.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,G_.DISCONNECTED)},r.onopen=f=>{var i;e(),(i=this.connectionStateListener)===null||i===void 0||i.call(this,G_.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,G_.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)}};K_.WalletLinkWebSocket=ohe});var Rp0=D(BY=>{"use strict";u();p();Object.defineProperty(BY,"__esModule",{value:!0});BY.WalletLinkConnection=void 0;var Q_=TD(),Fhn=Ap0(),cp=_Y(),kp0=AY(),V_=IY(),Nhn=Cp0(),MY=Ip0(),Sp0=1e4,Ohn=6e4,che=class{constructor({session:e,linkAPIUrl:n,listener:a,diagnostic:r,WebSocketClass:f=WebSocket}){this.destroyed=!1,this.lastHeartbeatResponse=0,this.nextReqId=(0,Q_.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(cp.EVENTS.METADATA_DESTROYED,{alreadyDestroyed:this.isDestroyed,sessionIdHash:V_.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(cp.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(cp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:s})}},this.handleWalletUsernameUpdated=async s=>{this.handleMetadataUpdated(kp0.WALLET_USER_NAME_KEY,s)},this.handleAppVersionUpdated=async s=>{this.handleMetadataUpdated(kp0.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(cp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"chainId|jsonRpcUrl"})}},this.session=e,this.cipher=new Fhn.Cipher(e.secret),this.diagnostic=r,this.listener=a;let i=new MY.WalletLinkWebSocket(`${n}/rpc`,f);i.setConnectionStateListener(async s=>{var o;(o=this.diagnostic)===null||o===void 0||o.log(cp.EVENTS.CONNECTED_STATE_CHANGE,{state:s,sessionIdHash:V_.Session.hash(e.id)});let c=!1;switch(s){case MY.ConnectionState.DISCONNECTED:if(!this.destroyed){let d=async()=>{await new Promise(l=>setTimeout(l,5e3)),this.destroyed||i.connect().catch(()=>{d()})};d()}break;case MY.ConnectionState.CONNECTED:try{await this.authenticate(),this.sendIsLinked(),this.sendGetSessionConfig(),c=!0}catch{}this.updateLastHeartbeat(),setInterval(()=>{this.heartbeat()},Sp0),this.shouldFetchUnseenEventsOnConnect&&this.fetchUnseenEventsAPI();break;case MY.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(cp.EVENTS.LINKED,{sessionIdHash:V_.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(cp.EVENTS.SESSION_CONFIG_RECEIVED,{sessionIdHash:V_.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 Nhn.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(cp.EVENTS.STARTED_CONNECTING,{sessionIdHash:V_.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(cp.EVENTS.DISCONNECTED,{sessionIdHash:V_.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(cp.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,Q_.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,Q_.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>Sp0*2){this.ws.disconnect();return}try{this.ws.sendData("h")}catch{}}async makeRequest(e,n=Ohn){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,Q_.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,Q_.IntNumber)(this.nextReqId++),sessionId:this.session.id};this.sendData(e)}sendGetSessionConfig(){let e={type:"GetSessionConfig",id:(0,Q_.IntNumber)(this.nextReqId++),sessionId:this.session.id};this.sendData(e)}};BY.WalletLinkConnection=che});var Mp0=D(dhe=>{"use strict";u();p();Object.defineProperty(dhe,"__esModule",{value:!0});dhe.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 lhe=D(Y_=>{"use strict";u();p();var Uhn=Y_&&Y_.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Y_,"__esModule",{value:!0});Y_.injectCssReset=void 0;var Hhn=Uhn(Mp0());function zhn(){let t=document.createElement("style");t.type="text/css",t.appendChild(document.createTextNode(Hhn.default)),document.documentElement.appendChild(t)}Y_.injectCssReset=zhn});var mc={};G0(mc,{Component:()=>AD,Fragment:()=>kD,cloneElement:()=>Vhn,createContext:()=>Yhn,createElement:()=>zp0,createRef:()=>qhn,h:()=>zp0,hydrate:()=>Vp0,isValidElement:()=>Fp0,options:()=>sf,render:()=>Qp0,toChildArray:()=>Gp0});function Nh(t,e){for(var n in e)t[n]=e[n];return t}function Hp0(t){var e=t.parentNode;e&&e.removeChild(t)}function zp0(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?ID.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 _D(t,i,a,r,null)}function _D(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??++Lp0,__i:-1,__u:0};return r==null&&sf.vnode!=null&&sf.vnode(f),f}function qhn(){return{current:null}}function kD(t){return t.children}function AD(t,e){this.props=t,this.context=e}function xg(t,e){if(e==null)return t.__?xg(t.__,t.__i+1):null;for(var n;ee&&Tg.sort(uhe));PY.__r=0}function qp0(t,e,n,a,r,f,i,s,o,c,d){var l,h,y,v,k,O=a&&a.__k||Up0,F=e.length;for(n.__d=o,jhn(n,e,O),o=n.__d,l=0;l0?_D(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)!=null?(r.__=t,r.__b=t.__b+1,s=Ghn(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?ID.call(arguments,2):n),_D(t.type,s,a||t.key,r||t.ref,null)}function Yhn(t,e){var n={__c:e="__cC"+Op0++,__: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,mhe(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 ID,sf,Lp0,Fp0,Tg,Bp0,Np0,uhe,yhe,phe,hhe,Op0,CD,Up0,Whn,LY,x1=oe(()=>{u();p();CD={},Up0=[],Whn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,LY=Array.isArray;ID=Up0.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}},Lp0=0,Fp0=function(t){return t!=null&&t.constructor==null},AD.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Nh({},this.state),typeof t=="function"&&(t=t(Nh({},n),this.props)),t&&Nh(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),mhe(this))},AD.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),mhe(this))},AD.prototype.render=kD,Tg=[],Np0=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,uhe=function(t,e){return t.__v.__b-e.__v.__b},PY.__r=0,yhe=0,phe=Pp0(!1),hhe=Pp0(!0),Op0=0});var $_=D((qVa,whe)=>{u();p();function $p0(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;eZhn,useContext:()=>e3n,useDebugValue:()=>t3n,useEffect:()=>$hn,useErrorBoundary:()=>n3n,useId:()=>a3n,useImperativeHandle:()=>Xhn,useLayoutEffect:()=>o80,useMemo:()=>Ehe,useReducer:()=>s80,useRef:()=>Jhn,useState:()=>i80});function Eg(t,e){Lf.__h&&Lf.__h(Br,t,J_||e),J_=0;var n=Br.__H||(Br.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:FY}),n.__[t]}function i80(t){return J_=1,s80(c80,t)}function s80(t,e,n){var a=Eg(Oh++,2);if(a.t=t,!a.__c&&(a.__=[n?n(e):c80(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=Br,!Br.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))};Br.u=!0;var f=Br.shouldComponentUpdate,i=Br.componentWillUpdate;Br.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)},Br.shouldComponentUpdate=r}return a.__N||a.__}function $hn(t,e){var n=Eg(Oh++,3);!Lf.__s&&_he(n.__H,e)&&(n.__=t,n.i=e,Br.__H.__h.push(n))}function o80(t,e){var n=Eg(Oh++,4);!Lf.__s&&_he(n.__H,e)&&(n.__=t,n.i=e,Br.__h.push(n))}function Jhn(t){return J_=5,Ehe(function(){return{current:t}},[])}function Xhn(t,e,n){J_=6,o80(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 Ehe(t,e){var n=Eg(Oh++,7);return _he(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function Zhn(t,e){return J_=8,Ehe(function(){return t},e)}function e3n(t){var e=Br.context[t.__c],n=Eg(Oh++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(Br)),e.props.value):t.__}function t3n(t,e){Lf.useDebugValue&&Lf.useDebugValue(e?e(t):t)}function n3n(t){var e=Eg(Oh++,10),n=i80();return e.__=t,Br.componentDidCatch||(Br.componentDidCatch=function(a,r){e.__&&e.__(a,r),n[1](a)}),[n[0],function(){n[1](void 0)}]}function a3n(){var t=Eg(Oh++,11);if(!t.__){for(var e=Br.__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 r3n(){for(var t;t=f80.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(NY),t.__H.__h.forEach(xhe),t.__H.__h=[]}catch(e){t.__H.__h=[],Lf.__e(e,t.__v)}}function f3n(t){var e,n=function(){clearTimeout(a),r80&&cancelAnimationFrame(e),setTimeout(t)},a=setTimeout(n,100);r80&&(e=requestAnimationFrame(n))}function NY(t){var e=Br,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),Br=e}function xhe(t){var e=Br;t.__c=t.__(),Br=e}function _he(t,e){return!t||t.length!==e.length||e.some(function(n,a){return n!==t[a]})}function c80(t,e){return typeof e=="function"?e(t):e}var Oh,Br,The,Jp0,J_,f80,FY,Lf,Xp0,Zp0,e80,t80,n80,a80,r80,RD=oe(()=>{u();p();x1();J_=0,f80=[],FY=[],Lf=sf,Xp0=Lf.__b,Zp0=Lf.__r,e80=Lf.diffed,t80=Lf.__c,n80=Lf.unmount,a80=Lf.__;Lf.__b=function(t){Br=null,Xp0&&Xp0(t)},Lf.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),a80&&a80(t,e)},Lf.__r=function(t){Zp0&&Zp0(t),Oh=0;var e=(Br=t.__c).__H;e&&(The===Br?(e.__h=[],Br.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=FY,n.__N=n.i=void 0})):(e.__h.forEach(NY),e.__h.forEach(xhe),e.__h=[],Oh=0)),The=Br},Lf.diffed=function(t){e80&&e80(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(f80.push(e)!==1&&Jp0===Lf.requestAnimationFrame||((Jp0=Lf.requestAnimationFrame)||f3n)(r3n)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==FY&&(n.__=n.__V),n.i=void 0,n.__V=FY})),The=Br=null},Lf.__c=function(t,e){e.some(function(n){try{n.__h.forEach(NY),n.__h=n.__h.filter(function(a){return!a.__||xhe(a)})}catch(a){e.some(function(r){r.__h&&(r.__h=[])}),e=[],Lf.__e(a,n.__v)}}),t80&&t80(t,e)},Lf.unmount=function(t){n80&&n80(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(a){try{NY(a)}catch(r){e=r}}),n.__H=void 0,e&&Lf.__e(e,n.__v))};r80=typeof requestAnimationFrame=="function"});var l80=D(OY=>{"use strict";u();p();Object.defineProperty(OY,"__esModule",{value:!0});OY.CloseIcon=void 0;var d80=(x1(),vn(mc));function i3n(t){return(0,d80.h)("svg",Object.assign({width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),(0,d80.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"}))}OY.CloseIcon=i3n});var u80=D(HY=>{"use strict";u();p();Object.defineProperty(HY,"__esModule",{value:!0});HY.CoinbaseWalletRound=void 0;var UY=(x1(),vn(mc));function s3n(t){return(0,UY.h)("svg",Object.assign({width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),(0,UY.h)("circle",{cx:"14",cy:"14",r:"14",fill:"#0052FF"}),(0,UY.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,UY.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"}))}HY.CoinbaseWalletRound=s3n});var p80=D(zY=>{"use strict";u();p();Object.defineProperty(zY,"__esModule",{value:!0});zY.QRCodeIcon=void 0;var MD=(x1(),vn(mc));function o3n(t){return(0,MD.h)("svg",Object.assign({width:"18",height:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),(0,MD.h)("path",{d:"M3 3V8.99939L5 8.99996V5H9V3H3Z"}),(0,MD.h)("path",{d:"M15 21L21 21V15.0006L19 15V19L15 19V21Z"}),(0,MD.h)("path",{d:"M21 9H19V5H15.0006L15 3H21V9Z"}),(0,MD.h)("path",{d:"M3 15V21H8.99939L8.99996 19H5L5 15H3Z"}))}zY.QRCodeIcon=o3n});var g80=D((rYa,y80)=>{u();p();function h80(t){this.mode=Q6.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))}h80.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=lp.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=Ff.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=Ff.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=Ff.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}}}};lp.PAD0=236;lp.PAD1=17;lp.createData=function(t,e,n){for(var a=dp.getRSBlocks(t,e),r=new m80,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(lp.PAD0,8),r.getLengthInBits()>=s*8));)r.put(lp.PAD1,8);return lp.createBytes(r,a)};lp.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^=Ff.G15<=0;)e^=Ff.G18<>>=1;return e},getPatternPosition:function(t){return Ff.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case i4.PATTERN000:return(e+n)%2==0;case i4.PATTERN001:return e%2==0;case i4.PATTERN010:return n%3==0;case i4.PATTERN011:return(e+n)%3==0;case i4.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case i4.PATTERN101:return e*n%2+e*n%3==0;case i4.PATTERN110:return(e*n%2+e*n%3)%2==0;case i4.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new X_([1],0),n=0;n5&&(n+=3+f-5)}for(var a=0;a=256;)t-=255;return zs.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(Ui=0;Ui<8;Ui++)zs.EXP_TABLE[Ui]=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 Ahe=[[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 b80(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 s4.L;case"M":return s4.M;case"Q":return s4.Q;case"H":return s4.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=Ahe.length;v<=k;v++){var O=Ahe[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>Ahe.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 lp(s,o),this.qrcode.addData(i),this.qrcode.make()}b80.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,b=s*this.options.image.height/100,A=i/2-w/2,P=s/2-b/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};y80.exports=b80});var w80=D(Z_=>{"use strict";u();p();var c3n=Z_&&Z_.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Z_,"__esModule",{value:!0});Z_.QRCode=void 0;var d3n=(x1(),vn(mc)),v80=(RD(),vn(SD)),l3n=c3n(g80()),u3n=t=>{let[e,n]=(0,v80.useState)("");return(0,v80.useEffect)(()=>{var a,r;let f=new l3n.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,d3n.h)("img",{src:e,alt:"QR Code"}):null};Z_.QRCode=u3n});var T80=D(Che=>{"use strict";u();p();Object.defineProperty(Che,"__esModule",{value:!0});Che.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 x80=D(eA=>{"use strict";u();p();var p3n=eA&&eA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(eA,"__esModule",{value:!0});eA.Spinner=void 0;var WY=(x1(),vn(mc)),h3n=p3n(T80()),m3n=t=>{var e;let n=(e=t.size)!==null&&e!==void 0?e:64,a=t.color||"#000";return(0,WY.h)("div",{class:"-cbwsdk-spinner"},(0,WY.h)("style",null,h3n.default),(0,WY.h)("svg",{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",style:{width:n,height:n}},(0,WY.h)("circle",{style:{cx:50,cy:50,r:45,stroke:a}})))};eA.Spinner=m3n});var E80=D(Ihe=>{"use strict";u();p();Object.defineProperty(Ihe,"__esModule",{value:!0});Ihe.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 C80=D(o4=>{"use strict";u();p();var _80=o4&&o4.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(o4,"__esModule",{value:!0});o4.CoinbaseWalletSteps=o4.ConnectContent=void 0;var _g=_80($_()),ka=(x1(),vn(mc)),b3n=sp(),y3n=vY(),g3n=l80(),v3n=u80(),w3n=p80(),T3n=w80(),x3n=x80(),E3n=_80(E80()),khe={title:"Coinbase Wallet app",description:"Connect with your self-custody wallet",steps:A80},_3n=t=>t==="light"?"#FFFFFF":"#0A0B0D";function A3n(t){let{theme:e}=t,n=(0,b3n.createQrUrl)(t.sessionId,t.sessionSecret,t.linkAPIUrl,t.isParentConnection,t.version,t.chainId),a=khe.steps;return(0,ka.h)("div",{"data-testid":"connect-content",className:(0,_g.default)("-cbwsdk-connect-content",e)},(0,ka.h)("style",null,E3n.default),(0,ka.h)("div",{className:"-cbwsdk-connect-content-header"},(0,ka.h)("h2",{className:(0,_g.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)(g3n.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)(C3n,{title:khe.title,description:khe.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)(T3n.QRCode,{content:n,width:200,height:200,fgColor:"#000",bgColor:"transparent"}),(0,ka.h)("input",{type:"hidden",name:"cbw-cbwsdk-version",value:y3n.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,_g.default)("-cbwsdk-connect-content-qr-connecting",e)},(0,ka.h)(x3n.Spinner,{size:36,color:e==="dark"?"#FFF":"#000"}),(0,ka.h)("p",null,"Connecting...")))))}o4.ConnectContent=A3n;function C3n({title:t,description:e,theme:n}){return(0,ka.h)("div",{className:(0,_g.default)("-cbwsdk-connect-item",n)},(0,ka.h)("div",null,(0,ka.h)(v3n.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 A80({theme:t}){return(0,ka.h)("ol",{className:"-cbwsdk-wallet-steps"},(0,ka.h)("li",{className:(0,_g.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,_g.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,_g.default)("-cbwsdk-wallet-steps-pad-left","-cbwsdk-wallet-steps-icon",t)},(0,ka.h)(w3n.QRCodeIcon,{fill:_3n(t)})))))}o4.CoinbaseWalletSteps=A80});var k80=D(qY=>{"use strict";u();p();Object.defineProperty(qY,"__esModule",{value:!0});qY.ArrowLeftIcon=void 0;var I80=(x1(),vn(mc));function I3n(t){return(0,I80.h)("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},t),(0,I80.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"}))}qY.ArrowLeftIcon=I3n});var S80=D(jY=>{"use strict";u();p();Object.defineProperty(jY,"__esModule",{value:!0});jY.LaptopIcon=void 0;var She=(x1(),vn(mc));function k3n(t){return(0,She.h)("svg",Object.assign({width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},t),(0,She.h)("path",{d:"M1.8001 2.2002H12.2001V9.40019H1.8001V2.2002ZM3.4001 3.8002V7.80019H10.6001V3.8002H3.4001Z"}),(0,She.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"}))}jY.LaptopIcon=k3n});var M80=D(GY=>{"use strict";u();p();Object.defineProperty(GY,"__esModule",{value:!0});GY.SafeIcon=void 0;var R80=(x1(),vn(mc));function S3n(t){return(0,R80.h)("svg",Object.assign({width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},t),(0,R80.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"}))}GY.SafeIcon=S3n});var B80=D(Rhe=>{"use strict";u();p();Object.defineProperty(Rhe,"__esModule",{value:!0});Rhe.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 P80=D(tA=>{"use strict";u();p();var D80=tA&&tA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(tA,"__esModule",{value:!0});tA.TryExtensionContent=void 0;var Ag=D80($_()),Hi=(x1(),vn(mc)),Mhe=(RD(),vn(SD)),R3n=k80(),M3n=S80(),B3n=M80(),D3n=D80(B80());function P3n({theme:t}){let[e,n]=(0,Mhe.useState)(!1),a=(0,Mhe.useCallback)(()=>{window.open("https://api.wallet.coinbase.com/rpc/v2/desktop/chrome","_blank")},[]),r=(0,Mhe.useCallback)(()=>{e?window.location.reload():(a(),n(!0))},[a,e]);return(0,Hi.h)("div",{class:(0,Ag.default)("-cbwsdk-try-extension",t)},(0,Hi.h)("style",null,D3n.default),(0,Hi.h)("div",{class:"-cbwsdk-try-extension-column-half"},(0,Hi.h)("h3",{class:(0,Ag.default)("-cbwsdk-try-extension-heading",t)},"Or try the Coinbase Wallet browser extension"),(0,Hi.h)("div",{class:"-cbwsdk-try-extension-cta-wrapper"},(0,Hi.h)("button",{class:(0,Ag.default)("-cbwsdk-try-extension-cta",t),onClick:r},e?"Refresh":"Install"),(0,Hi.h)("div",null,!e&&(0,Hi.h)(R3n.ArrowLeftIcon,{class:"-cbwsdk-try-extension-cta-icon",fill:t==="light"?"#0052FF":"#588AF5"})))),(0,Hi.h)("div",{class:"-cbwsdk-try-extension-column-half"},(0,Hi.h)("ul",{class:"-cbwsdk-try-extension-list"},(0,Hi.h)("li",{class:"-cbwsdk-try-extension-list-item"},(0,Hi.h)("div",{class:"-cbwsdk-try-extension-list-item-icon-wrapper"},(0,Hi.h)("span",{class:(0,Ag.default)("-cbwsdk-try-extension-list-item-icon",t)},(0,Hi.h)(M3n.LaptopIcon,{fill:t==="light"?"#0A0B0D":"#FFFFFF"}))),(0,Hi.h)("div",{class:(0,Ag.default)("-cbwsdk-try-extension-list-item-copy",t)},"Connect with dapps with just one click on your desktop browser")),(0,Hi.h)("li",{class:"-cbwsdk-try-extension-list-item"},(0,Hi.h)("div",{class:"-cbwsdk-try-extension-list-item-icon-wrapper"},(0,Hi.h)("span",{class:(0,Ag.default)("-cbwsdk-try-extension-list-item-icon",t)},(0,Hi.h)(B3n.SafeIcon,{fill:t==="light"?"#0A0B0D":"#FFFFFF"}))),(0,Hi.h)("div",{class:(0,Ag.default)("-cbwsdk-try-extension-list-item-copy",t)},"Add an additional layer of security by using a supported Ledger hardware wallet")))))}tA.TryExtensionContent=P3n});var L80=D(Bhe=>{"use strict";u();p();Object.defineProperty(Bhe,"__esModule",{value:!0});Bhe.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 N80=D(nA=>{"use strict";u();p();var F80=nA&&nA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(nA,"__esModule",{value:!0});nA.ConnectDialog=void 0;var Dhe=F80($_()),Cg=(x1(),vn(mc)),Phe=(RD(),vn(SD)),L3n=C80(),F3n=P80(),N3n=F80(L80()),O3n=t=>{let{isOpen:e,darkMode:n}=t,[a,r]=(0,Phe.useState)(!e),[f,i]=(0,Phe.useState)(!e);(0,Phe.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,Cg.h)("div",{class:(0,Dhe.default)("-cbwsdk-connect-dialog-container",a&&"-cbwsdk-connect-dialog-container-hidden")},(0,Cg.h)("style",null,N3n.default),(0,Cg.h)("div",{class:(0,Dhe.default)("-cbwsdk-connect-dialog-backdrop",s,f&&"-cbwsdk-connect-dialog-backdrop-hidden")}),(0,Cg.h)("div",{class:"-cbwsdk-connect-dialog"},(0,Cg.h)("div",{class:(0,Dhe.default)("-cbwsdk-connect-dialog-box",f&&"-cbwsdk-connect-dialog-box-hidden")},t.connectDisabled?null:(0,Cg.h)(L3n.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,Cg.h)(F3n.TryExtensionContent,{theme:s}))))};nA.ConnectDialog=O3n});var O80=D(KY=>{"use strict";u();p();Object.defineProperty(KY,"__esModule",{value:!0});KY.LinkFlow=void 0;var Lhe=(x1(),vn(mc)),U3n=N80(),Fhe=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,Lhe.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,Lhe.render)((0,Lhe.h)(U3n.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)}};KY.LinkFlow=Fhe});var U80=D(Nhe=>{"use strict";u();p();Object.defineProperty(Nhe,"__esModule",{value:!0});Nhe.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 Hhe=D(Ad=>{"use strict";u();p();var H80=Ad&&Ad.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ad,"__esModule",{value:!0});Ad.SnackbarInstance=Ad.SnackbarContainer=Ad.Snackbar=void 0;var QY=H80($_()),zi=(x1(),vn(mc)),Ohe=(RD(),vn(SD)),H3n=H80(U80()),z3n="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNDkyIDEwLjQxOWE4LjkzIDguOTMgMCAwMTguOTMtOC45M2gxMS4xNjNhOC45MyA4LjkzIDAgMDE4LjkzIDguOTN2MTEuMTYzYTguOTMgOC45MyAwIDAxLTguOTMgOC45M0gxMC40MjJhOC45MyA4LjkzIDAgMDEtOC45My04LjkzVjEwLjQxOXoiIGZpbGw9IiMxNjUyRjAiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEwLjQxOSAwSDIxLjU4QzI3LjMzNSAwIDMyIDQuNjY1IDMyIDEwLjQxOVYyMS41OEMzMiAyNy4zMzUgMjcuMzM1IDMyIDIxLjU4MSAzMkgxMC40MkM0LjY2NSAzMiAwIDI3LjMzNSAwIDIxLjU4MVYxMC40MkMwIDQuNjY1IDQuNjY1IDAgMTAuNDE5IDB6bTAgMS40ODhhOC45MyA4LjkzIDAgMDAtOC45MyA4LjkzdjExLjE2M2E4LjkzIDguOTMgMCAwMDguOTMgOC45M0gyMS41OGE4LjkzIDguOTMgMCAwMDguOTMtOC45M1YxMC40MmE4LjkzIDguOTMgMCAwMC04LjkzLTguOTNIMTAuNDJ6IiBmaWxsPSIjZmZmIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS45OTggMjYuMDQ5Yy01LjU0OSAwLTEwLjA0Ny00LjQ5OC0xMC4wNDctMTAuMDQ3IDAtNS41NDggNC40OTgtMTAuMDQ2IDEwLjA0Ny0xMC4wNDYgNS41NDggMCAxMC4wNDYgNC40OTggMTAuMDQ2IDEwLjA0NiAwIDUuNTQ5LTQuNDk4IDEwLjA0Ny0xMC4wNDYgMTAuMDQ3eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMi43NjIgMTQuMjU0YzAtLjgyMi42NjctMS40ODkgMS40ODktMS40ODloMy40OTdjLjgyMiAwIDEuNDg4LjY2NiAxLjQ4OCAxLjQ4OXYzLjQ5N2MwIC44MjItLjY2NiAxLjQ4OC0xLjQ4OCAxLjQ4OGgtMy40OTdhMS40ODggMS40ODggMCAwMS0xLjQ4OS0xLjQ4OHYtMy40OTh6IiBmaWxsPSIjMTY1MkYwIi8+PC9zdmc+",W3n="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDYuNzV2LTEuNWwtMS43Mi0uNTdjLS4wOC0uMjctLjE5LS41Mi0uMzItLjc3bC44MS0xLjYyLTEuMDYtMS4wNi0xLjYyLjgxYy0uMjQtLjEzLS41LS4yNC0uNzctLjMyTDYuNzUgMGgtMS41bC0uNTcgMS43MmMtLjI3LjA4LS41My4xOS0uNzcuMzJsLTEuNjItLjgxLTEuMDYgMS4wNi44MSAxLjYyYy0uMTMuMjQtLjI0LjUtLjMyLjc3TDAgNS4yNXYxLjVsMS43Mi41N2MuMDguMjcuMTkuNTMuMzIuNzdsLS44MSAxLjYyIDEuMDYgMS4wNiAxLjYyLS44MWMuMjQuMTMuNS4yMy43Ny4zMkw1LjI1IDEyaDEuNWwuNTctMS43MmMuMjctLjA4LjUyLS4xOS43Ny0uMzJsMS42Mi44MSAxLjA2LTEuMDYtLjgxLTEuNjJjLjEzLS4yNC4yMy0uNS4zMi0uNzdMMTIgNi43NXpNNiA4LjVhMi41IDIuNSAwIDAxMC01IDIuNSAyLjUgMCAwMTAgNXoiIGZpbGw9IiMwNTBGMTkiLz48L3N2Zz4=",Uhe=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,zi.render)((0,zi.h)("div",null,(0,zi.h)(Ad.SnackbarContainer,{darkMode:this.darkMode},Array.from(this.items.entries()).map(([e,n])=>(0,zi.h)(Ad.SnackbarInstance,Object.assign({},n,{key:e}))))),this.root)}};Ad.Snackbar=Uhe;var q3n=t=>(0,zi.h)("div",{class:(0,QY.default)("-cbwsdk-snackbar-container")},(0,zi.h)("style",null,H3n.default),(0,zi.h)("div",{class:"-cbwsdk-snackbar"},t.children));Ad.SnackbarContainer=q3n;var j3n=({autoExpand:t,message:e,menuItems:n})=>{let[a,r]=(0,Ohe.useState)(!0),[f,i]=(0,Ohe.useState)(t??!1);(0,Ohe.useEffect)(()=>{let o=[window.setTimeout(()=>{r(!1)},1),window.setTimeout(()=>{i(!0)},1e4)];return()=>{o.forEach(window.clearTimeout)}});let s=()=>{i(!f)};return(0,zi.h)("div",{class:(0,QY.default)("-cbwsdk-snackbar-instance",a&&"-cbwsdk-snackbar-instance-hidden",f&&"-cbwsdk-snackbar-instance-expanded")},(0,zi.h)("div",{class:"-cbwsdk-snackbar-instance-header",onClick:s},(0,zi.h)("img",{src:z3n,class:"-cbwsdk-snackbar-instance-header-cblogo"})," ",(0,zi.h)("div",{class:"-cbwsdk-snackbar-instance-header-message"},e),(0,zi.h)("div",{class:"-gear-container"},!f&&(0,zi.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,zi.h)("circle",{cx:"12",cy:"12",r:"12",fill:"#F5F7F8"})),(0,zi.h)("img",{src:W3n,class:"-gear-icon",title:"Expand"}))),n&&n.length>0&&(0,zi.h)("div",{class:"-cbwsdk-snackbar-instance-menu"},n.map((o,c)=>(0,zi.h)("div",{class:(0,QY.default)("-cbwsdk-snackbar-instance-menu-item",o.isRed&&"-cbwsdk-snackbar-instance-menu-item-is-red"),onClick:o.onClick,key:c},(0,zi.h)("svg",{width:o.svgWidth,height:o.svgHeight,viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,zi.h)("path",{"fill-rule":o.defaultFillRule,"clip-rule":o.defaultClipRule,d:o.path,fill:"#AAAAAA"})),(0,zi.h)("span",{class:(0,QY.default)("-cbwsdk-snackbar-instance-menu-item-info",o.isRed&&"-cbwsdk-snackbar-instance-menu-item-info-is-red")},o.info)))))};Ad.SnackbarInstance=j3n});var Whe=D(VY=>{"use strict";u();p();Object.defineProperty(VY,"__esModule",{value:!0});VY.WalletLinkRelayUI=void 0;var G3n=lhe(),K3n=O80(),Q3n=Hhe(),zhe=class{constructor(e){this.standalone=null,this.attached=!1,this.snackbar=new Q3n.Snackbar({darkMode:e.darkMode}),this.linkFlow=new K3n.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,G3n.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}};VY.WalletLinkRelayUI=zhe});var qhe=D($Y=>{"use strict";u();p();Object.defineProperty($Y,"__esModule",{value:!0});$Y.WalletLinkRelay=void 0;var aA=vD(),V3n=TD(),Nf=sp(),Ig=_Y(),z80=AY(),c4=IY(),Y3n=Rp0(),kg=yY(),$3n=Whe(),YY=class t extends z80.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(z80.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(Ig.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=c4.Session.load(this.storage)||new c4.Session(this.storage).save(),{linkAPIUrl:n,diagnostic:a}=this,r=new Y3n.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(Ig.EVENTS.SESSION_STATE_CHANGE,{method:"relay::resetAndReload",sessionMetadataChange:"__destroyed, 1",sessionIdHash:this.getSessionIdHash()}),this.connection.destroy();let r=c4.Session.load(this.storage);if(r?.id===this._session.id?this.storage.clear():r&&((n=this.diagnostic)===null||n===void 0||n.log(Ig.EVENTS.SKIPPED_CLEARING_SESSION,{sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:c4.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(Ig.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,Nf.hexStringFromBuffer)(e,!0),address:n,addPrefix:a,typedDataJson:r||null}})}ethereumAddressFromSignedMessage(e,n,a){return this.sendRequest({method:"ethereumAddressFromSignedMessage",params:{message:(0,Nf.hexStringFromBuffer)(e,!0),signature:(0,Nf.hexStringFromBuffer)(n,!0),addPrefix:a}})}signEthereumTransaction(e){return this.sendRequest({method:"signEthereumTransaction",params:{fromAddress:e.fromAddress,toAddress:e.toAddress,weiValue:(0,Nf.bigIntStringFromBN)(e.weiValue),data:(0,Nf.hexStringFromBuffer)(e.data,!0),nonce:e.nonce,gasPriceInWei:e.gasPriceInWei?(0,Nf.bigIntStringFromBN)(e.gasPriceInWei):null,maxFeePerGas:e.gasPriceInWei?(0,Nf.bigIntStringFromBN)(e.gasPriceInWei):null,maxPriorityFeePerGas:e.gasPriceInWei?(0,Nf.bigIntStringFromBN)(e.gasPriceInWei):null,gasLimit:e.gasLimit?(0,Nf.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,Nf.bigIntStringFromBN)(e.weiValue),data:(0,Nf.hexStringFromBuffer)(e.data,!0),nonce:e.nonce,gasPriceInWei:e.gasPriceInWei?(0,Nf.bigIntStringFromBN)(e.gasPriceInWei):null,maxFeePerGas:e.maxFeePerGas?(0,Nf.bigIntStringFromBN)(e.maxFeePerGas):null,maxPriorityFeePerGas:e.maxPriorityFeePerGas?(0,Nf.bigIntStringFromBN)(e.maxPriorityFeePerGas):null,gasLimit:e.gasLimit?(0,Nf.bigIntStringFromBN)(e.gasLimit):null,chainId:e.chainId,shouldSubmit:!0}})}submitEthereumTransaction(e,n){return this.sendRequest({method:"submitEthereumTransaction",params:{signedTransaction:(0,Nf.hexStringFromBuffer)(e,!0),chainId:n}})}scanQRCode(e){return this.sendRequest({method:"scanQRCode",params:{regExp:e}})}getQRCodeUrl(){return(0,Nf.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,Nf.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,kg.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 $3n.WalletLinkRelayUI&&this.ui.setChainId(e)}publishWeb3RequestEvent(e,n){var a;let r={type:"WEB3_REQUEST",id:e,request:n},f=c4.Session.load(this.storage);(a=this.diagnostic)===null||a===void 0||a.log(Ig.EVENTS.WEB3_REQUEST,{eventId:r.id,method:`relay::${n.method}`,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:f?c4.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(Ig.EVENTS.WEB3_REQUEST_PUBLISHED,{eventId:r.id,method:`relay::${n.method}`,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:f?c4.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(Ig.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,aA.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,Nf.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,kg.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=aA.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,Nf.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,kg.isErrorResponse)(d))return s(new Error(d.errorMessage));i(d)});let o=d=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:a,response:{method:"selectProvider",result:V3n.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,Nf.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,kg.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,Nf.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,kg.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,Nf.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,kg.isErrorResponse)(l)&&l.errorCode)return o(aA.standardErrors.provider.custom({code:l.errorCode,message:"Unrecognized chain ID. Try adding the chain using addEthereumChain first."}));if((0,kg.isErrorResponse)(l))return o(new Error(l.errorMessage));s(l)});let c=l=>{var h;if(l){let y=(h=(0,aA.getErrorCode)(l))!==null&&h!==void 0?h:aA.standardErrorCodes.provider.unsupportedChain;this.handleErrorResponse(r,"switchEthereumChain",l instanceof Error?l:aA.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 c4.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}}};$Y.WalletLinkRelay=YY;YY.accountRequestCallbackIds=new Set});var W80=D(Sg=>{"use strict";u();p();var J3n=Sg&&Sg.__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]}),X3n=Sg&&Sg.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&J3n(e,t,n)};Object.defineProperty(Sg,"__esModule",{value:!0});X3n(Hhe(),Sg)});var q80=D(jhe=>{"use strict";u();p();Object.defineProperty(jhe,"__esModule",{value:!0});jhe.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 G80=D(rA=>{"use strict";u();p();var j80=rA&&rA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(rA,"__esModule",{value:!0});rA.RedirectDialog=void 0;var Z3n=j80($_()),up=(x1(),vn(mc)),emn=lhe(),tmn=W80(),nmn=j80(q80()),Ghe=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,emn.injectCssReset)()}present(e){this.render(e)}clear(){this.render(null)}render(e){this.root&&((0,up.render)(null,this.root),e&&(0,up.render)((0,up.h)(amn,Object.assign({},e,{onDismiss:()=>{this.clear()}})),this.root))}};rA.RedirectDialog=Ghe;var amn=({title:t,buttonText:e,darkMode:n,onButtonClick:a,onDismiss:r})=>{let f=n?"dark":"light";return(0,up.h)(tmn.SnackbarContainer,{darkMode:n},(0,up.h)("div",{class:"-cbwsdk-redirect-dialog"},(0,up.h)("style",null,nmn.default),(0,up.h)("div",{class:"-cbwsdk-redirect-dialog-backdrop",onClick:r}),(0,up.h)("div",{class:(0,Z3n.default)("-cbwsdk-redirect-dialog-box",f)},(0,up.h)("p",null,t),(0,up.h)("button",{onClick:a},e))))}});var Qhe=D(JY=>{"use strict";u();p();Object.defineProperty(JY,"__esModule",{value:!0});JY.MobileRelayUI=void 0;var rmn=G80(),Khe=class{constructor(e){this.attached=!1,this.darkMode=!1,this.redirectDialog=new rmn.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}};JY.MobileRelayUI=Khe});var Yhe=D(XY=>{"use strict";u();p();Object.defineProperty(XY,"__esModule",{value:!0});XY.MobileRelay=void 0;var fmn=sp(),imn=qhe(),smn=Qhe(),Vhe=class extends imn.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,fmn.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 smn.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}})}};XY.MobileRelay=Vhe});var V80=D((v$a,Q80)=>{u();p();var{Transform:omn}=MO();Q80.exports=t=>class K80 extends omn{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 K80(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(n._state),n._finalized=this._finalized,n}}});var J80=D((x$a,$80)=>{u();p();var{Transform:cmn}=MO();$80.exports=t=>class Y80 extends cmn{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 Y80(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(n._state),n._finalized=this._finalized,n}}});var Z80=D((A$a,X80)=>{u();p();var dmn=V80(),lmn=J80();X80.exports=function(t){let e=dmn(t),n=lmn(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 nh0=D(th0=>{u();p();var eh0=[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];th0.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,b=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 E=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,me=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,m0=N<<10|w>>>22,h0=w<<10|N>>>22,$e=A<<13|b>>>19,M0=b<<13|A>>>19,P0=P<<2|L>>>30,t0=L<<2|P>>>30,j0=g<<30|E>>>2,z0=E<<30|g>>>2,Ke=B<<6|M>>>26,B0=M<<6|B>>>26,K0=q<<11|S>>>21,s0=S<<11|q>>>21,J0=ee<<15|U>>>17,Y0=U<<15|ee>>>17,l0=Z<<29|J>>>3,Q0=J<<29|Z>>>3,et=ne<<28|ue>>>4,p0=ue<<28|ne>>>4,Z0=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,cf=Te<<14|he>>>18;t[0]=Ce^~je&K0,t[1]=Se^~Ue&s0,t[10]=et^~pr&qe,t[11]=p0^~za&v0,t[20]=_e^~Ke&$0,t[21]=ze^~B0&Tt,t[30]=On^~Qe&m0,t[31]=Ha^~u0&h0,t[40]=j0^~Z0&hr,t[41]=z0^~Et&ar,t[2]=je^~K0&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^~m0&J0,t[33]=u0^~h0&Y0,t[42]=Z0^~hr&w0,t[43]=Et^~ar&Ve,t[4]=K0^~Pn&rr,t[5]=s0^~Ln&cf,t[14]=qe^~$e&l0,t[15]=v0^~M0&Q0,t[24]=$0^~Cr&me,t[25]=Tt^~Jr&ye,t[34]=m0^~J0&Fn,t[35]=h0^~Y0&Nn,t[44]=hr^~w0&P0,t[45]=ar^~Ve&t0,t[6]=Pn^~rr&Ce,t[7]=Ln^~cf&Se,t[16]=$e^~l0&et,t[17]=M0^~Q0&p0,t[26]=Cr^~me&_e,t[27]=Jr^~ye&ze,t[36]=J0^~Fn&On,t[37]=Y0^~Nn&Ha,t[46]=w0^~P0&j0,t[47]=Ve^~t0&z0,t[8]=rr^~Ce&je,t[9]=cf^~Se&Ue,t[18]=l0^~et&pr,t[19]=Q0^~p0&za,t[28]=me^~_e&Ke,t[29]=ye^~ze&B0,t[38]=Fn^~On&Qe,t[39]=Nn^~Ha&u0,t[48]=P0^~j0&Z0,t[49]=t0^~z0&Et,t[0]^=eh0[e*2],t[1]^=eh0[e*2+1]}}});var rh0=D((M$a,ah0)=>{u();p();var ZY=nh0();function fA(){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}fA.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};fA.prototype.absorb=function(t){for(let e=0;e>>8*(this.count%4)&255,this.count+=1,this.count===this.blockSize&&(ZY.p1600(this.state),this.count=0);return e};fA.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};ah0.exports=fA});var $he=D((P$a,fh0)=>{u();p();fh0.exports=Z80()(rh0())});var Jhe=D((N$a,dh0)=>{u();p();var umn=$he(),pmn=Va();function ih0(t){return _.Buffer.allocUnsafe(t).fill(0)}function sh0(t,e,n){let a=ih0(e);return t=e$(t),n?t.length{u();p();var Bg=Jhe(),Mg=Va();function uh0(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 iA(t){return parseInt(/^\D+(\d+)$/.exec(t)[1],10)}function lh0(t){var e=/^\D+(\d+)x(\d+)$/.exec(t);return[parseInt(e[1],10),parseInt(e[2],10)]}function ph0(t){var e=t.match(/(.*)\[(.*?)\]$/);return e?e[2]===""?"dynamic":parseInt(e[2],10):null}function Rg(t){var e=typeof t;if(e==="string")return Bg.isHexString(t)?new Mg(Bg.stripHexPrefix(t),16):new Mg(t,10);if(e==="number")return new Mg(t);if(t.toArray)return t;throw new Error("Argument is not a number")}function pp(t,e){var n,a,r,f;if(t==="address")return pp("uint160",Rg(e));if(t==="bool")return pp("uint8",e?1:0);if(t==="string")return pp("bytes",new _.Buffer(e,"utf8"));if(vmn(t)){if(typeof e.length>"u")throw new Error("Not an array?");if(n=ph0(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(pp(t,e[f]));if(n==="dynamic"){var i=pp("uint256",e.length);r.unshift(i)}return _.Buffer.concat(r)}else{if(t==="bytes")return e=new _.Buffer(e),r=_.Buffer.concat([pp("uint256",e.length),e]),e.length%32!==0&&(r=_.Buffer.concat([r,Bg.zeros(32-e.length%32)])),r;if(t.startsWith("bytes")){if(n=iA(t),n<1||n>32)throw new Error("Invalid bytes width: "+n);return Bg.setLengthRight(e,32)}else if(t.startsWith("uint")){if(n=iA(t),n%8||n<8||n>256)throw new Error("Invalid uint width: "+n);if(a=Rg(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=iA(t),n%8||n<8||n>256)throw new Error("Invalid int width: "+n);if(a=Rg(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=lh0(t),a=Rg(e),a<0)throw new Error("Supplied ufixed is negative");return pp("uint256",a.mul(new Mg(2).pow(new Mg(n[1]))))}else if(t.startsWith("fixed"))return n=lh0(t),pp("int256",Rg(e).mul(new Mg(2).pow(new Mg(n[1]))))}throw new Error("Unsupported or invalid type: "+t)}function gmn(t){return t==="string"||t==="bytes"||ph0(t)==="dynamic"}function vmn(t){return t.lastIndexOf("]")===t.length-1}function wmn(t,e){var n=[],a=[],r=32*t.length;for(var f in t){var i=uh0(t[f]),s=e[f],o=pp(i,s);gmn(i)?(n.push(pp("uint256",r)),a.push(o),r+=o.length):n.push(o)}return _.Buffer.concat(n.concat(a))}function hh0(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(Bg.setLengthRight(s,n))}else if(i.startsWith("uint")){if(n=iA(i),n%8||n<8||n>256)throw new Error("Invalid uint width: "+n);if(a=Rg(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=iA(i),n%8||n<8||n>256)throw new Error("Invalid int width: "+n);if(a=Rg(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 Tmn(t,e){return Bg.keccak(hh0(t,e))}mh0.exports={rawEncode:wmn,solidityPack:hh0,soliditySHA3:Tmn}});var vh0=D((q$a,gh0)=>{u();p();var Yl=Jhe(),BD=bh0(),yh0={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"]},Xhe={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":Yl.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",Yl.keccak(c)];if(o==="string")return typeof c=="string"&&(c=_.Buffer.from(c,"utf8")),["bytes32",Yl.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",Yl.keccak(BD.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=Yl.keccak(s),f.push(s);else if(i.type==="string")r.push("bytes32"),typeof s=="string"&&(s=_.Buffer.from(s,"utf8")),s=Yl.keccak(s),f.push(s);else if(n[i.type]!==void 0)r.push("bytes32"),s=Yl.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 BD.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 Yl.keccak(this.encodeData(t,e,n,a))},hashType(t,e){return Yl.keccak(this.encodeType(t,e))},sanitizeData(t){let e={};for(let n in yh0.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)),Yl.keccak(_.Buffer.concat(a))}};gh0.exports={TYPED_MESSAGE_SCHEMA:yh0,TypedDataUtils:Xhe,hashForSignTypedDataLegacy:function(t){return xmn(t.data)},hashForSignTypedData_v3:function(t){return Xhe.hash(t.data,!1)},hashForSignTypedData_v4:function(t){return Xhe.hash(t.data)}};function xmn(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"?Yl.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 BD.soliditySHA3(["bytes32","bytes32"],[BD.soliditySHA3(new Array(t.length).fill("string"),r),BD.soliditySHA3(a,n)])}});var _h0=D(oA=>{"use strict";u();p();Object.defineProperty(oA,"__esModule",{value:!0});oA.filterFromParam=oA.FilterPolyfill=void 0;var sA=TD(),bc=sp(),Emn=5*60*1e3,Dg={jsonrpc:"2.0",id:0},Zhe=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,sA.IntNumber)(1),this.REQUEST_THROTTLE_INTERVAL=1e3,this.lastFetchTimestamp=new Date(0),this.resolvers=[],this.provider=e}async newFilter(e){let n=Eh0(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,bc.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,bc.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,bc.hexStringFromIntNumber)(e)}uninstallFilter(e){let n=(0,bc.intNumberFromHexString)(e);return console.info(`Uninstalling filter (${n})`),this.deleteFilter(n),!0}getFilterChanges(e){let n=(0,bc.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(t$())}async getFilterLogs(e){let n=(0,bc.intNumberFromHexString)(e),a=this.logFilters.get(n);return a?this.sendAsyncPromise(Object.assign(Object.assign({},Dg),{method:"eth_getLogs",params:[wh0(a)]})):t$()}makeFilterId(){return(0,sA.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 t$();let r=await this.getCurrentBlockHeight(),f=n.toBlock==="latest"?r:n.toBlock;if(a>r||a>Number(n.toBlock))return n$();console.info(`Fetching logs from ${a} to ${f} for filter ${e}`);let i=await this.sendAsyncPromise(Object.assign(Object.assign({},Dg),{method:"eth_getLogs",params:[wh0(Object.assign(Object.assign({},n),{fromBlock:a,toBlock:f}))]}));if(Array.isArray(i.result)){let s=i.result.map(c=>(0,bc.intNumberFromHexString)(c.blockNumber||"0x0")),o=Math.max(...s);if(o&&o>a){let c=(0,sA.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 t$();let a=await this.getCurrentBlockHeight();if(n>a)return n$();console.info(`Fetching blocks from ${n} to ${a} for filter (${e})`);let r=(await Promise.all((0,bc.range)(n,a+1).map(i=>this.getBlockHashByNumber((0,sA.IntNumber)(i))))).filter(i=>!!i),f=(0,sA.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({},Dg),{result:r})}async getPendingTransactionFilterChanges(e){return Promise.resolve(n$())}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)},Emn);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({},Dg),{method:"eth_blockNumber",params:[]}));return(0,bc.intNumberFromHexString)((0,bc.ensureHexString)(e))}async getBlockHashByNumber(e){let n=await this.sendAsyncPromise(Object.assign(Object.assign({},Dg),{method:"eth_getBlockByNumber",params:[(0,bc.hexStringFromIntNumber)(e),!1]}));return n.result&&typeof n.result.hash=="string"?(0,bc.ensureHexString)(n.result.hash):null}};oA.FilterPolyfill=Zhe;function Eh0(t){return{fromBlock:Th0(t.fromBlock),toBlock:Th0(t.toBlock),addresses:t.address===void 0?null:Array.isArray(t.address)?t.address:[t.address],topics:t.topics||[]}}oA.filterFromParam=Eh0;function wh0(t){let e={fromBlock:xh0(t.fromBlock),toBlock:xh0(t.toBlock),topics:t.topics};return t.addresses!==null&&(e.address=t.addresses),e}function Th0(t){if(t===void 0||t==="latest"||t==="pending")return"latest";if(t==="earliest")return(0,sA.IntNumber)(0);if((0,bc.isHexString)(t))return(0,bc.intNumberFromHexString)(t);throw new Error(`Invalid block option: ${String(t)}`)}function xh0(t){return t==="latest"?t:(0,bc.hexStringFromIntNumber)(t)}function t$(){return Object.assign(Object.assign({},Dg),{error:{code:-32e3,message:"filter not found"}})}function n$(){return Object.assign(Object.assign({},Dg),{result:[]})}});var a$=D((Y$a,Ah0)=>{u();p();Ah0.exports=_mn;function _mn(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 kh0=D((X$a,Ih0)=>{"use strict";u();p();var Ch0=(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):Ch0(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)?Ch0(f,e):f}return a}});var r$=D(t3e=>{"use strict";u();p();Object.defineProperty(t3e,"__esModule",{value:!0});var Amn=Or();function Sh0(t,e,n){try{Reflect.apply(t,e,n)}catch(a){setTimeout(()=>{throw a})}}function Cmn(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")Sh0(f,this,n);else{let i=f.length,s=Cmn(f);for(let o=0;o{"use strict";u();p();var Imn=cA&&cA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(cA,"__esModule",{value:!0});cA.BaseBlockTracker=void 0;var kmn=Imn(r$()),Smn=1e3,Rmn=(t,e)=>t+e,Rh0=["sync","latest"],n3e=class extends kmn.default{constructor(e){super(),this._blockResetDuration=e.blockResetDuration||20*Smn,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){Rh0.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 Rh0.map(e=>this.listenerCount(e)).reduce(Rmn)}_shouldUseNewBlock(e){let n=this._currentBlock;if(!n)return!0;let a=Mh0(e),r=Mh0(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}};cA.BaseBlockTracker=n3e;function Mh0(t){return Number.parseInt(t,16)}});var d4=D((f$,Bh0)=>{u();p();(function(t,e){typeof f$=="object"&&typeof Bh0<"u"?e(f$):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.Superstruct={}))})(f$,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,me]of he.entries(pe,qe)){let ye=c(Ve,me,{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 b(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 E(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=b,t.func=A,t.instance=P,t.integer=L,t.intersection=E,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 Uh=D(hp=>{"use strict";u();p();Object.defineProperty(hp,"__esModule",{value:!0});hp.assertExhaustive=hp.assertStruct=hp.assert=hp.AssertionError=void 0;var Mmn=d4();function Bmn(t){return typeof t=="object"&&t!==null&&"message"in t}function Dmn(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 Pmn(t){let e=Bmn(t)?t.message:String(t);return e.endsWith(".")?e.slice(0,-1):e}function Dh0(t,e){return Dmn(t)?new t({message:e}):t({message:e})}var DD=class extends Error{constructor(e){super(e.message),this.code="ERR_ASSERTION"}};hp.AssertionError=DD;function Lmn(t,e="Assertion failed.",n=DD){if(!t)throw e instanceof Error?e:Dh0(n,e)}hp.assert=Lmn;function Fmn(t,e,n="Assertion failed",a=DD){try{(0,Mmn.assert)(t,e)}catch(r){throw Dh0(a,`${n}: ${Pmn(r)}.`)}}hp.assertStruct=Fmn;function Nmn(t){throw new Error("Invalid branch reached. Should be detected during compilation.")}hp.assertExhaustive=Nmn});var r3e=D(i$=>{"use strict";u();p();Object.defineProperty(i$,"__esModule",{value:!0});i$.base64=void 0;var Omn=d4(),Umn=Uh(),Hmn=(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,Umn.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,Omn.pattern)(t,s)};i$.base64=Hmn});var PD=D(Wi=>{"use strict";u();p();Object.defineProperty(Wi,"__esModule",{value:!0});Wi.remove0x=Wi.add0x=Wi.assertIsStrictHexString=Wi.assertIsHexString=Wi.isStrictHexString=Wi.isHexString=Wi.StrictHexStruct=Wi.HexStruct=void 0;var dA=d4(),Ph0=Uh();Wi.HexStruct=(0,dA.pattern)((0,dA.string)(),/^(?:0x)?[0-9a-f]+$/iu);Wi.StrictHexStruct=(0,dA.pattern)((0,dA.string)(),/^0x[0-9a-f]+$/iu);function Lh0(t){return(0,dA.is)(t,Wi.HexStruct)}Wi.isHexString=Lh0;function Fh0(t){return(0,dA.is)(t,Wi.StrictHexStruct)}Wi.isStrictHexString=Fh0;function zmn(t){(0,Ph0.assert)(Lh0(t),"Value must be a hexadecimal string.")}Wi.assertIsHexString=zmn;function Wmn(t){(0,Ph0.assert)(Fh0(t),'Value must be a hexadecimal string, starting with "0x".')}Wi.assertIsStrictHexString=Wmn;function qmn(t){return t.startsWith("0x")?t:t.startsWith("0X")?`0x${t.substring(2)}`:`0x${t}`}Wi.add0x=qmn;function jmn(t){return t.startsWith("0x")||t.startsWith("0X")?t.substring(2):t}Wi.remove0x=jmn});var s3e=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 V6=Uh(),f3e=PD(),Nh0=48,Oh0=58,Uh0=87;function Gmn(){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 Kmn=Gmn();function i3e(t){return t instanceof Uint8Array}Na.isBytes=i3e;function lA(t){(0,V6.assert)(i3e(t),"Value must be a Uint8Array.")}Na.assertIsBytes=lA;function Hh0(t){if(lA(t),t.length===0)return"0x";let e=Kmn(),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 s$(e)}Na.bigIntToBytes=Wh0;function $mn(t,e){(0,V6.assert)(e>0);let n=t>>BigInt(31);return!((~t&n)+(t&~n)>>BigInt(e*8+-1))}function Jmn(t,e){(0,V6.assert)(typeof t=="bigint","Value must be a bigint."),(0,V6.assert)(typeof e=="number","Byte length must be a number."),(0,V6.assert)(e>0,"Byte length must be greater than 0."),(0,V6.assert)($mn(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=Jmn;function qh0(t){(0,V6.assert)(typeof t=="number","Value must be a number."),(0,V6.assert)(t>=0,"Value must be a non-negative number."),(0,V6.assert)(Number.isSafeInteger(t),"Value is not a safe integer. Use `bigIntToBytes` instead.");let e=t.toString(16);return s$(e)}Na.numberToBytes=qh0;function jh0(t){return(0,V6.assert)(typeof t=="string","Value must be a string."),new TextEncoder().encode(t)}Na.stringToBytes=jh0;function Gh0(t){if(typeof t=="bigint")return Wh0(t);if(typeof t=="number")return qh0(t);if(typeof t=="string")return t.startsWith("0x")?s$(t):jh0(t);if(i3e(t))return t;throw new TypeError(`Unsupported value type: "${typeof t}".`)}Na.valueToBytes=Gh0;function Xmn(t){let e=new Array(t.length),n=0;for(let r=0;r{"use strict";u();p();Object.defineProperty(o$,"__esModule",{value:!0});o$.ChecksumStruct=void 0;var Kh0=d4(),ebn=r3e();o$.ChecksumStruct=(0,Kh0.size)((0,ebn.base64)((0,Kh0.string)(),{paddingRequired:!0}),44,44)});var $h0=D(mp=>{"use strict";u();p();Object.defineProperty(mp,"__esModule",{value:!0});mp.createHex=mp.createBytes=mp.createBigInt=mp.createNumber=void 0;var Of=d4(),tbn=Uh(),Vh0=s3e(),c$=PD(),Yh0=(0,Of.union)([(0,Of.number)(),(0,Of.bigint)(),(0,Of.string)(),c$.StrictHexStruct]),nbn=(0,Of.coerce)((0,Of.number)(),Yh0,Number),abn=(0,Of.coerce)((0,Of.bigint)(),Yh0,BigInt),_Ja=(0,Of.union)([c$.StrictHexStruct,(0,Of.instance)(Uint8Array)]),rbn=(0,Of.coerce)((0,Of.instance)(Uint8Array),(0,Of.union)([c$.StrictHexStruct]),Vh0.hexToBytes),fbn=(0,Of.coerce)(c$.StrictHexStruct,(0,Of.instance)(Uint8Array),Vh0.bytesToHex);function ibn(t){try{let e=(0,Of.create)(t,nbn);return(0,tbn.assert)(Number.isFinite(e),`Expected a number-like value, got "${t}".`),e}catch(e){throw e instanceof Of.StructError?new Error(`Expected a number-like value, got "${t}".`):e}}mp.createNumber=ibn;function sbn(t){try{return(0,Of.create)(t,abn)}catch(e){throw e instanceof Of.StructError?new Error(`Expected a number-like value, got "${String(e.value)}".`):e}}mp.createBigInt=sbn;function obn(t){if(typeof t=="string"&&t.toLowerCase()==="0x")return new Uint8Array;try{return(0,Of.create)(t,rbn)}catch(e){throw e instanceof Of.StructError?new Error(`Expected a bytes-like value, got "${String(e.value)}".`):e}}mp.createBytes=obn;function cbn(t){if(t instanceof Uint8Array&&t.length===0||typeof t=="string"&&t.toLowerCase()==="0x")return"0x";try{return(0,Of.create)(t,fbn)}catch(e){throw e instanceof Of.StructError?new Error(`Expected a bytes-like value, got "${String(e.value)}".`):e}}mp.createHex=cbn});var Xh0=D(yp=>{"use strict";u();p();var Jh0=yp&&yp.__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},yc=yp&&yp.__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)},$l,bp;Object.defineProperty(yp,"__esModule",{value:!0});yp.FrozenSet=yp.FrozenMap=void 0;var LD=class{constructor(e){$l.set(this,void 0),Jh0(this,$l,new Map(e),"f"),Object.freeze(this)}get size(){return yc(this,$l,"f").size}[($l=new WeakMap,Symbol.iterator)](){return yc(this,$l,"f")[Symbol.iterator]()}entries(){return yc(this,$l,"f").entries()}forEach(e,n){return yc(this,$l,"f").forEach((a,r,f)=>e.call(n,a,r,this))}get(e){return yc(this,$l,"f").get(e)}has(e){return yc(this,$l,"f").has(e)}keys(){return yc(this,$l,"f").keys()}values(){return yc(this,$l,"f").values()}toString(){return`FrozenMap(${this.size}) {${this.size>0?` ${[...this.entries()].map(([e,n])=>`${String(e)} => ${String(n)}`).join(", ")} `:""}}`}};yp.FrozenMap=LD;var FD=class{constructor(e){bp.set(this,void 0),Jh0(this,bp,new Set(e),"f"),Object.freeze(this)}get size(){return yc(this,bp,"f").size}[(bp=new WeakMap,Symbol.iterator)](){return yc(this,bp,"f")[Symbol.iterator]()}entries(){return yc(this,bp,"f").entries()}forEach(e,n){return yc(this,bp,"f").forEach((a,r,f)=>e.call(n,a,r,this))}has(e){return yc(this,bp,"f").has(e)}keys(){return yc(this,bp,"f").keys()}values(){return yc(this,bp,"f").values()}toString(){return`FrozenSet(${this.size}) {${this.size>0?` ${[...this.values()].map(e=>String(e)).join(", ")} `:""}}`}};yp.FrozenSet=FD;Object.freeze(LD);Object.freeze(LD.prototype);Object.freeze(FD);Object.freeze(FD.prototype)});var e30=D(Zh0=>{"use strict";u();p();Object.defineProperty(Zh0,"__esModule",{value:!0})});var t30=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=d4(),l4=Uh(),dbn=()=>(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)(),dbn(),(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 lbn(t){return(0,zt.is)(t,g0.JsonStruct)}g0.isValidJson=lbn;function ubn(t){(0,l4.assertStruct)(t,g0.JsonStruct,"Invalid JSON value");let e=JSON.stringify(t);return new TextEncoder().encode(e).byteLength}g0.getJsonSize=ubn;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 pbn(t){return(0,zt.is)(t,g0.JsonRpcNotificationStruct)}g0.isJsonRpcNotification=pbn;function hbn(t,e){(0,l4.assertStruct)(t,g0.JsonRpcNotificationStruct,"Invalid JSON-RPC notification",e)}g0.assertIsJsonRpcNotification=hbn;function mbn(t){return(0,zt.is)(t,g0.JsonRpcRequestStruct)}g0.isJsonRpcRequest=mbn;function bbn(t,e){(0,l4.assertStruct)(t,g0.JsonRpcRequestStruct,"Invalid JSON-RPC request",e)}g0.assertIsJsonRpcRequest=bbn;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 ybn(t){return(0,zt.is)(t,g0.PendingJsonRpcResponseStruct)}g0.isPendingJsonRpcResponse=ybn;function gbn(t,e){(0,l4.assertStruct)(t,g0.PendingJsonRpcResponseStruct,"Invalid pending JSON-RPC response",e)}g0.assertIsPendingJsonRpcResponse=gbn;function vbn(t){return(0,zt.is)(t,g0.JsonRpcResponseStruct)}g0.isJsonRpcResponse=vbn;function wbn(t,e){(0,l4.assertStruct)(t,g0.JsonRpcResponseStruct,"Invalid JSON-RPC response",e)}g0.assertIsJsonRpcResponse=wbn;function Tbn(t){return(0,zt.is)(t,g0.JsonRpcSuccessStruct)}g0.isJsonRpcSuccess=Tbn;function xbn(t,e){(0,l4.assertStruct)(t,g0.JsonRpcSuccessStruct,"Invalid JSON-RPC success response",e)}g0.assertIsJsonRpcSuccess=xbn;function Ebn(t){return(0,zt.is)(t,g0.JsonRpcFailureStruct)}g0.isJsonRpcFailure=Ebn;function _bn(t,e){(0,l4.assertStruct)(t,g0.JsonRpcFailureStruct,"Invalid JSON-RPC failure response",e)}g0.assertIsJsonRpcFailure=_bn;function Abn(t){return(0,zt.is)(t,g0.JsonRpcErrorStruct)}g0.isJsonRpcError=Abn;function Cbn(t,e){(0,l4.assertStruct)(t,g0.JsonRpcErrorStruct,"Invalid JSON-RPC error",e)}g0.assertIsJsonRpcError=Cbn;function Ibn(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=Ibn});var a30=D(n30=>{"use strict";u();p();Object.defineProperty(n30,"__esModule",{value:!0})});var f30=D((HJa,r30)=>{u();p();var uA=1e3,pA=uA*60,hA=pA*60,Pg=hA*24,kbn=Pg*7,Sbn=Pg*365.25;r30.exports=function(t,e){e=e||{};var n=typeof t;if(n==="string"&&t.length>0)return Rbn(t);if(n==="number"&&isFinite(t))return e.long?Bbn(t):Mbn(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Rbn(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*Sbn;case"weeks":case"week":case"w":return n*kbn;case"days":case"day":case"d":return n*Pg;case"hours":case"hour":case"hrs":case"hr":case"h":return n*hA;case"minutes":case"minute":case"mins":case"min":case"m":return n*pA;case"seconds":case"second":case"secs":case"sec":case"s":return n*uA;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function Mbn(t){var e=Math.abs(t);return e>=Pg?Math.round(t/Pg)+"d":e>=hA?Math.round(t/hA)+"h":e>=pA?Math.round(t/pA)+"m":e>=uA?Math.round(t/uA)+"s":t+"ms"}function Bbn(t){var e=Math.abs(t);return e>=Pg?d$(t,e,Pg,"day"):e>=hA?d$(t,e,hA,"hour"):e>=pA?d$(t,e,pA,"minute"):e>=uA?d$(t,e,uA,"second"):t+" ms"}function d$(t,e,n,a){var r=e>=n*1.5;return Math.round(t/n)+" "+a+(r?"s":"")}});var s30=D((qJa,i30)=>{u();p();function Dbn(t){n.debug=n,n.default=n,n.coerce=o,n.disable=f,n.enable=r,n.enabled=i,n.humanize=f30(),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();Y6.formatArgs=Lbn;Y6.save=Fbn;Y6.load=Nbn;Y6.useColors=Pbn;Y6.storage=Obn();Y6.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`."))}})();Y6.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 Pbn(){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 Lbn(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+l$.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)}Y6.log=console.debug||console.log||(()=>{});function Fbn(t){try{t?Y6.storage.setItem("debug",t):Y6.storage.removeItem("debug")}catch{}}function Nbn(){let t;try{t=Y6.storage.getItem("debug")}catch{}return!t&&typeof x<"u"&&"env"in x&&(t=x.env.DEBUG),t}function Obn(){try{return localStorage}catch{}}l$.exports=s30()(Y6);var{formatters:Ubn}=l$.exports;Ubn.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var c30=D(u4=>{"use strict";u();p();var Hbn=u4&&u4.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(u4,"__esModule",{value:!0});u4.createModuleLogger=u4.createProjectLogger=void 0;var zbn=Hbn(o30()),Wbn=(0,zbn.default)("metamask");function qbn(t){return Wbn.extend(t)}u4.createProjectLogger=qbn;function jbn(t,e){return t.extend(e)}u4.createModuleLogger=jbn});var l30=D(xf=>{"use strict";u();p();Object.defineProperty(xf,"__esModule",{value:!0});xf.calculateNumberSize=xf.calculateStringSize=xf.isASCII=xf.isPlainObject=xf.ESCAPE_CHARACTERS_REGEXP=xf.JsonSize=xf.hasProperty=xf.isObject=xf.isNullOrUndefined=xf.isNonEmptyArray=void 0;function Gbn(t){return Array.isArray(t)&&t.length>0}xf.isNonEmptyArray=Gbn;function Kbn(t){return t==null}xf.isNullOrUndefined=Kbn;function Qbn(t){return!!t&&typeof t=="object"&&!Array.isArray(t)}xf.isObject=Qbn;var Vbn=(t,e)=>Object.hasOwnProperty.call(t,e);xf.hasProperty=Vbn;var Ybn;(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"})(Ybn=xf.JsonSize||(xf.JsonSize={}));xf.ESCAPE_CHARACTERS_REGEXP=/"|\\|\n|\r|\t/gu;function $bn(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}}xf.isPlainObject=$bn;function d30(t){return t.charCodeAt(0)<=127}xf.isASCII=d30;function Jbn(t){var e;return t.split("").reduce((a,r)=>d30(r)?a+1:a+2,0)+((e=t.match(xf.ESCAPE_CHARACTERS_REGEXP))!==null&&e!==void 0?e:[]).length}xf.calculateStringSize=Jbn;function Xbn(t){return t.toString().length}xf.calculateNumberSize=Xbn});var u30=D(gp=>{"use strict";u();p();Object.defineProperty(gp,"__esModule",{value:!0});gp.hexToBigInt=gp.hexToNumber=gp.bigIntToHex=gp.numberToHex=void 0;var mA=Uh(),ND=PD(),Zbn=t=>((0,mA.assert)(typeof t=="number","Value must be a number."),(0,mA.assert)(t>=0,"Value must be a non-negative number."),(0,mA.assert)(Number.isSafeInteger(t),"Value is not a safe integer. Use `bigIntToHex` instead."),(0,ND.add0x)(t.toString(16)));gp.numberToHex=Zbn;var e4n=t=>((0,mA.assert)(typeof t=="bigint","Value must be a bigint."),(0,mA.assert)(t>=0,"Value must be a non-negative bigint."),(0,ND.add0x)(t.toString(16)));gp.bigIntToHex=e4n;var t4n=t=>{(0,ND.assertIsHexString)(t);let e=parseInt(t,16);return(0,mA.assert)(Number.isSafeInteger(e),"Value is not a safe integer. Use `hexToBigInt` instead."),e};gp.hexToNumber=t4n;var n4n=t=>((0,ND.assertIsHexString)(t),BigInt((0,ND.add0x)(t)));gp.hexToBigInt=n4n});var h30=D(p30=>{"use strict";u();p();Object.defineProperty(p30,"__esModule",{value:!0})});var b30=D(Hh=>{"use strict";u();p();Object.defineProperty(Hh,"__esModule",{value:!0});Hh.timeSince=Hh.inMilliseconds=Hh.Duration=void 0;var a4n;(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"})(a4n=Hh.Duration||(Hh.Duration={}));var r4n=t=>Number.isInteger(t)&&t>=0,m30=(t,e)=>{if(!r4n(t))throw new Error(`"${e}" must be a non-negative integer. Received: "${t}".`)};function f4n(t,e){return m30(t,"count"),t*e}Hh.inMilliseconds=f4n;function i4n(t){return m30(t,"timestamp"),Date.now()-t}Hh.timeSince=i4n});var g30=D(y30=>{"use strict";u();p();Object.defineProperty(y30,"__esModule",{value:!0})});var w30=D(Ef=>{"use strict";u();p();Object.defineProperty(Ef,"__esModule",{value:!0});Ef.satisfiesVersionRange=Ef.gtRange=Ef.gtVersion=Ef.assertIsSemVerRange=Ef.assertIsSemVerVersion=Ef.isValidSemVerRange=Ef.isValidSemVerVersion=Ef.VersionRangeStruct=Ef.VersionStruct=void 0;var OD=Uce(),bA=d4(),v30=Uh();Ef.VersionStruct=(0,bA.refine)((0,bA.string)(),"Version",t=>(0,OD.valid)(t)===null?`Expected SemVer version, got "${t}"`:!0);Ef.VersionRangeStruct=(0,bA.refine)((0,bA.string)(),"Version range",t=>(0,OD.validRange)(t)===null?`Expected SemVer range, got "${t}"`:!0);function s4n(t){return(0,bA.is)(t,Ef.VersionStruct)}Ef.isValidSemVerVersion=s4n;function o4n(t){return(0,bA.is)(t,Ef.VersionRangeStruct)}Ef.isValidSemVerRange=o4n;function c4n(t){(0,v30.assertStruct)(t,Ef.VersionStruct)}Ef.assertIsSemVerVersion=c4n;function d4n(t){(0,v30.assertStruct)(t,Ef.VersionRangeStruct)}Ef.assertIsSemVerRange=d4n;function l4n(t,e){return(0,OD.gt)(t,e)}Ef.gtVersion=l4n;function u4n(t,e){return(0,OD.gtr)(t,e)}Ef.gtRange=u4n;function p4n(t,e){return(0,OD.satisfies)(t,e,{includePrerelease:!0})}Ef.satisfiesVersionRange=p4n});var T30=D(Uf=>{"use strict";u();p();var h4n=Uf&&Uf.__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]}),xo=Uf&&Uf.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&h4n(e,t,n)};Object.defineProperty(Uf,"__esModule",{value:!0});xo(Uh(),Uf);xo(r3e(),Uf);xo(s3e(),Uf);xo(Qh0(),Uf);xo($h0(),Uf);xo(Xh0(),Uf);xo(e30(),Uf);xo(PD(),Uf);xo(t30(),Uf);xo(a30(),Uf);xo(c30(),Uf);xo(l30(),Uf);xo(u30(),Uf);xo(h30(),Uf);xo(b30(),Uf);xo(g30(),Uf);xo(w30(),Uf)});var E30=D(yA=>{"use strict";u();p();Object.defineProperty(yA,"__esModule",{value:!0});yA.createModuleLogger=yA.projectLogger=void 0;var x30=T30();Object.defineProperty(yA,"createModuleLogger",{enumerable:!0,get:function(){return x30.createModuleLogger}});yA.projectLogger=(0,x30.createProjectLogger)("eth-block-tracker")});var k30=D(gA=>{"use strict";u();p();var I30=gA&&gA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(gA,"__esModule",{value:!0});gA.PollingBlockTracker=void 0;var m4n=I30(a$()),b4n=I30(kh0()),y4n=a3e(),_30=E30(),A30=(0,_30.createModuleLogger)(_30.projectLogger,"polling-block-tracker"),g4n=(0,m4n.default)(),v4n=1e3,o3e=class extends y4n.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*v4n,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=C30(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=C30(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:g4n(),method:"eth_blockNumber",params:[]};this._setSkipCacheFlag&&(e.skipCache=!0),A30("Making request",e);let n=await(0,b4n.default)(a=>this._provider.sendAsync(e,a))();if(A30("Got response",n),n.error)throw new Error(`PollingBlockTracker - encountered error fetching block: -${n.error.message}`);return n.result}};gA.PollingBlockTracker=o3e;function C30(t,e){return new Promise(n=>{let a=setTimeout(n,t);a.unref&&e&&a.unref()})}});var S30=D(vA=>{"use strict";u();p();var w4n=vA&&vA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(vA,"__esModule",{value:!0});vA.SubscribeBlockTracker=void 0;var T4n=w4n(a$()),x4n=a3e(),E4n=(0,T4n.default)(),c3e=class extends x4n.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:E4n(),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)}};vA.SubscribeBlockTracker=c3e});var M30=D(p4=>{"use strict";u();p();var _4n=p4&&p4.__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]}),R30=p4&&p4.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&_4n(e,t,n)};Object.defineProperty(p4,"__esModule",{value:!0});R30(k30(),p4);R30(S30(),p4)});var l3e=D(u$=>{"use strict";u();p();Object.defineProperty(u$,"__esModule",{value:!0});u$.getUniqueId=void 0;var B30=4294967295,d3e=Math.floor(Math.random()*B30);function A4n(){return d3e=(d3e+1)%B30,d3e}u$.getUniqueId=A4n});var D30=D(p$=>{"use strict";u();p();Object.defineProperty(p$,"__esModule",{value:!0});p$.createIdRemapMiddleware=void 0;var C4n=l3e();function I4n(){return(t,e,n,a)=>{let r=t.id,f=C4n.getUniqueId();t.id=f,e.id=f,n(i=>{t.id=r,e.id=r,i()})}}p$.createIdRemapMiddleware=I4n});var P30=D(h$=>{"use strict";u();p();Object.defineProperty(h$,"__esModule",{value:!0});h$.createAsyncMiddleware=void 0;function k4n(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)}}}h$.createAsyncMiddleware=k4n});var L30=D(m$=>{"use strict";u();p();Object.defineProperty(m$,"__esModule",{value:!0});m$.createScaffoldMiddleware=void 0;function S4n(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())}}m$.createScaffoldMiddleware=S4n});var N30=D(p3e=>{"use strict";u();p();Object.defineProperty(p3e,"__esModule",{value:!0});var R4n=Or();function F30(t,e,n){try{Reflect.apply(t,e,n)}catch(a){setTimeout(()=>{throw a})}}function M4n(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")F30(f,this,n);else{let i=f.length,s=M4n(f);for(let o=0;o{u();p();W30.exports=UD;UD.default=UD;UD.stable=H30;UD.stableStringify=H30;var b$="[...]",O30="[Circular]",Fg=[],Lg=[];function U30(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function UD(t,e,n,a){typeof a>"u"&&(a=U30()),h3e(t,"",0,[],void 0,0,a);var r;try{Lg.length===0?r=JSON.stringify(t,e,n):r=JSON.stringify(t,z30(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;Fg.length!==0;){var f=Fg.pop();f.length===4?Object.defineProperty(f[0],f[1],f[3]):f[0][f[1]]=f[2]}}return r}function wA(t,e,n,a){var r=Object.getOwnPropertyDescriptor(a,n);r.get!==void 0?r.configurable?(Object.defineProperty(a,n,{value:t}),Fg.push([a,n,e,r])):Lg.push([e,n,t]):(a[n]=t,Fg.push([a,n,e]))}function h3e(t,e,n,a,r,f,i){f+=1;var s;if(typeof t=="object"&&t!==null){for(s=0;si.depthLimit){wA(b$,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){wA(b$,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;se?1:0}function H30(t,e,n,a){typeof a>"u"&&(a=U30());var r=m3e(t,"",0,[],void 0,0,a)||t,f;try{Lg.length===0?f=JSON.stringify(r,e,n):f=JSON.stringify(r,z30(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;Fg.length!==0;){var i=Fg.pop();i.length===4?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}}return f}function m3e(t,e,n,a,r,f,i){f+=1;var s;if(typeof t=="object"&&t!==null){for(s=0;si.depthLimit){wA(b$,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){wA(b$,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(TA,"__esModule",{value:!0});TA.EthereumProviderError=TA.EthereumRpcError=void 0;var D4n=q30(),y$=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 D4n.default(this.serialize(),L4n,2)}};TA.EthereumRpcError=y$;var b3e=class extends y${constructor(e,n,a){if(!P4n(e))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,n,a)}};TA.EthereumProviderError=b3e;function P4n(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}function L4n(t,e){if(e!=="[Circular]")return e}});var v$=D(xA=>{"use strict";u();p();Object.defineProperty(xA,"__esModule",{value:!0});xA.errorValues=xA.errorCodes=void 0;xA.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}};xA.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 v3e=D(Jl=>{"use strict";u();p();Object.defineProperty(Jl,"__esModule",{value:!0});Jl.serializeError=Jl.isValidCode=Jl.getMessageFromCode=Jl.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;var w$=v$(),F4n=g$(),j30=w$.errorCodes.rpc.internal,N4n="Unspecified error message. This is a bug, please report it.",O4n={code:j30,message:g3e(j30)};Jl.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.";function g3e(t,e=N4n){if(Number.isInteger(t)){let n=t.toString();if(y3e(w$.errorValues,n))return w$.errorValues[n].message;if(Q30(t))return Jl.JSON_RPC_SERVER_ERROR_MESSAGE}return e}Jl.getMessageFromCode=g3e;function K30(t){if(!Number.isInteger(t))return!1;let e=t.toString();return!!(w$.errorValues[e]||Q30(t))}Jl.isValidCode=K30;function U4n(t,{fallbackError:e=O4n,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 F4n.EthereumRpcError)return t.serialize();let f={};if(t&&typeof t=="object"&&!Array.isArray(t)&&y3e(t,"code")&&K30(t.code)){let s=t;f.code=s.code,s.message&&typeof s.message=="string"?(f.message=s.message,y3e(s,"data")&&(f.data=s.data)):(f.message=g3e(f.code),f.data={originalError:G30(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:G30(t)}}let i=(r=t)===null||r===void 0?void 0:r.stack;return n&&t&&i&&typeof i=="string"&&(f.stack=i),f}Jl.serializeError=U4n;function Q30(t){return t>=-32099&&t<=-32e3}function G30(t){return t&&typeof t=="object"&&!Array.isArray(t)?Object.assign({},t):t}function y3e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}});var $30=D(T$=>{"use strict";u();p();Object.defineProperty(T$,"__esModule",{value:!0});T$.ethErrors=void 0;var w3e=g$(),V30=v3e(),E1=v$();T$.ethErrors={rpc:{parse:t=>Cd(E1.errorCodes.rpc.parse,t),invalidRequest:t=>Cd(E1.errorCodes.rpc.invalidRequest,t),invalidParams:t=>Cd(E1.errorCodes.rpc.invalidParams,t),methodNotFound:t=>Cd(E1.errorCodes.rpc.methodNotFound,t),internal:t=>Cd(E1.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 Cd(e,t)},invalidInput:t=>Cd(E1.errorCodes.rpc.invalidInput,t),resourceNotFound:t=>Cd(E1.errorCodes.rpc.resourceNotFound,t),resourceUnavailable:t=>Cd(E1.errorCodes.rpc.resourceUnavailable,t),transactionRejected:t=>Cd(E1.errorCodes.rpc.transactionRejected,t),methodNotSupported:t=>Cd(E1.errorCodes.rpc.methodNotSupported,t),limitExceeded:t=>Cd(E1.errorCodes.rpc.limitExceeded,t)},provider:{userRejectedRequest:t=>HD(E1.errorCodes.provider.userRejectedRequest,t),unauthorized:t=>HD(E1.errorCodes.provider.unauthorized,t),unsupportedMethod:t=>HD(E1.errorCodes.provider.unsupportedMethod,t),disconnected:t=>HD(E1.errorCodes.provider.disconnected,t),chainDisconnected:t=>HD(E1.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 w3e.EthereumProviderError(e,n,a)}}};function Cd(t,e){let[n,a]=Y30(e);return new w3e.EthereumRpcError(t,n||V30.getMessageFromCode(t),a)}function HD(t,e){let[n,a]=Y30(e);return new w3e.EthereumProviderError(t,n||V30.getMessageFromCode(t),a)}function Y30(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(s6=>{"use strict";u();p();Object.defineProperty(s6,"__esModule",{value:!0});s6.getMessageFromCode=s6.serializeError=s6.EthereumProviderError=s6.EthereumRpcError=s6.ethErrors=s6.errorCodes=void 0;var J30=g$();Object.defineProperty(s6,"EthereumRpcError",{enumerable:!0,get:function(){return J30.EthereumRpcError}});Object.defineProperty(s6,"EthereumProviderError",{enumerable:!0,get:function(){return J30.EthereumProviderError}});var X30=v3e();Object.defineProperty(s6,"serializeError",{enumerable:!0,get:function(){return X30.serializeError}});Object.defineProperty(s6,"getMessageFromCode",{enumerable:!0,get:function(){return X30.getMessageFromCode}});var H4n=$30();Object.defineProperty(s6,"ethErrors",{enumerable:!0,get:function(){return H4n.ethErrors}});var z4n=v$();Object.defineProperty(s6,"errorCodes",{enumerable:!0,get:function(){return z4n.errorCodes}})});var E3e=D(EA=>{"use strict";u();p();var W4n=EA&&EA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(EA,"__esModule",{value:!0});EA.JsonRpcEngine=void 0;var q4n=W4n(N30()),Id=Z30(),x3e=class t extends q4n.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 Id.EthereumRpcError(Id.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 Id.EthereumRpcError(Id.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=Id.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=Id.serializeError(c)),f([c,!0])},s=o=>{n.error?i(n.error):(o&&(typeof o!="function"&&i(new Id.EthereumRpcError(Id.errorCodes.rpc.internal,`JsonRpcEngine: "next" return handlers must be functions. Received "${typeof o}" for request: -${T3e(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 Id.EthereumRpcError(Id.errorCodes.rpc.internal,`JsonRpcEngine: Response has no error or result for request: -${T3e(e)}`,{request:e});if(!a)throw new Id.EthereumRpcError(Id.errorCodes.rpc.internal,`JsonRpcEngine: Nothing ended request: -${T3e(e)}`,{request:e})}};EA.JsonRpcEngine=x3e;function T3e(t){return JSON.stringify(t,null,2)}});var em0=D(x$=>{"use strict";u();p();Object.defineProperty(x$,"__esModule",{value:!0});x$.mergeMiddleware=void 0;var j4n=E3e();function G4n(t){let e=new j4n.JsonRpcEngine;return t.forEach(n=>e.push(n)),e.asMiddleware()}x$.mergeMiddleware=G4n});var _3e=D(kd=>{"use strict";u();p();var K4n=kd&&kd.__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]}),_A=kd&&kd.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&K4n(e,t,n)};Object.defineProperty(kd,"__esModule",{value:!0});_A(D30(),kd);_A(P30(),kd);_A(L30(),kd);_A(l3e(),kd);_A(E3e(),kd);_A(em0(),kd)});var C3e=D(A3e=>{"use strict";u();p();Object.defineProperty(A3e,"__esModule",{value:!0});var tm0=(gV(),vn(yV)),Q4n=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 tm0.__awaiter(this,void 0,void 0,function(){var n,a,r;return tm0.__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}();A3e.default=Q4n});var am0=D(I3e=>{"use strict";u();p();Object.defineProperty(I3e,"__esModule",{value:!0});var nm0=(gV(),vn(yV)),V4n=C3e(),Y4n=function(){function t(){this._semaphore=new V4n.default(1)}return t.prototype.acquire=function(){return nm0.__awaiter(this,void 0,void 0,function(){var e,n;return nm0.__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}();I3e.default=Y4n});var rm0=D(_$=>{"use strict";u();p();Object.defineProperty(_$,"__esModule",{value:!0});_$.withTimeout=void 0;var E$=(gV(),vn(yV));function $4n(t,e,n){var a=this;return n===void 0&&(n=new Error("timeout")),{acquire:function(){return new Promise(function(r,f){return E$.__awaiter(a,void 0,void 0,function(){var i,s,o;return E$.__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 E$.__awaiter(this,void 0,void 0,function(){var f,i;return E$.__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()}}}_$.withTimeout=$4n});var fm0=D(h4=>{"use strict";u();p();Object.defineProperty(h4,"__esModule",{value:!0});h4.withTimeout=h4.Semaphore=h4.Mutex=void 0;var J4n=am0();Object.defineProperty(h4,"Mutex",{enumerable:!0,get:function(){return J4n.default}});var X4n=C3e();Object.defineProperty(h4,"Semaphore",{enumerable:!0,get:function(){return X4n.default}});var Z4n=rm0();Object.defineProperty(h4,"withTimeout",{enumerable:!0,get:function(){return Z4n.withTimeout}})});var sm0=D((RZa,im0)=>{u();p();im0.exports=tyn;var eyn=Object.prototype.hasOwnProperty;function tyn(){for(var t={},e=0;e{u();p();var nyn=sm0(),ayn=a$()();om0.exports=Gt;function Gt(t){let e=this;e.currentProvider=t}Gt.prototype.getBalance=zD(2,"eth_getBalance");Gt.prototype.getCode=zD(2,"eth_getCode");Gt.prototype.getTransactionCount=zD(2,"eth_getTransactionCount");Gt.prototype.getStorageAt=zD(3,"eth_getStorageAt");Gt.prototype.call=zD(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(ryn(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 zD(t,e){return function(){let n=this;var a=[].slice.call(arguments),r=a.pop();a.length{"use strict";u();p();var dm0=(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)})},lm0=new WeakMap;um0.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=lm0.get(i);if(o||(o={},lm0.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:dm0(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=dm0(o,e,f,i);return r.set(o,d),d}return o}});return f}});var A$=D((UZa,hm0)=>{u();p();var fyn=r$().default,k3e=class extends fyn{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}};hm0.exports=k3e});var bm0=D((WZa,mm0)=>{u();p();var iyn=A$(),S3e=class extends iyn{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}};mm0.exports=S3e});var AA=D((GZa,vm0)=>{u();p();vm0.exports={minBlockRef:syn,maxBlockRef:oyn,sortBlockRefs:R3e,bnToHex:cyn,blockRefIsNumber:dyn,hexToInt:C$,incrementHexInt:lyn,intToHex:gm0,unsafeRandomBytes:uyn};function syn(...t){return R3e(t)[0]}function oyn(...t){let e=R3e(t);return e[e.length-1]}function R3e(t){return t.sort((e,n)=>e==="latest"||n==="earliest"?1:n==="latest"||e==="earliest"?-1:C$(e)-C$(n))}function cyn(t){return"0x"+t.toString(16)}function dyn(t){return t&&!["earliest","latest","pending"].includes(t)}function C$(t){return t==null?t:Number.parseInt(t,16)}function lyn(t){if(t==null)return t;let e=C$(t);return gm0(e+1)}function gm0(t){if(t==null)return t;let e=t.toString(16);return e.length%2&&(e="0"+e),"0x"+e}function uyn(t){let e="0x";for(let n=0;n{u();p();var pyn=cm0(),hyn=pm0(),myn=bm0(),{bnToHex:VZa,hexToInt:I$,incrementHexInt:byn,minBlockRef:yyn,blockRefIsNumber:gyn}=AA(),M3e=class extends myn{constructor({provider:e,params:n}){super(),this.type="log",this.ethQuery=new pyn(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=yyn(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=byn(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 hyn(a=>this.ethQuery.getLogs(e,a))()}matchLog(e){if(I$(this.params.fromBlock)>=I$(e.blockNumber)||gyn(this.params.toBlock)&&I$(this.params.toBlock)<=I$(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))})}};wm0.exports=M3e});var k$=D((XZa,Em0)=>{u();p();Em0.exports=vyn;async function vyn({provider:t,fromBlock:e,toBlock:n}){e||(e=n);let a=xm0(e),f=xm0(n)-a+1,i=Array(f).fill().map((o,c)=>a+c).map(wyn),s=await Promise.all(i.map(o=>xyn(t,"eth_getBlockByNumber",[o,!1])));return s=s.filter(o=>o!==null),s}function xm0(t){return t==null?t:Number.parseInt(t,16)}function wyn(t){return t==null?t:"0x"+t.toString(16)}function Tyn(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 xyn(t,e,n){for(let a=0;a<3;a++)try{return await Tyn(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 Am0=D((ter,_m0)=>{u();p();var Eyn=A$(),_yn=k$(),{incrementHexInt:Ayn}=AA(),B3e=class extends Eyn{constructor({provider:e,params:n}){super(),this.type="block",this.provider=e}async update({oldBlock:e,newBlock:n}){let a=n,r=Ayn(e),i=(await _yn({provider:this.provider,fromBlock:r,toBlock:a})).map(s=>s.hash);this.addResults(i)}};_m0.exports=B3e});var Im0=D((rer,Cm0)=>{u();p();var Cyn=A$(),Iyn=k$(),{incrementHexInt:kyn}=AA(),D3e=class extends Cyn{constructor({provider:e}){super(),this.type="tx",this.provider=e}async update({oldBlock:e}){let n=e,a=kyn(e),r=await Iyn({provider:this.provider,fromBlock:a,toBlock:n}),f=[];for(let i of r)f.push(...i.transactions);this.addResults(f)}};Cm0.exports=D3e});var Rm0=D((ser,Sm0)=>{u();p();var Syn=fm0().Mutex,{createAsyncMiddleware:Ryn,createScaffoldMiddleware:Myn}=_3e(),Byn=Tm0(),Dyn=Am0(),Pyn=Im0(),{intToHex:km0,hexToInt:P3e}=AA();Sm0.exports=Lyn;function Lyn({blockTracker:t,provider:e}){let n=0,a={},r=new Syn,f=Fyn({mutex:r}),i=Myn({eth_newFilter:f(L3e(o)),eth_newBlockFilter:f(L3e(c)),eth_newPendingTransactionFilter:f(L3e(d)),eth_uninstallFilter:f(S$(y)),eth_getFilterChanges:f(S$(l)),eth_getFilterLogs:f(S$(h))}),s=async({oldBlock:z,newBlock:W})=>{if(a.length===0)return;let j=await r.acquire();try{await Promise.all(CA(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 Byn({provider:e,params:z}),j=await v(W);return W}async function c(){let z=new Dyn({provider:e}),W=await v(z);return z}async function d(){let z=new Pyn({provider:e}),W=await v(z);return z}async function l(z){let W=P3e(z),j=a[W];if(!j)throw new Error(`No filter for index "${W}"`);return j.getChangesAndClear()}async function h(z){let W=P3e(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=P3e(z),Q=!!a[W];return Q&&await k(W),Q}async function v(z){let W=CA(a).length,j=await t.getLatestBlock();await z.initialize({currentBlock:j}),n++,a[n]=z,z.id=n,z.idHex=km0(n);let Q=CA(a).length;return F({prevFilterCount:W,newFilterCount:Q}),n}async function k(z){let W=CA(a).length;delete a[z];let j=CA(a).length;F({prevFilterCount:W,newFilterCount:j})}async function O(){let z=CA(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 L3e(t){return S$(async(...e)=>{let n=await t(...e);return km0(n.id)})}function S$(t){return Ryn(async(e,n)=>{let a=await t.apply(null,e.params);n.result=a})}function Fyn({mutex:t}){return e=>async(n,a,r,f)=>{(await t.acquire())(),e(n,a,r,f)}}function CA(t,e){let n=[];for(let a in t)n.push(t[a]);return n}});var Dm0=D((der,Bm0)=>{u();p();var Nyn=r$().default,{createAsyncMiddleware:Mm0,createScaffoldMiddleware:Oyn}=_3e(),Uyn=Rm0(),{unsafeRandomBytes:Hyn,incrementHexInt:zyn}=AA(),Wyn=k$();Bm0.exports=qyn;function qyn({blockTracker:t,provider:e}){let n={},a=Uyn({blockTracker:t,provider:e}),r=!1,f=new Nyn,i=Oyn({eth_subscribe:Mm0(s),eth_unsubscribe:Mm0(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=Hyn(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=zyn(j);(await Wyn({provider:e,fromBlock:X,toBlock:V})).map(jyn).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 jyn(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 Lm0=D(R$=>{"use strict";u();p();Object.defineProperty(R$,"__esModule",{value:!0});R$.SubscriptionManager=void 0;var Gyn=M30(),Kyn=Dm0(),Pm0=()=>{},F3e=class{constructor(e){let n=new Gyn.PollingBlockTracker({provider:e,pollingInterval:15e3,setSkipCacheFlag:!0}),{events:a,middleware:r}=Kyn({blockTracker:n,provider:e});this.events=a,this.subscriptionMiddleware=r}async handleRequest(e){let n={};return await this.subscriptionMiddleware(e,n,Pm0,Pm0),n}destroy(){this.subscriptionMiddleware.destroy()}};R$.SubscriptionManager=F3e});var B$=D(IA=>{"use strict";u();p();var Um0=IA&&IA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(IA,"__esModule",{value:!0});IA.CoinbaseWalletProvider=void 0;var Qyn=Um0(Va()),Vyn=Wse(),Sa=vD(),An=sp(),Yyn=Yhe(),Fm0=AY(),M$=IY(),$6=yY(),N3e=Um0(vh0()),WD=_Y(),$yn=_h0(),Jyn=Lm0(),Nm0="DefaultChainId",Om0="DefaultJsonRpcUrl",O3e=class extends Vyn.EventEmitter{constructor(e){var n,a;super(),this._filterPolyfill=new $yn.FilterPolyfill(this),this._subscriptionManager=new Jyn.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(Fm0.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(Om0))!==null&&e!==void 0?e:this._jsonRpcUrlFromOpts}set jsonRpcUrl(e){this._storage.setItem(Om0,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(Nm0,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,$6.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,$6.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,$6.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(WD.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::enable",addresses_length:this._addresses.length,sessionIdHash:this._relay?M$.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,$6.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,$6.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(WD.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::connectAndSignIn",sessionIdHash:this._relay?M$.Session.hash(this._relay.session.id):void 0});let a;try{let f=await this.initializeRelay();if(!(f instanceof Yyn.MobileRelay))throw new Error("connectAndSignIn is only supported on mobile");if(a=await f.connectAndSignIn(e).promise,(0,$6.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,$6.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(Fm0.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(WD.EVENTS.METHOD_NOT_IMPLEMENTED,{method:e.method,sessionIdHash:this._relay?M$.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(WD.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 Qyn.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,$6.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,$6.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(Nm0);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(WD.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::_eth_requestAccounts",addresses_length:this._addresses.length,sessionIdHash:this._relay?M$.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,$6.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,$6.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,$6.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,$6.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=N3e.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=N3e.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=N3e.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))}};IA.CoinbaseWalletProvider=O3e});var Hm0=D(D$=>{"use strict";u();p();Object.defineProperty(D$,"__esModule",{value:!0});D$.RelayEventManager=void 0;var Xyn=sp(),U3e=class{constructor(){this._nextRequestId=0,this.callbacks=new Map}makeRequestId(){this._nextRequestId=(this._nextRequestId+1)%2147483647;let e=this._nextRequestId,n=(0,Xyn.prepend0x)(e.toString(16));return this.callbacks.get(n)&&this.callbacks.delete(n),e}};D$.RelayEventManager=U3e});var H3e=D(L$=>{"use strict";u();p();Object.defineProperty(L$,"__esModule",{value:!0});L$.CoinbaseWalletSDK=void 0;var Zyn=$20(),e7n=J20(),zm0=sp(),t7n=gp0(),n7n=B$(),a7n=Yhe(),r7n=Qhe(),f7n=Hm0(),i7n=Whe(),s7n=qhe(),Wm0=vY(),P$=class t{constructor(e){var n,a,r;this._appName="",this._appLogoUrl=null,this._relay=null,this._relayEventManager=null;let f=e.linkAPIUrl||e7n.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 t7n.ScopedLocalStorage(`-walletlink:${s}`),this._storage.setItem("version",t.VERSION),this.walletExtension||this.coinbaseBrowser)return;this._relayEventManager=new f7n.RelayEventManager;let o=(0,zm0.isMobileWeb)(),c=e.uiConstructor||(l=>o?new r7n.MobileRelayUI(l):new i7n.WalletLinkRelayUI(l)),d={linkAPIUrl:f,version:Wm0.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 a7n.MobileRelay(d):new s7n.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 n7n.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,zm0.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,Zyn.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}};L$.CoinbaseWalletSDK=P$;P$.VERSION=Wm0.LIB_VERSION});var jm0=D(Ng=>{"use strict";u();p();Object.defineProperty(Ng,"__esModule",{value:!0});Ng.CoinbaseWalletProvider=Ng.CoinbaseWalletSDK=void 0;var z3e=H3e(),qm0=B$(),o7n=H3e();Object.defineProperty(Ng,"CoinbaseWalletSDK",{enumerable:!0,get:function(){return o7n.CoinbaseWalletSDK}});var c7n=B$();Object.defineProperty(Ng,"CoinbaseWalletProvider",{enumerable:!0,get:function(){return c7n.CoinbaseWalletProvider}});Ng.default=z3e.CoinbaseWalletSDK;typeof window<"u"&&(window.CoinbaseWalletSDK=z3e.CoinbaseWalletSDK,window.CoinbaseWalletProvider=qm0.CoinbaseWalletProvider,window.WalletLink=z3e.CoinbaseWalletSDK,window.WalletLinkProvider=qm0.CoinbaseWalletProvider)});var Gm0={};G0(Gm0,{CoinbaseWalletConnector:()=>W3e});var m4,W3e,Km0=oe(()=>{"use strict";u();p();Ct();U9();mo();m4=Ee(Je());wn();uh();lh();W0();W3e=class extends t6{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:m4.utils.getAddress(r[0])})}),Pe(this,"onChainChanged",r=>{let f=wi(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=m4.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 m4.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 m4.utils.getAddress(n[0])}async getChainId(){let e=await this.getProvider();return wi(e.chainId)}async getProvider(){if(!this._provider){let e=(await Promise.resolve().then(()=>Ee(jm0()))).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 m4.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=m4.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 Cb({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:F2(f),blockExplorerUrls:this.getBlockExplorerUrls(f)}]}),f}catch(i){throw this._isUserRejectedRequestError(i)?new _t(i):new Ab}throw this._isUserRejectedRequestError(r)?new _t(r):new ic(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 $m0=D((Jer,Ym0)=>{u();p();var Vm0=t=>t==="injected"?"injected":t.endsWith(".ipc")?"ipc":t.startsWith("wss://")||t.startsWith("ws://")?"ws":t.startsWith("https://")||t.startsWith("http://")?"http":"";Ym0.exports=(t,e)=>[].concat(...[].concat(t).map(n=>e[n]?e[n].map(a=>({type:n,location:a,protocol:Vm0(a)})):{type:"custom",location:n,protocol:Vm0(n)})).filter(n=>n.protocol||n.type==="injected"?!0:(console.log('eth-provider | Invalid provider preset/location: "'+n.location+'"'),!1))});var Jm0=D(F$=>{"use strict";u();p();Object.defineProperty(F$,"__esModule",{value:!0});F$.create=void 0;function d7n(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=l7n(r);if(f)throw new Error(`Payload chainId (${f}) inconsistent with specified target chainId: ${a}`);return u7n(r)}return r}F$.create=d7n;function l7n(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 u7n(t){let e=t.params[0]||{};return{...t,params:[{...e,chainId:e.chainId||t.chainId},...t.params.slice(1)]}}});var Xm0=D(qD=>{"use strict";u();p();var p7n=qD&&qD.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(qD,"__esModule",{value:!0});var h7n=p7n(Or()),m7n=Jm0(),q3e=class extends h7n.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,m7n.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)}};qD.default=q3e});var eb0=D((i0r,Zm0)=>{u();p();var b7n=Or(),SA=x.env.NODE_ENV==="development",j3e=class extends b7n{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(SA&&e===0&&console.log(` +`);let i=Mpn(e,n,r),s=QV.getSymbolSize(e),o=new wpn(s);return Cpn(o,e),Ipn(o),kpn(o,e),L8e(o,n,0),e>=7&&Spn(o,e),Rpn(o,i),isNaN(a)&&(a=F8e.getBestMask(o,L8e.bind(null,o,n))),F8e.applyMask(a,o),L8e(o,n,a),{modules:o,version:e,errorCorrectionLevel:n,maskPattern:a,segments:r}}t20.create=function(e,n){if(typeof e>"u"||e==="")throw new Error("No input text");let a=D8e.M,r,f;return typeof n<"u"&&(a=D8e.from(n.errorCorrectionLevel,D8e.M),r=KV.from(n.version),f=F8e.from(n.maskPattern),n.toSJISFunc&&QV.setToSJISFunction(n.toSJISFunc)),Dpn(e,r,a,f)}});var O8e=D(gg=>{u();p();function a20(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("")}}gg.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:a20(e.color.dark||"#000000ff"),light:a20(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}};gg.getScale=function(e,n){return n.width&&n.width>=e+n.margin*2?n.width/(e+n.margin*2):n.scale};gg.getImageWidth=function(e,n){let a=gg.getScale(e,n);return Math.floor((e+n.margin*2)*a)};gg.qrToImageData=function(e,n,a){let r=n.modules.size,f=n.modules.data,i=gg.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 U8e=O8e();function Ppn(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 Lpn(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}VV.render=function(e,n,a){let r=a,f=n;typeof r>"u"&&(!n||!n.getContext)&&(r=n,n=void 0),n||(f=Lpn()),r=U8e.getOptions(r);let i=U8e.getImageWidth(e.modules.size,r),s=f.getContext("2d"),o=s.createImageData(i,i);return U8e.qrToImageData(o.data,e,r),Ppn(s,f,i),s.putImageData(o,0,0),f};VV.renderToDataURL=function(e,n,a){let r=a;typeof r>"u"&&(!n||!n.getContext)&&(r=n,n=void 0),r||(r={});let f=VV.render(e,n,r),i=r.type||"image/png",s=r.rendererOpts||{};return f.toDataURL(i,s.quality)}});var s20=D(i20=>{u();p();var Fpn=O8e();function f20(t,e){let n=t.a/255,a=e+'="'+t.hex+'"';return n<1?a+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':a}function H8e(t,e,n){let a=t+e;return typeof n<"u"&&(a+=" "+n),a}function Npn(t,e,n){let a="",r=0,f=!1,i=0;for(let s=0;s0&&o>0&&t[s-1]||(a+=f?H8e("M",o+n,.5+c+n):H8e("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 c20=D(cD=>{u();p();var Opn=cu0(),z8e=n20(),o20=r20(),Upn=s20();function W8e(t,e,n,a,r){let f=[].slice.call(arguments,1),i=f.length,s=typeof f[i-1]=="function";if(!s&&!Opn())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=z8e.create(n,a);o(t(d,e,a))}catch(d){c(d)}})}try{let o=z8e.create(n,a);r(null,t(o,e,a))}catch(o){r(o)}}cD.create=z8e.create;cD.toCanvas=W8e.bind(null,o20.render);cD.toDataURL=W8e.bind(null,o20.renderToDataURL);cD.toString=W8e.bind(null,function(t,e,n){return Upn.render(t,n)})});var x20={};G0(x20,{WcmModal:()=>$_,WcmQrCode:()=>Lh});function qpn(){var t;let e=(t=ap.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 u20(){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 $8e(t,e,n){return t===e?!1:(t-e<0?e-t:t-e)<=n+T8n}function x8n(t,e){let n=Array.prototype.slice.call(T20.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 T20,Hpn,d20,zpn,Wpn,l20,q8e,ha,jpn,Gpn,Kpn,G_,n4,Qpn,Vpn,Ypn,j8e,dD,$pn,Jpn,Xpn,Zpn,G8e,tr,e8n,t8n,n8n,a8n,K8e,r8n,f8n,i8n,s8n,Q8e,o8n,c8n,d8n,l8n,V8e,u8n,p8n,h8n,lD,vg,Zt,m8n,b8n,y8n,Y8e,uD,g8n,v8n,w8n,p20,YV,T8n,h20,Ph,E8n,_8n,A8n,C8n,K_,Lh,I8n,k8n,S8n,m20,$V,R8n,M8n,B8n,D8n,J8e,P8n,L8n,F8n,X8e,pD,N8n,O8n,U8n,a4,ip,H8n,z8n,W8n,JV,Q_,q8n,j8n,b20,Z8e,G8n,K8n,Q8n,y20,V8n,Y8n,$8n,J8n,ehe,X8n,Z8n,ehn,V_,r4,J_,f4,thn,nhn,ahn,rhn,the,fhn,ihn,shn,ohn,nhe,chn,dhn,lhn,uhn,ahe,phn,hhn,mhn,rhe,$_,bhn,yhn,ghn,hD,wg,vhn,whn,Thn,xhn,fhe,Ehn,_hn,Ahn,XV,Y_,Chn,Ihn,khn,ihe,Shn,Rhn,Mhn,g20,ZV,Bhn,Dhn,Phn,Lhn,she,Fhn,Nhn,Ohn,v20,eY,Uhn,Hhn,zhn,Whn,ohe,qhn,jhn,Ghn,che,Khn,Qhn,Vhn,mD,dhe,Tg,Yhn,$hn,Jhn,w20,tY,E20=oe(()=>{u();p();Sd0();Nd0();Wd0();Ipe();dg();fu0();su0();T20=Ee(c20(),1),Hpn=Object.defineProperty,d20=Object.getOwnPropertySymbols,zpn=Object.prototype.hasOwnProperty,Wpn=Object.prototype.propertyIsEnumerable,l20=(t,e,n)=>e in t?Hpn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,q8e=(t,e)=>{for(var n in e||(e={}))zpn.call(e,n)&&l20(t,n,e[n]);if(d20)for(var n of d20(e))Wpn.call(e,n)&&l20(t,n,e[n]);return t};ha={getPreset(t){return u20()[t]},setTheme(){let t=document.querySelector(":root"),{themeVariables:e}=ap.state;if(t){let n=q8e(q8e(q8e({},qpn()),u20()),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)}`},jpn=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}`,Gpn=Object.defineProperty,Kpn=Object.getOwnPropertyDescriptor,G_=(t,e,n,a)=>{for(var r=a>1?void 0:a?Kpn(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&&Gpn(e,n,r),r},n4=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``}};n4.styles=[ha.globalCss,jpn],G_([sn({type:Boolean})],n4.prototype,"disabled",2),G_([sn()],n4.prototype,"iconLeft",2),G_([sn()],n4.prototype,"iconRight",2),G_([sn()],n4.prototype,"onClick",2),G_([sn()],n4.prototype,"variant",2),n4=G_([pa("wcm-button")],n4);Qpn=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)}}`,Vpn=Object.defineProperty,Ypn=Object.getOwnPropertyDescriptor,j8e=(t,e,n,a)=>{for(var r=a>1?void 0:a?Ypn(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&&Vpn(e,n,r),r},dD=class extends Tn{constructor(){super(...arguments),this.disabled=!1,this.variant="primary"}render(){let t={"wcm-secondary":this.variant==="secondary"};return q0``}};dD.styles=[ha.globalCss,Qpn],j8e([sn({type:Boolean})],dD.prototype,"disabled",2),j8e([sn()],dD.prototype,"variant",2),dD=j8e([pa("wcm-button-big")],dD);$pn=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}`,Jpn=Object.defineProperty,Xpn=Object.getOwnPropertyDescriptor,Zpn=(t,e,n,a)=>{for(var r=a>1?void 0:a?Xpn(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&&Jpn(e,n,r),r},G8e=class extends Tn{render(){return q0`
`}};G8e.styles=[ha.globalCss,$pn],G8e=Zpn([pa("wcm-info-footer")],G8e);tr={CROSS_ICON:Tf``,WALLET_CONNECT_LOGO:Tf``,WALLET_CONNECT_ICON:Tf``,WALLET_CONNECT_ICON_COLORED:Tf``,BACK_ICON:Tf``,COPY_ICON:Tf``,RETRY_ICON:Tf``,DESKTOP_ICON:Tf``,MOBILE_ICON:Tf``,ARROW_DOWN_ICON:Tf``,ARROW_UP_RIGHT_ICON:Tf``,ARROW_RIGHT_ICON:Tf``,QRCODE_ICON:Tf``,SCAN_ICON:Tf``,CHECKMARK_ICON:Tf``,SEARCH_ICON:Tf``,WALLET_PLACEHOLDER:Tf``,GLOBE_ICON:Tf``},e8n=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)}}`,t8n=Object.defineProperty,n8n=Object.getOwnPropertyDescriptor,a8n=(t,e,n,a)=>{for(var r=a>1?void 0:a?n8n(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&&t8n(e,n,r),r},K8e=class extends Tn{render(){return q0`
${tr.WALLET_CONNECT_LOGO}
`}};K8e.styles=[ha.globalCss,e8n],K8e=a8n([pa("wcm-modal-backcard")],K8e);r8n=Ia`main{padding:20px;padding-top:0;width:100%}`,f8n=Object.defineProperty,i8n=Object.getOwnPropertyDescriptor,s8n=(t,e,n,a)=>{for(var r=a>1?void 0:a?i8n(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&&f8n(e,n,r),r},Q8e=class extends Tn{render(){return q0`
`}};Q8e.styles=[ha.globalCss,r8n],Q8e=s8n([pa("wcm-modal-content")],Q8e);o8n=Ia`footer{padding:10px;display:flex;flex-direction:column;align-items:inherit;justify-content:inherit;border-top:1px solid var(--wcm-color-bg-2)}`,c8n=Object.defineProperty,d8n=Object.getOwnPropertyDescriptor,l8n=(t,e,n,a)=>{for(var r=a>1?void 0:a?d8n(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&&c8n(e,n,r),r},V8e=class extends Tn{render(){return q0`
`}};V8e.styles=[ha.globalCss,o8n],V8e=l8n([pa("wcm-modal-footer")],V8e);u8n=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)}`,p8n=Object.defineProperty,h8n=Object.getOwnPropertyDescriptor,lD=(t,e,n,a)=>{for(var r=a>1?void 0:a?h8n(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&&p8n(e,n,r),r},vg=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=wf.state.history.length>1,n=this.title?q0`${this.title}`:q0``;return q0`
${e?this.backBtnTemplate():null} ${n} ${this.onAction?this.actionBtnTemplate():null}
`}};vg.styles=[ha.globalCss,u8n],lD([sn()],vg.prototype,"title",2),lD([sn()],vg.prototype,"onAction",2),lD([sn()],vg.prototype,"actionIcon",2),lD([sn({type:Boolean})],vg.prototype,"border",2),vg=lD([pa("wcm-modal-header")],vg);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}=lc.state;return n!=null&&n[t]?n[t]:e?uc.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,gt.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}=Pf.state,{mobile:n,name:a}=t,r=n?.native,f=n?.universal;Zt.setRecentWallet(t);function i(s){let o="";r?o=gt.formatUniversalUrl(r,s,a):f&&(o=gt.formatNativeUrl(f,s,a)),gt.openHref(o,"_self")}e&&i(e)},handleAndroidLinking(){let{walletConnectUri:t}=Pf.state;t&&(gt.setWalletConnectAndroidDeepLink(t),gt.openHref(t,"_self"))},async handleUriCopy(){let{walletConnectUri:t}=Pf.state;if(t)try{await navigator.clipboard.writeText(t),kh.openToast("Link copied","success")}catch{kh.openToast("Failed to copy","error")}},getCustomImageUrls(){let{walletImages:t}=lc.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(){gt.openHref(Zt.EXPLORER_WALLET_URL,"_blank")},getCachedRouterWalletPlatforms(){let{desktop:t,mobile:e}=gt.getWalletRouterData(),n=!!t?.native,a=!!t?.universal,r=!!e?.native||!!e?.universal;return{isDesktop:n,isMobile:r,isWeb:a}},goToConnectingView(t){wf.setData({Wallet:t});let e=gt.isMobile(),{isDesktop:n,isWeb:a,isMobile:r}=Zt.getCachedRouterWalletPlatforms();e?r?wf.push("MobileConnecting"):a?wf.push("WebConnecting"):wf.push("InstallWallet"):n?wf.push("DesktopConnecting"):a?wf.push("WebConnecting"):r?wf.push("MobileQrcodeConnecting"):wf.push("InstallWallet")}},m8n=Ia`.wcm-router{overflow:hidden;will-change:transform}.wcm-content{display:flex;flex-direction:column}`,b8n=Object.defineProperty,y8n=Object.getOwnPropertyDescriptor,Y8e=(t,e,n,a)=>{for(var r=a>1?void 0:a?y8n(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&&b8n(e,n,r),r},uD=class extends Tn{constructor(){super(),this.view=wf.state.view,this.prevView=wf.state.view,this.unsubscribe=void 0,this.oldHeight="0px",this.resizeObserver=void 0,this.unsubscribe=wf.subscribe(t=>{this.view!==t.view&&this.onChangeRoute()})}firstUpdated(){this.resizeObserver=new ResizeObserver(([t])=>{let e=`${t.contentRect.height}px`;this.oldHeight!=="0px"&&Bh(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 Bh(this.routerEl,{opacity:[1,0],scale:[1,1.02]},{duration:.15,delay:.1}).finished,this.view=wf.state.view,Bh(this.routerEl,{opacity:[0,1],scale:[.99,1]},{duration:.37,delay:.05})}render(){return q0`
${this.viewTemplate()}
`}};uD.styles=[ha.globalCss,m8n],Y8e([pc()],uD.prototype,"view",2),Y8e([pc()],uD.prototype,"prevView",2),uD=Y8e([pa("wcm-modal-router")],uD);g8n=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)}`,v8n=Object.defineProperty,w8n=Object.getOwnPropertyDescriptor,p20=(t,e,n,a)=>{for(var r=a>1?void 0:a?w8n(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&&v8n(e,n,r),r},YV=class extends Tn{constructor(){super(),this.open=!1,this.unsubscribe=void 0,this.timeout=void 0,this.unsubscribe=kh.subscribe(t=>{t.open?(this.open=!0,this.timeout=setTimeout(()=>kh.closeToast(),2200)):(this.open=!1,clearTimeout(this.timeout))})}disconnectedCallback(){var t;(t=this.unsubscribe)==null||t.call(this),clearTimeout(this.timeout),kh.closeToast()}render(){let{message:t,variant:e}=kh.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}};YV.styles=[ha.globalCss,g8n],p20([pc()],YV.prototype,"open",2),YV=p20([pa("wcm-modal-toast")],YV);T8n=.1,h20=2.5,Ph=7;E8n={generate(t,e,n){let a="#141414",r="#ffffff",f=[],i=x8n(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-Ph)*s*v,F=(i.length-Ph)*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-(Ph+1)&&Fi.length-(Ph+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=>!$8e(F,z,s)));return[Number(v),O]}).forEach(([v,k])=>{k.forEach(O=>{f.push(Tf``)})}),Object.entries(y).filter(([v,k])=>k.length>1).map(([v,k])=>{let O=k.filter(F=>k.some(z=>$8e(F,z,s)));return[Number(v),O]}).map(([v,k])=>{k.sort((F,z)=>FW.some(j=>$8e(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(Tf``)})}),f}},_8n=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)}`,A8n=Object.defineProperty,C8n=Object.getOwnPropertyDescriptor,K_=(t,e,n,a)=>{for(var r=a>1?void 0:a?C8n(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&&A8n(e,n,r),r},Lh=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=ap.state.themeMode==="light"?this.size:this.size-36;return Tf`${E8n.generate(this.uri,t,t/4)}`}render(){let t={"wcm-dark":ap.state.themeMode==="dark"};return q0`
${this.walletId||this.imageUrl?q0``:tr.WALLET_CONNECT_ICON_COLORED} ${this.svgTemplate()}
`}};Lh.styles=[ha.globalCss,_8n],K_([sn()],Lh.prototype,"uri",2),K_([sn({type:Number})],Lh.prototype,"size",2),K_([sn()],Lh.prototype,"imageId",2),K_([sn()],Lh.prototype,"walletId",2),K_([sn()],Lh.prototype,"imageUrl",2),Lh=K_([pa("wcm-qrcode")],Lh);I8n=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)}`,k8n=Object.defineProperty,S8n=Object.getOwnPropertyDescriptor,m20=(t,e,n,a)=>{for(var r=a>1?void 0:a?S8n(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&&k8n(e,n,r),r},$V=class extends Tn{constructor(){super(...arguments),this.onChange=()=>null}render(){return q0` ${tr.SEARCH_ICON}`}};$V.styles=[ha.globalCss,I8n],m20([sn()],$V.prototype,"onChange",2),$V=m20([pa("wcm-search-input")],$V);R8n=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)}`,M8n=Object.defineProperty,B8n=Object.getOwnPropertyDescriptor,D8n=(t,e,n,a)=>{for(var r=a>1?void 0:a?B8n(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&&M8n(e,n,r),r},J8e=class extends Tn{render(){return q0``}};J8e.styles=[ha.globalCss,R8n],J8e=D8n([pa("wcm-spinner")],J8e);P8n=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)}`,L8n=Object.defineProperty,F8n=Object.getOwnPropertyDescriptor,X8e=(t,e,n,a)=>{for(var r=a>1?void 0:a?F8n(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&&L8n(e,n,r),r},pD=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``}};pD.styles=[ha.globalCss,P8n],X8e([sn()],pD.prototype,"variant",2),X8e([sn()],pD.prototype,"color",2),pD=X8e([pa("wcm-text")],pD);N8n=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}`,O8n=Object.defineProperty,U8n=Object.getOwnPropertyDescriptor,a4=(t,e,n,a)=>{for(var r=a>1?void 0:a?U8n(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&&O8n(e,n,r),r},ip=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(){Cpe.click({name:"WALLET_BUTTON",walletId:this.walletId}),this.onClick()}render(){var t;return q0``}};ip.styles=[ha.globalCss,N8n],a4([sn()],ip.prototype,"onClick",2),a4([sn()],ip.prototype,"name",2),a4([sn()],ip.prototype,"walletId",2),a4([sn()],ip.prototype,"label",2),a4([sn()],ip.prototype,"imageId",2),a4([sn({type:Boolean})],ip.prototype,"installed",2),a4([sn({type:Boolean})],ip.prototype,"recent",2),ip=a4([pa("wcm-wallet-button")],ip);H8n=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)}`,z8n=Object.defineProperty,W8n=Object.getOwnPropertyDescriptor,JV=(t,e,n,a)=>{for(var r=a>1?void 0:a?W8n(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&&z8n(e,n,r),r},Q_=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}`}};Q_.styles=[ha.globalCss,H8n],JV([sn()],Q_.prototype,"walletId",2),JV([sn()],Q_.prototype,"imageId",2),JV([sn()],Q_.prototype,"imageUrl",2),Q_=JV([pa("wcm-wallet-image")],Q_);q8n=Object.defineProperty,j8n=Object.getOwnPropertyDescriptor,b20=(t,e,n,a)=>{for(var r=a>1?void 0:a?j8n(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&&q8n(e,n,r),r},Z8e=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(lc.state.enableExplorer){await uc.getRecomendedWallets(),Pf.setIsDataLoaded(!0);let{recomendedWallets:t}=uc.state,e=t.map(n=>Zt.getWalletIcon(n));await this.loadImages(e)}else Pf.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),kh.openToast("Failed preloading","error")}}};b20([pc()],Z8e.prototype,"preload",2),Z8e=b20([pa("wcm-explorer-context")],Z8e);G8n=Object.defineProperty,K8n=Object.getOwnPropertyDescriptor,Q8n=(t,e,n,a)=>{for(var r=a>1?void 0:a?K8n(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&&G8n(e,n,r),r},y20=class extends Tn{constructor(){super(),this.unsubscribeTheme=void 0,ha.setTheme(),this.unsubscribeTheme=ap.subscribe(ha.setTheme)}disconnectedCallback(){var t;(t=this.unsubscribeTheme)==null||t.call(this)}};y20=Q8n([pa("wcm-theme-context")],y20);V8n=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)}`,Y8n=Object.defineProperty,$8n=Object.getOwnPropertyDescriptor,J8n=(t,e,n,a)=>{for(var r=a>1?void 0:a?$8n(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&&Y8n(e,n,r),r},ehe=class extends Tn{onGoToQrcode(){wf.push("Qrcode")}render(){let{recomendedWallets:t}=uc.state,e=[...t,...t],n=gt.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`}};ehe.styles=[ha.globalCss,V8n],ehe=J8n([pa("wcm-android-wallet-selection")],ehe);X8n=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}`,Z8n=Object.defineProperty,ehn=Object.getOwnPropertyDescriptor,V_=(t,e,n,a)=>{for(var r=a>1?void 0:a?ehn(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&&Z8n(e,n,r),r},r4=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=ap.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}`}};r4.styles=[ha.globalCss,X8n],V_([sn()],r4.prototype,"walletId",2),V_([sn()],r4.prototype,"imageId",2),V_([sn({type:Boolean})],r4.prototype,"isError",2),V_([sn({type:Boolean})],r4.prototype,"isStale",2),V_([sn()],r4.prototype,"label",2),r4=V_([pa("wcm-connector-waiting")],r4);J_={manualWallets(){var t,e;let{mobileWallets:n,desktopWallets:a}=lc.state,r=(t=J_.recentWallet())==null?void 0:t.id,f=gt.isMobile()?n:a,i=f?.filter(s=>r!==s.id);return(e=gt.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=J_.recentWallet())==null?void 0:e.id,{recomendedWallets:a}=uc.state;return a.filter(r=>n!==r.id)}},f4={onConnecting(t){Zt.goToConnectingView(t)},manualWalletsTemplate(){return J_.manualWallets().map(t=>q0``)},recomendedWalletsTemplate(t=!1){return J_.recomendedWallets(t).map(e=>q0``)},recentWalletTemplate(){let t=J_.recentWallet();if(t)return q0``}},thn=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)}`,nhn=Object.defineProperty,ahn=Object.getOwnPropertyDescriptor,rhn=(t,e,n,a)=>{for(var r=a>1?void 0:a?ahn(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&&nhn(e,n,r),r},the=class extends Tn{render(){let{explorerExcludedWalletIds:t,enableExplorer:e}=lc.state,n=t!=="ALL"&&e,a=f4.manualWalletsTemplate(),r=f4.recomendedWalletsTemplate(),f=[f4.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}`}};the.styles=[ha.globalCss,thn],the=rhn([pa("wcm-desktop-wallet-selection")],the);fhn=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}}`,ihn=Object.defineProperty,shn=Object.getOwnPropertyDescriptor,ohn=(t,e,n,a)=>{for(var r=a>1?void 0:a?shn(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&&ihn(e,n,r),r},nhe=class extends Tn{render(){let{termsOfServiceUrl:t,privacyPolicyUrl:e}=lc.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}};nhe.styles=[ha.globalCss,fhn],nhe=ohn([pa("wcm-legal-notice")],nhe);chn=Ia`div{display:grid;grid-template-columns:repeat(4,80px);margin:0 -10px;justify-content:space-between;row-gap:10px}`,dhn=Object.defineProperty,lhn=Object.getOwnPropertyDescriptor,uhn=(t,e,n,a)=>{for(var r=a>1?void 0:a?lhn(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&&dhn(e,n,r),r},ahe=class extends Tn{onQrcode(){wf.push("Qrcode")}render(){let{explorerExcludedWalletIds:t,enableExplorer:e}=lc.state,n=t!=="ALL"&&e,a=f4.manualWalletsTemplate(),r=f4.recomendedWalletsTemplate(),f=[f4.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}`}};ahe.styles=[ha.globalCss,chn],ahe=uhn([pa("wcm-mobile-wallet-selection")],ahe);phn=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}}`,hhn=Object.defineProperty,mhn=Object.getOwnPropertyDescriptor,rhe=(t,e,n,a)=>{for(var r=a>1?void 0:a?mhn(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&&hhn(e,n,r),r},$_=class extends Tn{constructor(){super(),this.open=!1,this.active=!1,this.unsubscribeModal=void 0,this.abortController=void 0,this.unsubscribeModal=Ih.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&&Ih.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([Bh(this.overlayEl,{opacity:[0,1]},{delay:e,duration:n}).finished,Bh(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([Bh(this.overlayEl,{opacity:[1,0]},{duration:e}).finished,Bh(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"?Ih.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}
`}};$_.styles=[ha.globalCss,phn],rhe([pc()],$_.prototype,"open",2),rhe([pc()],$_.prototype,"active",2),$_=rhe([pa("wcm-modal")],$_);bhn=Ia`div{display:flex;margin-top:15px}slot{display:inline-block;margin:0 5px}wcm-button{margin:0 5px}`,yhn=Object.defineProperty,ghn=Object.getOwnPropertyDescriptor,hD=(t,e,n,a)=>{for(var r=a>1?void 0:a?ghn(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&&yhn(e,n,r),r},wg=class extends Tn{constructor(){super(...arguments),this.isMobile=!1,this.isDesktop=!1,this.isWeb=!1,this.isRetry=!1}onMobile(){gt.isMobile()?wf.replace("MobileConnecting"):wf.replace("MobileQrcodeConnecting")}onDesktop(){wf.replace("DesktopConnecting")}onWeb(){wf.replace("WebConnecting")}render(){return q0`
${this.isRetry?q0``:null} ${this.isMobile?q0`Mobile`:null} ${this.isDesktop?q0`Desktop`:null} ${this.isWeb?q0`Web`:null}
`}};wg.styles=[ha.globalCss,bhn],hD([sn({type:Boolean})],wg.prototype,"isMobile",2),hD([sn({type:Boolean})],wg.prototype,"isDesktop",2),hD([sn({type:Boolean})],wg.prototype,"isWeb",2),hD([sn({type:Boolean})],wg.prototype,"isRetry",2),wg=hD([pa("wcm-platform-selection")],wg);vhn=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)}`,whn=Object.defineProperty,Thn=Object.getOwnPropertyDescriptor,xhn=(t,e,n,a)=>{for(var r=a>1?void 0:a?Thn(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&&whn(e,n,r),r},fhe=class extends Tn{onClick(){wf.push("WalletExplorer")}render(){let{recomendedWallets:t}=uc.state,e=J_.manualWallets(),n=[...t,...e].reverse().slice(0,4);return q0``}};fhe.styles=[ha.globalCss,vhn],fhe=xhn([pa("wcm-view-all-wallets-button")],fhe);Ehn=Ia`.wcm-qr-container{width:100%;display:flex;justify-content:center;align-items:center;aspect-ratio:1/1}`,_hn=Object.defineProperty,Ahn=Object.getOwnPropertyDescriptor,XV=(t,e,n,a)=>{for(var r=a>1?void 0:a?Ahn(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&&_hn(e,n,r),r},Y_=class extends Tn{constructor(){super(),this.walletId="",this.imageId="",this.uri="",setTimeout(()=>{let{walletConnectUri:t}=Pf.state;this.uri=t},0)}get overlayEl(){return Zt.getShadowRootElement(this,".wcm-qr-container")}render(){return q0`
${this.uri?q0``:q0``}
`}};Y_.styles=[ha.globalCss,Ehn],XV([sn()],Y_.prototype,"walletId",2),XV([sn()],Y_.prototype,"imageId",2),XV([pc()],Y_.prototype,"uri",2),Y_=XV([pa("wcm-walletconnect-qr")],Y_);Chn=Object.defineProperty,Ihn=Object.getOwnPropertyDescriptor,khn=(t,e,n,a)=>{for(var r=a>1?void 0:a?Ihn(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&&Chn(e,n,r),r},ihe=class extends Tn{viewTemplate(){return gt.isAndroid()?q0``:gt.isMobile()?q0``:q0``}render(){return q0`${this.viewTemplate()}`}};ihe.styles=[ha.globalCss],ihe=khn([pa("wcm-connect-wallet-view")],ihe);Shn=Ia`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`,Rhn=Object.defineProperty,Mhn=Object.getOwnPropertyDescriptor,g20=(t,e,n,a)=>{for(var r=a>1?void 0:a?Mhn(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&&Rhn(e,n,r),r},ZV=class extends Tn{constructor(){super(),this.isError=!1,this.openDesktopApp()}onFormatAndRedirect(t){let{desktop:e,name:n}=gt.getWalletRouterData(),a=e?.native;if(a){let r=gt.formatNativeUrl(a,t,n);gt.openHref(r,"_self")}}openDesktopApp(){let{walletConnectUri:t}=Pf.state,e=gt.getWalletRouterData();Zt.setRecentWallet(e),t&&this.onFormatAndRedirect(t)}render(){let{name:t,id:e,image_id:n}=gt.getWalletRouterData(),{isMobile:a,isWeb:r}=Zt.getCachedRouterWalletPlatforms();return q0`${`Connection can continue loading if ${t} is not installed on your device`}Retry`}};ZV.styles=[ha.globalCss,Shn],g20([pc()],ZV.prototype,"isError",2),ZV=g20([pa("wcm-desktop-connecting-view")],ZV);Bhn=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}`,Dhn=Object.defineProperty,Phn=Object.getOwnPropertyDescriptor,Lhn=(t,e,n,a)=>{for(var r=a>1?void 0:a?Phn(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&&Dhn(e,n,r),r},she=class extends Tn{onInstall(t){t&>.openHref(t,"_blank")}render(){let{name:t,id:e,image_id:n,homepage:a}=gt.getWalletRouterData();return q0`${`Download ${t} to continue. If multiple browser extensions are installed, disable non ${t} ones and try again`}Download`}};she.styles=[ha.globalCss,Bhn],she=Lhn([pa("wcm-install-wallet-view")],she);Fhn=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)}`,Nhn=Object.defineProperty,Ohn=Object.getOwnPropertyDescriptor,v20=(t,e,n,a)=>{for(var r=a>1?void 0:a?Ohn(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&&Nhn(e,n,r),r},eY=class extends Tn{constructor(){super(),this.isError=!1,this.openMobileApp()}onFormatAndRedirect(t,e=!1){let{mobile:n,name:a}=gt.getWalletRouterData(),r=n?.native,f=n?.universal;if(r&&!e){let i=gt.formatNativeUrl(r,t,a);gt.openHref(i,"_self")}else if(f){let i=gt.formatUniversalUrl(f,t,a);gt.openHref(i,"_self")}}openMobileApp(t=!1){let{walletConnectUri:e}=Pf.state,n=gt.getWalletRouterData();Zt.setRecentWallet(n),e&&this.onFormatAndRedirect(e,t)}onGoToAppStore(t){t&>.openHref(t,"_blank")}render(){let{name:t,id:e,image_id:n,app:a,mobile:r}=gt.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
`}};eY.styles=[ha.globalCss,Fhn],v20([pc()],eY.prototype,"isError",2),eY=v20([pa("wcm-mobile-connecting-view")],eY);Uhn=Ia`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`,Hhn=Object.defineProperty,zhn=Object.getOwnPropertyDescriptor,Whn=(t,e,n,a)=>{for(var r=a>1?void 0:a?zhn(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&&Hhn(e,n,r),r},ohe=class extends Tn{render(){let{name:t,id:e,image_id:n}=gt.getWalletRouterData(),{isDesktop:a,isWeb:r}=Zt.getCachedRouterWalletPlatforms();return q0`${`Scan this QR Code with your phone's camera or inside ${t} app`}`}};ohe.styles=[ha.globalCss,Uhn],ohe=Whn([pa("wcm-mobile-qr-connecting-view")],ohe);qhn=Object.defineProperty,jhn=Object.getOwnPropertyDescriptor,Ghn=(t,e,n,a)=>{for(var r=a>1?void 0:a?jhn(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&&qhn(e,n,r),r},che=class extends Tn{render(){return q0``}};che.styles=[ha.globalCss],che=Ghn([pa("wcm-qrcode-view")],che);Khn=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}`,Qhn=Object.defineProperty,Vhn=Object.getOwnPropertyDescriptor,mD=(t,e,n,a)=>{for(var r=a>1?void 0:a?Vhn(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&&Qhn(e,n,r),r},dhe=40,Tg=class extends Tn{constructor(){super(...arguments),this.loading=!uc.state.wallets.listings.length,this.firstFetch=!uc.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,uc.resetSearch(),this.fetchWallets()):this.search&&(this.search="",this.endReached=this.isLastPage(),uc.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}=uc.state,{listings:n,total:a}=this.search?e:t;return a<=dhe||n.length>=a}async fetchWallets(){var t;let{wallets:e,search:n}=uc.state,{listings:a,total:r,page:f}=this.search?n:e;if(!this.endReached&&(this.firstFetch||r>dhe&&a.lengthZt.getWalletIcon(c));await Promise.all([...o.map(async c=>Zt.preloadImage(c)),gt.wait(300)]),this.endReached=this.isLastPage()}catch(i){console.error(i),kh.openToast(Zt.getErrorMessage(i),"error")}finally{this.loading=!1,this.firstFetch=!1}}onConnect(t){gt.isAndroid()?Zt.handleMobileLinking(t):Zt.goToConnectingView(t)}onSearchChange(t){let{value:e}=t.target;this.searchDebounce(e)}render(){let{wallets:t,search:e}=uc.state,{listings:n}=this.search?e:t,a=this.loading&&!n.length,r=this.search.length>=3,f=f4.manualWalletsTemplate(),i=f4.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}
`}};Tg.styles=[ha.globalCss,Khn],mD([pc()],Tg.prototype,"loading",2),mD([pc()],Tg.prototype,"firstFetch",2),mD([pc()],Tg.prototype,"search",2),mD([pc()],Tg.prototype,"endReached",2),Tg=mD([pa("wcm-wallet-explorer-view")],Tg);Yhn=Ia`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`,$hn=Object.defineProperty,Jhn=Object.getOwnPropertyDescriptor,w20=(t,e,n,a)=>{for(var r=a>1?void 0:a?Jhn(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&&$hn(e,n,r),r},tY=class extends Tn{constructor(){super(),this.isError=!1,this.openWebWallet()}onFormatAndRedirect(t){let{desktop:e,name:n}=gt.getWalletRouterData(),a=e?.universal;if(a){let r=gt.formatUniversalUrl(a,t,n);gt.openHref(r,"_blank")}}openWebWallet(){let{walletConnectUri:t}=Pf.state,e=gt.getWalletRouterData();Zt.setRecentWallet(e),t&&this.onFormatAndRedirect(t)}render(){let{name:t,id:e,image_id:n}=gt.getWalletRouterData(),{isMobile:a,isDesktop:r}=Zt.getCachedRouterWalletPlatforms(),f=gt.isMobile();return q0`${`${t} web app has opened in a new tab. Go there, accept the connection, and come back`}Retry`}};tY.styles=[ha.globalCss,Yhn],w20([pc()],tY.prototype,"isError",2),tY=w20([pa("wcm-web-connecting-view")],tY)});var _20={};G0(_20,{WalletConnectModal:()=>lhe});var lhe,A20=oe(()=>{u();p();Ipe();lhe=class{constructor(e){this.openModal=Ih.open,this.closeModal=Ih.close,this.subscribeModal=Ih.subscribe,this.setTheme=ap.setThemeConfig,ap.setThemeConfig(e),lc.setConfig(e),this.initUi()}async initUi(){if(typeof window<"u"){await Promise.resolve().then(()=>(E20(),x20));let e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),Pf.setIsUiLoaded(!0)}}}});var M20={};G0(M20,{EthereumProvider:()=>o3n,OPTIONAL_EVENTS:()=>R20,OPTIONAL_METHODS:()=>S20,REQUIRED_EVENTS:()=>rY,REQUIRED_METHODS:()=>aY,default:()=>iY});function fY(t){return Number(t[0].split(":")[1])}function nY(t){return`0x${t.toString(16)}`}function s3n(t){let{chains:e,optionalChains:n,methods:a,optionalMethods:r,events:f,optionalEvents:i,rpcMap:s}=t;if(!z6(e))throw new Error("Invalid chains");let o={chains:e,methods:a||aY,events:f||rY,rpcMap:X_({},e.length?{[fY(e)]:s[fY(e)]}:{})},c=f?.filter(y=>!rY.includes(y)),d=a?.filter(y=>!aY.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:S20))],events:[...new Set(o.events.concat(i!=null&&i.length?i:R20))],rpcMap:s};return{required:e.length?o:void 0,optional:n.length?h:void 0}}var k20,Xhn,Zhn,e3n,t3n,aY,S20,rY,R20,n3n,a3n,r3n,C20,f3n,i3n,I20,X_,uhe,iY,o3n,B20=oe(()=>{u();p();k20=Ee(Or());BB();Y50();Xhn="wc",Zhn="ethereum_provider",e3n=`${Xhn}@2:${Zhn}:`,t3n="https://rpc.walletconnect.com/v1/",aY=["eth_sendTransaction","personal_sign"],S20=["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"],rY=["chainChanged","accountsChanged"],R20=["chainChanged","accountsChanged","message","disconnect","connect"],n3n=Object.defineProperty,a3n=Object.defineProperties,r3n=Object.getOwnPropertyDescriptors,C20=Object.getOwnPropertySymbols,f3n=Object.prototype.hasOwnProperty,i3n=Object.prototype.propertyIsEnumerable,I20=(t,e,n)=>e in t?n3n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,X_=(t,e)=>{for(var n in e||(e={}))f3n.call(e,n)&&I20(t,n,e[n]);if(C20)for(var n of C20(e))i3n.call(e,n)&&I20(t,n,e[n]);return t},uhe=(t,e)=>a3n(t,r3n(e));iY=class t{constructor(){this.events=new k20.EventEmitter,this.namespace="eip155",this.accounts=[],this.chainId=1,this.STORAGE_KEY=e3n,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}=s3n(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(uhe(X_({namespaces:X_({},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=Nue(r.namespaces,[this.namespace]);this.setChainIds(this.rpc.chains.length?this.rpc.chains:f),this.setAccounts(f),this.events.emit("connect",{chainId:nY(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(uhe(X_({},e),{chains:this.rpc.chains})).then(s=>{r(s)}).catch(s=>{f(new Error(s.message))})}),a=n.session;if(a){let r=Nue(a.namespaces,[this.namespace]);this.setChainIds(this.rpc.chains.length?this.rpc.chains:r),this.setAccounts(r),this.events.emit("connect",{chainId:nY(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",nY(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",uhe(X_({},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",nY(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||aY:[],o=r.length?e?.events||rY:[],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?fY(this.rpc.chains):fY(this.rpc.optionalChains),this.signer=await V50.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(()=>(A20(),_20));n=a}catch{throw new Error("To use QR modal, please install @walletconnect/modal package")}if(n)try{this.modal=new n(X_({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&&z6(n)&&(this.rpc.chains=n.map(f=>this.formatChainId(f)),n.forEach(f=>{this.rpc.rpcMap[f]=r?.[f]||this.getRpcUrl(f)})),a&&z6(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])||`${t3n}?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))}},o3n=iY});var j6={};G0(j6,{WalletConnectConnector:()=>mhe});var Fh,c3n,D20,P20,phe,hhe,mhe,G6=oe(()=>{"use strict";u();p();Ct();mo();Fh=Ee(Je());wn();uh();z9();W0();c3n=new Set([1,137,10,42161,56]),D20="eip155",P20="wagmi.requestedChains",phe="wallet_addEthereumChain",hhe="last-used-chain-id",mhe=class extends t6{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:Fh.utils.getAddress(n[0])})}),Pe(this,"onChainChanged",async n=>{let a=Number(n),r=this.isChainUnsupported(a);await this._storage.setItem(hhe,String(n)),this.emit("change",{chain:{id:a,unsupported:r}})}),Pe(this,"onDisconnect",async()=>{await this._setRequestedChainsIds([]),await this._storage.removeItem(hhe),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=>c3n.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(hhe),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=Fh.utils.getAddress(f[0]),s=await this.getChainId(),o=this.isChainUnsupported(s);return{account:i,chain:{id:s,unsupported:o},provider:new Fh.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 Fh.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 Fh.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 ic(`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(phe)){let s=n.explorers&&n.explorers[0],o=s?{blockExplorerUrls:[s.url]}:{};await a.request({method:phe,params:[{chainId:Fh.utils.hexValue(n.chainId),chainName:n.name,nativeCurrency:n.nativeCurrency,rpcUrls:F2(n),...o}]});let c=await this._getRequestedChainsIds();c.push(e),await this._setRequestedChainsIds(c)}return await a.request({method:"wallet_switchEthereumChain",params:[{chainId:Fh.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 ic(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(()=>(B20(),M20)),[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,methods:["eth_sendTransaction","personal_sign","eth_signTypedData_v4"],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(phe)||!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(P20,JSON.stringify(e))}async _getRequestedChainsIds(){let e=await this._storage.getItem(P20);return e?JSON.parse(e):[]}_getNamespaceChainsIds(){return this._provider?this._provider.session?.namespaces[D20]?.chains?.map(n=>parseInt(n.split(":")[1]||""))??[]:[]}_getNamespaceMethods(){return this._provider?this._provider.session?.namespaces[D20]?.methods??[]:[]}}});function sY(){if(globalThis.window&&globalThis.window.xfi&&globalThis.window.xfi.ethereum)return globalThis.window.xfi.ethereum}var bhe=oe(()=>{"use strict";u();p()});function oY(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.okxwallet)return window.okxwallet}var yhe=oe(()=>{"use strict";u();p();h1()});var F20={};G0(F20,{OKXConnector:()=>ghe});var L20,ghe,N20=oe(()=>{"use strict";u();p();Ct();mo();wn();m1();L20=Ee(Je());yhe();W0();ghe=class extends Ga{constructor(e){let a={...{name:"OKX",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:oY},...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=L20.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 dY(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.avalanche)return window.avalanche}var vhe=oe(()=>{"use strict";u();p();h1()});var U20={};G0(U20,{CoreWalletConnector:()=>whe});var O20,whe,H20=oe(()=>{"use strict";u();p();Ct();mo();wn();m1();O20=Ee(Je());vhe();W0();whe=class extends Ga{constructor(e){let a={...{name:"Core Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:dY},...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=O20.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 uY(){if(Za(globalThis.window)&&globalThis.window.$onekey&&globalThis.window.$onekey.ethereum)return globalThis.window.$onekey.ethereum}var The=oe(()=>{"use strict";u();p();h1()});var W20={};G0(W20,{OneKeyConnector:()=>xhe});var z20,xhe,q20=oe(()=>{"use strict";u();p();Ct();mo();wn();m1();z20=Ee(Je());The();W0();xhe=class extends Ga{constructor(e){let a={...{name:"OneKey Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:uY},...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=z20.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 hY(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.deficonnectProvider)return window.deficonnectProvider}var Ehe=oe(()=>{"use strict";u();p();h1()});var G20={};G0(G20,{CryptoDefiWalletConnector:()=>_he});var j20,_he,K20=oe(()=>{"use strict";u();p();Ct();mo();wn();m1();j20=Ee(Je());Ehe();W0();_he=class extends Ga{constructor(e){let a={...{name:"Crypto Defi Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:hY},...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=j20.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 bY(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.rabby)return window.rabby}var Ahe=oe(()=>{"use strict";u();p();h1()});var V20={};G0(V20,{RabbyConnector:()=>Che});var Q20,Che,Y20=oe(()=>{"use strict";u();p();Ct();mo();wn();m1();Q20=Ee(Je());Ahe();W0();Che=class extends Ga{constructor(e){let a={...{name:"Rabby Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:bY},...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=Q20.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 yY(){if(Za(globalThis.window)&&window.coin98)return window.ethereum}var Ihe=oe(()=>{"use strict";u();p();h1()});var J20={};G0(J20,{Coin98Connector:()=>khe});var $20,khe,X20=oe(()=>{"use strict";u();p();Ct();mo();wn();m1();$20=Ee(Je());Ihe();W0();khe=class extends Ga{constructor(e){let a={...{name:"Coin98 Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:yY},...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=$20.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 vY(){if(globalThis.window&&globalThis.window.magicEden&&globalThis.window.magicEden.ethereum)return globalThis.window.magicEden.ethereum}var She=oe(()=>{"use strict";u();p()});function wY(){let t=window.phantom?.ethereum;if(t?.isPhantom)return t}var Rhe=oe(()=>{"use strict";u();p()});function TY(){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 Mhe=oe(()=>{"use strict";u();p();h1()});var lp0={};G0(lp0,{AUTH_TOKEN_LOCAL_STORAGE_NAME:()=>_Y,AuthProvider:()=>rp0,DEVICE_SHARE_LOCAL_STORAGE_NAME:()=>AY,DEVICE_SHARE_LOCAL_STORAGE_NAME_DEPRECATED:()=>y3n,PaperEmbeddedWalletSdk:()=>I3n,RecoveryShareManagement:()=>bD,UserStatus:()=>eA,UserWalletStatus:()=>fp0,WALLET_USER_DETAILS_LOCAL_STORAGE_NAME:()=>m3n,WALLET_USER_ID_LOCAL_STORAGE_NAME:()=>EY});function xY(t){return new Promise(e=>{setTimeout(e,t*1e3)})}function T3n({clientId:t,path:e,queryParams:n}){var a;let r=new URL(e,H2());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 sp0,op0,cp0,d3n,l3n,u3n,Z20,p3n,h3n,ep0,i4,CY,xt,IY,dVa,m3n,EY,b3n,_Y,ap0,AY,y3n,bD,rp0,eA,fp0,tp0,Dhe,g3n,Bhe,v3n,w3n,x3n,ip0,E3n,_3n,A3n,np0,dp0,C3n,I3n,Phe=oe(()=>{u();p();l_();l_();l_();sp0=Ee(oz(),1);l_();op0=Ee(i8(),1),cp0=Ee(Ba(),1),d3n=Object.defineProperty,l3n=Object.defineProperties,u3n=Object.getOwnPropertyDescriptors,Z20=Object.getOwnPropertySymbols,p3n=Object.prototype.hasOwnProperty,h3n=Object.prototype.propertyIsEnumerable,ep0=(t,e,n)=>e in t?d3n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,i4=(t,e)=>{for(var n in e||(e={}))p3n.call(e,n)&&ep0(t,n,e[n]);if(Z20)for(var n of Z20(e))h3n.call(e,n)&&ep0(t,n,e[n]);return t},CY=(t,e)=>l3n(t,u3n(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())}),IY="/sdk/2022-08-12/embedded-wallet",dVa=`${IY}/auth/headless-google-login-managed`,m3n=t=>`paperEwsWalletUserDetails-${t}`,EY=t=>`paperEwsWalletUserId-${t}`,b3n="walletToken",_Y=t=>`${b3n}-${t}`,ap0="a",AY=(t,e)=>`${ap0}-${t}-${e}`,y3n=t=>`${ap0}-${t}`,bD=(t=>(t.USER_MANAGED="USER_MANAGED",t.AWS_MANAGED="AWS_MANAGED",t))(bD||{}),rp0=(t=>(t.PAPER_EMAIL_OTP="PaperEmailOTP",t.GOOGLE="Google",t.TWITTER="Twitter",t.COGNITO="Cognito",t.AUTH0="Auth0",t.CUSTOM_JWT="CustomJWT",t))(rp0||{}),eA=(t=>(t.LOGGED_OUT="Logged Out",t.LOGGED_IN_WALLET_INITIALIZED="Logged In, Wallet Initialized",t))(eA||{}),fp0=(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))(fp0||{}),tp0=new Map,Dhe=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=tp0.get(t))!=null?e:null})}setItem(t,e){return xt(this,null,function*(){if(this.isSupported)return window.localStorage.setItem(t,e);tp0.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(_Y(this.clientId),t)})}getAuthCookie(){return xt(this,null,function*(){return this.getItem(_Y(this.clientId))})}removeAuthCookie(){return xt(this,null,function*(){return this.removeItem(_Y(this.clientId))})}saveDeviceShare(t,e){return xt(this,null,function*(){yield this.saveWalletUserId(e),yield this.setItem(AY(this.clientId,e),t)})}getDeviceShare(){return xt(this,null,function*(){let t=yield this.getWalletUserId();return t?this.getItem(AY(this.clientId,t)):null})}removeDeviceShare(){return xt(this,null,function*(){let t=yield this.getWalletUserId();return t?this.removeItem(AY(this.clientId,t)):!1})}getWalletUserId(){return xt(this,null,function*(){return this.getItem(EY(this.clientId))})}saveWalletUserId(t){return xt(this,null,function*(){yield this.setItem(EY(this.clientId),t)})}removeWalletUserId(){return xt(this,null,function*(){return this.removeItem(EY(this.clientId))})}};g3n={height:"100%",width:"100%",border:"none",backgroundColor:"transparent",colorScheme:"light",position:"fixed",top:"0px",right:"0px",zIndex:"2147483646",display:"none"},Bhe=new Map,v3n=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=i4(i4({},g3n),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?(Bhe.set(t.src,!0),n&&n(),a(!0)):r(new Error(c.error))},yield xY(e),(f=t?.contentWindow)==null||f.postMessage({eventType:"initIframe",data:yield this.onIframeLoadedInitVariables()},`${H2()}${IY}`,[i.port2])}))})}call(t){return xt(this,arguments,function*({procedureName:e,params:n,showIframe:a=!1,injectRecoveryCode:r={isInjectRecoveryCode:!1}}){for(;!Bhe.get(this.iframe.src);)yield xY(this.POLLING_INTERVAL_SECONDS);return a&&(this.iframe.style.display="block",yield xY(.005)),new Promise((f,i)=>{var s;if(r.isInjectRecoveryCode){let c=d=>xt(this,null,function*(){var l,h;if(d.origin!==H2()||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},H2()),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 xY(.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},`${H2()}${IY}`,[o.port2])})})}destroy(){Bhe.delete(this.iframe.src)}},w3n=class extends v3n{constructor({clientId:t,customizationOptions:e}){super({iframeId:x3n,link:T3n({clientId:t,path:IY,queryParams:e}).href,container:document.body}),this.clientId=t}onIframeLoadedInitVariables(){return xt(this,null,function*(){let t=new Dhe({clientId:this.clientId});return{authCookie:yield t.getAuthCookie(),deviceShareStored:yield t.getDeviceShare(),walletUserId:yield t.getWalletUserId(),clientId:this.clientId}})}};x3n="paper-embedded-wallet-iframe",ip0=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}})}},E3n=class extends ip0{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===H2()){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},H2());break}}}});window.addEventListener("message",o)});return this.postLogin({storedToken:CY(i4({},r.storedToken),{shouldStoreCookieString:!0}),walletDetails:CY(i4({},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)})}},_3n=class extends ip0{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)})}},A3n=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 Dhe({clientId:t}),this.onAuthSuccess=a,this.userManagedLogin=new _3n({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 E3n({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}})}},np0=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}}})})}},dp0=class extends op0.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,cp0.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 dp0({clientId:this.clientId,provider:t,querier:this.querier})}},C3n=class{constructor({clientId:t,chain:e,querier:n}){this.clientId=t,this.chain=e,this.walletManagerQuerier=n,this.gasless=new np0({chain:e,clientId:t,querier:n}),this.localStorage=new Dhe({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:CY(i4({},t.user),{wallet:this})}:t})}setChain(t){return xt(this,arguments,function*({chain:e}){this.chain=e,this.gasless=new np0({chain:e,clientId:this.clientId,querier:this.walletManagerQuerier})})}getEthersJsSigner(t){return xt(this,null,function*(){var e;return new dp0({clientId:this.clientId,provider:(0,sp0.getDefaultProvider)((e=t?.rpcEndpoint)!=null?e:wQ[this.chain]),querier:this.walletManagerQuerier})})}},I3n=class{constructor({clientId:t,chain:e,styles:n,advancedOptions:a,onAuthSuccess:r}){this.clientId=t,this.querier=new w3n({clientId:t,customizationOptions:n}),this.wallet=new C3n({clientId:t,chain:e,querier:this.querier}),this.auth=new A3n({clientId:t,advancedOptions:i4({recoveryShareManagement:"USER_MANAGED"},a??{}),querier:this.querier,onAuthSuccess:f=>xt(this,null,function*(){return yield this.wallet.postWalletSetUp(CY(i4({},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 i4({status:"Logged In, Wallet Initialized"},t.user)}})}}});var pp0={};G0(pp0,{PaperWalletConnector:()=>Lhe});var up0,Lhe,hp0=oe(()=>{"use strict";u();p();Ct();Phe();up0=Ee(Je());lh();wn();Mr();W0();Lhe=class extends sc{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:up0.utils.getAddress(n[0])})}),Pe(this,"onChainChanged",n=>{let a=wi(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(()=>(Phe(),lp0)),f={AWS_MANAGED:bD.AWS_MANAGED,USER_MANAGED:bD.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 eA.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 eA.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 eA.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 mp0=D(kY=>{"use strict";u();p();Object.defineProperty(kY,"__esModule",{value:!0});kY.walletLogo=void 0;var k3n=(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 `}};kY.walletLogo=k3n});var bp0=D(SY=>{"use strict";u();p();Object.defineProperty(SY,"__esModule",{value:!0});SY.LINK_API_URL=void 0;SY.LINK_API_URL="https://www.walletlink.org"});var gD=D(tA=>{"use strict";u();p();Object.defineProperty(tA,"__esModule",{value:!0});tA.errorValues=tA.standardErrorCodes=void 0;tA.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}};tA.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 MY=D(K6=>{"use strict";u();p();Object.defineProperty(K6,"__esModule",{value:!0});K6.serialize=K6.getErrorCode=K6.isValidCode=K6.getMessageFromCode=K6.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;var RY=gD(),vp0="Unspecified error message.";K6.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.";function wp0(t,e=vp0){if(t&&Number.isInteger(t)){let n=t.toString();if(Fhe(RY.errorValues,n))return RY.errorValues[n].message;if(xp0(t))return K6.JSON_RPC_SERVER_ERROR_MESSAGE}return e}K6.getMessageFromCode=wp0;function Tp0(t){if(!Number.isInteger(t))return!1;let e=t.toString();return!!(RY.errorValues[e]||xp0(t))}K6.isValidCode=Tp0;function S3n(t){var e;if(typeof t=="number")return t;if(R3n(t))return(e=t.code)!==null&&e!==void 0?e:t.errorCode}K6.getErrorCode=S3n;function R3n(t){return typeof t=="object"&&t!==null&&(typeof t.code=="number"||typeof t.errorCode=="number")}function M3n(t,{shouldIncludeStack:e=!1}={}){let n={};if(t&&typeof t=="object"&&!Array.isArray(t)&&Fhe(t,"code")&&Tp0(t.code)){let a=t;n.code=a.code,a.message&&typeof a.message=="string"?(n.message=a.message,Fhe(a,"data")&&(n.data=a.data)):(n.message=wp0(n.code),n.data={originalError:yp0(t)})}else n.code=RY.standardErrorCodes.rpc.internal,n.message=gp0(t,"message")?t.message:vp0,n.data={originalError:yp0(t)};return e&&(n.stack=gp0(t,"stack")?t.stack:void 0),n}K6.serialize=M3n;function xp0(t){return t>=-32099&&t<=-32e3}function yp0(t){return t&&typeof t=="object"&&!Array.isArray(t)?Object.assign({},t):t}function Fhe(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function gp0(t,e){return typeof t=="object"&&t!==null&&e in t&&typeof t[e]=="string"}});var Ap0=D(PY=>{"use strict";u();p();Object.defineProperty(PY,"__esModule",{value:!0});PY.standardErrors=void 0;var To=gD(),Ep0=MY();PY.standardErrors={rpc:{parse:t=>xd(To.standardErrorCodes.rpc.parse,t),invalidRequest:t=>xd(To.standardErrorCodes.rpc.invalidRequest,t),invalidParams:t=>xd(To.standardErrorCodes.rpc.invalidParams,t),methodNotFound:t=>xd(To.standardErrorCodes.rpc.methodNotFound,t),internal:t=>xd(To.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 xd(e,t)},invalidInput:t=>xd(To.standardErrorCodes.rpc.invalidInput,t),resourceNotFound:t=>xd(To.standardErrorCodes.rpc.resourceNotFound,t),resourceUnavailable:t=>xd(To.standardErrorCodes.rpc.resourceUnavailable,t),transactionRejected:t=>xd(To.standardErrorCodes.rpc.transactionRejected,t),methodNotSupported:t=>xd(To.standardErrorCodes.rpc.methodNotSupported,t),limitExceeded:t=>xd(To.standardErrorCodes.rpc.limitExceeded,t)},provider:{userRejectedRequest:t=>nA(To.standardErrorCodes.provider.userRejectedRequest,t),unauthorized:t=>nA(To.standardErrorCodes.provider.unauthorized,t),unsupportedMethod:t=>nA(To.standardErrorCodes.provider.unsupportedMethod,t),disconnected:t=>nA(To.standardErrorCodes.provider.disconnected,t),chainDisconnected:t=>nA(To.standardErrorCodes.provider.chainDisconnected,t),unsupportedChain:t=>nA(To.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 DY(e,n,a)}}};function xd(t,e){let[n,a]=_p0(e);return new BY(t,n||(0,Ep0.getMessageFromCode)(t),a)}function nA(t,e){let[n,a]=_p0(e);return new DY(t,n||(0,Ep0.getMessageFromCode)(t),a)}function _p0(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 BY=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)}},DY=class extends BY{constructor(e,n,a){if(!B3n(e))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,n,a)}};function B3n(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}});var FY=D(LY=>{"use strict";u();p();Object.defineProperty(LY,"__esModule",{value:!0});LY.isErrorResponse=void 0;function D3n(t){return t.errorMessage!==void 0}LY.isErrorResponse=D3n});var OY=D(NY=>{"use strict";u();p();Object.defineProperty(NY,"__esModule",{value:!0});NY.LIB_VERSION=void 0;NY.LIB_VERSION="3.9.3"});var Cp0=D(UY=>{"use strict";u();p();Object.defineProperty(UY,"__esModule",{value:!0});UY.serializeError=void 0;var P3n=FY(),L3n=OY(),F3n=gD(),N3n=MY();function O3n(t,e){let n=(0,N3n.serialize)(U3n(t),{shouldIncludeStack:!0}),a=new URL("https://docs.cloud.coinbase.com/wallet-sdk/docs/errors");a.searchParams.set("version",L3n.LIB_VERSION),a.searchParams.set("code",n.code.toString());let r=H3n(n.data,e);return r&&a.searchParams.set("method",r),a.searchParams.set("message",n.message),Object.assign(Object.assign({},n),{docUrl:a.href})}UY.serializeError=O3n;function U3n(t){return typeof t=="string"?{message:t,code:F3n.standardErrorCodes.rpc.internal}:(0,P3n.isErrorResponse)(t)?Object.assign(Object.assign({},t),{message:t.errorMessage,code:t.errorCode,data:{method:t.method}}):t}function H3n(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 vD=D(Ed=>{"use strict";u();p();Object.defineProperty(Ed,"__esModule",{value:!0});Ed.standardErrors=Ed.standardErrorCodes=Ed.serializeError=Ed.getMessageFromCode=Ed.getErrorCode=void 0;var z3n=gD();Object.defineProperty(Ed,"standardErrorCodes",{enumerable:!0,get:function(){return z3n.standardErrorCodes}});var W3n=Ap0();Object.defineProperty(Ed,"standardErrors",{enumerable:!0,get:function(){return W3n.standardErrors}});var q3n=Cp0();Object.defineProperty(Ed,"serializeError",{enumerable:!0,get:function(){return q3n.serializeError}});var Ip0=MY();Object.defineProperty(Ed,"getErrorCode",{enumerable:!0,get:function(){return Ip0.getErrorCode}});Object.defineProperty(Ed,"getMessageFromCode",{enumerable:!0,get:function(){return Ip0.getMessageFromCode}})});var TD=D(T1=>{"use strict";u();p();Object.defineProperty(T1,"__esModule",{value:!0});T1.ProviderType=T1.RegExpString=T1.IntNumber=T1.BigIntString=T1.AddressString=T1.HexString=T1.OpaqueType=void 0;function wD(){return t=>t}T1.OpaqueType=wD;T1.HexString=wD();T1.AddressString=wD();T1.BigIntString=wD();function j3n(t){return Math.floor(t)}T1.IntNumber=j3n;T1.RegExpString=wD();var kp0;(function(t){t.CoinbaseWallet="CoinbaseWallet",t.MetaMask="MetaMask",t.Unselected=""})(kp0||(T1.ProviderType=kp0={}))});var sp=D(vt=>{"use strict";u();p();var G3n=vt&&vt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(vt,"__esModule",{value:!0});vt.isMobileWeb=vt.getLocation=vt.isInIFrame=vt.createQrUrl=vt.getFavicon=vt.range=vt.isBigNumber=vt.ensureParsedJSONObject=vt.ensureBN=vt.ensureRegExpString=vt.ensureIntNumber=vt.ensureBuffer=vt.ensureAddressString=vt.ensureEvenLengthHexString=vt.ensureHexString=vt.isHexString=vt.prepend0x=vt.strip0x=vt.has0xPrefix=vt.hexStringFromIntNumber=vt.intNumberFromHexString=vt.bigIntStringFromBN=vt.hexStringFromBuffer=vt.hexStringToUint8Array=vt.uint8ArrayToHex=vt.randomBytesHex=void 0;var s4=G3n(Va()),Eg=vD(),_d=TD(),Sp0=/^[0-9]*$/,Rp0=/^[a-f0-9]*$/;function K3n(t){return Mp0(crypto.getRandomValues(new Uint8Array(t)))}vt.randomBytesHex=K3n;function Mp0(t){return[...t].map(e=>e.toString(16).padStart(2,"0")).join("")}vt.uint8ArrayToHex=Mp0;function Q3n(t){return new Uint8Array(t.match(/.{1,2}/g).map(e=>parseInt(e,16)))}vt.hexStringToUint8Array=Q3n;function V3n(t,e=!1){let n=t.toString("hex");return(0,_d.HexString)(e?`0x${n}`:n)}vt.hexStringFromBuffer=V3n;function Y3n(t){return(0,_d.BigIntString)(t.toString(10))}vt.bigIntStringFromBN=Y3n;function $3n(t){return(0,_d.IntNumber)(new s4.default(ED(t,!1),16).toNumber())}vt.intNumberFromHexString=$3n;function J3n(t){return(0,_d.HexString)(`0x${new s4.default(t).toString(16)}`)}vt.hexStringFromIntNumber=J3n;function Nhe(t){return t.startsWith("0x")||t.startsWith("0X")}vt.has0xPrefix=Nhe;function HY(t){return Nhe(t)?t.slice(2):t}vt.strip0x=HY;function Bp0(t){return Nhe(t)?`0x${t.slice(2)}`:`0x${t}`}vt.prepend0x=Bp0;function xD(t){if(typeof t!="string")return!1;let e=HY(t).toLowerCase();return Rp0.test(e)}vt.isHexString=xD;function Dp0(t,e=!1){if(typeof t=="string"){let n=HY(t).toLowerCase();if(Rp0.test(n))return(0,_d.HexString)(e?`0x${n}`:n)}throw Eg.standardErrors.rpc.invalidParams(`"${String(t)}" is not a hexadecimal string`)}vt.ensureHexString=Dp0;function ED(t,e=!1){let n=Dp0(t,!1);return n.length%2===1&&(n=(0,_d.HexString)(`0${n}`)),e?(0,_d.HexString)(`0x${n}`):n}vt.ensureEvenLengthHexString=ED;function X3n(t){if(typeof t=="string"){let e=HY(t).toLowerCase();if(xD(e)&&e.length===40)return(0,_d.AddressString)(Bp0(e))}throw Eg.standardErrors.rpc.invalidParams(`Invalid Ethereum address: ${String(t)}`)}vt.ensureAddressString=X3n;function Z3n(t){if(_.Buffer.isBuffer(t))return t;if(typeof t=="string"){if(xD(t)){let e=ED(t,!1);return _.Buffer.from(e,"hex")}return _.Buffer.from(t,"utf8")}throw Eg.standardErrors.rpc.invalidParams(`Not binary data: ${String(t)}`)}vt.ensureBuffer=Z3n;function Pp0(t){if(typeof t=="number"&&Number.isInteger(t))return(0,_d.IntNumber)(t);if(typeof t=="string"){if(Sp0.test(t))return(0,_d.IntNumber)(Number(t));if(xD(t))return(0,_d.IntNumber)(new s4.default(ED(t,!1),16).toNumber())}throw Eg.standardErrors.rpc.invalidParams(`Not an integer: ${String(t)}`)}vt.ensureIntNumber=Pp0;function emn(t){if(t instanceof RegExp)return(0,_d.RegExpString)(t.toString());throw Eg.standardErrors.rpc.invalidParams(`Not a RegExp: ${String(t)}`)}vt.ensureRegExpString=emn;function tmn(t){if(t!==null&&(s4.default.isBN(t)||Lp0(t)))return new s4.default(t.toString(10),10);if(typeof t=="number")return new s4.default(Pp0(t));if(typeof t=="string"){if(Sp0.test(t))return new s4.default(t,10);if(xD(t))return new s4.default(ED(t,!1),16)}throw Eg.standardErrors.rpc.invalidParams(`Not an integer: ${String(t)}`)}vt.ensureBN=tmn;function nmn(t){if(typeof t=="string")return JSON.parse(t);if(typeof t=="object")return t;throw Eg.standardErrors.rpc.invalidParams(`Not a JSON string or an object: ${String(t)}`)}vt.ensureParsedJSONObject=nmn;function Lp0(t){if(t==null||typeof t.constructor!="function")return!1;let{constructor:e}=t;return typeof e.config=="function"&&typeof e.EUCLID=="number"}vt.isBigNumber=Lp0;function amn(t,e){return Array.from({length:e-t},(n,a)=>t+a)}vt.range=amn;function rmn(){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}`}vt.getFavicon=rmn;function fmn(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}`}vt.createQrUrl=fmn;function Fp0(){try{return window.frameElement!==null}catch{return!1}}vt.isInIFrame=Fp0;function imn(){try{return Fp0()&&window.top?window.top.location:window.location}catch{return window.location}}vt.getLocation=imn;function smn(){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)}vt.isMobileWeb=smn});var Np0=D(zY=>{"use strict";u();p();Object.defineProperty(zY,"__esModule",{value:!0});zY.ScopedLocalStorage=void 0;var Ohe=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}`}};zY.ScopedLocalStorage=Ohe});var qY=D(WY=>{"use strict";u();p();Object.defineProperty(WY,"__esModule",{value:!0});WY.EVENTS=void 0;WY.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 jY=D(op=>{"use strict";u();p();Object.defineProperty(op,"__esModule",{value:!0});op.RelayAbstract=op.APP_VERSION_KEY=op.LOCAL_STORAGE_ADDRESSES_KEY=op.WALLET_USER_NAME_KEY=void 0;var Op0=vD();op.WALLET_USER_NAME_KEY="walletUsername";op.LOCAL_STORAGE_ADDRESSES_KEY="Addresses";op.APP_VERSION_KEY="AppVersion";var Uhe=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 Op0.standardErrors.rpc.parse({});let r=a,{error:f}=r;if(f)throw(0,Op0.serializeError)(f,e.method);return r})}};op.RelayAbstract=Uhe});var KY=D(GY=>{"use strict";u();p();Object.defineProperty(GY,"__esModule",{value:!0});GY.Session=void 0;var Up0=$I(),Hp0=sp(),zp0="session:id",Wp0="session:secret",qp0="session:linked",Hhe=class t{constructor(e,n,a,r){this._storage=e,this._id=n||(0,Hp0.randomBytesHex)(16),this._secret=a||(0,Hp0.randomBytesHex)(32),this._key=new Up0.sha256().update(`${this._id}, ${this._secret} WalletLink`).digest("hex"),this._linked=!!r}static load(e){let n=e.getItem(zp0),a=e.getItem(qp0),r=e.getItem(Wp0);return n&&r?new t(e,n,r,a==="1"):null}static hash(e){return new Up0.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(zp0,this._id),this._storage.setItem(Wp0,this._secret),this.persistLinked(),this}persistLinked(){this._storage.setItem(qp0,this._linked?"1":"0")}};GY.Session=Hhe});var jp0=D(VY=>{"use strict";u();p();Object.defineProperty(VY,"__esModule",{value:!0});VY.Cipher=void 0;var QY=sp(),zhe=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,QY.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,QY.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,QY.hexStringToUint8Array)(n),{name:"aes-gcm"},!1,["encrypt","decrypt"]),i=(0,QY.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)}})()})}};VY.Cipher=zhe});var Gp0=D(YY=>{"use strict";u();p();Object.defineProperty(YY,"__esModule",{value:!0});YY.WalletLinkHTTP=void 0;var Whe=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}`)}};YY.WalletLinkHTTP=Whe});var Kp0=D(rA=>{"use strict";u();p();Object.defineProperty(rA,"__esModule",{value:!0});rA.WalletLinkWebSocket=rA.ConnectionState=void 0;var aA;(function(t){t[t.DISCONNECTED=0]="DISCONNECTED",t[t.CONNECTING=1]="CONNECTING",t[t.CONNECTED=2]="CONNECTED"})(aA||(rA.ConnectionState=aA={}));var qhe=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,aA.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,aA.DISCONNECTED)},r.onopen=f=>{var i;e(),(i=this.connectionStateListener)===null||i===void 0||i.call(this,aA.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,aA.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)}};rA.WalletLinkWebSocket=qhe});var Yp0=D(JY=>{"use strict";u();p();Object.defineProperty(JY,"__esModule",{value:!0});JY.WalletLinkConnection=void 0;var fA=TD(),omn=jp0(),cp=qY(),Qp0=jY(),iA=KY(),cmn=Gp0(),$Y=Kp0(),Vp0=1e4,dmn=6e4,jhe=class{constructor({session:e,linkAPIUrl:n,listener:a,diagnostic:r,WebSocketClass:f=WebSocket}){this.destroyed=!1,this.lastHeartbeatResponse=0,this.nextReqId=(0,fA.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(cp.EVENTS.METADATA_DESTROYED,{alreadyDestroyed:this.isDestroyed,sessionIdHash:iA.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(cp.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(cp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:s})}},this.handleWalletUsernameUpdated=async s=>{this.handleMetadataUpdated(Qp0.WALLET_USER_NAME_KEY,s)},this.handleAppVersionUpdated=async s=>{this.handleMetadataUpdated(Qp0.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(cp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"chainId|jsonRpcUrl"})}},this.session=e,this.cipher=new omn.Cipher(e.secret),this.diagnostic=r,this.listener=a;let i=new $Y.WalletLinkWebSocket(`${n}/rpc`,f);i.setConnectionStateListener(async s=>{var o;(o=this.diagnostic)===null||o===void 0||o.log(cp.EVENTS.CONNECTED_STATE_CHANGE,{state:s,sessionIdHash:iA.Session.hash(e.id)});let c=!1;switch(s){case $Y.ConnectionState.DISCONNECTED:if(!this.destroyed){let d=async()=>{await new Promise(l=>setTimeout(l,5e3)),this.destroyed||i.connect().catch(()=>{d()})};d()}break;case $Y.ConnectionState.CONNECTED:try{await this.authenticate(),this.sendIsLinked(),this.sendGetSessionConfig(),c=!0}catch{}this.updateLastHeartbeat(),setInterval(()=>{this.heartbeat()},Vp0),this.shouldFetchUnseenEventsOnConnect&&this.fetchUnseenEventsAPI();break;case $Y.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(cp.EVENTS.LINKED,{sessionIdHash:iA.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(cp.EVENTS.SESSION_CONFIG_RECEIVED,{sessionIdHash:iA.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 cmn.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(cp.EVENTS.STARTED_CONNECTING,{sessionIdHash:iA.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(cp.EVENTS.DISCONNECTED,{sessionIdHash:iA.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(cp.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,fA.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,fA.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>Vp0*2){this.ws.disconnect();return}try{this.ws.sendData("h")}catch{}}async makeRequest(e,n=dmn){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,fA.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,fA.IntNumber)(this.nextReqId++),sessionId:this.session.id};this.sendData(e)}sendGetSessionConfig(){let e={type:"GetSessionConfig",id:(0,fA.IntNumber)(this.nextReqId++),sessionId:this.session.id};this.sendData(e)}};JY.WalletLinkConnection=jhe});var $p0=D(Ghe=>{"use strict";u();p();Object.defineProperty(Ghe,"__esModule",{value:!0});Ghe.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 Khe=D(sA=>{"use strict";u();p();var lmn=sA&&sA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(sA,"__esModule",{value:!0});sA.injectCssReset=void 0;var umn=lmn($p0());function pmn(){let t=document.createElement("style");t.type="text/css",t.appendChild(document.createTextNode(umn.default)),document.documentElement.appendChild(t)}sA.injectCssReset=pmn});var mc={};G0(mc,{Component:()=>AD,Fragment:()=>kD,cloneElement:()=>wmn,createContext:()=>Tmn,createElement:()=>i80,createRef:()=>mmn,h:()=>i80,hydrate:()=>p80,isValidElement:()=>t80,options:()=>sf,render:()=>u80,toChildArray:()=>d80});function Nh(t,e){for(var n in e)t[n]=e[n];return t}function f80(t){var e=t.parentNode;e&&e.removeChild(t)}function i80(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?ID.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 _D(t,i,a,r,null)}function _D(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??++e80,__i:-1,__u:0};return r==null&&sf.vnode!=null&&sf.vnode(f),f}function mmn(){return{current:null}}function kD(t){return t.children}function AD(t,e){this.props=t,this.context=e}function Ag(t,e){if(e==null)return t.__?Ag(t.__,t.__i+1):null;for(var n;ee&&_g.sort(Qhe));ZY.__r=0}function o80(t,e,n,a,r,f,i,s,o,c,d){var l,h,y,v,k,O=a&&a.__k||r80,F=e.length;for(n.__d=o,bmn(n,e,O),o=n.__d,l=0;l0?_D(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)!=null?(r.__=t,r.__b=t.__b+1,s=ymn(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?ID.call(arguments,2):n),_D(t.type,s,a||t.key,r||t.ref,null)}function Tmn(t,e){var n={__c:e="__cC"+a80++,__: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,$he(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 ID,sf,e80,t80,_g,Jp0,n80,Qhe,Xhe,Vhe,Yhe,a80,CD,r80,hmn,e$,x1=oe(()=>{u();p();CD={},r80=[],hmn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,e$=Array.isArray;ID=r80.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}},e80=0,t80=function(t){return t!=null&&t.constructor==null},AD.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Nh({},this.state),typeof t=="function"&&(t=t(Nh({},n),this.props)),t&&Nh(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),$he(this))},AD.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),$he(this))},AD.prototype.render=kD,_g=[],n80=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Qhe=function(t,e){return t.__v.__b-e.__v.__b},ZY.__r=0,Xhe=0,Vhe=Zp0(!1),Yhe=Zp0(!0),a80=0});var oA=D((n$a,t3e)=>{u();p();function m80(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;eAmn,useContext:()=>Cmn,useDebugValue:()=>Imn,useEffect:()=>xmn,useErrorBoundary:()=>kmn,useId:()=>Smn,useImperativeHandle:()=>_mn,useLayoutEffect:()=>I80,useMemo:()=>r3e,useReducer:()=>C80,useRef:()=>Emn,useState:()=>A80});function Cg(t,e){Lf.__h&&Lf.__h(Br,t,cA||e),cA=0;var n=Br.__H||(Br.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:t$}),n.__[t]}function A80(t){return cA=1,C80(k80,t)}function C80(t,e,n){var a=Cg(Oh++,2);if(a.t=t,!a.__c&&(a.__=[n?n(e):k80(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=Br,!Br.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))};Br.u=!0;var f=Br.shouldComponentUpdate,i=Br.componentWillUpdate;Br.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)},Br.shouldComponentUpdate=r}return a.__N||a.__}function xmn(t,e){var n=Cg(Oh++,3);!Lf.__s&&f3e(n.__H,e)&&(n.__=t,n.i=e,Br.__H.__h.push(n))}function I80(t,e){var n=Cg(Oh++,4);!Lf.__s&&f3e(n.__H,e)&&(n.__=t,n.i=e,Br.__h.push(n))}function Emn(t){return cA=5,r3e(function(){return{current:t}},[])}function _mn(t,e,n){cA=6,I80(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 r3e(t,e){var n=Cg(Oh++,7);return f3e(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function Amn(t,e){return cA=8,r3e(function(){return t},e)}function Cmn(t){var e=Br.context[t.__c],n=Cg(Oh++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(Br)),e.props.value):t.__}function Imn(t,e){Lf.useDebugValue&&Lf.useDebugValue(e?e(t):t)}function kmn(t){var e=Cg(Oh++,10),n=A80();return e.__=t,Br.componentDidCatch||(Br.componentDidCatch=function(a,r){e.__&&e.__(a,r),n[1](a)}),[n[0],function(){n[1](void 0)}]}function Smn(){var t=Cg(Oh++,11);if(!t.__){for(var e=Br.__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 Rmn(){for(var t;t=_80.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(n$),t.__H.__h.forEach(a3e),t.__H.__h=[]}catch(e){t.__H.__h=[],Lf.__e(e,t.__v)}}function Mmn(t){var e,n=function(){clearTimeout(a),E80&&cancelAnimationFrame(e),setTimeout(t)},a=setTimeout(n,100);E80&&(e=requestAnimationFrame(n))}function n$(t){var e=Br,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),Br=e}function a3e(t){var e=Br;t.__c=t.__(),Br=e}function f3e(t,e){return!t||t.length!==e.length||e.some(function(n,a){return n!==t[a]})}function k80(t,e){return typeof e=="function"?e(t):e}var Oh,Br,n3e,b80,cA,_80,t$,Lf,y80,g80,v80,w80,T80,x80,E80,RD=oe(()=>{u();p();x1();cA=0,_80=[],t$=[],Lf=sf,y80=Lf.__b,g80=Lf.__r,v80=Lf.diffed,w80=Lf.__c,T80=Lf.unmount,x80=Lf.__;Lf.__b=function(t){Br=null,y80&&y80(t)},Lf.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),x80&&x80(t,e)},Lf.__r=function(t){g80&&g80(t),Oh=0;var e=(Br=t.__c).__H;e&&(n3e===Br?(e.__h=[],Br.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=t$,n.__N=n.i=void 0})):(e.__h.forEach(n$),e.__h.forEach(a3e),e.__h=[],Oh=0)),n3e=Br},Lf.diffed=function(t){v80&&v80(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(_80.push(e)!==1&&b80===Lf.requestAnimationFrame||((b80=Lf.requestAnimationFrame)||Mmn)(Rmn)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==t$&&(n.__=n.__V),n.i=void 0,n.__V=t$})),n3e=Br=null},Lf.__c=function(t,e){e.some(function(n){try{n.__h.forEach(n$),n.__h=n.__h.filter(function(a){return!a.__||a3e(a)})}catch(a){e.some(function(r){r.__h&&(r.__h=[])}),e=[],Lf.__e(a,n.__v)}}),w80&&w80(t,e)},Lf.unmount=function(t){T80&&T80(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(a){try{n$(a)}catch(r){e=r}}),n.__H=void 0,e&&Lf.__e(e,n.__v))};E80=typeof requestAnimationFrame=="function"});var R80=D(a$=>{"use strict";u();p();Object.defineProperty(a$,"__esModule",{value:!0});a$.CloseIcon=void 0;var S80=(x1(),vn(mc));function Bmn(t){return(0,S80.h)("svg",Object.assign({width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),(0,S80.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"}))}a$.CloseIcon=Bmn});var M80=D(f$=>{"use strict";u();p();Object.defineProperty(f$,"__esModule",{value:!0});f$.CoinbaseWalletRound=void 0;var r$=(x1(),vn(mc));function Dmn(t){return(0,r$.h)("svg",Object.assign({width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),(0,r$.h)("circle",{cx:"14",cy:"14",r:"14",fill:"#0052FF"}),(0,r$.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,r$.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"}))}f$.CoinbaseWalletRound=Dmn});var B80=D(i$=>{"use strict";u();p();Object.defineProperty(i$,"__esModule",{value:!0});i$.QRCodeIcon=void 0;var MD=(x1(),vn(mc));function Pmn(t){return(0,MD.h)("svg",Object.assign({width:"18",height:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),(0,MD.h)("path",{d:"M3 3V8.99939L5 8.99996V5H9V3H3Z"}),(0,MD.h)("path",{d:"M15 21L21 21V15.0006L19 15V19L15 19V21Z"}),(0,MD.h)("path",{d:"M21 9H19V5H15.0006L15 3H21V9Z"}),(0,MD.h)("path",{d:"M3 15V21H8.99939L8.99996 19H5L5 15H3Z"}))}i$.QRCodeIcon=Pmn});var N80=D((y$a,F80)=>{u();p();function D80(t){this.mode=Q6.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))}D80.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=lp.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=Ff.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=Ff.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=Ff.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}}}};lp.PAD0=236;lp.PAD1=17;lp.createData=function(t,e,n){for(var a=dp.getRSBlocks(t,e),r=new P80,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(lp.PAD0,8),r.getLengthInBits()>=s*8));)r.put(lp.PAD1,8);return lp.createBytes(r,a)};lp.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^=Ff.G15<=0;)e^=Ff.G18<>>=1;return e},getPatternPosition:function(t){return Ff.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case o4.PATTERN000:return(e+n)%2==0;case o4.PATTERN001:return e%2==0;case o4.PATTERN010:return n%3==0;case o4.PATTERN011:return(e+n)%3==0;case o4.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case o4.PATTERN101:return e*n%2+e*n%3==0;case o4.PATTERN110:return(e*n%2+e*n%3)%2==0;case o4.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new dA([1],0),n=0;n5&&(n+=3+f-5)}for(var a=0;a=256;)t-=255;return qs.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(Ui=0;Ui<8;Ui++)qs.EXP_TABLE[Ui]=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 i3e=[[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 L80(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 c4.L;case"M":return c4.M;case"Q":return c4.Q;case"H":return c4.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=i3e.length;v<=k;v++){var O=i3e[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>i3e.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 lp(s,o),this.qrcode.addData(i),this.qrcode.make()}L80.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,b=s*this.options.image.height/100,A=i/2-w/2,P=s/2-b/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=L80});var U80=D(lA=>{"use strict";u();p();var Lmn=lA&&lA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(lA,"__esModule",{value:!0});lA.QRCode=void 0;var Fmn=(x1(),vn(mc)),O80=(RD(),vn(SD)),Nmn=Lmn(N80()),Omn=t=>{let[e,n]=(0,O80.useState)("");return(0,O80.useEffect)(()=>{var a,r;let f=new Nmn.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,Fmn.h)("img",{src:e,alt:"QR Code"}):null};lA.QRCode=Omn});var H80=D(s3e=>{"use strict";u();p();Object.defineProperty(s3e,"__esModule",{value:!0});s3e.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 z80=D(uA=>{"use strict";u();p();var Umn=uA&&uA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(uA,"__esModule",{value:!0});uA.Spinner=void 0;var s$=(x1(),vn(mc)),Hmn=Umn(H80()),zmn=t=>{var e;let n=(e=t.size)!==null&&e!==void 0?e:64,a=t.color||"#000";return(0,s$.h)("div",{class:"-cbwsdk-spinner"},(0,s$.h)("style",null,Hmn.default),(0,s$.h)("svg",{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",style:{width:n,height:n}},(0,s$.h)("circle",{style:{cx:50,cy:50,r:45,stroke:a}})))};uA.Spinner=zmn});var W80=D(o3e=>{"use strict";u();p();Object.defineProperty(o3e,"__esModule",{value:!0});o3e.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 G80=D(d4=>{"use strict";u();p();var q80=d4&&d4.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(d4,"__esModule",{value:!0});d4.CoinbaseWalletSteps=d4.ConnectContent=void 0;var Ig=q80(oA()),ka=(x1(),vn(mc)),Wmn=sp(),qmn=OY(),jmn=R80(),Gmn=M80(),Kmn=B80(),Qmn=U80(),Vmn=z80(),Ymn=q80(W80()),c3e={title:"Coinbase Wallet app",description:"Connect with your self-custody wallet",steps:j80},$mn=t=>t==="light"?"#FFFFFF":"#0A0B0D";function Jmn(t){let{theme:e}=t,n=(0,Wmn.createQrUrl)(t.sessionId,t.sessionSecret,t.linkAPIUrl,t.isParentConnection,t.version,t.chainId),a=c3e.steps;return(0,ka.h)("div",{"data-testid":"connect-content",className:(0,Ig.default)("-cbwsdk-connect-content",e)},(0,ka.h)("style",null,Ymn.default),(0,ka.h)("div",{className:"-cbwsdk-connect-content-header"},(0,ka.h)("h2",{className:(0,Ig.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)(jmn.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)(Xmn,{title:c3e.title,description:c3e.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)(Qmn.QRCode,{content:n,width:200,height:200,fgColor:"#000",bgColor:"transparent"}),(0,ka.h)("input",{type:"hidden",name:"cbw-cbwsdk-version",value:qmn.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,Ig.default)("-cbwsdk-connect-content-qr-connecting",e)},(0,ka.h)(Vmn.Spinner,{size:36,color:e==="dark"?"#FFF":"#000"}),(0,ka.h)("p",null,"Connecting...")))))}d4.ConnectContent=Jmn;function Xmn({title:t,description:e,theme:n}){return(0,ka.h)("div",{className:(0,Ig.default)("-cbwsdk-connect-item",n)},(0,ka.h)("div",null,(0,ka.h)(Gmn.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 j80({theme:t}){return(0,ka.h)("ol",{className:"-cbwsdk-wallet-steps"},(0,ka.h)("li",{className:(0,Ig.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,Ig.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,Ig.default)("-cbwsdk-wallet-steps-pad-left","-cbwsdk-wallet-steps-icon",t)},(0,ka.h)(Kmn.QRCodeIcon,{fill:$mn(t)})))))}d4.CoinbaseWalletSteps=j80});var Q80=D(o$=>{"use strict";u();p();Object.defineProperty(o$,"__esModule",{value:!0});o$.ArrowLeftIcon=void 0;var K80=(x1(),vn(mc));function Zmn(t){return(0,K80.h)("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},t),(0,K80.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"}))}o$.ArrowLeftIcon=Zmn});var V80=D(c$=>{"use strict";u();p();Object.defineProperty(c$,"__esModule",{value:!0});c$.LaptopIcon=void 0;var d3e=(x1(),vn(mc));function ebn(t){return(0,d3e.h)("svg",Object.assign({width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},t),(0,d3e.h)("path",{d:"M1.8001 2.2002H12.2001V9.40019H1.8001V2.2002ZM3.4001 3.8002V7.80019H10.6001V3.8002H3.4001Z"}),(0,d3e.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"}))}c$.LaptopIcon=ebn});var $80=D(d$=>{"use strict";u();p();Object.defineProperty(d$,"__esModule",{value:!0});d$.SafeIcon=void 0;var Y80=(x1(),vn(mc));function tbn(t){return(0,Y80.h)("svg",Object.assign({width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},t),(0,Y80.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"}))}d$.SafeIcon=tbn});var J80=D(l3e=>{"use strict";u();p();Object.defineProperty(l3e,"__esModule",{value:!0});l3e.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 Z80=D(pA=>{"use strict";u();p();var X80=pA&&pA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(pA,"__esModule",{value:!0});pA.TryExtensionContent=void 0;var kg=X80(oA()),Hi=(x1(),vn(mc)),u3e=(RD(),vn(SD)),nbn=Q80(),abn=V80(),rbn=$80(),fbn=X80(J80());function ibn({theme:t}){let[e,n]=(0,u3e.useState)(!1),a=(0,u3e.useCallback)(()=>{window.open("https://api.wallet.coinbase.com/rpc/v2/desktop/chrome","_blank")},[]),r=(0,u3e.useCallback)(()=>{e?window.location.reload():(a(),n(!0))},[a,e]);return(0,Hi.h)("div",{class:(0,kg.default)("-cbwsdk-try-extension",t)},(0,Hi.h)("style",null,fbn.default),(0,Hi.h)("div",{class:"-cbwsdk-try-extension-column-half"},(0,Hi.h)("h3",{class:(0,kg.default)("-cbwsdk-try-extension-heading",t)},"Or try the Coinbase Wallet browser extension"),(0,Hi.h)("div",{class:"-cbwsdk-try-extension-cta-wrapper"},(0,Hi.h)("button",{class:(0,kg.default)("-cbwsdk-try-extension-cta",t),onClick:r},e?"Refresh":"Install"),(0,Hi.h)("div",null,!e&&(0,Hi.h)(nbn.ArrowLeftIcon,{class:"-cbwsdk-try-extension-cta-icon",fill:t==="light"?"#0052FF":"#588AF5"})))),(0,Hi.h)("div",{class:"-cbwsdk-try-extension-column-half"},(0,Hi.h)("ul",{class:"-cbwsdk-try-extension-list"},(0,Hi.h)("li",{class:"-cbwsdk-try-extension-list-item"},(0,Hi.h)("div",{class:"-cbwsdk-try-extension-list-item-icon-wrapper"},(0,Hi.h)("span",{class:(0,kg.default)("-cbwsdk-try-extension-list-item-icon",t)},(0,Hi.h)(abn.LaptopIcon,{fill:t==="light"?"#0A0B0D":"#FFFFFF"}))),(0,Hi.h)("div",{class:(0,kg.default)("-cbwsdk-try-extension-list-item-copy",t)},"Connect with dapps with just one click on your desktop browser")),(0,Hi.h)("li",{class:"-cbwsdk-try-extension-list-item"},(0,Hi.h)("div",{class:"-cbwsdk-try-extension-list-item-icon-wrapper"},(0,Hi.h)("span",{class:(0,kg.default)("-cbwsdk-try-extension-list-item-icon",t)},(0,Hi.h)(rbn.SafeIcon,{fill:t==="light"?"#0A0B0D":"#FFFFFF"}))),(0,Hi.h)("div",{class:(0,kg.default)("-cbwsdk-try-extension-list-item-copy",t)},"Add an additional layer of security by using a supported Ledger hardware wallet")))))}pA.TryExtensionContent=ibn});var eh0=D(p3e=>{"use strict";u();p();Object.defineProperty(p3e,"__esModule",{value:!0});p3e.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 nh0=D(hA=>{"use strict";u();p();var th0=hA&&hA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hA,"__esModule",{value:!0});hA.ConnectDialog=void 0;var h3e=th0(oA()),Sg=(x1(),vn(mc)),m3e=(RD(),vn(SD)),sbn=G80(),obn=Z80(),cbn=th0(eh0()),dbn=t=>{let{isOpen:e,darkMode:n}=t,[a,r]=(0,m3e.useState)(!e),[f,i]=(0,m3e.useState)(!e);(0,m3e.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,Sg.h)("div",{class:(0,h3e.default)("-cbwsdk-connect-dialog-container",a&&"-cbwsdk-connect-dialog-container-hidden")},(0,Sg.h)("style",null,cbn.default),(0,Sg.h)("div",{class:(0,h3e.default)("-cbwsdk-connect-dialog-backdrop",s,f&&"-cbwsdk-connect-dialog-backdrop-hidden")}),(0,Sg.h)("div",{class:"-cbwsdk-connect-dialog"},(0,Sg.h)("div",{class:(0,h3e.default)("-cbwsdk-connect-dialog-box",f&&"-cbwsdk-connect-dialog-box-hidden")},t.connectDisabled?null:(0,Sg.h)(sbn.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,Sg.h)(obn.TryExtensionContent,{theme:s}))))};hA.ConnectDialog=dbn});var ah0=D(l$=>{"use strict";u();p();Object.defineProperty(l$,"__esModule",{value:!0});l$.LinkFlow=void 0;var b3e=(x1(),vn(mc)),lbn=nh0(),y3e=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,b3e.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,b3e.render)((0,b3e.h)(lbn.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)}};l$.LinkFlow=y3e});var rh0=D(g3e=>{"use strict";u();p();Object.defineProperty(g3e,"__esModule",{value:!0});g3e.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 T3e=D(Ad=>{"use strict";u();p();var fh0=Ad&&Ad.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ad,"__esModule",{value:!0});Ad.SnackbarInstance=Ad.SnackbarContainer=Ad.Snackbar=void 0;var u$=fh0(oA()),zi=(x1(),vn(mc)),v3e=(RD(),vn(SD)),ubn=fh0(rh0()),pbn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNDkyIDEwLjQxOWE4LjkzIDguOTMgMCAwMTguOTMtOC45M2gxMS4xNjNhOC45MyA4LjkzIDAgMDE4LjkzIDguOTN2MTEuMTYzYTguOTMgOC45MyAwIDAxLTguOTMgOC45M0gxMC40MjJhOC45MyA4LjkzIDAgMDEtOC45My04LjkzVjEwLjQxOXoiIGZpbGw9IiMxNjUyRjAiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEwLjQxOSAwSDIxLjU4QzI3LjMzNSAwIDMyIDQuNjY1IDMyIDEwLjQxOVYyMS41OEMzMiAyNy4zMzUgMjcuMzM1IDMyIDIxLjU4MSAzMkgxMC40MkM0LjY2NSAzMiAwIDI3LjMzNSAwIDIxLjU4MVYxMC40MkMwIDQuNjY1IDQuNjY1IDAgMTAuNDE5IDB6bTAgMS40ODhhOC45MyA4LjkzIDAgMDAtOC45MyA4LjkzdjExLjE2M2E4LjkzIDguOTMgMCAwMDguOTMgOC45M0gyMS41OGE4LjkzIDguOTMgMCAwMDguOTMtOC45M1YxMC40MmE4LjkzIDguOTMgMCAwMC04LjkzLTguOTNIMTAuNDJ6IiBmaWxsPSIjZmZmIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS45OTggMjYuMDQ5Yy01LjU0OSAwLTEwLjA0Ny00LjQ5OC0xMC4wNDctMTAuMDQ3IDAtNS41NDggNC40OTgtMTAuMDQ2IDEwLjA0Ny0xMC4wNDYgNS41NDggMCAxMC4wNDYgNC40OTggMTAuMDQ2IDEwLjA0NiAwIDUuNTQ5LTQuNDk4IDEwLjA0Ny0xMC4wNDYgMTAuMDQ3eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMi43NjIgMTQuMjU0YzAtLjgyMi42NjctMS40ODkgMS40ODktMS40ODloMy40OTdjLjgyMiAwIDEuNDg4LjY2NiAxLjQ4OCAxLjQ4OXYzLjQ5N2MwIC44MjItLjY2NiAxLjQ4OC0xLjQ4OCAxLjQ4OGgtMy40OTdhMS40ODggMS40ODggMCAwMS0xLjQ4OS0xLjQ4OHYtMy40OTh6IiBmaWxsPSIjMTY1MkYwIi8+PC9zdmc+",hbn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDYuNzV2LTEuNWwtMS43Mi0uNTdjLS4wOC0uMjctLjE5LS41Mi0uMzItLjc3bC44MS0xLjYyLTEuMDYtMS4wNi0xLjYyLjgxYy0uMjQtLjEzLS41LS4yNC0uNzctLjMyTDYuNzUgMGgtMS41bC0uNTcgMS43MmMtLjI3LjA4LS41My4xOS0uNzcuMzJsLTEuNjItLjgxLTEuMDYgMS4wNi44MSAxLjYyYy0uMTMuMjQtLjI0LjUtLjMyLjc3TDAgNS4yNXYxLjVsMS43Mi41N2MuMDguMjcuMTkuNTMuMzIuNzdsLS44MSAxLjYyIDEuMDYgMS4wNiAxLjYyLS44MWMuMjQuMTMuNS4yMy43Ny4zMkw1LjI1IDEyaDEuNWwuNTctMS43MmMuMjctLjA4LjUyLS4xOS43Ny0uMzJsMS42Mi44MSAxLjA2LTEuMDYtLjgxLTEuNjJjLjEzLS4yNC4yMy0uNS4zMi0uNzdMMTIgNi43NXpNNiA4LjVhMi41IDIuNSAwIDAxMC01IDIuNSAyLjUgMCAwMTAgNXoiIGZpbGw9IiMwNTBGMTkiLz48L3N2Zz4=",w3e=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,zi.render)((0,zi.h)("div",null,(0,zi.h)(Ad.SnackbarContainer,{darkMode:this.darkMode},Array.from(this.items.entries()).map(([e,n])=>(0,zi.h)(Ad.SnackbarInstance,Object.assign({},n,{key:e}))))),this.root)}};Ad.Snackbar=w3e;var mbn=t=>(0,zi.h)("div",{class:(0,u$.default)("-cbwsdk-snackbar-container")},(0,zi.h)("style",null,ubn.default),(0,zi.h)("div",{class:"-cbwsdk-snackbar"},t.children));Ad.SnackbarContainer=mbn;var bbn=({autoExpand:t,message:e,menuItems:n})=>{let[a,r]=(0,v3e.useState)(!0),[f,i]=(0,v3e.useState)(t??!1);(0,v3e.useEffect)(()=>{let o=[window.setTimeout(()=>{r(!1)},1),window.setTimeout(()=>{i(!0)},1e4)];return()=>{o.forEach(window.clearTimeout)}});let s=()=>{i(!f)};return(0,zi.h)("div",{class:(0,u$.default)("-cbwsdk-snackbar-instance",a&&"-cbwsdk-snackbar-instance-hidden",f&&"-cbwsdk-snackbar-instance-expanded")},(0,zi.h)("div",{class:"-cbwsdk-snackbar-instance-header",onClick:s},(0,zi.h)("img",{src:pbn,class:"-cbwsdk-snackbar-instance-header-cblogo"})," ",(0,zi.h)("div",{class:"-cbwsdk-snackbar-instance-header-message"},e),(0,zi.h)("div",{class:"-gear-container"},!f&&(0,zi.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,zi.h)("circle",{cx:"12",cy:"12",r:"12",fill:"#F5F7F8"})),(0,zi.h)("img",{src:hbn,class:"-gear-icon",title:"Expand"}))),n&&n.length>0&&(0,zi.h)("div",{class:"-cbwsdk-snackbar-instance-menu"},n.map((o,c)=>(0,zi.h)("div",{class:(0,u$.default)("-cbwsdk-snackbar-instance-menu-item",o.isRed&&"-cbwsdk-snackbar-instance-menu-item-is-red"),onClick:o.onClick,key:c},(0,zi.h)("svg",{width:o.svgWidth,height:o.svgHeight,viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,zi.h)("path",{"fill-rule":o.defaultFillRule,"clip-rule":o.defaultClipRule,d:o.path,fill:"#AAAAAA"})),(0,zi.h)("span",{class:(0,u$.default)("-cbwsdk-snackbar-instance-menu-item-info",o.isRed&&"-cbwsdk-snackbar-instance-menu-item-info-is-red")},o.info)))))};Ad.SnackbarInstance=bbn});var E3e=D(p$=>{"use strict";u();p();Object.defineProperty(p$,"__esModule",{value:!0});p$.WalletLinkRelayUI=void 0;var ybn=Khe(),gbn=ah0(),vbn=T3e(),x3e=class{constructor(e){this.standalone=null,this.attached=!1,this.snackbar=new vbn.Snackbar({darkMode:e.darkMode}),this.linkFlow=new gbn.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,ybn.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}};p$.WalletLinkRelayUI=x3e});var _3e=D(m$=>{"use strict";u();p();Object.defineProperty(m$,"__esModule",{value:!0});m$.WalletLinkRelay=void 0;var mA=vD(),wbn=TD(),Nf=sp(),Rg=qY(),ih0=jY(),l4=KY(),Tbn=Yp0(),Mg=FY(),xbn=E3e(),h$=class t extends ih0.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(ih0.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(Rg.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=l4.Session.load(this.storage)||new l4.Session(this.storage).save(),{linkAPIUrl:n,diagnostic:a}=this,r=new Tbn.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(Rg.EVENTS.SESSION_STATE_CHANGE,{method:"relay::resetAndReload",sessionMetadataChange:"__destroyed, 1",sessionIdHash:this.getSessionIdHash()}),this.connection.destroy();let r=l4.Session.load(this.storage);if(r?.id===this._session.id?this.storage.clear():r&&((n=this.diagnostic)===null||n===void 0||n.log(Rg.EVENTS.SKIPPED_CLEARING_SESSION,{sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:l4.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(Rg.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,Nf.hexStringFromBuffer)(e,!0),address:n,addPrefix:a,typedDataJson:r||null}})}ethereumAddressFromSignedMessage(e,n,a){return this.sendRequest({method:"ethereumAddressFromSignedMessage",params:{message:(0,Nf.hexStringFromBuffer)(e,!0),signature:(0,Nf.hexStringFromBuffer)(n,!0),addPrefix:a}})}signEthereumTransaction(e){return this.sendRequest({method:"signEthereumTransaction",params:{fromAddress:e.fromAddress,toAddress:e.toAddress,weiValue:(0,Nf.bigIntStringFromBN)(e.weiValue),data:(0,Nf.hexStringFromBuffer)(e.data,!0),nonce:e.nonce,gasPriceInWei:e.gasPriceInWei?(0,Nf.bigIntStringFromBN)(e.gasPriceInWei):null,maxFeePerGas:e.gasPriceInWei?(0,Nf.bigIntStringFromBN)(e.gasPriceInWei):null,maxPriorityFeePerGas:e.gasPriceInWei?(0,Nf.bigIntStringFromBN)(e.gasPriceInWei):null,gasLimit:e.gasLimit?(0,Nf.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,Nf.bigIntStringFromBN)(e.weiValue),data:(0,Nf.hexStringFromBuffer)(e.data,!0),nonce:e.nonce,gasPriceInWei:e.gasPriceInWei?(0,Nf.bigIntStringFromBN)(e.gasPriceInWei):null,maxFeePerGas:e.maxFeePerGas?(0,Nf.bigIntStringFromBN)(e.maxFeePerGas):null,maxPriorityFeePerGas:e.maxPriorityFeePerGas?(0,Nf.bigIntStringFromBN)(e.maxPriorityFeePerGas):null,gasLimit:e.gasLimit?(0,Nf.bigIntStringFromBN)(e.gasLimit):null,chainId:e.chainId,shouldSubmit:!0}})}submitEthereumTransaction(e,n){return this.sendRequest({method:"submitEthereumTransaction",params:{signedTransaction:(0,Nf.hexStringFromBuffer)(e,!0),chainId:n}})}scanQRCode(e){return this.sendRequest({method:"scanQRCode",params:{regExp:e}})}getQRCodeUrl(){return(0,Nf.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,Nf.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,Mg.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 xbn.WalletLinkRelayUI&&this.ui.setChainId(e)}publishWeb3RequestEvent(e,n){var a;let r={type:"WEB3_REQUEST",id:e,request:n},f=l4.Session.load(this.storage);(a=this.diagnostic)===null||a===void 0||a.log(Rg.EVENTS.WEB3_REQUEST,{eventId:r.id,method:`relay::${n.method}`,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:f?l4.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(Rg.EVENTS.WEB3_REQUEST_PUBLISHED,{eventId:r.id,method:`relay::${n.method}`,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:f?l4.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(Rg.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,mA.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,Nf.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,Mg.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=mA.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,Nf.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,Mg.isErrorResponse)(d))return s(new Error(d.errorMessage));i(d)});let o=d=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:a,response:{method:"selectProvider",result:wbn.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,Nf.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,Mg.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,Nf.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,Mg.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,Nf.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,Mg.isErrorResponse)(l)&&l.errorCode)return o(mA.standardErrors.provider.custom({code:l.errorCode,message:"Unrecognized chain ID. Try adding the chain using addEthereumChain first."}));if((0,Mg.isErrorResponse)(l))return o(new Error(l.errorMessage));s(l)});let c=l=>{var h;if(l){let y=(h=(0,mA.getErrorCode)(l))!==null&&h!==void 0?h:mA.standardErrorCodes.provider.unsupportedChain;this.handleErrorResponse(r,"switchEthereumChain",l instanceof Error?l:mA.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 l4.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}}};m$.WalletLinkRelay=h$;h$.accountRequestCallbackIds=new Set});var sh0=D(Bg=>{"use strict";u();p();var Ebn=Bg&&Bg.__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]}),_bn=Bg&&Bg.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Ebn(e,t,n)};Object.defineProperty(Bg,"__esModule",{value:!0});_bn(T3e(),Bg)});var oh0=D(A3e=>{"use strict";u();p();Object.defineProperty(A3e,"__esModule",{value:!0});A3e.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 dh0=D(bA=>{"use strict";u();p();var ch0=bA&&bA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(bA,"__esModule",{value:!0});bA.RedirectDialog=void 0;var Abn=ch0(oA()),up=(x1(),vn(mc)),Cbn=Khe(),Ibn=sh0(),kbn=ch0(oh0()),C3e=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,Cbn.injectCssReset)()}present(e){this.render(e)}clear(){this.render(null)}render(e){this.root&&((0,up.render)(null,this.root),e&&(0,up.render)((0,up.h)(Sbn,Object.assign({},e,{onDismiss:()=>{this.clear()}})),this.root))}};bA.RedirectDialog=C3e;var Sbn=({title:t,buttonText:e,darkMode:n,onButtonClick:a,onDismiss:r})=>{let f=n?"dark":"light";return(0,up.h)(Ibn.SnackbarContainer,{darkMode:n},(0,up.h)("div",{class:"-cbwsdk-redirect-dialog"},(0,up.h)("style",null,kbn.default),(0,up.h)("div",{class:"-cbwsdk-redirect-dialog-backdrop",onClick:r}),(0,up.h)("div",{class:(0,Abn.default)("-cbwsdk-redirect-dialog-box",f)},(0,up.h)("p",null,t),(0,up.h)("button",{onClick:a},e))))}});var k3e=D(b$=>{"use strict";u();p();Object.defineProperty(b$,"__esModule",{value:!0});b$.MobileRelayUI=void 0;var Rbn=dh0(),I3e=class{constructor(e){this.attached=!1,this.darkMode=!1,this.redirectDialog=new Rbn.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}};b$.MobileRelayUI=I3e});var R3e=D(y$=>{"use strict";u();p();Object.defineProperty(y$,"__esModule",{value:!0});y$.MobileRelay=void 0;var Mbn=sp(),Bbn=_3e(),Dbn=k3e(),S3e=class extends Bbn.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,Mbn.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 Dbn.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}})}};y$.MobileRelay=S3e});var ph0=D((BJa,uh0)=>{u();p();var{Transform:Pbn}=MO();uh0.exports=t=>class lh0 extends Pbn{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 lh0(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(n._state),n._finalized=this._finalized,n}}});var bh0=D((LJa,mh0)=>{u();p();var{Transform:Lbn}=MO();mh0.exports=t=>class hh0 extends Lbn{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 hh0(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(n._state),n._finalized=this._finalized,n}}});var gh0=D((OJa,yh0)=>{u();p();var Fbn=ph0(),Nbn=bh0();yh0.exports=function(t){let e=Fbn(t),n=Nbn(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 Th0=D(wh0=>{u();p();var vh0=[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];wh0.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,b=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 E=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,me=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,m0=N<<10|w>>>22,h0=w<<10|N>>>22,$e=A<<13|b>>>19,M0=b<<13|A>>>19,P0=P<<2|L>>>30,t0=L<<2|P>>>30,j0=g<<30|E>>>2,z0=E<<30|g>>>2,Ke=B<<6|M>>>26,B0=M<<6|B>>>26,K0=q<<11|S>>>21,s0=S<<11|q>>>21,J0=ee<<15|U>>>17,Y0=U<<15|ee>>>17,l0=Z<<29|J>>>3,Q0=J<<29|Z>>>3,et=ne<<28|ue>>>4,p0=ue<<28|ne>>>4,Z0=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,cf=Te<<14|he>>>18;t[0]=Ce^~je&K0,t[1]=Se^~Ue&s0,t[10]=et^~pr&qe,t[11]=p0^~za&v0,t[20]=_e^~Ke&$0,t[21]=ze^~B0&Tt,t[30]=On^~Qe&m0,t[31]=Ha^~u0&h0,t[40]=j0^~Z0&hr,t[41]=z0^~Et&ar,t[2]=je^~K0&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^~m0&J0,t[33]=u0^~h0&Y0,t[42]=Z0^~hr&w0,t[43]=Et^~ar&Ve,t[4]=K0^~Pn&rr,t[5]=s0^~Ln&cf,t[14]=qe^~$e&l0,t[15]=v0^~M0&Q0,t[24]=$0^~Cr&me,t[25]=Tt^~Jr&ye,t[34]=m0^~J0&Fn,t[35]=h0^~Y0&Nn,t[44]=hr^~w0&P0,t[45]=ar^~Ve&t0,t[6]=Pn^~rr&Ce,t[7]=Ln^~cf&Se,t[16]=$e^~l0&et,t[17]=M0^~Q0&p0,t[26]=Cr^~me&_e,t[27]=Jr^~ye&ze,t[36]=J0^~Fn&On,t[37]=Y0^~Nn&Ha,t[46]=w0^~P0&j0,t[47]=Ve^~t0&z0,t[8]=rr^~Ce&je,t[9]=cf^~Se&Ue,t[18]=l0^~et&pr,t[19]=Q0^~p0&za,t[28]=me^~_e&Ke,t[29]=ye^~ze&B0,t[38]=Fn^~On&Qe,t[39]=Nn^~Ha&u0,t[48]=P0^~j0&Z0,t[49]=t0^~z0&Et,t[0]^=vh0[e*2],t[1]^=vh0[e*2+1]}}});var Eh0=D((jJa,xh0)=>{u();p();var g$=Th0();function yA(){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}yA.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};yA.prototype.absorb=function(t){for(let e=0;e>>8*(this.count%4)&255,this.count+=1,this.count===this.blockSize&&(g$.p1600(this.state),this.count=0);return e};yA.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};xh0.exports=yA});var M3e=D((QJa,_h0)=>{u();p();_h0.exports=gh0()(Eh0())});var B3e=D(($Ja,Sh0)=>{u();p();var Obn=M3e(),Ubn=Va();function Ah0(t){return _.Buffer.allocUnsafe(t).fill(0)}function Ch0(t,e,n){let a=Ah0(e);return t=v$(t),n?t.length{u();p();var Lg=B3e(),Pg=Va();function Mh0(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 gA(t){return parseInt(/^\D+(\d+)$/.exec(t)[1],10)}function Rh0(t){var e=/^\D+(\d+)x(\d+)$/.exec(t);return[parseInt(e[1],10),parseInt(e[2],10)]}function Bh0(t){var e=t.match(/(.*)\[(.*?)\]$/);return e?e[2]===""?"dynamic":parseInt(e[2],10):null}function Dg(t){var e=typeof t;if(e==="string")return Lg.isHexString(t)?new Pg(Lg.stripHexPrefix(t),16):new Pg(t,10);if(e==="number")return new Pg(t);if(t.toArray)return t;throw new Error("Argument is not a number")}function pp(t,e){var n,a,r,f;if(t==="address")return pp("uint160",Dg(e));if(t==="bool")return pp("uint8",e?1:0);if(t==="string")return pp("bytes",new _.Buffer(e,"utf8"));if(Gbn(t)){if(typeof e.length>"u")throw new Error("Not an array?");if(n=Bh0(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(pp(t,e[f]));if(n==="dynamic"){var i=pp("uint256",e.length);r.unshift(i)}return _.Buffer.concat(r)}else{if(t==="bytes")return e=new _.Buffer(e),r=_.Buffer.concat([pp("uint256",e.length),e]),e.length%32!==0&&(r=_.Buffer.concat([r,Lg.zeros(32-e.length%32)])),r;if(t.startsWith("bytes")){if(n=gA(t),n<1||n>32)throw new Error("Invalid bytes width: "+n);return Lg.setLengthRight(e,32)}else if(t.startsWith("uint")){if(n=gA(t),n%8||n<8||n>256)throw new Error("Invalid uint width: "+n);if(a=Dg(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=gA(t),n%8||n<8||n>256)throw new Error("Invalid int width: "+n);if(a=Dg(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=Rh0(t),a=Dg(e),a<0)throw new Error("Supplied ufixed is negative");return pp("uint256",a.mul(new Pg(2).pow(new Pg(n[1]))))}else if(t.startsWith("fixed"))return n=Rh0(t),pp("int256",Dg(e).mul(new Pg(2).pow(new Pg(n[1]))))}throw new Error("Unsupported or invalid type: "+t)}function jbn(t){return t==="string"||t==="bytes"||Bh0(t)==="dynamic"}function Gbn(t){return t.lastIndexOf("]")===t.length-1}function Kbn(t,e){var n=[],a=[],r=32*t.length;for(var f in t){var i=Mh0(t[f]),s=e[f],o=pp(i,s);jbn(i)?(n.push(pp("uint256",r)),a.push(o),r+=o.length):n.push(o)}return _.Buffer.concat(n.concat(a))}function Dh0(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(Lg.setLengthRight(s,n))}else if(i.startsWith("uint")){if(n=gA(i),n%8||n<8||n>256)throw new Error("Invalid uint width: "+n);if(a=Dg(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=gA(i),n%8||n<8||n>256)throw new Error("Invalid int width: "+n);if(a=Dg(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 Qbn(t,e){return Lg.keccak(Dh0(t,e))}Ph0.exports={rawEncode:Kbn,solidityPack:Dh0,soliditySHA3:Qbn}});var Oh0=D((nXa,Nh0)=>{u();p();var Yl=B3e(),BD=Lh0(),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"]},D3e={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":Yl.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",Yl.keccak(c)];if(o==="string")return typeof c=="string"&&(c=_.Buffer.from(c,"utf8")),["bytes32",Yl.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",Yl.keccak(BD.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=Yl.keccak(s),f.push(s);else if(i.type==="string")r.push("bytes32"),typeof s=="string"&&(s=_.Buffer.from(s,"utf8")),s=Yl.keccak(s),f.push(s);else if(n[i.type]!==void 0)r.push("bytes32"),s=Yl.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 BD.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 Yl.keccak(this.encodeData(t,e,n,a))},hashType(t,e){return Yl.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)),Yl.keccak(_.Buffer.concat(a))}};Nh0.exports={TYPED_MESSAGE_SCHEMA:Fh0,TypedDataUtils:D3e,hashForSignTypedDataLegacy:function(t){return Vbn(t.data)},hashForSignTypedData_v3:function(t){return D3e.hash(t.data,!1)},hashForSignTypedData_v4:function(t){return D3e.hash(t.data)}};function Vbn(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"?Yl.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 BD.soliditySHA3(["bytes32","bytes32"],[BD.soliditySHA3(new Array(t.length).fill("string"),r),BD.soliditySHA3(a,n)])}});var qh0=D(wA=>{"use strict";u();p();Object.defineProperty(wA,"__esModule",{value:!0});wA.filterFromParam=wA.FilterPolyfill=void 0;var vA=TD(),bc=sp(),Ybn=5*60*1e3,Fg={jsonrpc:"2.0",id:0},P3e=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,vA.IntNumber)(1),this.REQUEST_THROTTLE_INTERVAL=1e3,this.lastFetchTimestamp=new Date(0),this.resolvers=[],this.provider=e}async newFilter(e){let n=Wh0(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,bc.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,bc.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,bc.hexStringFromIntNumber)(e)}uninstallFilter(e){let n=(0,bc.intNumberFromHexString)(e);return console.info(`Uninstalling filter (${n})`),this.deleteFilter(n),!0}getFilterChanges(e){let n=(0,bc.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(w$())}async getFilterLogs(e){let n=(0,bc.intNumberFromHexString)(e),a=this.logFilters.get(n);return a?this.sendAsyncPromise(Object.assign(Object.assign({},Fg),{method:"eth_getLogs",params:[Uh0(a)]})):w$()}makeFilterId(){return(0,vA.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 w$();let r=await this.getCurrentBlockHeight(),f=n.toBlock==="latest"?r:n.toBlock;if(a>r||a>Number(n.toBlock))return T$();console.info(`Fetching logs from ${a} to ${f} for filter ${e}`);let i=await this.sendAsyncPromise(Object.assign(Object.assign({},Fg),{method:"eth_getLogs",params:[Uh0(Object.assign(Object.assign({},n),{fromBlock:a,toBlock:f}))]}));if(Array.isArray(i.result)){let s=i.result.map(c=>(0,bc.intNumberFromHexString)(c.blockNumber||"0x0")),o=Math.max(...s);if(o&&o>a){let c=(0,vA.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 w$();let a=await this.getCurrentBlockHeight();if(n>a)return T$();console.info(`Fetching blocks from ${n} to ${a} for filter (${e})`);let r=(await Promise.all((0,bc.range)(n,a+1).map(i=>this.getBlockHashByNumber((0,vA.IntNumber)(i))))).filter(i=>!!i),f=(0,vA.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({},Fg),{result:r})}async getPendingTransactionFilterChanges(e){return Promise.resolve(T$())}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)},Ybn);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({},Fg),{method:"eth_blockNumber",params:[]}));return(0,bc.intNumberFromHexString)((0,bc.ensureHexString)(e))}async getBlockHashByNumber(e){let n=await this.sendAsyncPromise(Object.assign(Object.assign({},Fg),{method:"eth_getBlockByNumber",params:[(0,bc.hexStringFromIntNumber)(e),!1]}));return n.result&&typeof n.result.hash=="string"?(0,bc.ensureHexString)(n.result.hash):null}};wA.FilterPolyfill=P3e;function Wh0(t){return{fromBlock:Hh0(t.fromBlock),toBlock:Hh0(t.toBlock),addresses:t.address===void 0?null:Array.isArray(t.address)?t.address:[t.address],topics:t.topics||[]}}wA.filterFromParam=Wh0;function Uh0(t){let e={fromBlock:zh0(t.fromBlock),toBlock:zh0(t.toBlock),topics:t.topics};return t.addresses!==null&&(e.address=t.addresses),e}function Hh0(t){if(t===void 0||t==="latest"||t==="pending")return"latest";if(t==="earliest")return(0,vA.IntNumber)(0);if((0,bc.isHexString)(t))return(0,bc.intNumberFromHexString)(t);throw new Error(`Invalid block option: ${String(t)}`)}function zh0(t){return t==="latest"?t:(0,bc.hexStringFromIntNumber)(t)}function w$(){return Object.assign(Object.assign({},Fg),{error:{code:-32e3,message:"filter not found"}})}function T$(){return Object.assign(Object.assign({},Fg),{result:[]})}});var x$=D((oXa,jh0)=>{u();p();jh0.exports=$bn;function $bn(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 Qh0=D((lXa,Kh0)=>{"use strict";u();p();var Gh0=(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):Gh0(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)?Gh0(f,e):f}return a}});var E$=D(F3e=>{"use strict";u();p();Object.defineProperty(F3e,"__esModule",{value:!0});var Jbn=Or();function Vh0(t,e,n){try{Reflect.apply(t,e,n)}catch(a){setTimeout(()=>{throw a})}}function Xbn(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")Vh0(f,this,n);else{let i=f.length,s=Xbn(f);for(let o=0;o{"use strict";u();p();var Zbn=TA&&TA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(TA,"__esModule",{value:!0});TA.BaseBlockTracker=void 0;var e4n=Zbn(E$()),t4n=1e3,n4n=(t,e)=>t+e,Yh0=["sync","latest"],N3e=class extends e4n.default{constructor(e){super(),this._blockResetDuration=e.blockResetDuration||20*t4n,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){Yh0.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 Yh0.map(e=>this.listenerCount(e)).reduce(n4n)}_shouldUseNewBlock(e){let n=this._currentBlock;if(!n)return!0;let a=$h0(e),r=$h0(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}};TA.BaseBlockTracker=N3e;function $h0(t){return Number.parseInt(t,16)}});var u4=D((_$,Jh0)=>{u();p();(function(t,e){typeof _$=="object"&&typeof Jh0<"u"?e(_$):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.Superstruct={}))})(_$,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,me]of he.entries(pe,qe)){let ye=c(Ve,me,{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 b(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 E(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=b,t.func=A,t.instance=P,t.integer=L,t.intersection=E,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 Uh=D(hp=>{"use strict";u();p();Object.defineProperty(hp,"__esModule",{value:!0});hp.assertExhaustive=hp.assertStruct=hp.assert=hp.AssertionError=void 0;var a4n=u4();function r4n(t){return typeof t=="object"&&t!==null&&"message"in t}function f4n(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 i4n(t){let e=r4n(t)?t.message:String(t);return e.endsWith(".")?e.slice(0,-1):e}function Xh0(t,e){return f4n(t)?new t({message:e}):t({message:e})}var DD=class extends Error{constructor(e){super(e.message),this.code="ERR_ASSERTION"}};hp.AssertionError=DD;function s4n(t,e="Assertion failed.",n=DD){if(!t)throw e instanceof Error?e:Xh0(n,e)}hp.assert=s4n;function o4n(t,e,n="Assertion failed",a=DD){try{(0,a4n.assert)(t,e)}catch(r){throw Xh0(a,`${n}: ${i4n(r)}.`)}}hp.assertStruct=o4n;function c4n(t){throw new Error("Invalid branch reached. Should be detected during compilation.")}hp.assertExhaustive=c4n});var U3e=D(A$=>{"use strict";u();p();Object.defineProperty(A$,"__esModule",{value:!0});A$.base64=void 0;var d4n=u4(),l4n=Uh(),u4n=(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,l4n.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,d4n.pattern)(t,s)};A$.base64=u4n});var PD=D(Wi=>{"use strict";u();p();Object.defineProperty(Wi,"__esModule",{value:!0});Wi.remove0x=Wi.add0x=Wi.assertIsStrictHexString=Wi.assertIsHexString=Wi.isStrictHexString=Wi.isHexString=Wi.StrictHexStruct=Wi.HexStruct=void 0;var xA=u4(),Zh0=Uh();Wi.HexStruct=(0,xA.pattern)((0,xA.string)(),/^(?:0x)?[0-9a-f]+$/iu);Wi.StrictHexStruct=(0,xA.pattern)((0,xA.string)(),/^0x[0-9a-f]+$/iu);function e30(t){return(0,xA.is)(t,Wi.HexStruct)}Wi.isHexString=e30;function t30(t){return(0,xA.is)(t,Wi.StrictHexStruct)}Wi.isStrictHexString=t30;function p4n(t){(0,Zh0.assert)(e30(t),"Value must be a hexadecimal string.")}Wi.assertIsHexString=p4n;function h4n(t){(0,Zh0.assert)(t30(t),'Value must be a hexadecimal string, starting with "0x".')}Wi.assertIsStrictHexString=h4n;function m4n(t){return t.startsWith("0x")?t:t.startsWith("0X")?`0x${t.substring(2)}`:`0x${t}`}Wi.add0x=m4n;function b4n(t){return t.startsWith("0x")||t.startsWith("0X")?t.substring(2):t}Wi.remove0x=b4n});var W3e=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 V6=Uh(),H3e=PD(),n30=48,a30=58,r30=87;function y4n(){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 g4n=y4n();function z3e(t){return t instanceof Uint8Array}Na.isBytes=z3e;function EA(t){(0,V6.assert)(z3e(t),"Value must be a Uint8Array.")}Na.assertIsBytes=EA;function f30(t){if(EA(t),t.length===0)return"0x";let e=g4n(),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 C$(e)}Na.bigIntToBytes=s30;function x4n(t,e){(0,V6.assert)(e>0);let n=t>>BigInt(31);return!((~t&n)+(t&~n)>>BigInt(e*8+-1))}function E4n(t,e){(0,V6.assert)(typeof t=="bigint","Value must be a bigint."),(0,V6.assert)(typeof e=="number","Byte length must be a number."),(0,V6.assert)(e>0,"Byte length must be greater than 0."),(0,V6.assert)(x4n(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=E4n;function o30(t){(0,V6.assert)(typeof t=="number","Value must be a number."),(0,V6.assert)(t>=0,"Value must be a non-negative number."),(0,V6.assert)(Number.isSafeInteger(t),"Value is not a safe integer. Use `bigIntToBytes` instead.");let e=t.toString(16);return C$(e)}Na.numberToBytes=o30;function c30(t){return(0,V6.assert)(typeof t=="string","Value must be a string."),new TextEncoder().encode(t)}Na.stringToBytes=c30;function d30(t){if(typeof t=="bigint")return s30(t);if(typeof t=="number")return o30(t);if(typeof t=="string")return t.startsWith("0x")?C$(t):c30(t);if(z3e(t))return t;throw new TypeError(`Unsupported value type: "${typeof t}".`)}Na.valueToBytes=d30;function _4n(t){let e=new Array(t.length),n=0;for(let r=0;r{"use strict";u();p();Object.defineProperty(I$,"__esModule",{value:!0});I$.ChecksumStruct=void 0;var l30=u4(),C4n=U3e();I$.ChecksumStruct=(0,l30.size)((0,C4n.base64)((0,l30.string)(),{paddingRequired:!0}),44,44)});var m30=D(mp=>{"use strict";u();p();Object.defineProperty(mp,"__esModule",{value:!0});mp.createHex=mp.createBytes=mp.createBigInt=mp.createNumber=void 0;var Of=u4(),I4n=Uh(),p30=W3e(),k$=PD(),h30=(0,Of.union)([(0,Of.number)(),(0,Of.bigint)(),(0,Of.string)(),k$.StrictHexStruct]),k4n=(0,Of.coerce)((0,Of.number)(),h30,Number),S4n=(0,Of.coerce)((0,Of.bigint)(),h30,BigInt),NXa=(0,Of.union)([k$.StrictHexStruct,(0,Of.instance)(Uint8Array)]),R4n=(0,Of.coerce)((0,Of.instance)(Uint8Array),(0,Of.union)([k$.StrictHexStruct]),p30.hexToBytes),M4n=(0,Of.coerce)(k$.StrictHexStruct,(0,Of.instance)(Uint8Array),p30.bytesToHex);function B4n(t){try{let e=(0,Of.create)(t,k4n);return(0,I4n.assert)(Number.isFinite(e),`Expected a number-like value, got "${t}".`),e}catch(e){throw e instanceof Of.StructError?new Error(`Expected a number-like value, got "${t}".`):e}}mp.createNumber=B4n;function D4n(t){try{return(0,Of.create)(t,S4n)}catch(e){throw e instanceof Of.StructError?new Error(`Expected a number-like value, got "${String(e.value)}".`):e}}mp.createBigInt=D4n;function P4n(t){if(typeof t=="string"&&t.toLowerCase()==="0x")return new Uint8Array;try{return(0,Of.create)(t,R4n)}catch(e){throw e instanceof Of.StructError?new Error(`Expected a bytes-like value, got "${String(e.value)}".`):e}}mp.createBytes=P4n;function L4n(t){if(t instanceof Uint8Array&&t.length===0||typeof t=="string"&&t.toLowerCase()==="0x")return"0x";try{return(0,Of.create)(t,M4n)}catch(e){throw e instanceof Of.StructError?new Error(`Expected a bytes-like value, got "${String(e.value)}".`):e}}mp.createHex=L4n});var y30=D(yp=>{"use strict";u();p();var b30=yp&&yp.__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},yc=yp&&yp.__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)},$l,bp;Object.defineProperty(yp,"__esModule",{value:!0});yp.FrozenSet=yp.FrozenMap=void 0;var LD=class{constructor(e){$l.set(this,void 0),b30(this,$l,new Map(e),"f"),Object.freeze(this)}get size(){return yc(this,$l,"f").size}[($l=new WeakMap,Symbol.iterator)](){return yc(this,$l,"f")[Symbol.iterator]()}entries(){return yc(this,$l,"f").entries()}forEach(e,n){return yc(this,$l,"f").forEach((a,r,f)=>e.call(n,a,r,this))}get(e){return yc(this,$l,"f").get(e)}has(e){return yc(this,$l,"f").has(e)}keys(){return yc(this,$l,"f").keys()}values(){return yc(this,$l,"f").values()}toString(){return`FrozenMap(${this.size}) {${this.size>0?` ${[...this.entries()].map(([e,n])=>`${String(e)} => ${String(n)}`).join(", ")} `:""}}`}};yp.FrozenMap=LD;var FD=class{constructor(e){bp.set(this,void 0),b30(this,bp,new Set(e),"f"),Object.freeze(this)}get size(){return yc(this,bp,"f").size}[(bp=new WeakMap,Symbol.iterator)](){return yc(this,bp,"f")[Symbol.iterator]()}entries(){return yc(this,bp,"f").entries()}forEach(e,n){return yc(this,bp,"f").forEach((a,r,f)=>e.call(n,a,r,this))}has(e){return yc(this,bp,"f").has(e)}keys(){return yc(this,bp,"f").keys()}values(){return yc(this,bp,"f").values()}toString(){return`FrozenSet(${this.size}) {${this.size>0?` ${[...this.values()].map(e=>String(e)).join(", ")} `:""}}`}};yp.FrozenSet=FD;Object.freeze(LD);Object.freeze(LD.prototype);Object.freeze(FD);Object.freeze(FD.prototype)});var v30=D(g30=>{"use strict";u();p();Object.defineProperty(g30,"__esModule",{value:!0})});var w30=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=u4(),p4=Uh(),F4n=()=>(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)(),F4n(),(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 N4n(t){return(0,zt.is)(t,g0.JsonStruct)}g0.isValidJson=N4n;function O4n(t){(0,p4.assertStruct)(t,g0.JsonStruct,"Invalid JSON value");let e=JSON.stringify(t);return new TextEncoder().encode(e).byteLength}g0.getJsonSize=O4n;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 U4n(t){return(0,zt.is)(t,g0.JsonRpcNotificationStruct)}g0.isJsonRpcNotification=U4n;function H4n(t,e){(0,p4.assertStruct)(t,g0.JsonRpcNotificationStruct,"Invalid JSON-RPC notification",e)}g0.assertIsJsonRpcNotification=H4n;function z4n(t){return(0,zt.is)(t,g0.JsonRpcRequestStruct)}g0.isJsonRpcRequest=z4n;function W4n(t,e){(0,p4.assertStruct)(t,g0.JsonRpcRequestStruct,"Invalid JSON-RPC request",e)}g0.assertIsJsonRpcRequest=W4n;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 q4n(t){return(0,zt.is)(t,g0.PendingJsonRpcResponseStruct)}g0.isPendingJsonRpcResponse=q4n;function j4n(t,e){(0,p4.assertStruct)(t,g0.PendingJsonRpcResponseStruct,"Invalid pending JSON-RPC response",e)}g0.assertIsPendingJsonRpcResponse=j4n;function G4n(t){return(0,zt.is)(t,g0.JsonRpcResponseStruct)}g0.isJsonRpcResponse=G4n;function K4n(t,e){(0,p4.assertStruct)(t,g0.JsonRpcResponseStruct,"Invalid JSON-RPC response",e)}g0.assertIsJsonRpcResponse=K4n;function Q4n(t){return(0,zt.is)(t,g0.JsonRpcSuccessStruct)}g0.isJsonRpcSuccess=Q4n;function V4n(t,e){(0,p4.assertStruct)(t,g0.JsonRpcSuccessStruct,"Invalid JSON-RPC success response",e)}g0.assertIsJsonRpcSuccess=V4n;function Y4n(t){return(0,zt.is)(t,g0.JsonRpcFailureStruct)}g0.isJsonRpcFailure=Y4n;function $4n(t,e){(0,p4.assertStruct)(t,g0.JsonRpcFailureStruct,"Invalid JSON-RPC failure response",e)}g0.assertIsJsonRpcFailure=$4n;function J4n(t){return(0,zt.is)(t,g0.JsonRpcErrorStruct)}g0.isJsonRpcError=J4n;function X4n(t,e){(0,p4.assertStruct)(t,g0.JsonRpcErrorStruct,"Invalid JSON-RPC error",e)}g0.assertIsJsonRpcError=X4n;function Z4n(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=Z4n});var x30=D(T30=>{"use strict";u();p();Object.defineProperty(T30,"__esModule",{value:!0})});var _30=D((ZXa,E30)=>{u();p();var _A=1e3,AA=_A*60,CA=AA*60,Ng=CA*24,eyn=Ng*7,tyn=Ng*365.25;E30.exports=function(t,e){e=e||{};var n=typeof t;if(n==="string"&&t.length>0)return nyn(t);if(n==="number"&&isFinite(t))return e.long?ryn(t):ayn(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function nyn(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*tyn;case"weeks":case"week":case"w":return n*eyn;case"days":case"day":case"d":return n*Ng;case"hours":case"hour":case"hrs":case"hr":case"h":return n*CA;case"minutes":case"minute":case"mins":case"min":case"m":return n*AA;case"seconds":case"second":case"secs":case"sec":case"s":return n*_A;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function ayn(t){var e=Math.abs(t);return e>=Ng?Math.round(t/Ng)+"d":e>=CA?Math.round(t/CA)+"h":e>=AA?Math.round(t/AA)+"m":e>=_A?Math.round(t/_A)+"s":t+"ms"}function ryn(t){var e=Math.abs(t);return e>=Ng?S$(t,e,Ng,"day"):e>=CA?S$(t,e,CA,"hour"):e>=AA?S$(t,e,AA,"minute"):e>=_A?S$(t,e,_A,"second"):t+" ms"}function S$(t,e,n,a){var r=e>=n*1.5;return Math.round(t/n)+" "+a+(r?"s":"")}});var C30=D((nZa,A30)=>{u();p();function fyn(t){n.debug=n,n.default=n,n.coerce=o,n.disable=f,n.enable=r,n.enabled=i,n.humanize=_30(),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();Y6.formatArgs=syn;Y6.save=oyn;Y6.load=cyn;Y6.useColors=iyn;Y6.storage=dyn();Y6.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`."))}})();Y6.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 iyn(){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 syn(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+R$.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)}Y6.log=console.debug||console.log||(()=>{});function oyn(t){try{t?Y6.storage.setItem("debug",t):Y6.storage.removeItem("debug")}catch{}}function cyn(){let t;try{t=Y6.storage.getItem("debug")}catch{}return!t&&typeof x<"u"&&"env"in x&&(t=x.env.DEBUG),t}function dyn(){try{return localStorage}catch{}}R$.exports=C30()(Y6);var{formatters:lyn}=R$.exports;lyn.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var k30=D(h4=>{"use strict";u();p();var uyn=h4&&h4.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(h4,"__esModule",{value:!0});h4.createModuleLogger=h4.createProjectLogger=void 0;var pyn=uyn(I30()),hyn=(0,pyn.default)("metamask");function myn(t){return hyn.extend(t)}h4.createProjectLogger=myn;function byn(t,e){return t.extend(e)}h4.createModuleLogger=byn});var R30=D(xf=>{"use strict";u();p();Object.defineProperty(xf,"__esModule",{value:!0});xf.calculateNumberSize=xf.calculateStringSize=xf.isASCII=xf.isPlainObject=xf.ESCAPE_CHARACTERS_REGEXP=xf.JsonSize=xf.hasProperty=xf.isObject=xf.isNullOrUndefined=xf.isNonEmptyArray=void 0;function yyn(t){return Array.isArray(t)&&t.length>0}xf.isNonEmptyArray=yyn;function gyn(t){return t==null}xf.isNullOrUndefined=gyn;function vyn(t){return!!t&&typeof t=="object"&&!Array.isArray(t)}xf.isObject=vyn;var wyn=(t,e)=>Object.hasOwnProperty.call(t,e);xf.hasProperty=wyn;var Tyn;(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"})(Tyn=xf.JsonSize||(xf.JsonSize={}));xf.ESCAPE_CHARACTERS_REGEXP=/"|\\|\n|\r|\t/gu;function xyn(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}}xf.isPlainObject=xyn;function S30(t){return t.charCodeAt(0)<=127}xf.isASCII=S30;function Eyn(t){var e;return t.split("").reduce((a,r)=>S30(r)?a+1:a+2,0)+((e=t.match(xf.ESCAPE_CHARACTERS_REGEXP))!==null&&e!==void 0?e:[]).length}xf.calculateStringSize=Eyn;function _yn(t){return t.toString().length}xf.calculateNumberSize=_yn});var M30=D(gp=>{"use strict";u();p();Object.defineProperty(gp,"__esModule",{value:!0});gp.hexToBigInt=gp.hexToNumber=gp.bigIntToHex=gp.numberToHex=void 0;var IA=Uh(),ND=PD(),Ayn=t=>((0,IA.assert)(typeof t=="number","Value must be a number."),(0,IA.assert)(t>=0,"Value must be a non-negative number."),(0,IA.assert)(Number.isSafeInteger(t),"Value is not a safe integer. Use `bigIntToHex` instead."),(0,ND.add0x)(t.toString(16)));gp.numberToHex=Ayn;var Cyn=t=>((0,IA.assert)(typeof t=="bigint","Value must be a bigint."),(0,IA.assert)(t>=0,"Value must be a non-negative bigint."),(0,ND.add0x)(t.toString(16)));gp.bigIntToHex=Cyn;var Iyn=t=>{(0,ND.assertIsHexString)(t);let e=parseInt(t,16);return(0,IA.assert)(Number.isSafeInteger(e),"Value is not a safe integer. Use `hexToBigInt` instead."),e};gp.hexToNumber=Iyn;var kyn=t=>((0,ND.assertIsHexString)(t),BigInt((0,ND.add0x)(t)));gp.hexToBigInt=kyn});var D30=D(B30=>{"use strict";u();p();Object.defineProperty(B30,"__esModule",{value:!0})});var L30=D(Hh=>{"use strict";u();p();Object.defineProperty(Hh,"__esModule",{value:!0});Hh.timeSince=Hh.inMilliseconds=Hh.Duration=void 0;var Syn;(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"})(Syn=Hh.Duration||(Hh.Duration={}));var Ryn=t=>Number.isInteger(t)&&t>=0,P30=(t,e)=>{if(!Ryn(t))throw new Error(`"${e}" must be a non-negative integer. Received: "${t}".`)};function Myn(t,e){return P30(t,"count"),t*e}Hh.inMilliseconds=Myn;function Byn(t){return P30(t,"timestamp"),Date.now()-t}Hh.timeSince=Byn});var N30=D(F30=>{"use strict";u();p();Object.defineProperty(F30,"__esModule",{value:!0})});var U30=D(Ef=>{"use strict";u();p();Object.defineProperty(Ef,"__esModule",{value:!0});Ef.satisfiesVersionRange=Ef.gtRange=Ef.gtVersion=Ef.assertIsSemVerRange=Ef.assertIsSemVerVersion=Ef.isValidSemVerRange=Ef.isValidSemVerVersion=Ef.VersionRangeStruct=Ef.VersionStruct=void 0;var OD=Oce(),kA=u4(),O30=Uh();Ef.VersionStruct=(0,kA.refine)((0,kA.string)(),"Version",t=>(0,OD.valid)(t)===null?`Expected SemVer version, got "${t}"`:!0);Ef.VersionRangeStruct=(0,kA.refine)((0,kA.string)(),"Version range",t=>(0,OD.validRange)(t)===null?`Expected SemVer range, got "${t}"`:!0);function Dyn(t){return(0,kA.is)(t,Ef.VersionStruct)}Ef.isValidSemVerVersion=Dyn;function Pyn(t){return(0,kA.is)(t,Ef.VersionRangeStruct)}Ef.isValidSemVerRange=Pyn;function Lyn(t){(0,O30.assertStruct)(t,Ef.VersionStruct)}Ef.assertIsSemVerVersion=Lyn;function Fyn(t){(0,O30.assertStruct)(t,Ef.VersionRangeStruct)}Ef.assertIsSemVerRange=Fyn;function Nyn(t,e){return(0,OD.gt)(t,e)}Ef.gtVersion=Nyn;function Oyn(t,e){return(0,OD.gtr)(t,e)}Ef.gtRange=Oyn;function Uyn(t,e){return(0,OD.satisfies)(t,e,{includePrerelease:!0})}Ef.satisfiesVersionRange=Uyn});var H30=D(Uf=>{"use strict";u();p();var Hyn=Uf&&Uf.__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]}),xo=Uf&&Uf.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Hyn(e,t,n)};Object.defineProperty(Uf,"__esModule",{value:!0});xo(Uh(),Uf);xo(U3e(),Uf);xo(W3e(),Uf);xo(u30(),Uf);xo(m30(),Uf);xo(y30(),Uf);xo(v30(),Uf);xo(PD(),Uf);xo(w30(),Uf);xo(x30(),Uf);xo(k30(),Uf);xo(R30(),Uf);xo(M30(),Uf);xo(D30(),Uf);xo(L30(),Uf);xo(N30(),Uf);xo(U30(),Uf)});var W30=D(SA=>{"use strict";u();p();Object.defineProperty(SA,"__esModule",{value:!0});SA.createModuleLogger=SA.projectLogger=void 0;var z30=H30();Object.defineProperty(SA,"createModuleLogger",{enumerable:!0,get:function(){return z30.createModuleLogger}});SA.projectLogger=(0,z30.createProjectLogger)("eth-block-tracker")});var Q30=D(RA=>{"use strict";u();p();var K30=RA&&RA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(RA,"__esModule",{value:!0});RA.PollingBlockTracker=void 0;var zyn=K30(x$()),Wyn=K30(Qh0()),qyn=O3e(),q30=W30(),j30=(0,q30.createModuleLogger)(q30.projectLogger,"polling-block-tracker"),jyn=(0,zyn.default)(),Gyn=1e3,q3e=class extends qyn.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*Gyn,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=G30(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=G30(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:jyn(),method:"eth_blockNumber",params:[]};this._setSkipCacheFlag&&(e.skipCache=!0),j30("Making request",e);let n=await(0,Wyn.default)(a=>this._provider.sendAsync(e,a))();if(j30("Got response",n),n.error)throw new Error(`PollingBlockTracker - encountered error fetching block: +${n.error.message}`);return n.result}};RA.PollingBlockTracker=q3e;function G30(t,e){return new Promise(n=>{let a=setTimeout(n,t);a.unref&&e&&a.unref()})}});var V30=D(MA=>{"use strict";u();p();var Kyn=MA&&MA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(MA,"__esModule",{value:!0});MA.SubscribeBlockTracker=void 0;var Qyn=Kyn(x$()),Vyn=O3e(),Yyn=(0,Qyn.default)(),j3e=class extends Vyn.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:Yyn(),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=j3e});var $30=D(m4=>{"use strict";u();p();var $yn=m4&&m4.__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]}),Y30=m4&&m4.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&$yn(e,t,n)};Object.defineProperty(m4,"__esModule",{value:!0});Y30(Q30(),m4);Y30(V30(),m4)});var K3e=D(M$=>{"use strict";u();p();Object.defineProperty(M$,"__esModule",{value:!0});M$.getUniqueId=void 0;var J30=4294967295,G3e=Math.floor(Math.random()*J30);function Jyn(){return G3e=(G3e+1)%J30,G3e}M$.getUniqueId=Jyn});var X30=D(B$=>{"use strict";u();p();Object.defineProperty(B$,"__esModule",{value:!0});B$.createIdRemapMiddleware=void 0;var Xyn=K3e();function Zyn(){return(t,e,n,a)=>{let r=t.id,f=Xyn.getUniqueId();t.id=f,e.id=f,n(i=>{t.id=r,e.id=r,i()})}}B$.createIdRemapMiddleware=Zyn});var Z30=D(D$=>{"use strict";u();p();Object.defineProperty(D$,"__esModule",{value:!0});D$.createAsyncMiddleware=void 0;function e7n(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)}}}D$.createAsyncMiddleware=e7n});var em0=D(P$=>{"use strict";u();p();Object.defineProperty(P$,"__esModule",{value:!0});P$.createScaffoldMiddleware=void 0;function t7n(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())}}P$.createScaffoldMiddleware=t7n});var nm0=D(V3e=>{"use strict";u();p();Object.defineProperty(V3e,"__esModule",{value:!0});var n7n=Or();function tm0(t,e,n){try{Reflect.apply(t,e,n)}catch(a){setTimeout(()=>{throw a})}}function a7n(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")tm0(f,this,n);else{let i=f.length,s=a7n(f);for(let o=0;o{u();p();sm0.exports=UD;UD.default=UD;UD.stable=fm0;UD.stableStringify=fm0;var L$="[...]",am0="[Circular]",Ug=[],Og=[];function rm0(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function UD(t,e,n,a){typeof a>"u"&&(a=rm0()),Y3e(t,"",0,[],void 0,0,a);var r;try{Og.length===0?r=JSON.stringify(t,e,n):r=JSON.stringify(t,im0(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;Ug.length!==0;){var f=Ug.pop();f.length===4?Object.defineProperty(f[0],f[1],f[3]):f[0][f[1]]=f[2]}}return r}function BA(t,e,n,a){var r=Object.getOwnPropertyDescriptor(a,n);r.get!==void 0?r.configurable?(Object.defineProperty(a,n,{value:t}),Ug.push([a,n,e,r])):Og.push([e,n,t]):(a[n]=t,Ug.push([a,n,e]))}function Y3e(t,e,n,a,r,f,i){f+=1;var s;if(typeof t=="object"&&t!==null){for(s=0;si.depthLimit){BA(L$,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){BA(L$,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;se?1:0}function fm0(t,e,n,a){typeof a>"u"&&(a=rm0());var r=$3e(t,"",0,[],void 0,0,a)||t,f;try{Og.length===0?f=JSON.stringify(r,e,n):f=JSON.stringify(r,im0(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;Ug.length!==0;){var i=Ug.pop();i.length===4?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}}return f}function $3e(t,e,n,a,r,f,i){f+=1;var s;if(typeof t=="object"&&t!==null){for(s=0;si.depthLimit){BA(L$,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){BA(L$,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(DA,"__esModule",{value:!0});DA.EthereumProviderError=DA.EthereumRpcError=void 0;var f7n=om0(),F$=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 f7n.default(this.serialize(),s7n,2)}};DA.EthereumRpcError=F$;var J3e=class extends F${constructor(e,n,a){if(!i7n(e))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,n,a)}};DA.EthereumProviderError=J3e;function i7n(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}function s7n(t,e){if(e!=="[Circular]")return e}});var O$=D(PA=>{"use strict";u();p();Object.defineProperty(PA,"__esModule",{value:!0});PA.errorValues=PA.errorCodes=void 0;PA.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}};PA.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 eme=D(Jl=>{"use strict";u();p();Object.defineProperty(Jl,"__esModule",{value:!0});Jl.serializeError=Jl.isValidCode=Jl.getMessageFromCode=Jl.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;var U$=O$(),o7n=N$(),cm0=U$.errorCodes.rpc.internal,c7n="Unspecified error message. This is a bug, please report it.",d7n={code:cm0,message:Z3e(cm0)};Jl.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.";function Z3e(t,e=c7n){if(Number.isInteger(t)){let n=t.toString();if(X3e(U$.errorValues,n))return U$.errorValues[n].message;if(um0(t))return Jl.JSON_RPC_SERVER_ERROR_MESSAGE}return e}Jl.getMessageFromCode=Z3e;function lm0(t){if(!Number.isInteger(t))return!1;let e=t.toString();return!!(U$.errorValues[e]||um0(t))}Jl.isValidCode=lm0;function l7n(t,{fallbackError:e=d7n,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 o7n.EthereumRpcError)return t.serialize();let f={};if(t&&typeof t=="object"&&!Array.isArray(t)&&X3e(t,"code")&&lm0(t.code)){let s=t;f.code=s.code,s.message&&typeof s.message=="string"?(f.message=s.message,X3e(s,"data")&&(f.data=s.data)):(f.message=Z3e(f.code),f.data={originalError:dm0(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:dm0(t)}}let i=(r=t)===null||r===void 0?void 0:r.stack;return n&&t&&i&&typeof i=="string"&&(f.stack=i),f}Jl.serializeError=l7n;function um0(t){return t>=-32099&&t<=-32e3}function dm0(t){return t&&typeof t=="object"&&!Array.isArray(t)?Object.assign({},t):t}function X3e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}});var mm0=D(H$=>{"use strict";u();p();Object.defineProperty(H$,"__esModule",{value:!0});H$.ethErrors=void 0;var tme=N$(),pm0=eme(),E1=O$();H$.ethErrors={rpc:{parse:t=>Cd(E1.errorCodes.rpc.parse,t),invalidRequest:t=>Cd(E1.errorCodes.rpc.invalidRequest,t),invalidParams:t=>Cd(E1.errorCodes.rpc.invalidParams,t),methodNotFound:t=>Cd(E1.errorCodes.rpc.methodNotFound,t),internal:t=>Cd(E1.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 Cd(e,t)},invalidInput:t=>Cd(E1.errorCodes.rpc.invalidInput,t),resourceNotFound:t=>Cd(E1.errorCodes.rpc.resourceNotFound,t),resourceUnavailable:t=>Cd(E1.errorCodes.rpc.resourceUnavailable,t),transactionRejected:t=>Cd(E1.errorCodes.rpc.transactionRejected,t),methodNotSupported:t=>Cd(E1.errorCodes.rpc.methodNotSupported,t),limitExceeded:t=>Cd(E1.errorCodes.rpc.limitExceeded,t)},provider:{userRejectedRequest:t=>HD(E1.errorCodes.provider.userRejectedRequest,t),unauthorized:t=>HD(E1.errorCodes.provider.unauthorized,t),unsupportedMethod:t=>HD(E1.errorCodes.provider.unsupportedMethod,t),disconnected:t=>HD(E1.errorCodes.provider.disconnected,t),chainDisconnected:t=>HD(E1.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 tme.EthereumProviderError(e,n,a)}}};function Cd(t,e){let[n,a]=hm0(e);return new tme.EthereumRpcError(t,n||pm0.getMessageFromCode(t),a)}function HD(t,e){let[n,a]=hm0(e);return new tme.EthereumProviderError(t,n||pm0.getMessageFromCode(t),a)}function hm0(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 gm0=D(s6=>{"use strict";u();p();Object.defineProperty(s6,"__esModule",{value:!0});s6.getMessageFromCode=s6.serializeError=s6.EthereumProviderError=s6.EthereumRpcError=s6.ethErrors=s6.errorCodes=void 0;var bm0=N$();Object.defineProperty(s6,"EthereumRpcError",{enumerable:!0,get:function(){return bm0.EthereumRpcError}});Object.defineProperty(s6,"EthereumProviderError",{enumerable:!0,get:function(){return bm0.EthereumProviderError}});var ym0=eme();Object.defineProperty(s6,"serializeError",{enumerable:!0,get:function(){return ym0.serializeError}});Object.defineProperty(s6,"getMessageFromCode",{enumerable:!0,get:function(){return ym0.getMessageFromCode}});var u7n=mm0();Object.defineProperty(s6,"ethErrors",{enumerable:!0,get:function(){return u7n.ethErrors}});var p7n=O$();Object.defineProperty(s6,"errorCodes",{enumerable:!0,get:function(){return p7n.errorCodes}})});var rme=D(LA=>{"use strict";u();p();var h7n=LA&&LA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(LA,"__esModule",{value:!0});LA.JsonRpcEngine=void 0;var m7n=h7n(nm0()),Id=gm0(),ame=class t extends m7n.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 Id.EthereumRpcError(Id.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 Id.EthereumRpcError(Id.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=Id.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=Id.serializeError(c)),f([c,!0])},s=o=>{n.error?i(n.error):(o&&(typeof o!="function"&&i(new Id.EthereumRpcError(Id.errorCodes.rpc.internal,`JsonRpcEngine: "next" return handlers must be functions. Received "${typeof o}" for request: +${nme(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 Id.EthereumRpcError(Id.errorCodes.rpc.internal,`JsonRpcEngine: Response has no error or result for request: +${nme(e)}`,{request:e});if(!a)throw new Id.EthereumRpcError(Id.errorCodes.rpc.internal,`JsonRpcEngine: Nothing ended request: +${nme(e)}`,{request:e})}};LA.JsonRpcEngine=ame;function nme(t){return JSON.stringify(t,null,2)}});var vm0=D(z$=>{"use strict";u();p();Object.defineProperty(z$,"__esModule",{value:!0});z$.mergeMiddleware=void 0;var b7n=rme();function y7n(t){let e=new b7n.JsonRpcEngine;return t.forEach(n=>e.push(n)),e.asMiddleware()}z$.mergeMiddleware=y7n});var fme=D(kd=>{"use strict";u();p();var g7n=kd&&kd.__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]}),FA=kd&&kd.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&g7n(e,t,n)};Object.defineProperty(kd,"__esModule",{value:!0});FA(X30(),kd);FA(Z30(),kd);FA(em0(),kd);FA(K3e(),kd);FA(rme(),kd);FA(vm0(),kd)});var sme=D(ime=>{"use strict";u();p();Object.defineProperty(ime,"__esModule",{value:!0});var wm0=(NV(),vn(FV)),v7n=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 wm0.__awaiter(this,void 0,void 0,function(){var n,a,r;return wm0.__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}();ime.default=v7n});var xm0=D(ome=>{"use strict";u();p();Object.defineProperty(ome,"__esModule",{value:!0});var Tm0=(NV(),vn(FV)),w7n=sme(),T7n=function(){function t(){this._semaphore=new w7n.default(1)}return t.prototype.acquire=function(){return Tm0.__awaiter(this,void 0,void 0,function(){var e,n;return Tm0.__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}();ome.default=T7n});var Em0=D(q$=>{"use strict";u();p();Object.defineProperty(q$,"__esModule",{value:!0});q$.withTimeout=void 0;var W$=(NV(),vn(FV));function x7n(t,e,n){var a=this;return n===void 0&&(n=new Error("timeout")),{acquire:function(){return new Promise(function(r,f){return W$.__awaiter(a,void 0,void 0,function(){var i,s,o;return W$.__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 W$.__awaiter(this,void 0,void 0,function(){var f,i;return W$.__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()}}}q$.withTimeout=x7n});var _m0=D(b4=>{"use strict";u();p();Object.defineProperty(b4,"__esModule",{value:!0});b4.withTimeout=b4.Semaphore=b4.Mutex=void 0;var E7n=xm0();Object.defineProperty(b4,"Mutex",{enumerable:!0,get:function(){return E7n.default}});var _7n=sme();Object.defineProperty(b4,"Semaphore",{enumerable:!0,get:function(){return _7n.default}});var A7n=Em0();Object.defineProperty(b4,"withTimeout",{enumerable:!0,get:function(){return A7n.withTimeout}})});var Cm0=D((qer,Am0)=>{u();p();Am0.exports=I7n;var C7n=Object.prototype.hasOwnProperty;function I7n(){for(var t={},e=0;e{u();p();var k7n=Cm0(),S7n=x$()();Im0.exports=Gt;function Gt(t){let e=this;e.currentProvider=t}Gt.prototype.getBalance=zD(2,"eth_getBalance");Gt.prototype.getCode=zD(2,"eth_getCode");Gt.prototype.getTransactionCount=zD(2,"eth_getTransactionCount");Gt.prototype.getStorageAt=zD(3,"eth_getStorageAt");Gt.prototype.call=zD(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(R7n(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 zD(t,e){return function(){let n=this;var a=[].slice.call(arguments),r=a.pop();a.length{"use strict";u();p();var Sm0=(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)})},Rm0=new WeakMap;Mm0.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=Rm0.get(i);if(o||(o={},Rm0.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:Sm0(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=Sm0(o,e,f,i);return r.set(o,d),d}return o}});return f}});var j$=D((Xer,Dm0)=>{u();p();var M7n=E$().default,cme=class extends M7n{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}};Dm0.exports=cme});var Lm0=D((t0r,Pm0)=>{u();p();var B7n=j$(),dme=class extends B7n{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}};Pm0.exports=dme});var NA=D((r0r,Om0)=>{u();p();Om0.exports={minBlockRef:D7n,maxBlockRef:P7n,sortBlockRefs:lme,bnToHex:L7n,blockRefIsNumber:F7n,hexToInt:G$,incrementHexInt:N7n,intToHex:Nm0,unsafeRandomBytes:O7n};function D7n(...t){return lme(t)[0]}function P7n(...t){let e=lme(t);return e[e.length-1]}function lme(t){return t.sort((e,n)=>e==="latest"||n==="earliest"?1:n==="latest"||e==="earliest"?-1:G$(e)-G$(n))}function L7n(t){return"0x"+t.toString(16)}function F7n(t){return t&&!["earliest","latest","pending"].includes(t)}function G$(t){return t==null?t:Number.parseInt(t,16)}function N7n(t){if(t==null)return t;let e=G$(t);return Nm0(e+1)}function Nm0(t){if(t==null)return t;let e=t.toString(16);return e.length%2&&(e="0"+e),"0x"+e}function O7n(t){let e="0x";for(let n=0;n{u();p();var U7n=km0(),H7n=Bm0(),z7n=Lm0(),{bnToHex:s0r,hexToInt:K$,incrementHexInt:W7n,minBlockRef:q7n,blockRefIsNumber:j7n}=NA(),ume=class extends z7n{constructor({provider:e,params:n}){super(),this.type="log",this.ethQuery=new U7n(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=q7n(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=W7n(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 H7n(a=>this.ethQuery.getLogs(e,a))()}matchLog(e){if(K$(this.params.fromBlock)>=K$(e.blockNumber)||j7n(this.params.toBlock)&&K$(this.params.toBlock)<=K$(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))})}};Um0.exports=ume});var Q$=D((l0r,Wm0)=>{u();p();Wm0.exports=G7n;async function G7n({provider:t,fromBlock:e,toBlock:n}){e||(e=n);let a=zm0(e),f=zm0(n)-a+1,i=Array(f).fill().map((o,c)=>a+c).map(K7n),s=await Promise.all(i.map(o=>V7n(t,"eth_getBlockByNumber",[o,!1])));return s=s.filter(o=>o!==null),s}function zm0(t){return t==null?t:Number.parseInt(t,16)}function K7n(t){return t==null?t:"0x"+t.toString(16)}function Q7n(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 V7n(t,e,n){for(let a=0;a<3;a++)try{return await Q7n(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 jm0=D((h0r,qm0)=>{u();p();var Y7n=j$(),$7n=Q$(),{incrementHexInt:J7n}=NA(),pme=class extends Y7n{constructor({provider:e,params:n}){super(),this.type="block",this.provider=e}async update({oldBlock:e,newBlock:n}){let a=n,r=J7n(e),i=(await $7n({provider:this.provider,fromBlock:r,toBlock:a})).map(s=>s.hash);this.addResults(i)}};qm0.exports=pme});var Km0=D((y0r,Gm0)=>{u();p();var X7n=j$(),Z7n=Q$(),{incrementHexInt:e9n}=NA(),hme=class extends X7n{constructor({provider:e}){super(),this.type="tx",this.provider=e}async update({oldBlock:e}){let n=e,a=e9n(e),r=await Z7n({provider:this.provider,fromBlock:a,toBlock:n}),f=[];for(let i of r)f.push(...i.transactions);this.addResults(f)}};Gm0.exports=hme});var Ym0=D((w0r,Vm0)=>{u();p();var t9n=_m0().Mutex,{createAsyncMiddleware:n9n,createScaffoldMiddleware:a9n}=fme(),r9n=Hm0(),f9n=jm0(),i9n=Km0(),{intToHex:Qm0,hexToInt:mme}=NA();Vm0.exports=s9n;function s9n({blockTracker:t,provider:e}){let n=0,a={},r=new t9n,f=o9n({mutex:r}),i=a9n({eth_newFilter:f(bme(o)),eth_newBlockFilter:f(bme(c)),eth_newPendingTransactionFilter:f(bme(d)),eth_uninstallFilter:f(V$(y)),eth_getFilterChanges:f(V$(l)),eth_getFilterLogs:f(V$(h))}),s=async({oldBlock:z,newBlock:W})=>{if(a.length===0)return;let j=await r.acquire();try{await Promise.all(OA(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 r9n({provider:e,params:z}),j=await v(W);return W}async function c(){let z=new f9n({provider:e}),W=await v(z);return z}async function d(){let z=new i9n({provider:e}),W=await v(z);return z}async function l(z){let W=mme(z),j=a[W];if(!j)throw new Error(`No filter for index "${W}"`);return j.getChangesAndClear()}async function h(z){let W=mme(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=mme(z),Q=!!a[W];return Q&&await k(W),Q}async function v(z){let W=OA(a).length,j=await t.getLatestBlock();await z.initialize({currentBlock:j}),n++,a[n]=z,z.id=n,z.idHex=Qm0(n);let Q=OA(a).length;return F({prevFilterCount:W,newFilterCount:Q}),n}async function k(z){let W=OA(a).length;delete a[z];let j=OA(a).length;F({prevFilterCount:W,newFilterCount:j})}async function O(){let z=OA(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 bme(t){return V$(async(...e)=>{let n=await t(...e);return Qm0(n.id)})}function V$(t){return n9n(async(e,n)=>{let a=await t.apply(null,e.params);n.result=a})}function o9n({mutex:t}){return e=>async(n,a,r,f)=>{(await t.acquire())(),e(n,a,r,f)}}function OA(t,e){let n=[];for(let a in t)n.push(t[a]);return n}});var Xm0=D((E0r,Jm0)=>{u();p();var c9n=E$().default,{createAsyncMiddleware:$m0,createScaffoldMiddleware:d9n}=fme(),l9n=Ym0(),{unsafeRandomBytes:u9n,incrementHexInt:p9n}=NA(),h9n=Q$();Jm0.exports=m9n;function m9n({blockTracker:t,provider:e}){let n={},a=l9n({blockTracker:t,provider:e}),r=!1,f=new c9n,i=d9n({eth_subscribe:$m0(s),eth_unsubscribe:$m0(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=u9n(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=p9n(j);(await h9n({provider:e,fromBlock:X,toBlock:V})).map(b9n).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 b9n(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(Y$=>{"use strict";u();p();Object.defineProperty(Y$,"__esModule",{value:!0});Y$.SubscriptionManager=void 0;var y9n=$30(),g9n=Xm0(),Zm0=()=>{},yme=class{constructor(e){let n=new y9n.PollingBlockTracker({provider:e,pollingInterval:15e3,setSkipCacheFlag:!0}),{events:a,middleware:r}=g9n({blockTracker:n,provider:e});this.events=a,this.subscriptionMiddleware=r}async handleRequest(e){let n={};return await this.subscriptionMiddleware(e,n,Zm0,Zm0),n}destroy(){this.subscriptionMiddleware.destroy()}};Y$.SubscriptionManager=yme});var J$=D(UA=>{"use strict";u();p();var rb0=UA&&UA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(UA,"__esModule",{value:!0});UA.CoinbaseWalletProvider=void 0;var v9n=rb0(Va()),w9n=qse(),Sa=vD(),Cn=sp(),T9n=R3e(),tb0=jY(),$$=KY(),$6=FY(),gme=rb0(Oh0()),WD=qY(),x9n=qh0(),E9n=eb0(),nb0="DefaultChainId",ab0="DefaultJsonRpcUrl",vme=class extends w9n.EventEmitter{constructor(e){var n,a;super(),this._filterPolyfill=new x9n.FilterPolyfill(this),this._subscriptionManager=new E9n.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,Cn.prepend0x)(r.toString(16));this.emit("connect",{chainIdStr:f});let i=this._storage.getItem(tb0.LOCAL_STORAGE_ADDRESSES_KEY);if(i){let s=i.split(" ");s[0]!==""&&(this._addresses=s.map(o=>(0,Cn.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,Cn.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(ab0))!==null&&e!==void 0?e:this._jsonRpcUrlFromOpts}set jsonRpcUrl(e){this._storage.setItem(ab0,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(nb0,n.toString(10)),((0,Cn.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,$6.isErrorResponse)(o)?!1:!!o.result}async addEthereumChain(e,n,a,r,f,i){var s,o;if((0,Cn.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,$6.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,$6.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(WD.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::enable",addresses_length:this._addresses.length,sessionIdHash:this._relay?$$.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,Cn.ensureRegExpString)(e)).promise;if((0,$6.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,$6.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(WD.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::connectAndSignIn",sessionIdHash:this._relay?$$.Session.hash(this._relay.session.id):void 0});let a;try{let f=await this.initializeRelay();if(!(f instanceof T9n.MobileRelay))throw new Error("connectAndSignIn is only supported on mobile");if(a=await f.connectAndSignIn(e).promise,(0,$6.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,$6.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,Cn.ensureAddressString)(r));JSON.stringify(a)!==JSON.stringify(this._addresses)&&(this._addresses=a,this.emit("accountsChanged",this._addresses),this._storage.setItem(tb0.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(WD.EVENTS.METHOD_NOT_IMPLEMENTED,{method:e.method,sessionIdHash:this._relay?$$.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,Cn.ensureAddressString)(e);return this._addresses.map(r=>(0,Cn.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(WD.EVENTS.UNKNOWN_ADDRESS_ENCOUNTERED),new Error("Unknown Ethereum address")}_prepareTransactionParams(e){let n=e.from?(0,Cn.ensureAddressString)(e.from):this.selectedAddress;if(!n)throw new Error("Ethereum address is unavailable");this._ensureKnownAddress(n);let a=e.to?(0,Cn.ensureAddressString)(e.to):null,r=e.value!=null?(0,Cn.ensureBN)(e.value):new v9n.default(0),f=e.data?(0,Cn.ensureBuffer)(e.data):_.Buffer.alloc(0),i=e.nonce!=null?(0,Cn.ensureIntNumber)(e.nonce):null,s=e.gasPrice!=null?(0,Cn.ensureBN)(e.gasPrice):null,o=e.maxFeePerGas!=null?(0,Cn.ensureBN)(e.maxFeePerGas):null,c=e.maxPriorityFeePerGas!=null?(0,Cn.ensureBN)(e.maxPriorityFeePerGas):null,d=e.gas!=null?(0,Cn.ensureBN)(e.gas):null,l=e.chainId?(0,Cn.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,$6.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,$6.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,Cn.hexStringFromIntNumber)(this.getChainId())}getChainId(){let e=this._storage.getItem(nb0);if(!e)return(0,Cn.ensureIntNumber)(this._chainIdFromOpts);let n=parseInt(e,10);return(0,Cn.ensureIntNumber)(n)}async _eth_requestAccounts(){var e;if((e=this.diagnostic)===null||e===void 0||e.log(WD.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::_eth_requestAccounts",addresses_length:this._addresses.length,sessionIdHash:this._relay?$$.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,$6.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,Cn.ensureAddressString)(e[0]),a=(0,Cn.ensureBuffer)(e[1]);return this._signEthereumMessage(a,n,!1)}_eth_ecRecover(e){let n=(0,Cn.ensureBuffer)(e[0]),a=(0,Cn.ensureBuffer)(e[1]);return this._ethereumAddressFromSignedMessage(n,a,!1)}_personal_sign(e){this._requireAuthorization();let n=(0,Cn.ensureBuffer)(e[0]),a=(0,Cn.ensureAddressString)(e[1]);return this._signEthereumMessage(n,a,!0)}_personal_ecRecover(e){let n=(0,Cn.ensureBuffer)(e[0]),a=(0,Cn.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,$6.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,Cn.ensureBuffer)(e[0]),r=await(await this.initializeRelay()).submitEthereumTransaction(n,this.getChainId()).promise;if((0,$6.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,$6.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,Cn.ensureParsedJSONObject)(e[0]),a=(0,Cn.ensureAddressString)(e[1]);this._ensureKnownAddress(a);let r=gme.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,Cn.ensureAddressString)(e[0]),a=(0,Cn.ensureParsedJSONObject)(e[1]);this._ensureKnownAddress(n);let r=gme.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,Cn.ensureAddressString)(e[0]),a=(0,Cn.ensureParsedJSONObject)(e[1]);this._ensureKnownAddress(n);let r=gme.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,Cn.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,Cn.ensureHexString)(e[0]);return this._filterPolyfill.getFilterChanges(n)}_eth_getFilterLogs(e){let n=(0,Cn.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))}};UA.CoinbaseWalletProvider=vme});var fb0=D(X$=>{"use strict";u();p();Object.defineProperty(X$,"__esModule",{value:!0});X$.RelayEventManager=void 0;var _9n=sp(),wme=class{constructor(){this._nextRequestId=0,this.callbacks=new Map}makeRequestId(){this._nextRequestId=(this._nextRequestId+1)%2147483647;let e=this._nextRequestId,n=(0,_9n.prepend0x)(e.toString(16));return this.callbacks.get(n)&&this.callbacks.delete(n),e}};X$.RelayEventManager=wme});var Tme=D(eJ=>{"use strict";u();p();Object.defineProperty(eJ,"__esModule",{value:!0});eJ.CoinbaseWalletSDK=void 0;var A9n=mp0(),C9n=bp0(),ib0=sp(),I9n=Np0(),k9n=J$(),S9n=R3e(),R9n=k3e(),M9n=fb0(),B9n=E3e(),D9n=_3e(),sb0=OY(),Z$=class t{constructor(e){var n,a,r;this._appName="",this._appLogoUrl=null,this._relay=null,this._relayEventManager=null;let f=e.linkAPIUrl||C9n.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 I9n.ScopedLocalStorage(`-walletlink:${s}`),this._storage.setItem("version",t.VERSION),this.walletExtension||this.coinbaseBrowser)return;this._relayEventManager=new M9n.RelayEventManager;let o=(0,ib0.isMobileWeb)(),c=e.uiConstructor||(l=>o?new R9n.MobileRelayUI(l):new B9n.WalletLinkRelayUI(l)),d={linkAPIUrl:f,version:sb0.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 S9n.MobileRelay(d):new D9n.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 k9n.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,ib0.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,A9n.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}};eJ.CoinbaseWalletSDK=Z$;Z$.VERSION=sb0.LIB_VERSION});var cb0=D(Hg=>{"use strict";u();p();Object.defineProperty(Hg,"__esModule",{value:!0});Hg.CoinbaseWalletProvider=Hg.CoinbaseWalletSDK=void 0;var xme=Tme(),ob0=J$(),P9n=Tme();Object.defineProperty(Hg,"CoinbaseWalletSDK",{enumerable:!0,get:function(){return P9n.CoinbaseWalletSDK}});var L9n=J$();Object.defineProperty(Hg,"CoinbaseWalletProvider",{enumerable:!0,get:function(){return L9n.CoinbaseWalletProvider}});Hg.default=xme.CoinbaseWalletSDK;typeof window<"u"&&(window.CoinbaseWalletSDK=xme.CoinbaseWalletSDK,window.CoinbaseWalletProvider=ob0.CoinbaseWalletProvider,window.WalletLink=xme.CoinbaseWalletSDK,window.WalletLinkProvider=ob0.CoinbaseWalletProvider)});var db0={};G0(db0,{CoinbaseWalletConnector:()=>Eme});var y4,Eme,lb0=oe(()=>{"use strict";u();p();Ct();z9();mo();y4=Ee(Je());wn();uh();lh();W0();Eme=class extends t6{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:y4.utils.getAddress(r[0])})}),Pe(this,"onChainChanged",r=>{let f=wi(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=y4.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 y4.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 y4.utils.getAddress(n[0])}async getChainId(){let e=await this.getProvider();return wi(e.chainId)}async getProvider(){if(!this._provider){let e=(await Promise.resolve().then(()=>Ee(cb0()))).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 y4.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=y4.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 Cb({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:F2(f),blockExplorerUrls:this.getBlockExplorerUrls(f)}]}),f}catch(i){throw this._isUserRejectedRequestError(i)?new _t(i):new Ab}throw this._isUserRejectedRequestError(r)?new _t(r):new ic(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 mb0=D((dtr,hb0)=>{u();p();var pb0=t=>t==="injected"?"injected":t.endsWith(".ipc")?"ipc":t.startsWith("wss://")||t.startsWith("ws://")?"ws":t.startsWith("https://")||t.startsWith("http://")?"http":"";hb0.exports=(t,e)=>[].concat(...[].concat(t).map(n=>e[n]?e[n].map(a=>({type:n,location:a,protocol:pb0(a)})):{type:"custom",location:n,protocol:pb0(n)})).filter(n=>n.protocol||n.type==="injected"?!0:(console.log('eth-provider | Invalid provider preset/location: "'+n.location+'"'),!1))});var bb0=D(tJ=>{"use strict";u();p();Object.defineProperty(tJ,"__esModule",{value:!0});tJ.create=void 0;function F9n(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=N9n(r);if(f)throw new Error(`Payload chainId (${f}) inconsistent with specified target chainId: ${a}`);return O9n(r)}return r}tJ.create=F9n;function N9n(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 O9n(t){let e=t.params[0]||{};return{...t,params:[{...e,chainId:e.chainId||t.chainId},...t.params.slice(1)]}}});var yb0=D(qD=>{"use strict";u();p();var U9n=qD&&qD.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(qD,"__esModule",{value:!0});var H9n=U9n(Or()),z9n=bb0(),_me=class extends H9n.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,z9n.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)}};qD.default=_me});var vb0=D((vtr,gb0)=>{u();p();var W9n=Or(),zA=x.env.NODE_ENV==="development",Ame=class extends W9n{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(zA&&e===0&&console.log(` -A connection cycle started for provider with name: ${this.name}`),this.connection&&this.connection.status==="connected"&&e>=this.connection.index)SA&&console.log("Stopping connection cycle becasuse we're already connected to a higher priority provider");else if(this.targets.length===0)SA&&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,SA&&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){SA&&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,SA&&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)}};Zm0.exports=j3e});var ab0=D((c0r,nb0)=>{u();p();var y7n=Or(),g7n=Xm0().default,v7n=eb0(),tb0=t=>{function e(r){t.status=r,t instanceof y7n&&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};nb0.exports=(t,e,n)=>{if(t.injected.__isProvider&&e.map(r=>r.type).indexOf("injected")>-1)return delete t.injected.__isProvider,tb0(t.injected);let a=new g7n(new v7n(t,e,n));return a.setMaxListeners(128),tb0(a)}});var fb0=D((u0r,rb0)=>{u();p();rb0.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 sb0=D((m0r,ib0)=>{u();p();var w7n=Or(),G3e=class extends w7n{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)}};ib0.exports=t=>e=>new G3e(t,e)});var cb0=D((g0r,ob0)=>{u();p();var T7n=Or(),K3e=class extends T7n{constructor(e){super(),setTimeout(()=>this.onError(new Error(e)),0)}onError(e){this.listenerCount("error")&&this.emit("error",e)}};ob0.exports=t=>()=>new K3e(t)});var lb0=D((T0r,db0)=>{u();p();var N$,Q3e;db0.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=>{N$&&(a=N$+a);let r;try{r=JSON.parse(a)}catch{N$=a,clearTimeout(Q3e),Q3e=setTimeout(()=>e(new Error("Parse response timeout")),15*1e3);return}clearTimeout(Q3e),N$=null,r&&n.push(r)}),e(null,n)}});var hb0=D((_0r,pb0)=>{u();p();var x7n=Or(),E7n=lb0(),ub0=x.env.NODE_ENV==="development",jD,V3e=class extends x7n{constructor(e,n,a){super(),this.socketListeners=[],jD=e,setTimeout(()=>this.create(n,a),0)}create(e,n){if(!jD)return this.onError(new Error("No WebSocket transport available"));try{this.socket=new jD(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:"";E7n(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,ub0&&console.log(`Closing WebSocket connection, reason: ${n.reason} (code ${n.code})`),this.emit("close"),this.removeAllListeners()}close(){this.socket&&jD&&this.socket.readyState!==jD.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){ub0&&console.error("Error sending Websocket request",n),this.error(e,n.message)}}};pb0.exports=t=>(e,n)=>new V3e(t,e,n)});var $3e=D(Y3e=>{"use strict";u();p();Object.defineProperty(Y3e,"__esModule",{value:!0});Y3e.default=A7n;var O$,_7n=new Uint8Array(16);function A7n(){if(!O$&&(O$=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!O$))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return O$(_7n)}});var mb0=D(U$=>{"use strict";u();p();Object.defineProperty(U$,"__esModule",{value:!0});U$.default=void 0;var C7n=/^(?:[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;U$.default=C7n});var GD=D(H$=>{"use strict";u();p();Object.defineProperty(H$,"__esModule",{value:!0});H$.default=void 0;var I7n=k7n(mb0());function k7n(t){return t&&t.__esModule?t:{default:t}}function S7n(t){return typeof t=="string"&&I7n.default.test(t)}var R7n=S7n;H$.default=R7n});var QD=D(KD=>{"use strict";u();p();Object.defineProperty(KD,"__esModule",{value:!0});KD.default=void 0;KD.unsafeStringify=bb0;var M7n=B7n(GD());function B7n(t){return t&&t.__esModule?t:{default:t}}var Eo=[];for(let t=0;t<256;++t)Eo.push((t+256).toString(16).slice(1));function bb0(t,e=0){return(Eo[t[e+0]]+Eo[t[e+1]]+Eo[t[e+2]]+Eo[t[e+3]]+"-"+Eo[t[e+4]]+Eo[t[e+5]]+"-"+Eo[t[e+6]]+Eo[t[e+7]]+"-"+Eo[t[e+8]]+Eo[t[e+9]]+"-"+Eo[t[e+10]]+Eo[t[e+11]]+Eo[t[e+12]]+Eo[t[e+13]]+Eo[t[e+14]]+Eo[t[e+15]]).toLowerCase()}function D7n(t,e=0){let n=bb0(t,e);if(!(0,M7n.default)(n))throw TypeError("Stringified UUID is invalid");return n}var P7n=D7n;KD.default=P7n});var gb0=D(z$=>{"use strict";u();p();Object.defineProperty(z$,"__esModule",{value:!0});z$.default=void 0;var L7n=N7n($3e()),F7n=QD();function N7n(t){return t&&t.__esModule?t:{default:t}}var yb0,J3e,X3e=0,Z3e=0;function O7n(t,e,n){let a=e&&n||0,r=e||new Array(16);t=t||{};let f=t.node||yb0,i=t.clockseq!==void 0?t.clockseq:J3e;if(f==null||i==null){let h=t.random||(t.rng||L7n.default)();f==null&&(f=yb0=[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:Z3e+1,c=s-X3e+(o-Z3e)/1e4;if(c<0&&t.clockseq===void 0&&(i=i+1&16383),(c<0||s>X3e)&&t.nsecs===void 0&&(o=0),o>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");X3e=s,Z3e=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,F7n.unsafeStringify)(r)}var U7n=O7n;z$.default=U7n});var eme=D(W$=>{"use strict";u();p();Object.defineProperty(W$,"__esModule",{value:!0});W$.default=void 0;var H7n=z7n(GD());function z7n(t){return t&&t.__esModule?t:{default:t}}function W7n(t){if(!(0,H7n.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 q7n=W7n;W$.default=q7n});var tme=D(Ug=>{"use strict";u();p();Object.defineProperty(Ug,"__esModule",{value:!0});Ug.URL=Ug.DNS=void 0;Ug.default=V7n;var j7n=QD(),G7n=K7n(eme());function K7n(t){return t&&t.__esModule?t:{default:t}}function Q7n(t){t=unescape(encodeURIComponent(t));let e=[];for(let n=0;n{"use strict";u();p();Object.defineProperty(j$,"__esModule",{value:!0});j$.default=void 0;function Y7n(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 Tb0(t){return(t+64>>>9<<4)+14+1}function J7n(t,e){t[e>>5]|=128<>5]|=(t[a/8]&255)<>16)+(e>>16)+(n>>16)<<16|n&65535}function Z7n(t,e){return t<>>32-e}function q$(t,e,n,a,r,f){return b4(Z7n(b4(b4(e,t),b4(a,f)),r),n)}function _1(t,e,n,a,r,f,i){return q$(e&n|~e&a,t,e,r,f,i)}function A1(t,e,n,a,r,f,i){return q$(e&a|n&~a,t,e,r,f,i)}function C1(t,e,n,a,r,f,i){return q$(e^n^a,t,e,r,f,i)}function I1(t,e,n,a,r,f,i){return q$(n^(e|~a),t,e,r,f,i)}var e9n=Y7n;j$.default=e9n});var _b0=D(G$=>{"use strict";u();p();Object.defineProperty(G$,"__esModule",{value:!0});G$.default=void 0;var t9n=Eb0(tme()),n9n=Eb0(xb0());function Eb0(t){return t&&t.__esModule?t:{default:t}}var a9n=(0,t9n.default)("v3",48,n9n.default),r9n=a9n;G$.default=r9n});var Ab0=D(K$=>{"use strict";u();p();Object.defineProperty(K$,"__esModule",{value:!0});K$.default=void 0;var f9n=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),i9n={randomUUID:f9n};K$.default=i9n});var kb0=D(Q$=>{"use strict";u();p();Object.defineProperty(Q$,"__esModule",{value:!0});Q$.default=void 0;var Cb0=Ib0(Ab0()),s9n=Ib0($3e()),o9n=QD();function Ib0(t){return t&&t.__esModule?t:{default:t}}function c9n(t,e,n){if(Cb0.default.randomUUID&&!e&&!t)return Cb0.default.randomUUID();t=t||{};let a=t.random||(t.rng||s9n.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,o9n.unsafeStringify)(a)}var d9n=c9n;Q$.default=d9n});var Sb0=D(V$=>{"use strict";u();p();Object.defineProperty(V$,"__esModule",{value:!0});V$.default=void 0;function l9n(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 nme(t,e){return t<>>32-e}function u9n(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=nme(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 p9n=u9n;V$.default=p9n});var Mb0=D(Y$=>{"use strict";u();p();Object.defineProperty(Y$,"__esModule",{value:!0});Y$.default=void 0;var h9n=Rb0(tme()),m9n=Rb0(Sb0());function Rb0(t){return t&&t.__esModule?t:{default:t}}var b9n=(0,h9n.default)("v5",80,m9n.default),y9n=b9n;Y$.default=y9n});var Bb0=D($$=>{"use strict";u();p();Object.defineProperty($$,"__esModule",{value:!0});$$.default=void 0;var g9n="00000000-0000-0000-0000-000000000000";$$.default=g9n});var Db0=D(J$=>{"use strict";u();p();Object.defineProperty(J$,"__esModule",{value:!0});J$.default=void 0;var v9n=w9n(GD());function w9n(t){return t&&t.__esModule?t:{default:t}}function T9n(t){if(!(0,v9n.default)(t))throw TypeError("Invalid UUID");return parseInt(t.slice(14,15),16)}var x9n=T9n;J$.default=x9n});var Pb0=D(Xl=>{"use strict";u();p();Object.defineProperty(Xl,"__esModule",{value:!0});Object.defineProperty(Xl,"NIL",{enumerable:!0,get:function(){return I9n.default}});Object.defineProperty(Xl,"parse",{enumerable:!0,get:function(){return M9n.default}});Object.defineProperty(Xl,"stringify",{enumerable:!0,get:function(){return R9n.default}});Object.defineProperty(Xl,"v1",{enumerable:!0,get:function(){return E9n.default}});Object.defineProperty(Xl,"v3",{enumerable:!0,get:function(){return _9n.default}});Object.defineProperty(Xl,"v4",{enumerable:!0,get:function(){return A9n.default}});Object.defineProperty(Xl,"v5",{enumerable:!0,get:function(){return C9n.default}});Object.defineProperty(Xl,"validate",{enumerable:!0,get:function(){return S9n.default}});Object.defineProperty(Xl,"version",{enumerable:!0,get:function(){return k9n.default}});var E9n=zh(gb0()),_9n=zh(_b0()),A9n=zh(kb0()),C9n=zh(Mb0()),I9n=zh(Bb0()),k9n=zh(Db0()),S9n=zh(GD()),R9n=zh(QD()),M9n=zh(eme());function zh(t){return t&&t.__esModule?t:{default:t}}});var Nb0=D((Ttr,Fb0)=>{u();p();var B9n=Or(),{v4:D9n}=Pb0(),Lb0=x.env.NODE_ENV==="development",ame,rme=class extends B9n{constructor(e,n,a){super(),ame=e,this.options=a,this.connected=!1,this.subscriptions=!1,this.status="loading",this.url=n,this.pollId=D9n(),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(!ame)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(){Lb0&&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 ame,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){Lb0&&console.error("Error sending HTTP request",i),f({message:i.message,code:-1})}}};Fb0.exports=t=>(e,n)=>new rme(t,e,n)});var Ub0=D((_tr,Ob0)=>{u();p();var P9n=$m0(),L9n=ab0(),F9n=fb0(),X$={ethereum:typeof window<"u"&&typeof window.ethereum<"u"?window.ethereum:null,web3:typeof window<"u"&&typeof window.web3<"u"?window.web3.currentProvider:null},N9n=typeof window<"u"&&typeof window.WebSocket<"u"?window.WebSocket:null,O9n=typeof window<"u"&&typeof window.XMLHttpRequest<"u"?window.XMLHttpRequest:null;X$.ethereum&&(X$.ethereum.__isProvider=!0);var U9n={injected:X$.ethereum||sb0()(X$.web3),ipc:cb0()("IPC connections are unavliable in the browser"),ws:hb0()(N9n),http:Nb0()(O9n)};Ob0.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=F9n(e);return L9n(U9n,P9n(t,n),e)}});var Hb0={};G0(Hb0,{FrameConnector:()=>fme});var Hg,fme,zb0=oe(()=>{"use strict";u();p();Ct();Hg=Ee(Je());U9();mo();uh();lh();W0();fme=class extends t6{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:Hg.utils.getAddress(i[0])})}),Pe(this,"onChainChanged",i=>{let s=wi(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=Hg.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 Hg.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 wi(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 Hg.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=Hg.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 Cb({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:F2(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 Ab(i.message)}throw this.isUserRejectedRequestError(r)?new _t(r):new ic(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(Ub0()))).default;return e("frame")}}});var Wb0={};G0(Wb0,{ImTokenConnector:()=>ime});var ime,qb0=oe(()=>{"use strict";u();p();m1();h1();W0();ime=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 Qb0={};G0(Qb0,{LocalWalletConnector:()=>ome});function jb0(t,e){let n=t;return e&&(n=t.connect(e)),new sme(n)}var Gb0,Kb0,sme,ome,Vb0=oe(()=>{"use strict";u();p();Ct();lh();Mr();F9();Gb0=Ee(Je()),Kb0=Ee(A7());W0();sme=class t extends Gb0.Signer{constructor(e){super(),this.signer=e,(0,Kb0.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 Bl(this.provider),...e};return await this.signer.sendTransaction(a)}},ome=class extends sc{constructor(e){super(),Pe(this,"id","local_wallet"),Pe(this,"name","Local Wallet"),Pe(this,"shimDisconnectKey","localWallet.shimDisconnect"),Pe(this,"onChainChanged",n=>{let a=wi(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=Bf(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=jb0(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=Bf(n,{clientId:this.options.clientId,secretKey:this.options.secretKey}),this._signer=jb0(this.options.ethersWallet,this._provider),this.onChainChanged(e)}async setupListeners(){}updateChains(e){this.options.chains=e}}});var y4,YD,$D,Cn,g4,MA,H9n,Zl=oe(()=>{u();p();y4=(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))(y4||{}),YD=(t=>(t.SyncWeb3Method="SYNC_WEB3_METHOD",t.DuplicateIframe="DUPLICATE_IFRAME",t.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",t.DeprecationNotice="DEPRECATION_NOTICE",t))(YD||{}),$D=(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))($D||{}),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||{}),g4=(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))(g4||{}),MA=(t=>(t.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",t))(MA||{}),H9n=(t=>(t.Harmony="HARMONY",t))(H9n||{})});function egn(t){let e={exports:{}};return t(e,e.exports),e.exports}function Ogn(t){return String.fromCharCode(parseInt(t.slice(1),16))}function Ugn(t){return`%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`}function Hgn(t){return btoa(encodeURIComponent(t).replace(/%[0-9A-F]{2}/g,Ogn))}function zgn(t){return decodeURIComponent(Array.from(atob(t),Ugn).join(""))}function h40(t){return Hgn(JSON.stringify(t))}function Wgn(t){return JSON.parse(zgn(t))}function ZD(t){return typeof t>"u"}function qgn(t){return t===null}function m40(t){return qgn(t)||ZD(t)}function jgn(t){return m40(t)?!1:!ZD(t.jsonrpc)&&!ZD(t.id)&&(!ZD(t.result)||!ZD(t.error))}function Ggn(t){return m40(t)?!1:typeof t=="number"&&Object.values($D).includes(t)}function ume(t){if(!t)return!0;for(let e in t)if(Object.hasOwnProperty.call(t,e))return!1;return!0}function b40(t,e){return Object.assign(qi,e),t}function Qgn(){return new w4(y4.MissingApiKey,"Please provide an API key that you acquired from the Magic developer dashboard.")}function y40(){return new w4(y4.ModalNotReady,"Modal is not ready.")}function Vgn(){return new w4(y4.MalformedResponse,"Response from the Magic iframe is malformed.")}function Ygn(t){return new w4(y4.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 $gn(t){let e=`Some extensions are incompatible with \`${qi.sdkName}@${qi.version}\`:`;return t.filter(n=>typeof n.compat<"u"&&n.compat!==null).forEach(n=>{let a=n.compat[qi.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)zA&&console.log("Stopping connection cycle becasuse we're already connected to a higher priority provider");else if(this.targets.length===0)zA&&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,zA&&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){zA&&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,zA&&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)}};gb0.exports=Ame});var xb0=D((xtr,Tb0)=>{u();p();var q9n=Or(),j9n=yb0().default,G9n=vb0(),wb0=t=>{function e(r){t.status=r,t instanceof q9n&&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};Tb0.exports=(t,e,n)=>{if(t.injected.__isProvider&&e.map(r=>r.type).indexOf("injected")>-1)return delete t.injected.__isProvider,wb0(t.injected);let a=new j9n(new G9n(t,e,n));return a.setMaxListeners(128),wb0(a)}});var _b0=D((Atr,Eb0)=>{u();p();Eb0.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 Cb0=D((ktr,Ab0)=>{u();p();var K9n=Or(),Cme=class extends K9n{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)}};Ab0.exports=t=>e=>new Cme(t,e)});var kb0=D((Mtr,Ib0)=>{u();p();var Q9n=Or(),Ime=class extends Q9n{constructor(e){super(),setTimeout(()=>this.onError(new Error(e)),0)}onError(e){this.listenerCount("error")&&this.emit("error",e)}};Ib0.exports=t=>()=>new Ime(t)});var Rb0=D((Ptr,Sb0)=>{u();p();var nJ,kme;Sb0.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=>{nJ&&(a=nJ+a);let r;try{r=JSON.parse(a)}catch{nJ=a,clearTimeout(kme),kme=setTimeout(()=>e(new Error("Parse response timeout")),15*1e3);return}clearTimeout(kme),nJ=null,r&&n.push(r)}),e(null,n)}});var Db0=D((Ntr,Bb0)=>{u();p();var V9n=Or(),Y9n=Rb0(),Mb0=x.env.NODE_ENV==="development",jD,Sme=class extends V9n{constructor(e,n,a){super(),this.socketListeners=[],jD=e,setTimeout(()=>this.create(n,a),0)}create(e,n){if(!jD)return this.onError(new Error("No WebSocket transport available"));try{this.socket=new jD(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:"";Y9n(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,Mb0&&console.log(`Closing WebSocket connection, reason: ${n.reason} (code ${n.code})`),this.emit("close"),this.removeAllListeners()}close(){this.socket&&jD&&this.socket.readyState!==jD.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){Mb0&&console.error("Error sending Websocket request",n),this.error(e,n.message)}}};Bb0.exports=t=>(e,n)=>new Sme(t,e,n)});var Mme=D(Rme=>{"use strict";u();p();Object.defineProperty(Rme,"__esModule",{value:!0});Rme.default=J9n;var aJ,$9n=new Uint8Array(16);function J9n(){if(!aJ&&(aJ=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!aJ))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return aJ($9n)}});var Pb0=D(rJ=>{"use strict";u();p();Object.defineProperty(rJ,"__esModule",{value:!0});rJ.default=void 0;var X9n=/^(?:[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;rJ.default=X9n});var GD=D(fJ=>{"use strict";u();p();Object.defineProperty(fJ,"__esModule",{value:!0});fJ.default=void 0;var Z9n=egn(Pb0());function egn(t){return t&&t.__esModule?t:{default:t}}function tgn(t){return typeof t=="string"&&Z9n.default.test(t)}var ngn=tgn;fJ.default=ngn});var QD=D(KD=>{"use strict";u();p();Object.defineProperty(KD,"__esModule",{value:!0});KD.default=void 0;KD.unsafeStringify=Lb0;var agn=rgn(GD());function rgn(t){return t&&t.__esModule?t:{default:t}}var Eo=[];for(let t=0;t<256;++t)Eo.push((t+256).toString(16).slice(1));function Lb0(t,e=0){return(Eo[t[e+0]]+Eo[t[e+1]]+Eo[t[e+2]]+Eo[t[e+3]]+"-"+Eo[t[e+4]]+Eo[t[e+5]]+"-"+Eo[t[e+6]]+Eo[t[e+7]]+"-"+Eo[t[e+8]]+Eo[t[e+9]]+"-"+Eo[t[e+10]]+Eo[t[e+11]]+Eo[t[e+12]]+Eo[t[e+13]]+Eo[t[e+14]]+Eo[t[e+15]]).toLowerCase()}function fgn(t,e=0){let n=Lb0(t,e);if(!(0,agn.default)(n))throw TypeError("Stringified UUID is invalid");return n}var ign=fgn;KD.default=ign});var Nb0=D(iJ=>{"use strict";u();p();Object.defineProperty(iJ,"__esModule",{value:!0});iJ.default=void 0;var sgn=cgn(Mme()),ogn=QD();function cgn(t){return t&&t.__esModule?t:{default:t}}var Fb0,Bme,Dme=0,Pme=0;function dgn(t,e,n){let a=e&&n||0,r=e||new Array(16);t=t||{};let f=t.node||Fb0,i=t.clockseq!==void 0?t.clockseq:Bme;if(f==null||i==null){let h=t.random||(t.rng||sgn.default)();f==null&&(f=Fb0=[h[0]|1,h[1],h[2],h[3],h[4],h[5]]),i==null&&(i=Bme=(h[6]<<8|h[7])&16383)}let s=t.msecs!==void 0?t.msecs:Date.now(),o=t.nsecs!==void 0?t.nsecs:Pme+1,c=s-Dme+(o-Pme)/1e4;if(c<0&&t.clockseq===void 0&&(i=i+1&16383),(c<0||s>Dme)&&t.nsecs===void 0&&(o=0),o>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Dme=s,Pme=o,Bme=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,ogn.unsafeStringify)(r)}var lgn=dgn;iJ.default=lgn});var Lme=D(sJ=>{"use strict";u();p();Object.defineProperty(sJ,"__esModule",{value:!0});sJ.default=void 0;var ugn=pgn(GD());function pgn(t){return t&&t.__esModule?t:{default:t}}function hgn(t){if(!(0,ugn.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 mgn=hgn;sJ.default=mgn});var Fme=D(Wg=>{"use strict";u();p();Object.defineProperty(Wg,"__esModule",{value:!0});Wg.URL=Wg.DNS=void 0;Wg.default=wgn;var bgn=QD(),ygn=ggn(Lme());function ggn(t){return t&&t.__esModule?t:{default:t}}function vgn(t){t=unescape(encodeURIComponent(t));let e=[];for(let n=0;n{"use strict";u();p();Object.defineProperty(cJ,"__esModule",{value:!0});cJ.default=void 0;function Tgn(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 Hb0(t){return(t+64>>>9<<4)+14+1}function Egn(t,e){t[e>>5]|=128<>5]|=(t[a/8]&255)<>16)+(e>>16)+(n>>16)<<16|n&65535}function Agn(t,e){return t<>>32-e}function oJ(t,e,n,a,r,f){return g4(Agn(g4(g4(e,t),g4(a,f)),r),n)}function _1(t,e,n,a,r,f,i){return oJ(e&n|~e&a,t,e,r,f,i)}function A1(t,e,n,a,r,f,i){return oJ(e&a|n&~a,t,e,r,f,i)}function C1(t,e,n,a,r,f,i){return oJ(e^n^a,t,e,r,f,i)}function I1(t,e,n,a,r,f,i){return oJ(n^(e|~a),t,e,r,f,i)}var Cgn=Tgn;cJ.default=Cgn});var qb0=D(dJ=>{"use strict";u();p();Object.defineProperty(dJ,"__esModule",{value:!0});dJ.default=void 0;var Ign=Wb0(Fme()),kgn=Wb0(zb0());function Wb0(t){return t&&t.__esModule?t:{default:t}}var Sgn=(0,Ign.default)("v3",48,kgn.default),Rgn=Sgn;dJ.default=Rgn});var jb0=D(lJ=>{"use strict";u();p();Object.defineProperty(lJ,"__esModule",{value:!0});lJ.default=void 0;var Mgn=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Bgn={randomUUID:Mgn};lJ.default=Bgn});var Qb0=D(uJ=>{"use strict";u();p();Object.defineProperty(uJ,"__esModule",{value:!0});uJ.default=void 0;var Gb0=Kb0(jb0()),Dgn=Kb0(Mme()),Pgn=QD();function Kb0(t){return t&&t.__esModule?t:{default:t}}function Lgn(t,e,n){if(Gb0.default.randomUUID&&!e&&!t)return Gb0.default.randomUUID();t=t||{};let a=t.random||(t.rng||Dgn.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,Pgn.unsafeStringify)(a)}var Fgn=Lgn;uJ.default=Fgn});var Vb0=D(pJ=>{"use strict";u();p();Object.defineProperty(pJ,"__esModule",{value:!0});pJ.default=void 0;function Ngn(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 Nme(t,e){return t<>>32-e}function Ogn(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=Nme(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 Ugn=Ogn;pJ.default=Ugn});var $b0=D(hJ=>{"use strict";u();p();Object.defineProperty(hJ,"__esModule",{value:!0});hJ.default=void 0;var Hgn=Yb0(Fme()),zgn=Yb0(Vb0());function Yb0(t){return t&&t.__esModule?t:{default:t}}var Wgn=(0,Hgn.default)("v5",80,zgn.default),qgn=Wgn;hJ.default=qgn});var Jb0=D(mJ=>{"use strict";u();p();Object.defineProperty(mJ,"__esModule",{value:!0});mJ.default=void 0;var jgn="00000000-0000-0000-0000-000000000000";mJ.default=jgn});var Xb0=D(bJ=>{"use strict";u();p();Object.defineProperty(bJ,"__esModule",{value:!0});bJ.default=void 0;var Ggn=Kgn(GD());function Kgn(t){return t&&t.__esModule?t:{default:t}}function Qgn(t){if(!(0,Ggn.default)(t))throw TypeError("Invalid UUID");return parseInt(t.slice(14,15),16)}var Vgn=Qgn;bJ.default=Vgn});var Zb0=D(Xl=>{"use strict";u();p();Object.defineProperty(Xl,"__esModule",{value:!0});Object.defineProperty(Xl,"NIL",{enumerable:!0,get:function(){return Zgn.default}});Object.defineProperty(Xl,"parse",{enumerable:!0,get:function(){return avn.default}});Object.defineProperty(Xl,"stringify",{enumerable:!0,get:function(){return nvn.default}});Object.defineProperty(Xl,"v1",{enumerable:!0,get:function(){return Ygn.default}});Object.defineProperty(Xl,"v3",{enumerable:!0,get:function(){return $gn.default}});Object.defineProperty(Xl,"v4",{enumerable:!0,get:function(){return Jgn.default}});Object.defineProperty(Xl,"v5",{enumerable:!0,get:function(){return Xgn.default}});Object.defineProperty(Xl,"validate",{enumerable:!0,get:function(){return tvn.default}});Object.defineProperty(Xl,"version",{enumerable:!0,get:function(){return evn.default}});var Ygn=zh(Nb0()),$gn=zh(qb0()),Jgn=zh(Qb0()),Xgn=zh($b0()),Zgn=zh(Jb0()),evn=zh(Xb0()),tvn=zh(GD()),nvn=zh(QD()),avn=zh(Lme());function zh(t){return t&&t.__esModule?t:{default:t}}});var n40=D((Pnr,t40)=>{u();p();var rvn=Or(),{v4:fvn}=Zb0(),e40=x.env.NODE_ENV==="development",Ome,Ume=class extends rvn{constructor(e,n,a){super(),Ome=e,this.options=a,this.connected=!1,this.subscriptions=!1,this.status="loading",this.url=n,this.pollId=fvn(),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(!Ome)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(){e40&&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 Ome,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){e40&&console.error("Error sending HTTP request",i),f({message:i.message,code:-1})}}};t40.exports=t=>(e,n)=>new Ume(t,e,n)});var r40=D((Nnr,a40)=>{u();p();var ivn=mb0(),svn=xb0(),ovn=_b0(),yJ={ethereum:typeof window<"u"&&typeof window.ethereum<"u"?window.ethereum:null,web3:typeof window<"u"&&typeof window.web3<"u"?window.web3.currentProvider:null},cvn=typeof window<"u"&&typeof window.WebSocket<"u"?window.WebSocket:null,dvn=typeof window<"u"&&typeof window.XMLHttpRequest<"u"?window.XMLHttpRequest:null;yJ.ethereum&&(yJ.ethereum.__isProvider=!0);var lvn={injected:yJ.ethereum||Cb0()(yJ.web3),ipc:kb0()("IPC connections are unavliable in the browser"),ws:Db0()(cvn),http:n40()(dvn)};a40.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=ovn(e);return svn(lvn,ivn(t,n),e)}});var f40={};G0(f40,{FrameConnector:()=>Hme});var qg,Hme,i40=oe(()=>{"use strict";u();p();Ct();qg=Ee(Je());z9();mo();uh();lh();W0();Hme=class extends t6{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:qg.utils.getAddress(i[0])})}),Pe(this,"onChainChanged",i=>{let s=wi(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=qg.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 qg.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 wi(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 qg.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=qg.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 Cb({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:F2(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 Ab(i.message)}throw this.isUserRejectedRequestError(r)?new _t(r):new ic(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(r40()))).default;return e("frame")}}});var s40={};G0(s40,{ImTokenConnector:()=>zme});var zme,o40=oe(()=>{"use strict";u();p();m1();h1();W0();zme=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 u40={};G0(u40,{LocalWalletConnector:()=>qme});function c40(t,e){let n=t;return e&&(n=t.connect(e)),new Wme(n)}var d40,l40,Wme,qme,p40=oe(()=>{"use strict";u();p();Ct();lh();Mr();O9();d40=Ee(Je()),l40=Ee(I7());W0();Wme=class t extends d40.Signer{constructor(e){super(),this.signer=e,(0,l40.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 Bl(this.provider),...e};return await this.signer.sendTransaction(a)}},qme=class extends sc{constructor(e){super(),Pe(this,"id","local_wallet"),Pe(this,"name","Local Wallet"),Pe(this,"shimDisconnectKey","localWallet.shimDisconnect"),Pe(this,"onChainChanged",n=>{let a=wi(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=Bf(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=c40(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=Bf(n,{clientId:this.options.clientId,secretKey:this.options.secretKey}),this._signer=c40(this.options.ethersWallet,this._provider),this.onChainChanged(e)}async setupListeners(){}updateChains(e){this.options.chains=e}}});var v4,YD,$D,In,w4,qA,uvn,Zl=oe(()=>{u();p();v4=(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))(v4||{}),YD=(t=>(t.SyncWeb3Method="SYNC_WEB3_METHOD",t.DuplicateIframe="DUPLICATE_IFRAME",t.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",t.DeprecationNotice="DEPRECATION_NOTICE",t))(YD||{}),$D=(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))($D||{}),In=(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))(In||{}),w4=(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))(w4||{}),qA=(t=>(t.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",t))(qA||{}),uvn=(t=>(t.Harmony="HARMONY",t))(uvn||{})});function Cvn(t){let e={exports:{}};return t(e,e.exports),e.exports}function dwn(t){return String.fromCharCode(parseInt(t.slice(1),16))}function lwn(t){return`%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`}function uwn(t){return btoa(encodeURIComponent(t).replace(/%[0-9A-F]{2}/g,dwn))}function pwn(t){return decodeURIComponent(Array.from(atob(t),lwn).join(""))}function D40(t){return uwn(JSON.stringify(t))}function hwn(t){return JSON.parse(pwn(t))}function ZD(t){return typeof t>"u"}function mwn(t){return t===null}function P40(t){return mwn(t)||ZD(t)}function bwn(t){return P40(t)?!1:!ZD(t.jsonrpc)&&!ZD(t.id)&&(!ZD(t.result)||!ZD(t.error))}function ywn(t){return P40(t)?!1:typeof t=="number"&&Object.values($D).includes(t)}function Qme(t){if(!t)return!0;for(let e in t)if(Object.hasOwnProperty.call(t,e))return!1;return!0}function L40(t,e){return Object.assign(qi,e),t}function vwn(){return new x4(v4.MissingApiKey,"Please provide an API key that you acquired from the Magic developer dashboard.")}function F40(){return new x4(v4.ModalNotReady,"Modal is not ready.")}function wwn(){return new x4(v4.MalformedResponse,"Response from the Magic iframe is malformed.")}function Twn(t){return new x4(v4.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 xwn(t){let e=`Some extensions are incompatible with \`${qi.sdkName}@${qi.version}\`:`;return t.filter(n=>typeof n.compat<"u"&&n.compat!==null).forEach(n=>{let a=n.compat[qi.sdkName];typeof a=="string"?e+=` - Extension \`${n.name}\` supports version(s) \`${a}\``:a||(e+=` - - Extension \`${n.name}\` does not support ${qi.platform} environments.`)}),new w4(y4.IncompatibleExtensions,e)}function Jgn(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 w4(y4.InvalidArgument,`Invalid ${e(t.argument)} argument given to \`${t.procedure}\`. + - Extension \`${n.name}\` does not support ${qi.platform} environments.`)}),new x4(v4.IncompatibleExtensions,e)}function Ewn(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 x4(v4.InvalidArgument,`Invalid ${e(t.argument)} argument given to \`${t.procedure}\`. Expected: \`${t.expected}\` - Received: \`${t.received}\``)}function g40(){return new lJ(YD.DuplicateIframe,"Duplicate iframes found.")}function Xgn(){return new lJ(YD.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 Zgn(){return new lJ(YD.ReactNativeEndpointConfiguration,`CUSTOM DOMAINS ARE NOT SUPPORTED WHEN USING MAGIC SDK WITH REACT NATIVE! The \`endpoint\` parameter SHOULD NOT be provided. The Magic \`