!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="401ad341-25fd-4a31-80ea-a31968844a6c",e._sentryDebugIdIdentifier="sentry-dbid-401ad341-25fd-4a31-80ea-a31968844a6c")}catch(e){}}();var _sentryModuleMetadataGlobal="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};"use strict";_sentryModuleMetadataGlobal._sentryModuleMetadata=_sentryModuleMetadataGlobal._sentryModuleMetadata||{},_sentryModuleMetadataGlobal._sentryModuleMetadata[new _sentryModuleMetadataGlobal.Error().stack]=Object.assign({},_sentryModuleMetadataGlobal._sentryModuleMetadata[new _sentryModuleMetadataGlobal.Error().stack],{"_sentryBundlerPluginAppKey:paragraph-nextjs":!0}),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3119],{2167:(e,t,a)=>{a.d(t,{b4:()=>n,gU:()=>o,uP:()=>i});var s=a(42960),r=a(80413);let n={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function i(e){let t={...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,chainId:e.chainId?(0,s.ME)(e.chainId):void 0,gas:e.gas?BigInt(e.gas):void 0,gasPrice:e.gasPrice?BigInt(e.gasPrice):void 0,maxFeePerBlobGas:e.maxFeePerBlobGas?BigInt(e.maxFeePerBlobGas):void 0,maxFeePerGas:e.maxFeePerGas?BigInt(e.maxFeePerGas):void 0,maxPriorityFeePerGas:e.maxPriorityFeePerGas?BigInt(e.maxPriorityFeePerGas):void 0,nonce:e.nonce?(0,s.ME)(e.nonce):void 0,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,type:e.type?n[e.type]:void 0,typeHex:e.type?e.type:void 0,value:e.value?BigInt(e.value):void 0,v:e.v?BigInt(e.v):void 0};return e.authorizationList&&(t.authorizationList=e.authorizationList.map(e=>({contractAddress:e.address,chainId:Number(e.chainId),nonce:Number(e.nonce),r:e.r,s:e.s,yParity:Number(e.yParity)}))),t.yParity=(()=>{if(e.yParity)return Number(e.yParity);if("bigint"==typeof t.v){if(0n===t.v||27n===t.v)return 0;if(1n===t.v||28n===t.v)return 1;if(t.v>=35n)return+(t.v%2n===0n)}})(),"legacy"===t.type&&(delete t.accessList,delete t.maxFeePerBlobGas,delete t.maxFeePerGas,delete t.maxPriorityFeePerGas,delete t.yParity),"eip2930"===t.type&&(delete t.maxFeePerBlobGas,delete t.maxFeePerGas,delete t.maxPriorityFeePerGas),"eip1559"===t.type&&delete t.maxFeePerBlobGas,t}let o=(0,r.q)("transaction",i)},2546:(e,t,a)=>{a.d(t,{$:()=>n,R:()=>i});var s=a(80413),r=a(2167);function n(e){let t=e.transactions?.map(e=>"string"==typeof e?e:r.uP(e));return{...e,baseFeePerGas:e.baseFeePerGas?BigInt(e.baseFeePerGas):null,blobGasUsed:e.blobGasUsed?BigInt(e.blobGasUsed):void 0,difficulty:e.difficulty?BigInt(e.difficulty):void 0,excessBlobGas:e.excessBlobGas?BigInt(e.excessBlobGas):void 0,gasLimit:e.gasLimit?BigInt(e.gasLimit):void 0,gasUsed:e.gasUsed?BigInt(e.gasUsed):void 0,hash:e.hash?e.hash:null,logsBloom:e.logsBloom?e.logsBloom:null,nonce:e.nonce?e.nonce:null,number:e.number?BigInt(e.number):null,size:e.size?BigInt(e.size):void 0,timestamp:e.timestamp?BigInt(e.timestamp):void 0,transactions:t,totalDifficulty:e.totalDifficulty?BigInt(e.totalDifficulty):null}}let i=(0,s.q)("block",n)},4683:(e,t,a)=>{a.d(t,{E:()=>s});let s=1},5545:(e,t,a)=>{a.d(t,{t:()=>n});var s=a(30761),r=a(82663);function n(e){let{kzg:t}=e,a=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),n="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,s.aT)(e)):e.blobs,i="string"==typeof e.commitments[0]?e.commitments.map(e=>(0,s.aT)(e)):e.commitments,o=[];for(let e=0;e<n.length;e++){let a=n[e],s=i[e];o.push(Uint8Array.from(t.computeBlobKzgProof(a,s)))}return"bytes"===a?o:o.map(e=>(0,r.My)(e))}},6986:(e,t,a)=>{a.d(t,{sc:()=>f});var s=a(43780),r=a(94938);let n=(e,t,a)=>e&t^~e&a,i=(e,t,a)=>e&t^e&a^t&a;class o extends r.Vw{constructor(e,t,a,s){super(),this.blockLen=e,this.outputLen=t,this.padOffset=a,this.isLE=s,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,r.O8)(this.buffer)}update(e){(0,s.t2)(this);let{view:t,buffer:a,blockLen:n}=this,i=(e=(0,r.ZJ)(e)).length;for(let s=0;s<i;){let o=Math.min(n-this.pos,i-s);if(o===n){let t=(0,r.O8)(e);for(;n<=i-s;s+=n)this.process(t,s);continue}a.set(e.subarray(s,s+o),this.pos),this.pos+=o,s+=o,this.pos===n&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){(0,s.t2)(this),(0,s.CG)(e,this),this.finished=!0;let{buffer:t,view:a,blockLen:n,isLE:i}=this,{pos:o}=this;t[o++]=128,this.buffer.subarray(o).fill(0),this.padOffset>n-o&&(this.process(a,0),o=0);for(let e=o;e<n;e++)t[e]=0;(function(e,t,a,s){if("function"==typeof e.setBigUint64)return e.setBigUint64(t,a,s);let r=BigInt(32),n=BigInt(0xffffffff),i=Number(a>>r&n),o=Number(a&n),l=4*!!s,c=4*!s;e.setUint32(t+l,i,s),e.setUint32(t+c,o,s)})(a,n-8,BigInt(8*this.length),i),this.process(a,0);let l=(0,r.O8)(e),c=this.outputLen;if(c%4)throw Error("_sha2: outputLen should be aligned to 32bit");let d=c/4,u=this.get();if(d>u.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;e<d;e++)l.setUint32(4*e,u[e],i)}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let a=e.slice(0,t);return this.destroy(),a}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());let{blockLen:t,buffer:a,length:s,finished:r,destroyed:n,pos:i}=this;return e.length=s,e.pos=i,e.finished=r,e.destroyed=n,s%t&&e.buffer.set(a),e}}let l=new Uint32Array([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),c=new Uint32Array([0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19]),d=new Uint32Array(64);class u extends o{constructor(){super(64,32,8,!1),this.A=0|c[0],this.B=0|c[1],this.C=0|c[2],this.D=0|c[3],this.E=0|c[4],this.F=0|c[5],this.G=0|c[6],this.H=0|c[7]}get(){let{A:e,B:t,C:a,D:s,E:r,F:n,G:i,H:o}=this;return[e,t,a,s,r,n,i,o]}set(e,t,a,s,r,n,i,o){this.A=0|e,this.B=0|t,this.C=0|a,this.D=0|s,this.E=0|r,this.F=0|n,this.G=0|i,this.H=0|o}process(e,t){for(let a=0;a<16;a++,t+=4)d[a]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=d[e-15],a=d[e-2],s=(0,r.Ow)(t,7)^(0,r.Ow)(t,18)^t>>>3,n=(0,r.Ow)(a,17)^(0,r.Ow)(a,19)^a>>>10;d[e]=n+d[e-7]+s+d[e-16]|0}let{A:a,B:s,C:o,D:c,E:u,F:f,G:b,H:h}=this;for(let e=0;e<64;e++){let t=h+((0,r.Ow)(u,6)^(0,r.Ow)(u,11)^(0,r.Ow)(u,25))+n(u,f,b)+l[e]+d[e]|0,p=((0,r.Ow)(a,2)^(0,r.Ow)(a,13)^(0,r.Ow)(a,22))+i(a,s,o)|0;h=b,b=f,f=u,u=c+t|0,c=o,o=s,s=a,a=t+p|0}a=a+this.A|0,s=s+this.B|0,o=o+this.C|0,c=c+this.D|0,u=u+this.E|0,f=f+this.F|0,b=b+this.G|0,h=h+this.H|0,this.set(a,s,o,c,u,f,b,h)}roundClean(){d.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}let f=(0,r.ld)(()=>new u)},17891:(e,t,a)=>{a.d(t,{t:()=>r});var s=a(60203);let r=(0,a(55695).x)({...s.o,id:420,name:"Optimism Goerli",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://goerli.optimism.io"]}},blockExplorers:{default:{name:"Etherscan",url:"https://goerli-optimism.etherscan.io",apiUrl:"https://goerli-optimism.etherscan.io/api"}},contracts:{...s.o.contracts,l2OutputOracle:{5:{address:"0xE6Dfba0953616Bacab0c9A8ecb3a9BBa77FC15c0"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:49461},portal:{5:{address:"0x5b47E1A08Ea6d985D6649300584e6722Ec4B1383"}},l1StandardBridge:{5:{address:"0x636Af16bf2f682dD3109e60102b8E1A089FedAa8"}}},testnet:!0,sourceId:5})},21238:(e,t,a)=>{a.d(t,{T:()=>d});var s=a(88056),r=a(5545),n=a(41012),i=a(17905),o=a(15465),l=a(30761),c=a(82663);function d(e){let{data:t,kzg:a,to:d}=e,u=e.blobs??function(e){let t=e.to??("string"==typeof e.data?"hex":"bytes"),a="string"==typeof e.data?(0,l.aT)(e.data):e.data,s=(0,o.E)(a);if(!s)throw new n.zF;if(s>761855)throw new n.iq({maxSize:761855,size:s});let r=[],d=!0,u=0;for(;d;){let e=(0,i.l)(new Uint8Array(131072)),t=0;for(;t<4096;){let s=a.slice(u,u+31);if(e.pushByte(0),e.pushBytes(s),s.length<31){e.pushByte(128),d=!1;break}t++,u+=31}r.push(e)}return"bytes"===t?r.map(e=>e.bytes):r.map(e=>(0,c.My)(e.bytes))}({data:t,to:d}),f=e.commitments??(0,s.S)({blobs:u,kzg:a,to:d}),b=e.proofs??(0,r.t)({blobs:u,commitments:f,kzg:a,to:d}),h=[];for(let e=0;e<u.length;e++)h.push({blob:u[e],commitment:f[e],proof:b[e]});return h}},26676:(e,t,a)=>{a.d(t,{d:()=>o});var s=a(82663),r=a(6986),n=a(79781),i=a(30761);function o(e){let{commitments:t,version:a}=e,o=e.to??("string"==typeof t[0]?"hex":"bytes"),l=[];for(let e of t)l.push(function(e){let{commitment:t,version:a=1}=e,o=e.to??("string"==typeof t?"hex":"bytes"),l=function(e,t){let a=(0,r.sc)((0,n.q)(e,{strict:!1})?(0,i.ZJ)(e):e);return"bytes"===(t||"hex")?a:(0,s.nj)(a)}(t,"bytes");return l.set([a],0),"bytes"===o?l:(0,s.My)(l)}({commitment:e,to:o,version:a}));return l}},30029:(e,t,a)=>{a.d(t,{L:()=>r});var s=a(60203);let r=(0,a(55695).x)({...s.o,id:7777777,name:"Zora",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.zora.energy"],webSocket:["wss://rpc.zora.energy"]}},blockExplorers:{default:{name:"Explorer",url:"https://explorer.zora.energy",apiUrl:"https://explorer.zora.energy/api"}},contracts:{...s.o.contracts,l2OutputOracle:{1:{address:"0x9E6204F750cD866b299594e2aC9eA824E2e5f95c"}},multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:5882},portal:{1:{address:"0x1a0ad011913A150f69f6A19DF447A0CfD9551054"}},l1StandardBridge:{1:{address:"0x3e2Ea9B92B7E48A52296fD261dc26fd995284631"}}},sourceId:1})},36502:(e,t,a)=>{a.d(t,{o:()=>u});var s=a(19342),r=a(10250),n=a(82663),i=a(41851),o=a(32654),l=a(50596),c=a(70285);async function d(e,t){let{account:a=e.account}=t;if(!a)throw new r.T;let d=(0,s.J)(a);try{let{accessList:a,blockNumber:s,blockTag:r,data:i,gas:u,gasPrice:f,maxFeePerGas:b,maxPriorityFeePerGas:h,nonce:p,to:x,value:m,...y}=t,g=(s?(0,n.cK)(s):void 0)||r;(0,c.c)(t);let v=e.chain?.formatters?.transactionRequest?.format,w=(v||l.Bv)({...(0,o.o)(y,{format:v}),from:d?.address,accessList:a,data:i,gas:u,gasPrice:f,maxFeePerGas:b,maxPriorityFeePerGas:h,nonce:p,to:x,value:m}),{baseFeePerGas:P,gasLimit:B,priorityFeePerGas:E}=await e.request({method:"linea_estimateGas",params:g?[w,g]:[w]});return{baseFeePerGas:BigInt(P),gasLimit:BigInt(B),priorityFeePerGas:BigInt(E)}}catch(a){throw(0,i.d)(a,{...t,account:d,chain:e.chain})}}let u={fees:{estimateFeesPerGas:f,async maxPriorityFeePerGas({block:e,client:t,request:a}){let s=await f({block:e,client:t,multiply:e=>e,request:a,type:"eip1559"});return s?.maxPriorityFeePerGas?s.maxPriorityFeePerGas:null}}};async function f({client:e,multiply:t,request:a,type:s}){try{let r=await d(e,{...a,account:a?.account}),{priorityFeePerGas:n}=r,i=t(BigInt(r.baseFeePerGas))+n;if("legacy"===s)return{gasPrice:i};return{maxFeePerGas:i,maxPriorityFeePerGas:n}}catch{return null}}},41012:(e,t,a)=>{a.d(t,{PK:()=>l,iq:()=>n,uP:()=>o,zF:()=>i});var s=a(4683),r=a(6616);class n extends r.C{constructor({maxSize:e,size:t}){super("Blob size is too large.",{metaMessages:[`Max: ${e} bytes`,`Given: ${t} bytes`],name:"BlobSizeTooLargeError"})}}class i extends r.C{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class o extends r.C{constructor({hash:e,size:t}){super(`Versioned hash "${e}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${t}`],name:"InvalidVersionedHashSizeError"})}}class l extends r.C{constructor({hash:e,version:t}){super(`Versioned hash "${e}" version is invalid.`,{metaMessages:[`Expected: ${s.E}`,`Received: ${t}`],name:"InvalidVersionedHashVersionError"})}}},53928:(e,t,a)=>{a.d(t,{q:()=>r});var s=a(60203);let r=(0,a(55695).x)({...s.o,id:999,name:"Zora Goerli Testnet",nativeCurrency:{decimals:18,name:"Zora Goerli",symbol:"ETH"},rpcUrls:{default:{http:["https://testnet.rpc.zora.energy"],webSocket:["wss://testnet.rpc.zora.energy"]}},blockExplorers:{default:{name:"Explorer",url:"https://testnet.explorer.zora.energy",apiUrl:"https://testnet.explorer.zora.energy/api"}},contracts:{...s.o.contracts,multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:189123},portal:{5:{address:"0xDb9F51790365e7dc196e7D072728df39Be958ACe"}}},sourceId:5,testnet:!0})},55769:(e,t,a)=>{a.d(t,{e:()=>s});function s(e,{args:t,eventName:a}={}){return{...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,logIndex:e.logIndex?Number(e.logIndex):null,transactionHash:e.transactionHash?e.transactionHash:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,...a?{args:t,eventName:a}:{}}}},60203:(e,t,a)=>{a.d(t,{o:()=>M});var s=a(42960),r=a(2546),n=a(2167),i=a(66313);let o={block:(0,r.R)({format:e=>({transactions:e.transactions?.map(e=>{if("string"==typeof e)return e;let t=n.uP(e);return"0x7e"===t.typeHex&&(t.isSystemTx=e.isSystemTx,t.mint=e.mint?s.uU(e.mint):void 0,t.sourceHash=e.sourceHash,t.type="deposit"),t}),stateRoot:e.stateRoot})}),transaction:(0,n.gU)({format(e){let t={};return"0x7e"===e.type&&(t.isSystemTx=e.isSystemTx,t.mint=e.mint?(0,s.uU)(e.mint):void 0,t.sourceHash=e.sourceHash,t.type="deposit"),t}}),transactionReceipt:(0,i.WB)({format:e=>({l1GasPrice:e.l1GasPrice?(0,s.uU)(e.l1GasPrice):null,l1GasUsed:e.l1GasUsed?(0,s.uU)(e.l1GasUsed):null,l1Fee:e.l1Fee?(0,s.uU)(e.l1Fee):null,l1FeeScalar:e.l1FeeScalar?Number(e.l1FeeScalar):null})})};var l=a(7905),c=a(81734),d=a(97100),u=a(82663),f=a(80676),b=a(26769),h=a(88056),p=a(5545),x=a(26676),m=a(21238),y=a(9036),g=a(4683),v=a(39362),w=a(6616),P=a(41012),B=a(45704),E=a(24887),G=a(15465),I=a(60510);function U(e){let{chainId:t,maxPriorityFeePerGas:a,maxFeePerGas:s,to:r}=e;if(t<=0)throw new B.qD({chainId:t});if(r&&!(0,c.P)(r))throw new l.M({address:r});if(s&&s>v.Ao)throw new E.BG({maxFeePerGas:s});if(a&&s&&a>s)throw new E.lN({maxFeePerGas:s,maxPriorityFeePerGas:a})}var F=a(63890);function k(e){if(!e||0===e.length)return[];let t=[];for(let a=0;a<e.length;a++){let{address:s,storageKeys:r}=e[a];for(let e=0;e<r.length;e++)if(r[e].length-2!=64)throw new b.fZ({storageKey:r[e]});if(!(0,c.P)(s,{strict:!1}))throw new l.M({address:s});t.push([s,r])}return t}function C(e,t){let a=t??e,{v:s,yParity:r}=a;if(void 0===a.r||void 0===a.s||void 0===s&&void 0===r)return[];let n=(0,y.B)(a.r),i=(0,y.B)(a.s);return["number"==typeof r?r?(0,u.nj)(1):"0x":0n===s?"0x":1n===s?(0,u.nj)(1):27n===s?"0x":(0,u.nj)(1),"0x00"===n?"0x":n,"0x00"===i?"0x":i]}let M={contracts:{gasPriceOracle:{address:"0x420000000000000000000000000000000000000F"},l1Block:{address:"0x4200000000000000000000000000000000000015"},l2CrossDomainMessenger:{address:"0x4200000000000000000000000000000000000007"},l2Erc721Bridge:{address:"0x4200000000000000000000000000000000000014"},l2StandardBridge:{address:"0x4200000000000000000000000000000000000010"},l2ToL1MessagePasser:{address:"0x4200000000000000000000000000000000000016"}},formatters:o,serializers:{transaction:function(e,t){var a;return"deposit"===(a=e).type||void 0!==a.sourceHash?function(e){(function(e){let{from:t,to:a}=e;if(t&&!(0,c.P)(t))throw new l.M({address:t});if(a&&!(0,c.P)(a))throw new l.M({address:a})})(e);let{sourceHash:t,data:a,from:s,gas:r,isSystemTx:n,mint:i,to:o,value:b}=e,h=[t,s,o??"0x",i?(0,u.nj)(i):"0x",b?(0,u.nj)(b):"0x",r?(0,u.nj)(r):"0x",n?"0x1":"0x",a??"0x"];return(0,d.aP)(["0x7e",(0,f.EQ)(h)])}(e):function(e,t){let a=(0,F.L)(e);return"eip1559"===a?function(e,t){let{chainId:a,gas:s,nonce:r,to:n,value:i,maxFeePerGas:o,maxPriorityFeePerGas:l,accessList:c,data:b}=e;U(e);let h=k(c),p=[(0,u.nj)(a),r?(0,u.nj)(r):"0x",l?(0,u.nj)(l):"0x",o?(0,u.nj)(o):"0x",s?(0,u.nj)(s):"0x",n??"0x",i?(0,u.nj)(i):"0x",b??"0x",h,...C(e,t)];return(0,d.aP)(["0x02",(0,f.EQ)(p)])}(e,t):"eip2930"===a?function(e,t){let{chainId:a,gas:s,data:r,nonce:n,to:i,value:o,accessList:b,gasPrice:h}=e;!function(e){let{chainId:t,maxPriorityFeePerGas:a,gasPrice:s,maxFeePerGas:r,to:n}=e;if(t<=0)throw new B.qD({chainId:t});if(n&&!(0,c.P)(n))throw new l.M({address:n});if(a||r)throw new w.C("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");if(s&&s>v.Ao)throw new E.BG({maxFeePerGas:s})}(e);let p=k(b),x=[(0,u.nj)(a),n?(0,u.nj)(n):"0x",h?(0,u.nj)(h):"0x",s?(0,u.nj)(s):"0x",i??"0x",o?(0,u.nj)(o):"0x",r??"0x",p,...C(e,t)];return(0,d.aP)(["0x01",(0,f.EQ)(x)])}(e,t):"eip4844"===a?function(e,t){let{chainId:a,gas:r,nonce:n,to:i,value:o,maxFeePerBlobGas:l,maxFeePerGas:c,maxPriorityFeePerGas:b,accessList:y,data:v}=e;!function(e){let{blobVersionedHashes:t}=e;if(t){if(0===t.length)throw new P.zF;for(let e of t){let t=(0,G.E)(e),a=(0,s.ME)((0,I.di)(e,0,1));if(32!==t)throw new P.uP({hash:e,size:t});if(a!==g.E)throw new P.PK({hash:e,version:a})}}U(e)}(e);let w=e.blobVersionedHashes,B=e.sidecars;if(e.blobs&&(void 0===w||void 0===B)){let t="string"==typeof e.blobs[0]?e.blobs:e.blobs.map(e=>(0,u.My)(e)),a=e.kzg,s=(0,h.S)({blobs:t,kzg:a});if(void 0===w&&(w=(0,x.d)({commitments:s})),void 0===B){let e=(0,p.t)({blobs:t,commitments:s,kzg:a});B=(0,m.T)({blobs:t,commitments:s,proofs:e})}}let E=k(y),F=[(0,u.nj)(a),n?(0,u.nj)(n):"0x",b?(0,u.nj)(b):"0x",c?(0,u.nj)(c):"0x",r?(0,u.nj)(r):"0x",i??"0x",o?(0,u.nj)(o):"0x",v??"0x",E,l?(0,u.nj)(l):"0x",w??[],...C(e,t)],M=[],A=[],j=[];if(B)for(let e=0;e<B.length;e++){let{blob:t,commitment:a,proof:s}=B[e];M.push(t),A.push(a),j.push(s)}return(0,d.aP)(["0x03",B?(0,f.EQ)([F,M,A,j]):(0,f.EQ)(F)])}(e,t):"eip7702"===a?function(e,t){let{authorizationList:a,chainId:s,gas:r,nonce:n,to:i,value:o,maxFeePerGas:b,maxPriorityFeePerGas:h,accessList:p,data:x}=e;!function(e){let{authorizationList:t}=e;if(t)for(let e of t){let{contractAddress:t,chainId:a}=e;if(!(0,c.P)(t))throw new l.M({address:t});if(a<0)throw new B.qD({chainId:a})}U(e)}(e);let m=k(p),y=function(e){if(!e||0===e.length)return[];let t=[];for(let a of e){let{contractAddress:e,chainId:s,nonce:r,...n}=a;t.push([s?(0,u.nj)(s):"0x",e,r?(0,u.nj)(r):"0x",...C({},n)])}return t}(a);return(0,d.aP)(["0x04",(0,f.EQ)([(0,u.nj)(s),n?(0,u.nj)(n):"0x",h?(0,u.nj)(h):"0x",b?(0,u.nj)(b):"0x",r?(0,u.nj)(r):"0x",i??"0x",o?(0,u.nj)(o):"0x",x??"0x",m,y,...C(e,t)])])}(e,t):function(e,t){let{chainId:a=0,gas:s,data:r,nonce:n,to:i,value:o,gasPrice:d}=e;!function(e){let{chainId:t,maxPriorityFeePerGas:a,gasPrice:s,maxFeePerGas:r,to:n}=e;if(n&&!(0,c.P)(n))throw new l.M({address:n});if(void 0!==t&&t<=0)throw new B.qD({chainId:t});if(a||r)throw new w.C("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");if(s&&s>v.Ao)throw new E.BG({maxFeePerGas:s})}(e);let h=[n?(0,u.nj)(n):"0x",d?(0,u.nj)(d):"0x",s?(0,u.nj)(s):"0x",i??"0x",o?(0,u.nj)(o):"0x",r??"0x"];if(t){let e=(()=>{if(t.v>=35n)return(t.v-35n)/2n>0?t.v:27n+(35n===t.v?0n:1n);if(a>0)return BigInt(2*a)+BigInt(35n+t.v-27n);let e=27n+(27n===t.v?0n:1n);if(t.v!==e)throw new b.zW({v:t.v});return e})(),s=(0,y.B)(t.r),r=(0,y.B)(t.s);h=[...h,(0,u.nj)(e),"0x00"===s?"0x":s,"0x00"===r?"0x":r]}else a>0&&(h=[...h,(0,u.nj)(a),"0x","0x"]);return(0,f.EQ)(h)}(e,t)}(e,t)}}}},60272:(e,t,a)=>{a.d(t,{E:()=>s});let s=(0,a(55695).x)({id:80001,name:"Polygon Mumbai",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},rpcUrls:{default:{http:["https://rpc.ankr.com/polygon_mumbai"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://mumbai.polygonscan.com",apiUrl:"https://api-testnet.polygonscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:0x18938b0}},testnet:!0})},63890:(e,t,a)=>{a.d(t,{L:()=>r});var s=a(26769);function r(e){if(e.type)return e.type;if(void 0!==e.authorizationList)return"eip7702";if(void 0!==e.blobs||void 0!==e.blobVersionedHashes||void 0!==e.maxFeePerBlobGas||void 0!==e.sidecars)return"eip4844";if(void 0!==e.maxFeePerGas||void 0!==e.maxPriorityFeePerGas)return"eip1559";if(void 0!==e.gasPrice)return void 0!==e.accessList?"eip2930":"legacy";throw new s.Vg({transaction:e})}},66313:(e,t,a)=>{a.d(t,{WB:()=>c,uL:()=>l});var s=a(42960),r=a(80413),n=a(55769),i=a(2167);let o={"0x0":"reverted","0x1":"success"};function l(e){let t={...e,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,contractAddress:e.contractAddress?e.contractAddress:null,cumulativeGasUsed:e.cumulativeGasUsed?BigInt(e.cumulativeGasUsed):null,effectiveGasPrice:e.effectiveGasPrice?BigInt(e.effectiveGasPrice):null,gasUsed:e.gasUsed?BigInt(e.gasUsed):null,logs:e.logs?e.logs.map(e=>(0,n.e)(e)):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?(0,s.ME)(e.transactionIndex):null,status:e.status?o[e.status]:null,type:e.type?i.b4[e.type]||e.type:null};return e.blobGasPrice&&(t.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(t.blobGasUsed=BigInt(e.blobGasUsed)),t}let c=(0,r.q)("transactionReceipt",l)},68267:(e,t,a)=>{a.d(t,{n:()=>s});let s=(0,a(55695).x)({id:137,name:"Polygon",nativeCurrency:{name:"POL",symbol:"POL",decimals:18},rpcUrls:{default:{http:["https://polygon-rpc.com"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://polygonscan.com",apiUrl:"https://api.polygonscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:0x18938b0}}})},75673:(e,t,a)=>{a.d(t,{R:()=>r});var s=a(60203);let r=(0,a(55695).x)({...s.o,id:10,name:"OP Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://mainnet.optimism.io"]}},blockExplorers:{default:{name:"Optimism Explorer",url:"https://optimistic.etherscan.io",apiUrl:"https://api-optimistic.etherscan.io/api"}},contracts:{...s.o.contracts,disputeGameFactory:{1:{address:"0xe5965Ab5962eDc7477C8520243A95517CD252fA9"}},l2OutputOracle:{1:{address:"0xdfe97868233d1aa22e815a266982f2cf17685a27"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:4286263},portal:{1:{address:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"}},l1StandardBridge:{1:{address:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"}}},sourceId:1})},78158:(e,t,a)=>{a.d(t,{E:()=>r});var s=a(60203);let r=(0,a(55695).x)({...s.o,id:8453,name:"Base",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://mainnet.base.org"]}},blockExplorers:{default:{name:"Basescan",url:"https://basescan.org",apiUrl:"https://api.basescan.org/api"}},contracts:{...s.o.contracts,disputeGameFactory:{1:{address:"0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e"}},l2OutputOracle:{1:{address:"0x56315b90c40730925ec5485cf004d835058518A0"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:5022},portal:{1:{address:"0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",blockCreated:0x10ac19f}},l1StandardBridge:{1:{address:"0x3154Cf16ccdb4C6d922629664174b904d80F2C35",blockCreated:0x10ac19f}}},sourceId:1})},80413:(e,t,a)=>{a.d(t,{q:()=>s});function s(e,t){return({exclude:a,format:s})=>({exclude:a,format:e=>{let r=t(e);if(a)for(let e of a)delete r[e];return{...r,...s(e)}},type:e})}},80676:(e,t,a)=>{a.d(t,{EQ:()=>o});var s=a(6616),r=a(17905),n=a(30761),i=a(82663);function o(e,t="hex"){let a=function e(t){return Array.isArray(t)?function(e){let t=e.reduce((e,t)=>e+t.length,0),a=l(t);return{length:t<=55?1+t:1+a+t,encode(s){for(let{encode:r}of(t<=55?s.pushByte(192+t):(s.pushByte(247+a),1===a?s.pushUint8(t):2===a?s.pushUint16(t):3===a?s.pushUint24(t):s.pushUint32(t)),e))r(s)}}}(t.map(t=>e(t))):function(e){let t="string"==typeof e?(0,n.aT)(e):e,a=l(t.length);return{length:1===t.length&&t[0]<128?1:t.length<=55?1+t.length:1+a+t.length,encode(e){1===t.length&&t[0]<128||(t.length<=55?e.pushByte(128+t.length):(e.pushByte(183+a),1===a?e.pushUint8(t.length):2===a?e.pushUint16(t.length):3===a?e.pushUint24(t.length):e.pushUint32(t.length))),e.pushBytes(t)}}}(t)}(e),s=(0,r.l)(new Uint8Array(a.length));return(a.encode(s),"hex"===t)?(0,i.My)(s.bytes):s.bytes}function l(e){if(e<256)return 1;if(e<65536)return 2;if(e<0x1000000)return 3;if(e<0x100000000)return 4;throw new s.C("Length is too large.")}},88056:(e,t,a)=>{a.d(t,{S:()=>n});var s=a(30761),r=a(82663);function n(e){let{kzg:t}=e,a=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),n="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,s.aT)(e)):e.blobs,i=[];for(let e of n)i.push(Uint8Array.from(t.blobToKzgCommitment(e)));return"bytes"===a?i:i.map(e=>(0,r.My)(e))}},88693:(e,t,a)=>{a.d(t,{X:()=>r});var s=a(36502);let r=(0,a(55695).x)({...s.o,id:59141,name:"Linea Sepolia Testnet",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.sepolia.linea.build"],webSocket:["wss://rpc.sepolia.linea.build"]}},blockExplorers:{default:{name:"Etherscan",url:"https://sepolia.lineascan.build",apiUrl:"https://api-sepolia.lineascan.build/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:227427}},testnet:!0})},97276:(e,t,a)=>{a.d(t,{_:()=>r});var s=a(36502);let r=(0,a(55695).x)({...s.o,id:59144,name:"Linea Mainnet",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.linea.build"],webSocket:["wss://rpc.linea.build"]}},blockExplorers:{default:{name:"Etherscan",url:"https://lineascan.build",apiUrl:"https://api.lineascan.build/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:42}},testnet:!1})}}]);
//# sourceMappingURL=3119-71c2b8fd02735884.js.map