diff --git a/assets/Index-8adb4124-D896XomO.js b/assets/Index-8adb4124-D4rUf_RB.js
similarity index 99%
rename from assets/Index-8adb4124-D896XomO.js
rename to assets/Index-8adb4124-D4rUf_RB.js
index 059d84e..a29f40b 100644
--- a/assets/Index-8adb4124-D896XomO.js
+++ b/assets/Index-8adb4124-D4rUf_RB.js
@@ -1,4 +1,4 @@
-import{S as R,i as N,s as M,a as O,y as me,d as _,t as w,g as G,h as T,j as A,k as C,m as Y,n as _e,o as we,p as D,e as h,c as m,K as Ce,r as F,b as L,ak as B,u as H,f as g,l as S,I as ye,at as ze,au as Te,av as je,N as xe,a5 as Le,Q as Pe,a7 as Se,v as $,_ as Z,a2 as Ee,aw as Ie,ax as be,a6 as Re,J as Ne,ay as J,az as K,G as V,R as he,z as Me,$ as ge,aA as Oe,q as ke,aB as Q,aC as U,x as I,aD as X,E,M as q,aE as ee,aF as De,aG as te,aH as P,D as Fe,a8 as W,aI as He}from"./index-DgzvH8Qi.js";function $e(i,{from:e,to:t},n={}){const o=getComputedStyle(i),a=o.transform==="none"?"":o.transform,[f,l]=o.transformOrigin.split(" ").map(parseFloat),s=e.left+e.width*f/t.width-(t.left+f),r=e.top+e.height*l/t.height-(t.top+l),{delay:c=0,duration:d=u=>Math.sqrt(u)*120,easing:v=be}=n;return{delay:c,duration:Ne(d)?d(Math.sqrt(s*s+r*r)):d,easing:v,css:(u,b)=>{const p=b*s,y=b*r,z=u+b*e.width/t.width,j=u+b*e.height/t.height;return`transform: ${a} translate(${p}px, ${y}px) scale(${z}, ${j});`}}}function Ge(i){O(i,"svelte-13cuwwo","div.svelte-13cuwwo{box-sizing:content-box}.border.svelte-13cuwwo{border:2px solid;border-radius:120px;overflow:hidden}")}function Ae(i){let e,t;return{c(){e=h("div"),m(e,"class","border svelte-13cuwwo"),m(e,"style",t=`
+import{S as R,i as N,s as M,a as O,y as me,d as _,t as w,g as G,h as T,j as A,k as C,m as Y,n as _e,o as we,p as D,e as h,c as m,K as Ce,r as F,b as L,ak as B,u as H,f as g,l as S,I as ye,at as ze,au as Te,av as je,N as xe,a5 as Le,Q as Pe,a7 as Se,v as $,_ as Z,a2 as Ee,aw as Ie,ax as be,a6 as Re,J as Ne,ay as J,az as K,G as V,R as he,z as Me,$ as ge,aA as Oe,q as ke,aB as Q,aC as U,x as I,aD as X,E,M as q,aE as ee,aF as De,aG as te,aH as P,D as Fe,a8 as W,aI as He}from"./index-VLNutAkM.js";function $e(i,{from:e,to:t},n={}){const o=getComputedStyle(i),a=o.transform==="none"?"":o.transform,[f,l]=o.transformOrigin.split(" ").map(parseFloat),s=e.left+e.width*f/t.width-(t.left+f),r=e.top+e.height*l/t.height-(t.top+l),{delay:c=0,duration:d=u=>Math.sqrt(u)*120,easing:v=be}=n;return{delay:c,duration:Ne(d)?d(Math.sqrt(s*s+r*r)):d,easing:v,css:(u,b)=>{const p=b*s,y=b*r,z=u+b*e.width/t.width,j=u+b*e.height/t.height;return`transform: ${a} translate(${p}px, ${y}px) scale(${z}, ${j});`}}}function Ge(i){O(i,"svelte-13cuwwo","div.svelte-13cuwwo{box-sizing:content-box}.border.svelte-13cuwwo{border:2px solid;border-radius:120px;overflow:hidden}")}function Ae(i){let e,t;return{c(){e=h("div"),m(e,"class","border svelte-13cuwwo"),m(e,"style",t=`
width: ${i[2]-i[3]*2}px;
height: ${i[2]-i[3]*2}px;
border-color: var(${i[1]});
diff --git a/assets/Index-a4a1058e-DBreb4CD.js b/assets/Index-a4a1058e-D0a-yFFT.js
similarity index 99%
rename from assets/Index-a4a1058e-DBreb4CD.js
rename to assets/Index-a4a1058e-D0a-yFFT.js
index 4b8f80b..f9823c9 100644
--- a/assets/Index-a4a1058e-DBreb4CD.js
+++ b/assets/Index-a4a1058e-D0a-yFFT.js
@@ -1,4 +1,4 @@
-import{S as pe,i as ve,s as me,a as ge,e as g,b as z,c as p,d as M,f as c,l as J,t as y,g as ae,h as T,j as ie,k as S,m as ne,n as ye,o as Ce,p as ee,q as Hn,r as E,u as O,v as Z,w as Ie,x as G,y as ue,z as Me,$ as je,A as Cn,B as Be,C as L,W as he,D as be,E as q,F as _e,G as ce,H as Vn,I as fe,J as we,K as zn,L as In,M as V,N as Te,O as De,P as We,Q as Ne,R as ke,T as $n,U as Bn,V as Dn,X as He,Y as ze,Z as Tn,_ as Wn,a0 as Nn,a1 as Fn,a2 as An,a3 as En,a4 as de,a5 as Pe,a6 as $e,a7 as On,a8 as Ve,a9 as Zn,aa as Gn,ab as Mn,ac as Sn,ad as Rn,ae as Un,af as Fe,ag as Xn,ah as Ee,ai as Jn,aj as Oe,ak as Le,al as Ze,am as Kn,an as qe,ao as Ge,ap as Qn,aq as Yn,ar as Re,as as xn}from"./index-DgzvH8Qi.js";import{merge as et}from"./index-BmjJoMIO.js";import{s as nt,d as tt}from"./index-BPbOMfKu.js";var Pn='',Se=`
+import{S as pe,i as ve,s as me,a as ge,e as g,b as z,c as p,d as M,f as c,l as J,t as y,g as ae,h as T,j as ie,k as S,m as ne,n as ye,o as Ce,p as ee,q as Hn,r as E,u as O,v as Z,w as Ie,x as G,y as ue,z as Me,$ as je,A as Cn,B as Be,C as L,W as he,D as be,E as q,F as _e,G as ce,H as Vn,I as fe,J as we,K as zn,L as In,M as V,N as Te,O as De,P as We,Q as Ne,R as ke,T as $n,U as Bn,V as Dn,X as He,Y as ze,Z as Tn,_ as Wn,a0 as Nn,a1 as Fn,a2 as An,a3 as En,a4 as de,a5 as Pe,a6 as $e,a7 as On,a8 as Ve,a9 as Zn,aa as Gn,ab as Mn,ac as Sn,ad as Rn,ae as Un,af as Fe,ag as Xn,ah as Ee,ai as Jn,aj as Oe,ak as Le,al as Ze,am as Kn,an as qe,ao as Ge,ap as Qn,aq as Yn,ar as Re,as as xn}from"./index-VLNutAkM.js";import{merge as et}from"./index-YxUBmkeZ.js";import{s as nt,d as tt}from"./index-vmC98Bu8.js";var Pn='',Se=`
diff --git a/assets/ccip-BH5iUcu2.js b/assets/ccip-Dj_Ke-Rh.js
similarity index 97%
rename from assets/ccip-BH5iUcu2.js
rename to assets/ccip-Dj_Ke-Rh.js
index 93c26e6..536f979 100644
--- a/assets/ccip-BH5iUcu2.js
+++ b/assets/ccip-Dj_Ke-Rh.js
@@ -1 +1 @@
-import{bp as p,bq as m,br as y,bs as g,bt as k,bu as x,bv as E,bw as L,bx as h,by as O}from"./index-DgzvH8Qi.js";class M extends p{constructor({callbackSelector:r,cause:e,data:o,extraData:c,sender:d,urls:a}){var i;super(e.shortMessage||"An error occurred while fetching for an offchain result.",{cause:e,metaMessages:[...e.metaMessages||[],(i=e.metaMessages)!=null&&i.length?"":[],"Offchain Gateway Call:",a&&[" Gateway URL(s):",...a.map(f=>` ${m(f)}`)],` Sender: ${d}`,` Data: ${o}`,` Callback selector: ${r}`,` Extra data: ${c}`].flat(),name:"OffchainLookupError"})}}class R extends p{constructor({result:r,url:e}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${m(e)}`,`Response: ${y(r)}`],name:"OffchainLookupResponseMalformedError"})}}class $ extends p{constructor({sender:r,to:e}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${e}`,`OffchainLookup sender address: ${r}`],name:"OffchainLookupSenderMismatchError"})}}const D="0x556f1830",S={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function T(n,{blockNumber:r,blockTag:e,data:o,to:c}){const{args:d}=g({data:o,abi:[S]}),[a,i,f,t,s]=d,{ccipRead:u}=n,b=u&&typeof(u==null?void 0:u.request)=="function"?u.request:q;try{if(!k(c,a))throw new $({sender:a,to:c});const l=await b({data:f,sender:a,urls:i}),{data:w}=await x(n,{blockNumber:r,blockTag:e,data:E([t,L([{type:"bytes"},{type:"bytes"}],[l,s])]),to:c});return w}catch(l){throw new M({callbackSelector:t,cause:l,data:o,extraData:s,sender:a,urls:i})}}async function q({data:n,sender:r,urls:e}){var c;let o=new Error("An unknown error occurred.");for(let d=0;d` ${m(f)}`)],` Sender: ${d}`,` Data: ${o}`,` Callback selector: ${r}`,` Extra data: ${c}`].flat(),name:"OffchainLookupError"})}}class R extends p{constructor({result:r,url:e}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${m(e)}`,`Response: ${y(r)}`],name:"OffchainLookupResponseMalformedError"})}}class $ extends p{constructor({sender:r,to:e}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${e}`,`OffchainLookup sender address: ${r}`],name:"OffchainLookupSenderMismatchError"})}}const D="0x556f1830",S={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function T(n,{blockNumber:r,blockTag:e,data:o,to:c}){const{args:d}=g({data:o,abi:[S]}),[a,i,f,t,s]=d,{ccipRead:u}=n,b=u&&typeof(u==null?void 0:u.request)=="function"?u.request:q;try{if(!k(c,a))throw new $({sender:a,to:c});const l=await b({data:f,sender:a,urls:i}),{data:w}=await x(n,{blockNumber:r,blockTag:e,data:E([t,L([{type:"bytes"},{type:"bytes"}],[l,s])]),to:c});return w}catch(l){throw new M({callbackSelector:t,cause:l,data:o,extraData:s,sender:a,urls:i})}}async function q({data:n,sender:r,urls:e}){var c;let o=new Error("An unknown error occurred.");for(let d=0;d{if(typeof r=="string")return r;const n=J(r);return n.typeHex==="0x7e"&&(n.isSystemTx=r.isSystemTx,n.mint=r.mint?i(r.mint):void 0,n.sourceHash=r.sourceHash,n.type="deposit"),n}),stateRoot:t.stateRoot}}}),transaction:V({format(t){const a={};return t.type==="0x7e"&&(a.isSystemTx=t.isSystemTx,a.mint=t.mint?i(t.mint):void 0,a.sourceHash=t.sourceHash,a.type="deposit"),a}}),transactionReceipt:ee({format(t){return{l1GasPrice:t.l1GasPrice?i(t.l1GasPrice):null,l1GasUsed:t.l1GasUsed?i(t.l1GasUsed):null,l1Fee:t.l1Fee?i(t.l1Fee):null,l1FeeScalar:t.l1FeeScalar?Number(t.l1FeeScalar):null}}})};function Ce(t,a){return Te(t)?ve(t):X(t,a)}const we={transaction:Ce};function ve(t){Ue(t);const{sourceHash:a,data:s,from:r,gas:n,isSystemTx:c,mint:p,to:m,value:d}=t,b=[a,r,m??"0x",p?o(p):"0x",d?o(d):"0x",n?o(n):"0x",c?"0x1":"0x",s??"0x"];return q(["0x7e",j(b)])}function Te(t){return t.type==="deposit"||typeof t.sourceHash<"u"}function Ue(t){const{from:a,to:s}=t;if(a&&!k(a))throw new E({address:a});if(s&&!k(s))throw new E({address:s})}const l={contracts:Ee,formatters:Z,serializers:we},T=1,tt=e({...l,id:888888888,name:"Ancient8",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.ancient8.gg"]}},blockExplorers:{default:{name:"Ancient8 explorer",url:"https://scan.ancient8.gg",apiUrl:"https://scan.ancient8.gg/api"}},contracts:{...l.contracts,l2OutputOracle:{[T]:{address:"0xB09DC08428C8b4EFB4ff9C0827386CDF34277996"}},portal:{[T]:{address:"0x639F2AECE398Aa76b07e59eF6abe2cFe32bacb68",blockCreated:19070571}},l1StandardBridge:{[T]:{address:"0xd5e3eDf5b68135D559D572E26bF863FBC1950033",blockCreated:19070571}}},sourceId:T}),U=11155111,at=e({...l,id:28122024,name:"Ancient8 Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpcv2-testnet.ancient8.gg"]}},blockExplorers:{default:{name:"Ancient8 Celestia Testnet explorer",url:"https://scanv2-testnet.ancient8.gg",apiUrl:"https://scanv2-testnet.ancient8.gg/api"}},contracts:{...l.contracts,l2OutputOracle:{[U]:{address:"0x942fD5017c0F60575930D8574Eaca13BEcD6e1bB"}},portal:{[U]:{address:"0xfa1d9E26A6aCD7b22115D27572c1221B9803c960",blockCreated:4972908}},l1StandardBridge:{[U]:{address:"0xF6Bc0146d3c74D48306e79Ae134A260E418C9335",blockCreated:4972908}}},sourceId:U}),rt=e({id:31337,name:"Anvil",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["http://127.0.0.1:8545"],webSocket:["ws://127.0.0.1:8545"]}}}),st=e({id:3993,name:"APEX Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc-testnet.apexlayer.xyz"]}},blockExplorers:{default:{name:"Blockscout",url:"https://exp-testnet.apexlayer.xyz",apiUrl:"https://exp-testnet.apexlayer.xyz/api"}},contracts:{multicall3:{address:"0xf7642be33a6b18D16a995657adb5a68CD0438aE2",blockCreated:283775}},testnet:!0}),nt=e({id:42161,name:"Arbitrum One",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://arb1.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://arbiscan.io",apiUrl:"https://api.arbiscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:7654707}}}),lt=e({id:421613,name:"Arbitrum Goerli",nativeCurrency:{name:"Arbitrum Goerli Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://goerli-rollup.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://goerli.arbiscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:88114}},testnet:!0}),ot=e({id:42170,name:"Arbitrum Nova",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://nova.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://nova.arbiscan.io",apiUrl:"https://api-nova.arbiscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1746963}}}),ct=e({id:592,name:"Astar",network:"astar-mainnet",nativeCurrency:{name:"Astar",symbol:"ASTR",decimals:18},rpcUrls:{default:{http:["https://astar.api.onfinality.io/public"]}},blockExplorers:{default:{name:"Astar Subscan",url:"https://astar.subscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:761794}},testnet:!1}),it=e({id:3776,name:"Astar zkEVM",network:"AstarZkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.startale.com/astar-zkevm"]}},blockExplorers:{default:{name:"Astar zkEVM Explorer",url:"https://astar-zkevm.explorer.startale.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:93528}},testnet:!1}),pt=e({id:6038361,name:"Astar zkEVM Testnet zKyoto",network:"zKyoto",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.startale.com/zkyoto"]}},blockExplorers:{default:{name:"zKyoto Explorer",url:"https://zkyoto.explorer.startale.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:196153}},testnet:!0}),dt=e({id:421614,name:"Arbitrum Sepolia",nativeCurrency:{name:"Arbitrum Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia-rollup.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://sepolia.arbiscan.io",apiUrl:"https://api-sepolia.arbiscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:81930}},testnet:!0}),mt=e({id:463,name:"Areon Network",nativeCurrency:{decimals:18,name:"AREA",symbol:"AREA"},rpcUrls:{default:{http:["https://mainnet-rpc.areon.network"],webSocket:["wss://mainnet-ws.areon.network"]}},blockExplorers:{default:{name:"Areonscan",url:"https://areonscan.com"}},testnet:!1}),ut=e({id:462,name:"Areon Network Testnet",nativeCurrency:{decimals:18,name:"TAREA",symbol:"TAREA"},rpcUrls:{default:{http:["https://testnet-rpc.areon.network"],webSocket:["wss://testnet-ws.areon.network"]}},blockExplorers:{default:{name:"Areonscan",url:"https://areonscan.com"}},testnet:!0}),bt=e({id:1313161554,name:"Aurora",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://mainnet.aurora.dev"]}},blockExplorers:{default:{name:"Aurorascan",url:"https://aurorascan.dev",apiUrl:"https://aurorascan.dev/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:62907816}}}),ht=e({id:1313161555,name:"Aurora Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://testnet.aurora.dev"]}},blockExplorers:{default:{name:"Aurorascan",url:"https://testnet.aurorascan.dev",apiUrl:"https://testnet.aurorascan.dev/api"}},testnet:!0}),kt=e({id:205205,name:"Auroria Testnet",network:"auroria",nativeCurrency:{name:"Auroria Stratis",symbol:"tSTRAX",decimals:18},rpcUrls:{default:{http:["https://auroria.rpc.stratisevm.com"]}},blockExplorers:{default:{name:"Auroria Testnet Explorer",url:"https://auroria.explorer.stratisevm.com"}},testnet:!0}),xt=e({id:43114,name:"Avalanche",nativeCurrency:{decimals:18,name:"Avalanche",symbol:"AVAX"},rpcUrls:{default:{http:["https://api.avax.network/ext/bc/C/rpc"]}},blockExplorers:{default:{name:"SnowScan",url:"https://snowscan.xyz",apiUrl:"https://api.snowscan.xyz/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:11907934}}}),ft=e({id:43113,name:"Avalanche Fuji",nativeCurrency:{decimals:18,name:"Avalanche Fuji",symbol:"AVAX"},rpcUrls:{default:{http:["https://api.avax-test.network/ext/bc/C/rpc"]}},blockExplorers:{default:{name:"SnowScan",url:"https://testnet.snowscan.xyz",apiUrl:"https://api-testnet.snowscan.xyz"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:7096959}},testnet:!0}),yt=e({id:5165,network:"bahamut",name:"Bahamut",nativeCurrency:{name:"Fasttoken",symbol:"FTN",decimals:18},rpcUrls:{default:{http:["https://rpc1.bahamut.io","https://bahamut-rpc.publicnode.com","https://rpc2.bahamut.io"],webSocket:["wss://ws1.sahara.bahamutchain.com","wss://bahamut-rpc.publicnode.com","wss://ws2.sahara.bahamutchain.com"]},public:{http:["https://rpc1.bahamut.io","https://bahamut-rpc.publicnode.com","https://rpc2.bahamut.io"],webSocket:["wss://ws1.sahara.bahamutchain.com","wss://bahamut-rpc.publicnode.com","wss://ws2.sahara.bahamutchain.com"]}},blockExplorers:{default:{name:"Ftnscan",url:"https://www.ftnscan.com",apiUrl:"https://www.ftnscan.com/api"}}}),g=1,Et=e({...l,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:{...l.contracts,l2OutputOracle:{[g]:{address:"0x56315b90c40730925ec5485cf004d835058518A0"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:5022},portal:{[g]:{address:"0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",blockCreated:17482143}},l1StandardBridge:{[g]:{address:"0x3154Cf16ccdb4C6d922629664174b904d80F2C35",blockCreated:17482143}}},sourceId:g}),S=5,Ct=e({...l,id:84531,name:"Base Goerli",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://goerli.base.org"]}},blockExplorers:{default:{name:"Basescan",url:"https://goerli.basescan.org",apiUrl:"https://goerli.basescan.org/api"}},contracts:{...l.contracts,l2OutputOracle:{[S]:{address:"0x2A35891ff30313CcFa6CE88dcf3858bb075A2298"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1376988},portal:{[S]:{address:"0xe93c8cD0D409341205A592f8c4Ac1A5fe5585cfA"}},l1StandardBridge:{[S]:{address:"0xfA6D8Ee5BE770F84FC001D098C4bD604Fe01284a"}}},testnet:!0,sourceId:S}),A=11155111,wt=e({...l,id:84532,network:"base-sepolia",name:"Base Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.base.org"]}},blockExplorers:{default:{name:"Basescan",url:"https://sepolia.basescan.org",apiUrl:"https://api-sepolia.basescan.org/api"}},contracts:{...l.contracts,l2OutputOracle:{[A]:{address:"0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254"}},portal:{[A]:{address:"0x49f53e41452c74589e85ca1677426ba426459e85",blockCreated:4446677}},l1StandardBridge:{[A]:{address:"0xfd0Bf71F60660E2f608ed56e1659C450eB113120",blockCreated:4446677}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1059647}},testnet:!0,sourceId:A}),vt=e({id:4337,name:"Beam",network:"beam",nativeCurrency:{decimals:18,name:"Beam",symbol:"BEAM"},rpcUrls:{public:{http:["https://build.onbeam.com/rpc"],webSocket:["wss://build.onbeam.com/ws"]},default:{http:["https://build.onbeam.com/rpc"],webSocket:["wss://build.onbeam.com/ws"]}},blockExplorers:{default:{name:"Beam Explorer",url:"https://subnets.avax.network/beam"}},contracts:{multicall3:{address:"0x4956f15efdc3dc16645e90cc356eafa65ffc65ec",blockCreated:1}}}),Tt=e({id:13337,name:"Beam Testnet",network:"beam",nativeCurrency:{decimals:18,name:"Beam",symbol:"BEAM"},rpcUrls:{public:{http:["https://build.onbeam.com/rpc/testnet"],webSocket:["wss://build.onbeam.com/ws/testnet"]},default:{http:["https://build.onbeam.com/rpc/testnet"],webSocket:["wss://build.onbeam.com/ws/testnet"]}},blockExplorers:{default:{name:"Beam Explorer",url:"https://subnets-test.avax.network/beam"}},contracts:{multicall3:{address:"0x9bf49b704ee2a095b95c1f2d4eb9010510c41c9e",blockCreated:3}},testnet:!0}),Ut=e({id:641230,name:"Bear Network Chain Mainnet",nativeCurrency:{decimals:18,name:"BearNetworkChain",symbol:"BRNKC"},rpcUrls:{default:{http:["https://brnkc-mainnet.bearnetwork.net"]}},blockExplorers:{default:{name:"BrnkScan",url:"https://brnkscan.bearnetwork.net",apiUrl:"https://brnkscan.bearnetwork.net/api"}}}),gt=e({id:751230,name:"Bear Network Chain Testnet",nativeCurrency:{decimals:18,name:"tBRNKC",symbol:"tBRNKC"},rpcUrls:{default:{http:["https://brnkc-test.bearnetwork.net"]}},blockExplorers:{default:{name:"BrnkTestScan",url:"https://brnktest-scan.bearnetwork.net",apiUrl:"https://brnktest-scan.bearnetwork.net/api"}},testnet:!0}),St=e({id:80085,name:"Berachain Artio",nativeCurrency:{decimals:18,name:"BERA Token",symbol:"BERA"},rpcUrls:{default:{http:["https://artio.rpc.berachain.com"]}},blockExplorers:{default:{name:"Berachain",url:"https://artio.beratrail.io"}},testnet:!0}),At=e({id:11501,name:"BEVM Mainnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},rpcUrls:{default:{http:["https://rpc-mainnet-1.bevm.io"]}},blockExplorers:{default:{name:"Bevmscan",url:"https://scan-mainnet.bevm.io",apiUrl:"https://scan-mainnet-api.bevm.io/api"}}}),Bt=e({id:199,name:"BitTorrent",network:"bittorrent-chain-mainnet",nativeCurrency:{name:"BitTorrent",symbol:"BTT",decimals:18},rpcUrls:{default:{http:["https://rpc.bittorrentchain.io"]},public:{http:["https://rpc.bittorrentchain.io"]}},blockExplorers:{default:{name:"Bttcscan",url:"https://bttcscan.com",apiUrl:"https://api.bttcscan.com/api"}}}),Ft=e({id:1028,name:"BitTorrent Chain Testnet",network:"bittorrent-chain-testnet",nativeCurrency:{name:"BitTorrent",symbol:"BTT",decimals:18},rpcUrls:{default:{http:["https://testrpc.bittorrentchain.io"]},public:{http:["https://testrpc.bittorrentchain.io"]}},blockExplorers:{default:{name:"Bttcscan",url:"https://testnet.bttcscan.com",apiUrl:"https://testnet.bttcscan.com/api"}},testnet:!0}),ge=1,Mt=e({id:81457,name:"Blast",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.blast.io"]}},blockExplorers:{default:{name:"Blastscan",url:"https://blastscan.io",apiUrl:"https://api.blastscan.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:212929}},sourceId:ge}),Se=11155111,zt=e({id:168587773,name:"Blast Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.blast.io"]}},blockExplorers:{default:{name:"Blastscan",url:"https://sepolia.blastscan.io",apiUrl:"https://api-sepolia.blastscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:756690}},testnet:!0,sourceId:Se}),Dt=e({id:60808,name:"BOB",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.gobob.xyz"],webSocket:["wss://rpc.gobob.xyz"]}},blockExplorers:{default:{name:"Blockscout",url:"https://explorer.gobob.xyz"}},contracts:{multicall3:{address:"0x63f8279bccDb75c0F38e0CD6B6A0c72a0a760FF9",blockCreated:457045}},testnet:!1}),It=e({id:288,name:"Boba Network",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://mainnet.boba.network"]}},blockExplorers:{default:{name:"BOBAScan",url:"https://bobascan.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:446859}}}),_t=e({id:1039,name:"Bronos",nativeCurrency:{decimals:18,name:"BRO",symbol:"BRO"},rpcUrls:{default:{http:["https://evm.bronos.org"]}},blockExplorers:{default:{name:"BronoScan",url:"https://broscan.bronos.org"}}}),Ht=e({id:1038,name:"Bronos Testnet",nativeCurrency:{decimals:18,name:"Bronos Coin",symbol:"tBRO"},rpcUrls:{default:{http:["https://evm-testnet.bronos.org"]}},blockExplorers:{default:{name:"BronoScan",url:"https://tbroscan.bronos.org"}},testnet:!0}),Pt=e({id:56,name:"BNB Smart Chain",nativeCurrency:{decimals:18,name:"BNB",symbol:"BNB"},rpcUrls:{default:{http:["https://rpc.ankr.com/bsc"]}},blockExplorers:{default:{name:"BscScan",url:"https://bscscan.com",apiUrl:"https://api.bscscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:15921452}}}),Ot=e({id:97,name:"Binance Smart Chain Testnet",nativeCurrency:{decimals:18,name:"BNB",symbol:"tBNB"},rpcUrls:{default:{http:["https://data-seed-prebsc-1-s1.bnbchain.org:8545"]}},blockExplorers:{default:{name:"BscScan",url:"https://testnet.bscscan.com",apiUrl:"https://testnet.bscscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:17422483}},testnet:!0}),Lt=e({id:1017,name:"BNB Greenfield Chain",nativeCurrency:{decimals:18,name:"BNB",symbol:"BNB"},rpcUrls:{default:{http:["https://greenfield-chain.bnbchain.org"]}},blockExplorers:{default:{name:"BNB Greenfield Mainnet Scan",url:"https://greenfieldscan.com"}},testnet:!1}),Nt=e({id:200901,name:"Bitlayer",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.bitlayer.org","https://rpc.bitlayer-rpc.com","https://rpc.ankr.com/bitlayer"],webSocket:["wss://ws.bitlayer.org","wss://ws.bitlayer-rpc.com"]}},blockExplorers:{default:{name:"btrscan",url:"https://www.btrscan.com",apiUrl:"https://www.btrscan.com/apis"}}}),Rt=e({id:200810,name:"Bitlayer Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://testnet-rpc.bitlayer.org"],webSocket:["wss://testnet-ws.bitlayer.org","wss://testnet-ws.bitlayer-rpc.com"]}},blockExplorers:{default:{name:"btrscan",url:"https://testnet-scan.bitlayer.org",apiUrl:"https://testnet-scan.bitlayer.org/apis"}}}),Kt=e({id:4999,name:"BlackFort Exchange Network",nativeCurrency:{name:"BlackFort Token",symbol:"BXN",decimals:18},rpcUrls:{default:{http:["https://mainnet.blackfort.network/rpc"]}},blockExplorers:{default:{name:"Blockscout",url:"https://explorer.blackfort.network",apiUrl:"https://explorer.blackfort.network/api"}}}),Gt=e({id:4777,name:"BlackFort Exchange Network Testnet",nativeCurrency:{name:"BlackFort Testnet Token",symbol:"TBXN",decimals:18},rpcUrls:{default:{http:["https://testnet.blackfort.network/rpc"]}},blockExplorers:{default:{name:"Blockscout",url:"https://testnet-explorer.blackfort.network",apiUrl:"https://testnet-explorer.blackfort.network/api"}},testnet:!0}),Vt=e({id:7700,name:"Canto",nativeCurrency:{decimals:18,name:"Canto",symbol:"CANTO"},rpcUrls:{default:{http:["https://canto.gravitychain.io"]}},blockExplorers:{default:{name:"Tuber.Build (Blockscout)",url:"https://tuber.build"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:2905789}}}),Ae={estimateFeesPerGas:async t=>{var r;if(!((r=t.request)!=null&&r.feeCurrency))return null;const[a,s]=await Promise.all([Be(t.client,t.request.feeCurrency),Fe(t.client,t.request.feeCurrency)]);return{maxFeePerGas:a,maxPriorityFeePerGas:s}}};async function Be(t,a){const s=await t.request({method:"eth_gasPrice",params:[a]});return BigInt(s)}async function Fe(t,a){const s=await t.request({method:"eth_maxPriorityFeePerGas",params:[a]});return BigInt(s)}function re(t){return t===0||t===0n||t===void 0||t===null||t==="0"||t===""||typeof t=="string"&&(W(t).toLowerCase()==="0x"||W(t).toLowerCase()==="0x00")}function w(t){return!re(t)}function Me(t){return typeof t.maxFeePerGas<"u"&&typeof t.maxPriorityFeePerGas<"u"}function se(t){return t.type==="cip64"?!0:Me(t)&&w(t.feeCurrency)}const ze={block:G({exclude:["difficulty","gasLimit","mixHash","nonce","uncles"],format(t){var s;const a=(s=t.transactions)==null?void 0:s.map(r=>typeof r=="string"?r:{...J(r),feeCurrency:r.feeCurrency,...r.type!=="0x7b"?{gatewayFee:r.gatewayFee?i(r.gatewayFee):null,gatewayFeeRecipient:r.gatewayFeeRecipient||null}:{}});return{randomness:t.randomness,transactions:a}}}),transaction:V({format(t){const a={feeCurrency:t.feeCurrency};return t.type==="0x7b"?a.type="cip64":(t.type==="0x7c"&&(a.type="cip42"),a.gatewayFee=t.gatewayFee?i(t.gatewayFee):null,a.gatewayFeeRecipient=t.gatewayFeeRecipient),a}}),transactionRequest:te({format(t){const a={feeCurrency:t.feeCurrency};return se(t)&&(a.type="0x7b"),a}})};function De(t,a){return se(t)?_e(t,a):X(t,a)}const Ie={transaction:De};function _e(t,a){Pe(t);const{chainId:s,gas:r,nonce:n,to:c,value:p,maxFeePerGas:m,maxPriorityFeePerGas:d,accessList:b,feeCurrency:f,data:y}=t,h=[o(s),n?o(n):"0x",d?o(d):"0x",m?o(m):"0x",r?o(r):"0x",c??"0x",p?o(p):"0x",y??"0x",de(b),f,...me(t,a)];return q(["0x7b",j(h)])}const He=2n**256n-1n;function Pe(t){const{chainId:a,maxPriorityFeePerGas:s,gasPrice:r,maxFeePerGas:n,to:c,feeCurrency:p}=t;if(a<=0)throw new ae({chainId:a});if(c&&!k(c))throw new E({address:c});if(r)throw new u("`gasPrice` is not a valid CIP-64 Transaction attribute.");if(w(n)&&n>He)throw new ue({maxFeePerGas:n});if(w(s)&&w(n)&&s>n)throw new be({maxFeePerGas:n,maxPriorityFeePerGas:s});if(w(p)&&!k(p))throw new u("`feeCurrency` MUST be a token address for CIP-64 transactions.");if(re(p))throw new u("`feeCurrency` must be provided for CIP-64 transactions.")}const ne={formatters:ze,serializers:Ie,fees:Ae},Xt=e({...ne,id:42220,name:"Celo",nativeCurrency:{decimals:18,name:"CELO",symbol:"CELO"},rpcUrls:{default:{http:["https://forno.celo.org"]}},blockExplorers:{default:{name:"Celo Explorer",url:"https://celoscan.io",apiUrl:"https://api.celoscan.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:13112599}},testnet:!1}),qt=e({...ne,id:44787,name:"Alfajores",nativeCurrency:{decimals:18,name:"CELO",symbol:"A-CELO"},rpcUrls:{default:{http:["https://alfajores-forno.celo-testnet.org"]}},blockExplorers:{default:{name:"Celo Explorer",url:"https://explorer.celo.org/alfajores",apiUrl:"https://explorer.celo.org/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:14569001}},testnet:!0}),jt=e({id:88888,name:"Chiliz Chain",network:"chiliz-chain",nativeCurrency:{decimals:18,name:"CHZ",symbol:"CHZ"},rpcUrls:{default:{http:["https://rpc.ankr.com/chiliz","https://chiliz-rpc.publicnode.com"]}},blockExplorers:{default:{name:"Chiliz Explorer",url:"https://scan.chiliz.com",apiUrl:"https://scan.chiliz.com/api"}}}),Zt=e({id:61,name:"Ethereum Classic",nativeCurrency:{decimals:18,name:"ETC",symbol:"ETC"},rpcUrls:{default:{http:["https://etc.rivet.link"]}},blockExplorers:{default:{name:"Blockscout",url:"https://blockscout.com/etc/mainnet"}}}),$t=e({id:1030,name:"Conflux eSpace",nativeCurrency:{name:"Conflux",symbol:"CFX",decimals:18},rpcUrls:{default:{http:["https://evm.confluxrpc.org"],webSocket:["wss://evm.confluxrpc.org/ws"]}},blockExplorers:{default:{name:"ConfluxScan",url:"https://evm.confluxscan.io"}},contracts:{multicall3:{address:"0xEFf0078910f638cd81996cc117bccD3eDf2B072F",blockCreated:68602935}}}),Wt=e({id:71,name:"Conflux eSpace Testnet",network:"cfx-espace-testnet",testnet:!0,nativeCurrency:{name:"Conflux",symbol:"CFX",decimals:18},rpcUrls:{default:{http:["https://evmtestnet.confluxrpc.org"],webSocket:["wss://evmtestnet.confluxrpc.org/ws"]}},blockExplorers:{default:{name:"ConfluxScan",url:"https://evmtestnet.confluxscan.io"}},contracts:{multicall3:{address:"0xEFf0078910f638cd81996cc117bccD3eDf2B072F",blockCreated:117499050}}}),Qt=e({id:1116,name:"Core Dao",nativeCurrency:{decimals:18,name:"Core",symbol:"CORE"},rpcUrls:{default:{http:["https://rpc.coredao.org"]}},blockExplorers:{default:{name:"CoreDao",url:"https://scan.coredao.org"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:11907934}},testnet:!1}),Yt=e({id:25,name:"Cronos Mainnet",nativeCurrency:{decimals:18,name:"Cronos",symbol:"CRO"},rpcUrls:{default:{http:["https://evm.cronos.org"]}},blockExplorers:{default:{name:"Cronos Explorer",url:"https://explorer.cronos.org",apiUrl:"https://explorer-api.cronos.org/mainnet/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:1963112}}}),Jt=e({id:338,name:"Cronos Testnet",nativeCurrency:{decimals:18,name:"CRO",symbol:"tCRO"},rpcUrls:{default:{http:["https://evm-t3.cronos.org"]}},blockExplorers:{default:{name:"Cronos Explorer",url:"https://cronos.org/explorer/testnet3"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:10191251}},testnet:!0}),ea=e({id:3737,name:"Crossbell",nativeCurrency:{decimals:18,name:"CSB",symbol:"CSB"},rpcUrls:{default:{http:["https://rpc.crossbell.io"]}},blockExplorers:{default:{name:"CrossScan",url:"https://scan.crossbell.io",apiUrl:"https://scan.crossbell.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:38246031}}}),ta=e({id:7560,name:"Cyber",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://cyber.alt.technology"]}},blockExplorers:{default:{name:"Blockscout",url:"https://cyberscan.co",apiUrl:"https://cyberscan.co/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:0}}}),aa=e({id:111557560,name:"Cyber Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://cyber-testnet.alt.technology"]}},blockExplorers:{default:{name:"Blockscout",url:"https://testnet.cyberscan.co",apiUrl:"https://testnet.cyberscan.co/api"}},contracts:{multicall3:{address:"0xffc391F0018269d4758AEA1a144772E8FB99545E",blockCreated:304545}},testnet:!0}),ra=e({id:46,name:"Darwinia Network",nativeCurrency:{decimals:18,name:"RING",symbol:"RING"},rpcUrls:{default:{http:["https://rpc.darwinia.network"],webSocket:["wss://rpc.darwinia.network"]}},blockExplorers:{default:{name:"Explorer",url:"https://darwinia.subscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:69420}}}),sa=e({id:1130,network:"defichain-evm",name:"DeFiChain EVM Mainnet",nativeCurrency:{name:"DeFiChain",symbol:"DFI",decimals:8},rpcUrls:{default:{http:["https://eth.mainnet.ocean.jellyfishsdk.com"]},public:{http:["https://eth.mainnet.ocean.jellyfishsdk.com"]}},blockExplorers:{default:{name:"DeFiScan",url:"https://meta.defiscan.live"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:137852}}}),na=e({id:1131,network:"defichain-evm-testnet",name:"DeFiChain EVM Testnet",nativeCurrency:{name:"DeFiChain",symbol:"DFI",decimals:8},rpcUrls:{default:{http:["https://eth.testnet.ocean.jellyfishsdk.com"]},public:{http:["https://eth.testnet.ocean.jellyfishsdk.com"]}},blockExplorers:{default:{name:"DeFiScan",url:"https://meta.defiscan.live/?network=TestNet"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:156462}},testnet:!0}),la=e({id:666666666,name:"Degen",nativeCurrency:{decimals:18,name:"Degen",symbol:"DEGEN"},rpcUrls:{default:{http:["https://rpc.degen.tips"],webSocket:["wss://rpc.degen.tips"]}},blockExplorers:{default:{name:"Degen Chain Explorer",url:"https://explorer.degen.tips",apiUrl:"https://explorer.degen.tips/api/v2"}}}),oa=e({id:53935,name:"DFK Chain",nativeCurrency:{decimals:18,name:"Jewel",symbol:"JEWEL"},rpcUrls:{default:{http:["https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"]}},blockExplorers:{default:{name:"DFKSubnetScan",url:"https://subnets.avax.network/defi-kingdoms"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14790551}}}),ca=e({id:53457,name:"DODOchain Testnet",nativeCurrency:{decimals:18,name:"DODO",symbol:"DODO"},rpcUrls:{default:{http:["https://dodochain-testnet.alt.technology"],webSocket:["wss://dodochain-testnet.alt.technology/ws"]}},blockExplorers:{default:{name:"DODOchain Testnet (Sepolia) Explorer",url:"https://testnet-scan.dodochain.com"}},testnet:!0}),ia=e({id:2e3,name:"Dogechain",nativeCurrency:{decimals:18,name:"Dogechain",symbol:"DC"},rpcUrls:{default:{http:["https://rpc.dogechain.dog"]}},blockExplorers:{default:{name:"DogeChainExplorer",url:"https://explorer.dogechain.dog",apiUrl:"https://explorer.dogechain.dog/api"}}}),pa=e({id:23451,name:"DreyerX Mainnet",nativeCurrency:{name:"DreyerX",symbol:"DRX",decimals:18},rpcUrls:{default:{http:["https://rpc.dreyerx.com"]}},blockExplorers:{default:{name:"DreyerX Scan",url:"https://scan.dreyerx.com"}}}),da=e({id:2026,name:"Edgeless Network",nativeCurrency:{name:"Edgeless Wrapped ETH",symbol:"EwETH",decimals:18},rpcUrls:{default:{http:["https://rpc.edgeless.network/http"],webSocket:["wss://rpc.edgeless.network/ws"]}},blockExplorers:{default:{name:"Edgeless Explorer",url:"https://explorer.edgeless.network"}}}),ma=e({id:202,name:"Edgeless Testnet",nativeCurrency:{name:"Edgeless Wrapped ETH",symbol:"EwETH",decimals:18},rpcUrls:{default:{http:["https://edgeless-testnet.rpc.caldera.xyz/http"],webSocket:["wss://edgeless-testnet.rpc.caldera.xyz/ws"]}},blockExplorers:{default:{name:"Edgeless Testnet Explorer",url:"https://testnet.explorer.edgeless.network"}}}),ua=e({id:2021,name:"Edgeware EdgeEVM Mainnet",nativeCurrency:{decimals:18,name:"Edgeware",symbol:"EDG"},rpcUrls:{default:{http:["https://edgeware-evm.jelliedowl.net"]}},blockExplorers:{default:{name:"Edgscan by Bharathcoorg",url:"https://edgscan.live",apiUrl:"https://edgscan.live/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:18117872}}}),ba=e({id:2022,name:"Beresheet BereEVM Testnet",nativeCurrency:{decimals:18,name:"Testnet EDG",symbol:"tEDG"},rpcUrls:{default:{http:["https://beresheet-evm.jelliedowl.net"]}},blockExplorers:{default:{name:"Edgscan by Bharathcoorg",url:"https://testnet.edgscan.live",apiUrl:"https://testnet.edgscan.live/api"}}}),ha=e({id:7332,name:"Horizen EON",nativeCurrency:{decimals:18,name:"ZEN",symbol:"ZEN"},rpcUrls:{default:{http:["https://eon-rpc.horizenlabs.io/ethv1"]}},blockExplorers:{default:{name:"EON Explorer",url:"https://eon-explorer.horizenlabs.io"}},contracts:{}}),ka=e({id:17777,name:"EOS EVM",nativeCurrency:{decimals:18,name:"EOS",symbol:"EOS"},rpcUrls:{default:{http:["https://api.evm.eosnetwork.com"]}},blockExplorers:{default:{name:"EOS EVM Explorer",url:"https://explorer.evm.eosnetwork.com",apiUrl:"https://explorer.evm.eosnetwork.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:7943933}}}),xa=e({id:15557,name:"EOS EVM Testnet",nativeCurrency:{decimals:18,name:"EOS",symbol:"EOS"},rpcUrls:{default:{http:["https://api.testnet.evm.eosnetwork.com"]}},blockExplorers:{default:{name:"EOS EVM Testnet Explorer",url:"https://explorer.testnet.evm.eosnetwork.com",apiUrl:"https://explorer.testnet.evm.eosnetwork.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:9067940}},testnet:!0}),fa=e({id:128123,name:"Etherlink Testnet",nativeCurrency:{decimals:18,name:"Tez",symbol:"XTZ"},rpcUrls:{default:{http:["https://node.ghostnet.etherlink.com"]}},blockExplorers:{default:{name:"Etherlink Testnet",url:"https://testnet-explorer.etherlink.com"}},testnet:!0}),ya=e({id:9001,name:"Evmos",nativeCurrency:{decimals:18,name:"Evmos",symbol:"EVMOS"},rpcUrls:{default:{http:["https://eth.bd.evmos.org:8545"]}},blockExplorers:{default:{name:"Evmos Block Explorer",url:"https://escan.live"}}}),Ea=e({id:9e3,name:"Evmos Testnet",nativeCurrency:{decimals:18,name:"Evmos",symbol:"EVMOS"},rpcUrls:{default:{http:["https://eth.bd.evmos.dev:8545"]}},blockExplorers:{default:{name:"Evmos Testnet Block Explorer",url:"https://evm.evmos.dev/"}}}),Ca=e({id:1994,name:"Ekta",nativeCurrency:{decimals:18,name:"EKTA",symbol:"EKTA"},rpcUrls:{default:{http:["https://main.ekta.io"]}},blockExplorers:{default:{name:"Ektascan",url:"https://ektascan.io",apiUrl:"https://ektascan.io/api"}}}),wa=e({id:1004,name:"Ekta Testnet",nativeCurrency:{decimals:18,name:"EKTA",symbol:"EKTA"},rpcUrls:{default:{http:["https://test.ekta.io:8545"]}},blockExplorers:{default:{name:"Test Ektascan",url:"https://test.ektascan.io",apiUrl:"https://test.ektascan.io/api"}},testnet:!0}),va=e({id:250,name:"Fantom",nativeCurrency:{decimals:18,name:"Fantom",symbol:"FTM"},rpcUrls:{default:{http:["https://rpc.ankr.com/fantom"]}},blockExplorers:{default:{name:"FTMScan",url:"https://ftmscan.com",apiUrl:"https://api.ftmscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:33001987}}}),Ta=e({id:64240,name:"Fantom Sonic Open Testnet",network:"fantom-sonic-testnet",nativeCurrency:{decimals:18,name:"Fantom",symbol:"FTM"},rpcUrls:{default:{http:["https://rpcapi.sonic.fantom.network"]}},blockExplorers:{default:{name:"Fantom Sonic Open Testnet Explorer",url:"https://public-sonic.fantom.network"}},testnet:!0}),Ua=e({id:4002,name:"Fantom Testnet",nativeCurrency:{decimals:18,name:"Fantom",symbol:"FTM"},rpcUrls:{default:{http:["https://rpc.testnet.fantom.network"]}},blockExplorers:{default:{name:"FTMScan",url:"https://testnet.ftmscan.com",apiUrl:"https://testnet.ftmscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:8328688}}}),ga=e({id:12306,name:"Fibo Chain",nativeCurrency:{decimals:18,name:"fibo",symbol:"FIBO"},rpcUrls:{default:{http:["https://network.hzroc.art"]}},blockExplorers:{default:{name:"FiboScan",url:"https://scan.fibochain.org"}}}),Sa=e({id:314,name:"Filecoin Mainnet",nativeCurrency:{decimals:18,name:"filecoin",symbol:"FIL"},rpcUrls:{default:{http:["https://api.node.glif.io/rpc/v1"]}},blockExplorers:{default:{name:"Filfox",url:"https://filfox.info/en"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:3328594}}}),Aa=e({id:314159,name:"Filecoin Calibration",nativeCurrency:{decimals:18,name:"testnet filecoin",symbol:"tFIL"},rpcUrls:{default:{http:["https://api.calibration.node.glif.io/rpc/v1"]}},blockExplorers:{default:{name:"Filscan",url:"https://calibration.filscan.io"}},testnet:!0}),Ba=e({id:3141,name:"Filecoin Hyperspace",nativeCurrency:{decimals:18,name:"testnet filecoin",symbol:"tFIL"},rpcUrls:{default:{http:["https://api.hyperspace.node.glif.io/rpc/v1"]}},blockExplorers:{default:{name:"Filfox",url:"https://hyperspace.filfox.info/en"}},testnet:!0}),Fa=e({id:14,name:"Flare Mainnet",nativeCurrency:{decimals:18,name:"flare",symbol:"FLR"},rpcUrls:{default:{http:["https://flare-api.flare.network/ext/C/rpc"]}},blockExplorers:{default:{name:"Flare Explorer",url:"https://flare-explorer.flare.network",apiUrl:"https://flare-explorer.flare.network/api"}}}),Ma=e({id:114,name:"Coston2",nativeCurrency:{decimals:18,name:"coston2flare",symbol:"C2FLR"},rpcUrls:{default:{http:["https://coston2-api.flare.network/ext/C/rpc"]}},blockExplorers:{default:{name:"Coston2 Explorer",url:"https://coston2-explorer.flare.network",apiUrl:"https://coston2-explorer.flare.network/api"}},testnet:!0}),za=e({id:646,name:"FlowEVM Previewnet",nativeCurrency:{decimals:18,name:"Flow",symbol:"FLOW"},rpcUrls:{default:{http:["https://previewnet.evm.nodes.onflow.org"]}},blockExplorers:{default:{name:"Previewnet Explorer",url:"https://previewnet.flowdiver.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:6205}}}),Da=e({id:747,name:"FlowEVM Mainnet",nativeCurrency:{decimals:18,name:"Flow",symbol:"FLOW"},rpcUrls:{default:{http:["https://mainnet.evm.nodes.onflow.org"]}},blockExplorers:{default:{name:"Mainnet Explorer",url:"https://flowdiver.io"}}}),Ia=e({id:545,name:"FlowEVM Testnet",nativeCurrency:{decimals:18,name:"Flow",symbol:"FLOW"},rpcUrls:{default:{http:["https://testnet.evm.nodes.onflow.org"]}},blockExplorers:{default:{name:"Flow Diver",url:"https://testnet.flowdiver.io"}}}),_a=e({id:31337,name:"Foundry",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["http://127.0.0.1:8545"],webSocket:["ws://127.0.0.1:8545"]}}}),B=1,Ha=e({...l,id:252,name:"Fraxtal",nativeCurrency:{name:"Frax Ether",symbol:"frxETH",decimals:18},rpcUrls:{default:{http:["https://rpc.frax.com"]}},blockExplorers:{default:{name:"fraxscan",url:"https://fraxscan.com",apiUrl:"https://api.fraxscan.com/api"}},contracts:{...l.contracts,l2OutputOracle:{[B]:{address:"0x66CC916Ed5C6C2FA97014f7D1cD141528Ae171e4"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11"},portal:{[B]:{address:"0x36cb65c1967A0Fb0EEE11569C51C2f2aA1Ca6f6D",blockCreated:19135323}},l1StandardBridge:{[B]:{address:"0x34C0bD5877A5Ee7099D0f5688D65F4bB9158BDE2",blockCreated:19135323}}},sourceId:B}),F=17e3,Pa=e({...l,id:2522,name:"Fraxtal Testnet",nativeCurrency:{name:"Frax Ether",symbol:"frxETH",decimals:18},rpcUrls:{default:{http:["https://rpc.testnet.frax.com"]}},blockExplorers:{default:{name:"fraxscan testnet",url:"https://holesky.fraxscan.com",apiUrl:"https://api-holesky.fraxscan.com/api"}},contracts:{...l.contracts,l2OutputOracle:{[F]:{address:"0x715EA64DA13F4d0831ece4Ad3E8c1aa013167F32"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11"},portal:{[F]:{address:"0xB9c64BfA498d5b9a8398Ed6f46eb76d90dE5505d",blockCreated:318416}},l1StandardBridge:{[F]:{address:"0x0BaafC217162f64930909aD9f2B27125121d6332",blockCreated:318416}}},sourceId:F}),Oe=11155111,Oa=e({...l,id:3397901,network:"funkiSepolia",name:"Funki Sepolia Sandbox",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://funki-testnet.alt.technology"]}},blockExplorers:{default:{name:"Funki Sepolia Sandbox Explorer",url:"https://sepolia-sandbox.funkichain.com/"}},testnet:!0,contracts:{...l.contracts,multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1620204}},sourceId:Oe}),La=e({id:122,name:"Fuse",nativeCurrency:{name:"Fuse",symbol:"FUSE",decimals:18},rpcUrls:{default:{http:["https://rpc.fuse.io"]}},blockExplorers:{default:{name:"Fuse Explorer",url:"https://explorer.fuse.io",apiUrl:"https://explorer.fuse.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:16146628}}}),Na=e({id:123,name:"Fuse Sparknet",nativeCurrency:{name:"Spark",symbol:"SPARK",decimals:18},rpcUrls:{default:{http:["https://rpc.fusespark.io"]}},blockExplorers:{default:{name:"Sparkent Explorer",url:"https://explorer.fusespark.io",apiUrl:"https://explorer.fusespark.io/api"}}}),Ra=e({id:4689,name:"IoTeX",nativeCurrency:{decimals:18,name:"IoTeX",symbol:"IOTX"},rpcUrls:{default:{http:["https://babel-api.mainnet.iotex.io"],webSocket:["wss://babel-api.mainnet.iotex.io"]}},blockExplorers:{default:{name:"IoTeXScan",url:"https://iotexscan.io"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:22163670}}}),Ka=e({id:4690,name:"IoTeX Testnet",nativeCurrency:{decimals:18,name:"IoTeX",symbol:"IOTX"},rpcUrls:{default:{http:["https://babel-api.testnet.iotex.io"],webSocket:["wss://babel-api.testnet.iotex.io"]}},blockExplorers:{default:{name:"IoTeXScan",url:"https://testnet.iotexscan.io"}},testnet:!0}),Ga=e({id:8899,name:"JIBCHAIN L1",network:"jbc",nativeCurrency:{name:"JBC",symbol:"JBC",decimals:18},rpcUrls:{default:{http:["https://rpc-l1.jibchain.net"]},public:{http:["https://rpc-l1.jibchain.net"]}},blockExplorers:{default:{name:"Blockscout",url:"https://exp-l1.jibchain.net",apiUrl:"https://exp-l1.jibchain.net/api"}},contracts:{multicall3:{address:"0xc0C8C486D1466C57Efe13C2bf000d4c56F47CBdC",blockCreated:2299048}},testnet:!1}),Va=e({id:88991,name:"Jibchain Testnet",nativeCurrency:{name:"tJBC",symbol:"tJBC",decimals:18},rpcUrls:{default:{http:["https://rpc.testnet.jibchain.net"]}},blockExplorers:{default:{name:"Blockscout",url:"https://exp.testnet.jibchain.net",apiUrl:"https://exp.testnet.jibchain.net/api"}},contracts:{multicall3:{address:"0xa1a858ad9041B4741e620355a3F96B3c78e70ecE",blockCreated:32848}},testnet:!0}),Xa=e({id:686,name:"Karura",network:"karura",nativeCurrency:{name:"Karura",symbol:"KAR",decimals:18},rpcUrls:{public:{http:["https://eth-rpc-karura.aca-api.network"],webSocket:["wss://eth-rpc-karura.aca-api.network"]},default:{http:["https://eth-rpc-karura.aca-api.network"],webSocket:["wss://eth-rpc-karura.aca-api.network"]}},blockExplorers:{default:{name:"Karura Blockscout",url:"https://blockscout.karura.network",apiUrl:"https://blockscout.karura.network/api"}},testnet:!1}),qa=e({id:1663,name:"Horizen Gobi Testnet",nativeCurrency:{decimals:18,name:"Test ZEN",symbol:"tZEN"},rpcUrls:{default:{http:["https://gobi-testnet.horizenlabs.io/ethv1"]}},blockExplorers:{default:{name:"Gobi Explorer",url:"https://gobi-explorer.horizen.io"}},contracts:{},testnet:!0}),ja=e({id:5,name:"Goerli",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.ankr.com/eth_goerli"]}},blockExplorers:{default:{name:"Etherscan",url:"https://goerli.etherscan.io",apiUrl:"https://api-goerli.etherscan.io/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0xfc4AC75C46C914aF5892d6d3eFFcebD7917293F1",blockCreated:10339206},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:6507670}},testnet:!0}),Za=e({id:100,name:"Gnosis",nativeCurrency:{decimals:18,name:"Gnosis",symbol:"xDAI"},rpcUrls:{default:{http:["https://rpc.gnosischain.com"],webSocket:["wss://rpc.gnosischain.com/wss"]}},blockExplorers:{default:{name:"Gnosisscan",url:"https://gnosisscan.io",apiUrl:"https://api.gnosisscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:21022491}}}),$a=e({id:10200,name:"Gnosis Chiado",nativeCurrency:{decimals:18,name:"Gnosis",symbol:"xDAI"},rpcUrls:{default:{http:["https://rpc.chiadochain.net"],webSocket:["wss://rpc.chiadochain.net/wss"]}},blockExplorers:{default:{name:"Blockscout",url:"https://blockscout.chiadochain.net",apiUrl:"https://blockscout.chiadochain.net/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:4967313}},testnet:!0}),Wa=e({id:31337,name:"Hardhat",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["http://127.0.0.1:8545"]}}}),Qa=e({id:16666e5,name:"Harmony One",nativeCurrency:{name:"Harmony",symbol:"ONE",decimals:18},rpcUrls:{default:{http:["https://rpc.ankr.com/harmony"]}},blockExplorers:{default:{name:"Harmony Explorer",url:"https://explorer.harmony.one"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:24185753}}}),Ya=e({id:11235,name:"HAQQ Mainnet",nativeCurrency:{decimals:18,name:"Islamic Coin",symbol:"ISLM"},rpcUrls:{default:{http:["https://rpc.eth.haqq.network"]}},blockExplorers:{default:{name:"HAQQ Explorer",url:"https://explorer.haqq.network",apiUrl:"https://explorer.haqq.network/api"}}}),Ja=e({id:54211,name:"HAQQ Testedge 2",nativeCurrency:{decimals:18,name:"Islamic Coin",symbol:"ISLMT"},rpcUrls:{default:{http:["https://rpc.eth.testedge2.haqq.network"]}},blockExplorers:{default:{name:"HAQQ Explorer",url:"https://explorer.testedge2.haqq.network",apiUrl:"https://explorer.testedge2.haqq.network/api"}}}),er=e({id:295,name:"Hedera Mainnet",network:"hedera-mainnet",nativeCurrency:{symbol:"HBAR",name:"HBAR",decimals:18},rpcUrls:{default:{http:["https://mainnet.hashio.io/api"]}},blockExplorers:{default:{name:"Hashscan",url:"https://hashscan.io/mainnet"}},testnet:!1}),tr=e({id:296,name:"Hedera Testnet",network:"hedera-testnet",nativeCurrency:{symbol:"HBAR",name:"HBAR",decimals:18},rpcUrls:{default:{http:["https://testnet.hashio.io/api"]}},blockExplorers:{default:{name:"Hashscan",url:"https://hashscan.io/testnet"}},testnet:!0}),ar=e({id:297,name:"Hedera Previewnet",network:"hedera-previewnet",nativeCurrency:{symbol:"HBAR",name:"HBAR",decimals:18},rpcUrls:{default:{http:["https://previewnet.hashio.io/api"]}},blockExplorers:{default:{name:"Hashscan",url:"https://hashscan.io/previewnet"}},testnet:!0}),rr=e({id:17e3,name:"Holesky",nativeCurrency:{name:"Holesky Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://ethereum-holesky-rpc.publicnode.com"]}},blockExplorers:{default:{name:"Etherscan",url:"https://holesky.etherscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:77},ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",blockCreated:801613},ensUniversalResolver:{address:"0xa6AC935D4971E3CD133b950aE053bECD16fE7f3b",blockCreated:973484}},testnet:!0}),sr=e({id:13371,name:"Immutable zkEVM",nativeCurrency:{decimals:18,name:"Immutable Coin",symbol:"IMX"},rpcUrls:{default:{http:["https://rpc.immutable.com"]}},blockExplorers:{default:{name:"Immutable Explorer",url:"https://explorer.immutable.com"}},contracts:{multicall3:{address:"0x236bdA4589e44e6850f5aC6a74BfCa398a86c6c0",blockCreated:4335972}}}),nr=e({id:13473,name:"Immutable zkEVM Testnet",nativeCurrency:{decimals:18,name:"Immutable Coin",symbol:"IMX"},rpcUrls:{default:{http:["https://rpc.testnet.immutable.com"]}},blockExplorers:{default:{name:"Immutable Testnet Explorer",url:"https://explorer.testnet.immutable.com/"}},contracts:{multicall3:{address:"0x2CC787Ed364600B0222361C4188308Fa8E68bA60",blockCreated:5977391}},testnet:!0}),lr=e({id:2525,name:"inEVM Mainnet",nativeCurrency:{decimals:18,name:"Injective",symbol:"INJ"},rpcUrls:{default:{http:["https://mainnet.rpc.inevm.com/http"]}},blockExplorers:{default:{name:"inEVM Explorer",url:"https://inevm.calderaexplorer.xyz",apiUrl:"https://inevm.calderaexplorer.xyz/api/v2"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:118606}}}),or=e({id:107107114116,name:"Kakarot Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia-rpc.kakarot.org"]}},blockExplorers:{default:{name:"Kakarot Scan",url:"https://sepolia.kakarotscan.org"}},testnet:!0}),cr=e({id:2222,name:"Kava EVM",network:"kava-mainnet",nativeCurrency:{name:"Kava",symbol:"KAVA",decimals:18},rpcUrls:{default:{http:["https://evm.kava.io"]}},blockExplorers:{default:{name:"Kava EVM Explorer",url:"https://kavascan.com",apiUrl:"https://kavascan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:3661165}},testnet:!1}),ir=e({id:2221,name:"Kava EVM Testnet",network:"kava-testnet",nativeCurrency:{name:"Kava",symbol:"KAVA",decimals:18},rpcUrls:{default:{http:["https://evm.testnet.kava.io"]}},blockExplorers:{default:{name:"Kava EVM Testnet Explorer",url:"https://testnet.kavascan.com/",apiUrl:"https://testnet.kavascan.com/api"}},contracts:{multicall3:{address:"0xDf1D724A7166261eEB015418fe8c7679BBEa7fd6",blockCreated:7242179}},testnet:!0}),pr=e({id:321,name:"KCC Mainnet",network:"KCC Mainnet",nativeCurrency:{decimals:18,name:"KCS",symbol:"KCS"},rpcUrls:{default:{http:["https://kcc-rpc.com"]},public:{http:["https://kcc-rpc.com"]}},blockExplorers:{default:{name:"KCC Explorer",url:"https://explorer.kcc.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:11760430}},testnet:!1}),dr=e({id:8217,name:"Klaytn",nativeCurrency:{decimals:18,name:"Klaytn",symbol:"KLAY"},rpcUrls:{default:{http:["https://public-en-cypress.klaytn.net"]}},blockExplorers:{default:{name:"KlaytnScope",url:"https://scope.klaytn.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:96002415}}}),mr=e({id:1001,name:"Klaytn Baobab Testnet",network:"klaytn-baobab",nativeCurrency:{decimals:18,name:"Baobab Klaytn",symbol:"KLAY"},rpcUrls:{default:{http:["https://public-en-baobab.klaytn.net"]}},blockExplorers:{default:{name:"KlaytnScope",url:"https://baobab.klaytnscope.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:123390593}},testnet:!0}),ur=e({id:255,name:"Kroma",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://api.kroma.network"]}},blockExplorers:{default:{name:"Kroma Explorer",url:"https://blockscout.kroma.network",apiUrl:"https://blockscout.kroma.network/api"}},testnet:!1}),br=e({id:2358,name:"Kroma Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://api.sepolia.kroma.network"]}},blockExplorers:{default:{name:"Kroma Sepolia Explorer",url:"https://blockscout.sepolia.kroma.network",apiUrl:"https://blockscout.sepolia.kroma.network/api"}},testnet:!0}),hr=e({id:12324,name:"L3X Protocol",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc-mainnet.l3x.com"],webSocket:["wss://rpc-mainnet.l3x.com"]}},blockExplorers:{default:{name:"L3X Mainnet Explorer",url:"https://explorer.l3x.com",apiUrl:"https://explorer.l3x.com/api/v2"}},testnet:!1}),kr=e({id:12325,name:"L3X Protocol Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc-testnet.l3x.com"],webSocket:["wss://rpc-testnet.l3x.com"]}},blockExplorers:{default:{name:"L3X Testnet Explorer",url:"https://explorer-testnet.l3x.com",apiUrl:"https://explorer-testnet.l3x.com/api/v2"}},testnet:!0}),xr=e({id:1891,name:"LightLink Pegasus Testnet",network:"lightlink-pegasus",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://replicator.pegasus.lightlink.io/rpc/v1"]}},blockExplorers:{default:{name:"LightLink Pegasus Explorer",url:"https://pegasus.lightlink.io"}},testnet:!0}),fr=e({id:1890,name:"LightLink Phoenix Mainnet",network:"lightlink-phoenix",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://replicator.phoenix.lightlink.io/rpc/v1"]}},blockExplorers:{default:{name:"LightLink Phoenix Explorer",url:"https://phoenix.lightlink.io"}},testnet:!1}),yr=e({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}),Er=e({id:59140,name:"Linea Goerli Testnet",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.goerli.linea.build"],webSocket:["wss://rpc.goerli.linea.build"]}},blockExplorers:{default:{name:"Etherscan",url:"https://goerli.lineascan.build",apiUrl:"https://api-goerli.lineascan.build/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:498623}},testnet:!0}),Cr=e({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}),wr=e({id:59140,name:"Linea Goerli Testnet",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.goerli.linea.build"],webSocket:["wss://rpc.goerli.linea.build"]}},blockExplorers:{default:{name:"Etherscan",url:"https://goerli.lineascan.build",apiUrl:"https://goerli.lineascan.build/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:498623}},testnet:!0}),$=50000n,Q=he*32n,le={block:G({format(t){var s;const a=(s=t.transactions)==null?void 0:s.map(r=>{var c;if(typeof r=="string")return r;const n=(c=le.transaction)==null?void 0:c.format(r);return n.typeHex==="0x71"?n.type="eip712":n.typeHex==="0xff"&&(n.type="priority"),n});return{l1BatchNumber:t.l1BatchNumber?i(t.l1BatchNumber):null,l1BatchTimestamp:t.l1BatchTimestamp?i(t.l1BatchTimestamp):null,transactions:a}}}),transaction:V({format(t){const a={};return t.type==="0x71"?a.type="eip712":t.type==="0xff"&&(a.type="priority"),{...a,l1BatchNumber:t.l1BatchNumber?i(t.l1BatchNumber):null,l1BatchTxIndex:t.l1BatchTxIndex?i(t.l1BatchTxIndex):null}}}),transactionReceipt:ee({format(t){return{l1BatchNumber:t.l1BatchNumber?i(t.l1BatchNumber):null,l1BatchTxIndex:t.l1BatchTxIndex?i(t.l1BatchTxIndex):null,logs:t.logs.map(a=>({...ke(a),l1BatchNumber:a.l1BatchNumber?i(a.l1BatchNumber):null,transactionLogIndex:fe(a.transactionLogIndex),logType:a.logType})),l2ToL1Logs:t.l2ToL1Logs.map(a=>({blockNumber:i(a.blockHash),blockHash:a.blockHash,l1BatchNumber:i(a.l1BatchNumber),transactionIndex:i(a.transactionIndex),shardId:i(a.shardId),isService:a.isService,sender:a.sender,key:a.key,value:a.value,transactionHash:a.transactionHash,logIndex:i(a.logIndex)}))}}}),transactionRequest:te({exclude:["customSignature","factoryDeps","gasPerPubdata","paymaster","paymasterInput"],format(t){return t.gasPerPubdata||t.paymaster&&t.paymasterInput||t.factoryDeps||t.customSignature?{eip712Meta:{...t.gasPerPubdata?{gasPerPubdata:o(t.gasPerPubdata)}:{gasPerPubdata:o($)},...t.paymaster&&t.paymasterInput?{paymasterParams:{paymaster:t.paymaster,paymasterInput:Array.from(R(t.paymasterInput))}}:{},...t.factoryDeps?{factoryDeps:t.factoryDeps.map(a=>Array.from(R(a)))}:{},...t.customSignature?{customSignature:Array.from(R(t.customSignature))}:{}},type:"0x71"}:{}}})};class Le extends u{constructor(){super(["Transaction is not an EIP712 transaction.","","Transaction must:",' - include `type: "eip712"`'," - include one of the following: `customSignature`, `paymaster`, `paymasterInput`, `gasPerPubdata`, `factoryDeps`"].join(`
+import{C as e,e as G,i as J,h as V,j as ee,L as X,B as q,p as j,G as k,a as E,l as te,K as de,P as me,I as ae,F as ue,T as be,m as he,g as ke,J as xe}from"./number-LIp8TDoP.js";import{bf as i,aS as o,bo as W,a_ as u,bh as fe,b5 as R,b8 as K,bj as ye}from"./index-VLNutAkM.js";const et=e({id:787,name:"Acala",network:"acala",nativeCurrency:{name:"Acala",symbol:"ACA",decimals:18},rpcUrls:{public:{http:["https://eth-rpc-acala.aca-api.network"],webSocket:["wss://eth-rpc-acala.aca-api.network"]},default:{http:["https://eth-rpc-acala.aca-api.network"],webSocket:["wss://eth-rpc-acala.aca-api.network"]}},blockExplorers:{default:{name:"Acala Blockscout",url:"https://blockscout.acala.network",apiUrl:"https://blockscout.acala.network/api"}},testnet:!1}),Ee={gasPriceOracle:{address:"0x420000000000000000000000000000000000000F"},l1Block:{address:"0x4200000000000000000000000000000000000015"},l2CrossDomainMessenger:{address:"0x4200000000000000000000000000000000000007"},l2Erc721Bridge:{address:"0x4200000000000000000000000000000000000014"},l2StandardBridge:{address:"0x4200000000000000000000000000000000000010"},l2ToL1MessagePasser:{address:"0x4200000000000000000000000000000000000016"}},Z={block:G({format(t){var s;return{transactions:(s=t.transactions)==null?void 0:s.map(r=>{if(typeof r=="string")return r;const n=J(r);return n.typeHex==="0x7e"&&(n.isSystemTx=r.isSystemTx,n.mint=r.mint?i(r.mint):void 0,n.sourceHash=r.sourceHash,n.type="deposit"),n}),stateRoot:t.stateRoot}}}),transaction:V({format(t){const a={};return t.type==="0x7e"&&(a.isSystemTx=t.isSystemTx,a.mint=t.mint?i(t.mint):void 0,a.sourceHash=t.sourceHash,a.type="deposit"),a}}),transactionReceipt:ee({format(t){return{l1GasPrice:t.l1GasPrice?i(t.l1GasPrice):null,l1GasUsed:t.l1GasUsed?i(t.l1GasUsed):null,l1Fee:t.l1Fee?i(t.l1Fee):null,l1FeeScalar:t.l1FeeScalar?Number(t.l1FeeScalar):null}}})};function Ce(t,a){return Te(t)?ve(t):X(t,a)}const we={transaction:Ce};function ve(t){Ue(t);const{sourceHash:a,data:s,from:r,gas:n,isSystemTx:c,mint:p,to:m,value:d}=t,b=[a,r,m??"0x",p?o(p):"0x",d?o(d):"0x",n?o(n):"0x",c?"0x1":"0x",s??"0x"];return q(["0x7e",j(b)])}function Te(t){return t.type==="deposit"||typeof t.sourceHash<"u"}function Ue(t){const{from:a,to:s}=t;if(a&&!k(a))throw new E({address:a});if(s&&!k(s))throw new E({address:s})}const l={contracts:Ee,formatters:Z,serializers:we},T=1,tt=e({...l,id:888888888,name:"Ancient8",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.ancient8.gg"]}},blockExplorers:{default:{name:"Ancient8 explorer",url:"https://scan.ancient8.gg",apiUrl:"https://scan.ancient8.gg/api"}},contracts:{...l.contracts,l2OutputOracle:{[T]:{address:"0xB09DC08428C8b4EFB4ff9C0827386CDF34277996"}},portal:{[T]:{address:"0x639F2AECE398Aa76b07e59eF6abe2cFe32bacb68",blockCreated:19070571}},l1StandardBridge:{[T]:{address:"0xd5e3eDf5b68135D559D572E26bF863FBC1950033",blockCreated:19070571}}},sourceId:T}),U=11155111,at=e({...l,id:28122024,name:"Ancient8 Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpcv2-testnet.ancient8.gg"]}},blockExplorers:{default:{name:"Ancient8 Celestia Testnet explorer",url:"https://scanv2-testnet.ancient8.gg",apiUrl:"https://scanv2-testnet.ancient8.gg/api"}},contracts:{...l.contracts,l2OutputOracle:{[U]:{address:"0x942fD5017c0F60575930D8574Eaca13BEcD6e1bB"}},portal:{[U]:{address:"0xfa1d9E26A6aCD7b22115D27572c1221B9803c960",blockCreated:4972908}},l1StandardBridge:{[U]:{address:"0xF6Bc0146d3c74D48306e79Ae134A260E418C9335",blockCreated:4972908}}},sourceId:U}),rt=e({id:31337,name:"Anvil",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["http://127.0.0.1:8545"],webSocket:["ws://127.0.0.1:8545"]}}}),st=e({id:3993,name:"APEX Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc-testnet.apexlayer.xyz"]}},blockExplorers:{default:{name:"Blockscout",url:"https://exp-testnet.apexlayer.xyz",apiUrl:"https://exp-testnet.apexlayer.xyz/api"}},contracts:{multicall3:{address:"0xf7642be33a6b18D16a995657adb5a68CD0438aE2",blockCreated:283775}},testnet:!0}),nt=e({id:42161,name:"Arbitrum One",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://arb1.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://arbiscan.io",apiUrl:"https://api.arbiscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:7654707}}}),lt=e({id:421613,name:"Arbitrum Goerli",nativeCurrency:{name:"Arbitrum Goerli Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://goerli-rollup.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://goerli.arbiscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:88114}},testnet:!0}),ot=e({id:42170,name:"Arbitrum Nova",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://nova.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://nova.arbiscan.io",apiUrl:"https://api-nova.arbiscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1746963}}}),ct=e({id:592,name:"Astar",network:"astar-mainnet",nativeCurrency:{name:"Astar",symbol:"ASTR",decimals:18},rpcUrls:{default:{http:["https://astar.api.onfinality.io/public"]}},blockExplorers:{default:{name:"Astar Subscan",url:"https://astar.subscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:761794}},testnet:!1}),it=e({id:3776,name:"Astar zkEVM",network:"AstarZkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.startale.com/astar-zkevm"]}},blockExplorers:{default:{name:"Astar zkEVM Explorer",url:"https://astar-zkevm.explorer.startale.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:93528}},testnet:!1}),pt=e({id:6038361,name:"Astar zkEVM Testnet zKyoto",network:"zKyoto",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.startale.com/zkyoto"]}},blockExplorers:{default:{name:"zKyoto Explorer",url:"https://zkyoto.explorer.startale.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:196153}},testnet:!0}),dt=e({id:421614,name:"Arbitrum Sepolia",nativeCurrency:{name:"Arbitrum Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia-rollup.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://sepolia.arbiscan.io",apiUrl:"https://api-sepolia.arbiscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:81930}},testnet:!0}),mt=e({id:463,name:"Areon Network",nativeCurrency:{decimals:18,name:"AREA",symbol:"AREA"},rpcUrls:{default:{http:["https://mainnet-rpc.areon.network"],webSocket:["wss://mainnet-ws.areon.network"]}},blockExplorers:{default:{name:"Areonscan",url:"https://areonscan.com"}},testnet:!1}),ut=e({id:462,name:"Areon Network Testnet",nativeCurrency:{decimals:18,name:"TAREA",symbol:"TAREA"},rpcUrls:{default:{http:["https://testnet-rpc.areon.network"],webSocket:["wss://testnet-ws.areon.network"]}},blockExplorers:{default:{name:"Areonscan",url:"https://areonscan.com"}},testnet:!0}),bt=e({id:1313161554,name:"Aurora",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://mainnet.aurora.dev"]}},blockExplorers:{default:{name:"Aurorascan",url:"https://aurorascan.dev",apiUrl:"https://aurorascan.dev/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:62907816}}}),ht=e({id:1313161555,name:"Aurora Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://testnet.aurora.dev"]}},blockExplorers:{default:{name:"Aurorascan",url:"https://testnet.aurorascan.dev",apiUrl:"https://testnet.aurorascan.dev/api"}},testnet:!0}),kt=e({id:205205,name:"Auroria Testnet",network:"auroria",nativeCurrency:{name:"Auroria Stratis",symbol:"tSTRAX",decimals:18},rpcUrls:{default:{http:["https://auroria.rpc.stratisevm.com"]}},blockExplorers:{default:{name:"Auroria Testnet Explorer",url:"https://auroria.explorer.stratisevm.com"}},testnet:!0}),xt=e({id:43114,name:"Avalanche",nativeCurrency:{decimals:18,name:"Avalanche",symbol:"AVAX"},rpcUrls:{default:{http:["https://api.avax.network/ext/bc/C/rpc"]}},blockExplorers:{default:{name:"SnowScan",url:"https://snowscan.xyz",apiUrl:"https://api.snowscan.xyz/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:11907934}}}),ft=e({id:43113,name:"Avalanche Fuji",nativeCurrency:{decimals:18,name:"Avalanche Fuji",symbol:"AVAX"},rpcUrls:{default:{http:["https://api.avax-test.network/ext/bc/C/rpc"]}},blockExplorers:{default:{name:"SnowScan",url:"https://testnet.snowscan.xyz",apiUrl:"https://api-testnet.snowscan.xyz"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:7096959}},testnet:!0}),yt=e({id:5165,network:"bahamut",name:"Bahamut",nativeCurrency:{name:"Fasttoken",symbol:"FTN",decimals:18},rpcUrls:{default:{http:["https://rpc1.bahamut.io","https://bahamut-rpc.publicnode.com","https://rpc2.bahamut.io"],webSocket:["wss://ws1.sahara.bahamutchain.com","wss://bahamut-rpc.publicnode.com","wss://ws2.sahara.bahamutchain.com"]},public:{http:["https://rpc1.bahamut.io","https://bahamut-rpc.publicnode.com","https://rpc2.bahamut.io"],webSocket:["wss://ws1.sahara.bahamutchain.com","wss://bahamut-rpc.publicnode.com","wss://ws2.sahara.bahamutchain.com"]}},blockExplorers:{default:{name:"Ftnscan",url:"https://www.ftnscan.com",apiUrl:"https://www.ftnscan.com/api"}}}),g=1,Et=e({...l,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:{...l.contracts,l2OutputOracle:{[g]:{address:"0x56315b90c40730925ec5485cf004d835058518A0"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:5022},portal:{[g]:{address:"0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",blockCreated:17482143}},l1StandardBridge:{[g]:{address:"0x3154Cf16ccdb4C6d922629664174b904d80F2C35",blockCreated:17482143}}},sourceId:g}),S=5,Ct=e({...l,id:84531,name:"Base Goerli",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://goerli.base.org"]}},blockExplorers:{default:{name:"Basescan",url:"https://goerli.basescan.org",apiUrl:"https://goerli.basescan.org/api"}},contracts:{...l.contracts,l2OutputOracle:{[S]:{address:"0x2A35891ff30313CcFa6CE88dcf3858bb075A2298"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1376988},portal:{[S]:{address:"0xe93c8cD0D409341205A592f8c4Ac1A5fe5585cfA"}},l1StandardBridge:{[S]:{address:"0xfA6D8Ee5BE770F84FC001D098C4bD604Fe01284a"}}},testnet:!0,sourceId:S}),A=11155111,wt=e({...l,id:84532,network:"base-sepolia",name:"Base Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.base.org"]}},blockExplorers:{default:{name:"Basescan",url:"https://sepolia.basescan.org",apiUrl:"https://api-sepolia.basescan.org/api"}},contracts:{...l.contracts,l2OutputOracle:{[A]:{address:"0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254"}},portal:{[A]:{address:"0x49f53e41452c74589e85ca1677426ba426459e85",blockCreated:4446677}},l1StandardBridge:{[A]:{address:"0xfd0Bf71F60660E2f608ed56e1659C450eB113120",blockCreated:4446677}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1059647}},testnet:!0,sourceId:A}),vt=e({id:4337,name:"Beam",network:"beam",nativeCurrency:{decimals:18,name:"Beam",symbol:"BEAM"},rpcUrls:{public:{http:["https://build.onbeam.com/rpc"],webSocket:["wss://build.onbeam.com/ws"]},default:{http:["https://build.onbeam.com/rpc"],webSocket:["wss://build.onbeam.com/ws"]}},blockExplorers:{default:{name:"Beam Explorer",url:"https://subnets.avax.network/beam"}},contracts:{multicall3:{address:"0x4956f15efdc3dc16645e90cc356eafa65ffc65ec",blockCreated:1}}}),Tt=e({id:13337,name:"Beam Testnet",network:"beam",nativeCurrency:{decimals:18,name:"Beam",symbol:"BEAM"},rpcUrls:{public:{http:["https://build.onbeam.com/rpc/testnet"],webSocket:["wss://build.onbeam.com/ws/testnet"]},default:{http:["https://build.onbeam.com/rpc/testnet"],webSocket:["wss://build.onbeam.com/ws/testnet"]}},blockExplorers:{default:{name:"Beam Explorer",url:"https://subnets-test.avax.network/beam"}},contracts:{multicall3:{address:"0x9bf49b704ee2a095b95c1f2d4eb9010510c41c9e",blockCreated:3}},testnet:!0}),Ut=e({id:641230,name:"Bear Network Chain Mainnet",nativeCurrency:{decimals:18,name:"BearNetworkChain",symbol:"BRNKC"},rpcUrls:{default:{http:["https://brnkc-mainnet.bearnetwork.net"]}},blockExplorers:{default:{name:"BrnkScan",url:"https://brnkscan.bearnetwork.net",apiUrl:"https://brnkscan.bearnetwork.net/api"}}}),gt=e({id:751230,name:"Bear Network Chain Testnet",nativeCurrency:{decimals:18,name:"tBRNKC",symbol:"tBRNKC"},rpcUrls:{default:{http:["https://brnkc-test.bearnetwork.net"]}},blockExplorers:{default:{name:"BrnkTestScan",url:"https://brnktest-scan.bearnetwork.net",apiUrl:"https://brnktest-scan.bearnetwork.net/api"}},testnet:!0}),St=e({id:80085,name:"Berachain Artio",nativeCurrency:{decimals:18,name:"BERA Token",symbol:"BERA"},rpcUrls:{default:{http:["https://artio.rpc.berachain.com"]}},blockExplorers:{default:{name:"Berachain",url:"https://artio.beratrail.io"}},testnet:!0}),At=e({id:11501,name:"BEVM Mainnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},rpcUrls:{default:{http:["https://rpc-mainnet-1.bevm.io"]}},blockExplorers:{default:{name:"Bevmscan",url:"https://scan-mainnet.bevm.io",apiUrl:"https://scan-mainnet-api.bevm.io/api"}}}),Bt=e({id:199,name:"BitTorrent",network:"bittorrent-chain-mainnet",nativeCurrency:{name:"BitTorrent",symbol:"BTT",decimals:18},rpcUrls:{default:{http:["https://rpc.bittorrentchain.io"]},public:{http:["https://rpc.bittorrentchain.io"]}},blockExplorers:{default:{name:"Bttcscan",url:"https://bttcscan.com",apiUrl:"https://api.bttcscan.com/api"}}}),Ft=e({id:1028,name:"BitTorrent Chain Testnet",network:"bittorrent-chain-testnet",nativeCurrency:{name:"BitTorrent",symbol:"BTT",decimals:18},rpcUrls:{default:{http:["https://testrpc.bittorrentchain.io"]},public:{http:["https://testrpc.bittorrentchain.io"]}},blockExplorers:{default:{name:"Bttcscan",url:"https://testnet.bttcscan.com",apiUrl:"https://testnet.bttcscan.com/api"}},testnet:!0}),ge=1,Mt=e({id:81457,name:"Blast",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.blast.io"]}},blockExplorers:{default:{name:"Blastscan",url:"https://blastscan.io",apiUrl:"https://api.blastscan.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:212929}},sourceId:ge}),Se=11155111,zt=e({id:168587773,name:"Blast Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.blast.io"]}},blockExplorers:{default:{name:"Blastscan",url:"https://sepolia.blastscan.io",apiUrl:"https://api-sepolia.blastscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:756690}},testnet:!0,sourceId:Se}),Dt=e({id:60808,name:"BOB",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.gobob.xyz"],webSocket:["wss://rpc.gobob.xyz"]}},blockExplorers:{default:{name:"Blockscout",url:"https://explorer.gobob.xyz"}},contracts:{multicall3:{address:"0x63f8279bccDb75c0F38e0CD6B6A0c72a0a760FF9",blockCreated:457045}},testnet:!1}),It=e({id:288,name:"Boba Network",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://mainnet.boba.network"]}},blockExplorers:{default:{name:"BOBAScan",url:"https://bobascan.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:446859}}}),_t=e({id:1039,name:"Bronos",nativeCurrency:{decimals:18,name:"BRO",symbol:"BRO"},rpcUrls:{default:{http:["https://evm.bronos.org"]}},blockExplorers:{default:{name:"BronoScan",url:"https://broscan.bronos.org"}}}),Ht=e({id:1038,name:"Bronos Testnet",nativeCurrency:{decimals:18,name:"Bronos Coin",symbol:"tBRO"},rpcUrls:{default:{http:["https://evm-testnet.bronos.org"]}},blockExplorers:{default:{name:"BronoScan",url:"https://tbroscan.bronos.org"}},testnet:!0}),Pt=e({id:56,name:"BNB Smart Chain",nativeCurrency:{decimals:18,name:"BNB",symbol:"BNB"},rpcUrls:{default:{http:["https://rpc.ankr.com/bsc"]}},blockExplorers:{default:{name:"BscScan",url:"https://bscscan.com",apiUrl:"https://api.bscscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:15921452}}}),Ot=e({id:97,name:"Binance Smart Chain Testnet",nativeCurrency:{decimals:18,name:"BNB",symbol:"tBNB"},rpcUrls:{default:{http:["https://data-seed-prebsc-1-s1.bnbchain.org:8545"]}},blockExplorers:{default:{name:"BscScan",url:"https://testnet.bscscan.com",apiUrl:"https://testnet.bscscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:17422483}},testnet:!0}),Lt=e({id:1017,name:"BNB Greenfield Chain",nativeCurrency:{decimals:18,name:"BNB",symbol:"BNB"},rpcUrls:{default:{http:["https://greenfield-chain.bnbchain.org"]}},blockExplorers:{default:{name:"BNB Greenfield Mainnet Scan",url:"https://greenfieldscan.com"}},testnet:!1}),Nt=e({id:200901,name:"Bitlayer",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.bitlayer.org","https://rpc.bitlayer-rpc.com","https://rpc.ankr.com/bitlayer"],webSocket:["wss://ws.bitlayer.org","wss://ws.bitlayer-rpc.com"]}},blockExplorers:{default:{name:"btrscan",url:"https://www.btrscan.com",apiUrl:"https://www.btrscan.com/apis"}}}),Rt=e({id:200810,name:"Bitlayer Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://testnet-rpc.bitlayer.org"],webSocket:["wss://testnet-ws.bitlayer.org","wss://testnet-ws.bitlayer-rpc.com"]}},blockExplorers:{default:{name:"btrscan",url:"https://testnet-scan.bitlayer.org",apiUrl:"https://testnet-scan.bitlayer.org/apis"}}}),Kt=e({id:4999,name:"BlackFort Exchange Network",nativeCurrency:{name:"BlackFort Token",symbol:"BXN",decimals:18},rpcUrls:{default:{http:["https://mainnet.blackfort.network/rpc"]}},blockExplorers:{default:{name:"Blockscout",url:"https://explorer.blackfort.network",apiUrl:"https://explorer.blackfort.network/api"}}}),Gt=e({id:4777,name:"BlackFort Exchange Network Testnet",nativeCurrency:{name:"BlackFort Testnet Token",symbol:"TBXN",decimals:18},rpcUrls:{default:{http:["https://testnet.blackfort.network/rpc"]}},blockExplorers:{default:{name:"Blockscout",url:"https://testnet-explorer.blackfort.network",apiUrl:"https://testnet-explorer.blackfort.network/api"}},testnet:!0}),Vt=e({id:7700,name:"Canto",nativeCurrency:{decimals:18,name:"Canto",symbol:"CANTO"},rpcUrls:{default:{http:["https://canto.gravitychain.io"]}},blockExplorers:{default:{name:"Tuber.Build (Blockscout)",url:"https://tuber.build"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:2905789}}}),Ae={estimateFeesPerGas:async t=>{var r;if(!((r=t.request)!=null&&r.feeCurrency))return null;const[a,s]=await Promise.all([Be(t.client,t.request.feeCurrency),Fe(t.client,t.request.feeCurrency)]);return{maxFeePerGas:a,maxPriorityFeePerGas:s}}};async function Be(t,a){const s=await t.request({method:"eth_gasPrice",params:[a]});return BigInt(s)}async function Fe(t,a){const s=await t.request({method:"eth_maxPriorityFeePerGas",params:[a]});return BigInt(s)}function re(t){return t===0||t===0n||t===void 0||t===null||t==="0"||t===""||typeof t=="string"&&(W(t).toLowerCase()==="0x"||W(t).toLowerCase()==="0x00")}function w(t){return!re(t)}function Me(t){return typeof t.maxFeePerGas<"u"&&typeof t.maxPriorityFeePerGas<"u"}function se(t){return t.type==="cip64"?!0:Me(t)&&w(t.feeCurrency)}const ze={block:G({exclude:["difficulty","gasLimit","mixHash","nonce","uncles"],format(t){var s;const a=(s=t.transactions)==null?void 0:s.map(r=>typeof r=="string"?r:{...J(r),feeCurrency:r.feeCurrency,...r.type!=="0x7b"?{gatewayFee:r.gatewayFee?i(r.gatewayFee):null,gatewayFeeRecipient:r.gatewayFeeRecipient||null}:{}});return{randomness:t.randomness,transactions:a}}}),transaction:V({format(t){const a={feeCurrency:t.feeCurrency};return t.type==="0x7b"?a.type="cip64":(t.type==="0x7c"&&(a.type="cip42"),a.gatewayFee=t.gatewayFee?i(t.gatewayFee):null,a.gatewayFeeRecipient=t.gatewayFeeRecipient),a}}),transactionRequest:te({format(t){const a={feeCurrency:t.feeCurrency};return se(t)&&(a.type="0x7b"),a}})};function De(t,a){return se(t)?_e(t,a):X(t,a)}const Ie={transaction:De};function _e(t,a){Pe(t);const{chainId:s,gas:r,nonce:n,to:c,value:p,maxFeePerGas:m,maxPriorityFeePerGas:d,accessList:b,feeCurrency:f,data:y}=t,h=[o(s),n?o(n):"0x",d?o(d):"0x",m?o(m):"0x",r?o(r):"0x",c??"0x",p?o(p):"0x",y??"0x",de(b),f,...me(t,a)];return q(["0x7b",j(h)])}const He=2n**256n-1n;function Pe(t){const{chainId:a,maxPriorityFeePerGas:s,gasPrice:r,maxFeePerGas:n,to:c,feeCurrency:p}=t;if(a<=0)throw new ae({chainId:a});if(c&&!k(c))throw new E({address:c});if(r)throw new u("`gasPrice` is not a valid CIP-64 Transaction attribute.");if(w(n)&&n>He)throw new ue({maxFeePerGas:n});if(w(s)&&w(n)&&s>n)throw new be({maxFeePerGas:n,maxPriorityFeePerGas:s});if(w(p)&&!k(p))throw new u("`feeCurrency` MUST be a token address for CIP-64 transactions.");if(re(p))throw new u("`feeCurrency` must be provided for CIP-64 transactions.")}const ne={formatters:ze,serializers:Ie,fees:Ae},Xt=e({...ne,id:42220,name:"Celo",nativeCurrency:{decimals:18,name:"CELO",symbol:"CELO"},rpcUrls:{default:{http:["https://forno.celo.org"]}},blockExplorers:{default:{name:"Celo Explorer",url:"https://celoscan.io",apiUrl:"https://api.celoscan.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:13112599}},testnet:!1}),qt=e({...ne,id:44787,name:"Alfajores",nativeCurrency:{decimals:18,name:"CELO",symbol:"A-CELO"},rpcUrls:{default:{http:["https://alfajores-forno.celo-testnet.org"]}},blockExplorers:{default:{name:"Celo Explorer",url:"https://explorer.celo.org/alfajores",apiUrl:"https://explorer.celo.org/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:14569001}},testnet:!0}),jt=e({id:88888,name:"Chiliz Chain",network:"chiliz-chain",nativeCurrency:{decimals:18,name:"CHZ",symbol:"CHZ"},rpcUrls:{default:{http:["https://rpc.ankr.com/chiliz","https://chiliz-rpc.publicnode.com"]}},blockExplorers:{default:{name:"Chiliz Explorer",url:"https://scan.chiliz.com",apiUrl:"https://scan.chiliz.com/api"}}}),Zt=e({id:61,name:"Ethereum Classic",nativeCurrency:{decimals:18,name:"ETC",symbol:"ETC"},rpcUrls:{default:{http:["https://etc.rivet.link"]}},blockExplorers:{default:{name:"Blockscout",url:"https://blockscout.com/etc/mainnet"}}}),$t=e({id:1030,name:"Conflux eSpace",nativeCurrency:{name:"Conflux",symbol:"CFX",decimals:18},rpcUrls:{default:{http:["https://evm.confluxrpc.org"],webSocket:["wss://evm.confluxrpc.org/ws"]}},blockExplorers:{default:{name:"ConfluxScan",url:"https://evm.confluxscan.io"}},contracts:{multicall3:{address:"0xEFf0078910f638cd81996cc117bccD3eDf2B072F",blockCreated:68602935}}}),Wt=e({id:71,name:"Conflux eSpace Testnet",network:"cfx-espace-testnet",testnet:!0,nativeCurrency:{name:"Conflux",symbol:"CFX",decimals:18},rpcUrls:{default:{http:["https://evmtestnet.confluxrpc.org"],webSocket:["wss://evmtestnet.confluxrpc.org/ws"]}},blockExplorers:{default:{name:"ConfluxScan",url:"https://evmtestnet.confluxscan.io"}},contracts:{multicall3:{address:"0xEFf0078910f638cd81996cc117bccD3eDf2B072F",blockCreated:117499050}}}),Qt=e({id:1116,name:"Core Dao",nativeCurrency:{decimals:18,name:"Core",symbol:"CORE"},rpcUrls:{default:{http:["https://rpc.coredao.org"]}},blockExplorers:{default:{name:"CoreDao",url:"https://scan.coredao.org"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:11907934}},testnet:!1}),Yt=e({id:25,name:"Cronos Mainnet",nativeCurrency:{decimals:18,name:"Cronos",symbol:"CRO"},rpcUrls:{default:{http:["https://evm.cronos.org"]}},blockExplorers:{default:{name:"Cronos Explorer",url:"https://explorer.cronos.org",apiUrl:"https://explorer-api.cronos.org/mainnet/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:1963112}}}),Jt=e({id:338,name:"Cronos Testnet",nativeCurrency:{decimals:18,name:"CRO",symbol:"tCRO"},rpcUrls:{default:{http:["https://evm-t3.cronos.org"]}},blockExplorers:{default:{name:"Cronos Explorer",url:"https://cronos.org/explorer/testnet3"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:10191251}},testnet:!0}),ea=e({id:3737,name:"Crossbell",nativeCurrency:{decimals:18,name:"CSB",symbol:"CSB"},rpcUrls:{default:{http:["https://rpc.crossbell.io"]}},blockExplorers:{default:{name:"CrossScan",url:"https://scan.crossbell.io",apiUrl:"https://scan.crossbell.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:38246031}}}),ta=e({id:7560,name:"Cyber",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://cyber.alt.technology"]}},blockExplorers:{default:{name:"Blockscout",url:"https://cyberscan.co",apiUrl:"https://cyberscan.co/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:0}}}),aa=e({id:111557560,name:"Cyber Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://cyber-testnet.alt.technology"]}},blockExplorers:{default:{name:"Blockscout",url:"https://testnet.cyberscan.co",apiUrl:"https://testnet.cyberscan.co/api"}},contracts:{multicall3:{address:"0xffc391F0018269d4758AEA1a144772E8FB99545E",blockCreated:304545}},testnet:!0}),ra=e({id:46,name:"Darwinia Network",nativeCurrency:{decimals:18,name:"RING",symbol:"RING"},rpcUrls:{default:{http:["https://rpc.darwinia.network"],webSocket:["wss://rpc.darwinia.network"]}},blockExplorers:{default:{name:"Explorer",url:"https://darwinia.subscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:69420}}}),sa=e({id:1130,network:"defichain-evm",name:"DeFiChain EVM Mainnet",nativeCurrency:{name:"DeFiChain",symbol:"DFI",decimals:8},rpcUrls:{default:{http:["https://eth.mainnet.ocean.jellyfishsdk.com"]},public:{http:["https://eth.mainnet.ocean.jellyfishsdk.com"]}},blockExplorers:{default:{name:"DeFiScan",url:"https://meta.defiscan.live"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:137852}}}),na=e({id:1131,network:"defichain-evm-testnet",name:"DeFiChain EVM Testnet",nativeCurrency:{name:"DeFiChain",symbol:"DFI",decimals:8},rpcUrls:{default:{http:["https://eth.testnet.ocean.jellyfishsdk.com"]},public:{http:["https://eth.testnet.ocean.jellyfishsdk.com"]}},blockExplorers:{default:{name:"DeFiScan",url:"https://meta.defiscan.live/?network=TestNet"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:156462}},testnet:!0}),la=e({id:666666666,name:"Degen",nativeCurrency:{decimals:18,name:"Degen",symbol:"DEGEN"},rpcUrls:{default:{http:["https://rpc.degen.tips"],webSocket:["wss://rpc.degen.tips"]}},blockExplorers:{default:{name:"Degen Chain Explorer",url:"https://explorer.degen.tips",apiUrl:"https://explorer.degen.tips/api/v2"}}}),oa=e({id:53935,name:"DFK Chain",nativeCurrency:{decimals:18,name:"Jewel",symbol:"JEWEL"},rpcUrls:{default:{http:["https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"]}},blockExplorers:{default:{name:"DFKSubnetScan",url:"https://subnets.avax.network/defi-kingdoms"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14790551}}}),ca=e({id:53457,name:"DODOchain Testnet",nativeCurrency:{decimals:18,name:"DODO",symbol:"DODO"},rpcUrls:{default:{http:["https://dodochain-testnet.alt.technology"],webSocket:["wss://dodochain-testnet.alt.technology/ws"]}},blockExplorers:{default:{name:"DODOchain Testnet (Sepolia) Explorer",url:"https://testnet-scan.dodochain.com"}},testnet:!0}),ia=e({id:2e3,name:"Dogechain",nativeCurrency:{decimals:18,name:"Dogechain",symbol:"DC"},rpcUrls:{default:{http:["https://rpc.dogechain.dog"]}},blockExplorers:{default:{name:"DogeChainExplorer",url:"https://explorer.dogechain.dog",apiUrl:"https://explorer.dogechain.dog/api"}}}),pa=e({id:23451,name:"DreyerX Mainnet",nativeCurrency:{name:"DreyerX",symbol:"DRX",decimals:18},rpcUrls:{default:{http:["https://rpc.dreyerx.com"]}},blockExplorers:{default:{name:"DreyerX Scan",url:"https://scan.dreyerx.com"}}}),da=e({id:2026,name:"Edgeless Network",nativeCurrency:{name:"Edgeless Wrapped ETH",symbol:"EwETH",decimals:18},rpcUrls:{default:{http:["https://rpc.edgeless.network/http"],webSocket:["wss://rpc.edgeless.network/ws"]}},blockExplorers:{default:{name:"Edgeless Explorer",url:"https://explorer.edgeless.network"}}}),ma=e({id:202,name:"Edgeless Testnet",nativeCurrency:{name:"Edgeless Wrapped ETH",symbol:"EwETH",decimals:18},rpcUrls:{default:{http:["https://edgeless-testnet.rpc.caldera.xyz/http"],webSocket:["wss://edgeless-testnet.rpc.caldera.xyz/ws"]}},blockExplorers:{default:{name:"Edgeless Testnet Explorer",url:"https://testnet.explorer.edgeless.network"}}}),ua=e({id:2021,name:"Edgeware EdgeEVM Mainnet",nativeCurrency:{decimals:18,name:"Edgeware",symbol:"EDG"},rpcUrls:{default:{http:["https://edgeware-evm.jelliedowl.net"]}},blockExplorers:{default:{name:"Edgscan by Bharathcoorg",url:"https://edgscan.live",apiUrl:"https://edgscan.live/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:18117872}}}),ba=e({id:2022,name:"Beresheet BereEVM Testnet",nativeCurrency:{decimals:18,name:"Testnet EDG",symbol:"tEDG"},rpcUrls:{default:{http:["https://beresheet-evm.jelliedowl.net"]}},blockExplorers:{default:{name:"Edgscan by Bharathcoorg",url:"https://testnet.edgscan.live",apiUrl:"https://testnet.edgscan.live/api"}}}),ha=e({id:7332,name:"Horizen EON",nativeCurrency:{decimals:18,name:"ZEN",symbol:"ZEN"},rpcUrls:{default:{http:["https://eon-rpc.horizenlabs.io/ethv1"]}},blockExplorers:{default:{name:"EON Explorer",url:"https://eon-explorer.horizenlabs.io"}},contracts:{}}),ka=e({id:17777,name:"EOS EVM",nativeCurrency:{decimals:18,name:"EOS",symbol:"EOS"},rpcUrls:{default:{http:["https://api.evm.eosnetwork.com"]}},blockExplorers:{default:{name:"EOS EVM Explorer",url:"https://explorer.evm.eosnetwork.com",apiUrl:"https://explorer.evm.eosnetwork.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:7943933}}}),xa=e({id:15557,name:"EOS EVM Testnet",nativeCurrency:{decimals:18,name:"EOS",symbol:"EOS"},rpcUrls:{default:{http:["https://api.testnet.evm.eosnetwork.com"]}},blockExplorers:{default:{name:"EOS EVM Testnet Explorer",url:"https://explorer.testnet.evm.eosnetwork.com",apiUrl:"https://explorer.testnet.evm.eosnetwork.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:9067940}},testnet:!0}),fa=e({id:128123,name:"Etherlink Testnet",nativeCurrency:{decimals:18,name:"Tez",symbol:"XTZ"},rpcUrls:{default:{http:["https://node.ghostnet.etherlink.com"]}},blockExplorers:{default:{name:"Etherlink Testnet",url:"https://testnet-explorer.etherlink.com"}},testnet:!0}),ya=e({id:9001,name:"Evmos",nativeCurrency:{decimals:18,name:"Evmos",symbol:"EVMOS"},rpcUrls:{default:{http:["https://eth.bd.evmos.org:8545"]}},blockExplorers:{default:{name:"Evmos Block Explorer",url:"https://escan.live"}}}),Ea=e({id:9e3,name:"Evmos Testnet",nativeCurrency:{decimals:18,name:"Evmos",symbol:"EVMOS"},rpcUrls:{default:{http:["https://eth.bd.evmos.dev:8545"]}},blockExplorers:{default:{name:"Evmos Testnet Block Explorer",url:"https://evm.evmos.dev/"}}}),Ca=e({id:1994,name:"Ekta",nativeCurrency:{decimals:18,name:"EKTA",symbol:"EKTA"},rpcUrls:{default:{http:["https://main.ekta.io"]}},blockExplorers:{default:{name:"Ektascan",url:"https://ektascan.io",apiUrl:"https://ektascan.io/api"}}}),wa=e({id:1004,name:"Ekta Testnet",nativeCurrency:{decimals:18,name:"EKTA",symbol:"EKTA"},rpcUrls:{default:{http:["https://test.ekta.io:8545"]}},blockExplorers:{default:{name:"Test Ektascan",url:"https://test.ektascan.io",apiUrl:"https://test.ektascan.io/api"}},testnet:!0}),va=e({id:250,name:"Fantom",nativeCurrency:{decimals:18,name:"Fantom",symbol:"FTM"},rpcUrls:{default:{http:["https://rpc.ankr.com/fantom"]}},blockExplorers:{default:{name:"FTMScan",url:"https://ftmscan.com",apiUrl:"https://api.ftmscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:33001987}}}),Ta=e({id:64240,name:"Fantom Sonic Open Testnet",network:"fantom-sonic-testnet",nativeCurrency:{decimals:18,name:"Fantom",symbol:"FTM"},rpcUrls:{default:{http:["https://rpcapi.sonic.fantom.network"]}},blockExplorers:{default:{name:"Fantom Sonic Open Testnet Explorer",url:"https://public-sonic.fantom.network"}},testnet:!0}),Ua=e({id:4002,name:"Fantom Testnet",nativeCurrency:{decimals:18,name:"Fantom",symbol:"FTM"},rpcUrls:{default:{http:["https://rpc.testnet.fantom.network"]}},blockExplorers:{default:{name:"FTMScan",url:"https://testnet.ftmscan.com",apiUrl:"https://testnet.ftmscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:8328688}}}),ga=e({id:12306,name:"Fibo Chain",nativeCurrency:{decimals:18,name:"fibo",symbol:"FIBO"},rpcUrls:{default:{http:["https://network.hzroc.art"]}},blockExplorers:{default:{name:"FiboScan",url:"https://scan.fibochain.org"}}}),Sa=e({id:314,name:"Filecoin Mainnet",nativeCurrency:{decimals:18,name:"filecoin",symbol:"FIL"},rpcUrls:{default:{http:["https://api.node.glif.io/rpc/v1"]}},blockExplorers:{default:{name:"Filfox",url:"https://filfox.info/en"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:3328594}}}),Aa=e({id:314159,name:"Filecoin Calibration",nativeCurrency:{decimals:18,name:"testnet filecoin",symbol:"tFIL"},rpcUrls:{default:{http:["https://api.calibration.node.glif.io/rpc/v1"]}},blockExplorers:{default:{name:"Filscan",url:"https://calibration.filscan.io"}},testnet:!0}),Ba=e({id:3141,name:"Filecoin Hyperspace",nativeCurrency:{decimals:18,name:"testnet filecoin",symbol:"tFIL"},rpcUrls:{default:{http:["https://api.hyperspace.node.glif.io/rpc/v1"]}},blockExplorers:{default:{name:"Filfox",url:"https://hyperspace.filfox.info/en"}},testnet:!0}),Fa=e({id:14,name:"Flare Mainnet",nativeCurrency:{decimals:18,name:"flare",symbol:"FLR"},rpcUrls:{default:{http:["https://flare-api.flare.network/ext/C/rpc"]}},blockExplorers:{default:{name:"Flare Explorer",url:"https://flare-explorer.flare.network",apiUrl:"https://flare-explorer.flare.network/api"}}}),Ma=e({id:114,name:"Coston2",nativeCurrency:{decimals:18,name:"coston2flare",symbol:"C2FLR"},rpcUrls:{default:{http:["https://coston2-api.flare.network/ext/C/rpc"]}},blockExplorers:{default:{name:"Coston2 Explorer",url:"https://coston2-explorer.flare.network",apiUrl:"https://coston2-explorer.flare.network/api"}},testnet:!0}),za=e({id:646,name:"FlowEVM Previewnet",nativeCurrency:{decimals:18,name:"Flow",symbol:"FLOW"},rpcUrls:{default:{http:["https://previewnet.evm.nodes.onflow.org"]}},blockExplorers:{default:{name:"Previewnet Explorer",url:"https://previewnet.flowdiver.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:6205}}}),Da=e({id:747,name:"FlowEVM Mainnet",nativeCurrency:{decimals:18,name:"Flow",symbol:"FLOW"},rpcUrls:{default:{http:["https://mainnet.evm.nodes.onflow.org"]}},blockExplorers:{default:{name:"Mainnet Explorer",url:"https://flowdiver.io"}}}),Ia=e({id:545,name:"FlowEVM Testnet",nativeCurrency:{decimals:18,name:"Flow",symbol:"FLOW"},rpcUrls:{default:{http:["https://testnet.evm.nodes.onflow.org"]}},blockExplorers:{default:{name:"Flow Diver",url:"https://testnet.flowdiver.io"}}}),_a=e({id:31337,name:"Foundry",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["http://127.0.0.1:8545"],webSocket:["ws://127.0.0.1:8545"]}}}),B=1,Ha=e({...l,id:252,name:"Fraxtal",nativeCurrency:{name:"Frax Ether",symbol:"frxETH",decimals:18},rpcUrls:{default:{http:["https://rpc.frax.com"]}},blockExplorers:{default:{name:"fraxscan",url:"https://fraxscan.com",apiUrl:"https://api.fraxscan.com/api"}},contracts:{...l.contracts,l2OutputOracle:{[B]:{address:"0x66CC916Ed5C6C2FA97014f7D1cD141528Ae171e4"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11"},portal:{[B]:{address:"0x36cb65c1967A0Fb0EEE11569C51C2f2aA1Ca6f6D",blockCreated:19135323}},l1StandardBridge:{[B]:{address:"0x34C0bD5877A5Ee7099D0f5688D65F4bB9158BDE2",blockCreated:19135323}}},sourceId:B}),F=17e3,Pa=e({...l,id:2522,name:"Fraxtal Testnet",nativeCurrency:{name:"Frax Ether",symbol:"frxETH",decimals:18},rpcUrls:{default:{http:["https://rpc.testnet.frax.com"]}},blockExplorers:{default:{name:"fraxscan testnet",url:"https://holesky.fraxscan.com",apiUrl:"https://api-holesky.fraxscan.com/api"}},contracts:{...l.contracts,l2OutputOracle:{[F]:{address:"0x715EA64DA13F4d0831ece4Ad3E8c1aa013167F32"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11"},portal:{[F]:{address:"0xB9c64BfA498d5b9a8398Ed6f46eb76d90dE5505d",blockCreated:318416}},l1StandardBridge:{[F]:{address:"0x0BaafC217162f64930909aD9f2B27125121d6332",blockCreated:318416}}},sourceId:F}),Oe=11155111,Oa=e({...l,id:3397901,network:"funkiSepolia",name:"Funki Sepolia Sandbox",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://funki-testnet.alt.technology"]}},blockExplorers:{default:{name:"Funki Sepolia Sandbox Explorer",url:"https://sepolia-sandbox.funkichain.com/"}},testnet:!0,contracts:{...l.contracts,multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1620204}},sourceId:Oe}),La=e({id:122,name:"Fuse",nativeCurrency:{name:"Fuse",symbol:"FUSE",decimals:18},rpcUrls:{default:{http:["https://rpc.fuse.io"]}},blockExplorers:{default:{name:"Fuse Explorer",url:"https://explorer.fuse.io",apiUrl:"https://explorer.fuse.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:16146628}}}),Na=e({id:123,name:"Fuse Sparknet",nativeCurrency:{name:"Spark",symbol:"SPARK",decimals:18},rpcUrls:{default:{http:["https://rpc.fusespark.io"]}},blockExplorers:{default:{name:"Sparkent Explorer",url:"https://explorer.fusespark.io",apiUrl:"https://explorer.fusespark.io/api"}}}),Ra=e({id:4689,name:"IoTeX",nativeCurrency:{decimals:18,name:"IoTeX",symbol:"IOTX"},rpcUrls:{default:{http:["https://babel-api.mainnet.iotex.io"],webSocket:["wss://babel-api.mainnet.iotex.io"]}},blockExplorers:{default:{name:"IoTeXScan",url:"https://iotexscan.io"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:22163670}}}),Ka=e({id:4690,name:"IoTeX Testnet",nativeCurrency:{decimals:18,name:"IoTeX",symbol:"IOTX"},rpcUrls:{default:{http:["https://babel-api.testnet.iotex.io"],webSocket:["wss://babel-api.testnet.iotex.io"]}},blockExplorers:{default:{name:"IoTeXScan",url:"https://testnet.iotexscan.io"}},testnet:!0}),Ga=e({id:8899,name:"JIBCHAIN L1",network:"jbc",nativeCurrency:{name:"JBC",symbol:"JBC",decimals:18},rpcUrls:{default:{http:["https://rpc-l1.jibchain.net"]},public:{http:["https://rpc-l1.jibchain.net"]}},blockExplorers:{default:{name:"Blockscout",url:"https://exp-l1.jibchain.net",apiUrl:"https://exp-l1.jibchain.net/api"}},contracts:{multicall3:{address:"0xc0C8C486D1466C57Efe13C2bf000d4c56F47CBdC",blockCreated:2299048}},testnet:!1}),Va=e({id:88991,name:"Jibchain Testnet",nativeCurrency:{name:"tJBC",symbol:"tJBC",decimals:18},rpcUrls:{default:{http:["https://rpc.testnet.jibchain.net"]}},blockExplorers:{default:{name:"Blockscout",url:"https://exp.testnet.jibchain.net",apiUrl:"https://exp.testnet.jibchain.net/api"}},contracts:{multicall3:{address:"0xa1a858ad9041B4741e620355a3F96B3c78e70ecE",blockCreated:32848}},testnet:!0}),Xa=e({id:686,name:"Karura",network:"karura",nativeCurrency:{name:"Karura",symbol:"KAR",decimals:18},rpcUrls:{public:{http:["https://eth-rpc-karura.aca-api.network"],webSocket:["wss://eth-rpc-karura.aca-api.network"]},default:{http:["https://eth-rpc-karura.aca-api.network"],webSocket:["wss://eth-rpc-karura.aca-api.network"]}},blockExplorers:{default:{name:"Karura Blockscout",url:"https://blockscout.karura.network",apiUrl:"https://blockscout.karura.network/api"}},testnet:!1}),qa=e({id:1663,name:"Horizen Gobi Testnet",nativeCurrency:{decimals:18,name:"Test ZEN",symbol:"tZEN"},rpcUrls:{default:{http:["https://gobi-testnet.horizenlabs.io/ethv1"]}},blockExplorers:{default:{name:"Gobi Explorer",url:"https://gobi-explorer.horizen.io"}},contracts:{},testnet:!0}),ja=e({id:5,name:"Goerli",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.ankr.com/eth_goerli"]}},blockExplorers:{default:{name:"Etherscan",url:"https://goerli.etherscan.io",apiUrl:"https://api-goerli.etherscan.io/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0xfc4AC75C46C914aF5892d6d3eFFcebD7917293F1",blockCreated:10339206},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:6507670}},testnet:!0}),Za=e({id:100,name:"Gnosis",nativeCurrency:{decimals:18,name:"Gnosis",symbol:"xDAI"},rpcUrls:{default:{http:["https://rpc.gnosischain.com"],webSocket:["wss://rpc.gnosischain.com/wss"]}},blockExplorers:{default:{name:"Gnosisscan",url:"https://gnosisscan.io",apiUrl:"https://api.gnosisscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:21022491}}}),$a=e({id:10200,name:"Gnosis Chiado",nativeCurrency:{decimals:18,name:"Gnosis",symbol:"xDAI"},rpcUrls:{default:{http:["https://rpc.chiadochain.net"],webSocket:["wss://rpc.chiadochain.net/wss"]}},blockExplorers:{default:{name:"Blockscout",url:"https://blockscout.chiadochain.net",apiUrl:"https://blockscout.chiadochain.net/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:4967313}},testnet:!0}),Wa=e({id:31337,name:"Hardhat",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["http://127.0.0.1:8545"]}}}),Qa=e({id:16666e5,name:"Harmony One",nativeCurrency:{name:"Harmony",symbol:"ONE",decimals:18},rpcUrls:{default:{http:["https://rpc.ankr.com/harmony"]}},blockExplorers:{default:{name:"Harmony Explorer",url:"https://explorer.harmony.one"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:24185753}}}),Ya=e({id:11235,name:"HAQQ Mainnet",nativeCurrency:{decimals:18,name:"Islamic Coin",symbol:"ISLM"},rpcUrls:{default:{http:["https://rpc.eth.haqq.network"]}},blockExplorers:{default:{name:"HAQQ Explorer",url:"https://explorer.haqq.network",apiUrl:"https://explorer.haqq.network/api"}}}),Ja=e({id:54211,name:"HAQQ Testedge 2",nativeCurrency:{decimals:18,name:"Islamic Coin",symbol:"ISLMT"},rpcUrls:{default:{http:["https://rpc.eth.testedge2.haqq.network"]}},blockExplorers:{default:{name:"HAQQ Explorer",url:"https://explorer.testedge2.haqq.network",apiUrl:"https://explorer.testedge2.haqq.network/api"}}}),er=e({id:295,name:"Hedera Mainnet",network:"hedera-mainnet",nativeCurrency:{symbol:"HBAR",name:"HBAR",decimals:18},rpcUrls:{default:{http:["https://mainnet.hashio.io/api"]}},blockExplorers:{default:{name:"Hashscan",url:"https://hashscan.io/mainnet"}},testnet:!1}),tr=e({id:296,name:"Hedera Testnet",network:"hedera-testnet",nativeCurrency:{symbol:"HBAR",name:"HBAR",decimals:18},rpcUrls:{default:{http:["https://testnet.hashio.io/api"]}},blockExplorers:{default:{name:"Hashscan",url:"https://hashscan.io/testnet"}},testnet:!0}),ar=e({id:297,name:"Hedera Previewnet",network:"hedera-previewnet",nativeCurrency:{symbol:"HBAR",name:"HBAR",decimals:18},rpcUrls:{default:{http:["https://previewnet.hashio.io/api"]}},blockExplorers:{default:{name:"Hashscan",url:"https://hashscan.io/previewnet"}},testnet:!0}),rr=e({id:17e3,name:"Holesky",nativeCurrency:{name:"Holesky Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://ethereum-holesky-rpc.publicnode.com"]}},blockExplorers:{default:{name:"Etherscan",url:"https://holesky.etherscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:77},ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",blockCreated:801613},ensUniversalResolver:{address:"0xa6AC935D4971E3CD133b950aE053bECD16fE7f3b",blockCreated:973484}},testnet:!0}),sr=e({id:13371,name:"Immutable zkEVM",nativeCurrency:{decimals:18,name:"Immutable Coin",symbol:"IMX"},rpcUrls:{default:{http:["https://rpc.immutable.com"]}},blockExplorers:{default:{name:"Immutable Explorer",url:"https://explorer.immutable.com"}},contracts:{multicall3:{address:"0x236bdA4589e44e6850f5aC6a74BfCa398a86c6c0",blockCreated:4335972}}}),nr=e({id:13473,name:"Immutable zkEVM Testnet",nativeCurrency:{decimals:18,name:"Immutable Coin",symbol:"IMX"},rpcUrls:{default:{http:["https://rpc.testnet.immutable.com"]}},blockExplorers:{default:{name:"Immutable Testnet Explorer",url:"https://explorer.testnet.immutable.com/"}},contracts:{multicall3:{address:"0x2CC787Ed364600B0222361C4188308Fa8E68bA60",blockCreated:5977391}},testnet:!0}),lr=e({id:2525,name:"inEVM Mainnet",nativeCurrency:{decimals:18,name:"Injective",symbol:"INJ"},rpcUrls:{default:{http:["https://mainnet.rpc.inevm.com/http"]}},blockExplorers:{default:{name:"inEVM Explorer",url:"https://inevm.calderaexplorer.xyz",apiUrl:"https://inevm.calderaexplorer.xyz/api/v2"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:118606}}}),or=e({id:107107114116,name:"Kakarot Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia-rpc.kakarot.org"]}},blockExplorers:{default:{name:"Kakarot Scan",url:"https://sepolia.kakarotscan.org"}},testnet:!0}),cr=e({id:2222,name:"Kava EVM",network:"kava-mainnet",nativeCurrency:{name:"Kava",symbol:"KAVA",decimals:18},rpcUrls:{default:{http:["https://evm.kava.io"]}},blockExplorers:{default:{name:"Kava EVM Explorer",url:"https://kavascan.com",apiUrl:"https://kavascan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:3661165}},testnet:!1}),ir=e({id:2221,name:"Kava EVM Testnet",network:"kava-testnet",nativeCurrency:{name:"Kava",symbol:"KAVA",decimals:18},rpcUrls:{default:{http:["https://evm.testnet.kava.io"]}},blockExplorers:{default:{name:"Kava EVM Testnet Explorer",url:"https://testnet.kavascan.com/",apiUrl:"https://testnet.kavascan.com/api"}},contracts:{multicall3:{address:"0xDf1D724A7166261eEB015418fe8c7679BBEa7fd6",blockCreated:7242179}},testnet:!0}),pr=e({id:321,name:"KCC Mainnet",network:"KCC Mainnet",nativeCurrency:{decimals:18,name:"KCS",symbol:"KCS"},rpcUrls:{default:{http:["https://kcc-rpc.com"]},public:{http:["https://kcc-rpc.com"]}},blockExplorers:{default:{name:"KCC Explorer",url:"https://explorer.kcc.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:11760430}},testnet:!1}),dr=e({id:8217,name:"Klaytn",nativeCurrency:{decimals:18,name:"Klaytn",symbol:"KLAY"},rpcUrls:{default:{http:["https://public-en-cypress.klaytn.net"]}},blockExplorers:{default:{name:"KlaytnScope",url:"https://scope.klaytn.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:96002415}}}),mr=e({id:1001,name:"Klaytn Baobab Testnet",network:"klaytn-baobab",nativeCurrency:{decimals:18,name:"Baobab Klaytn",symbol:"KLAY"},rpcUrls:{default:{http:["https://public-en-baobab.klaytn.net"]}},blockExplorers:{default:{name:"KlaytnScope",url:"https://baobab.klaytnscope.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:123390593}},testnet:!0}),ur=e({id:255,name:"Kroma",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://api.kroma.network"]}},blockExplorers:{default:{name:"Kroma Explorer",url:"https://blockscout.kroma.network",apiUrl:"https://blockscout.kroma.network/api"}},testnet:!1}),br=e({id:2358,name:"Kroma Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://api.sepolia.kroma.network"]}},blockExplorers:{default:{name:"Kroma Sepolia Explorer",url:"https://blockscout.sepolia.kroma.network",apiUrl:"https://blockscout.sepolia.kroma.network/api"}},testnet:!0}),hr=e({id:12324,name:"L3X Protocol",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc-mainnet.l3x.com"],webSocket:["wss://rpc-mainnet.l3x.com"]}},blockExplorers:{default:{name:"L3X Mainnet Explorer",url:"https://explorer.l3x.com",apiUrl:"https://explorer.l3x.com/api/v2"}},testnet:!1}),kr=e({id:12325,name:"L3X Protocol Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc-testnet.l3x.com"],webSocket:["wss://rpc-testnet.l3x.com"]}},blockExplorers:{default:{name:"L3X Testnet Explorer",url:"https://explorer-testnet.l3x.com",apiUrl:"https://explorer-testnet.l3x.com/api/v2"}},testnet:!0}),xr=e({id:1891,name:"LightLink Pegasus Testnet",network:"lightlink-pegasus",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://replicator.pegasus.lightlink.io/rpc/v1"]}},blockExplorers:{default:{name:"LightLink Pegasus Explorer",url:"https://pegasus.lightlink.io"}},testnet:!0}),fr=e({id:1890,name:"LightLink Phoenix Mainnet",network:"lightlink-phoenix",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://replicator.phoenix.lightlink.io/rpc/v1"]}},blockExplorers:{default:{name:"LightLink Phoenix Explorer",url:"https://phoenix.lightlink.io"}},testnet:!1}),yr=e({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}),Er=e({id:59140,name:"Linea Goerli Testnet",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.goerli.linea.build"],webSocket:["wss://rpc.goerli.linea.build"]}},blockExplorers:{default:{name:"Etherscan",url:"https://goerli.lineascan.build",apiUrl:"https://api-goerli.lineascan.build/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:498623}},testnet:!0}),Cr=e({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}),wr=e({id:59140,name:"Linea Goerli Testnet",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.goerli.linea.build"],webSocket:["wss://rpc.goerli.linea.build"]}},blockExplorers:{default:{name:"Etherscan",url:"https://goerli.lineascan.build",apiUrl:"https://goerli.lineascan.build/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:498623}},testnet:!0}),$=50000n,Q=he*32n,le={block:G({format(t){var s;const a=(s=t.transactions)==null?void 0:s.map(r=>{var c;if(typeof r=="string")return r;const n=(c=le.transaction)==null?void 0:c.format(r);return n.typeHex==="0x71"?n.type="eip712":n.typeHex==="0xff"&&(n.type="priority"),n});return{l1BatchNumber:t.l1BatchNumber?i(t.l1BatchNumber):null,l1BatchTimestamp:t.l1BatchTimestamp?i(t.l1BatchTimestamp):null,transactions:a}}}),transaction:V({format(t){const a={};return t.type==="0x71"?a.type="eip712":t.type==="0xff"&&(a.type="priority"),{...a,l1BatchNumber:t.l1BatchNumber?i(t.l1BatchNumber):null,l1BatchTxIndex:t.l1BatchTxIndex?i(t.l1BatchTxIndex):null}}}),transactionReceipt:ee({format(t){return{l1BatchNumber:t.l1BatchNumber?i(t.l1BatchNumber):null,l1BatchTxIndex:t.l1BatchTxIndex?i(t.l1BatchTxIndex):null,logs:t.logs.map(a=>({...ke(a),l1BatchNumber:a.l1BatchNumber?i(a.l1BatchNumber):null,transactionLogIndex:fe(a.transactionLogIndex),logType:a.logType})),l2ToL1Logs:t.l2ToL1Logs.map(a=>({blockNumber:i(a.blockHash),blockHash:a.blockHash,l1BatchNumber:i(a.l1BatchNumber),transactionIndex:i(a.transactionIndex),shardId:i(a.shardId),isService:a.isService,sender:a.sender,key:a.key,value:a.value,transactionHash:a.transactionHash,logIndex:i(a.logIndex)}))}}}),transactionRequest:te({exclude:["customSignature","factoryDeps","gasPerPubdata","paymaster","paymasterInput"],format(t){return t.gasPerPubdata||t.paymaster&&t.paymasterInput||t.factoryDeps||t.customSignature?{eip712Meta:{...t.gasPerPubdata?{gasPerPubdata:o(t.gasPerPubdata)}:{gasPerPubdata:o($)},...t.paymaster&&t.paymasterInput?{paymasterParams:{paymaster:t.paymaster,paymasterInput:Array.from(R(t.paymasterInput))}}:{},...t.factoryDeps?{factoryDeps:t.factoryDeps.map(a=>Array.from(R(a)))}:{},...t.customSignature?{customSignature:Array.from(R(t.customSignature))}:{}},type:"0x71"}:{}}})};class Le extends u{constructor(){super(["Transaction is not an EIP712 transaction.","","Transaction must:",' - include `type: "eip712"`'," - include one of the following: `customSignature`, `paymaster`, `paymasterInput`, `gasPerPubdata`, `factoryDeps`"].join(`
`)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidEip712TransactionError"})}}function oe(t){return!!(t.type==="eip712"||"customSignature"in t&&t.customSignature||"paymaster"in t&&t.paymaster||"paymasterInput"in t&&t.paymasterInput||"gasPerPubdata"in t&&typeof t.gasPerPubdata=="bigint"||"factoryDeps"in t&&t.factoryDeps)}function ce(t){const{chainId:a,to:s,from:r,paymaster:n,paymasterInput:c}=t;if(!oe(t))throw new Le;if(!a||a<=0)throw new ae({chainId:a});if(s&&!k(s))throw new E({address:s});if(r&&!k(r))throw new E({address:r});if(n&&!k(n))throw new E({address:n});if(n&&!c)throw new u("`paymasterInput` must be provided when `paymaster` is defined");if(!n&&c)throw new u("`paymaster` must be provided when `paymasterInput` is defined")}function Ne(t,a){return oe(t)?Ke(t):X(t,a)}const Re={transaction:Ne};function Ke(t){const{chainId:a,gas:s,nonce:r,to:n,from:c,value:p,maxFeePerGas:m,maxPriorityFeePerGas:d,customSignature:b,factoryDeps:f,paymaster:y,paymasterInput:h,gasPerPubdata:v,data:ie}=t;ce(t);const pe=[r?o(r):"0x",d?o(d):"0x",m?o(m):"0x",s?o(s):"0x",n??"0x",p?o(p):"0x",ie??"0x0",o(a),o(""),o(""),o(a),c??"0x",v?o(v):o($),f??[],b??"0x",y&&h?[y,h]:[]];return q(["0x71",j(pe)])}class Ge extends u{constructor({givenLength:a,maxBytecodeSize:s}){super(`Bytecode cannot be longer than ${s} bytes. Given length: ${a}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BytecodeLengthExceedsMaxSizeError"})}}class Ve extends u{constructor({givenLengthInWords:a}){super(`Bytecode length in 32-byte words must be odd. Given length in words: ${a}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BytecodeLengthInWordsMustBeOddError"})}}class Xe extends u{constructor({givenLength:a}){super(`The bytecode length in bytes must be divisible by 32. Given length: ${a}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BytecodeLengthMustBeDivisibleBy32Error"})}}function qe(t){const a=K(t);if(a.length%32!==0)throw new Xe({givenLength:a.length});if(a.length>Q)throw new Ge({givenLength:a.length,maxBytecodeSize:Q});const s=xe(a),r=K(s),n=a.length/32;if(n%2===0)throw new Ve({givenLengthInWords:n});const c=K(n),p=ye(c,{size:2}),m=new Uint8Array([1,0]);return r.set(m,0),r.set(p,2),r}const je=t=>{ce(t);const a=Ze(t);return{domain:{name:"zkSync",version:"2",chainId:t.chainId},types:{Transaction:[{name:"txType",type:"uint256"},{name:"from",type:"uint256"},{name:"to",type:"uint256"},{name:"gasLimit",type:"uint256"},{name:"gasPerPubdataByteLimit",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymaster",type:"uint256"},{name:"nonce",type:"uint256"},{name:"value",type:"uint256"},{name:"data",type:"bytes"},{name:"factoryDeps",type:"bytes32[]"},{name:"paymasterInput",type:"bytes"}]},primaryType:"Transaction",message:a}};function Ze(t){const{gas:a,nonce:s,to:r,from:n,value:c,maxFeePerGas:p,maxPriorityFeePerGas:m,factoryDeps:d,paymaster:b,paymasterInput:f,gasPerPubdata:y,data:h}=t;return{txType:113n,from:BigInt(n),to:r?BigInt(r):0n,gasLimit:a??0n,gasPerPubdataByteLimit:y??$,maxFeePerGas:p??0n,maxPriorityFeePerGas:m??0n,paymaster:b?BigInt(b):0n,nonce:s?BigInt(s):0n,value:c??0n,data:h||"0x0",factoryDeps:(d==null?void 0:d.map(v=>o(qe(v))))??[],paymasterInput:f||"0x"}}const x={formatters:le,serializers:Re,custom:{getEip712Domain:je}},vr=e({...x,id:1135,name:"Lisk",network:"lisk",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.api.lisk.com"]}},blockExplorers:{default:{name:"Blockscout",url:"https://blockscout.lisk.com",apiUrl:"https://blockscout.lisk.com/api"}},contracts:{multicall3:{address:"0xA9d71E1dd7ca26F26e656E66d6AA81ed7f745bf0"}}}),M=11155111,Tr=e({...l,id:4202,network:"lisk-sepolia",name:"Lisk Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.sepolia-api.lisk.com"]}},blockExplorers:{default:{name:"Blockscout",url:"https://sepolia-blockscout.lisk.com",apiUrl:"https://sepolia-blockscout.lisk.com/api"}},contracts:{...l.contracts,l2OutputOracle:{[M]:{address:"0xA0E35F56C318DE1bD5D9ca6A94Fe7e37C5663348"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11"},portal:{[M]:{address:"0xe3d90F21490686Ec7eF37BE788E02dfC12787264"}},l1StandardBridge:{[M]:{address:"0x1Fb30e446eA791cd1f011675E5F3f5311b70faF5"}}},testnet:!0,sourceId:M}),Ur=e({id:1337,name:"Localhost",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["http://127.0.0.1:8545"]}}}),gr=e({id:42,network:"lukso",name:"LUKSO",nativeCurrency:{name:"LUKSO",symbol:"LYX",decimals:18},rpcUrls:{default:{http:["https://rpc.mainnet.lukso.network"],webSocket:["wss://ws-rpc.mainnet.lukso.network"]}},blockExplorers:{default:{name:"LUKSO Mainnet Explorer",url:"https://explorer.execution.mainnet.lukso.network",apiUrl:"https://api.explorer.execution.mainnet.lukso.network/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:468183}}}),Sr=e({id:4201,name:"LUKSO Testnet",nativeCurrency:{decimals:18,name:"LUKSO Testnet",symbol:"LYXt"},rpcUrls:{default:{http:["https://rpc.testnet.lukso.network"],webSocket:["wss://ws-rpc.testnet.lukso.network"]}},blockExplorers:{default:{name:"LUKSO Testnet Explorer",url:"https://explorer.execution.testnet.lukso.network",apiUrl:"https://api.explorer.execution.testnet.lukso.network/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:605348}},testnet:!0}),Ar=e({id:1,name:"Ethereum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://cloudflare-eth.com"]}},blockExplorers:{default:{name:"Etherscan",url:"https://etherscan.io",apiUrl:"https://api.etherscan.io/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0xce01f8eee7E479C928F8919abD53E553a36CeF67",blockCreated:19258213},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14353601}}}),Br=e({id:595,name:"Mandala TC9",network:"mandala",nativeCurrency:{name:"Mandala",symbol:"mACA",decimals:18},rpcUrls:{public:{http:["https://eth-rpc-tc9.aca-staging.network"],webSocket:["wss://eth-rpc-tc9.aca-staging.network"]},default:{http:["https://eth-rpc-tc9.aca-staging.network"],webSocket:["wss://eth-rpc-tc9.aca-staging.network"]}},blockExplorers:{default:{name:"Mandala Blockscout",url:"https://blockscout.mandala.aca-staging.network",apiUrl:"https://blockscout.mandala.aca-staging.network/api"}},testnet:!0}),Fr=e({id:169,name:"Manta Pacific Mainnet",network:"manta",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH"},rpcUrls:{default:{http:["https://pacific-rpc.manta.network/http"]}},blockExplorers:{default:{name:"Manta Explorer",url:"https://pacific-explorer.manta.network",apiUrl:"https://pacific-explorer.manta.network/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:332890}}}),Mr=e({id:3441006,name:"Manta Pacific Sepolia Testnet",network:"manta-sepolia",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH"},rpcUrls:{default:{http:["https://pacific-rpc.sepolia-testnet.manta.network/http"]}},blockExplorers:{default:{name:"Manta Sepolia Testnet Explorer",url:"https://pacific-explorer.sepolia-testnet.manta.network",apiUrl:"https://pacific-explorer.sepolia-testnet.manta.network/api"}},contracts:{multicall3:{address:"0xca54918f7B525C8df894668846506767412b53E3",blockCreated:479584}},testnet:!0}),zr=e({id:3441005,name:"Manta Pacific Testnet",network:"manta-testnet",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH"},rpcUrls:{default:{http:["https://manta-testnet.calderachain.xyz/http"]}},blockExplorers:{default:{name:"Manta Testnet Explorer",url:"https://pacific-explorer.testnet.manta.network",apiUrl:"https://pacific-explorer.testnet.manta.network/api"}},contracts:{multicall3:{address:"0x211B1643b95Fe76f11eD8880EE810ABD9A4cf56C",blockCreated:419915}},testnet:!0}),Dr=e({id:5e3,name:"Mantle",nativeCurrency:{decimals:18,name:"MNT",symbol:"MNT"},rpcUrls:{default:{http:["https://rpc.mantle.xyz"]}},blockExplorers:{default:{name:"Mantle Explorer",url:"https://mantlescan.xyz/",apiUrl:"https://api.mantlescan.xyz/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:304717}}}),Ir=e({id:5003,name:"Mantle Sepolia Testnet",nativeCurrency:{decimals:18,name:"MNT",symbol:"MNT"},rpcUrls:{default:{http:["https://rpc.sepolia.mantle.xyz"]}},blockExplorers:{default:{name:"Mantle Testnet Explorer",url:"https://explorer.sepolia.mantle.xyz/",apiUrl:"https://explorer.sepolia.mantle.xyz/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:4584012}},testnet:!0}),_r=e({id:5001,name:"Mantle Testnet",nativeCurrency:{decimals:18,name:"MNT",symbol:"MNT"},rpcUrls:{default:{http:["https://rpc.testnet.mantle.xyz"]}},blockExplorers:{default:{name:"Mantle Testnet Explorer",url:"https://explorer.testnet.mantle.xyz",apiUrl:"https://explorer.testnet.mantle.xyz/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:561333}},testnet:!0}),Hr=e({id:4200,name:"Merlin",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},rpcUrls:{default:{http:["https://rpc.merlinchain.io"]}},blockExplorers:{default:{name:"blockscout",url:"https://scan.merlinchain.io",apiUrl:"https://scan.merlinchain.io/api"}}}),Pr=e({id:571,name:"MetaChain Mainnet",nativeCurrency:{name:"Metatime Coin",symbol:"MTC",decimals:18},rpcUrls:{default:{http:["https://rpc.metatime.com"]}},blockExplorers:{default:{name:"MetaExplorer",url:"https://explorer.metatime.com"}},contracts:{multicall3:{address:"0x0000000000000000000000000000000000003001",blockCreated:0}}}),Or=e({id:1453,name:"MetaChain Istanbul",nativeCurrency:{name:"Metatime Coin",symbol:"MTC",decimals:18},rpcUrls:{default:{http:["https://istanbul-rpc.metachain.dev"]}},blockExplorers:{default:{name:"MetaExplorer",url:"https://istanbul-explorer.metachain.dev"}},contracts:{multicall3:{address:"0x0000000000000000000000000000000000003001",blockCreated:0}},testnet:!0}),z=1,Lr=e({...l,id:1750,name:"Metal L2",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.metall2.com"],webSocket:["wss://rpc.metall2.com"]}},blockExplorers:{default:{name:"Explorer",url:"https://explorer.metall2.com",apiUrl:"https://explorer.metall2.com/api"}},contracts:{...l.contracts,l2OutputOracle:{[z]:{address:"0x3B1F7aDa0Fcc26B13515af752Dd07fB1CAc11426"}},multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:0},portal:{[z]:{address:"0x3F37aBdE2C6b5B2ed6F8045787Df1ED1E3753956"}},l1StandardBridge:{[z]:{address:"0x6d0f65D59b55B0FEC5d2d15365154DcADC140BF3"}}},sourceId:z}),Nr=e({id:82,name:"Meter",nativeCurrency:{decimals:18,name:"MTR",symbol:"MTR"},rpcUrls:{default:{http:["https://rpc.meter.io"]}},blockExplorers:{default:{name:"MeterScan",url:"https://scan.meter.io"}}}),Rr=e({id:83,name:"Meter Testnet",nativeCurrency:{decimals:18,name:"MTR",symbol:"MTR"},rpcUrls:{default:{http:["https://rpctest.meter.io"]}},blockExplorers:{default:{name:"MeterTestnetScan",url:"https://scan-warringstakes.meter.io"}}}),Kr=e({id:1088,name:"Metis",nativeCurrency:{decimals:18,name:"Metis",symbol:"METIS"},rpcUrls:{default:{http:["https://andromeda.metis.io/?owner=1088"]}},blockExplorers:{default:{name:"Metis Explorer",url:"https://explorer.metis.io",apiUrl:"https://api.routescan.io/v2/network/mainnet/evm/43114/etherscan/api"},blockscout:{name:"Andromeda Explorer",url:"https://andromeda-explorer.metis.io",apiUrl:"https://andromeda-explorer.metis.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:2338552}}}),Gr=e({id:599,name:"Metis Goerli",nativeCurrency:{decimals:18,name:"Metis Goerli",symbol:"METIS"},rpcUrls:{default:{http:["https://goerli.gateway.metisdevops.link"]}},blockExplorers:{default:{name:"Metis Goerli Explorer",url:"https://goerli.explorer.metisdevops.link",apiUrl:"https://goerli.explorer.metisdevops.link/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1006207}}}),Vr=e({id:7518,name:"MEVerse Chain Mainnet",nativeCurrency:{decimals:18,name:"MEVerse",symbol:"MEV"},rpcUrls:{default:{http:["https://rpc.meversemainnet.io"]}},blockExplorers:{default:{name:"Explorer",url:"https://www.meversescan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:86881340}}}),Xr=e({id:4759,name:"MEVerse Chain Testnet",nativeCurrency:{decimals:18,name:"MEVerse",symbol:"MEV"},rpcUrls:{default:{http:["https://rpc.meversetestnet.io"]}},blockExplorers:{default:{name:"Explorer",url:"https://testnet.meversescan.io/"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:64371115}},testnet:!0}),qr=e({id:1686,name:"Mint Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://testnet-rpc.mintchain.io"]}},blockExplorers:{default:{name:"Mintchain Testnet explorer",url:"https://testnet-explorer.mintchain.io"}},testnet:!0}),$e=1,jr=e({id:34443,name:"Mode Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://mainnet.mode.network"]}},blockExplorers:{default:{name:"Modescan",url:"https://modescan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:2465882}},sourceId:$e}),We=11155111,Zr=e({id:919,name:"Mode Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.mode.network"]}},blockExplorers:{default:{name:"Blockscout",url:"https://sepolia.explorer.mode.network",apiUrl:"https://sepolia.explorer.mode.network/api"}},contracts:{multicall3:{address:"0xBAba8373113Fb7a68f195deF18732e01aF8eDfCF",blockCreated:3019007}},testnet:!0,sourceId:We}),$r=e({id:1287,name:"Moonbase Alpha",nativeCurrency:{decimals:18,name:"DEV",symbol:"DEV"},rpcUrls:{default:{http:["https://rpc.api.moonbase.moonbeam.network"],webSocket:["wss://wss.api.moonbase.moonbeam.network"]}},blockExplorers:{default:{name:"Moonscan",url:"https://moonbase.moonscan.io",apiUrl:"https://moonbase.moonscan.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:1850686}},testnet:!0}),Wr=e({id:1284,name:"Moonbeam",nativeCurrency:{decimals:18,name:"GLMR",symbol:"GLMR"},rpcUrls:{default:{http:["https://moonbeam.public.blastapi.io"],webSocket:["wss://moonbeam.public.blastapi.io"]}},blockExplorers:{default:{name:"Moonscan",url:"https://moonscan.io",apiUrl:"https://api-moonbeam.moonscan.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:609002}},testnet:!1}),Qr=e({id:1281,name:"Moonbeam Development Node",nativeCurrency:{decimals:18,name:"DEV",symbol:"DEV"},rpcUrls:{default:{http:["http://127.0.0.1:9944"],webSocket:["wss://127.0.0.1:9944"]}}}),Yr=e({id:1285,name:"Moonriver",nativeCurrency:{decimals:18,name:"MOVR",symbol:"MOVR"},rpcUrls:{default:{http:["https://moonriver.public.blastapi.io"],webSocket:["wss://moonriver.public.blastapi.io"]}},blockExplorers:{default:{name:"Moonscan",url:"https://moonriver.moonscan.io",apiUrl:"https://api-moonriver.moonscan.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:1597904}},testnet:!1}),Jr=e({id:2710,name:"Morph Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc-testnet.morphl2.io"]}},blockExplorers:{default:{name:"Morph Testnet Explorer",url:"https://explorer-testnet.morphl2.io",apiUrl:"https://explorer-api-testnet.morphl2.io/api"}},testnet:!0}),es=e({id:22222,name:"Nautilus Mainnet",nativeCurrency:{name:"ZBC",symbol:"ZBC",decimals:9},rpcUrls:{default:{http:["https://api.nautilus.nautchain.xyz"]}},blockExplorers:{default:{name:"NautScan",url:"https://nautscan.com"}}}),ts=e({id:245022926,name:"Neon EVM DevNet",nativeCurrency:{name:"NEON",symbol:"NEON",decimals:18},rpcUrls:{default:{http:["https://devnet.neonevm.org"]}},blockExplorers:{default:{name:"Neonscan",url:"https://devnet.neonscan.org"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:205206112}},testnet:!0}),as=e({id:245022934,network:"neonMainnet",name:"Neon EVM MainNet",nativeCurrency:{name:"NEON",symbol:"NEON",decimals:18},rpcUrls:{default:{http:["https://neon-proxy-mainnet.solana.p2p.org"]}},blockExplorers:{default:{name:"Neonscan",url:"https://neonscan.org"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:206545524}},testnet:!1}),rs=e({id:4242,name:"Nexi",nativeCurrency:{name:"Nexi",symbol:"NEXI",decimals:18},rpcUrls:{default:{http:["https://rpc.chain.nexi.technology"]}},blockExplorers:{default:{name:"NexiScan",url:"https://www.nexiscan.com",apiUrl:"https://www.nexiscan.com/api"}},contracts:{multicall3:{address:"0x0277A46Cc69A57eE3A6C8c158bA874832F718B8E",blockCreated:25770160}}}),ss=e({id:240,name:"Nexilix Smart Chain",nativeCurrency:{decimals:18,name:"Nexilix",symbol:"NEXILIX"},rpcUrls:{default:{http:["https://rpcurl.pos.nexilix.com"]}},blockExplorers:{default:{name:"NexilixScan",url:"https://scan.nexilix.com"}},contracts:{multicall3:{address:"0x58381c8e2BF9d0C2C4259cA14BdA9Afe02831244",blockCreated:74448}}}),ns=e({id:248,name:"Oasys",nativeCurrency:{name:"Oasys",symbol:"OAS",decimals:18},rpcUrls:{default:{http:["https://rpc.mainnet.oasys.games"]}},blockExplorers:{default:{name:"OasysScan",url:"https://scan.oasys.games",apiUrl:"https://scan.oasys.games/api"}}}),ls=e({id:4090,network:"oasis-testnet",name:"Oasis Testnet",nativeCurrency:{name:"Fasttoken",symbol:"FTN",decimals:18},rpcUrls:{default:{http:["https://rpc1.oasis.bahamutchain.com"]},public:{http:["https://rpc1.oasis.bahamutchain.com"]}},blockExplorers:{default:{name:"Ftnscan",url:"https://oasis.ftnscan.com",apiUrl:"https://oasis.ftnscan.com/api"}},testnet:!0}),os=e({id:66,name:"OKC",nativeCurrency:{decimals:18,name:"OKT",symbol:"OKT"},rpcUrls:{default:{http:["https://exchainrpc.okex.org"]}},blockExplorers:{default:{name:"oklink",url:"https://www.oklink.com/okc"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:10364792}}}),D=1,cs=e({...l,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:{...l.contracts,l2OutputOracle:{[D]:{address:"0xdfe97868233d1aa22e815a266982f2cf17685a27"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:4286263},portal:{[D]:{address:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"}},l1StandardBridge:{[D]:{address:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"}}},sourceId:D}),I=5,is=e({...l,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:{...l.contracts,l2OutputOracle:{[I]:{address:"0xE6Dfba0953616Bacab0c9A8ecb3a9BBa77FC15c0"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:49461},portal:{[I]:{address:"0x5b47E1A08Ea6d985D6649300584e6722Ec4B1383"}},l1StandardBridge:{[I]:{address:"0x636Af16bf2f682dD3109e60102b8E1A089FedAa8"}}},testnet:!0,sourceId:I}),C=11155111,ps=e({...l,id:11155420,name:"OP Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.optimism.io"]}},blockExplorers:{default:{name:"Blockscout",url:"https://optimism-sepolia.blockscout.com",apiUrl:"https://optimism-sepolia.blockscout.com/api"}},contracts:{...l.contracts,disputeGameFactory:{[C]:{address:"0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1"}},l2OutputOracle:{[C]:{address:"0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1620204},portal:{[C]:{address:"0x16Fc5058F25648194471939df75CF27A2fdC48BC"}},l1StandardBridge:{[C]:{address:"0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1"}}},testnet:!0,sourceId:C}),ds=e({id:204,name:"opBNB",nativeCurrency:{name:"BNB",symbol:"BNB",decimals:18},rpcUrls:{default:{http:["https://opbnb-mainnet-rpc.bnbchain.org"]}},blockExplorers:{default:{name:"opbnbscan",url:"https://mainnet.opbnbscan.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:512881}}}),ms=e({id:5611,name:"opBNB Testnet",nativeCurrency:{decimals:18,name:"tBNB",symbol:"tBNB"},rpcUrls:{default:{http:["https://opbnb-testnet-rpc.bnbchain.org"]}},blockExplorers:{default:{name:"opbnbscan",url:"https://testnet.opbnbscan.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:3705108}},testnet:!0}),us=e({id:9700,name:"OORT MainnetDev",nativeCurrency:{decimals:18,name:"OORT",symbol:"OORT"},rpcUrls:{default:{http:["https://dev-rpc.oortech.com"]}},blockExplorers:{oort:{name:"OORT MainnetDev Explorer",url:"https://dev-scan.oortech.com"},default:{name:"OORT MainnetDev Explorer",url:"https://dev-scan.oortech.com"}}}),bs=e({id:41144114,name:"Otim Devnet",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH"},rpcUrls:{default:{http:["http://devnet.otim.xyz"]}},contracts:{batchInvoker:{address:"0x5FbDB2315678afecb367f032d93F642f64180aa3"}}}),hs=e({id:11297108109,name:"Palm",nativeCurrency:{decimals:18,name:"PALM",symbol:"PALM"},rpcUrls:{default:{http:["https://palm-mainnet.public.blastapi.io"],webSocket:["wss://palm-mainnet.public.blastapi.io"]}},blockExplorers:{default:{name:"Chainlens",url:"https://palm.chainlens.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:15429248}}}),ks=e({id:11297108099,name:"Palm Testnet",nativeCurrency:{decimals:18,name:"PALM",symbol:"PALM"},rpcUrls:{default:{http:["https://palm-mainnet.public.blastapi.io"],webSocket:["wss://palm-mainnet.public.blastapi.io"]}},blockExplorers:{default:{name:"Chainlens",url:"https://palm.chainlens.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:15429248}},testnet:!0}),xs=e({...x,id:1612127,name:"PlayFi Albireo Testnet",network:"albireo",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://albireo-rpc.playfi.ai"],webSocket:["wss://albireo-rpc-ws.playfi.ai/ws"]}},blockExplorers:{default:{name:"PlayFi Albireo Explorer",url:"https://albireo-explorer.playfi.ai"}},contracts:{multicall3:{address:"0xF9cda624FBC7e059355ce98a31693d299FACd963"}},testnet:!0}),_=1,fs=e({id:424,network:"pgn",name:"PGN",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.publicgoods.network"]}},blockExplorers:{default:{name:"PGN Explorer",url:"https://explorer.publicgoods.network",apiUrl:"https://explorer.publicgoods.network/api"},blocksout:{name:"PGN Explorer",url:"https://explorer.publicgoods.network",apiUrl:"https://explorer.publicgoods.network/api"}},contracts:{l2OutputOracle:{[_]:{address:"0x9E6204F750cD866b299594e2aC9eA824E2e5f95c"}},multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:3380209},portal:{[_]:{address:"0xb26Fd985c5959bBB382BAFdD0b879E149e48116c"}},l1StandardBridge:{[_]:{address:"0xD0204B9527C1bA7bD765Fa5CCD9355d38338272b"}}},formatters:Z,sourceId:_}),H=11155111,ys=e({id:58008,network:"pgn-testnet",name:"PGN ",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.publicgoods.network"]}},blockExplorers:{default:{name:"PGN Testnet Explorer",url:"https://explorer.sepolia.publicgoods.network",apiUrl:"https://explorer.sepolia.publicgoods.network/api"},blocksout:{name:"PGN Testnet Explorer",url:"https://explorer.sepolia.publicgoods.network",apiUrl:"https://explorer.sepolia.publicgoods.network/api"}},contracts:{l2OutputOracle:{[H]:{address:"0xD5bAc3152ffC25318F848B3DD5dA6C85171BaEEe"}},portal:{[H]:{address:"0xF04BdD5353Bb0EFF6CA60CfcC78594278eBfE179"}},l1StandardBridge:{[H]:{address:"0xFaE6abCAF30D23e233AC7faF747F2fC3a5a6Bfa3"}},multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:3754925}},formatters:Z,sourceId:H,testnet:!0}),Es=e({id:13381,name:"Phoenix Blockchain",nativeCurrency:{name:"Phoenix",symbol:"PHX",decimals:18},rpcUrls:{default:{http:["https://rpc.phoenixplorer.com"]}},blockExplorers:{default:{name:"Phoenixplorer",url:"https://phoenixplorer.com",apiUrl:"https://phoenixplorer.com/api"}},contracts:{multicall3:{address:"0x498cF757a575cFF2c2Ed9f532f56Efa797f86442",blockCreated:5620192}}}),Cs=e({id:242,name:"Plinga",nativeCurrency:{name:"Plinga",symbol:"PLINGA",decimals:18},rpcUrls:{default:{http:["https://rpcurl.mainnet.plgchain.com"]}},blockExplorers:{default:{name:"Plgscan",url:"https://www.plgscan.com"}},contracts:{multicall3:{address:"0x0989576160f2e7092908BB9479631b901060b6e4",blockCreated:204489}}}),Qe=11155111,ws=e({id:161221135,name:"Plume Testnet",nativeCurrency:{name:"Plume Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://testnet-rpc.plumenetwork.xyz/http"],webSocket:["wss://testnet-rpc.plumenetwork.xyz/ws"]}},blockExplorers:{default:{name:"Blockscout",url:"https://testnet-explorer.plumenetwork.xyz",apiUrl:"https://testnet-explorer.plumenetwork.xyz/api"}},testnet:!0,sourceId:Qe}),vs=e({id:137,name:"Polygon",nativeCurrency:{name:"MATIC",symbol:"MATIC",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:25770160}}}),Ts=e({id:80002,name:"Polygon Amoy",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},rpcUrls:{default:{http:["https://rpc-amoy.polygon.technology"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://amoy.polygonscan.com/",apiUrl:"https://api-amoy.polygonscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:3127388}},testnet:!0}),Us=e({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:25770160}},testnet:!0}),gs=e({id:1101,name:"Polygon zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://zkevm-rpc.com"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://zkevm.polygonscan.com",apiUrl:"https://api-zkevm.polygonscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:57746}}}),Ss=e({id:2442,name:"Polygon zkEVM Cardona",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.cardona.zkevm-rpc.com"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://cardona-zkevm.polygonscan.com",apiUrl:"https://cardona-zkevm.polygonscan.com/api"}},testnet:!0,contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:114091}}}),As=e({id:1442,name:"Polygon zkEVM Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.public.zkevm-test.net"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://testnet-zkevm.polygonscan.com",apiUrl:"https://testnet-zkevm.polygonscan.com/api"}},testnet:!0,contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:525686}}}),Bs=e({id:369,name:"PulseChain",nativeCurrency:{name:"Pulse",symbol:"PLS",decimals:18},testnet:!1,rpcUrls:{default:{http:["https://rpc.pulsechain.com"],webSocket:["wss://ws.pulsechain.com"]}},blockExplorers:{default:{name:"PulseScan",url:"https://scan.pulsechain.com",apiUrl:"https://api.scan.pulsechain.com/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14353601}}}),Fs=e({id:943,name:"PulseChain V4",testnet:!0,nativeCurrency:{name:"V4 Pulse",symbol:"v4PLS",decimals:18},rpcUrls:{default:{http:["https://rpc.v4.testnet.pulsechain.com"],webSocket:["wss://ws.v4.testnet.pulsechain.com"]}},blockExplorers:{default:{name:"PulseScan",url:"https://scan.v4.testnet.pulsechain.com",apiUrl:"https://scan.v4.testnet.pulsechain.com/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14353601}}}),Ms=e({id:35441,name:"Q Mainnet",nativeCurrency:{decimals:18,name:"Q",symbol:"Q"},rpcUrls:{default:{http:["https://rpc.q.org"]}},blockExplorers:{default:{name:"Q Mainnet Explorer",url:"https://explorer.q.org",apiUrl:"https://explorer.q.org/api"}}}),zs=e({id:35443,name:"Q Testnet",nativeCurrency:{decimals:18,name:"Q",symbol:"Q"},rpcUrls:{default:{http:["https://rpc.qtestnet.org"]}},blockExplorers:{default:{name:"Q Testnet Explorer",url:"https://explorer.qtestnet.org",apiUrl:"https://explorer.qtestnet.org/api"}},testnet:!0}),Ds=e({id:1729,name:"Reya Network",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.reya.network"],webSocket:["wss://ws.reya.network"]}},blockExplorers:{default:{name:"Reya Network Explorer",url:"https://explorer.reya.network"}},testnet:!1}),Is=e({id:570,name:"Rollux Mainnet",nativeCurrency:{decimals:18,name:"Syscoin",symbol:"SYS"},rpcUrls:{default:{http:["https://rpc.rollux.com"],webSocket:["wss://rpc.rollux.com/wss"]}},blockExplorers:{default:{name:"RolluxExplorer",url:"https://explorer.rollux.com",apiUrl:"https://explorer.rollux.com/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:119222}}}),_s=e({id:57e3,name:"Rollux Testnet",nativeCurrency:{decimals:18,name:"Syscoin",symbol:"SYS"},rpcUrls:{default:{http:["https://rpc-tanenbaum.rollux.com/"],webSocket:["wss://rpc-tanenbaum.rollux.com/wss"]}},blockExplorers:{default:{name:"RolluxTestnetExplorer",url:"https://rollux.tanenbaum.io",apiUrl:"https://rollux.tanenbaum.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:1813675}}}),Hs=e({id:2020,name:"Ronin",nativeCurrency:{name:"RON",symbol:"RON",decimals:18},rpcUrls:{default:{http:["https://api.roninchain.com/rpc"]}},blockExplorers:{default:{name:"Ronin Explorer",url:"https://app.roninchain.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:26023535}}}),Ps=e({id:30,name:"Rootstock Mainnet",network:"rootstock",nativeCurrency:{decimals:18,name:"Rootstock Bitcoin",symbol:"RBTC"},rpcUrls:{default:{http:["https://public-node.rsk.co"]}},blockExplorers:{default:{name:"RSK Explorer",url:"https://explorer.rsk.co"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:4249540}}}),Os=e({id:31,name:"Rootstock Testnet",network:"rootstock",nativeCurrency:{decimals:18,name:"Rootstock Bitcoin",symbol:"tRBTC"},rpcUrls:{default:{http:["https://public-node.testnet.rsk.co"]}},blockExplorers:{default:{name:"RSK Explorer",url:"https://explorer.testnet.rootstock.io"}}}),P=1,Ls=e({...l,id:12553,name:"RSS3 VSL Mainnet",nativeCurrency:{name:"RSS3",symbol:"RSS3",decimals:18},rpcUrls:{default:{http:["https://rpc.rss3.io"]}},blockExplorers:{default:{name:"RSS3 VSL Mainnet Scan",url:"https://scan.rss3.io",apiUrl:"https://scan.rss3.io/api"}},contracts:{...l.contracts,l2OutputOracle:{[P]:{address:"0xE6f24d2C32B3109B18ed33cF08eFb490b1e09C10"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14193},portal:{[P]:{address:"0x6A12432491bbbE8d3babf75F759766774C778Db4",blockCreated:19387057}},l1StandardBridge:{[P]:{address:"0x4cbab69108Aa72151EDa5A3c164eA86845f18438"}}},sourceId:P}),O=11155111,Ns=e({...l,id:2331,name:"RSS3 VSL Sepolia Testnet",nativeCurrency:{name:"RSS3",symbol:"RSS3",decimals:18},rpcUrls:{default:{http:["https://rpc.testnet.rss3.io"]}},blockExplorers:{default:{name:"RSS3 VSL Sepolia Testnet Scan",url:"https://scan.testnet.rss3.io",apiUrl:"https://scan.testnet.rss3.io/api"}},contracts:{...l.contracts,l2OutputOracle:{[O]:{address:"0xDb5c46C3Eaa6Ed6aE8b2379785DF7dd029C0dC81"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:55697},portal:{[O]:{address:"0xcBD77E8E1E7F06B25baDe67142cdE82652Da7b57",blockCreated:5345035}},l1StandardBridge:{[O]:{address:"0xdDD29bb63B0839FB1cE0eE439Ff027738595D07B"}}},testnet:!0,sourceId:O}),Rs=e({id:2021,name:"Saigon Testnet",nativeCurrency:{name:"RON",symbol:"RON",decimals:18},rpcUrls:{default:{http:["https://saigon-testnet.roninchain.com/rpc"]}},blockExplorers:{default:{name:"Saigon Explorer",url:"https://saigon-app.roninchain.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:18736871}},testnet:!0}),Ks=e({id:23294,name:"Oasis Sapphire",network:"sapphire",nativeCurrency:{name:"Sapphire Rose",symbol:"ROSE",decimals:18},rpcUrls:{default:{http:["https://sapphire.oasis.io"],webSocket:["wss://sapphire.oasis.io/ws"]}},blockExplorers:{default:{name:"Oasis Explorer",url:"https://explorer.oasis.io/mainnet/sapphire"},blockscout:{name:"Oasis Sapphire Explorer",url:"https://old-explorer.sapphire.oasis.io",apiUrl:"https://old-explorer.sapphire.oasis.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:734531}}}),Gs=e({id:23295,name:"Oasis Sapphire Testnet",network:"sapphire-testnet",nativeCurrency:{name:"Sapphire Test Rose",symbol:"TEST",decimals:18},rpcUrls:{default:{http:["https://testnet.sapphire.oasis.dev"],webSocket:["wss://testnet.sapphire.oasis.dev/ws"]}},blockExplorers:{default:{name:"Oasis Explorer",url:"https://explorer.oasis.io/testnet/sapphire"},blockscout:{name:"Oasis Sapphire Testnet Explorer",url:"https://testnet.old-explorer.sapphire.oasis.dev",apiUrl:"https://testnet.old-explorer.sapphire.oasis.dev/api"}},testnet:!0}),Vs=e({id:534352,name:"Scroll",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.scroll.io"],webSocket:["wss://wss-rpc.scroll.io/ws"]}},blockExplorers:{default:{name:"Scrollscan",url:"https://scrollscan.com",apiUrl:"https://api.scrollscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14}},testnet:!1}),Xs=e({id:534351,name:"Scroll Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia-rpc.scroll.io"]}},blockExplorers:{default:{name:"Blockscout",url:"https://sepolia-blockscout.scroll.io",apiUrl:"https://sepolia-blockscout.scroll.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:9473}},testnet:!0}),qs=e({id:534353,name:"Scroll Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://alpha-rpc.scroll.io/l2"],webSocket:["wss://alpha-rpc.scroll.io/l2/ws"]}},blockExplorers:{default:{name:"Blockscout",url:"https://blockscout.scroll.io",apiUrl:"https://blockscout.scroll.io/api"}},testnet:!0}),js=e({id:713715,name:"Sei Devnet",nativeCurrency:{name:"Sei",symbol:"SEI",decimals:18},rpcUrls:{default:{http:["https://evm-rpc-arctic-1.sei-apis.com"]}},blockExplorers:{default:{name:"Seitrace",url:"https://seitrace.com"}},testnet:!0}),Zs=e({id:11155111,name:"Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.sepolia.org"]}},blockExplorers:{default:{name:"Etherscan",url:"https://sepolia.etherscan.io",apiUrl:"https://api-sepolia.etherscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:751532},ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0xc8Af999e38273D658BE1b921b88A9Ddf005769cC",blockCreated:5317080}},testnet:!0}),$s=e({id:148,name:"Shimmer",network:"shimmer",nativeCurrency:{decimals:18,name:"Shimmer",symbol:"SMR"},rpcUrls:{default:{http:["https://json-rpc.evm.shimmer.network"]}},blockExplorers:{default:{name:"Shimmer Network Explorer",url:"https://explorer.evm.shimmer.network",apiUrl:"https://explorer.evm.shimmer.network/api"}}}),Ws=e({id:1073,name:"Shimmer Testnet",network:"shimmer-testnet",nativeCurrency:{decimals:18,name:"Shimmer",symbol:"SMR"},rpcUrls:{default:{http:["https://json-rpc.evm.testnet.shimmer.network"]}},blockExplorers:{default:{name:"Shimmer Network Explorer",url:"https://explorer.evm.testnet.shimmer.network",apiUrl:"https://explorer.evm.testnet.shimmer.network/api"}},testnet:!0}),Qs=e({id:391845894,name:"SKALE | Block Brawlers",nativeCurrency:{name:"BRAWL",symbol:"BRAWL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/frayed-decent-antares"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/frayed-decent-antares"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://frayed-decent-antares.explorer.mainnet.skalenodes.com"}},contracts:{}}),Ys=e({id:1564830818,name:"SKALE | Calypso NFT Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/honorable-steel-rasalhague"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/honorable-steel-rasalhague"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:3107626}}}),Js=e({id:974399131,name:"SKALE Calypso Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://testnet.skalenodes.com/v1/giant-half-dual-testnet"],webSocket:["wss://testnet.skalenodes.com/v1/ws/giant-half-dual-testnet"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://giant-half-dual-testnet.explorer.testnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:103220}},testnet:!0}),en=e({id:1026062157,name:"SKALE | CryptoBlades",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/affectionate-immediate-pollux"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/affectionate-immediate-pollux"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://affectionate-immediate-pollux.explorer.mainnet.skalenodes.com"}},contracts:{}}),tn=e({id:1032942172,name:"SKALE | Crypto Colosseum",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/haunting-devoted-deneb"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/haunting-devoted-deneb"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://haunting-devoted-deneb.explorer.mainnet.skalenodes.com"}},contracts:{}}),an=e({id:2046399126,name:"SKALE | Europa Liquidity Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/elated-tan-skat"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/elated-tan-skat"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://elated-tan-skat.explorer.mainnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:3113495}}}),rn=e({id:1444673419,name:"SKALE Europa Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://testnet.skalenodes.com/v1/juicy-low-small-testnet"],webSocket:["wss://testnet.skalenodes.com/v1/ws/juicy-low-small-testnet"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://juicy-low-small-testnet.explorer.testnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:110858}},testnet:!0}),sn=e({id:2139927552,name:"SKALE | Exorde",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/light-vast-diphda"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/light-vast-diphda"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://light-vast-diphda.explorer.mainnet.skalenodes.com"}},contracts:{}}),nn=e({id:1273227453,name:"SKALE | Human Protocol",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/wan-red-ain"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/wan-red-ain"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://wan-red-ain.explorer.mainnet.skalenodes.com"}},contracts:{}}),ln=e({id:1482601649,name:"SKALE | Nebula Gaming Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/green-giddy-denebola"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/green-giddy-denebola"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://green-giddy-denebola.explorer.mainnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:2372986}}}),on=e({id:37084624,name:"SKALE Nebula Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://testnet.skalenodes.com/v1/lanky-ill-funny-testnet"],webSocket:["wss://testnet.skalenodes.com/v1/ws/lanky-ill-funny-testnet"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://lanky-ill-funny-testnet.explorer.testnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:105141}},testnet:!0}),cn=e({id:278611351,name:"SKALE | Razor Network",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/turbulent-unique-scheat"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/turbulent-unique-scheat"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://turbulent-unique-scheat.explorer.mainnet.skalenodes.com"}},contracts:{}}),pn=e({id:1350216234,name:"SKALE | Titan Community Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/parallel-stormy-spica"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/parallel-stormy-spica"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://parallel-stormy-spica.explorer.mainnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:2076458}}}),dn=e({id:1020352220,name:"SKALE Titan Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://testnet.skalenodes.com/v1/aware-fake-trim-testnet"],webSocket:["wss://testnet.skalenodes.com/v1/ws/aware-fake-trim-testnet"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://aware-fake-trim-testnet.explorer.testnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:104072}},testnet:!0}),mn=e({id:19,name:"Songbird Mainnet",nativeCurrency:{decimals:18,name:"songbird",symbol:"SGB"},rpcUrls:{default:{http:["https://songbird-api.flare.network/ext/C/rpc"]}},blockExplorers:{default:{name:"Songbird Explorer",url:"https://songbird-explorer.flare.network",apiUrl:"https://songbird-explorer.flare.network/api"}}}),un=e({id:16,name:"Coston",nativeCurrency:{decimals:18,name:"costonflare",symbol:"CFLR"},rpcUrls:{default:{http:["https://coston-api.flare.network/ext/C/rpc"]}},blockExplorers:{default:{name:"Coston Explorer",url:"https://coston-explorer.flare.network",apiUrl:"https://coston-explorer.flare.network/api"}},testnet:!0}),bn=e({id:88882,name:"Chiliz Spicy Testnet",network:"chiliz-spicy-Testnet",nativeCurrency:{decimals:18,name:"CHZ",symbol:"CHZ"},rpcUrls:{default:{http:["https://spicy-rpc.chiliz.com","https://chiliz-spicy-rpc.publicnode.com"],webSocket:["wss://spicy-rpc-ws.chiliz.com","wss://chiliz-spicy-rpc.publicnode.com"]}},blockExplorers:{default:{name:"Chiliz Explorer",url:"http://spicy-explorer.chiliz.com",apiUrl:"http://spicy-explorer.chiliz.com/api"}},testnet:!0}),hn=e({id:8082,name:"Shardeum Sphinx",nativeCurrency:{name:"SHARDEUM",symbol:"SHM",decimals:18},rpcUrls:{default:{http:["https://sphinx.shardeum.org"]}},blockExplorers:{default:{name:"Shardeum Explorer",url:"https://explorer-sphinx.shardeum.org"}},testnet:!0}),kn=e({id:109,name:"Shibarium",network:"shibarium",nativeCurrency:{name:"Bone",symbol:"BONE",decimals:18},rpcUrls:{default:{http:["https://rpc.shibrpc.com"]}},blockExplorers:{default:{name:"Blockscout",url:"https://shibariumscan.io"}},contracts:{multicall3:{address:"0x864Bf681ADD6052395188A89101A1B37d3B4C961",blockCreated:265900}}}),xn=e({id:105105,name:"Stratis Mainnet",network:"stratis",nativeCurrency:{name:"Stratis",symbol:"STRAX",decimals:18},rpcUrls:{default:{http:["https://rpc.stratisevm.com"]}},blockExplorers:{default:{name:"Stratis Explorer",url:"https://explorer.stratisevm.com"}}}),fn=e({id:57,name:"Syscoin Mainnet",nativeCurrency:{decimals:18,name:"Syscoin",symbol:"SYS"},rpcUrls:{default:{http:["https://rpc.syscoin.org"],webSocket:["wss://rpc.syscoin.org/wss"]}},blockExplorers:{default:{name:"SyscoinExplorer",url:"https://explorer.syscoin.org",apiUrl:"https://explorer.syscoin.org/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:287139}}}),yn=e({id:5700,name:"Syscoin Tanenbaum Testnet",nativeCurrency:{decimals:18,name:"Syscoin",symbol:"SYS"},rpcUrls:{default:{http:["https://rpc.tanenbaum.io"],webSocket:["wss://rpc.tanenbaum.io/wss"]}},blockExplorers:{default:{name:"SyscoinTestnetExplorer",url:"https://tanenbaum.io"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:271288}}}),En=e({id:841,name:"Taraxa Mainnet",nativeCurrency:{name:"Tara",symbol:"TARA",decimals:18},rpcUrls:{default:{http:["https://rpc.mainnet.taraxa.io"]}},blockExplorers:{default:{name:"Taraxa Explorer",url:"https://explorer.mainnet.taraxa.io"}}}),Cn=e({id:167009,name:"Taiko Hekla L2",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.hekla.taiko.xyz"]}},blockExplorers:{default:{name:"Taikoscan",url:"https://hekla.taikoscan.network"}}}),wn=e({id:167007,name:"Taiko Jolnir (Alpha-5 Testnet)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.jolnir.taiko.xyz"]}},blockExplorers:{default:{name:"blockscout",url:"https://explorer.jolnir.taiko.xyz"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:732706}},testnet:!0}),vn=e({id:167008,name:"Taiko Katla (Alpha-6 Testnet)",network:"tko-katla",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.katla.taiko.xyz"]},public:{http:["https://rpc.katla.taiko.xyz"]}},blockExplorers:{default:{name:"blockscout",url:"https://explorer.katla.taiko.xyz"}}}),Tn=e({id:167005,name:"Taiko (Alpha-3 Testnet)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.test.taiko.xyz"]}},blockExplorers:{default:{name:"blockscout",url:"https://explorer.test.taiko.xyz"}}}),Un=e({id:842,name:"Taraxa Testnet",nativeCurrency:{name:"Tara",symbol:"TARA",decimals:18},rpcUrls:{default:{http:["https://rpc.testnet.taraxa.io"]}},blockExplorers:{default:{name:"Taraxa Explorer",url:"https://explorer.testnet.taraxa.io"}},testnet:!0}),gn=e({id:2017,name:"Telcoin Adiri Testnet",nativeCurrency:{name:"Telcoin",symbol:"TEL",decimals:18},rpcUrls:{default:{http:["https://rpc.telcoin.network"]}},blockExplorers:{default:{name:"telscan",url:"https://telscan.io"}},testnet:!0}),Sn=e({id:40,name:"Telos",nativeCurrency:{decimals:18,name:"Telos",symbol:"TLOS"},rpcUrls:{default:{http:["https://mainnet.telos.net/evm"]}},blockExplorers:{default:{name:"Teloscan",url:"https://www.teloscan.io/"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:246530709}}}),An=e({id:41,name:"Telos",nativeCurrency:{decimals:18,name:"Telos",symbol:"TLOS"},rpcUrls:{default:{http:["https://testnet.telos.net/evm"]}},blockExplorers:{default:{name:"Teloscan (testnet)",url:"https://testnet.teloscan.io/"}},testnet:!0}),Bn=e({id:1559,name:"Tenet",network:"tenet-mainnet",nativeCurrency:{name:"TENET",symbol:"TENET",decimals:18},rpcUrls:{default:{http:["https://rpc.tenet.org"]}},blockExplorers:{default:{name:"TenetScan Mainnet",url:"https://tenetscan.io",apiUrl:"https://tenetscan.io/api"}},testnet:!1}),Fn=e({id:7,name:"ThaiChain",nativeCurrency:{name:"TCH",symbol:"TCH",decimals:18},rpcUrls:{default:{http:["hhttps://rpc.thaichain.org"]}},blockExplorers:{default:{name:"Blockscout",url:"https://exp.thaichain.org",apiUrl:"https://exp.thaichain.org/api"}},contracts:{multicall3:{address:"0x0DaD6130e832c21719C5CE3bae93454E16A84826",blockCreated:4806386}},testnet:!1}),Mn=e({id:997,name:"5ireChain Thunder Testnet",nativeCurrency:{name:"5ire Token",symbol:"5IRE",decimals:18},rpcUrls:{default:{http:["https://rpc-testnet.5ire.network"]}},blockExplorers:{default:{name:"5ireChain Explorer",url:"https://explorer.5ire.network"}},testnet:!0}),zn=e({id:100009,name:"Vechain",nativeCurrency:{name:"VeChain",symbol:"VET",decimals:18},rpcUrls:{default:{http:["https://mainnet.vechain.org"]}},blockExplorers:{default:{name:"Vechain Explorer",url:"https://explore.vechain.org"},vechainStats:{name:"Vechain Stats",url:"https://vechainstats.com"}}}),Dn=e({id:888,name:"Wanchain",nativeCurrency:{name:"WANCHAIN",symbol:"WAN",decimals:18},rpcUrls:{default:{http:["https://gwan-ssl.wandevs.org:56891","https://gwan2-ssl.wandevs.org"]}},blockExplorers:{default:{name:"WanScan",url:"https://wanscan.org"}},contracts:{multicall3:{address:"0xcDF6A1566e78EB4594c86Fe73Fcdc82429e97fbB",blockCreated:25312390}}}),In=e({id:999,name:"Wanchain Testnet",nativeCurrency:{name:"WANCHAIN",symbol:"WANt",decimals:18},rpcUrls:{default:{http:["https://gwan-ssl.wandevs.org:46891"]}},blockExplorers:{default:{name:"WanScanTest",url:"https://wanscan.org"}},contracts:{multicall3:{address:"0x11c89bF4496c39FB80535Ffb4c92715839CC5324",blockCreated:24743448}},testnet:!0}),_n=e({id:1111,name:"WEMIX",network:"wemix-mainnet",nativeCurrency:{name:"WEMIX",symbol:"WEMIX",decimals:18},rpcUrls:{default:{http:["https://api.wemix.com"]},public:{http:["https://api.wemix.com"]}},blockExplorers:{default:{name:"wemixExplorer",url:"https://explorer.wemix.com"}}}),Hn=e({id:1112,name:"WEMIX Testnet",network:"wemix-testnet",nativeCurrency:{name:"WEMIX",symbol:"tWEMIX",decimals:18},rpcUrls:{default:{http:["https://api.test.wemix.com"]},public:{http:["https://api.test.wemix.com"]}},blockExplorers:{default:{name:"wemixExplorer",url:"https://testnet.wemixscan.com",apiUrl:"https://testnet.wemixscan.com/api"}},testnet:!0}),Pn=e({id:195,name:"X1 Testnet",nativeCurrency:{decimals:18,name:"OKB",symbol:"OKB"},rpcUrls:{default:{http:["https://x1testrpc.okx.com"]}},blockExplorers:{default:{name:"OKLink",url:"https://www.oklink.com/x1-test"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:624344}},testnet:!0}),On=e({id:196,name:"X Layer Mainnet",nativeCurrency:{decimals:18,name:"OKB",symbol:"OKB"},rpcUrls:{default:{http:["https://rpc.xlayer.tech"]}},blockExplorers:{default:{name:"OKLink",url:"https://www.oklink.com/xlayer"}}}),Ln=e({id:50,name:"XinFin Network",nativeCurrency:{decimals:18,name:"XDC",symbol:"XDC"},rpcUrls:{default:{http:["https://rpc.xinfin.network"]}},blockExplorers:{xinfin:{name:"XinFin",url:"https://explorer.xinfin.network"},default:{name:"Blocksscan",url:"https://xdc.blocksscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:71542788}}}),Nn=e({id:51,name:"Apothem Network",nativeCurrency:{decimals:18,name:"TXDC",symbol:"TXDC"},rpcUrls:{default:{http:["https://erpc.apothem.network"]}},blockExplorers:{default:{name:"Blocksscan",url:"https://apothem.blocksscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:59765389}}}),Rn=e({id:50005,name:"Yooldo Verse",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},rpcUrls:{default:{http:["https://rpc.yooldo-verse.xyz"]}},blockExplorers:{default:{name:"Yooldo Verse Explorer",url:"https://explorer.yooldo-verse.xyz"}}}),Kn=e({id:50006,name:"Yooldo Verse Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},rpcUrls:{default:{http:["https://rpc.testnet.yooldo-verse.xyz"]}},blockExplorers:{default:{name:"Yooldo Verse Testnet Explorer",url:"https://explorer.testnet.yooldo-verse.xyz"}},testnet:!0}),Gn=e({id:7e3,name:"ZetaChain",nativeCurrency:{decimals:18,name:"Zeta",symbol:"ZETA"},rpcUrls:{default:{http:["https://zetachain-evm.blockpi.network/v1/rpc/public"]}},blockExplorers:{default:{name:"ZetaScan",url:"https://explorer.zetachain.com"}},testnet:!1}),Vn=e({id:7001,name:"ZetaChain Athens Testnet",nativeCurrency:{decimals:18,name:"Zeta",symbol:"aZETA"},rpcUrls:{default:{http:["https://zetachain-athens-evm.blockpi.network/v1/rpc/public"]}},blockExplorers:{default:{name:"ZetaScan",url:"https://athens.explorer.zetachain.com"}},testnet:!0}),Xn=e({id:1337803,name:"Zhejiang",nativeCurrency:{name:"Zhejiang Ether",symbol:"ZhejETH",decimals:18},rpcUrls:{default:{http:["https://rpc.zhejiang.ethpandaops.io"]}},blockExplorers:{default:{name:"Beaconchain",url:"https://zhejiang.beaconcha.in"}},testnet:!0}),qn=e({id:32769,name:"Zilliqa",network:"zilliqa",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},rpcUrls:{default:{http:["https://api.zilliqa.com"]}},blockExplorers:{default:{name:"Ethernal",url:"https://evmx.zilliqa.com"}},testnet:!1}),jn=e({id:33101,name:"Zilliqa Testnet",network:"zilliqa-testnet",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},rpcUrls:{default:{http:["https://dev-api.zilliqa.com"]}},blockExplorers:{default:{name:"Ethernal",url:"https://evmx.testnet.zilliqa.com"}},testnet:!0}),Zn=e({id:42766,name:"ZKFair Mainnet",network:"zkfair-mainnet",nativeCurrency:{decimals:18,name:"USD Coin",symbol:"USDC"},rpcUrls:{default:{http:["https://rpc.zkfair.io"]},public:{http:["https://rpc.zkfair.io"]}},blockExplorers:{default:{name:"zkFair Explorer",url:"https://scan.zkfair.io",apiUrl:"https://scan.zkfair.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:6090959}},testnet:!1}),$n=e({id:43851,name:"ZKFair Testnet",network:"zkfair-testnet",nativeCurrency:{decimals:18,name:"USD Coin",symbol:"USDC"},rpcUrls:{default:{http:["https://testnet-rpc.zkfair.io"]},public:{http:["https://testnet-rpc.zkfair.io"]}},blockExplorers:{default:{name:"zkFair Explorer",url:"https://testnet-scan.zkfair.io"}},testnet:!0}),Wn=e({...x,id:324,name:"zkSync Era",network:"zksync-era",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://mainnet.era.zksync.io"],webSocket:["wss://mainnet.era.zksync.io/ws"]}},blockExplorers:{default:{name:"Etherscan",url:"https://era.zksync.network/",apiUrl:"https://api-era.zksync.network/api"}},contracts:{multicall3:{address:"0xF9cda624FBC7e059355ce98a31693d299FACd963"}}}),Qn=e({...x,id:260,name:"zkSync InMemory Node",network:"zksync-in-memory-node",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["http://localhost:8011"]}},testnet:!0}),Yn=e({...x,id:270,name:"zkSync CLI Local Node",network:"zksync-cli-local-node",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["http://localhost:3050"]}},testnet:!0}),Jn=e({...x,id:300,name:"zkSync Sepolia Testnet",network:"zksync-sepolia-testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.era.zksync.dev"],webSocket:["wss://sepolia.era.zksync.dev/ws"]}},blockExplorers:{default:{name:"zkExplorer",url:"https://sepolia.explorer.zksync.io/"}},contracts:{multicall3:{address:"0xF9cda624FBC7e059355ce98a31693d299FACd963"}},testnet:!0}),el=e({...x,id:280,name:"zkSync Era Testnet",network:"zksync-era-testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://testnet.era.zksync.dev"],webSocket:["wss://testnet.era.zksync.dev/ws"]}},blockExplorers:{default:{name:"zkExplorer",url:"https://goerli.explorer.zksync.io"}},contracts:{multicall3:{address:"0xF9cda624FBC7e059355ce98a31693d299FACd963"}},testnet:!0}),L=1,tl=e({...l,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:{...l.contracts,l2OutputOracle:{[L]:{address:"0x9E6204F750cD866b299594e2aC9eA824E2e5f95c"}},multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:5882},portal:{[L]:{address:"0x1a0ad011913A150f69f6A19DF447A0CfD9551054"}},l1StandardBridge:{[L]:{address:"0x3e2Ea9B92B7E48A52296fD261dc26fd995284631"}}},sourceId:L}),N=11155111,al=e({...l,id:999999999,name:"Zora Sepolia",network:"zora-sepolia",nativeCurrency:{decimals:18,name:"Zora Sepolia",symbol:"ETH"},rpcUrls:{default:{http:["https://sepolia.rpc.zora.energy"],webSocket:["wss://sepolia.rpc.zora.energy"]}},blockExplorers:{default:{name:"Zora Sepolia Explorer",url:"https://sepolia.explorer.zora.energy/",apiUrl:"https://sepolia.explorer.zora.energy/api"}},contracts:{...l.contracts,l2OutputOracle:{[N]:{address:"0x2615B481Bd3E5A1C0C7Ca3Da1bdc663E8615Ade9"}},multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:83160},portal:{[N]:{address:"0xeffE2C6cA9Ab797D418f0D91eA60807713f3536f"}},l1StandardBridge:{[N]:{address:"0x5376f1D543dcbB5BD416c56C189e4cB7399fCcCB"}}},sourceId:N,testnet:!0}),Y=5,rl=e({...l,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:{...l.contracts,multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:189123},portal:{[Y]:{address:"0xDb9F51790365e7dc196e7D072728df39Be958ACe"}}},sourceId:Y,testnet:!0});export{et as acala,tt as ancient8,at as ancient8Sepolia,rt as anvil,st as apexTestnet,nt as arbitrum,lt as arbitrumGoerli,ot as arbitrumNova,dt as arbitrumSepolia,mt as areonNetwork,ut as areonNetworkTestnet,ct as astar,it as astarZkEVM,pt as astarZkyoto,bt as aurora,ht as auroraTestnet,kt as auroria,xt as avalanche,ft as avalancheFuji,yt as bahamut,Et as base,Ct as baseGoerli,wt as baseSepolia,vt as beam,Tt as beamTestnet,Ut as bearNetworkChainMainnet,gt as bearNetworkChainTestnet,St as berachainTestnet,At as bevmMainnet,Bt as bitTorrent,Ft as bitTorrentTestnet,Mt as blast,zt as blastSepolia,Dt as bob,It as boba,_t as bronos,Ht as bronosTestnet,Pt as bsc,Lt as bscGreenfield,Ot as bscTestnet,Nt as btr,Rt as btrTestnet,Kt as bxn,Gt as bxnTestnet,Vt as canto,Xt as celo,qt as celoAlfajores,jt as chiliz,Zt as classic,$t as confluxESpace,Wt as confluxESpaceTestnet,Qt as coreDao,Yt as cronos,Jt as cronosTestnet,ea as crossbell,ta as cyber,aa as cyberTestnet,ra as darwinia,sa as defichainEvm,na as defichainEvmTestnet,la as degen,oa as dfk,ca as dodochainTestnet,ia as dogechain,pa as dreyerxMainnet,da as edgeless,ma as edgelessTestnet,ua as edgeware,ba as edgewareTestnet,Ca as ekta,wa as ektaTestnet,ha as eon,ka as eos,xa as eosTestnet,fa as etherlinkTestnet,ya as evmos,Ea as evmosTestnet,va as fantom,Ta as fantomSonicTestnet,Ua as fantomTestnet,ga as fibo,Sa as filecoin,Aa as filecoinCalibration,Ba as filecoinHyperspace,Fa as flare,Ma as flareTestnet,Da as flowMainnet,za as flowPreviewnet,Ia as flowTestnet,_a as foundry,Ha as fraxtal,Pa as fraxtalTestnet,Oa as funkiSepolia,La as fuse,Na as fuseSparknet,Za as gnosis,$a as gnosisChiado,qa as gobi,ja as goerli,Ya as haqqMainnet,Ja as haqqTestedge2,Wa as hardhat,Qa as harmonyOne,er as hedera,ar as hederaPreviewnet,tr as hederaTestnet,rr as holesky,sr as immutableZkEvm,nr as immutableZkEvmTestnet,lr as inEVM,Ra as iotex,Ka as iotexTestnet,Ga as jbc,Va as jbcTestnet,or as kakarotSepolia,Xa as karura,cr as kava,ir as kavaTestnet,pr as kcc,dr as klaytn,mr as klaytnBaobab,ur as kroma,br as kromaSepolia,hr as l3x,kr as l3xTestnet,xr as lightlinkPegasus,fr as lightlinkPhoenix,yr as linea,Er as lineaGoerli,Cr as lineaSepolia,wr as lineaTestnet,vr as lisk,Tr as liskSepolia,Ur as localhost,gr as lukso,Sr as luksoTestnet,Ar as mainnet,Br as mandala,Fr as manta,Mr as mantaSepoliaTestnet,zr as mantaTestnet,Dr as mantle,Ir as mantleSepoliaTestnet,_r as mantleTestnet,Hr as merlin,Pr as metachain,Or as metachainIstanbul,Lr as metalL2,Nr as meter,Rr as meterTestnet,Kr as metis,Gr as metisGoerli,Vr as mev,Xr as mevTestnet,qr as mintSepoliaTestnet,jr as mode,Zr as modeTestnet,$r as moonbaseAlpha,Wr as moonbeam,Qr as moonbeamDev,Yr as moonriver,Jr as morphSepolia,es as nautilus,ts as neonDevnet,as as neonMainnet,rs as nexi,ss as nexilix,ls as oasisTestnet,ns as oasys,os as okc,us as oortMainnetDev,ds as opBNB,ms as opBNBTestnet,cs as optimism,is as optimismGoerli,ps as optimismSepolia,bs as otimDevnet,hs as palm,ks as palmTestnet,fs as pgn,ys as pgnTestnet,Es as phoenix,xs as playfiAlbireo,Cs as plinga,ws as plumeTestnet,vs as polygon,Ts as polygonAmoy,Us as polygonMumbai,gs as polygonZkEvm,Ss as polygonZkEvmCardona,As as polygonZkEvmTestnet,Bs as pulsechain,Fs as pulsechainV4,Ms as qMainnet,zs as qTestnet,Ds as reyaNetwork,Is as rollux,_s as rolluxTestnet,Hs as ronin,Ps as rootstock,Os as rootstockTestnet,Ls as rss3,Ns as rss3Sepolia,Rs as saigon,Ks as sapphire,Gs as sapphireTestnet,Vs as scroll,Xs as scrollSepolia,qs as scrollTestnet,js as seiDevnet,Zs as sepolia,hn as shardeumSphinx,kn as shibarium,$s as shimmer,Ws as shimmerTestnet,Qs as skaleBlockBrawlers,Ys as skaleCalypso,Js as skaleCalypsoTestnet,en as skaleCryptoBlades,tn as skaleCryptoColosseum,an as skaleEuropa,rn as skaleEuropaTestnet,sn as skaleExorde,nn as skaleHumanProtocol,ln as skaleNebula,on as skaleNebulaTestnet,cn as skaleRazor,pn as skaleTitan,dn as skaleTitanTestnet,mn as songbird,un as songbirdTestnet,bn as spicy,xn as stratis,fn as syscoin,yn as syscoinTestnet,Cn as taikoHekla,wn as taikoJolnir,vn as taikoKatla,Tn as taikoTestnetSepolia,En as taraxa,Un as taraxaTestnet,gn as telcoinTestnet,Sn as telos,An as telosTestnet,Bn as tenet,Fn as thaiChain,Mn as thunderTestnet,zn as vechain,Dn as wanchain,In as wanchainTestnet,_n as wemix,Hn as wemixTestnet,Pn as x1Testnet,On as xLayer,Pn as xLayerTestnet,Ln as xdc,Nn as xdcTestnet,Rn as yooldoVerse,Kn as yooldoVerseTestnet,Gn as zetachain,Vn as zetachainAthensTestnet,Xn as zhejiang,qn as zilliqa,jn as zilliqaTestnet,Zn as zkFair,$n as zkFairTestnet,Wn as zkSync,Qn as zkSyncInMemoryNode,Yn as zkSyncLocalNode,Jn as zkSyncSepoliaTestnet,el as zkSyncTestnet,tl as zora,al as zoraSepolia,rl as zoraTestnet};
diff --git a/assets/index-BY8dqRha.js b/assets/index-CEX9b7PI.js
similarity index 94%
rename from assets/index-BY8dqRha.js
rename to assets/index-CEX9b7PI.js
index 34052e8..cefb155 100644
--- a/assets/index-BY8dqRha.js
+++ b/assets/index-CEX9b7PI.js
@@ -1 +1 @@
-import{a_ as i,a$ as n,b0 as b,b2 as c,b1 as T,b3 as d,b4 as l,b9 as m,ba as f,aY as x,bd as p,be as E,aT as h,aZ as B,bf as g,bg as y,b5 as H,bh as u,bi as I,aR as S,b6 as v,bb as z,bj as k,bk as C,bl as O,aQ as R,bm as A,bn as L,b7 as U,bc as w,b8 as P,aS as q,bo as F}from"./index-DgzvH8Qi.js";import{F as j,a as G,I as K,b as N,c as D,d as J,T as M,q as Q,s as Y,u as Z,v as _,y as $,E as W,w as X,x as aa,B as sa,e as ea,C as ra,h as oa,j as ta,l as ia,f as na,D as ba,g as ca,i as Ta,k as da,n as la,o as ma,G as fa,H as xa,m as pa,r as Ea,K as ha,L as Ba,J as ga,M as ya,N as Ha,O as ua,z as Ia,A as Sa,p as va,t as za}from"./number-Bkt_BtbB.js";function r({chains:a,id:s}){return a.find(e=>e.id===s)}export{i as BaseError,j as FeeCapTooHighError,n as IntegerOutOfRangeError,G as InvalidAddressError,K as InvalidChainIdError,b as InvalidHexBooleanError,N as InvalidLegacyVError,D as InvalidSerializableTransactionError,J as InvalidStorageKeySizeError,c as SizeExceedsPaddingSizeError,T as SizeOverflowError,d as SliceOffsetOutOfBoundsError,M as TipAboveFeeCapError,Q as assertTransactionEIP1559,Y as assertTransactionEIP2930,Z as assertTransactionLegacy,_ as blobsToCommitments,$ as blobsToProofs,l as boolToBytes,m as boolToHex,f as bytesToHex,W as checksumAddress,X as commitmentToVersionedHash,aa as commitmentsToVersionedHashes,sa as concatHex,ea as defineBlock,ra as defineChain,oa as defineTransaction,ta as defineTransactionReceipt,ia as defineTransactionRequest,x as etherUnits,r as extractChain,na as formatBlock,p as formatEther,ba as formatGwei,ca as formatLog,Ta as formatTransaction,da as formatTransactionReceipt,la as formatTransactionRequest,E as formatUnits,h as fromHex,ma as getTransactionType,B as gweiUnits,g as hexToBigInt,y as hexToBool,H as hexToBytes,u as hexToNumber,I as hexToString,fa as isAddress,S as isHex,xa as keccak256,pa as maxUint16,v as numberToBytes,z as numberToHex,k as pad,C as padBytes,O as padHex,R as parseEther,A as parseUnits,Ea as rpcTransactionType,ha as serializeAccessList,Ba as serializeTransaction,ga as sha256,L as size,ya as slice,Ha as sliceBytes,ua as sliceHex,U as stringToBytes,w as stringToHex,Ia as toBlobSidecars,Sa as toBlobs,P as toBytes,q as toHex,va as toRlp,za as transactionType,F as trim};
+import{a_ as i,a$ as n,b0 as b,b2 as c,b1 as T,b3 as d,b4 as l,b9 as m,ba as f,aY as x,bd as p,be as E,aT as h,aZ as B,bf as g,bg as y,b5 as H,bh as u,bi as I,aR as S,b6 as v,bb as z,bj as k,bk as C,bl as O,aQ as R,bm as A,bn as L,b7 as U,bc as w,b8 as P,aS as q,bo as F}from"./index-VLNutAkM.js";import{F as j,a as G,I as K,b as N,c as D,d as J,T as M,q as Q,s as Y,u as Z,v as _,y as $,E as W,w as X,x as aa,B as sa,e as ea,C as ra,h as oa,j as ta,l as ia,f as na,D as ba,g as ca,i as Ta,k as da,n as la,o as ma,G as fa,H as xa,m as pa,r as Ea,K as ha,L as Ba,J as ga,M as ya,N as Ha,O as ua,z as Ia,A as Sa,p as va,t as za}from"./number-LIp8TDoP.js";function r({chains:a,id:s}){return a.find(e=>e.id===s)}export{i as BaseError,j as FeeCapTooHighError,n as IntegerOutOfRangeError,G as InvalidAddressError,K as InvalidChainIdError,b as InvalidHexBooleanError,N as InvalidLegacyVError,D as InvalidSerializableTransactionError,J as InvalidStorageKeySizeError,c as SizeExceedsPaddingSizeError,T as SizeOverflowError,d as SliceOffsetOutOfBoundsError,M as TipAboveFeeCapError,Q as assertTransactionEIP1559,Y as assertTransactionEIP2930,Z as assertTransactionLegacy,_ as blobsToCommitments,$ as blobsToProofs,l as boolToBytes,m as boolToHex,f as bytesToHex,W as checksumAddress,X as commitmentToVersionedHash,aa as commitmentsToVersionedHashes,sa as concatHex,ea as defineBlock,ra as defineChain,oa as defineTransaction,ta as defineTransactionReceipt,ia as defineTransactionRequest,x as etherUnits,r as extractChain,na as formatBlock,p as formatEther,ba as formatGwei,ca as formatLog,Ta as formatTransaction,da as formatTransactionReceipt,la as formatTransactionRequest,E as formatUnits,h as fromHex,ma as getTransactionType,B as gweiUnits,g as hexToBigInt,y as hexToBool,H as hexToBytes,u as hexToNumber,I as hexToString,fa as isAddress,S as isHex,xa as keccak256,pa as maxUint16,v as numberToBytes,z as numberToHex,k as pad,C as padBytes,O as padHex,R as parseEther,A as parseUnits,Ea as rpcTransactionType,ha as serializeAccessList,Ba as serializeTransaction,ga as sha256,L as size,ya as slice,Ha as sliceBytes,ua as sliceHex,U as stringToBytes,w as stringToHex,Ia as toBlobSidecars,Sa as toBlobs,P as toBytes,q as toHex,va as toRlp,za as transactionType,F as trim};
diff --git a/assets/index-pnCaYn__.js b/assets/index-CV4p6XM9.js
similarity index 99%
rename from assets/index-pnCaYn__.js
rename to assets/index-CV4p6XM9.js
index fd7166e..23ad1fb 100644
--- a/assets/index-pnCaYn__.js
+++ b/assets/index-CV4p6XM9.js
@@ -1,4 +1,4 @@
-import{bD as B,bE as U,bF as ne,bG as Se,bH as kn,bI as F,bJ as Fe,bK as zr,bL as Ae,bM as uo,bN as fo,bO as H,bP as tt,bQ as lo,bR as pe,bS as ho,bT as vt,bU as cr,bz as bo}from"./index-DgzvH8Qi.js";import{bV as Cu,bX as ju,bW as Ru,bY as Lu}from"./index-DgzvH8Qi.js";function po(e,t){const n=e.exec(t);return n==null?void 0:n.groups}const ur=/^tuple(?(\[(\d*)\])*)$/;function an(e){let t=e.type;if(ur.test(e.type)&&"components"in e){t="(";const n=e.components.length;for(let s=0;s{var s,o;return((s=e[t.name])==null?void 0:s.call(e,r))??((o=e[n])==null?void 0:o.call(e,r))??t(e,r)}}function ue(e,{includeName:t=!1}={}){if(e.type!=="function"&&e.type!=="event"&&e.type!=="error")throw new $o(e.type);return`${e.name}(${Rt(e.inputs,{includeName:t})})`}function Rt(e,{includeName:t=!1}={}){return e?e.map(n=>yo(n,{includeName:t})).join(t?", ":","):""}function yo(e,{includeName:t}){return e.type.startsWith("tuple")?`(${Rt(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")}class mo extends B{constructor({docsPath:t}){super(["A constructor was not found on the ABI.","Make sure you are using the correct ABI and that the constructor exists on it."].join(`
+import{bD as B,bE as U,bF as ne,bG as Se,bH as kn,bI as F,bJ as Fe,bK as zr,bL as Ae,bM as uo,bN as fo,bO as H,bP as tt,bQ as lo,bR as pe,bS as ho,bT as vt,bU as cr,bz as bo}from"./index-VLNutAkM.js";import{bV as Cu,bX as ju,bW as Ru,bY as Lu}from"./index-VLNutAkM.js";function po(e,t){const n=e.exec(t);return n==null?void 0:n.groups}const ur=/^tuple(?(\[(\d*)\])*)$/;function an(e){let t=e.type;if(ur.test(e.type)&&"components"in e){t="(";const n=e.components.length;for(let s=0;s{var s,o;return((s=e[t.name])==null?void 0:s.call(e,r))??((o=e[n])==null?void 0:o.call(e,r))??t(e,r)}}function ue(e,{includeName:t=!1}={}){if(e.type!=="function"&&e.type!=="event"&&e.type!=="error")throw new $o(e.type);return`${e.name}(${Rt(e.inputs,{includeName:t})})`}function Rt(e,{includeName:t=!1}={}){return e?e.map(n=>yo(n,{includeName:t})).join(t?", ":","):""}function yo(e,{includeName:t}){return e.type.startsWith("tuple")?`(${Rt(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")}class mo extends B{constructor({docsPath:t}){super(["A constructor was not found on the ABI.","Make sure you are using the correct ABI and that the constructor exists on it."].join(`
`),{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiConstructorNotFoundError"})}}class fr extends B{constructor({docsPath:t}){super(["Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.","Make sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists."].join(`
`),{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiConstructorParamsNotFoundError"})}}class Ur extends B{constructor({data:t,params:n,size:r}){super([`Data size of ${r} bytes is too small for given parameters.`].join(`
`),{metaMessages:[`Params: (${Rt(n,{includeName:!0})})`,`Data: ${t} (${r} bytes)`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiDecodingDataSizeTooSmallError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t,this.params=n,this.size=r}}class Lt extends B{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.'),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiDecodingZeroDataError"})}}class wo extends B{constructor({expectedLength:t,givenLength:n,type:r}){super([`ABI encoding array length mismatch for type ${r}.`,`Expected length: ${t}`,`Given length: ${n}`].join(`
diff --git a/assets/index-B_Er0c8S.js b/assets/index-CxSnFqrK.js
similarity index 99%
rename from assets/index-B_Er0c8S.js
rename to assets/index-CxSnFqrK.js
index 16440c1..ec4c2c1 100644
--- a/assets/index-B_Er0c8S.js
+++ b/assets/index-CxSnFqrK.js
@@ -1,4 +1,4 @@
-import{bC as ue,bB as Kn,bA as Lo}from"./index-DgzvH8Qi.js";import{e as os,r as as,i as Pe}from"./inherits_browser-DBMiyxZF.js";var cs={},At={},ir={};Object.defineProperty(ir,"__esModule",{value:!0});ir.walletLogo=void 0;const Bo=(e,t)=>{let r;switch(e){case"standard":return r=t,`data:image/svg+xml,%3Csvg width='${t}' height='${r}' 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 r=t,`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${t}' height='${r}' 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 r=(.1*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' 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 r=(.25*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' 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 r=(.1*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' 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 r=(.25*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' 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 r=t,`data:image/svg+xml,%3Csvg width='${t}' height='${r}' 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 `}};ir.walletLogo=Bo;var sr={},us={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function o(h,_,m){this.fn=h,this.context=_,this.once=m||!1}function c(h,_,m,g,b){if(typeof m!="function")throw new TypeError("The listener must be a function");var v=new o(m,g||h,b),I=r?r+_:_;return h._events[I]?h._events[I].fn?h._events[I]=[h._events[I],v]:h._events[I].push(v):(h._events[I]=v,h._eventsCount++),h}function u(h,_){--h._eventsCount===0?h._events=new n:delete h._events[_]}function a(){this._events=new n,this._eventsCount=0}a.prototype.eventNames=function(){var _=[],m,g;if(this._eventsCount===0)return _;for(g in m=this._events)t.call(m,g)&&_.push(r?g.slice(1):g);return Object.getOwnPropertySymbols?_.concat(Object.getOwnPropertySymbols(m)):_},a.prototype.listeners=function(_){var m=r?r+_:_,g=this._events[m];if(!g)return[];if(g.fn)return[g.fn];for(var b=0,v=g.length,I=new Array(v);b=-32099&&b<=-32e3}function _(b){return b&&typeof b=="object"&&!Array.isArray(b)?Object.assign({},b):b}function m(b,v){return Object.prototype.hasOwnProperty.call(b,v)}function g(b,v){return typeof b=="object"&&b!==null&&v in b&&typeof b[v]=="string"}})(zn);Object.defineProperty(or,"__esModule",{value:!0});or.standardErrors=void 0;const fe=Je,ls=zn;or.standardErrors={rpc:{parse:e=>Se(fe.standardErrorCodes.rpc.parse,e),invalidRequest:e=>Se(fe.standardErrorCodes.rpc.invalidRequest,e),invalidParams:e=>Se(fe.standardErrorCodes.rpc.invalidParams,e),methodNotFound:e=>Se(fe.standardErrorCodes.rpc.methodNotFound,e),internal:e=>Se(fe.standardErrorCodes.rpc.internal,e),server:e=>{if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Ethereum RPC Server errors must provide single object argument.");const{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return Se(t,e)},invalidInput:e=>Se(fe.standardErrorCodes.rpc.invalidInput,e),resourceNotFound:e=>Se(fe.standardErrorCodes.rpc.resourceNotFound,e),resourceUnavailable:e=>Se(fe.standardErrorCodes.rpc.resourceUnavailable,e),transactionRejected:e=>Se(fe.standardErrorCodes.rpc.transactionRejected,e),methodNotSupported:e=>Se(fe.standardErrorCodes.rpc.methodNotSupported,e),limitExceeded:e=>Se(fe.standardErrorCodes.rpc.limitExceeded,e)},provider:{userRejectedRequest:e=>ht(fe.standardErrorCodes.provider.userRejectedRequest,e),unauthorized:e=>ht(fe.standardErrorCodes.provider.unauthorized,e),unsupportedMethod:e=>ht(fe.standardErrorCodes.provider.unsupportedMethod,e),disconnected:e=>ht(fe.standardErrorCodes.provider.disconnected,e),chainDisconnected:e=>ht(fe.standardErrorCodes.provider.chainDisconnected,e),unsupportedChain:e=>ht(fe.standardErrorCodes.provider.unsupportedChain,e),custom:e=>{if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Ethereum Provider custom errors must provide single object argument.");const{code:t,message:r,data:n}=e;if(!r||typeof r!="string")throw new Error('"message" must be a nonempty string');return new fs(t,r,n)}}};function Se(e,t){const[r,n]=hs(t);return new ds(e,r||(0,ls.getMessageFromCode)(e),n)}function ht(e,t){const[r,n]=hs(t);return new fs(e,r||(0,ls.getMessageFromCode)(e),n)}function hs(e){if(e){if(typeof e=="string")return[e];if(typeof e=="object"&&!Array.isArray(e)){const{message:t,data:r}=e;if(t&&typeof t!="string")throw new Error("Must specify string message.");return[t||void 0,r]}}return[]}class ds extends Error{constructor(t,r,n){if(!Number.isInteger(t))throw new Error('"code" must be an integer.');if(!r||typeof r!="string")throw new Error('"message" must be a nonempty string.');super(r),this.code=t,n!==void 0&&(this.data=n)}}class fs extends ds{constructor(t,r,n){if(!Po(t))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(t,r,n)}}function Po(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.standardErrors=e.standardErrorCodes=void 0;var t=Je;Object.defineProperty(e,"standardErrorCodes",{enumerable:!0,get:function(){return t.standardErrorCodes}});var r=or;Object.defineProperty(e,"standardErrors",{enumerable:!0,get:function(){return r.standardErrors}})})(qe);var ar={},Et={};Object.defineProperty(Et,"__esModule",{value:!0});Et.isErrorResponse=void 0;function No(e){return e.errorMessage!==void 0}Et.isErrorResponse=No;var ot={};Object.defineProperty(ot,"__esModule",{value:!0});ot.LIB_VERSION=void 0;ot.LIB_VERSION="4.0.3";Object.defineProperty(ar,"__esModule",{value:!0});ar.serializeError=void 0;const Do=Et,Oo=ot,Uo=Je,Fo=zn;function jo(e,t){const r=(0,Fo.serialize)(Wo(e),{shouldIncludeStack:!0}),n=new URL("https://docs.cloud.coinbase.com/wallet-sdk/docs/errors");n.searchParams.set("version",Oo.LIB_VERSION),n.searchParams.set("code",r.code.toString());const o=$o(r.data,t);return o&&n.searchParams.set("method",o),n.searchParams.set("message",r.message),Object.assign(Object.assign({},r),{docUrl:n.href})}ar.serializeError=jo;function Wo(e){return typeof e=="string"?{message:e,code:Uo.standardErrorCodes.rpc.internal}:(0,Do.isErrorResponse)(e)?Object.assign(Object.assign({},e),{message:e.errorMessage,code:e.errorCode,data:{method:e.method}}):e}function $o(e,t){const r=e==null?void 0:e.method;if(r)return r;if(t!==void 0){if(typeof t=="string")return t;if(Array.isArray(t)){if(t.length>0)return t[0].method}else return t.method}}var ge={};Object.defineProperty(ge,"__esModule",{value:!0});ge.RegExpString=ge.IntNumber=ge.BigIntString=ge.AddressString=ge.HexString=ge.OpaqueType=void 0;function Bt(){return e=>e}ge.OpaqueType=Bt;ge.HexString=Bt();ge.AddressString=Bt();ge.BigIntString=Bt();function Ho(e){return Math.floor(e)}ge.IntNumber=Ho;ge.RegExpString=Bt();var O={};Object.defineProperty(O,"__esModule",{value:!0});O.areAddressArraysEqual=O.getFavicon=O.range=O.isBigNumber=O.ensureParsedJSONObject=O.ensureBigInt=O.ensureRegExpString=O.ensureIntNumber=O.ensureBuffer=O.ensureAddressString=O.ensureEvenLengthHexString=O.ensureHexString=O.isHexString=O.prepend0x=O.strip0x=O.has0xPrefix=O.hexStringFromIntNumber=O.intNumberFromHexString=O.bigIntStringFromBigInt=O.hexStringFromBuffer=O.hexStringToUint8Array=O.uint8ArrayToHex=O.randomBytesHex=void 0;const at=qe,Ie=ge,ps=/^[0-9]*$/,_s=/^[a-f0-9]*$/;function qo(e){return gs(crypto.getRandomValues(new Uint8Array(e)))}O.randomBytesHex=qo;function gs(e){return[...e].map(t=>t.toString(16).padStart(2,"0")).join("")}O.uint8ArrayToHex=gs;function Ko(e){return new Uint8Array(e.match(/.{1,2}/g).map(t=>parseInt(t,16)))}O.hexStringToUint8Array=Ko;function zo(e,t=!1){const r=e.toString("hex");return(0,Ie.HexString)(t?`0x${r}`:r)}O.hexStringFromBuffer=zo;function Vo(e){return(0,Ie.BigIntString)(e.toString(10))}O.bigIntStringFromBigInt=Vo;function Go(e){return(0,Ie.IntNumber)(Number(BigInt(Pt(e,!0))))}O.intNumberFromHexString=Go;function Zo(e){return(0,Ie.HexString)(`0x${BigInt(e).toString(16)}`)}O.hexStringFromIntNumber=Zo;function Vn(e){return e.startsWith("0x")||e.startsWith("0X")}O.has0xPrefix=Vn;function cr(e){return Vn(e)?e.slice(2):e}O.strip0x=cr;function ys(e){return Vn(e)?`0x${e.slice(2)}`:`0x${e}`}O.prepend0x=ys;function Tt(e){if(typeof e!="string")return!1;const t=cr(e).toLowerCase();return _s.test(t)}O.isHexString=Tt;function bs(e,t=!1){if(typeof e=="string"){const r=cr(e).toLowerCase();if(_s.test(r))return(0,Ie.HexString)(t?`0x${r}`:r)}throw at.standardErrors.rpc.invalidParams(`"${String(e)}" is not a hexadecimal string`)}O.ensureHexString=bs;function Pt(e,t=!1){let r=bs(e,!1);return r.length%2===1&&(r=(0,Ie.HexString)(`0${r}`)),t?(0,Ie.HexString)(`0x${r}`):r}O.ensureEvenLengthHexString=Pt;function Yo(e){if(typeof e=="string"){const t=cr(e).toLowerCase();if(Tt(t)&&t.length===40)return(0,Ie.AddressString)(ys(t))}throw at.standardErrors.rpc.invalidParams(`Invalid Ethereum address: ${String(e)}`)}O.ensureAddressString=Yo;function Jo(e){if(Buffer.isBuffer(e))return e;if(typeof e=="string"){if(Tt(e)){const t=Pt(e,!1);return Buffer.from(t,"hex")}return Buffer.from(e,"utf8")}throw at.standardErrors.rpc.invalidParams(`Not binary data: ${String(e)}`)}O.ensureBuffer=Jo;function ws(e){if(typeof e=="number"&&Number.isInteger(e))return(0,Ie.IntNumber)(e);if(typeof e=="string"){if(ps.test(e))return(0,Ie.IntNumber)(Number(e));if(Tt(e))return(0,Ie.IntNumber)(Number(BigInt(Pt(e,!0))))}throw at.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`)}O.ensureIntNumber=ws;function Qo(e){if(e instanceof RegExp)return(0,Ie.RegExpString)(e.toString());throw at.standardErrors.rpc.invalidParams(`Not a RegExp: ${String(e)}`)}O.ensureRegExpString=Qo;function Xo(e){if(e!==null&&(typeof e=="bigint"||ms(e)))return BigInt(e.toString(10));if(typeof e=="number")return BigInt(ws(e));if(typeof e=="string"){if(ps.test(e))return BigInt(e);if(Tt(e))return BigInt(Pt(e,!0))}throw at.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`)}O.ensureBigInt=Xo;function ea(e){if(typeof e=="string")return JSON.parse(e);if(typeof e=="object")return e;throw at.standardErrors.rpc.invalidParams(`Not a JSON string or an object: ${String(e)}`)}O.ensureParsedJSONObject=ea;function ms(e){if(e==null||typeof e.constructor!="function")return!1;const{constructor:t}=e;return typeof t.config=="function"&&typeof t.EUCLID=="number"}O.isBigNumber=ms;function ta(e,t){return Array.from({length:t-e},(r,n)=>e+n)}O.range=ta;function ra(){const e=document.querySelector('link[sizes="192x192"]')||document.querySelector('link[sizes="180x180"]')||document.querySelector('link[rel="icon"]')||document.querySelector('link[rel="shortcut icon"]'),{protocol:t,host:r}=document.location,n=e?e.getAttribute("href"):null;return!n||n.startsWith("javascript:")||n.startsWith("vbscript:")?null:n.startsWith("http://")||n.startsWith("https://")||n.startsWith("data:")?n:n.startsWith("//")?t+n:`${t}//${r}${n}`}O.getFavicon=ra;function na(e,t){return e.length===t.length&&e.every((r,n)=>r===t[n])}O.areAddressArraysEqual=na;var We={},ur={},lr={},oe={};Object.defineProperty(oe,"__esModule",{value:!0});oe.decryptContent=oe.encryptContent=oe.importKeyFromHexString=oe.exportKeyToHexString=oe.decrypt=oe.encrypt=oe.deriveSharedSecret=oe.generateKeyPair=void 0;const vs=O;async function ia(){return crypto.subtle.generateKey({name:"ECDH",namedCurve:"P-256"},!0,["deriveKey"])}oe.generateKeyPair=ia;async function sa(e,t){return crypto.subtle.deriveKey({name:"ECDH",public:t},e,{name:"AES-GCM",length:256},!1,["encrypt","decrypt"])}oe.deriveSharedSecret=sa;async function Es(e,t){const r=crypto.getRandomValues(new Uint8Array(12)),n=await crypto.subtle.encrypt({name:"AES-GCM",iv:r},e,new TextEncoder().encode(t));return{iv:r,cipherText:n}}oe.encrypt=Es;async function Ss(e,{iv:t,cipherText:r}){const n=await crypto.subtle.decrypt({name:"AES-GCM",iv:t},e,r);return new TextDecoder().decode(n)}oe.decrypt=Ss;function xs(e){switch(e){case"public":return"spki";case"private":return"pkcs8"}}async function oa(e,t){const r=xs(e),n=await crypto.subtle.exportKey(r,t);return(0,vs.uint8ArrayToHex)(new Uint8Array(n))}oe.exportKeyToHexString=oa;async function aa(e,t){const r=xs(e),n=(0,vs.hexStringToUint8Array)(t).buffer;return await crypto.subtle.importKey(r,n,{name:"ECDH",namedCurve:"P-256"},!0,e==="private"?["deriveKey"]:[])}oe.importKeyFromHexString=aa;async function ca(e,t){const r=JSON.stringify(e,(n,o)=>{if(!(o instanceof Error))return o;const c=o;return Object.assign(Object.assign({},c.code?{code:c.code}:{}),{message:c.message})});return Es(t,r)}oe.encryptContent=ca;async function ua(e,t){return JSON.parse(await Ss(t,e))}oe.decryptContent=ua;var Ke={};Object.defineProperty(Ke,"__esModule",{value:!0});Ke.ScopedLocalStorage=void 0;class tr{constructor(t,r){this.scope=t,this.module=r}setItem(t,r){localStorage.setItem(this.scopedKey(t),r)}getItem(t){return localStorage.getItem(this.scopedKey(t))}removeItem(t){localStorage.removeItem(this.scopedKey(t))}clear(){const t=this.scopedKey(""),r=[];for(let n=0;nlocalStorage.removeItem(n))}scopedKey(t){return`-${this.scope}${this.module?`:${this.module}`:""}:${t}`}static clearAll(){new tr("CBWSDK").clear(),new tr("walletlink").clear()}}Ke.ScopedLocalStorage=tr;Object.defineProperty(lr,"__esModule",{value:!0});lr.SCWKeyManager=void 0;const qt=oe,la=Ke,yn={storageKey:"ownPrivateKey",keyType:"private"},bn={storageKey:"ownPublicKey",keyType:"public"},wn={storageKey:"peerPublicKey",keyType:"public"};class ha{constructor(){this.storage=new la.ScopedLocalStorage("CBWSDK","SCWKeyManager"),this.ownPrivateKey=null,this.ownPublicKey=null,this.peerPublicKey=null,this.sharedSecret=null}async getOwnPublicKey(){return await this.loadKeysIfNeeded(),this.ownPublicKey}async getSharedSecret(){return await this.loadKeysIfNeeded(),this.sharedSecret}async setPeerPublicKey(t){this.sharedSecret=null,this.peerPublicKey=t,await this.storeKey(wn,t),await this.loadKeysIfNeeded()}async clear(){this.ownPrivateKey=null,this.ownPublicKey=null,this.peerPublicKey=null,this.sharedSecret=null,this.storage.removeItem(bn.storageKey),this.storage.removeItem(yn.storageKey),this.storage.removeItem(wn.storageKey)}async generateKeyPair(){const t=await(0,qt.generateKeyPair)();this.ownPrivateKey=t.privateKey,this.ownPublicKey=t.publicKey,await this.storeKey(yn,t.privateKey),await this.storeKey(bn,t.publicKey)}async loadKeysIfNeeded(){if(this.ownPrivateKey===null&&(this.ownPrivateKey=await this.loadKey(yn)),this.ownPublicKey===null&&(this.ownPublicKey=await this.loadKey(bn)),(this.ownPrivateKey===null||this.ownPublicKey===null)&&await this.generateKeyPair(),this.peerPublicKey===null&&(this.peerPublicKey=await this.loadKey(wn)),this.sharedSecret===null){if(this.ownPrivateKey===null||this.peerPublicKey===null)return;this.sharedSecret=await(0,qt.deriveSharedSecret)(this.ownPrivateKey,this.peerPublicKey)}}async loadKey(t){const r=this.storage.getItem(t.storageKey);return r?(0,qt.importKeyFromHexString)(t.keyType,r):null}async storeKey(t,r){const n=await(0,qt.exportKeyToHexString)(t.keyType,r);this.storage.setItem(t.storageKey,n)}}lr.SCWKeyManager=ha;var hr={};Object.defineProperty(hr,"__esModule",{value:!0});hr.SCWStateManager=void 0;const da=Ke,oi="accounts",ai="activeChain",ci="availableChains",ui="walletCapabilities";class fa{get accounts(){return this._accounts}get activeChain(){return this._activeChain}get walletCapabilities(){return this._walletCapabilities}constructor(t){var r,n;this.storage=new da.ScopedLocalStorage("CBWSDK","SCWStateManager"),this.updateListener=t.updateListener,this.availableChains=this.loadItemFromStorage(ci),this._walletCapabilities=this.loadItemFromStorage(ui);const o=this.loadItemFromStorage(oi),c=this.loadItemFromStorage(ai);o&&this.updateListener.onAccountsUpdate({accounts:o,source:"storage"}),c&&this.updateListener.onChainUpdate({chain:c,source:"storage"}),this._accounts=o||[],this._activeChain=c||{id:(n=(r=t.appChainIds)===null||r===void 0?void 0:r[0])!==null&&n!==void 0?n:1}}updateAccounts(t){this._accounts=t,this.storeItemToStorage(oi,t),this.updateListener.onAccountsUpdate({accounts:t,source:"wallet"})}switchChain(t){var r;const n=(r=this.availableChains)===null||r===void 0?void 0:r.find(o=>o.id===t);return n?(n===this._activeChain||(this._activeChain=n,this.storeItemToStorage(ai,n),this.updateListener.onChainUpdate({chain:n,source:"wallet"})),!0):!1}updateAvailableChains(t){if(!t||Object.keys(t).length===0)return;const r=Object.entries(t).map(([n,o])=>({id:Number(n),rpcUrl:o}));this.availableChains=r,this.storeItemToStorage(ci,r),this.switchChain(this._activeChain.id)}updateWalletCapabilities(t){this._walletCapabilities=t,this.storeItemToStorage(ui,t)}storeItemToStorage(t,r){this.storage.setItem(t,JSON.stringify(r))}loadItemFromStorage(t){const r=this.storage.getItem(t);return r?JSON.parse(r):void 0}clear(){this.storage.clear()}}hr.SCWStateManager=fa;Object.defineProperty(ur,"__esModule",{value:!0});ur.SCWSigner=void 0;const pa=lr,_a=hr,Kt=qe,li=O,zt=oe;class ga{constructor(t){this.metadata=t.metadata,this.communicator=t.communicator,this.keyManager=new pa.SCWKeyManager,this.stateManager=new _a.SCWStateManager({appChainIds:this.metadata.appChainIds,updateListener:t.updateListener}),this.handshake=this.handshake.bind(this),this.request=this.request.bind(this),this.createRequestMessage=this.createRequestMessage.bind(this),this.decryptResponseMessage=this.decryptResponseMessage.bind(this)}async handshake(){const t=await this.createRequestMessage({handshake:{method:"eth_requestAccounts",params:this.metadata}}),r=await this.communicator.postRequestAndWaitForResponse(t);if("failure"in r.content)throw r.content.failure;const n=await(0,zt.importKeyFromHexString)("public",r.sender);await this.keyManager.setPeerPublicKey(n);const o=await this.decryptResponseMessage(r);this.updateInternalState({method:"eth_requestAccounts"},o);const c=o.result;if("error"in c)throw c.error;return this.stateManager.accounts}async request(t){const r=this.tryLocalHandling(t);if(r!==void 0){if(r instanceof Error)throw r;return r}await this.communicator.waitForPopupLoaded();const n=await this.sendEncryptedRequest(t),o=await this.decryptResponseMessage(n);this.updateInternalState(t,o);const c=o.result;if("error"in c)throw c.error;return c.value}async disconnect(){this.stateManager.clear(),await this.keyManager.clear()}tryLocalHandling(t){var r;switch(t.method){case"wallet_switchEthereumChain":{const n=t.params;if(!n||!(!((r=n[0])===null||r===void 0)&&r.chainId))throw Kt.standardErrors.rpc.invalidParams();const o=(0,li.ensureIntNumber)(n[0].chainId);return this.stateManager.switchChain(o)?null:void 0}case"wallet_getCapabilities":{const n=this.stateManager.walletCapabilities;if(!n)throw Kt.standardErrors.provider.unauthorized("No wallet capabilities found, please disconnect and reconnect");return n}default:return}}async sendEncryptedRequest(t){const r=await this.keyManager.getSharedSecret();if(!r)throw Kt.standardErrors.provider.unauthorized("No valid session found, try requestAccounts before other methods");const n=await(0,zt.encryptContent)({action:t,chainId:this.stateManager.activeChain.id},r),o=await this.createRequestMessage({encrypted:n});return this.communicator.postRequestAndWaitForResponse(o)}async createRequestMessage(t){const r=await(0,zt.exportKeyToHexString)("public",await this.keyManager.getOwnPublicKey());return{id:crypto.randomUUID(),sender:r,content:t,timestamp:new Date}}async decryptResponseMessage(t){const r=t.content;if("failure"in r)throw r.failure;const n=await this.keyManager.getSharedSecret();if(!n)throw Kt.standardErrors.provider.unauthorized("Invalid session");return(0,zt.decryptContent)(r.encrypted,n)}updateInternalState(t,r){var n,o;const c=(n=r.data)===null||n===void 0?void 0:n.chains;c&&this.stateManager.updateAvailableChains(c);const u=(o=r.data)===null||o===void 0?void 0:o.capabilities;u&&this.stateManager.updateWalletCapabilities(u);const a=r.result;if(!("error"in a))switch(t.method){case"eth_requestAccounts":{const h=a.value;this.stateManager.updateAccounts(h);break}case"wallet_switchEthereumChain":{if(a.value!==null)return;const h=t.params,_=(0,li.ensureIntNumber)(h[0].chainId);this.stateManager.switchChain(_);break}}}}ur.SCWSigner=ga;var dr={},Nn={exports:{}},Cs=os.EventEmitter,Nt={},fr={};fr.byteLength=wa;fr.toByteArray=va;fr.fromByteArray=xa;var je=[],xe=[],ya=typeof Uint8Array<"u"?Uint8Array:Array,mn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var dt=0,ba=mn.length;dt0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function wa(e){var t=Is(e),r=t[0],n=t[1];return(r+n)*3/4-n}function ma(e,t,r){return(t+r)*3/4-r}function va(e){var t,r=Is(e),n=r[0],o=r[1],c=new ya(ma(e,n,o)),u=0,a=o>0?n-4:n,h;for(h=0;h>16&255,c[u++]=t>>8&255,c[u++]=t&255;return o===2&&(t=xe[e.charCodeAt(h)]<<2|xe[e.charCodeAt(h+1)]>>4,c[u++]=t&255),o===1&&(t=xe[e.charCodeAt(h)]<<10|xe[e.charCodeAt(h+1)]<<4|xe[e.charCodeAt(h+2)]>>2,c[u++]=t>>8&255,c[u++]=t&255),c}function Ea(e){return je[e>>18&63]+je[e>>12&63]+je[e>>6&63]+je[e&63]}function Sa(e,t,r){for(var n,o=[],c=t;ca?a:u+c));return n===1?(t=e[r-1],o.push(je[t>>2]+je[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],o.push(je[t>>10]+je[t>>4&63]+je[t<<2&63]+"=")),o.join("")}var Gn={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */Gn.read=function(e,t,r,n,o){var c,u,a=o*8-n-1,h=(1<>1,m=-7,g=r?o-1:0,b=r?-1:1,v=e[t+g];for(g+=b,c=v&(1<<-m)-1,v>>=-m,m+=a;m>0;c=c*256+e[t+g],g+=b,m-=8);for(u=c&(1<<-m)-1,c>>=-m,m+=n;m>0;u=u*256+e[t+g],g+=b,m-=8);if(c===0)c=1-_;else{if(c===h)return u?NaN:(v?-1:1)*(1/0);u=u+Math.pow(2,n),c=c-_}return(v?-1:1)*u*Math.pow(2,c-n)};Gn.write=function(e,t,r,n,o,c){var u,a,h,_=c*8-o-1,m=(1<<_)-1,g=m>>1,b=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:c-1,I=n?1:-1,T=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,u=m):(u=Math.floor(Math.log(t)/Math.LN2),t*(h=Math.pow(2,-u))<1&&(u--,h*=2),u+g>=1?t+=b/h:t+=b*Math.pow(2,1-g),t*h>=2&&(u++,h/=2),u+g>=m?(a=0,u=m):u+g>=1?(a=(t*h-1)*Math.pow(2,o),u=u+g):(a=t*Math.pow(2,g-1)*Math.pow(2,o),u=0));o>=8;e[r+v]=a&255,v+=I,a/=256,o-=8);for(u=u<0;e[r+v]=u&255,v+=I,u/=256,_-=8);e[r+v-I]|=T*128};/*!
+import{bC as ue,bB as Kn,bA as Lo}from"./index-VLNutAkM.js";import{e as os,r as as,i as Pe}from"./inherits_browser-nIpjPFVU.js";var cs={},At={},ir={};Object.defineProperty(ir,"__esModule",{value:!0});ir.walletLogo=void 0;const Bo=(e,t)=>{let r;switch(e){case"standard":return r=t,`data:image/svg+xml,%3Csvg width='${t}' height='${r}' 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 r=t,`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${t}' height='${r}' 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 r=(.1*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' 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 r=(.25*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' 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 r=(.1*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' 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 r=(.25*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' 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 r=t,`data:image/svg+xml,%3Csvg width='${t}' height='${r}' 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 `}};ir.walletLogo=Bo;var sr={},us={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function o(h,_,m){this.fn=h,this.context=_,this.once=m||!1}function c(h,_,m,g,b){if(typeof m!="function")throw new TypeError("The listener must be a function");var v=new o(m,g||h,b),I=r?r+_:_;return h._events[I]?h._events[I].fn?h._events[I]=[h._events[I],v]:h._events[I].push(v):(h._events[I]=v,h._eventsCount++),h}function u(h,_){--h._eventsCount===0?h._events=new n:delete h._events[_]}function a(){this._events=new n,this._eventsCount=0}a.prototype.eventNames=function(){var _=[],m,g;if(this._eventsCount===0)return _;for(g in m=this._events)t.call(m,g)&&_.push(r?g.slice(1):g);return Object.getOwnPropertySymbols?_.concat(Object.getOwnPropertySymbols(m)):_},a.prototype.listeners=function(_){var m=r?r+_:_,g=this._events[m];if(!g)return[];if(g.fn)return[g.fn];for(var b=0,v=g.length,I=new Array(v);b=-32099&&b<=-32e3}function _(b){return b&&typeof b=="object"&&!Array.isArray(b)?Object.assign({},b):b}function m(b,v){return Object.prototype.hasOwnProperty.call(b,v)}function g(b,v){return typeof b=="object"&&b!==null&&v in b&&typeof b[v]=="string"}})(zn);Object.defineProperty(or,"__esModule",{value:!0});or.standardErrors=void 0;const fe=Je,ls=zn;or.standardErrors={rpc:{parse:e=>Se(fe.standardErrorCodes.rpc.parse,e),invalidRequest:e=>Se(fe.standardErrorCodes.rpc.invalidRequest,e),invalidParams:e=>Se(fe.standardErrorCodes.rpc.invalidParams,e),methodNotFound:e=>Se(fe.standardErrorCodes.rpc.methodNotFound,e),internal:e=>Se(fe.standardErrorCodes.rpc.internal,e),server:e=>{if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Ethereum RPC Server errors must provide single object argument.");const{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return Se(t,e)},invalidInput:e=>Se(fe.standardErrorCodes.rpc.invalidInput,e),resourceNotFound:e=>Se(fe.standardErrorCodes.rpc.resourceNotFound,e),resourceUnavailable:e=>Se(fe.standardErrorCodes.rpc.resourceUnavailable,e),transactionRejected:e=>Se(fe.standardErrorCodes.rpc.transactionRejected,e),methodNotSupported:e=>Se(fe.standardErrorCodes.rpc.methodNotSupported,e),limitExceeded:e=>Se(fe.standardErrorCodes.rpc.limitExceeded,e)},provider:{userRejectedRequest:e=>ht(fe.standardErrorCodes.provider.userRejectedRequest,e),unauthorized:e=>ht(fe.standardErrorCodes.provider.unauthorized,e),unsupportedMethod:e=>ht(fe.standardErrorCodes.provider.unsupportedMethod,e),disconnected:e=>ht(fe.standardErrorCodes.provider.disconnected,e),chainDisconnected:e=>ht(fe.standardErrorCodes.provider.chainDisconnected,e),unsupportedChain:e=>ht(fe.standardErrorCodes.provider.unsupportedChain,e),custom:e=>{if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Ethereum Provider custom errors must provide single object argument.");const{code:t,message:r,data:n}=e;if(!r||typeof r!="string")throw new Error('"message" must be a nonempty string');return new fs(t,r,n)}}};function Se(e,t){const[r,n]=hs(t);return new ds(e,r||(0,ls.getMessageFromCode)(e),n)}function ht(e,t){const[r,n]=hs(t);return new fs(e,r||(0,ls.getMessageFromCode)(e),n)}function hs(e){if(e){if(typeof e=="string")return[e];if(typeof e=="object"&&!Array.isArray(e)){const{message:t,data:r}=e;if(t&&typeof t!="string")throw new Error("Must specify string message.");return[t||void 0,r]}}return[]}class ds extends Error{constructor(t,r,n){if(!Number.isInteger(t))throw new Error('"code" must be an integer.');if(!r||typeof r!="string")throw new Error('"message" must be a nonempty string.');super(r),this.code=t,n!==void 0&&(this.data=n)}}class fs extends ds{constructor(t,r,n){if(!Po(t))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(t,r,n)}}function Po(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.standardErrors=e.standardErrorCodes=void 0;var t=Je;Object.defineProperty(e,"standardErrorCodes",{enumerable:!0,get:function(){return t.standardErrorCodes}});var r=or;Object.defineProperty(e,"standardErrors",{enumerable:!0,get:function(){return r.standardErrors}})})(qe);var ar={},Et={};Object.defineProperty(Et,"__esModule",{value:!0});Et.isErrorResponse=void 0;function No(e){return e.errorMessage!==void 0}Et.isErrorResponse=No;var ot={};Object.defineProperty(ot,"__esModule",{value:!0});ot.LIB_VERSION=void 0;ot.LIB_VERSION="4.0.3";Object.defineProperty(ar,"__esModule",{value:!0});ar.serializeError=void 0;const Do=Et,Oo=ot,Uo=Je,Fo=zn;function jo(e,t){const r=(0,Fo.serialize)(Wo(e),{shouldIncludeStack:!0}),n=new URL("https://docs.cloud.coinbase.com/wallet-sdk/docs/errors");n.searchParams.set("version",Oo.LIB_VERSION),n.searchParams.set("code",r.code.toString());const o=$o(r.data,t);return o&&n.searchParams.set("method",o),n.searchParams.set("message",r.message),Object.assign(Object.assign({},r),{docUrl:n.href})}ar.serializeError=jo;function Wo(e){return typeof e=="string"?{message:e,code:Uo.standardErrorCodes.rpc.internal}:(0,Do.isErrorResponse)(e)?Object.assign(Object.assign({},e),{message:e.errorMessage,code:e.errorCode,data:{method:e.method}}):e}function $o(e,t){const r=e==null?void 0:e.method;if(r)return r;if(t!==void 0){if(typeof t=="string")return t;if(Array.isArray(t)){if(t.length>0)return t[0].method}else return t.method}}var ge={};Object.defineProperty(ge,"__esModule",{value:!0});ge.RegExpString=ge.IntNumber=ge.BigIntString=ge.AddressString=ge.HexString=ge.OpaqueType=void 0;function Bt(){return e=>e}ge.OpaqueType=Bt;ge.HexString=Bt();ge.AddressString=Bt();ge.BigIntString=Bt();function Ho(e){return Math.floor(e)}ge.IntNumber=Ho;ge.RegExpString=Bt();var O={};Object.defineProperty(O,"__esModule",{value:!0});O.areAddressArraysEqual=O.getFavicon=O.range=O.isBigNumber=O.ensureParsedJSONObject=O.ensureBigInt=O.ensureRegExpString=O.ensureIntNumber=O.ensureBuffer=O.ensureAddressString=O.ensureEvenLengthHexString=O.ensureHexString=O.isHexString=O.prepend0x=O.strip0x=O.has0xPrefix=O.hexStringFromIntNumber=O.intNumberFromHexString=O.bigIntStringFromBigInt=O.hexStringFromBuffer=O.hexStringToUint8Array=O.uint8ArrayToHex=O.randomBytesHex=void 0;const at=qe,Ie=ge,ps=/^[0-9]*$/,_s=/^[a-f0-9]*$/;function qo(e){return gs(crypto.getRandomValues(new Uint8Array(e)))}O.randomBytesHex=qo;function gs(e){return[...e].map(t=>t.toString(16).padStart(2,"0")).join("")}O.uint8ArrayToHex=gs;function Ko(e){return new Uint8Array(e.match(/.{1,2}/g).map(t=>parseInt(t,16)))}O.hexStringToUint8Array=Ko;function zo(e,t=!1){const r=e.toString("hex");return(0,Ie.HexString)(t?`0x${r}`:r)}O.hexStringFromBuffer=zo;function Vo(e){return(0,Ie.BigIntString)(e.toString(10))}O.bigIntStringFromBigInt=Vo;function Go(e){return(0,Ie.IntNumber)(Number(BigInt(Pt(e,!0))))}O.intNumberFromHexString=Go;function Zo(e){return(0,Ie.HexString)(`0x${BigInt(e).toString(16)}`)}O.hexStringFromIntNumber=Zo;function Vn(e){return e.startsWith("0x")||e.startsWith("0X")}O.has0xPrefix=Vn;function cr(e){return Vn(e)?e.slice(2):e}O.strip0x=cr;function ys(e){return Vn(e)?`0x${e.slice(2)}`:`0x${e}`}O.prepend0x=ys;function Tt(e){if(typeof e!="string")return!1;const t=cr(e).toLowerCase();return _s.test(t)}O.isHexString=Tt;function bs(e,t=!1){if(typeof e=="string"){const r=cr(e).toLowerCase();if(_s.test(r))return(0,Ie.HexString)(t?`0x${r}`:r)}throw at.standardErrors.rpc.invalidParams(`"${String(e)}" is not a hexadecimal string`)}O.ensureHexString=bs;function Pt(e,t=!1){let r=bs(e,!1);return r.length%2===1&&(r=(0,Ie.HexString)(`0${r}`)),t?(0,Ie.HexString)(`0x${r}`):r}O.ensureEvenLengthHexString=Pt;function Yo(e){if(typeof e=="string"){const t=cr(e).toLowerCase();if(Tt(t)&&t.length===40)return(0,Ie.AddressString)(ys(t))}throw at.standardErrors.rpc.invalidParams(`Invalid Ethereum address: ${String(e)}`)}O.ensureAddressString=Yo;function Jo(e){if(Buffer.isBuffer(e))return e;if(typeof e=="string"){if(Tt(e)){const t=Pt(e,!1);return Buffer.from(t,"hex")}return Buffer.from(e,"utf8")}throw at.standardErrors.rpc.invalidParams(`Not binary data: ${String(e)}`)}O.ensureBuffer=Jo;function ws(e){if(typeof e=="number"&&Number.isInteger(e))return(0,Ie.IntNumber)(e);if(typeof e=="string"){if(ps.test(e))return(0,Ie.IntNumber)(Number(e));if(Tt(e))return(0,Ie.IntNumber)(Number(BigInt(Pt(e,!0))))}throw at.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`)}O.ensureIntNumber=ws;function Qo(e){if(e instanceof RegExp)return(0,Ie.RegExpString)(e.toString());throw at.standardErrors.rpc.invalidParams(`Not a RegExp: ${String(e)}`)}O.ensureRegExpString=Qo;function Xo(e){if(e!==null&&(typeof e=="bigint"||ms(e)))return BigInt(e.toString(10));if(typeof e=="number")return BigInt(ws(e));if(typeof e=="string"){if(ps.test(e))return BigInt(e);if(Tt(e))return BigInt(Pt(e,!0))}throw at.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`)}O.ensureBigInt=Xo;function ea(e){if(typeof e=="string")return JSON.parse(e);if(typeof e=="object")return e;throw at.standardErrors.rpc.invalidParams(`Not a JSON string or an object: ${String(e)}`)}O.ensureParsedJSONObject=ea;function ms(e){if(e==null||typeof e.constructor!="function")return!1;const{constructor:t}=e;return typeof t.config=="function"&&typeof t.EUCLID=="number"}O.isBigNumber=ms;function ta(e,t){return Array.from({length:t-e},(r,n)=>e+n)}O.range=ta;function ra(){const e=document.querySelector('link[sizes="192x192"]')||document.querySelector('link[sizes="180x180"]')||document.querySelector('link[rel="icon"]')||document.querySelector('link[rel="shortcut icon"]'),{protocol:t,host:r}=document.location,n=e?e.getAttribute("href"):null;return!n||n.startsWith("javascript:")||n.startsWith("vbscript:")?null:n.startsWith("http://")||n.startsWith("https://")||n.startsWith("data:")?n:n.startsWith("//")?t+n:`${t}//${r}${n}`}O.getFavicon=ra;function na(e,t){return e.length===t.length&&e.every((r,n)=>r===t[n])}O.areAddressArraysEqual=na;var We={},ur={},lr={},oe={};Object.defineProperty(oe,"__esModule",{value:!0});oe.decryptContent=oe.encryptContent=oe.importKeyFromHexString=oe.exportKeyToHexString=oe.decrypt=oe.encrypt=oe.deriveSharedSecret=oe.generateKeyPair=void 0;const vs=O;async function ia(){return crypto.subtle.generateKey({name:"ECDH",namedCurve:"P-256"},!0,["deriveKey"])}oe.generateKeyPair=ia;async function sa(e,t){return crypto.subtle.deriveKey({name:"ECDH",public:t},e,{name:"AES-GCM",length:256},!1,["encrypt","decrypt"])}oe.deriveSharedSecret=sa;async function Es(e,t){const r=crypto.getRandomValues(new Uint8Array(12)),n=await crypto.subtle.encrypt({name:"AES-GCM",iv:r},e,new TextEncoder().encode(t));return{iv:r,cipherText:n}}oe.encrypt=Es;async function Ss(e,{iv:t,cipherText:r}){const n=await crypto.subtle.decrypt({name:"AES-GCM",iv:t},e,r);return new TextDecoder().decode(n)}oe.decrypt=Ss;function xs(e){switch(e){case"public":return"spki";case"private":return"pkcs8"}}async function oa(e,t){const r=xs(e),n=await crypto.subtle.exportKey(r,t);return(0,vs.uint8ArrayToHex)(new Uint8Array(n))}oe.exportKeyToHexString=oa;async function aa(e,t){const r=xs(e),n=(0,vs.hexStringToUint8Array)(t).buffer;return await crypto.subtle.importKey(r,n,{name:"ECDH",namedCurve:"P-256"},!0,e==="private"?["deriveKey"]:[])}oe.importKeyFromHexString=aa;async function ca(e,t){const r=JSON.stringify(e,(n,o)=>{if(!(o instanceof Error))return o;const c=o;return Object.assign(Object.assign({},c.code?{code:c.code}:{}),{message:c.message})});return Es(t,r)}oe.encryptContent=ca;async function ua(e,t){return JSON.parse(await Ss(t,e))}oe.decryptContent=ua;var Ke={};Object.defineProperty(Ke,"__esModule",{value:!0});Ke.ScopedLocalStorage=void 0;class tr{constructor(t,r){this.scope=t,this.module=r}setItem(t,r){localStorage.setItem(this.scopedKey(t),r)}getItem(t){return localStorage.getItem(this.scopedKey(t))}removeItem(t){localStorage.removeItem(this.scopedKey(t))}clear(){const t=this.scopedKey(""),r=[];for(let n=0;nlocalStorage.removeItem(n))}scopedKey(t){return`-${this.scope}${this.module?`:${this.module}`:""}:${t}`}static clearAll(){new tr("CBWSDK").clear(),new tr("walletlink").clear()}}Ke.ScopedLocalStorage=tr;Object.defineProperty(lr,"__esModule",{value:!0});lr.SCWKeyManager=void 0;const qt=oe,la=Ke,yn={storageKey:"ownPrivateKey",keyType:"private"},bn={storageKey:"ownPublicKey",keyType:"public"},wn={storageKey:"peerPublicKey",keyType:"public"};class ha{constructor(){this.storage=new la.ScopedLocalStorage("CBWSDK","SCWKeyManager"),this.ownPrivateKey=null,this.ownPublicKey=null,this.peerPublicKey=null,this.sharedSecret=null}async getOwnPublicKey(){return await this.loadKeysIfNeeded(),this.ownPublicKey}async getSharedSecret(){return await this.loadKeysIfNeeded(),this.sharedSecret}async setPeerPublicKey(t){this.sharedSecret=null,this.peerPublicKey=t,await this.storeKey(wn,t),await this.loadKeysIfNeeded()}async clear(){this.ownPrivateKey=null,this.ownPublicKey=null,this.peerPublicKey=null,this.sharedSecret=null,this.storage.removeItem(bn.storageKey),this.storage.removeItem(yn.storageKey),this.storage.removeItem(wn.storageKey)}async generateKeyPair(){const t=await(0,qt.generateKeyPair)();this.ownPrivateKey=t.privateKey,this.ownPublicKey=t.publicKey,await this.storeKey(yn,t.privateKey),await this.storeKey(bn,t.publicKey)}async loadKeysIfNeeded(){if(this.ownPrivateKey===null&&(this.ownPrivateKey=await this.loadKey(yn)),this.ownPublicKey===null&&(this.ownPublicKey=await this.loadKey(bn)),(this.ownPrivateKey===null||this.ownPublicKey===null)&&await this.generateKeyPair(),this.peerPublicKey===null&&(this.peerPublicKey=await this.loadKey(wn)),this.sharedSecret===null){if(this.ownPrivateKey===null||this.peerPublicKey===null)return;this.sharedSecret=await(0,qt.deriveSharedSecret)(this.ownPrivateKey,this.peerPublicKey)}}async loadKey(t){const r=this.storage.getItem(t.storageKey);return r?(0,qt.importKeyFromHexString)(t.keyType,r):null}async storeKey(t,r){const n=await(0,qt.exportKeyToHexString)(t.keyType,r);this.storage.setItem(t.storageKey,n)}}lr.SCWKeyManager=ha;var hr={};Object.defineProperty(hr,"__esModule",{value:!0});hr.SCWStateManager=void 0;const da=Ke,oi="accounts",ai="activeChain",ci="availableChains",ui="walletCapabilities";class fa{get accounts(){return this._accounts}get activeChain(){return this._activeChain}get walletCapabilities(){return this._walletCapabilities}constructor(t){var r,n;this.storage=new da.ScopedLocalStorage("CBWSDK","SCWStateManager"),this.updateListener=t.updateListener,this.availableChains=this.loadItemFromStorage(ci),this._walletCapabilities=this.loadItemFromStorage(ui);const o=this.loadItemFromStorage(oi),c=this.loadItemFromStorage(ai);o&&this.updateListener.onAccountsUpdate({accounts:o,source:"storage"}),c&&this.updateListener.onChainUpdate({chain:c,source:"storage"}),this._accounts=o||[],this._activeChain=c||{id:(n=(r=t.appChainIds)===null||r===void 0?void 0:r[0])!==null&&n!==void 0?n:1}}updateAccounts(t){this._accounts=t,this.storeItemToStorage(oi,t),this.updateListener.onAccountsUpdate({accounts:t,source:"wallet"})}switchChain(t){var r;const n=(r=this.availableChains)===null||r===void 0?void 0:r.find(o=>o.id===t);return n?(n===this._activeChain||(this._activeChain=n,this.storeItemToStorage(ai,n),this.updateListener.onChainUpdate({chain:n,source:"wallet"})),!0):!1}updateAvailableChains(t){if(!t||Object.keys(t).length===0)return;const r=Object.entries(t).map(([n,o])=>({id:Number(n),rpcUrl:o}));this.availableChains=r,this.storeItemToStorage(ci,r),this.switchChain(this._activeChain.id)}updateWalletCapabilities(t){this._walletCapabilities=t,this.storeItemToStorage(ui,t)}storeItemToStorage(t,r){this.storage.setItem(t,JSON.stringify(r))}loadItemFromStorage(t){const r=this.storage.getItem(t);return r?JSON.parse(r):void 0}clear(){this.storage.clear()}}hr.SCWStateManager=fa;Object.defineProperty(ur,"__esModule",{value:!0});ur.SCWSigner=void 0;const pa=lr,_a=hr,Kt=qe,li=O,zt=oe;class ga{constructor(t){this.metadata=t.metadata,this.communicator=t.communicator,this.keyManager=new pa.SCWKeyManager,this.stateManager=new _a.SCWStateManager({appChainIds:this.metadata.appChainIds,updateListener:t.updateListener}),this.handshake=this.handshake.bind(this),this.request=this.request.bind(this),this.createRequestMessage=this.createRequestMessage.bind(this),this.decryptResponseMessage=this.decryptResponseMessage.bind(this)}async handshake(){const t=await this.createRequestMessage({handshake:{method:"eth_requestAccounts",params:this.metadata}}),r=await this.communicator.postRequestAndWaitForResponse(t);if("failure"in r.content)throw r.content.failure;const n=await(0,zt.importKeyFromHexString)("public",r.sender);await this.keyManager.setPeerPublicKey(n);const o=await this.decryptResponseMessage(r);this.updateInternalState({method:"eth_requestAccounts"},o);const c=o.result;if("error"in c)throw c.error;return this.stateManager.accounts}async request(t){const r=this.tryLocalHandling(t);if(r!==void 0){if(r instanceof Error)throw r;return r}await this.communicator.waitForPopupLoaded();const n=await this.sendEncryptedRequest(t),o=await this.decryptResponseMessage(n);this.updateInternalState(t,o);const c=o.result;if("error"in c)throw c.error;return c.value}async disconnect(){this.stateManager.clear(),await this.keyManager.clear()}tryLocalHandling(t){var r;switch(t.method){case"wallet_switchEthereumChain":{const n=t.params;if(!n||!(!((r=n[0])===null||r===void 0)&&r.chainId))throw Kt.standardErrors.rpc.invalidParams();const o=(0,li.ensureIntNumber)(n[0].chainId);return this.stateManager.switchChain(o)?null:void 0}case"wallet_getCapabilities":{const n=this.stateManager.walletCapabilities;if(!n)throw Kt.standardErrors.provider.unauthorized("No wallet capabilities found, please disconnect and reconnect");return n}default:return}}async sendEncryptedRequest(t){const r=await this.keyManager.getSharedSecret();if(!r)throw Kt.standardErrors.provider.unauthorized("No valid session found, try requestAccounts before other methods");const n=await(0,zt.encryptContent)({action:t,chainId:this.stateManager.activeChain.id},r),o=await this.createRequestMessage({encrypted:n});return this.communicator.postRequestAndWaitForResponse(o)}async createRequestMessage(t){const r=await(0,zt.exportKeyToHexString)("public",await this.keyManager.getOwnPublicKey());return{id:crypto.randomUUID(),sender:r,content:t,timestamp:new Date}}async decryptResponseMessage(t){const r=t.content;if("failure"in r)throw r.failure;const n=await this.keyManager.getSharedSecret();if(!n)throw Kt.standardErrors.provider.unauthorized("Invalid session");return(0,zt.decryptContent)(r.encrypted,n)}updateInternalState(t,r){var n,o;const c=(n=r.data)===null||n===void 0?void 0:n.chains;c&&this.stateManager.updateAvailableChains(c);const u=(o=r.data)===null||o===void 0?void 0:o.capabilities;u&&this.stateManager.updateWalletCapabilities(u);const a=r.result;if(!("error"in a))switch(t.method){case"eth_requestAccounts":{const h=a.value;this.stateManager.updateAccounts(h);break}case"wallet_switchEthereumChain":{if(a.value!==null)return;const h=t.params,_=(0,li.ensureIntNumber)(h[0].chainId);this.stateManager.switchChain(_);break}}}}ur.SCWSigner=ga;var dr={},Nn={exports:{}},Cs=os.EventEmitter,Nt={},fr={};fr.byteLength=wa;fr.toByteArray=va;fr.fromByteArray=xa;var je=[],xe=[],ya=typeof Uint8Array<"u"?Uint8Array:Array,mn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var dt=0,ba=mn.length;dt0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function wa(e){var t=Is(e),r=t[0],n=t[1];return(r+n)*3/4-n}function ma(e,t,r){return(t+r)*3/4-r}function va(e){var t,r=Is(e),n=r[0],o=r[1],c=new ya(ma(e,n,o)),u=0,a=o>0?n-4:n,h;for(h=0;h>16&255,c[u++]=t>>8&255,c[u++]=t&255;return o===2&&(t=xe[e.charCodeAt(h)]<<2|xe[e.charCodeAt(h+1)]>>4,c[u++]=t&255),o===1&&(t=xe[e.charCodeAt(h)]<<10|xe[e.charCodeAt(h+1)]<<4|xe[e.charCodeAt(h+2)]>>2,c[u++]=t>>8&255,c[u++]=t&255),c}function Ea(e){return je[e>>18&63]+je[e>>12&63]+je[e>>6&63]+je[e&63]}function Sa(e,t,r){for(var n,o=[],c=t;ca?a:u+c));return n===1?(t=e[r-1],o.push(je[t>>2]+je[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],o.push(je[t>>10]+je[t>>4&63]+je[t<<2&63]+"=")),o.join("")}var Gn={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */Gn.read=function(e,t,r,n,o){var c,u,a=o*8-n-1,h=(1<>1,m=-7,g=r?o-1:0,b=r?-1:1,v=e[t+g];for(g+=b,c=v&(1<<-m)-1,v>>=-m,m+=a;m>0;c=c*256+e[t+g],g+=b,m-=8);for(u=c&(1<<-m)-1,c>>=-m,m+=n;m>0;u=u*256+e[t+g],g+=b,m-=8);if(c===0)c=1-_;else{if(c===h)return u?NaN:(v?-1:1)*(1/0);u=u+Math.pow(2,n),c=c-_}return(v?-1:1)*u*Math.pow(2,c-n)};Gn.write=function(e,t,r,n,o,c){var u,a,h,_=c*8-o-1,m=(1<<_)-1,g=m>>1,b=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:c-1,I=n?1:-1,T=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,u=m):(u=Math.floor(Math.log(t)/Math.LN2),t*(h=Math.pow(2,-u))<1&&(u--,h*=2),u+g>=1?t+=b/h:t+=b*Math.pow(2,1-g),t*h>=2&&(u++,h/=2),u+g>=m?(a=0,u=m):u+g>=1?(a=(t*h-1)*Math.pow(2,o),u=u+g):(a=t*Math.pow(2,g-1)*Math.pow(2,o),u=0));o>=8;e[r+v]=a&255,v+=I,a/=256,o-=8);for(u=u<0;e[r+v]=u&255,v+=I,u/=256,_-=8);e[r+v-I]|=T*128};/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh
diff --git a/assets/index-OBL8cfjx.js b/assets/index-DAnovpM3.js
similarity index 93%
rename from assets/index-OBL8cfjx.js
rename to assets/index-DAnovpM3.js
index 00cc79f..c9a1151 100644
--- a/assets/index-OBL8cfjx.js
+++ b/assets/index-DAnovpM3.js
@@ -1,4 +1,4 @@
-import{aJ as s,af as o,aF as t,aP as i,aV as n,aW as f,aX as d,aK as c,aO as l,aT as h,aN as m,aR as p,aQ as I,aS as x,aU as V,aL as w,aM as E}from"./index-DgzvH8Qi.js";const a=`
+import{aJ as s,af as o,aF as t,aP as i,aV as n,aW as f,aX as d,aK as c,aO as l,aT as h,aN as m,aR as p,aQ as I,aS as x,aU as V,aL as w,aM as E}from"./index-VLNutAkM.js";const a=`
@font-face {
font-family: 'Inter';
font-style: normal;
diff --git a/assets/index-CwO9kn06.js b/assets/index-DJgpWg3r.js
similarity index 98%
rename from assets/index-CwO9kn06.js
rename to assets/index-DJgpWg3r.js
index c922c64..2f3ba8b 100644
--- a/assets/index-CwO9kn06.js
+++ b/assets/index-DJgpWg3r.js
@@ -1,2 +1,2 @@
-const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-2lrILkeJ.js","assets/index-DgzvH8Qi.js","assets/index-BgH4b0Mv.css"])))=>i.map(i=>d[i]);
-import{bz as fe}from"./index-DgzvH8Qi.js";const me=Symbol(),ee=Object.getPrototypeOf,G=new WeakMap,he=e=>e&&(G.has(e)?G.get(e):ee(e)===Object.prototype||ee(e)===Array.prototype),ge=e=>he(e)&&e[me]||null,te=(e,t=!0)=>{G.set(e,t)},z={BASE_URL:"/push-keys/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_APP_ENV:"dev",VITE_APP_WALLETCONNECT_PROJECT_ID:"a9782e50cde6e67b10c297f1834e43ea"},q=e=>typeof e=="object"&&e!==null,A=new WeakMap,x=new WeakSet,be=(e=Object.is,t=(n,g)=>new Proxy(n,g),s=n=>q(n)&&!x.has(n)&&(Array.isArray(n)||!(Symbol.iterator in n))&&!(n instanceof WeakMap)&&!(n instanceof WeakSet)&&!(n instanceof Error)&&!(n instanceof Number)&&!(n instanceof Date)&&!(n instanceof String)&&!(n instanceof RegExp)&&!(n instanceof ArrayBuffer),r=n=>{switch(n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:throw n}},l=new WeakMap,c=(n,g,I=r)=>{const y=l.get(n);if((y==null?void 0:y[0])===g)return y[1];const v=Array.isArray(n)?[]:Object.create(Object.getPrototypeOf(n));return te(v,!0),l.set(n,[g,v]),Reflect.ownKeys(n).forEach(D=>{if(Object.getOwnPropertyDescriptor(v,D))return;const O=Reflect.get(n,D),M={value:O,enumerable:!0,configurable:!0};if(x.has(O))te(O,!1);else if(O instanceof Promise)delete M.value,M.get=()=>I(O);else if(A.has(O)){const[b,H]=A.get(O);M.value=c(b,H(),I)}Object.defineProperty(v,D,M)}),Object.preventExtensions(v)},m=new WeakMap,f=[1,1],W=n=>{if(!q(n))throw new Error("object required");const g=m.get(n);if(g)return g;let I=f[0];const y=new Set,v=(i,a=++f[0])=>{I!==a&&(I=a,y.forEach(o=>o(i,a)))};let D=f[1];const O=(i=++f[1])=>(D!==i&&!y.size&&(D=i,b.forEach(([a])=>{const o=a[1](i);o>I&&(I=o)})),I),M=i=>(a,o)=>{const h=[...a];h[1]=[i,...h[1]],v(h,o)},b=new Map,H=(i,a)=>{if((z?"production":void 0)!=="production"&&b.has(i))throw new Error("prop listener already exists");if(y.size){const o=a[3](M(i));b.set(i,[a,o])}else b.set(i,[a])},Z=i=>{var a;const o=b.get(i);o&&(b.delete(i),(a=o[1])==null||a.call(o))},ue=i=>(y.add(i),y.size===1&&b.forEach(([o,h],S)=>{if((z?"production":void 0)!=="production"&&h)throw new Error("remove already exists");const T=o[3](M(S));b.set(S,[o,T])}),()=>{y.delete(i),y.size===0&&b.forEach(([o,h],S)=>{h&&(h(),b.set(S,[o]))})}),J=Array.isArray(n)?[]:Object.create(Object.getPrototypeOf(n)),V=t(J,{deleteProperty(i,a){const o=Reflect.get(i,a);Z(a);const h=Reflect.deleteProperty(i,a);return h&&v(["delete",[a],o]),h},set(i,a,o,h){const S=Reflect.has(i,a),T=Reflect.get(i,a,h);if(S&&(e(T,o)||m.has(o)&&e(T,m.get(o))))return!0;Z(a),q(o)&&(o=ge(o)||o);let $=o;if(o instanceof Promise)o.then(C=>{o.status="fulfilled",o.value=C,v(["resolve",[a],C])}).catch(C=>{o.status="rejected",o.reason=C,v(["reject",[a],C])});else{!A.has(o)&&s(o)&&($=W(o));const C=!x.has($)&&A.get($);C&&H(a,C)}return Reflect.set(i,a,$,h),v(["set",[a],o,T]),!0}});m.set(n,V);const pe=[J,O,c,ue];return A.set(V,pe),Reflect.ownKeys(n).forEach(i=>{const a=Object.getOwnPropertyDescriptor(n,i);"value"in a&&(V[i]=n[i],delete a.value,delete a.writable),Object.defineProperty(J,i,a)}),V})=>[W,A,x,e,t,s,r,l,c,m,f],[ye]=be();function j(e={}){return ye(e)}function U(e,t,s){const r=A.get(e);(z?"production":void 0)!=="production"&&!r&&console.warn("Please use proxy object");let l;const c=[],m=r[3];let f=!1;const n=m(g=>{c.push(g),l||(l=Promise.resolve().then(()=>{l=void 0,f&&t(c.splice(0))}))});return f=!0,()=>{f=!1,n()}}function ve(e,t){const s=A.get(e);(z?"production":void 0)!=="production"&&!s&&console.warn("Please use proxy object");const[r,l,c]=s;return c(r,l(),t)}const d=j({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),de={state:d,subscribe(e){return U(d,()=>e(d))},push(e,t){e!==d.view&&(d.view=e,t&&(d.data=t),d.history.push(e))},reset(e){d.view=e,d.history=[e]},replace(e){d.history.length>1&&(d.history[d.history.length-1]=e,d.view=e)},goBack(){if(d.history.length>1){d.history.pop();const[e]=d.history.slice(-1);d.view=e}},setData(e){d.data=e}},p={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 p.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){const e=navigator.userAgent.toLowerCase();return p.isMobile()&&(e.includes("iphone")||e.includes("ipad"))},isHttpUrl(e){return e.startsWith("http://")||e.startsWith("https://")},isArray(e){return Array.isArray(e)&&e.length>0},formatNativeUrl(e,t,s){if(p.isHttpUrl(e))return this.formatUniversalUrl(e,t,s);let r=e;r.includes("://")||(r=e.replaceAll("/","").replaceAll(":",""),r=`${r}://`),r.endsWith("/")||(r=`${r}/`),this.setWalletConnectDeepLink(r,s);const l=encodeURIComponent(t);return`${r}wc?uri=${l}`},formatUniversalUrl(e,t,s){if(!p.isHttpUrl(e))return this.formatNativeUrl(e,t,s);let r=e;r.endsWith("/")||(r=`${r}/`),this.setWalletConnectDeepLink(r,s);const l=encodeURIComponent(t);return`${r}wc?uri=${l}`},async wait(e){return new Promise(t=>{setTimeout(t,e)})},openHref(e,t){window.open(e,t,"noreferrer noopener")},setWalletConnectDeepLink(e,t){try{localStorage.setItem(p.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:t}))}catch{console.info("Unable to set WalletConnect deep link")}},setWalletConnectAndroidDeepLink(e){try{const[t]=e.split("?");localStorage.setItem(p.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:"Android"}))}catch{console.info("Unable to set WalletConnect android deep link")}},removeWalletConnectDeepLink(){try{localStorage.removeItem(p.WALLETCONNECT_DEEPLINK_CHOICE)}catch{console.info("Unable to remove WalletConnect deep link")}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(p.WCM_VERSION,"2.6.2")}catch{console.info("Unable to set Web3Modal version in storage")}},getWalletRouterData(){var e;const t=(e=de.state.data)==null?void 0:e.Wallet;if(!t)throw new Error('Missing "Wallet" view data');return t}},we=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),u=j({enabled:we,userSessionId:"",events:[],connectedWalletId:void 0}),Ie={state:u,subscribe(e){return U(u.events,()=>e(ve(u.events[u.events.length-1])))},initialize(){u.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(u.userSessionId=crypto.randomUUID())},setConnectedWalletId(e){u.connectedWalletId=e},click(e){if(u.enabled){const t={type:"CLICK",name:e.name,userSessionId:u.userSessionId,timestamp:Date.now(),data:e};u.events.push(t)}},track(e){if(u.enabled){const t={type:"TRACK",name:e.name,userSessionId:u.userSessionId,timestamp:Date.now(),data:e};u.events.push(t)}},view(e){if(u.enabled){const t={type:"VIEW",name:e.name,userSessionId:u.userSessionId,timestamp:Date.now(),data:e};u.events.push(t)}}},E=j({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),w={state:E,subscribe(e){return U(E,()=>e(E))},setChains(e){E.chains=e},setWalletConnectUri(e){E.walletConnectUri=e},setIsCustomDesktop(e){E.isCustomDesktop=e},setIsCustomMobile(e){E.isCustomMobile=e},setIsDataLoaded(e){E.isDataLoaded=e},setIsUiLoaded(e){E.isUiLoaded=e},setIsAuth(e){E.isAuth=e}},B=j({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}),N={state:B,subscribe(e){return U(B,()=>e(B))},setConfig(e){var t,s;Ie.initialize(),w.setChains(e.chains),w.setIsAuth(!!e.enableAuthMode),w.setIsCustomMobile(!!((t=e.mobileWallets)!=null&&t.length)),w.setIsCustomDesktop(!!((s=e.desktopWallets)!=null&&s.length)),p.setModalVersionInStorage(),Object.assign(B,e)}};var Ee=Object.defineProperty,se=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,ne=(e,t,s)=>t in e?Ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,We=(e,t)=>{for(var s in t||(t={}))Le.call(t,s)&&ne(e,s,t[s]);if(se)for(var s of se(t))Oe.call(t,s)&&ne(e,s,t[s]);return e};const Q="https://explorer-api.walletconnect.com",X="wcm",Y="js-2.6.2";async function K(e,t){const s=We({sdkType:X,sdkVersion:Y},t),r=new URL(e,Q);return r.searchParams.append("projectId",N.state.projectId),Object.entries(s).forEach(([l,c])=>{c&&r.searchParams.append(l,String(c))}),(await fetch(r)).json()}const P={async getDesktopListings(e){return K("/w3m/v1/getDesktopListings",e)},async getMobileListings(e){return K("/w3m/v1/getMobileListings",e)},async getInjectedListings(e){return K("/w3m/v1/getInjectedListings",e)},async getAllListings(e){return K("/w3m/v1/getAllListings",e)},getWalletImageUrl(e){return`${Q}/w3m/v1/getWalletImage/${e}?projectId=${N.state.projectId}&sdkType=${X}&sdkVersion=${Y}`},getAssetImageUrl(e){return`${Q}/w3m/v1/getAssetImage/${e}?projectId=${N.state.projectId}&sdkType=${X}&sdkVersion=${Y}`}};var Ce=Object.defineProperty,oe=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,re=(e,t,s)=>t in e?Ce(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Me=(e,t)=>{for(var s in t||(t={}))Ae.call(t,s)&&re(e,s,t[s]);if(oe)for(var s of oe(t))je.call(t,s)&&re(e,s,t[s]);return e};const ae=p.isMobile(),L=j({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),Re={state:L,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=N.state;if(e==="NONE"||t==="ALL"&&!e)return L.recomendedWallets;if(p.isArray(e)){const s={recommendedIds:e.join(",")},{listings:r}=await P.getAllListings(s),l=Object.values(r);l.sort((c,m)=>{const f=e.indexOf(c.id),W=e.indexOf(m.id);return f-W}),L.recomendedWallets=l}else{const{chains:s,isAuth:r}=w.state,l=s==null?void 0:s.join(","),c=p.isArray(t),m={page:1,sdks:r?"auth_v1":void 0,entries:p.RECOMMENDED_WALLET_AMOUNT,chains:l,version:2,excludedIds:c?t.join(","):void 0},{listings:f}=ae?await P.getMobileListings(m):await P.getDesktopListings(m);L.recomendedWallets=Object.values(f)}return L.recomendedWallets},async getWallets(e){const t=Me({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:r}=N.state,{recomendedWallets:l}=L;if(r==="ALL")return L.wallets;l.length?t.excludedIds=l.map(I=>I.id).join(","):p.isArray(s)&&(t.excludedIds=s.join(",")),p.isArray(r)&&(t.excludedIds=[t.excludedIds,r].filter(Boolean).join(",")),w.state.isAuth&&(t.sdks="auth_v1");const{page:c,search:m}=e,{listings:f,total:W}=ae?await P.getMobileListings(t):await P.getDesktopListings(t),n=Object.values(f),g=m?"search":"wallets";return L[g]={listings:[...L[g].listings,...n],total:W,page:c??1},{listings:n,total:W}},getWalletImageUrl(e){return P.getWalletImageUrl(e)},getAssetImageUrl(e){return P.getAssetImageUrl(e)},resetSearch(){L.search={listings:[],total:0,page:1}}},k=j({open:!1}),F={state:k,subscribe(e){return U(k,()=>e(k))},async open(e){return new Promise(t=>{const{isUiLoaded:s,isDataLoaded:r}=w.state;if(p.removeWalletConnectDeepLink(),w.setWalletConnectUri(e==null?void 0:e.uri),w.setChains(e==null?void 0:e.chains),de.reset("ConnectWallet"),s&&r)k.open=!0,t();else{const l=setInterval(()=>{const c=w.state;c.isUiLoaded&&c.isDataLoaded&&(clearInterval(l),k.open=!0,t())},200)}})},close(){k.open=!1}};var Pe=Object.defineProperty,ie=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,le=(e,t,s)=>t in e?Pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,De=(e,t)=>{for(var s in t||(t={}))_e.call(t,s)&&le(e,s,t[s]);if(ie)for(var s of ie(t))Ue.call(t,s)&&le(e,s,t[s]);return e};function Se(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}const R=j({themeMode:Se()?"dark":"light"}),ce={state:R,subscribe(e){return U(R,()=>e(R))},setThemeConfig(e){const{themeMode:t,themeVariables:s}=e;t&&(R.themeMode=t),s&&(R.themeVariables=De({},s))}},_=j({open:!1,message:"",variant:"success"}),Ve={state:_,subscribe(e){return U(_,()=>e(_))},openToast(e,t){_.open=!0,_.message=e,_.variant=t},closeToast(){_.open=!1}};class ke{constructor(t){this.openModal=F.open,this.closeModal=F.close,this.subscribeModal=F.subscribe,this.setTheme=ce.setThemeConfig,ce.setThemeConfig(t),N.setConfig(t),this.initUi()}async initUi(){if(typeof window<"u"){await fe(()=>import("./index-2lrILkeJ.js"),__vite__mapDeps([0,1,2]));const t=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",t),w.setIsUiLoaded(!0)}}}const $e=Object.freeze(Object.defineProperty({__proto__:null,WalletConnectModal:ke},Symbol.toStringTag,{value:"Module"}));export{Ie as R,de as T,p as a,$e as i,ce as n,Ve as o,w as p,F as s,Re as t,N as y};
+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-LHQ3-BAe.js","assets/index-VLNutAkM.js","assets/index-BgH4b0Mv.css"])))=>i.map(i=>d[i]);
+import{bz as fe}from"./index-VLNutAkM.js";const me=Symbol(),ee=Object.getPrototypeOf,G=new WeakMap,he=e=>e&&(G.has(e)?G.get(e):ee(e)===Object.prototype||ee(e)===Array.prototype),ge=e=>he(e)&&e[me]||null,te=(e,t=!0)=>{G.set(e,t)},z={BASE_URL:"/push-keys/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_APP_ENV:"dev",VITE_APP_WALLETCONNECT_PROJECT_ID:"a9782e50cde6e67b10c297f1834e43ea"},q=e=>typeof e=="object"&&e!==null,A=new WeakMap,x=new WeakSet,be=(e=Object.is,t=(n,g)=>new Proxy(n,g),s=n=>q(n)&&!x.has(n)&&(Array.isArray(n)||!(Symbol.iterator in n))&&!(n instanceof WeakMap)&&!(n instanceof WeakSet)&&!(n instanceof Error)&&!(n instanceof Number)&&!(n instanceof Date)&&!(n instanceof String)&&!(n instanceof RegExp)&&!(n instanceof ArrayBuffer),r=n=>{switch(n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:throw n}},l=new WeakMap,c=(n,g,I=r)=>{const y=l.get(n);if((y==null?void 0:y[0])===g)return y[1];const v=Array.isArray(n)?[]:Object.create(Object.getPrototypeOf(n));return te(v,!0),l.set(n,[g,v]),Reflect.ownKeys(n).forEach(D=>{if(Object.getOwnPropertyDescriptor(v,D))return;const O=Reflect.get(n,D),M={value:O,enumerable:!0,configurable:!0};if(x.has(O))te(O,!1);else if(O instanceof Promise)delete M.value,M.get=()=>I(O);else if(A.has(O)){const[b,H]=A.get(O);M.value=c(b,H(),I)}Object.defineProperty(v,D,M)}),Object.preventExtensions(v)},m=new WeakMap,f=[1,1],W=n=>{if(!q(n))throw new Error("object required");const g=m.get(n);if(g)return g;let I=f[0];const y=new Set,v=(i,a=++f[0])=>{I!==a&&(I=a,y.forEach(o=>o(i,a)))};let D=f[1];const O=(i=++f[1])=>(D!==i&&!y.size&&(D=i,b.forEach(([a])=>{const o=a[1](i);o>I&&(I=o)})),I),M=i=>(a,o)=>{const h=[...a];h[1]=[i,...h[1]],v(h,o)},b=new Map,H=(i,a)=>{if((z?"production":void 0)!=="production"&&b.has(i))throw new Error("prop listener already exists");if(y.size){const o=a[3](M(i));b.set(i,[a,o])}else b.set(i,[a])},Z=i=>{var a;const o=b.get(i);o&&(b.delete(i),(a=o[1])==null||a.call(o))},ue=i=>(y.add(i),y.size===1&&b.forEach(([o,h],S)=>{if((z?"production":void 0)!=="production"&&h)throw new Error("remove already exists");const T=o[3](M(S));b.set(S,[o,T])}),()=>{y.delete(i),y.size===0&&b.forEach(([o,h],S)=>{h&&(h(),b.set(S,[o]))})}),J=Array.isArray(n)?[]:Object.create(Object.getPrototypeOf(n)),V=t(J,{deleteProperty(i,a){const o=Reflect.get(i,a);Z(a);const h=Reflect.deleteProperty(i,a);return h&&v(["delete",[a],o]),h},set(i,a,o,h){const S=Reflect.has(i,a),T=Reflect.get(i,a,h);if(S&&(e(T,o)||m.has(o)&&e(T,m.get(o))))return!0;Z(a),q(o)&&(o=ge(o)||o);let $=o;if(o instanceof Promise)o.then(C=>{o.status="fulfilled",o.value=C,v(["resolve",[a],C])}).catch(C=>{o.status="rejected",o.reason=C,v(["reject",[a],C])});else{!A.has(o)&&s(o)&&($=W(o));const C=!x.has($)&&A.get($);C&&H(a,C)}return Reflect.set(i,a,$,h),v(["set",[a],o,T]),!0}});m.set(n,V);const pe=[J,O,c,ue];return A.set(V,pe),Reflect.ownKeys(n).forEach(i=>{const a=Object.getOwnPropertyDescriptor(n,i);"value"in a&&(V[i]=n[i],delete a.value,delete a.writable),Object.defineProperty(J,i,a)}),V})=>[W,A,x,e,t,s,r,l,c,m,f],[ye]=be();function j(e={}){return ye(e)}function U(e,t,s){const r=A.get(e);(z?"production":void 0)!=="production"&&!r&&console.warn("Please use proxy object");let l;const c=[],m=r[3];let f=!1;const n=m(g=>{c.push(g),l||(l=Promise.resolve().then(()=>{l=void 0,f&&t(c.splice(0))}))});return f=!0,()=>{f=!1,n()}}function ve(e,t){const s=A.get(e);(z?"production":void 0)!=="production"&&!s&&console.warn("Please use proxy object");const[r,l,c]=s;return c(r,l(),t)}const d=j({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),de={state:d,subscribe(e){return U(d,()=>e(d))},push(e,t){e!==d.view&&(d.view=e,t&&(d.data=t),d.history.push(e))},reset(e){d.view=e,d.history=[e]},replace(e){d.history.length>1&&(d.history[d.history.length-1]=e,d.view=e)},goBack(){if(d.history.length>1){d.history.pop();const[e]=d.history.slice(-1);d.view=e}},setData(e){d.data=e}},p={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 p.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){const e=navigator.userAgent.toLowerCase();return p.isMobile()&&(e.includes("iphone")||e.includes("ipad"))},isHttpUrl(e){return e.startsWith("http://")||e.startsWith("https://")},isArray(e){return Array.isArray(e)&&e.length>0},formatNativeUrl(e,t,s){if(p.isHttpUrl(e))return this.formatUniversalUrl(e,t,s);let r=e;r.includes("://")||(r=e.replaceAll("/","").replaceAll(":",""),r=`${r}://`),r.endsWith("/")||(r=`${r}/`),this.setWalletConnectDeepLink(r,s);const l=encodeURIComponent(t);return`${r}wc?uri=${l}`},formatUniversalUrl(e,t,s){if(!p.isHttpUrl(e))return this.formatNativeUrl(e,t,s);let r=e;r.endsWith("/")||(r=`${r}/`),this.setWalletConnectDeepLink(r,s);const l=encodeURIComponent(t);return`${r}wc?uri=${l}`},async wait(e){return new Promise(t=>{setTimeout(t,e)})},openHref(e,t){window.open(e,t,"noreferrer noopener")},setWalletConnectDeepLink(e,t){try{localStorage.setItem(p.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:t}))}catch{console.info("Unable to set WalletConnect deep link")}},setWalletConnectAndroidDeepLink(e){try{const[t]=e.split("?");localStorage.setItem(p.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:"Android"}))}catch{console.info("Unable to set WalletConnect android deep link")}},removeWalletConnectDeepLink(){try{localStorage.removeItem(p.WALLETCONNECT_DEEPLINK_CHOICE)}catch{console.info("Unable to remove WalletConnect deep link")}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(p.WCM_VERSION,"2.6.2")}catch{console.info("Unable to set Web3Modal version in storage")}},getWalletRouterData(){var e;const t=(e=de.state.data)==null?void 0:e.Wallet;if(!t)throw new Error('Missing "Wallet" view data');return t}},we=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),u=j({enabled:we,userSessionId:"",events:[],connectedWalletId:void 0}),Ie={state:u,subscribe(e){return U(u.events,()=>e(ve(u.events[u.events.length-1])))},initialize(){u.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(u.userSessionId=crypto.randomUUID())},setConnectedWalletId(e){u.connectedWalletId=e},click(e){if(u.enabled){const t={type:"CLICK",name:e.name,userSessionId:u.userSessionId,timestamp:Date.now(),data:e};u.events.push(t)}},track(e){if(u.enabled){const t={type:"TRACK",name:e.name,userSessionId:u.userSessionId,timestamp:Date.now(),data:e};u.events.push(t)}},view(e){if(u.enabled){const t={type:"VIEW",name:e.name,userSessionId:u.userSessionId,timestamp:Date.now(),data:e};u.events.push(t)}}},E=j({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),w={state:E,subscribe(e){return U(E,()=>e(E))},setChains(e){E.chains=e},setWalletConnectUri(e){E.walletConnectUri=e},setIsCustomDesktop(e){E.isCustomDesktop=e},setIsCustomMobile(e){E.isCustomMobile=e},setIsDataLoaded(e){E.isDataLoaded=e},setIsUiLoaded(e){E.isUiLoaded=e},setIsAuth(e){E.isAuth=e}},B=j({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}),N={state:B,subscribe(e){return U(B,()=>e(B))},setConfig(e){var t,s;Ie.initialize(),w.setChains(e.chains),w.setIsAuth(!!e.enableAuthMode),w.setIsCustomMobile(!!((t=e.mobileWallets)!=null&&t.length)),w.setIsCustomDesktop(!!((s=e.desktopWallets)!=null&&s.length)),p.setModalVersionInStorage(),Object.assign(B,e)}};var Ee=Object.defineProperty,se=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,ne=(e,t,s)=>t in e?Ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,We=(e,t)=>{for(var s in t||(t={}))Le.call(t,s)&&ne(e,s,t[s]);if(se)for(var s of se(t))Oe.call(t,s)&&ne(e,s,t[s]);return e};const Q="https://explorer-api.walletconnect.com",X="wcm",Y="js-2.6.2";async function K(e,t){const s=We({sdkType:X,sdkVersion:Y},t),r=new URL(e,Q);return r.searchParams.append("projectId",N.state.projectId),Object.entries(s).forEach(([l,c])=>{c&&r.searchParams.append(l,String(c))}),(await fetch(r)).json()}const P={async getDesktopListings(e){return K("/w3m/v1/getDesktopListings",e)},async getMobileListings(e){return K("/w3m/v1/getMobileListings",e)},async getInjectedListings(e){return K("/w3m/v1/getInjectedListings",e)},async getAllListings(e){return K("/w3m/v1/getAllListings",e)},getWalletImageUrl(e){return`${Q}/w3m/v1/getWalletImage/${e}?projectId=${N.state.projectId}&sdkType=${X}&sdkVersion=${Y}`},getAssetImageUrl(e){return`${Q}/w3m/v1/getAssetImage/${e}?projectId=${N.state.projectId}&sdkType=${X}&sdkVersion=${Y}`}};var Ce=Object.defineProperty,oe=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,re=(e,t,s)=>t in e?Ce(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Me=(e,t)=>{for(var s in t||(t={}))Ae.call(t,s)&&re(e,s,t[s]);if(oe)for(var s of oe(t))je.call(t,s)&&re(e,s,t[s]);return e};const ae=p.isMobile(),L=j({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),Re={state:L,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=N.state;if(e==="NONE"||t==="ALL"&&!e)return L.recomendedWallets;if(p.isArray(e)){const s={recommendedIds:e.join(",")},{listings:r}=await P.getAllListings(s),l=Object.values(r);l.sort((c,m)=>{const f=e.indexOf(c.id),W=e.indexOf(m.id);return f-W}),L.recomendedWallets=l}else{const{chains:s,isAuth:r}=w.state,l=s==null?void 0:s.join(","),c=p.isArray(t),m={page:1,sdks:r?"auth_v1":void 0,entries:p.RECOMMENDED_WALLET_AMOUNT,chains:l,version:2,excludedIds:c?t.join(","):void 0},{listings:f}=ae?await P.getMobileListings(m):await P.getDesktopListings(m);L.recomendedWallets=Object.values(f)}return L.recomendedWallets},async getWallets(e){const t=Me({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:r}=N.state,{recomendedWallets:l}=L;if(r==="ALL")return L.wallets;l.length?t.excludedIds=l.map(I=>I.id).join(","):p.isArray(s)&&(t.excludedIds=s.join(",")),p.isArray(r)&&(t.excludedIds=[t.excludedIds,r].filter(Boolean).join(",")),w.state.isAuth&&(t.sdks="auth_v1");const{page:c,search:m}=e,{listings:f,total:W}=ae?await P.getMobileListings(t):await P.getDesktopListings(t),n=Object.values(f),g=m?"search":"wallets";return L[g]={listings:[...L[g].listings,...n],total:W,page:c??1},{listings:n,total:W}},getWalletImageUrl(e){return P.getWalletImageUrl(e)},getAssetImageUrl(e){return P.getAssetImageUrl(e)},resetSearch(){L.search={listings:[],total:0,page:1}}},k=j({open:!1}),F={state:k,subscribe(e){return U(k,()=>e(k))},async open(e){return new Promise(t=>{const{isUiLoaded:s,isDataLoaded:r}=w.state;if(p.removeWalletConnectDeepLink(),w.setWalletConnectUri(e==null?void 0:e.uri),w.setChains(e==null?void 0:e.chains),de.reset("ConnectWallet"),s&&r)k.open=!0,t();else{const l=setInterval(()=>{const c=w.state;c.isUiLoaded&&c.isDataLoaded&&(clearInterval(l),k.open=!0,t())},200)}})},close(){k.open=!1}};var Pe=Object.defineProperty,ie=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,le=(e,t,s)=>t in e?Pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,De=(e,t)=>{for(var s in t||(t={}))_e.call(t,s)&&le(e,s,t[s]);if(ie)for(var s of ie(t))Ue.call(t,s)&&le(e,s,t[s]);return e};function Se(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}const R=j({themeMode:Se()?"dark":"light"}),ce={state:R,subscribe(e){return U(R,()=>e(R))},setThemeConfig(e){const{themeMode:t,themeVariables:s}=e;t&&(R.themeMode=t),s&&(R.themeVariables=De({},s))}},_=j({open:!1,message:"",variant:"success"}),Ve={state:_,subscribe(e){return U(_,()=>e(_))},openToast(e,t){_.open=!0,_.message=e,_.variant=t},closeToast(){_.open=!1}};class ke{constructor(t){this.openModal=F.open,this.closeModal=F.close,this.subscribeModal=F.subscribe,this.setTheme=ce.setThemeConfig,ce.setThemeConfig(t),N.setConfig(t),this.initUi()}async initUi(){if(typeof window<"u"){await fe(()=>import("./index-LHQ3-BAe.js"),__vite__mapDeps([0,1,2]));const t=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",t),w.setIsUiLoaded(!0)}}}const $e=Object.freeze(Object.defineProperty({__proto__:null,WalletConnectModal:ke},Symbol.toStringTag,{value:"Module"}));export{Ie as R,de as T,p as a,$e as i,ce as n,Ve as o,w as p,F as s,Re as t,N as y};
diff --git a/assets/index-2lrILkeJ.js b/assets/index-LHQ3-BAe.js
similarity index 99%
rename from assets/index-2lrILkeJ.js
rename to assets/index-LHQ3-BAe.js
index 866b035..96fbc87 100644
--- a/assets/index-2lrILkeJ.js
+++ b/assets/index-LHQ3-BAe.js
@@ -1,4 +1,4 @@
-import{n as _t,s as ce,T as N,t as H,a as C,o as ot,R as Do,p as K,y as gt}from"./index-CwO9kn06.js";import"./index-DgzvH8Qi.js";/**
+import{n as _t,s as ce,T as N,t as H,a as C,o as ot,R as Do,p as K,y as gt}from"./index-DJgpWg3r.js";import"./index-VLNutAkM.js";/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
diff --git a/assets/index-DgzvH8Qi.js b/assets/index-VLNutAkM.js
similarity index 89%
rename from assets/index-DgzvH8Qi.js
rename to assets/index-VLNutAkM.js
index 134a4ca..21d1f6c 100644
--- a/assets/index-DgzvH8Qi.js
+++ b/assets/index-VLNutAkM.js
@@ -1,5 +1,5 @@
-const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-CROOOhj5.js","assets/number-Bkt_BtbB.js","assets/index-BY8dqRha.js","assets/index-40a497ea-B-e4dja1.js","assets/index-021f6a62-BcF70HI7.js","assets/Index-a4a1058e-DBreb4CD.js","assets/index-BmjJoMIO.js","assets/index-BPbOMfKu.js","assets/index-B_Er0c8S.js","assets/inherits_browser-DBMiyxZF.js","assets/index.es-D8Q_dfUU.js"])))=>i.map(i=>d[i]);
-var fS=Object.defineProperty;var dS=(e,t,n)=>t in e?fS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Se=(e,t,n)=>dS(e,typeof t!="symbol"?t+"":t,n);function hS(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var br=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function mK(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var g3={exports:{}},Np={},y3={exports:{}},qe={};/**
+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-BYP1Ti20.js","assets/number-LIp8TDoP.js","assets/index-CEX9b7PI.js","assets/index-40a497ea-B-e4dja1.js","assets/index-021f6a62-BcF70HI7.js","assets/Index-a4a1058e-D0a-yFFT.js","assets/index-YxUBmkeZ.js","assets/index-vmC98Bu8.js","assets/index-CxSnFqrK.js","assets/inherits_browser-nIpjPFVU.js","assets/index.es-Brf_WupR.js"])))=>i.map(i=>d[i]);
+var fS=Object.defineProperty;var dS=(e,t,n)=>t in e?fS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Se=(e,t,n)=>dS(e,typeof t!="symbol"?t+"":t,n);function hS(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var br=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function mK(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var y3={exports:{}},Np={},b3={exports:{}},qe={};/**
* @license React
* react.production.min.js
*
@@ -7,7 +7,7 @@ var fS=Object.defineProperty;var dS=(e,t,n)=>t in e?fS(e,t,{enumerable:!0,config
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */var zf=Symbol.for("react.element"),pS=Symbol.for("react.portal"),mS=Symbol.for("react.fragment"),gS=Symbol.for("react.strict_mode"),yS=Symbol.for("react.profiler"),bS=Symbol.for("react.provider"),vS=Symbol.for("react.context"),wS=Symbol.for("react.forward_ref"),_S=Symbol.for("react.suspense"),xS=Symbol.for("react.memo"),ES=Symbol.for("react.lazy"),aw=Symbol.iterator;function SS(e){return e===null||typeof e!="object"?null:(e=aw&&e[aw]||e["@@iterator"],typeof e=="function"?e:null)}var b3={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v3=Object.assign,w3={};function rc(e,t,n){this.props=e,this.context=t,this.refs=w3,this.updater=n||b3}rc.prototype.isReactComponent={};rc.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};rc.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _3(){}_3.prototype=rc.prototype;function yy(e,t,n){this.props=e,this.context=t,this.refs=w3,this.updater=n||b3}var by=yy.prototype=new _3;by.constructor=yy;v3(by,rc.prototype);by.isPureReactComponent=!0;var lw=Array.isArray,x3=Object.prototype.hasOwnProperty,vy={current:null},E3={key:!0,ref:!0,__self:!0,__source:!0};function S3(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)x3.call(t,r)&&!E3.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1t in e?fS(e,t,{enumerable:!0,config
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */var $S=de,PS=Symbol.for("react.element"),OS=Symbol.for("react.fragment"),RS=Object.prototype.hasOwnProperty,LS=$S.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,BS={key:!0,ref:!0,__self:!0,__source:!0};function A3(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)RS.call(t,r)&&!BS.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:PS,type:e,key:o,ref:s,props:i,_owner:LS.current}}Np.Fragment=OS;Np.jsx=A3;Np.jsxs=A3;g3.exports=Np;var fe=g3.exports,dg={},T3={exports:{}},ar={},I3={exports:{}},$3={};/**
+ */var $S=de,PS=Symbol.for("react.element"),OS=Symbol.for("react.fragment"),RS=Object.prototype.hasOwnProperty,LS=$S.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,BS={key:!0,ref:!0,__self:!0,__source:!0};function T3(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)RS.call(t,r)&&!BS.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:PS,type:e,key:o,ref:s,props:i,_owner:LS.current}}Np.Fragment=OS;Np.jsx=T3;Np.jsxs=T3;y3.exports=Np;var fe=y3.exports,dg={},I3={exports:{}},ar={},$3={exports:{}},P3={};/**
* @license React
* scheduler.production.min.js
*
@@ -23,7 +23,7 @@ var fS=Object.defineProperty;var dS=(e,t,n)=>t in e?fS(e,t,{enumerable:!0,config
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */(function(e){function t(j,W){var Y=j.length;j.push(W);e:for(;0>>1,ae=j[te];if(0>>1;tei(Ie,Y))_ei(Ce,Ie)?(j[te]=Ce,j[_e]=Y,te=_e):(j[te]=Ie,j[pe]=Y,te=pe);else if(_ei(Ce,Y))j[te]=Ce,j[_e]=Y,te=_e;else break e}}return W}function i(j,W){var Y=j.sortIndex-W.sortIndex;return Y!==0?Y:j.id-W.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],d=1,c=null,f=3,m=!1,p=!1,h=!1,y=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(j){for(var W=n(u);W!==null;){if(W.callback===null)r(u);else if(W.startTime<=j)r(u),W.sortIndex=W.expirationTime,t(l,W);else break;W=n(u)}}function w(j){if(h=!1,v(j),!p)if(n(l)!==null)p=!0,B(E);else{var W=n(u);W!==null&&V(w,W.startTime-j)}}function E(j,W){p=!1,h&&(h=!1,g(_),_=-1),m=!0;var Y=f;try{for(v(W),c=n(l);c!==null&&(!(c.expirationTime>W)||j&&!I());){var te=c.callback;if(typeof te=="function"){c.callback=null,f=c.priorityLevel;var ae=te(c.expirationTime<=W);W=e.unstable_now(),typeof ae=="function"?c.callback=ae:c===n(l)&&r(l),v(W)}else r(l);c=n(l)}if(c!==null)var Z=!0;else{var pe=n(u);pe!==null&&V(w,pe.startTime-W),Z=!1}return Z}finally{c=null,f=Y,m=!1}}var C=!1,k=null,_=-1,S=5,A=-1;function I(){return!(e.unstable_now()-Aj||125te?(j.sortIndex=Y,t(u,j),n(l)===null&&j===n(u)&&(h?(g(_),_=-1):h=!0,V(w,Y-te))):(j.sortIndex=ae,t(l,j),p||m||(p=!0,B(E))),j},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(j){var W=f;return function(){var Y=f;f=W;try{return j.apply(this,arguments)}finally{f=Y}}}})($3);I3.exports=$3;var NS=I3.exports;/**
+ */(function(e){function t(j,W){var Y=j.length;j.push(W);e:for(;0>>1,ae=j[te];if(0>>1;tei(Ie,Y))_ei(Ce,Ie)?(j[te]=Ce,j[_e]=Y,te=_e):(j[te]=Ie,j[pe]=Y,te=pe);else if(_ei(Ce,Y))j[te]=Ce,j[_e]=Y,te=_e;else break e}}return W}function i(j,W){var Y=j.sortIndex-W.sortIndex;return Y!==0?Y:j.id-W.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],d=1,c=null,f=3,m=!1,p=!1,h=!1,y=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(j){for(var W=n(u);W!==null;){if(W.callback===null)r(u);else if(W.startTime<=j)r(u),W.sortIndex=W.expirationTime,t(l,W);else break;W=n(u)}}function w(j){if(h=!1,v(j),!p)if(n(l)!==null)p=!0,B(E);else{var W=n(u);W!==null&&V(w,W.startTime-j)}}function E(j,W){p=!1,h&&(h=!1,g(_),_=-1),m=!0;var Y=f;try{for(v(W),c=n(l);c!==null&&(!(c.expirationTime>W)||j&&!I());){var te=c.callback;if(typeof te=="function"){c.callback=null,f=c.priorityLevel;var ae=te(c.expirationTime<=W);W=e.unstable_now(),typeof ae=="function"?c.callback=ae:c===n(l)&&r(l),v(W)}else r(l);c=n(l)}if(c!==null)var Z=!0;else{var pe=n(u);pe!==null&&V(w,pe.startTime-W),Z=!1}return Z}finally{c=null,f=Y,m=!1}}var C=!1,k=null,_=-1,S=5,A=-1;function I(){return!(e.unstable_now()-Aj||125te?(j.sortIndex=Y,t(u,j),n(l)===null&&j===n(u)&&(h?(g(_),_=-1):h=!0,V(w,Y-te))):(j.sortIndex=ae,t(l,j),p||m||(p=!0,B(E))),j},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(j){var W=f;return function(){var Y=f;f=W;try{return j.apply(this,arguments)}finally{f=Y}}}})(P3);$3.exports=P3;var NS=$3.exports;/**
* @license React
* react-dom.production.min.js
*
@@ -31,14 +31,14 @@ var fS=Object.defineProperty;var dS=(e,t,n)=>t in e?fS(e,t,{enumerable:!0,config
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */var MS=de,sr=NS;function se(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hg=Object.prototype.hasOwnProperty,jS=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,uw={},fw={};function DS(e){return hg.call(fw,e)?!0:hg.call(uw,e)?!1:jS.test(e)?fw[e]=!0:(uw[e]=!0,!1)}function FS(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function US(e,t,n,r){if(t===null||typeof t>"u"||FS(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Bn(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var pn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){pn[e]=new Bn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];pn[t]=new Bn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){pn[e]=new Bn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pn[e]=new Bn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){pn[e]=new Bn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){pn[e]=new Bn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){pn[e]=new Bn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){pn[e]=new Bn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){pn[e]=new Bn(e,5,!1,e.toLowerCase(),null,!1,!1)});var _y=/[\-:]([a-z])/g;function xy(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(_y,xy);pn[t]=new Bn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(_y,xy);pn[t]=new Bn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(_y,xy);pn[t]=new Bn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){pn[e]=new Bn(e,1,!1,e.toLowerCase(),null,!1,!1)});pn.xlinkHref=new Bn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){pn[e]=new Bn(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ey(e,t,n,r){var i=pn.hasOwnProperty(t)?pn[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hg=Object.prototype.hasOwnProperty,jS=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,fw={},dw={};function DS(e){return hg.call(dw,e)?!0:hg.call(fw,e)?!1:jS.test(e)?dw[e]=!0:(fw[e]=!0,!1)}function FS(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function US(e,t,n,r){if(t===null||typeof t>"u"||FS(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Bn(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var pn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){pn[e]=new Bn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];pn[t]=new Bn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){pn[e]=new Bn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pn[e]=new Bn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){pn[e]=new Bn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){pn[e]=new Bn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){pn[e]=new Bn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){pn[e]=new Bn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){pn[e]=new Bn(e,5,!1,e.toLowerCase(),null,!1,!1)});var _y=/[\-:]([a-z])/g;function xy(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(_y,xy);pn[t]=new Bn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(_y,xy);pn[t]=new Bn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(_y,xy);pn[t]=new Bn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){pn[e]=new Bn(e,1,!1,e.toLowerCase(),null,!1,!1)});pn.xlinkHref=new Bn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){pn[e]=new Bn(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ey(e,t,n,r){var i=pn.hasOwnProperty(t)?pn[t]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==o[a]){var l=`
-`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{G0=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?du(e):""}function HS(e){switch(e.tag){case 5:return du(e.type);case 16:return du("Lazy");case 13:return du("Suspense");case 19:return du("SuspenseList");case 0:case 2:case 15:return e=K0(e.type,!1),e;case 11:return e=K0(e.type.render,!1),e;case 1:return e=K0(e.type,!0),e;default:return""}}function yg(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Qa:return"Fragment";case Ya:return"Portal";case pg:return"Profiler";case Sy:return"StrictMode";case mg:return"Suspense";case gg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case R3:return(e.displayName||"Context")+".Consumer";case O3:return(e._context.displayName||"Context")+".Provider";case ky:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Cy:return t=e.displayName||null,t!==null?t:yg(e.type)||"Memo";case No:t=e._payload,e=e._init;try{return yg(e(t))}catch{}}return null}function zS(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return yg(t);case 8:return t===Sy?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function os(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function B3(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function WS(e){var t=B3(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function _d(e){e._valueTracker||(e._valueTracker=WS(e))}function N3(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=B3(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Oh(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function bg(e,t){var n=t.checked;return St({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function hw(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=os(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function M3(e,t){t=t.checked,t!=null&&Ey(e,"checked",t,!1)}function vg(e,t){M3(e,t);var n=os(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?wg(e,t.type,n):t.hasOwnProperty("defaultValue")&&wg(e,t.type,os(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function pw(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function wg(e,t,n){(t!=="number"||Oh(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var hu=Array.isArray;function pl(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=xd.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function zu(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Cu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},VS=["Webkit","ms","Moz","O"];Object.keys(Cu).forEach(function(e){VS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Cu[t]=Cu[e]})});function U3(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Cu.hasOwnProperty(e)&&Cu[e]?(""+t).trim():t+"px"}function H3(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=U3(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var qS=St({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Eg(e,t){if(t){if(qS[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(se(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(se(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(se(61))}if(t.style!=null&&typeof t.style!="object")throw Error(se(62))}}function Sg(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var kg=null;function Ay(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Cg=null,ml=null,gl=null;function yw(e){if(e=qf(e)){if(typeof Cg!="function")throw Error(se(280));var t=e.stateNode;t&&(t=Up(t),Cg(e.stateNode,e.type,t))}}function z3(e){ml?gl?gl.push(e):gl=[e]:ml=e}function W3(){if(ml){var e=ml,t=gl;if(gl=ml=null,yw(e),t)for(e=0;e>>=0,e===0?32:31-(rk(e)/ik|0)|0}var Ed=64,Sd=4194304;function pu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Nh(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=pu(a):(o&=s,o!==0&&(r=pu(o)))}else s=n&~i,s!==0?r=pu(s):o!==0&&(r=pu(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Wf(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Wr(t),e[t]=n}function lk(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Tu),Cw=" ",Aw=!1;function u5(e,t){switch(e){case"keyup":return Nk.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function f5(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ja=!1;function jk(e,t){switch(e){case"compositionend":return f5(t);case"keypress":return t.which!==32?null:(Aw=!0,Cw);case"textInput":return e=t.data,e===Cw&&Aw?null:e;default:return null}}function Dk(e,t){if(Ja)return e==="compositionend"||!By&&u5(e,t)?(e=l5(),ch=Oy=Ho=null,Ja=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Pw(n)}}function m5(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?m5(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function g5(){for(var e=window,t=Oh();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Oh(e.document)}return t}function Ny(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Kk(e){var t=g5(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&m5(n.ownerDocument.documentElement,n)){if(r!==null&&Ny(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Ow(n,o);var s=Ow(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,el=null,Og=null,$u=null,Rg=!1;function Rw(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Rg||el==null||el!==Oh(r)||(r=el,"selectionStart"in r&&Ny(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),$u&&Zu($u,r)||($u=r,r=Dh(Og,"onSelect"),0rl||(e.current=Dg[rl],Dg[rl]=null,rl--)}function ft(e,t){rl++,Dg[rl]=e.current,e.current=t}var ss={},vn=ys(ss),Fn=ys(!1),fa=ss;function $l(e,t){var n=e.type.contextTypes;if(!n)return ss;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Un(e){return e=e.childContextTypes,e!=null}function Uh(){yt(Fn),yt(vn)}function Fw(e,t,n){if(vn.current!==ss)throw Error(se(168));ft(vn,t),ft(Fn,n)}function k5(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(se(108,zS(e)||"Unknown",i));return St({},n,r)}function Hh(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ss,fa=vn.current,ft(vn,e),ft(Fn,Fn.current),!0}function Uw(e,t,n){var r=e.stateNode;if(!r)throw Error(se(169));n?(e=k5(e,t,fa),r.__reactInternalMemoizedMergedChildContext=e,yt(Fn),yt(vn),ft(vn,e)):yt(Fn),ft(Fn,n)}var zi=null,Hp=!1,lm=!1;function C5(e){zi===null?zi=[e]:zi.push(e)}function sC(e){Hp=!0,C5(e)}function bs(){if(!lm&&zi!==null){lm=!0;var e=0,t=at;try{var n=zi;for(at=1;e>=s,i-=s,Gi=1<<32-Wr(t)+i|n<_?(S=k,k=null):S=k.sibling;var A=f(g,k,v[_],w);if(A===null){k===null&&(k=S);break}e&&k&&A.alternate===null&&t(g,k),b=o(A,b,_),C===null?E=A:C.sibling=A,C=A,k=S}if(_===v.length)return n(g,k),vt&&Fs(g,_),E;if(k===null){for(;__?(S=k,k=null):S=k.sibling;var I=f(g,k,A.value,w);if(I===null){k===null&&(k=S);break}e&&k&&I.alternate===null&&t(g,k),b=o(I,b,_),C===null?E=I:C.sibling=I,C=I,k=S}if(A.done)return n(g,k),vt&&Fs(g,_),E;if(k===null){for(;!A.done;_++,A=v.next())A=c(g,A.value,w),A!==null&&(b=o(A,b,_),C===null?E=A:C.sibling=A,C=A);return vt&&Fs(g,_),E}for(k=r(g,k);!A.done;_++,A=v.next())A=m(k,g,_,A.value,w),A!==null&&(e&&A.alternate!==null&&k.delete(A.key===null?_:A.key),b=o(A,b,_),C===null?E=A:C.sibling=A,C=A);return e&&k.forEach(function(L){return t(g,L)}),vt&&Fs(g,_),E}function y(g,b,v,w){if(typeof v=="object"&&v!==null&&v.type===Qa&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case wd:e:{for(var E=v.key,C=b;C!==null;){if(C.key===E){if(E=v.type,E===Qa){if(C.tag===7){n(g,C.sibling),b=i(C,v.props.children),b.return=g,g=b;break e}}else if(C.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===No&&Ww(E)===C.type){n(g,C.sibling),b=i(C,v.props),b.ref=tu(g,C,v),b.return=g,g=b;break e}n(g,C);break}else t(g,C);C=C.sibling}v.type===Qa?(b=ta(v.props.children,g.mode,w,v.key),b.return=g,g=b):(w=yh(v.type,v.key,v.props,null,g.mode,w),w.ref=tu(g,b,v),w.return=g,g=w)}return s(g);case Ya:e:{for(C=v.key;b!==null;){if(b.key===C)if(b.tag===4&&b.stateNode.containerInfo===v.containerInfo&&b.stateNode.implementation===v.implementation){n(g,b.sibling),b=i(b,v.children||[]),b.return=g,g=b;break e}else{n(g,b);break}else t(g,b);b=b.sibling}b=gm(v,g.mode,w),b.return=g,g=b}return s(g);case No:return C=v._init,y(g,b,C(v._payload),w)}if(hu(v))return p(g,b,v,w);if(Xc(v))return h(g,b,v,w);Pd(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,b!==null&&b.tag===6?(n(g,b.sibling),b=i(b,v),b.return=g,g=b):(n(g,b),b=mm(v,g.mode,w),b.return=g,g=b),s(g)):n(g,b)}return y}var Ol=$5(!0),P5=$5(!1),Vh=ys(null),qh=null,sl=null,Fy=null;function Uy(){Fy=sl=qh=null}function Hy(e){var t=Vh.current;yt(Vh),e._currentValue=t}function Hg(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function bl(e,t){qh=e,Fy=sl=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Dn=!0),e.firstContext=null)}function _r(e){var t=e._currentValue;if(Fy!==e)if(e={context:e,memoizedValue:t,next:null},sl===null){if(qh===null)throw Error(se(308));sl=e,qh.dependencies={lanes:0,firstContext:e}}else sl=sl.next=e;return t}var Ks=null;function zy(e){Ks===null?Ks=[e]:Ks.push(e)}function O5(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,zy(t)):(n.next=i.next,i.next=n),t.interleaved=n,eo(e,r)}function eo(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Mo=!1;function Wy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function R5(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Xi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Qo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,et&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,eo(e,n)}return i=r.interleaved,i===null?(t.next=t,zy(r)):(t.next=i.next,i.next=t),r.interleaved=t,eo(e,n)}function fh(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Iy(e,n)}}function Vw(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Gh(e,t,n,r){var i=e.updateQueue;Mo=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?o=u:s.next=u,s=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==s&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=l))}if(o!==null){var c=i.baseState;s=0,d=u=l=null,a=o;do{var f=a.lane,m=a.eventTime;if((r&f)===f){d!==null&&(d=d.next={eventTime:m,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=e,h=a;switch(f=t,m=n,h.tag){case 1:if(p=h.payload,typeof p=="function"){c=p.call(m,c,f);break e}c=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=h.payload,f=typeof p=="function"?p.call(m,c,f):p,f==null)break e;c=St({},c,f);break e;case 2:Mo=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[a]:f.push(a))}else m={eventTime:m,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=m,l=c):d=d.next=m,s|=f;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;f=a,a=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(d===null&&(l=c),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);pa|=s,e.lanes=s,e.memoizedState=c}}function qw(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=um.transition;um.transition={};try{e(!1),t()}finally{at=n,um.transition=r}}function X5(){return xr().memoizedState}function uC(e,t,n){var r=es(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Y5(e))Q5(t,n);else if(n=O5(e,t,n,r),n!==null){var i=$n();Vr(n,e,r,i),J5(n,t,r)}}function fC(e,t,n){var r=es(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Y5(e))Q5(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,qr(a,s)){var l=t.interleaved;l===null?(i.next=i,zy(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=O5(e,t,i,r),n!==null&&(i=$n(),Vr(n,e,r,i),J5(n,t,r))}}function Y5(e){var t=e.alternate;return e===Et||t!==null&&t===Et}function Q5(e,t){Pu=Zh=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function J5(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Iy(e,n)}}var Xh={readContext:_r,useCallback:gn,useContext:gn,useEffect:gn,useImperativeHandle:gn,useInsertionEffect:gn,useLayoutEffect:gn,useMemo:gn,useReducer:gn,useRef:gn,useState:gn,useDebugValue:gn,useDeferredValue:gn,useTransition:gn,useMutableSource:gn,useSyncExternalStore:gn,useId:gn,unstable_isNewReconciler:!1},dC={readContext:_r,useCallback:function(e,t){return ai().memoizedState=[e,t===void 0?null:t],e},useContext:_r,useEffect:Kw,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,hh(4194308,4,V5.bind(null,t,e),n)},useLayoutEffect:function(e,t){return hh(4194308,4,e,t)},useInsertionEffect:function(e,t){return hh(4,2,e,t)},useMemo:function(e,t){var n=ai();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ai();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=uC.bind(null,Et,e),[r.memoizedState,e]},useRef:function(e){var t=ai();return e={current:e},t.memoizedState=e},useState:Gw,useDebugValue:Qy,useDeferredValue:function(e){return ai().memoizedState=e},useTransition:function(){var e=Gw(!1),t=e[0];return e=cC.bind(null,e[1]),ai().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Et,i=ai();if(vt){if(n===void 0)throw Error(se(407));n=n()}else{if(n=t(),rn===null)throw Error(se(349));ha&30||M5(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Kw(D5.bind(null,r,o,e),[e]),r.flags|=2048,rf(9,j5.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=ai(),t=rn.identifierPrefix;if(vt){var n=Ki,r=Gi;n=(r&~(1<<32-Wr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=tf++,0")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{G0=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?du(e):""}function HS(e){switch(e.tag){case 5:return du(e.type);case 16:return du("Lazy");case 13:return du("Suspense");case 19:return du("SuspenseList");case 0:case 2:case 15:return e=K0(e.type,!1),e;case 11:return e=K0(e.type.render,!1),e;case 1:return e=K0(e.type,!0),e;default:return""}}function yg(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ja:return"Fragment";case Qa:return"Portal";case pg:return"Profiler";case Sy:return"StrictMode";case mg:return"Suspense";case gg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case L3:return(e.displayName||"Context")+".Consumer";case R3:return(e._context.displayName||"Context")+".Provider";case ky:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Cy:return t=e.displayName||null,t!==null?t:yg(e.type)||"Memo";case No:t=e._payload,e=e._init;try{return yg(e(t))}catch{}}return null}function zS(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return yg(t);case 8:return t===Sy?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function os(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function N3(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function WS(e){var t=N3(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function _d(e){e._valueTracker||(e._valueTracker=WS(e))}function M3(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=N3(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Oh(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function bg(e,t){var n=t.checked;return St({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function pw(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=os(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function j3(e,t){t=t.checked,t!=null&&Ey(e,"checked",t,!1)}function vg(e,t){j3(e,t);var n=os(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?wg(e,t.type,n):t.hasOwnProperty("defaultValue")&&wg(e,t.type,os(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function mw(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function wg(e,t,n){(t!=="number"||Oh(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var hu=Array.isArray;function ml(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=xd.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function zu(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Cu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},VS=["Webkit","ms","Moz","O"];Object.keys(Cu).forEach(function(e){VS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Cu[t]=Cu[e]})});function H3(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Cu.hasOwnProperty(e)&&Cu[e]?(""+t).trim():t+"px"}function z3(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=H3(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var qS=St({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Eg(e,t){if(t){if(qS[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(se(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(se(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(se(61))}if(t.style!=null&&typeof t.style!="object")throw Error(se(62))}}function Sg(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var kg=null;function Ay(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Cg=null,gl=null,yl=null;function bw(e){if(e=qf(e)){if(typeof Cg!="function")throw Error(se(280));var t=e.stateNode;t&&(t=Up(t),Cg(e.stateNode,e.type,t))}}function W3(e){gl?yl?yl.push(e):yl=[e]:gl=e}function V3(){if(gl){var e=gl,t=yl;if(yl=gl=null,bw(e),t)for(e=0;e>>=0,e===0?32:31-(rk(e)/ik|0)|0}var Ed=64,Sd=4194304;function pu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Nh(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=pu(a):(o&=s,o!==0&&(r=pu(o)))}else s=n&~i,s!==0?r=pu(s):o!==0&&(r=pu(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Wf(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Wr(t),e[t]=n}function lk(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Tu),Aw=" ",Tw=!1;function f5(e,t){switch(e){case"keyup":return Nk.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function d5(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var el=!1;function jk(e,t){switch(e){case"compositionend":return d5(t);case"keypress":return t.which!==32?null:(Tw=!0,Aw);case"textInput":return e=t.data,e===Aw&&Tw?null:e;default:return null}}function Dk(e,t){if(el)return e==="compositionend"||!By&&f5(e,t)?(e=c5(),ch=Oy=Ho=null,el=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ow(n)}}function g5(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?g5(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function y5(){for(var e=window,t=Oh();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Oh(e.document)}return t}function Ny(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Kk(e){var t=y5(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&g5(n.ownerDocument.documentElement,n)){if(r!==null&&Ny(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Rw(n,o);var s=Rw(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,tl=null,Og=null,$u=null,Rg=!1;function Lw(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Rg||tl==null||tl!==Oh(r)||(r=tl,"selectionStart"in r&&Ny(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),$u&&Zu($u,r)||($u=r,r=Dh(Og,"onSelect"),0il||(e.current=Dg[il],Dg[il]=null,il--)}function ft(e,t){il++,Dg[il]=e.current,e.current=t}var ss={},vn=ys(ss),Fn=ys(!1),fa=ss;function Pl(e,t){var n=e.type.contextTypes;if(!n)return ss;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Un(e){return e=e.childContextTypes,e!=null}function Uh(){yt(Fn),yt(vn)}function Uw(e,t,n){if(vn.current!==ss)throw Error(se(168));ft(vn,t),ft(Fn,n)}function C5(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(se(108,zS(e)||"Unknown",i));return St({},n,r)}function Hh(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ss,fa=vn.current,ft(vn,e),ft(Fn,Fn.current),!0}function Hw(e,t,n){var r=e.stateNode;if(!r)throw Error(se(169));n?(e=C5(e,t,fa),r.__reactInternalMemoizedMergedChildContext=e,yt(Fn),yt(vn),ft(vn,e)):yt(Fn),ft(Fn,n)}var zi=null,Hp=!1,lm=!1;function A5(e){zi===null?zi=[e]:zi.push(e)}function sC(e){Hp=!0,A5(e)}function bs(){if(!lm&&zi!==null){lm=!0;var e=0,t=at;try{var n=zi;for(at=1;e>=s,i-=s,Gi=1<<32-Wr(t)+i|n<_?(S=k,k=null):S=k.sibling;var A=f(g,k,v[_],w);if(A===null){k===null&&(k=S);break}e&&k&&A.alternate===null&&t(g,k),b=o(A,b,_),C===null?E=A:C.sibling=A,C=A,k=S}if(_===v.length)return n(g,k),vt&&Fs(g,_),E;if(k===null){for(;__?(S=k,k=null):S=k.sibling;var I=f(g,k,A.value,w);if(I===null){k===null&&(k=S);break}e&&k&&I.alternate===null&&t(g,k),b=o(I,b,_),C===null?E=I:C.sibling=I,C=I,k=S}if(A.done)return n(g,k),vt&&Fs(g,_),E;if(k===null){for(;!A.done;_++,A=v.next())A=c(g,A.value,w),A!==null&&(b=o(A,b,_),C===null?E=A:C.sibling=A,C=A);return vt&&Fs(g,_),E}for(k=r(g,k);!A.done;_++,A=v.next())A=m(k,g,_,A.value,w),A!==null&&(e&&A.alternate!==null&&k.delete(A.key===null?_:A.key),b=o(A,b,_),C===null?E=A:C.sibling=A,C=A);return e&&k.forEach(function(L){return t(g,L)}),vt&&Fs(g,_),E}function y(g,b,v,w){if(typeof v=="object"&&v!==null&&v.type===Ja&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case wd:e:{for(var E=v.key,C=b;C!==null;){if(C.key===E){if(E=v.type,E===Ja){if(C.tag===7){n(g,C.sibling),b=i(C,v.props.children),b.return=g,g=b;break e}}else if(C.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===No&&Vw(E)===C.type){n(g,C.sibling),b=i(C,v.props),b.ref=tu(g,C,v),b.return=g,g=b;break e}n(g,C);break}else t(g,C);C=C.sibling}v.type===Ja?(b=ta(v.props.children,g.mode,w,v.key),b.return=g,g=b):(w=yh(v.type,v.key,v.props,null,g.mode,w),w.ref=tu(g,b,v),w.return=g,g=w)}return s(g);case Qa:e:{for(C=v.key;b!==null;){if(b.key===C)if(b.tag===4&&b.stateNode.containerInfo===v.containerInfo&&b.stateNode.implementation===v.implementation){n(g,b.sibling),b=i(b,v.children||[]),b.return=g,g=b;break e}else{n(g,b);break}else t(g,b);b=b.sibling}b=gm(v,g.mode,w),b.return=g,g=b}return s(g);case No:return C=v._init,y(g,b,C(v._payload),w)}if(hu(v))return p(g,b,v,w);if(Xc(v))return h(g,b,v,w);Pd(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,b!==null&&b.tag===6?(n(g,b.sibling),b=i(b,v),b.return=g,g=b):(n(g,b),b=mm(v,g.mode,w),b.return=g,g=b),s(g)):n(g,b)}return y}var Rl=P5(!0),O5=P5(!1),Vh=ys(null),qh=null,al=null,Fy=null;function Uy(){Fy=al=qh=null}function Hy(e){var t=Vh.current;yt(Vh),e._currentValue=t}function Hg(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function vl(e,t){qh=e,Fy=al=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Dn=!0),e.firstContext=null)}function _r(e){var t=e._currentValue;if(Fy!==e)if(e={context:e,memoizedValue:t,next:null},al===null){if(qh===null)throw Error(se(308));al=e,qh.dependencies={lanes:0,firstContext:e}}else al=al.next=e;return t}var Ks=null;function zy(e){Ks===null?Ks=[e]:Ks.push(e)}function R5(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,zy(t)):(n.next=i.next,i.next=n),t.interleaved=n,eo(e,r)}function eo(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Mo=!1;function Wy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function L5(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Xi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Qo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,et&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,eo(e,n)}return i=r.interleaved,i===null?(t.next=t,zy(r)):(t.next=i.next,i.next=t),r.interleaved=t,eo(e,n)}function fh(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Iy(e,n)}}function qw(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Gh(e,t,n,r){var i=e.updateQueue;Mo=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?o=u:s.next=u,s=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==s&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=l))}if(o!==null){var c=i.baseState;s=0,d=u=l=null,a=o;do{var f=a.lane,m=a.eventTime;if((r&f)===f){d!==null&&(d=d.next={eventTime:m,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=e,h=a;switch(f=t,m=n,h.tag){case 1:if(p=h.payload,typeof p=="function"){c=p.call(m,c,f);break e}c=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=h.payload,f=typeof p=="function"?p.call(m,c,f):p,f==null)break e;c=St({},c,f);break e;case 2:Mo=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[a]:f.push(a))}else m={eventTime:m,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=m,l=c):d=d.next=m,s|=f;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;f=a,a=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(d===null&&(l=c),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);pa|=s,e.lanes=s,e.memoizedState=c}}function Gw(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=um.transition;um.transition={};try{e(!1),t()}finally{at=n,um.transition=r}}function Y5(){return xr().memoizedState}function uC(e,t,n){var r=es(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Q5(e))J5(t,n);else if(n=R5(e,t,n,r),n!==null){var i=$n();Vr(n,e,r,i),e4(n,t,r)}}function fC(e,t,n){var r=es(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Q5(e))J5(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,qr(a,s)){var l=t.interleaved;l===null?(i.next=i,zy(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=R5(e,t,i,r),n!==null&&(i=$n(),Vr(n,e,r,i),e4(n,t,r))}}function Q5(e){var t=e.alternate;return e===Et||t!==null&&t===Et}function J5(e,t){Pu=Zh=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function e4(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Iy(e,n)}}var Xh={readContext:_r,useCallback:gn,useContext:gn,useEffect:gn,useImperativeHandle:gn,useInsertionEffect:gn,useLayoutEffect:gn,useMemo:gn,useReducer:gn,useRef:gn,useState:gn,useDebugValue:gn,useDeferredValue:gn,useTransition:gn,useMutableSource:gn,useSyncExternalStore:gn,useId:gn,unstable_isNewReconciler:!1},dC={readContext:_r,useCallback:function(e,t){return ai().memoizedState=[e,t===void 0?null:t],e},useContext:_r,useEffect:Zw,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,hh(4194308,4,q5.bind(null,t,e),n)},useLayoutEffect:function(e,t){return hh(4194308,4,e,t)},useInsertionEffect:function(e,t){return hh(4,2,e,t)},useMemo:function(e,t){var n=ai();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ai();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=uC.bind(null,Et,e),[r.memoizedState,e]},useRef:function(e){var t=ai();return e={current:e},t.memoizedState=e},useState:Kw,useDebugValue:Qy,useDeferredValue:function(e){return ai().memoizedState=e},useTransition:function(){var e=Kw(!1),t=e[0];return e=cC.bind(null,e[1]),ai().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Et,i=ai();if(vt){if(n===void 0)throw Error(se(407));n=n()}else{if(n=t(),rn===null)throw Error(se(349));ha&30||j5(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Zw(F5.bind(null,r,o,e),[e]),r.flags|=2048,rf(9,D5.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=ai(),t=rn.identifierPrefix;if(vt){var n=Ki,r=Gi;n=(r&~(1<<32-Wr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=tf++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[ci]=t,e[Qu]=r,c4(e,t,!1,!1),t.stateNode=e;e:{switch(s=Sg(n,r),n){case"dialog":pt("cancel",e),pt("close",e),i=r;break;case"iframe":case"object":case"embed":pt("load",e),i=r;break;case"video":case"audio":for(i=0;iBl&&(t.flags|=128,r=!0,nu(o,!1),t.lanes=4194304)}else{if(!r)if(e=Kh(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),nu(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!vt)return yn(t),null}else 2*It()-o.renderingStartTime>Bl&&n!==1073741824&&(t.flags|=128,r=!0,nu(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=It(),t.sibling=null,n=xt.current,ft(xt,r?n&1|2:n&1),t):(yn(t),null);case 22:case 23:return ib(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?tr&1073741824&&(yn(t),t.subtreeFlags&6&&(t.flags|=8192)):yn(t),null;case 24:return null;case 25:return null}throw Error(se(156,t.tag))}function wC(e,t){switch(jy(t),t.tag){case 1:return Un(t.type)&&Uh(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Rl(),yt(Fn),yt(vn),Gy(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return qy(t),null;case 13:if(yt(xt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(se(340));Pl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return yt(xt),null;case 4:return Rl(),null;case 10:return Hy(t.type._context),null;case 22:case 23:return ib(),null;case 24:return null;default:return null}}var Rd=!1,bn=!1,_C=typeof WeakSet=="function"?WeakSet:Set,be=null;function al(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ct(e,t,r)}else n.current=null}function Yg(e,t,n){try{n()}catch(r){Ct(e,t,r)}}var o2=!1;function xC(e,t){if(Lg=Mh,e=g5(),Ny(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,d=0,c=e,f=null;t:for(;;){for(var m;c!==n||i!==0&&c.nodeType!==3||(a=s+i),c!==o||r!==0&&c.nodeType!==3||(l=s+r),c.nodeType===3&&(s+=c.nodeValue.length),(m=c.firstChild)!==null;)f=c,c=m;for(;;){if(c===e)break t;if(f===n&&++u===i&&(a=s),f===o&&++d===r&&(l=s),(m=c.nextSibling)!==null)break;c=f,f=c.parentNode}c=m}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Bg={focusedElem:e,selectionRange:n},Mh=!1,be=t;be!==null;)if(t=be,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,be=e;else for(;be!==null;){t=be;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var h=p.memoizedProps,y=p.memoizedState,g=t.stateNode,b=g.getSnapshotBeforeUpdate(t.elementType===t.type?h:Lr(t.type,h),y);g.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(se(163))}}catch(w){Ct(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,be=e;break}be=t.return}return p=o2,o2=!1,p}function Ou(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Yg(t,n,o)}i=i.next}while(i!==r)}}function Vp(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Qg(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function d4(e){var t=e.alternate;t!==null&&(e.alternate=null,d4(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ci],delete t[Qu],delete t[jg],delete t[iC],delete t[oC])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function h4(e){return e.tag===5||e.tag===3||e.tag===4}function s2(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||h4(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Jg(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Fh));else if(r!==4&&(e=e.child,e!==null))for(Jg(e,t,n),e=e.sibling;e!==null;)Jg(e,t,n),e=e.sibling}function e1(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(e1(e,t,n),e=e.sibling;e!==null;)e1(e,t,n),e=e.sibling}var un=null,Mr=!1;function So(e,t,n){for(n=n.child;n!==null;)p4(e,t,n),n=n.sibling}function p4(e,t,n){if(di&&typeof di.onCommitFiberUnmount=="function")try{di.onCommitFiberUnmount(Mp,n)}catch{}switch(n.tag){case 5:bn||al(n,t);case 6:var r=un,i=Mr;un=null,So(e,t,n),un=r,Mr=i,un!==null&&(Mr?(e=un,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):un.removeChild(n.stateNode));break;case 18:un!==null&&(Mr?(e=un,n=n.stateNode,e.nodeType===8?am(e.parentNode,n):e.nodeType===1&&am(e,n),Gu(e)):am(un,n.stateNode));break;case 4:r=un,i=Mr,un=n.stateNode.containerInfo,Mr=!0,So(e,t,n),un=r,Mr=i;break;case 0:case 11:case 14:case 15:if(!bn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Yg(n,t,s),i=i.next}while(i!==r)}So(e,t,n);break;case 1:if(!bn&&(al(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ct(n,t,a)}So(e,t,n);break;case 21:So(e,t,n);break;case 22:n.mode&1?(bn=(r=bn)||n.memoizedState!==null,So(e,t,n),bn=r):So(e,t,n);break;default:So(e,t,n)}}function a2(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new _C),t.forEach(function(r){var i=PC.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Or(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=It()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*SC(r/1960))-r,10e?16:e,zo===null)var r=!1;else{if(e=zo,zo=null,Jh=0,et&6)throw Error(se(331));var i=et;for(et|=4,be=e.current;be!==null;){var o=be,s=o.child;if(be.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lIt()-nb?ea(e,0):tb|=n),Hn(e,t)}function x4(e,t){t===0&&(e.mode&1?(t=Sd,Sd<<=1,!(Sd&130023424)&&(Sd=4194304)):t=1);var n=$n();e=eo(e,t),e!==null&&(Wf(e,t,n),Hn(e,n))}function $C(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),x4(e,n)}function PC(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(se(314))}r!==null&&r.delete(t),x4(e,n)}var E4;E4=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Fn.current)Dn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Dn=!1,bC(e,t,n);Dn=!!(e.flags&131072)}else Dn=!1,vt&&t.flags&1048576&&A5(t,Wh,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ph(e,t),e=t.pendingProps;var i=$l(t,vn.current);bl(t,n),i=Zy(null,t,r,e,i,n);var o=Xy();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Un(r)?(o=!0,Hh(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Wy(t),i.updater=Wp,t.stateNode=i,i._reactInternals=t,Wg(t,r,e,n),t=Gg(null,t,r,!0,o,n)):(t.tag=0,vt&&o&&My(t),An(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ph(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=RC(r),e=Lr(r,e),i){case 0:t=qg(null,t,r,e,n);break e;case 1:t=n2(null,t,r,e,n);break e;case 11:t=e2(null,t,r,e,n);break e;case 14:t=t2(null,t,r,Lr(r.type,e),n);break e}throw Error(se(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lr(r,i),qg(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lr(r,i),n2(e,t,r,i,n);case 3:e:{if(s4(t),e===null)throw Error(se(387));r=t.pendingProps,o=t.memoizedState,i=o.element,R5(e,t),Gh(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Ll(Error(se(423)),t),t=r2(e,t,r,n,i);break e}else if(r!==i){i=Ll(Error(se(424)),t),t=r2(e,t,r,n,i);break e}else for(rr=Yo(t.stateNode.containerInfo.firstChild),ir=t,vt=!0,Dr=null,n=P5(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Pl(),r===i){t=to(e,t,n);break e}An(e,t,r,n)}t=t.child}return t;case 5:return L5(t),e===null&&Ug(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Ng(r,i)?s=null:o!==null&&Ng(r,o)&&(t.flags|=32),o4(e,t),An(e,t,s,n),t.child;case 6:return e===null&&Ug(t),null;case 13:return a4(e,t,n);case 4:return Vy(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ol(t,null,r,n):An(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lr(r,i),e2(e,t,r,i,n);case 7:return An(e,t,t.pendingProps,n),t.child;case 8:return An(e,t,t.pendingProps.children,n),t.child;case 12:return An(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,ft(Vh,r._currentValue),r._currentValue=s,o!==null)if(qr(o.value,s)){if(o.children===i.children&&!Fn.current){t=to(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=Xi(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Hg(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(se(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Hg(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}An(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,bl(t,n),i=_r(i),r=r(i),t.flags|=1,An(e,t,r,n),t.child;case 14:return r=t.type,i=Lr(r,t.pendingProps),i=Lr(r.type,i),t2(e,t,r,i,n);case 15:return r4(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lr(r,i),ph(e,t),t.tag=1,Un(r)?(e=!0,Hh(t)):e=!1,bl(t,n),e4(t,r,i),Wg(t,r,i,n),Gg(null,t,r,!0,e,n);case 19:return l4(e,t,n);case 22:return i4(e,t,n)}throw Error(se(156,t.tag))};function S4(e,t){return Y3(e,t)}function OC(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vr(e,t,n,r){return new OC(e,t,n,r)}function sb(e){return e=e.prototype,!(!e||!e.isReactComponent)}function RC(e){if(typeof e=="function")return sb(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ky)return 11;if(e===Cy)return 14}return 2}function ts(e,t){var n=e.alternate;return n===null?(n=vr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function yh(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")sb(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Qa:return ta(n.children,i,o,t);case Sy:s=8,i|=8;break;case pg:return e=vr(12,n,t,i|2),e.elementType=pg,e.lanes=o,e;case mg:return e=vr(13,n,t,i),e.elementType=mg,e.lanes=o,e;case gg:return e=vr(19,n,t,i),e.elementType=gg,e.lanes=o,e;case L3:return Gp(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case O3:s=10;break e;case R3:s=9;break e;case ky:s=11;break e;case Cy:s=14;break e;case No:s=16,r=null;break e}throw Error(se(130,e==null?e:typeof e,""))}return t=vr(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function ta(e,t,n,r){return e=vr(7,e,r,t),e.lanes=n,e}function Gp(e,t,n,r){return e=vr(22,e,r,t),e.elementType=L3,e.lanes=n,e.stateNode={isHidden:!1},e}function mm(e,t,n){return e=vr(6,e,null,t),e.lanes=n,e}function gm(e,t,n){return t=vr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function LC(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=X0(0),this.expirationTimes=X0(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=X0(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ab(e,t,n,r,i,o,s,a,l){return e=new LC(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=vr(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wy(o),e}function BC(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(T4)}catch(e){console.error(e)}}T4(),T3.exports=ar;var FC=T3.exports,m2=FC;dg.createRoot=m2.createRoot,dg.hydrateRoot=m2.hydrateRoot;/**
+`+o.stack}return{value:e,source:t,stack:i,digest:null}}function hm(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Vg(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var mC=typeof WeakMap=="function"?WeakMap:Map;function n4(e,t,n){n=Xi(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Qh||(Qh=!0,t1=r),Vg(e,t)},n}function r4(e,t,n){n=Xi(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Vg(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Vg(e,t),typeof r!="function"&&(Jo===null?Jo=new Set([this]):Jo.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Qw(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new mC;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=IC.bind(null,e,t,n),t.then(e,e))}function Jw(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function e2(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Xi(-1,1),t.tag=2,Qo(n,t,1))),n.lanes|=1),e)}var gC=oo.ReactCurrentOwner,Dn=!1;function An(e,t,n,r){t.child=e===null?O5(t,null,n,r):Rl(t,e.child,n,r)}function t2(e,t,n,r,i){n=n.render;var o=t.ref;return vl(t,i),r=Zy(e,t,n,r,o,i),n=Xy(),e!==null&&!Dn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,to(e,t,i)):(vt&&n&&My(t),t.flags|=1,An(e,t,r,i),t.child)}function n2(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!sb(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,i4(e,t,o,r,i)):(e=yh(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Zu,n(s,r)&&e.ref===t.ref)return to(e,t,i)}return t.flags|=1,e=ts(o,r),e.ref=t.ref,e.return=t,t.child=e}function i4(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Zu(o,r)&&e.ref===t.ref)if(Dn=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Dn=!0);else return t.lanes=e.lanes,to(e,t,i)}return qg(e,t,n,r,i)}function o4(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ft(cl,tr),tr|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ft(cl,tr),tr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,ft(cl,tr),tr|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,ft(cl,tr),tr|=r;return An(e,t,i,n),t.child}function s4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function qg(e,t,n,r,i){var o=Un(n)?fa:vn.current;return o=Pl(t,o),vl(t,i),n=Zy(e,t,n,r,o,i),r=Xy(),e!==null&&!Dn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,to(e,t,i)):(vt&&r&&My(t),t.flags|=1,An(e,t,n,i),t.child)}function r2(e,t,n,r,i){if(Un(n)){var o=!0;Hh(t)}else o=!1;if(vl(t,i),t.stateNode===null)ph(e,t),t4(t,n,r),Wg(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=_r(u):(u=Un(n)?fa:vn.current,u=Pl(t,u));var d=n.getDerivedStateFromProps,c=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function";c||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Yw(t,s,r,u),Mo=!1;var f=t.memoizedState;s.state=f,Gh(t,r,s,i),l=t.memoizedState,a!==r||f!==l||Fn.current||Mo?(typeof d=="function"&&(zg(t,n,d,r),l=t.memoizedState),(a=Mo||Xw(t,n,a,r,f,l,u))?(c||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,L5(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Lr(t.type,a),s.props=u,c=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=_r(l):(l=Un(n)?fa:vn.current,l=Pl(t,l));var m=n.getDerivedStateFromProps;(d=typeof m=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==c||f!==l)&&Yw(t,s,r,l),Mo=!1,f=t.memoizedState,s.state=f,Gh(t,r,s,i);var p=t.memoizedState;a!==c||f!==p||Fn.current||Mo?(typeof m=="function"&&(zg(t,n,m,r),p=t.memoizedState),(u=Mo||Xw(t,n,u,r,f,p,l)||!1)?(d||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,p,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,p,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),s.props=r,s.state=p,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Gg(e,t,n,r,o,i)}function Gg(e,t,n,r,i,o){s4(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&Hw(t,n,!1),to(e,t,o);r=t.stateNode,gC.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Rl(t,e.child,null,o),t.child=Rl(t,null,a,o)):An(e,t,a,o),t.memoizedState=r.state,i&&Hw(t,n,!0),t.child}function a4(e){var t=e.stateNode;t.pendingContext?Uw(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Uw(e,t.context,!1),Vy(e,t.containerInfo)}function i2(e,t,n,r,i){return Ol(),Dy(i),t.flags|=256,An(e,t,n,r),t.child}var Kg={dehydrated:null,treeContext:null,retryLane:0};function Zg(e){return{baseLanes:e,cachePool:null,transitions:null}}function l4(e,t,n){var r=t.pendingProps,i=xt.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),ft(xt,i&1),e===null)return Ug(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Gp(s,r,0,null),e=ta(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Zg(n),t.memoizedState=Kg,e):Jy(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return yC(e,t,s,r,a,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=ts(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=ts(a,o):(o=ta(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?Zg(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Kg,r}return o=e.child,e=o.sibling,r=ts(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Jy(e,t){return t=Gp({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Od(e,t,n,r){return r!==null&&Dy(r),Rl(t,e.child,null,n),e=Jy(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function yC(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=hm(Error(se(422))),Od(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Gp({mode:"visible",children:r.children},i,0,null),o=ta(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Rl(t,e.child,null,s),t.child.memoizedState=Zg(s),t.memoizedState=Kg,o);if(!(t.mode&1))return Od(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(se(419)),r=hm(o,r,void 0),Od(e,t,s,r)}if(a=(s&e.childLanes)!==0,Dn||a){if(r=rn,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,eo(e,i),Vr(r,e,i,-1))}return ob(),r=hm(Error(se(421))),Od(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=$C.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,rr=Yo(i.nextSibling),ir=t,vt=!0,Dr=null,e!==null&&(gr[yr++]=Gi,gr[yr++]=Ki,gr[yr++]=da,Gi=e.id,Ki=e.overflow,da=t),t=Jy(t,r.children),t.flags|=4096,t)}function o2(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Hg(e.return,t,n)}function pm(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function c4(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(An(e,t,r.children,n),r=xt.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&o2(e,n,t);else if(e.tag===19)o2(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ft(xt,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Kh(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),pm(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Kh(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}pm(t,!0,n,null,o);break;case"together":pm(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ph(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function to(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),pa|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(se(153));if(t.child!==null){for(e=t.child,n=ts(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ts(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function bC(e,t,n){switch(t.tag){case 3:a4(t),Ol();break;case 5:B5(t);break;case 1:Un(t.type)&&Hh(t);break;case 4:Vy(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ft(Vh,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ft(xt,xt.current&1),t.flags|=128,null):n&t.child.childLanes?l4(e,t,n):(ft(xt,xt.current&1),e=to(e,t,n),e!==null?e.sibling:null);ft(xt,xt.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return c4(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ft(xt,xt.current),r)break;return null;case 22:case 23:return t.lanes=0,o4(e,t,n)}return to(e,t,n)}var u4,Xg,f4,d4;u4=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Xg=function(){};f4=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Zs(hi.current);var o=null;switch(n){case"input":i=bg(e,i),r=bg(e,r),o=[];break;case"select":i=St({},i,{value:void 0}),r=St({},r,{value:void 0}),o=[];break;case"textarea":i=_g(e,i),r=_g(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Fh)}Eg(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Hu.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Hu.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&pt("scroll",e),o||a===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};d4=function(e,t,n,r){n!==r&&(t.flags|=4)};function nu(e,t){if(!vt)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function yn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function vC(e,t,n){var r=t.pendingProps;switch(jy(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return yn(t),null;case 1:return Un(t.type)&&Uh(),yn(t),null;case 3:return r=t.stateNode,Ll(),yt(Fn),yt(vn),Gy(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&($d(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Dr!==null&&(i1(Dr),Dr=null))),Xg(e,t),yn(t),null;case 5:qy(t);var i=Zs(ef.current);if(n=t.type,e!==null&&t.stateNode!=null)f4(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(se(166));return yn(t),null}if(e=Zs(hi.current),$d(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[ci]=t,r[Qu]=o,e=(t.mode&1)!==0,n){case"dialog":pt("cancel",r),pt("close",r);break;case"iframe":case"object":case"embed":pt("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[ci]=t,e[Qu]=r,u4(e,t,!1,!1),t.stateNode=e;e:{switch(s=Sg(n,r),n){case"dialog":pt("cancel",e),pt("close",e),i=r;break;case"iframe":case"object":case"embed":pt("load",e),i=r;break;case"video":case"audio":for(i=0;iNl&&(t.flags|=128,r=!0,nu(o,!1),t.lanes=4194304)}else{if(!r)if(e=Kh(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),nu(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!vt)return yn(t),null}else 2*It()-o.renderingStartTime>Nl&&n!==1073741824&&(t.flags|=128,r=!0,nu(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=It(),t.sibling=null,n=xt.current,ft(xt,r?n&1|2:n&1),t):(yn(t),null);case 22:case 23:return ib(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?tr&1073741824&&(yn(t),t.subtreeFlags&6&&(t.flags|=8192)):yn(t),null;case 24:return null;case 25:return null}throw Error(se(156,t.tag))}function wC(e,t){switch(jy(t),t.tag){case 1:return Un(t.type)&&Uh(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ll(),yt(Fn),yt(vn),Gy(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return qy(t),null;case 13:if(yt(xt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(se(340));Ol()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return yt(xt),null;case 4:return Ll(),null;case 10:return Hy(t.type._context),null;case 22:case 23:return ib(),null;case 24:return null;default:return null}}var Rd=!1,bn=!1,_C=typeof WeakSet=="function"?WeakSet:Set,be=null;function ll(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ct(e,t,r)}else n.current=null}function Yg(e,t,n){try{n()}catch(r){Ct(e,t,r)}}var s2=!1;function xC(e,t){if(Lg=Mh,e=y5(),Ny(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,d=0,c=e,f=null;t:for(;;){for(var m;c!==n||i!==0&&c.nodeType!==3||(a=s+i),c!==o||r!==0&&c.nodeType!==3||(l=s+r),c.nodeType===3&&(s+=c.nodeValue.length),(m=c.firstChild)!==null;)f=c,c=m;for(;;){if(c===e)break t;if(f===n&&++u===i&&(a=s),f===o&&++d===r&&(l=s),(m=c.nextSibling)!==null)break;c=f,f=c.parentNode}c=m}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Bg={focusedElem:e,selectionRange:n},Mh=!1,be=t;be!==null;)if(t=be,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,be=e;else for(;be!==null;){t=be;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var h=p.memoizedProps,y=p.memoizedState,g=t.stateNode,b=g.getSnapshotBeforeUpdate(t.elementType===t.type?h:Lr(t.type,h),y);g.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(se(163))}}catch(w){Ct(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,be=e;break}be=t.return}return p=s2,s2=!1,p}function Ou(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Yg(t,n,o)}i=i.next}while(i!==r)}}function Vp(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Qg(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function h4(e){var t=e.alternate;t!==null&&(e.alternate=null,h4(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ci],delete t[Qu],delete t[jg],delete t[iC],delete t[oC])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function p4(e){return e.tag===5||e.tag===3||e.tag===4}function a2(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||p4(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Jg(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Fh));else if(r!==4&&(e=e.child,e!==null))for(Jg(e,t,n),e=e.sibling;e!==null;)Jg(e,t,n),e=e.sibling}function e1(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(e1(e,t,n),e=e.sibling;e!==null;)e1(e,t,n),e=e.sibling}var un=null,Mr=!1;function So(e,t,n){for(n=n.child;n!==null;)m4(e,t,n),n=n.sibling}function m4(e,t,n){if(di&&typeof di.onCommitFiberUnmount=="function")try{di.onCommitFiberUnmount(Mp,n)}catch{}switch(n.tag){case 5:bn||ll(n,t);case 6:var r=un,i=Mr;un=null,So(e,t,n),un=r,Mr=i,un!==null&&(Mr?(e=un,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):un.removeChild(n.stateNode));break;case 18:un!==null&&(Mr?(e=un,n=n.stateNode,e.nodeType===8?am(e.parentNode,n):e.nodeType===1&&am(e,n),Gu(e)):am(un,n.stateNode));break;case 4:r=un,i=Mr,un=n.stateNode.containerInfo,Mr=!0,So(e,t,n),un=r,Mr=i;break;case 0:case 11:case 14:case 15:if(!bn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Yg(n,t,s),i=i.next}while(i!==r)}So(e,t,n);break;case 1:if(!bn&&(ll(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ct(n,t,a)}So(e,t,n);break;case 21:So(e,t,n);break;case 22:n.mode&1?(bn=(r=bn)||n.memoizedState!==null,So(e,t,n),bn=r):So(e,t,n);break;default:So(e,t,n)}}function l2(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new _C),t.forEach(function(r){var i=PC.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Or(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=It()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*SC(r/1960))-r,10e?16:e,zo===null)var r=!1;else{if(e=zo,zo=null,Jh=0,et&6)throw Error(se(331));var i=et;for(et|=4,be=e.current;be!==null;){var o=be,s=o.child;if(be.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lIt()-nb?ea(e,0):tb|=n),Hn(e,t)}function E4(e,t){t===0&&(e.mode&1?(t=Sd,Sd<<=1,!(Sd&130023424)&&(Sd=4194304)):t=1);var n=$n();e=eo(e,t),e!==null&&(Wf(e,t,n),Hn(e,n))}function $C(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),E4(e,n)}function PC(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(se(314))}r!==null&&r.delete(t),E4(e,n)}var S4;S4=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Fn.current)Dn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Dn=!1,bC(e,t,n);Dn=!!(e.flags&131072)}else Dn=!1,vt&&t.flags&1048576&&T5(t,Wh,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ph(e,t),e=t.pendingProps;var i=Pl(t,vn.current);vl(t,n),i=Zy(null,t,r,e,i,n);var o=Xy();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Un(r)?(o=!0,Hh(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Wy(t),i.updater=Wp,t.stateNode=i,i._reactInternals=t,Wg(t,r,e,n),t=Gg(null,t,r,!0,o,n)):(t.tag=0,vt&&o&&My(t),An(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ph(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=RC(r),e=Lr(r,e),i){case 0:t=qg(null,t,r,e,n);break e;case 1:t=r2(null,t,r,e,n);break e;case 11:t=t2(null,t,r,e,n);break e;case 14:t=n2(null,t,r,Lr(r.type,e),n);break e}throw Error(se(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lr(r,i),qg(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lr(r,i),r2(e,t,r,i,n);case 3:e:{if(a4(t),e===null)throw Error(se(387));r=t.pendingProps,o=t.memoizedState,i=o.element,L5(e,t),Gh(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Bl(Error(se(423)),t),t=i2(e,t,r,n,i);break e}else if(r!==i){i=Bl(Error(se(424)),t),t=i2(e,t,r,n,i);break e}else for(rr=Yo(t.stateNode.containerInfo.firstChild),ir=t,vt=!0,Dr=null,n=O5(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ol(),r===i){t=to(e,t,n);break e}An(e,t,r,n)}t=t.child}return t;case 5:return B5(t),e===null&&Ug(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Ng(r,i)?s=null:o!==null&&Ng(r,o)&&(t.flags|=32),s4(e,t),An(e,t,s,n),t.child;case 6:return e===null&&Ug(t),null;case 13:return l4(e,t,n);case 4:return Vy(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Rl(t,null,r,n):An(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lr(r,i),t2(e,t,r,i,n);case 7:return An(e,t,t.pendingProps,n),t.child;case 8:return An(e,t,t.pendingProps.children,n),t.child;case 12:return An(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,ft(Vh,r._currentValue),r._currentValue=s,o!==null)if(qr(o.value,s)){if(o.children===i.children&&!Fn.current){t=to(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=Xi(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Hg(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(se(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Hg(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}An(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,vl(t,n),i=_r(i),r=r(i),t.flags|=1,An(e,t,r,n),t.child;case 14:return r=t.type,i=Lr(r,t.pendingProps),i=Lr(r.type,i),n2(e,t,r,i,n);case 15:return i4(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lr(r,i),ph(e,t),t.tag=1,Un(r)?(e=!0,Hh(t)):e=!1,vl(t,n),t4(t,r,i),Wg(t,r,i,n),Gg(null,t,r,!0,e,n);case 19:return c4(e,t,n);case 22:return o4(e,t,n)}throw Error(se(156,t.tag))};function k4(e,t){return Q3(e,t)}function OC(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vr(e,t,n,r){return new OC(e,t,n,r)}function sb(e){return e=e.prototype,!(!e||!e.isReactComponent)}function RC(e){if(typeof e=="function")return sb(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ky)return 11;if(e===Cy)return 14}return 2}function ts(e,t){var n=e.alternate;return n===null?(n=vr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function yh(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")sb(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Ja:return ta(n.children,i,o,t);case Sy:s=8,i|=8;break;case pg:return e=vr(12,n,t,i|2),e.elementType=pg,e.lanes=o,e;case mg:return e=vr(13,n,t,i),e.elementType=mg,e.lanes=o,e;case gg:return e=vr(19,n,t,i),e.elementType=gg,e.lanes=o,e;case B3:return Gp(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case R3:s=10;break e;case L3:s=9;break e;case ky:s=11;break e;case Cy:s=14;break e;case No:s=16,r=null;break e}throw Error(se(130,e==null?e:typeof e,""))}return t=vr(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function ta(e,t,n,r){return e=vr(7,e,r,t),e.lanes=n,e}function Gp(e,t,n,r){return e=vr(22,e,r,t),e.elementType=B3,e.lanes=n,e.stateNode={isHidden:!1},e}function mm(e,t,n){return e=vr(6,e,null,t),e.lanes=n,e}function gm(e,t,n){return t=vr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function LC(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=X0(0),this.expirationTimes=X0(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=X0(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ab(e,t,n,r,i,o,s,a,l){return e=new LC(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=vr(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wy(o),e}function BC(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(I4)}catch(e){console.error(e)}}I4(),I3.exports=ar;var FC=I3.exports,g2=FC;dg.createRoot=g2.createRoot,dg.hydrateRoot=g2.hydrateRoot;/**
* @remix-run/router v1.19.2
*
* Copyright (c) Remix Software Inc.
@@ -47,7 +47,7 @@ Error generating stack: `+o.message+`
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
- */function sf(){return sf=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function I4(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function HC(){return Math.random().toString(36).substr(2,8)}function y2(e,t){return{usr:e.state,key:e.key,idx:t}}function o1(e,t,n,r){return n===void 0&&(n=null),sf({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?sc(t):t,{state:n,key:t&&t.key||r||HC()})}function $4(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function sc(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function zC(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=Wo.Pop,l=null,u=d();u==null&&(u=0,s.replaceState(sf({},s.state,{idx:u}),""));function d(){return(s.state||{idx:null}).idx}function c(){a=Wo.Pop;let y=d(),g=y==null?null:y-u;u=y,l&&l({action:a,location:h.location,delta:g})}function f(y,g){a=Wo.Push;let b=o1(h.location,y,g);u=d()+1;let v=y2(b,u),w=h.createHref(b);try{s.pushState(v,"",w)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;i.location.assign(w)}o&&l&&l({action:a,location:h.location,delta:1})}function m(y,g){a=Wo.Replace;let b=o1(h.location,y,g);u=d();let v=y2(b,u),w=h.createHref(b);s.replaceState(v,"",w),o&&l&&l({action:a,location:h.location,delta:0})}function p(y){let g=i.location.origin!=="null"?i.location.origin:i.location.href,b=typeof y=="string"?y:$4(y);return b=b.replace(/ $/,"%20"),Bt(g,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,g)}let h={get action(){return a},get location(){return e(i,s)},listen(y){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(g2,c),l=y,()=>{i.removeEventListener(g2,c),l=null}},createHref(y){return t(i,y)},createURL:p,encodeLocation(y){let g=p(y);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:m,go(y){return s.go(y)}};return h}var b2;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(b2||(b2={}));function WC(e,t,n){return n===void 0&&(n="/"),VC(e,t,n,!1)}function VC(e,t,n,r){let i=typeof t=="string"?sc(t):t,o=R4(i.pathname||"/",n);if(o==null)return null;let s=P4(e);qC(s);let a=null;for(let l=0;a==null&&l{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};l.relativePath.startsWith("/")&&(Bt(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=na([r,l.relativePath]),d=n.concat(l);o.children&&o.children.length>0&&(Bt(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),P4(o.children,t,d,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:JC(u,o.index),routesMeta:d})};return e.forEach((o,s)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,s);else for(let l of O4(o.path))i(o,s,l)}),t}function O4(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=O4(r.join("/")),a=[];return a.push(...s.map(l=>l===""?o:[o,l].join("/"))),i&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function qC(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:eA(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const GC=/^:[\w-]+$/,KC=3,ZC=2,XC=1,YC=10,QC=-2,v2=e=>e==="*";function JC(e,t){let n=e.split("/"),r=n.length;return n.some(v2)&&(r+=QC),t&&(r+=ZC),n.filter(i=>!v2(i)).reduce((i,o)=>i+(GC.test(o)?KC:o===""?XC:YC),r)}function eA(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function tA(e,t,n){let{routesMeta:r}=e,i={},o="/",s=[];for(let a=0;a{let{paramName:f,isOptional:m}=d;if(f==="*"){let h=a[c]||"";s=o.slice(0,o.length-h.length).replace(/(.)\/+$/,"$1")}const p=a[c];return m&&!p?u[f]=void 0:u[f]=(p||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:s,pattern:e}}function nA(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),I4(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function rA(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return I4(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function R4(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function iA(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?sc(e):e;return{pathname:n?n.startsWith("/")?n:oA(n,t):t,search:lA(r),hash:cA(i)}}function oA(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function ym(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function sA(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function L4(e,t){let n=sA(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function B4(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=sc(e):(i=sf({},e),Bt(!i.pathname||!i.pathname.includes("?"),ym("?","pathname","search",i)),Bt(!i.pathname||!i.pathname.includes("#"),ym("#","pathname","hash",i)),Bt(!i.search||!i.search.includes("#"),ym("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,a;if(s==null)a=n;else{let c=t.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),c-=1;i.pathname=f.join("/")}a=c>=0?t[c]:"/"}let l=iA(i,a),u=s&&s!=="/"&&s.endsWith("/"),d=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const na=e=>e.join("/").replace(/\/\/+/g,"/"),aA=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),lA=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,cA=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function uA(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const N4=["post","put","patch","delete"];new Set(N4);const fA=["get",...N4];new Set(fA);/**
+ */function sf(){return sf=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function fb(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function HC(){return Math.random().toString(36).substr(2,8)}function b2(e,t){return{usr:e.state,key:e.key,idx:t}}function o1(e,t,n,r){return n===void 0&&(n=null),sf({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Aa(t):t,{state:n,key:t&&t.key||r||HC()})}function $4(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Aa(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function zC(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=Wo.Pop,l=null,u=d();u==null&&(u=0,s.replaceState(sf({},s.state,{idx:u}),""));function d(){return(s.state||{idx:null}).idx}function c(){a=Wo.Pop;let y=d(),g=y==null?null:y-u;u=y,l&&l({action:a,location:h.location,delta:g})}function f(y,g){a=Wo.Push;let b=o1(h.location,y,g);n&&n(b,y),u=d()+1;let v=b2(b,u),w=h.createHref(b);try{s.pushState(v,"",w)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;i.location.assign(w)}o&&l&&l({action:a,location:h.location,delta:1})}function m(y,g){a=Wo.Replace;let b=o1(h.location,y,g);n&&n(b,y),u=d();let v=b2(b,u),w=h.createHref(b);s.replaceState(v,"",w),o&&l&&l({action:a,location:h.location,delta:0})}function p(y){let g=i.location.origin!=="null"?i.location.origin:i.location.href,b=typeof y=="string"?y:$4(y);return b=b.replace(/ $/,"%20"),Bt(g,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,g)}let h={get action(){return a},get location(){return e(i,s)},listen(y){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(y2,c),l=y,()=>{i.removeEventListener(y2,c),l=null}},createHref(y){return t(i,y)},createURL:p,encodeLocation(y){let g=p(y);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:m,go(y){return s.go(y)}};return h}var v2;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(v2||(v2={}));function WC(e,t,n){return n===void 0&&(n="/"),VC(e,t,n,!1)}function VC(e,t,n,r){let i=typeof t=="string"?Aa(t):t,o=R4(i.pathname||"/",n);if(o==null)return null;let s=P4(e);qC(s);let a=null;for(let l=0;a==null&&l{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};l.relativePath.startsWith("/")&&(Bt(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=na([r,l.relativePath]),d=n.concat(l);o.children&&o.children.length>0&&(Bt(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),P4(o.children,t,d,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:JC(u,o.index),routesMeta:d})};return e.forEach((o,s)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,s);else for(let l of O4(o.path))i(o,s,l)}),t}function O4(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=O4(r.join("/")),a=[];return a.push(...s.map(l=>l===""?o:[o,l].join("/"))),i&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function qC(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:eA(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const GC=/^:[\w-]+$/,KC=3,ZC=2,XC=1,YC=10,QC=-2,w2=e=>e==="*";function JC(e,t){let n=e.split("/"),r=n.length;return n.some(w2)&&(r+=QC),t&&(r+=ZC),n.filter(i=>!w2(i)).reduce((i,o)=>i+(GC.test(o)?KC:o===""?XC:YC),r)}function eA(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function tA(e,t,n){let{routesMeta:r}=e,i={},o="/",s=[];for(let a=0;a{let{paramName:f,isOptional:m}=d;if(f==="*"){let h=a[c]||"";s=o.slice(0,o.length-h.length).replace(/(.)\/+$/,"$1")}const p=a[c];return m&&!p?u[f]=void 0:u[f]=(p||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:s,pattern:e}}function nA(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),fb(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function rA(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return fb(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function R4(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function iA(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Aa(e):e;return{pathname:n?n.startsWith("/")?n:oA(n,t):t,search:lA(r),hash:cA(i)}}function oA(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function ym(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function sA(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function L4(e,t){let n=sA(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function B4(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Aa(e):(i=sf({},e),Bt(!i.pathname||!i.pathname.includes("?"),ym("?","pathname","search",i)),Bt(!i.pathname||!i.pathname.includes("#"),ym("#","pathname","hash",i)),Bt(!i.search||!i.search.includes("#"),ym("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,a;if(s==null)a=n;else{let c=t.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),c-=1;i.pathname=f.join("/")}a=c>=0?t[c]:"/"}let l=iA(i,a),u=s&&s!=="/"&&s.endsWith("/"),d=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const na=e=>e.join("/").replace(/\/\/+/g,"/"),aA=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),lA=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,cA=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function uA(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const N4=["post","put","patch","delete"];new Set(N4);const fA=["get",...N4];new Set(fA);/**
* React Router v6.26.2
*
* Copyright (c) Remix Software Inc.
@@ -56,7 +56,7 @@ Error generating stack: `+o.message+`
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
- */function af(){return af=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),de.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let c=B4(u,JSON.parse(s),o,d.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:na([t,c.pathname])),(d.replace?r.replace:r.push)(c,d.state,d)},[t,r,s,o,e])}function pA(e,t){return mA(e,t)}function mA(e,t,n,r){Zf()||Bt(!1);let{navigator:i}=de.useContext(Kf),{matches:o}=de.useContext(Aa),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=db(),d;if(t){var c;let y=typeof t=="string"?sc(t):t;l==="/"||(c=y.pathname)!=null&&c.startsWith(l)||Bt(!1),d=y}else d=u;let f=d.pathname||"/",m=f;if(l!=="/"){let y=l.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(y.length).join("/")}let p=WC(e,{pathname:m}),h=wA(p&&p.map(y=>Object.assign({},y,{params:Object.assign({},a,y.params),pathname:na([l,i.encodeLocation?i.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?l:na([l,i.encodeLocation?i.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,n,r);return t&&h?de.createElement(Qp.Provider,{value:{location:af({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Wo.Pop}},h):h}function gA(){let e=SA(),t=uA(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return de.createElement(de.Fragment,null,de.createElement("h2",null,"Unexpected Application Error!"),de.createElement("h3",{style:{fontStyle:"italic"}},t),n?de.createElement("pre",{style:i},n):null,null)}const yA=de.createElement(gA,null);class bA extends de.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?de.createElement(Aa.Provider,{value:this.props.routeContext},de.createElement(M4.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function vA(e){let{routeContext:t,match:n,children:r}=e,i=de.useContext(fb);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),de.createElement(Aa.Provider,{value:t},r)}function wA(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let d=s.findIndex(c=>c.route.id&&(a==null?void 0:a[c.route.id])!==void 0);d>=0||Bt(!1),s=s.slice(0,Math.min(s.length,d+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((d,c,f)=>{let m,p=!1,h=null,y=null;n&&(m=a&&c.route.id?a[c.route.id]:void 0,h=c.route.errorElement||yA,l&&(u<0&&f===0?(p=!0,y=null):u===f&&(p=!0,y=c.route.hydrateFallbackElement||null)));let g=t.concat(s.slice(0,f+1)),b=()=>{let v;return m?v=h:p?v=y:c.route.Component?v=de.createElement(c.route.Component,null):c.route.element?v=c.route.element:v=d,de.createElement(vA,{match:c,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:v})};return n&&(c.route.ErrorBoundary||c.route.errorElement||f===0)?de.createElement(bA,{location:n.location,revalidation:n.revalidation,component:h,error:m,children:b(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):b()},null)}var D4=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(D4||{}),np=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(np||{});function _A(e){let t=de.useContext(fb);return t||Bt(!1),t}function xA(e){let t=de.useContext(dA);return t||Bt(!1),t}function EA(e){let t=de.useContext(Aa);return t||Bt(!1),t}function F4(e){let t=EA(),n=t.matches[t.matches.length-1];return n.route.id||Bt(!1),n.route.id}function SA(){var e;let t=de.useContext(M4),n=xA(np.UseRouteError),r=F4(np.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function kA(){let{router:e}=_A(D4.UseNavigateStable),t=F4(np.UseNavigateStable),n=de.useRef(!1);return j4(()=>{n.current=!0}),de.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,af({fromRouteId:t},o)))},[e,t])}function CA(e){let{to:t,replace:n,state:r,relative:i}=e;Zf()||Bt(!1);let{future:o,static:s}=de.useContext(Kf),{matches:a}=de.useContext(Aa),{pathname:l}=db(),u=Xf(),d=B4(t,L4(a,o.v7_relativeSplatPath),l,i==="path"),c=JSON.stringify(d);return de.useEffect(()=>u(JSON.parse(c),{replace:n,state:r,relative:i}),[u,c,i,n,r]),null}function gu(e){Bt(!1)}function AA(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Wo.Pop,navigator:o,static:s=!1,future:a}=e;Zf()&&Bt(!1);let l=t.replace(/^\/*/,"/"),u=de.useMemo(()=>({basename:l,navigator:o,static:s,future:af({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof r=="string"&&(r=sc(r));let{pathname:d="/",search:c="",hash:f="",state:m=null,key:p="default"}=r,h=de.useMemo(()=>{let y=R4(d,l);return y==null?null:{location:{pathname:y,search:c,hash:f,state:m,key:p},navigationType:i}},[l,d,c,f,m,p,i]);return h==null?null:de.createElement(Kf.Provider,{value:u},de.createElement(Qp.Provider,{children:n,value:h}))}function TA(e){let{children:t,location:n}=e;return pA(s1(t),n)}new Promise(()=>{});function s1(e,t){t===void 0&&(t=[]);let n=[];return de.Children.forEach(e,(r,i)=>{if(!de.isValidElement(r))return;let o=[...t,i];if(r.type===de.Fragment){n.push.apply(n,s1(r.props.children,o));return}r.type!==gu&&Bt(!1),!r.props.index||!r.props.children||Bt(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=s1(r.props.children,o)),n.push(s)}),n}/**
+ */function af(){return af=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),de.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let c=B4(u,JSON.parse(s),o,d.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:na([t,c.pathname])),(d.replace?r.replace:r.push)(c,d.state,d)},[t,r,s,o,e])}function pA(e,t){return mA(e,t)}function mA(e,t,n,r){Zf()||Bt(!1);let{navigator:i}=de.useContext(Kf),{matches:o}=de.useContext(Ta),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=hb(),d;if(t){var c;let y=typeof t=="string"?Aa(t):t;l==="/"||(c=y.pathname)!=null&&c.startsWith(l)||Bt(!1),d=y}else d=u;let f=d.pathname||"/",m=f;if(l!=="/"){let y=l.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(y.length).join("/")}let p=WC(e,{pathname:m}),h=wA(p&&p.map(y=>Object.assign({},y,{params:Object.assign({},a,y.params),pathname:na([l,i.encodeLocation?i.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?l:na([l,i.encodeLocation?i.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,n,r);return t&&h?de.createElement(Qp.Provider,{value:{location:af({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Wo.Pop}},h):h}function gA(){let e=SA(),t=uA(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return de.createElement(de.Fragment,null,de.createElement("h2",null,"Unexpected Application Error!"),de.createElement("h3",{style:{fontStyle:"italic"}},t),n?de.createElement("pre",{style:i},n):null,null)}const yA=de.createElement(gA,null);class bA extends de.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?de.createElement(Ta.Provider,{value:this.props.routeContext},de.createElement(M4.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function vA(e){let{routeContext:t,match:n,children:r}=e,i=de.useContext(db);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),de.createElement(Ta.Provider,{value:t},r)}function wA(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let d=s.findIndex(c=>c.route.id&&(a==null?void 0:a[c.route.id])!==void 0);d>=0||Bt(!1),s=s.slice(0,Math.min(s.length,d+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((d,c,f)=>{let m,p=!1,h=null,y=null;n&&(m=a&&c.route.id?a[c.route.id]:void 0,h=c.route.errorElement||yA,l&&(u<0&&f===0?(p=!0,y=null):u===f&&(p=!0,y=c.route.hydrateFallbackElement||null)));let g=t.concat(s.slice(0,f+1)),b=()=>{let v;return m?v=h:p?v=y:c.route.Component?v=de.createElement(c.route.Component,null):c.route.element?v=c.route.element:v=d,de.createElement(vA,{match:c,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:v})};return n&&(c.route.ErrorBoundary||c.route.errorElement||f===0)?de.createElement(bA,{location:n.location,revalidation:n.revalidation,component:h,error:m,children:b(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):b()},null)}var D4=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(D4||{}),np=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(np||{});function _A(e){let t=de.useContext(db);return t||Bt(!1),t}function xA(e){let t=de.useContext(dA);return t||Bt(!1),t}function EA(e){let t=de.useContext(Ta);return t||Bt(!1),t}function F4(e){let t=EA(),n=t.matches[t.matches.length-1];return n.route.id||Bt(!1),n.route.id}function SA(){var e;let t=de.useContext(M4),n=xA(np.UseRouteError),r=F4(np.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function kA(){let{router:e}=_A(D4.UseNavigateStable),t=F4(np.UseNavigateStable),n=de.useRef(!1);return j4(()=>{n.current=!0}),de.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,af({fromRouteId:t},o)))},[e,t])}function CA(e){let{to:t,replace:n,state:r,relative:i}=e;Zf()||Bt(!1);let{future:o,static:s}=de.useContext(Kf),{matches:a}=de.useContext(Ta),{pathname:l}=hb(),u=Xf(),d=B4(t,L4(a,o.v7_relativeSplatPath),l,i==="path"),c=JSON.stringify(d);return de.useEffect(()=>u(JSON.parse(c),{replace:n,state:r,relative:i}),[u,c,i,n,r]),null}function gu(e){Bt(!1)}function AA(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Wo.Pop,navigator:o,static:s=!1,future:a}=e;Zf()&&Bt(!1);let l=t.replace(/^\/*/,"/"),u=de.useMemo(()=>({basename:l,navigator:o,static:s,future:af({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof r=="string"&&(r=Aa(r));let{pathname:d="/",search:c="",hash:f="",state:m=null,key:p="default"}=r,h=de.useMemo(()=>{let y=R4(d,l);return y==null?null:{location:{pathname:y,search:c,hash:f,state:m,key:p},navigationType:i}},[l,d,c,f,m,p,i]);return h==null?null:de.createElement(Kf.Provider,{value:u},de.createElement(Qp.Provider,{children:n,value:h}))}function TA(e){let{children:t,location:n}=e;return pA(s1(t),n)}new Promise(()=>{});function s1(e,t){t===void 0&&(t=[]);let n=[];return de.Children.forEach(e,(r,i)=>{if(!de.isValidElement(r))return;let o=[...t,i];if(r.type===de.Fragment){n.push.apply(n,s1(r.props.children,o));return}r.type!==gu&&Bt(!1),!r.props.index||!r.props.children||Bt(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=s1(r.props.children,o)),n.push(s)}),n}/**
* React Router DOM v6.26.2
*
* Copyright (c) Remix Software Inc.
@@ -65,7 +65,7 @@ Error generating stack: `+o.message+`
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
- */const IA="6";try{window.__reactRouterVersion=IA}catch{}const $A="startTransition",_2=IS[$A];function PA(e){let{basename:t,children:n,future:r,window:i}=e,o=de.useRef();o.current==null&&(o.current=UC({window:i,v5Compat:!0}));let s=o.current,[a,l]=de.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},d=de.useCallback(c=>{u&&_2?_2(()=>l(c)):l(c)},[l,u]);return de.useLayoutEffect(()=>s.listen(d),[s,d]),de.createElement(AA,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}var x2;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(x2||(x2={}));var E2;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(E2||(E2={}));const OA=()=>{const e=Xf();return fe.jsxs("div",{className:"flex gap-5",children:[fe.jsx("button",{onClick:()=>e("signup"),className:"bg-blue-600 text-white px-6 py-3 rounded-lg w-44",children:"Sign Up"}),fe.jsx("button",{onClick:()=>e("login"),className:"bg-green-600 text-white px-6 py-3 rounded-lg w-44",children:"Login"})]})},RA=()=>{const e=Xf();return fe.jsx("div",{className:"flex flex-col items-center justify-center",children:fe.jsxs("div",{className:"p-8 w-full max-w-md",children:[fe.jsx("input",{type:"text",placeholder:"Push Wallet Address",value:"",disabled:!0,className:"w-full px-4 py-3 mb-4 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"}),fe.jsx("button",{onClick:()=>console.log("View Connected Accounts"),className:"w-full py-3 mb-4 text-blue-600 bg-white border border-blue-600 rounded-md hover:bg-blue-50 focus:outline-none focus:ring-2 focus:ring-blue-500",children:"View Connected Accounts"}),fe.jsx("button",{onClick:()=>console.log("View Connected Apps"),className:"w-full py-3 mb-4 text-blue-600 bg-white border border-blue-600 rounded-md hover:bg-blue-50 focus:outline-none focus:ring-2 focus:ring-blue-500",children:"View App Connections"}),fe.jsxs("button",{onClick:()=>e("login"),className:"w-full py-3 bg-blue-600 text-white rounded-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 flex items-center justify-center",children:[fe.jsx("svg",{className:"w-5 h-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:fe.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})}),"Lock Push Account"]})]})})},U4={wallet:null,theme:"light"};function LA(e,t){switch(t.type){case"INITIALIZE_WALLET":return{...e,wallet:t.payload};case"RESET_WALLET":return{...e,wallet:null};case"SET_THEME":return{...e,theme:t.payload};default:return e}}const H4=de.createContext({state:U4,dispatch:()=>null});function hb(){const e=de.useContext(H4);if(!e)throw new Error("useGlobalState must be used within a GlobalProvider");return e}const BA=({children:e})=>{const[t,n]=de.useReducer(LA,U4);return fe.jsx(H4.Provider,{value:{state:t,dispatch:n},children:e})};function NA(){const{state:e}=hb();return fe.jsx(fe.Fragment,{children:e.wallet===null?fe.jsx(OA,{}):fe.jsx(RA,{})})}function wl(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`positive integer expected, not ${e}`)}function MA(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function Fr(e,...t){if(!MA(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function z4(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");wl(e.outputLen),wl(e.blockLen)}function rp(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function jA(e,t){Fr(e);const n=t.outputLen;if(e.lengthnew DataView(e.buffer,e.byteOffset,e.byteLength),oi=(e,t)=>e<<32-t|e>>>t,Nd=(e,t)=>e<>>32-t>>>0;new Uint8Array(new Uint32Array([287454020]).buffer)[0];const DA=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function nr(e){Fr(e);let t="";for(let n=0;n=Ni._0&&e<=Ni._9)return e-Ni._0;if(e>=Ni._A&&e<=Ni._F)return e-(Ni._A-10);if(e>=Ni._a&&e<=Ni._f)return e-(Ni._a-10)}function Hs(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);const t=e.length,n=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);const r=new Uint8Array(n);for(let i=0,o=0;i{};async function UA(e,t,n){let r=Date.now();for(let i=0;i=0&&oe().update(lf(r)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function gb(e=32){if(za&&typeof za.getRandomValues=="function")return za.getRandomValues(new Uint8Array(e));if(za&&typeof za.randomBytes=="function")return za.randomBytes(e);throw new Error("crypto.getRandomValues must be defined")}let V4=class extends W4{constructor(t,n){super(),this.finished=!1,this.destroyed=!1,z4(t);const r=lf(n);if(this.iHash=t.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const i=this.blockLen,o=new Uint8Array(i);o.set(r.length>i?t.create().update(r).digest():r);for(let s=0;snew V4(e,t).update(n).digest();cf.create=(e,t)=>new V4(e,t);function q4(e,t,n,r){z4(e);const i=zA({dkLen:32,asyncTick:10},r),{c:o,dkLen:s,asyncTick:a}=i;if(wl(o),wl(s),wl(a),o<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const l=lf(t),u=lf(n),d=new Uint8Array(s),c=cf.create(e,l),f=c._cloneInto().update(u);return{c:o,dkLen:s,asyncTick:a,DK:d,PRF:c,PRFSalt:f}}function G4(e,t,n,r,i){return e.destroy(),t.destroy(),r&&r.destroy(),i.fill(0),n}function WA(e,t,n,r){const{c:i,dkLen:o,DK:s,PRF:a,PRFSalt:l}=q4(e,t,n,r);let u;const d=new Uint8Array(4),c=ns(d),f=new Uint8Array(a.outputLen);for(let m=1,p=0;p{l._cloneInto(d).update(m).digestInto(m);for(let g=0;g>i&o),a=Number(n&o),l=r?4:0,u=r?0:4;e.setUint32(t+l,s,r),e.setUint32(t+u,a,r)}const GA=(e,t,n)=>e&t^~e&n,KA=(e,t,n)=>e&t^e&n^t&n;let yb=class extends W4{constructor(t,n,r,i){super(),this.blockLen=t,this.outputLen=n,this.padOffset=r,this.isLE=i,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=ns(this.buffer)}update(t){rp(this);const{view:n,buffer:r,blockLen:i}=this;t=lf(t);const o=t.length;for(let s=0;si-s&&(this.process(r,0),s=0);for(let c=s;cd.length)throw new Error("_sha2: outputLen bigger than state");for(let c=0;c>>3,h=oi(m,17)^oi(m,19)^m>>>10;Co[c]=h+Co[c-7]+p+Co[c-16]|0}let{A:r,B:i,C:o,D:s,E:a,F:l,G:u,H:d}=this;for(let c=0;c<64;c++){const f=oi(a,6)^oi(a,11)^oi(a,25),m=d+f+GA(a,l,u)+ZA[c]+Co[c]|0,h=(oi(r,2)^oi(r,13)^oi(r,22))+KA(r,i,o)|0;d=u,u=l,l=a,a=s+m|0,s=o,o=i,i=r,r=m+h|0}r=r+this.A|0,i=i+this.B|0,o=o+this.C|0,s=s+this.D|0,a=a+this.E|0,l=l+this.F|0,u=u+this.G|0,d=d+this.H|0,this.set(r,i,o,s,a,l,u,d)}roundClean(){Co.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}};const ra=mb(()=>new XA),Md=BigInt(2**32-1),a1=BigInt(32);function K4(e,t=!1){return t?{h:Number(e&Md),l:Number(e>>a1&Md)}:{h:Number(e>>a1&Md)|0,l:Number(e&Md)|0}}function YA(e,t=!1){let n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let i=0;iBigInt(e>>>0)<>>0),JA=(e,t,n)=>e>>>n,eT=(e,t,n)=>e<<32-n|t>>>n,tT=(e,t,n)=>e>>>n|t<<32-n,nT=(e,t,n)=>e<<32-n|t>>>n,rT=(e,t,n)=>e<<64-n|t>>>n-32,iT=(e,t,n)=>e>>>n-32|t<<64-n,oT=(e,t)=>t,sT=(e,t)=>e,aT=(e,t,n)=>e<>>32-n,lT=(e,t,n)=>t<>>32-n,cT=(e,t,n)=>t<>>64-n,uT=(e,t,n)=>e<>>64-n;function fT(e,t,n,r){const i=(t>>>0)+(r>>>0);return{h:e+n+(i/2**32|0)|0,l:i|0}}const dT=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),hT=(e,t,n,r)=>t+n+r+(e/2**32|0)|0,pT=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0),mT=(e,t,n,r,i)=>t+n+r+i+(e/2**32|0)|0,gT=(e,t,n,r,i)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(i>>>0),yT=(e,t,n,r,i,o)=>t+n+r+i+o+(e/2**32|0)|0,Ne={fromBig:K4,split:YA,toBig:QA,shrSH:JA,shrSL:eT,rotrSH:tT,rotrSL:nT,rotrBH:rT,rotrBL:iT,rotr32H:oT,rotr32L:sT,rotlSH:aT,rotlSL:lT,rotlBH:cT,rotlBL:uT,add:fT,add3L:dT,add3H:hT,add4L:pT,add4H:mT,add5H:yT,add5L:gT},[bT,vT]=Ne.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),Ao=new Uint32Array(80),To=new Uint32Array(80);let wT=class extends yb{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:t,Al:n,Bh:r,Bl:i,Ch:o,Cl:s,Dh:a,Dl:l,Eh:u,El:d,Fh:c,Fl:f,Gh:m,Gl:p,Hh:h,Hl:y}=this;return[t,n,r,i,o,s,a,l,u,d,c,f,m,p,h,y]}set(t,n,r,i,o,s,a,l,u,d,c,f,m,p,h,y){this.Ah=t|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=o|0,this.Cl=s|0,this.Dh=a|0,this.Dl=l|0,this.Eh=u|0,this.El=d|0,this.Fh=c|0,this.Fl=f|0,this.Gh=m|0,this.Gl=p|0,this.Hh=h|0,this.Hl=y|0}process(t,n){for(let v=0;v<16;v++,n+=4)Ao[v]=t.getUint32(n),To[v]=t.getUint32(n+=4);for(let v=16;v<80;v++){const w=Ao[v-15]|0,E=To[v-15]|0,C=Ne.rotrSH(w,E,1)^Ne.rotrSH(w,E,8)^Ne.shrSH(w,E,7),k=Ne.rotrSL(w,E,1)^Ne.rotrSL(w,E,8)^Ne.shrSL(w,E,7),_=Ao[v-2]|0,S=To[v-2]|0,A=Ne.rotrSH(_,S,19)^Ne.rotrBH(_,S,61)^Ne.shrSH(_,S,6),I=Ne.rotrSL(_,S,19)^Ne.rotrBL(_,S,61)^Ne.shrSL(_,S,6),L=Ne.add4L(k,I,To[v-7],To[v-16]),F=Ne.add4H(L,C,A,Ao[v-7],Ao[v-16]);Ao[v]=F|0,To[v]=L|0}let{Ah:r,Al:i,Bh:o,Bl:s,Ch:a,Cl:l,Dh:u,Dl:d,Eh:c,El:f,Fh:m,Fl:p,Gh:h,Gl:y,Hh:g,Hl:b}=this;for(let v=0;v<80;v++){const w=Ne.rotrSH(c,f,14)^Ne.rotrSH(c,f,18)^Ne.rotrBH(c,f,41),E=Ne.rotrSL(c,f,14)^Ne.rotrSL(c,f,18)^Ne.rotrBL(c,f,41),C=c&m^~c&h,k=f&p^~f&y,_=Ne.add5L(b,E,k,vT[v],To[v]),S=Ne.add5H(_,g,w,C,bT[v],Ao[v]),A=_|0,I=Ne.rotrSH(r,i,28)^Ne.rotrBH(r,i,34)^Ne.rotrBH(r,i,39),L=Ne.rotrSL(r,i,28)^Ne.rotrBL(r,i,34)^Ne.rotrBL(r,i,39),F=r&o^r&a^o&a,N=i&s^i&l^s&l;g=h|0,b=y|0,h=m|0,y=p|0,m=c|0,p=f|0,{h:c,l:f}=Ne.add(u|0,d|0,S|0,A|0),u=a|0,d=l|0,a=o|0,l=s|0,o=r|0,s=i|0;const R=Ne.add3L(A,L,N);r=Ne.add3H(R,S,I,F),i=R|0}({h:r,l:i}=Ne.add(this.Ah|0,this.Al|0,r|0,i|0)),{h:o,l:s}=Ne.add(this.Bh|0,this.Bl|0,o|0,s|0),{h:a,l}=Ne.add(this.Ch|0,this.Cl|0,a|0,l|0),{h:u,l:d}=Ne.add(this.Dh|0,this.Dl|0,u|0,d|0),{h:c,l:f}=Ne.add(this.Eh|0,this.El|0,c|0,f|0),{h:m,l:p}=Ne.add(this.Fh|0,this.Fl|0,m|0,p|0),{h,l:y}=Ne.add(this.Gh|0,this.Gl|0,h|0,y|0),{h:g,l:b}=Ne.add(this.Hh|0,this.Hl|0,g|0,b|0),this.set(r,i,o,s,a,l,u,d,c,f,m,p,h,y,g,b)}roundClean(){Ao.fill(0),To.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}};const ip=mb(()=>new wT);/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function op(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function bb(...e){const t=o=>o,n=(o,s)=>a=>o(s(a)),r=e.map(o=>o.encode).reduceRight(n,t),i=e.map(o=>o.decode).reduce(n,t);return{encode:r,decode:i}}function Z4(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="number")throw new Error("alphabet.encode input should be an array of numbers");return t.map(n=>{if(n<0||n>=e.length)throw new Error(`Digit index outside alphabet: ${n} (alphabet: ${e.length})`);return e[n]})},decode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="string")throw new Error("alphabet.decode input should be array of strings");return t.map(n=>{if(typeof n!="string")throw new Error(`alphabet.decode: not string element=${n}`);const r=e.indexOf(n);if(r===-1)throw new Error(`Unknown letter: "${n}". Allowed: ${e}`);return r})}}}function X4(e=""){if(typeof e!="string")throw new Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="string")throw new Error("join.encode input should be array of strings");for(let n of t)if(typeof n!="string")throw new Error(`join.encode: non-string input=${n}`);return t.join(e)},decode:t=>{if(typeof t!="string")throw new Error("join.decode input should be string");return t.split(e)}}}function _T(e,t="="){if(typeof t!="string")throw new Error("padding chr should be string");return{encode(n){if(!Array.isArray(n)||n.length&&typeof n[0]!="string")throw new Error("padding.encode input should be array of strings");for(let r of n)if(typeof r!="string")throw new Error(`padding.encode: non-string input=${r}`);for(;n.length*e%8;)n.push(t);return n},decode(n){if(!Array.isArray(n)||n.length&&typeof n[0]!="string")throw new Error("padding.encode input should be array of strings");for(let i of n)if(typeof i!="string")throw new Error(`padding.decode: non-string input=${i}`);let r=n.length;if(r*e%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;r>0&&n[r-1]===t;r--)if(!((r-1)*e%8))throw new Error("Invalid padding: string has too much padding");return n.slice(0,r)}}}function l1(e,t,n){if(t<2)throw new Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: wrong to=${n}, base cannot be less than 2`);if(!Array.isArray(e))throw new Error("convertRadix: data should be array");if(!e.length)return[];let r=0;const i=[],o=Array.from(e);for(o.forEach(s=>{if(s<0||s>=t)throw new Error(`Wrong integer: ${s}`)});;){let s=0,a=!0;for(let l=r;lt?Y4(t,e%t):e,sp=(e,t)=>e+(t-Y4(e,t));function c1(e,t,n,r){if(!Array.isArray(e))throw new Error("convertRadix2: data should be array");if(t<=0||t>32)throw new Error(`convertRadix2: wrong from=${t}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if(sp(t,n)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${n} carryBits=${sp(t,n)}`);let i=0,o=0;const s=2**n-1,a=[];for(const l of e){if(l>=2**t)throw new Error(`convertRadix2: invalid data word=${l} from=${t}`);if(i=i<32)throw new Error(`convertRadix2: carry overflow pos=${o} from=${t}`);for(o+=t;o>=n;o-=n)a.push((i>>o-n&s)>>>0);i&=2**o-1}if(i=i<=t)throw new Error("Excess padding");if(!r&&i)throw new Error(`Non-zero padding: ${i}`);return r&&o>0&&a.push(i>>>0),a}function Q4(e){return{encode:t=>{if(!op(t))throw new Error("radix.encode input should be Uint8Array");return l1(Array.from(t),2**8,e)},decode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="number")throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(l1(t,e,2**8))}}}function xT(e,t=!1){if(e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if(sp(8,e)>32||sp(e,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!op(n))throw new Error("radix2.encode input should be Uint8Array");return c1(Array.from(n),8,e,!t)},decode:n=>{if(!Array.isArray(n)||n.length&&typeof n[0]!="number")throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(c1(n,e,8,t))}}}function J4(e,t){if(typeof t!="function")throw new Error("checksum fn should be function");return{encode(n){if(!op(n))throw new Error("checksum.encode: input should be Uint8Array");const r=t(n).slice(0,e),i=new Uint8Array(n.length+e);return i.set(n),i.set(r,n.length),i},decode(n){if(!op(n))throw new Error("checksum.decode: input should be Uint8Array");const r=n.slice(0,-e),i=t(r).slice(0,e),o=n.slice(-e);for(let s=0;sbb(Q4(58),Z4(e),X4("")),ST=ET("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),ex=e=>bb(J4(4,t=>e(e(t))),ST);/*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */const kT=e=>e[0]==="あいこくしん";function tx(e){if(typeof e!="string")throw new TypeError(`Invalid mnemonic type: ${typeof e}`);return e.normalize("NFKD")}function nx(e){const t=tx(e),n=t.split(" ");if(![12,15,18,21,24].includes(n.length))throw new Error("Invalid mnemonic");return{nfkd:t,words:n}}function CT(e){Fr(e,16,20,24,28,32)}function AT(e,t=128){if(wl(t),t%32!==0||t>256)throw new TypeError("Invalid entropy");return $T(gb(t/8),e)}const TT=e=>{const t=8-e.length/4;return new Uint8Array([ra(e)[0]>>t<{if(typeof t!="string")throw new Error(`Wordlist: non-string element: ${t}`)}),jd.chain(jd.checksum(1,TT),jd.radix2(11,!0),jd.alphabet(e))}function $T(e,t){return CT(e),IT(t).encode(e).join(kT(t)?" ":" ")}const rx=e=>tx(`mnemonic${e}`);function bm(e,t=""){return VA(ip,nx(e).nfkd,rx(t),{c:2048,dkLen:64})}function PT(e,t=""){return WA(ip,nx(e).nfkd,rx(t),{c:2048,dkLen:64})}const OT=`abandon
+ */const IA="6";try{window.__reactRouterVersion=IA}catch{}const $A="startTransition",x2=IS[$A];function PA(e){let{basename:t,children:n,future:r,window:i}=e,o=de.useRef();o.current==null&&(o.current=UC({window:i,v5Compat:!0}));let s=o.current,[a,l]=de.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},d=de.useCallback(c=>{u&&x2?x2(()=>l(c)):l(c)},[l,u]);return de.useLayoutEffect(()=>s.listen(d),[s,d]),de.createElement(AA,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}var E2;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(E2||(E2={}));var S2;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(S2||(S2={}));const OA=()=>{const e=Xf();return fe.jsxs("div",{className:"flex gap-5",children:[fe.jsx("button",{onClick:()=>e("signup"),className:"bg-blue-600 text-white px-6 py-3 rounded-lg w-44",children:"Sign Up"}),fe.jsx("button",{onClick:()=>e("login"),className:"bg-green-600 text-white px-6 py-3 rounded-lg w-44",children:"Login"})]})},RA=()=>{const e=Xf();return fe.jsx("div",{className:"flex flex-col items-center justify-center",children:fe.jsxs("div",{className:"p-8 w-full max-w-md",children:[fe.jsx("input",{type:"text",placeholder:"Push Wallet Address",value:"",disabled:!0,className:"w-full px-4 py-3 mb-4 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"}),fe.jsx("button",{onClick:()=>console.log("View Connected Accounts"),className:"w-full py-3 mb-4 text-blue-600 bg-white border border-blue-600 rounded-md hover:bg-blue-50 focus:outline-none focus:ring-2 focus:ring-blue-500",children:"View Connected Accounts"}),fe.jsx("button",{onClick:()=>console.log("View Connected Apps"),className:"w-full py-3 mb-4 text-blue-600 bg-white border border-blue-600 rounded-md hover:bg-blue-50 focus:outline-none focus:ring-2 focus:ring-blue-500",children:"View App Connections"}),fe.jsxs("button",{onClick:()=>e("login"),className:"w-full py-3 bg-blue-600 text-white rounded-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 flex items-center justify-center",children:[fe.jsx("svg",{className:"w-5 h-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:fe.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})}),"Lock Push Account"]})]})})},U4={wallet:null,theme:"light"};function LA(e,t){switch(t.type){case"INITIALIZE_WALLET":return{...e,wallet:t.payload};case"RESET_WALLET":return{...e,wallet:null};case"SET_THEME":return{...e,theme:t.payload};default:return e}}const H4=de.createContext({state:U4,dispatch:()=>null});function pb(){const e=de.useContext(H4);if(!e)throw new Error("useGlobalState must be used within a GlobalProvider");return e}const BA=({children:e})=>{const[t,n]=de.useReducer(LA,U4);return fe.jsx(H4.Provider,{value:{state:t,dispatch:n},children:e})};function NA(){const{state:e}=pb();return fe.jsx(fe.Fragment,{children:e.wallet===null?fe.jsx(OA,{}):fe.jsx(RA,{})})}function _l(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`positive integer expected, not ${e}`)}function MA(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function Fr(e,...t){if(!MA(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function z4(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");_l(e.outputLen),_l(e.blockLen)}function rp(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function jA(e,t){Fr(e);const n=t.outputLen;if(e.lengthnew DataView(e.buffer,e.byteOffset,e.byteLength),oi=(e,t)=>e<<32-t|e>>>t,Nd=(e,t)=>e<>>32-t>>>0;new Uint8Array(new Uint32Array([287454020]).buffer)[0];const DA=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function nr(e){Fr(e);let t="";for(let n=0;n=Ni._0&&e<=Ni._9)return e-Ni._0;if(e>=Ni._A&&e<=Ni._F)return e-(Ni._A-10);if(e>=Ni._a&&e<=Ni._f)return e-(Ni._a-10)}function Hs(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);const t=e.length,n=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);const r=new Uint8Array(n);for(let i=0,o=0;i{};async function UA(e,t,n){let r=Date.now();for(let i=0;i=0&&oe().update(lf(r)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function yb(e=32){if(Wa&&typeof Wa.getRandomValues=="function")return Wa.getRandomValues(new Uint8Array(e));if(Wa&&typeof Wa.randomBytes=="function")return Wa.randomBytes(e);throw new Error("crypto.getRandomValues must be defined")}let V4=class extends W4{constructor(t,n){super(),this.finished=!1,this.destroyed=!1,z4(t);const r=lf(n);if(this.iHash=t.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const i=this.blockLen,o=new Uint8Array(i);o.set(r.length>i?t.create().update(r).digest():r);for(let s=0;snew V4(e,t).update(n).digest();cf.create=(e,t)=>new V4(e,t);function q4(e,t,n,r){z4(e);const i=zA({dkLen:32,asyncTick:10},r),{c:o,dkLen:s,asyncTick:a}=i;if(_l(o),_l(s),_l(a),o<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const l=lf(t),u=lf(n),d=new Uint8Array(s),c=cf.create(e,l),f=c._cloneInto().update(u);return{c:o,dkLen:s,asyncTick:a,DK:d,PRF:c,PRFSalt:f}}function G4(e,t,n,r,i){return e.destroy(),t.destroy(),r&&r.destroy(),i.fill(0),n}function WA(e,t,n,r){const{c:i,dkLen:o,DK:s,PRF:a,PRFSalt:l}=q4(e,t,n,r);let u;const d=new Uint8Array(4),c=ns(d),f=new Uint8Array(a.outputLen);for(let m=1,p=0;p{l._cloneInto(d).update(m).digestInto(m);for(let g=0;g>i&o),a=Number(n&o),l=r?4:0,u=r?0:4;e.setUint32(t+l,s,r),e.setUint32(t+u,a,r)}const GA=(e,t,n)=>e&t^~e&n,KA=(e,t,n)=>e&t^e&n^t&n;let bb=class extends W4{constructor(t,n,r,i){super(),this.blockLen=t,this.outputLen=n,this.padOffset=r,this.isLE=i,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=ns(this.buffer)}update(t){rp(this);const{view:n,buffer:r,blockLen:i}=this;t=lf(t);const o=t.length;for(let s=0;si-s&&(this.process(r,0),s=0);for(let c=s;cd.length)throw new Error("_sha2: outputLen bigger than state");for(let c=0;c>>3,h=oi(m,17)^oi(m,19)^m>>>10;Co[c]=h+Co[c-7]+p+Co[c-16]|0}let{A:r,B:i,C:o,D:s,E:a,F:l,G:u,H:d}=this;for(let c=0;c<64;c++){const f=oi(a,6)^oi(a,11)^oi(a,25),m=d+f+GA(a,l,u)+ZA[c]+Co[c]|0,h=(oi(r,2)^oi(r,13)^oi(r,22))+KA(r,i,o)|0;d=u,u=l,l=a,a=s+m|0,s=o,o=i,i=r,r=m+h|0}r=r+this.A|0,i=i+this.B|0,o=o+this.C|0,s=s+this.D|0,a=a+this.E|0,l=l+this.F|0,u=u+this.G|0,d=d+this.H|0,this.set(r,i,o,s,a,l,u,d)}roundClean(){Co.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}};const ra=gb(()=>new XA),Md=BigInt(2**32-1),a1=BigInt(32);function K4(e,t=!1){return t?{h:Number(e&Md),l:Number(e>>a1&Md)}:{h:Number(e>>a1&Md)|0,l:Number(e&Md)|0}}function YA(e,t=!1){let n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let i=0;iBigInt(e>>>0)<>>0),JA=(e,t,n)=>e>>>n,eT=(e,t,n)=>e<<32-n|t>>>n,tT=(e,t,n)=>e>>>n|t<<32-n,nT=(e,t,n)=>e<<32-n|t>>>n,rT=(e,t,n)=>e<<64-n|t>>>n-32,iT=(e,t,n)=>e>>>n-32|t<<64-n,oT=(e,t)=>t,sT=(e,t)=>e,aT=(e,t,n)=>e<>>32-n,lT=(e,t,n)=>t<>>32-n,cT=(e,t,n)=>t<>>64-n,uT=(e,t,n)=>e<>>64-n;function fT(e,t,n,r){const i=(t>>>0)+(r>>>0);return{h:e+n+(i/2**32|0)|0,l:i|0}}const dT=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),hT=(e,t,n,r)=>t+n+r+(e/2**32|0)|0,pT=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0),mT=(e,t,n,r,i)=>t+n+r+i+(e/2**32|0)|0,gT=(e,t,n,r,i)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(i>>>0),yT=(e,t,n,r,i,o)=>t+n+r+i+o+(e/2**32|0)|0,Ne={fromBig:K4,split:YA,toBig:QA,shrSH:JA,shrSL:eT,rotrSH:tT,rotrSL:nT,rotrBH:rT,rotrBL:iT,rotr32H:oT,rotr32L:sT,rotlSH:aT,rotlSL:lT,rotlBH:cT,rotlBL:uT,add:fT,add3L:dT,add3H:hT,add4L:pT,add4H:mT,add5H:yT,add5L:gT},[bT,vT]=Ne.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),Ao=new Uint32Array(80),To=new Uint32Array(80);let wT=class extends bb{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:t,Al:n,Bh:r,Bl:i,Ch:o,Cl:s,Dh:a,Dl:l,Eh:u,El:d,Fh:c,Fl:f,Gh:m,Gl:p,Hh:h,Hl:y}=this;return[t,n,r,i,o,s,a,l,u,d,c,f,m,p,h,y]}set(t,n,r,i,o,s,a,l,u,d,c,f,m,p,h,y){this.Ah=t|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=o|0,this.Cl=s|0,this.Dh=a|0,this.Dl=l|0,this.Eh=u|0,this.El=d|0,this.Fh=c|0,this.Fl=f|0,this.Gh=m|0,this.Gl=p|0,this.Hh=h|0,this.Hl=y|0}process(t,n){for(let v=0;v<16;v++,n+=4)Ao[v]=t.getUint32(n),To[v]=t.getUint32(n+=4);for(let v=16;v<80;v++){const w=Ao[v-15]|0,E=To[v-15]|0,C=Ne.rotrSH(w,E,1)^Ne.rotrSH(w,E,8)^Ne.shrSH(w,E,7),k=Ne.rotrSL(w,E,1)^Ne.rotrSL(w,E,8)^Ne.shrSL(w,E,7),_=Ao[v-2]|0,S=To[v-2]|0,A=Ne.rotrSH(_,S,19)^Ne.rotrBH(_,S,61)^Ne.shrSH(_,S,6),I=Ne.rotrSL(_,S,19)^Ne.rotrBL(_,S,61)^Ne.shrSL(_,S,6),L=Ne.add4L(k,I,To[v-7],To[v-16]),F=Ne.add4H(L,C,A,Ao[v-7],Ao[v-16]);Ao[v]=F|0,To[v]=L|0}let{Ah:r,Al:i,Bh:o,Bl:s,Ch:a,Cl:l,Dh:u,Dl:d,Eh:c,El:f,Fh:m,Fl:p,Gh:h,Gl:y,Hh:g,Hl:b}=this;for(let v=0;v<80;v++){const w=Ne.rotrSH(c,f,14)^Ne.rotrSH(c,f,18)^Ne.rotrBH(c,f,41),E=Ne.rotrSL(c,f,14)^Ne.rotrSL(c,f,18)^Ne.rotrBL(c,f,41),C=c&m^~c&h,k=f&p^~f&y,_=Ne.add5L(b,E,k,vT[v],To[v]),S=Ne.add5H(_,g,w,C,bT[v],Ao[v]),A=_|0,I=Ne.rotrSH(r,i,28)^Ne.rotrBH(r,i,34)^Ne.rotrBH(r,i,39),L=Ne.rotrSL(r,i,28)^Ne.rotrBL(r,i,34)^Ne.rotrBL(r,i,39),F=r&o^r&a^o&a,N=i&s^i&l^s&l;g=h|0,b=y|0,h=m|0,y=p|0,m=c|0,p=f|0,{h:c,l:f}=Ne.add(u|0,d|0,S|0,A|0),u=a|0,d=l|0,a=o|0,l=s|0,o=r|0,s=i|0;const R=Ne.add3L(A,L,N);r=Ne.add3H(R,S,I,F),i=R|0}({h:r,l:i}=Ne.add(this.Ah|0,this.Al|0,r|0,i|0)),{h:o,l:s}=Ne.add(this.Bh|0,this.Bl|0,o|0,s|0),{h:a,l}=Ne.add(this.Ch|0,this.Cl|0,a|0,l|0),{h:u,l:d}=Ne.add(this.Dh|0,this.Dl|0,u|0,d|0),{h:c,l:f}=Ne.add(this.Eh|0,this.El|0,c|0,f|0),{h:m,l:p}=Ne.add(this.Fh|0,this.Fl|0,m|0,p|0),{h,l:y}=Ne.add(this.Gh|0,this.Gl|0,h|0,y|0),{h:g,l:b}=Ne.add(this.Hh|0,this.Hl|0,g|0,b|0),this.set(r,i,o,s,a,l,u,d,c,f,m,p,h,y,g,b)}roundClean(){Ao.fill(0),To.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}};const ip=gb(()=>new wT);/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function op(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function vb(...e){const t=o=>o,n=(o,s)=>a=>o(s(a)),r=e.map(o=>o.encode).reduceRight(n,t),i=e.map(o=>o.decode).reduce(n,t);return{encode:r,decode:i}}function Z4(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="number")throw new Error("alphabet.encode input should be an array of numbers");return t.map(n=>{if(n<0||n>=e.length)throw new Error(`Digit index outside alphabet: ${n} (alphabet: ${e.length})`);return e[n]})},decode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="string")throw new Error("alphabet.decode input should be array of strings");return t.map(n=>{if(typeof n!="string")throw new Error(`alphabet.decode: not string element=${n}`);const r=e.indexOf(n);if(r===-1)throw new Error(`Unknown letter: "${n}". Allowed: ${e}`);return r})}}}function X4(e=""){if(typeof e!="string")throw new Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="string")throw new Error("join.encode input should be array of strings");for(let n of t)if(typeof n!="string")throw new Error(`join.encode: non-string input=${n}`);return t.join(e)},decode:t=>{if(typeof t!="string")throw new Error("join.decode input should be string");return t.split(e)}}}function _T(e,t="="){if(typeof t!="string")throw new Error("padding chr should be string");return{encode(n){if(!Array.isArray(n)||n.length&&typeof n[0]!="string")throw new Error("padding.encode input should be array of strings");for(let r of n)if(typeof r!="string")throw new Error(`padding.encode: non-string input=${r}`);for(;n.length*e%8;)n.push(t);return n},decode(n){if(!Array.isArray(n)||n.length&&typeof n[0]!="string")throw new Error("padding.encode input should be array of strings");for(let i of n)if(typeof i!="string")throw new Error(`padding.decode: non-string input=${i}`);let r=n.length;if(r*e%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;r>0&&n[r-1]===t;r--)if(!((r-1)*e%8))throw new Error("Invalid padding: string has too much padding");return n.slice(0,r)}}}function l1(e,t,n){if(t<2)throw new Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: wrong to=${n}, base cannot be less than 2`);if(!Array.isArray(e))throw new Error("convertRadix: data should be array");if(!e.length)return[];let r=0;const i=[],o=Array.from(e);for(o.forEach(s=>{if(s<0||s>=t)throw new Error(`Wrong integer: ${s}`)});;){let s=0,a=!0;for(let l=r;lt?Y4(t,e%t):e,sp=(e,t)=>e+(t-Y4(e,t));function c1(e,t,n,r){if(!Array.isArray(e))throw new Error("convertRadix2: data should be array");if(t<=0||t>32)throw new Error(`convertRadix2: wrong from=${t}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if(sp(t,n)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${n} carryBits=${sp(t,n)}`);let i=0,o=0;const s=2**n-1,a=[];for(const l of e){if(l>=2**t)throw new Error(`convertRadix2: invalid data word=${l} from=${t}`);if(i=i<32)throw new Error(`convertRadix2: carry overflow pos=${o} from=${t}`);for(o+=t;o>=n;o-=n)a.push((i>>o-n&s)>>>0);i&=2**o-1}if(i=i<=t)throw new Error("Excess padding");if(!r&&i)throw new Error(`Non-zero padding: ${i}`);return r&&o>0&&a.push(i>>>0),a}function Q4(e){return{encode:t=>{if(!op(t))throw new Error("radix.encode input should be Uint8Array");return l1(Array.from(t),2**8,e)},decode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="number")throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(l1(t,e,2**8))}}}function xT(e,t=!1){if(e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if(sp(8,e)>32||sp(e,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!op(n))throw new Error("radix2.encode input should be Uint8Array");return c1(Array.from(n),8,e,!t)},decode:n=>{if(!Array.isArray(n)||n.length&&typeof n[0]!="number")throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(c1(n,e,8,t))}}}function J4(e,t){if(typeof t!="function")throw new Error("checksum fn should be function");return{encode(n){if(!op(n))throw new Error("checksum.encode: input should be Uint8Array");const r=t(n).slice(0,e),i=new Uint8Array(n.length+e);return i.set(n),i.set(r,n.length),i},decode(n){if(!op(n))throw new Error("checksum.decode: input should be Uint8Array");const r=n.slice(0,-e),i=t(r).slice(0,e),o=n.slice(-e);for(let s=0;svb(Q4(58),Z4(e),X4("")),ST=ET("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),ex=e=>vb(J4(4,t=>e(e(t))),ST);/*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */const kT=e=>e[0]==="あいこくしん";function tx(e){if(typeof e!="string")throw new TypeError(`Invalid mnemonic type: ${typeof e}`);return e.normalize("NFKD")}function nx(e){const t=tx(e),n=t.split(" ");if(![12,15,18,21,24].includes(n.length))throw new Error("Invalid mnemonic");return{nfkd:t,words:n}}function CT(e){Fr(e,16,20,24,28,32)}function AT(e,t=128){if(_l(t),t%32!==0||t>256)throw new TypeError("Invalid entropy");return $T(yb(t/8),e)}const TT=e=>{const t=8-e.length/4;return new Uint8Array([ra(e)[0]>>t<{if(typeof t!="string")throw new Error(`Wordlist: non-string element: ${t}`)}),jd.chain(jd.checksum(1,TT),jd.radix2(11,!0),jd.alphabet(e))}function $T(e,t){return CT(e),IT(t).encode(e).join(kT(t)?" ":" ")}const rx=e=>tx(`mnemonic${e}`);function bm(e,t=""){return VA(ip,nx(e).nfkd,rx(t),{c:2048,dkLen:64})}function PT(e,t=""){return WA(ip,nx(e).nfkd,rx(t),{c:2048,dkLen:64})}const OT=`abandon
ability
able
about
@@ -2113,21 +2113,21 @@ zebra
zero
zone
zoo`.split(`
-`),RT=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),ix=new Uint8Array(new Array(16).fill(0).map((e,t)=>t)),LT=ix.map(e=>(9*e+5)%16);let vb=[ix],wb=[LT];for(let e=0;e<4;e++)for(let t of[vb,wb])t.push(t[e].map(n=>RT[n]));const ox=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(e=>new Uint8Array(e)),BT=vb.map((e,t)=>e.map(n=>ox[t][n])),NT=wb.map((e,t)=>e.map(n=>ox[t][n])),MT=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),jT=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]);function k2(e,t,n,r){return e===0?t^n^r:e===1?t&n|~t&r:e===2?(t|~n)^r:e===3?t&r|n&~r:t^(n|~r)}const Dd=new Uint32Array(16);let DT=class extends yb{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:t,h1:n,h2:r,h3:i,h4:o}=this;return[t,n,r,i,o]}set(t,n,r,i,o){this.h0=t|0,this.h1=n|0,this.h2=r|0,this.h3=i|0,this.h4=o|0}process(t,n){for(let m=0;m<16;m++,n+=4)Dd[m]=t.getUint32(n,!0);let r=this.h0|0,i=r,o=this.h1|0,s=o,a=this.h2|0,l=a,u=this.h3|0,d=u,c=this.h4|0,f=c;for(let m=0;m<5;m++){const p=4-m,h=MT[m],y=jT[m],g=vb[m],b=wb[m],v=BT[m],w=NT[m];for(let E=0;E<16;E++){const C=Nd(r+k2(m,o,a,u)+Dd[g[E]]+h,v[E])+c|0;r=c,c=u,u=Nd(a,10)|0,a=o,o=C}for(let E=0;E<16;E++){const C=Nd(i+k2(p,s,l,d)+Dd[b[E]]+y,w[E])+f|0;i=f,f=d,d=Nd(l,10)|0,l=s,s=C}}this.set(this.h1+a+d|0,this.h2+u+f|0,this.h3+c+i|0,this.h4+r+s|0,this.h0+o+l|0)}roundClean(){Dd.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}};const FT=mb(()=>new DT);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const _b=BigInt(0),Jp=BigInt(1),UT=BigInt(2);function ga(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function Yf(e){if(!ga(e))throw new Error("Uint8Array expected")}function Nl(e,t){if(typeof t!="boolean")throw new Error(`${e} must be valid boolean, got "${t}".`)}const HT=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function Ml(e){Yf(e);let t="";for(let n=0;n=Mi._0&&e<=Mi._9)return e-Mi._0;if(e>=Mi._A&&e<=Mi._F)return e-(Mi._A-10);if(e>=Mi._a&&e<=Mi._f)return e-(Mi._a-10)}function jl(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);const t=e.length,n=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);const r=new Uint8Array(n);for(let i=0,o=0;itypeof e=="bigint"&&_b<=e;function e0(e,t,n){return vm(e)&&vm(t)&&vm(n)&&t<=e&&e_b;e>>=Jp,t+=1);return t}function qT(e,t){return e>>BigInt(t)&Jp}function GT(e,t,n){return e|(n?Jp:_b)<(UT<new Uint8Array(e),A2=e=>Uint8Array.from(e);function ax(e,t,n){if(typeof e!="number"||e<2)throw new Error("hashLen must be a number");if(typeof t!="number"||t<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");let r=wm(e),i=wm(e),o=0;const s=()=>{r.fill(1),i.fill(0),o=0},a=(...c)=>n(i,r,...c),l=(c=wm())=>{i=a(A2([0]),c),r=a(),c.length!==0&&(i=a(A2([1]),c),r=a())},u=()=>{if(o++>=1e3)throw new Error("drbg: tried 1000 values");let c=0;const f=[];for(;c{s(),l(c);let m;for(;!(m=f(u()));)l();return s(),m}}const KT={bigint:e=>typeof e=="bigint",function:e=>typeof e=="function",boolean:e=>typeof e=="boolean",string:e=>typeof e=="string",stringOrUint8Array:e=>typeof e=="string"||ga(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>typeof e=="function"&&Number.isSafeInteger(e.outputLen)};function Qf(e,t,n={}){const r=(i,o,s)=>{const a=KT[o];if(typeof a!="function")throw new Error(`Invalid validator "${o}", expected function`);const l=e[i];if(!(s&&l===void 0)&&!a(l,e))throw new Error(`Invalid param ${String(i)}=${l} (${typeof l}), expected ${o}`)};for(const[i,o]of Object.entries(t))r(i,o,!1);for(const[i,o]of Object.entries(n))r(i,o,!0);return e}const ZT=()=>{throw new Error("not implemented")};function u1(e){const t=new WeakMap;return(n,...r)=>{const i=t.get(n);if(i!==void 0)return i;const o=e(n,...r);return t.set(n,o),o}}const XT=Object.freeze(Object.defineProperty({__proto__:null,aInRange:oa,abool:Nl,abytes:Yf,bitGet:qT,bitLen:sx,bitMask:kb,bitSet:GT,bytesToHex:Ml,bytesToNumberBE:ia,bytesToNumberLE:Eb,concatBytes:uf,createHmacDrbg:ax,ensureBytes:Br,equalBytes:WT,hexToBytes:jl,hexToNumber:xb,inRange:e0,isBytes:ga,memoized:u1,notImplemented:ZT,numberToBytesBE:Dl,numberToBytesLE:Sb,numberToHexUnpadded:cl,numberToVarBytesBE:zT,utf8ToBytes:VT,validateObject:Qf},Symbol.toStringTag,{value:"Module"}));/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const tn=BigInt(0),$t=BigInt(1),zs=BigInt(2),YT=BigInt(3),f1=BigInt(4),T2=BigInt(5),I2=BigInt(8);BigInt(9);BigInt(16);function Tn(e,t){const n=e%t;return n>=tn?n:t+n}function QT(e,t,n){if(n<=tn||t 0");if(n===$t)return tn;let r=$t;for(;t>tn;)t&$t&&(r=r*e%n),e=e*e%n,t>>=$t;return r}function hr(e,t,n){let r=e;for(;t-- >tn;)r*=r,r%=n;return r}function d1(e,t){if(e===tn||t<=tn)throw new Error(`invert: expected positive integers, got n=${e} mod=${t}`);let n=Tn(e,t),r=t,i=tn,o=$t;for(;n!==tn;){const a=r/n,l=r%n,u=i-o*a;r=n,n=l,i=o,o=u}if(r!==$t)throw new Error("invert: does not exist");return Tn(i,t)}function JT(e){const t=(e-$t)/zs;let n,r,i;for(n=e-$t,r=0;n%zs===tn;n/=zs,r++);for(i=zs;i(r[i]="function",r),t);return Qf(e,n)}function rI(e,t,n){if(n 0");if(n===tn)return e.ONE;if(n===$t)return t;let r=e.ONE,i=t;for(;n>tn;)n&$t&&(r=e.mul(r,i)),i=e.sqr(i),n>>=$t;return r}function iI(e,t){const n=new Array(t.length),r=t.reduce((o,s,a)=>e.is0(s)?o:(n[a]=o,e.mul(o,s)),e.ONE),i=e.inv(r);return t.reduceRight((o,s,a)=>e.is0(s)?o:(n[a]=e.mul(o,n[a]),e.mul(o,s)),i),n}function lx(e,t){const n=t!==void 0?t:e.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function cx(e,t,n=!1,r={}){if(e<=tn)throw new Error(`Expected Field ORDER > 0, got ${e}`);const{nBitLength:i,nByteLength:o}=lx(e,t);if(o>2048)throw new Error("Field lengths over 2048 bytes are not supported");const s=eI(e),a=Object.freeze({ORDER:e,BITS:i,BYTES:o,MASK:kb(i),ZERO:tn,ONE:$t,create:l=>Tn(l,e),isValid:l=>{if(typeof l!="bigint")throw new Error(`Invalid field element: expected bigint, got ${typeof l}`);return tn<=l&&ll===tn,isOdd:l=>(l&$t)===$t,neg:l=>Tn(-l,e),eql:(l,u)=>l===u,sqr:l=>Tn(l*l,e),add:(l,u)=>Tn(l+u,e),sub:(l,u)=>Tn(l-u,e),mul:(l,u)=>Tn(l*u,e),pow:(l,u)=>rI(a,l,u),div:(l,u)=>Tn(l*d1(u,e),e),sqrN:l=>l*l,addN:(l,u)=>l+u,subN:(l,u)=>l-u,mulN:(l,u)=>l*u,inv:l=>d1(l,e),sqrt:r.sqrt||(l=>s(a,l)),invertBatch:l=>iI(a,l),cmov:(l,u,d)=>d?u:l,toBytes:l=>n?Sb(l,o):Dl(l,o),fromBytes:l=>{if(l.length!==o)throw new Error(`Fp.fromBytes: expected ${o}, got ${l.length}`);return n?Eb(l):ia(l)}});return Object.freeze(a)}function ux(e){if(typeof e!="bigint")throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function fx(e){const t=ux(e);return t+Math.ceil(t/2)}function oI(e,t,n=!1){const r=e.length,i=ux(t),o=fx(t);if(r<16||r1024)throw new Error(`expected ${o}-1024 bytes of input, got ${r}`);const s=n?ia(e):Eb(e),a=Tn(s,t-$t)+$t;return n?Sb(a,i):Dl(a,i)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const sI=BigInt(0),_m=BigInt(1),xm=new WeakMap,$2=new WeakMap;function aI(e,t){const n=(o,s)=>{const a=s.negate();return o?a:s},r=o=>{if(!Number.isSafeInteger(o)||o<=0||o>t)throw new Error(`Wrong window size=${o}, should be [1..${t}]`)},i=o=>{r(o);const s=Math.ceil(t/o)+1,a=2**(o-1);return{windows:s,windowSize:a}};return{constTimeNegate:n,unsafeLadder(o,s){let a=e.ZERO,l=o;for(;s>sI;)s&_m&&(a=a.add(l)),l=l.double(),s>>=_m;return a},precomputeWindow(o,s){const{windows:a,windowSize:l}=i(s),u=[];let d=o,c=d;for(let f=0;f>=p,g>u&&(g-=m,a+=_m);const b=y,v=y+Math.abs(g)-1,w=h%2!==0,E=g<0;g===0?c=c.add(n(w,s[b])):d=d.add(n(E,s[v]))}return{p:d,f:c}},wNAFCached(o,s,a){const l=$2.get(o)||1;let u=xm.get(o);return u||(u=this.precomputeWindow(o,l),l!==1&&xm.set(o,a(u))),this.wNAF(l,u,s)},setWindowSize(o,s){r(s),$2.set(o,s),xm.delete(o)}}}function lI(e,t,n,r){if(!Array.isArray(n)||!Array.isArray(r)||r.length!==n.length)throw new Error("arrays of points and scalars must have equal length");r.forEach((d,c)=>{if(!t.isValid(d))throw new Error(`wrong scalar at index ${c}`)}),n.forEach((d,c)=>{if(!(d instanceof e))throw new Error(`wrong point at index ${c}`)});const i=sx(BigInt(n.length)),o=i>12?i-3:i>4?i-2:i?2:1,s=(1<=0;d-=o){a.fill(e.ZERO);for(let f=0;f>BigInt(d)&BigInt(s));a[p]=a[p].add(n[f])}let c=e.ZERO;for(let f=a.length-1,m=e.ZERO;f>0;f--)m=m.add(a[f]),c=c.add(m);if(u=u.add(c),d!==0)for(let f=0;f{const{Err:n}=Wi;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(t.length&1)throw new n("tlv.encode: unpadded data");const r=t.length/2,i=cl(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");const o=r>127?cl(i.length/2|128):"";return`${cl(e)}${o}${i}${t}`},decode(e,t){const{Err:n}=Wi;let r=0;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(t.length<2||t[r++]!==e)throw new n("tlv.decode: wrong tlv");const i=t[r++],o=!!(i&128);let s=0;if(!o)s=i;else{const l=i&127;if(!l)throw new n("tlv.decode(long): indefinite length not supported");if(l>4)throw new n("tlv.decode(long): byte length is too big");const u=t.subarray(r,r+l);if(u.length!==l)throw new n("tlv.decode: length bytes not complete");if(u[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const d of u)s=s<<8|d;if(r+=l,s<128)throw new n("tlv.decode(long): not minimal encoding")}const a=t.subarray(r,r+s);if(a.length!==s)throw new n("tlv.decode: wrong value length");return{v:a,l:t.subarray(r+s)}}},_int:{encode(e){const{Err:t}=Wi;if(e{const b=y.toAffine();return uf(Uint8Array.from([4]),n.toBytes(b.x),n.toBytes(b.y))}),o=t.fromBytes||(h=>{const y=h.subarray(1),g=n.fromBytes(y.subarray(0,n.BYTES)),b=n.fromBytes(y.subarray(n.BYTES,2*n.BYTES));return{x:g,y:b}});function s(h){const{a:y,b:g}=t,b=n.sqr(h),v=n.mul(b,h);return n.add(n.add(v,n.mul(h,y)),g)}if(!n.eql(n.sqr(t.Gy),s(t.Gx)))throw new Error("bad generator point: equation left != right");function a(h){return e0(h,Jt,t.n)}function l(h){const{allowedPrivateKeyLengths:y,nByteLength:g,wrapPrivateKey:b,n:v}=t;if(y&&typeof h!="bigint"){if(ga(h)&&(h=Ml(h)),typeof h!="string"||!y.includes(h.length))throw new Error("Invalid key");h=h.padStart(g*2,"0")}let w;try{w=typeof h=="bigint"?h:ia(Br("private key",h,g))}catch{throw new Error(`private key must be ${g} bytes, hex or bigint, not ${typeof h}`)}return b&&(w=Tn(w,v)),oa("private key",w,Jt,v),w}function u(h){if(!(h instanceof f))throw new Error("ProjectivePoint expected")}const d=u1((h,y)=>{const{px:g,py:b,pz:v}=h;if(n.eql(v,n.ONE))return{x:g,y:b};const w=h.is0();y==null&&(y=w?n.ONE:n.inv(v));const E=n.mul(g,y),C=n.mul(b,y),k=n.mul(v,y);if(w)return{x:n.ZERO,y:n.ZERO};if(!n.eql(k,n.ONE))throw new Error("invZ was invalid");return{x:E,y:C}}),c=u1(h=>{if(h.is0()){if(t.allowInfinityPoint&&!n.is0(h.py))return;throw new Error("bad point: ZERO")}const{x:y,y:g}=h.toAffine();if(!n.isValid(y)||!n.isValid(g))throw new Error("bad point: x or y not FE");const b=n.sqr(g),v=s(y);if(!n.eql(b,v))throw new Error("bad point: equation left != right");if(!h.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class f{constructor(y,g,b){if(this.px=y,this.py=g,this.pz=b,y==null||!n.isValid(y))throw new Error("x required");if(g==null||!n.isValid(g))throw new Error("y required");if(b==null||!n.isValid(b))throw new Error("z required");Object.freeze(this)}static fromAffine(y){const{x:g,y:b}=y||{};if(!y||!n.isValid(g)||!n.isValid(b))throw new Error("invalid affine point");if(y instanceof f)throw new Error("projective point not allowed");const v=w=>n.eql(w,n.ZERO);return v(g)&&v(b)?f.ZERO:new f(g,b,n.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(y){const g=n.invertBatch(y.map(b=>b.pz));return y.map((b,v)=>b.toAffine(g[v])).map(f.fromAffine)}static fromHex(y){const g=f.fromAffine(o(Br("pointHex",y)));return g.assertValidity(),g}static fromPrivateKey(y){return f.BASE.multiply(l(y))}static msm(y,g){return lI(f,r,y,g)}_setWindowSize(y){p.setWindowSize(this,y)}assertValidity(){c(this)}hasEvenY(){const{y}=this.toAffine();if(n.isOdd)return!n.isOdd(y);throw new Error("Field doesn't support isOdd")}equals(y){u(y);const{px:g,py:b,pz:v}=this,{px:w,py:E,pz:C}=y,k=n.eql(n.mul(g,C),n.mul(w,v)),_=n.eql(n.mul(b,C),n.mul(E,v));return k&&_}negate(){return new f(this.px,n.neg(this.py),this.pz)}double(){const{a:y,b:g}=t,b=n.mul(g,O2),{px:v,py:w,pz:E}=this;let C=n.ZERO,k=n.ZERO,_=n.ZERO,S=n.mul(v,v),A=n.mul(w,w),I=n.mul(E,E),L=n.mul(v,w);return L=n.add(L,L),_=n.mul(v,E),_=n.add(_,_),C=n.mul(y,_),k=n.mul(b,I),k=n.add(C,k),C=n.sub(A,k),k=n.add(A,k),k=n.mul(C,k),C=n.mul(L,C),_=n.mul(b,_),I=n.mul(y,I),L=n.sub(S,I),L=n.mul(y,L),L=n.add(L,_),_=n.add(S,S),S=n.add(_,S),S=n.add(S,I),S=n.mul(S,L),k=n.add(k,S),I=n.mul(w,E),I=n.add(I,I),S=n.mul(I,L),C=n.sub(C,S),_=n.mul(I,A),_=n.add(_,_),_=n.add(_,_),new f(C,k,_)}add(y){u(y);const{px:g,py:b,pz:v}=this,{px:w,py:E,pz:C}=y;let k=n.ZERO,_=n.ZERO,S=n.ZERO;const A=t.a,I=n.mul(t.b,O2);let L=n.mul(g,w),F=n.mul(b,E),N=n.mul(v,C),R=n.add(g,b),B=n.add(w,E);R=n.mul(R,B),B=n.add(L,F),R=n.sub(R,B),B=n.add(g,v);let V=n.add(w,C);return B=n.mul(B,V),V=n.add(L,N),B=n.sub(B,V),V=n.add(b,v),k=n.add(E,C),V=n.mul(V,k),k=n.add(F,N),V=n.sub(V,k),S=n.mul(A,B),k=n.mul(I,N),S=n.add(k,S),k=n.sub(F,S),S=n.add(F,S),_=n.mul(k,S),F=n.add(L,L),F=n.add(F,L),N=n.mul(A,N),B=n.mul(I,B),F=n.add(F,N),N=n.sub(L,N),N=n.mul(A,N),B=n.add(B,N),L=n.mul(F,B),_=n.add(_,L),L=n.mul(V,B),k=n.mul(R,k),k=n.sub(k,L),L=n.mul(R,F),S=n.mul(V,S),S=n.add(S,L),new f(k,_,S)}subtract(y){return this.add(y.negate())}is0(){return this.equals(f.ZERO)}wNAF(y){return p.wNAFCached(this,y,f.normalizeZ)}multiplyUnsafe(y){oa("scalar",y,Vi,t.n);const g=f.ZERO;if(y===Vi)return g;if(y===Jt)return this;const{endo:b}=t;if(!b)return p.unsafeLadder(this,y);let{k1neg:v,k1:w,k2neg:E,k2:C}=b.splitScalar(y),k=g,_=g,S=this;for(;w>Vi||C>Vi;)w&Jt&&(k=k.add(S)),C&Jt&&(_=_.add(S)),S=S.double(),w>>=Jt,C>>=Jt;return v&&(k=k.negate()),E&&(_=_.negate()),_=new f(n.mul(_.px,b.beta),_.py,_.pz),k.add(_)}multiply(y){const{endo:g,n:b}=t;oa("scalar",y,Jt,b);let v,w;if(g){const{k1neg:E,k1:C,k2neg:k,k2:_}=g.splitScalar(y);let{p:S,f:A}=this.wNAF(C),{p:I,f:L}=this.wNAF(_);S=p.constTimeNegate(E,S),I=p.constTimeNegate(k,I),I=new f(n.mul(I.px,g.beta),I.py,I.pz),v=S.add(I),w=A.add(L)}else{const{p:E,f:C}=this.wNAF(y);v=E,w=C}return f.normalizeZ([v,w])[0]}multiplyAndAddUnsafe(y,g,b){const v=f.BASE,w=(C,k)=>k===Vi||k===Jt||!C.equals(v)?C.multiplyUnsafe(k):C.multiply(k),E=w(this,g).add(w(y,b));return E.is0()?void 0:E}toAffine(y){return d(this,y)}isTorsionFree(){const{h:y,isTorsionFree:g}=t;if(y===Jt)return!0;if(g)return g(f,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:y,clearCofactor:g}=t;return y===Jt?this:g?g(f,this):this.multiplyUnsafe(t.h)}toRawBytes(y=!0){return Nl("isCompressed",y),this.assertValidity(),i(f,this,y)}toHex(y=!0){return Nl("isCompressed",y),Ml(this.toRawBytes(y))}}f.BASE=new f(t.Gx,t.Gy,n.ONE),f.ZERO=new f(n.ZERO,n.ONE,n.ZERO);const m=t.nBitLength,p=aI(f,t.endo?Math.ceil(m/2):m);return{CURVE:t,ProjectivePoint:f,normPrivateKeyToScalar:l,weierstrassEquation:s,isWithinCurveOrder:a}}function hI(e){const t=dx(e);return Qf(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}function pI(e){const t=hI(e),{Fp:n,n:r}=t,i=n.BYTES+1,o=2*n.BYTES+1;function s(N){return Tn(N,r)}function a(N){return d1(N,r)}const{ProjectivePoint:l,normPrivateKeyToScalar:u,weierstrassEquation:d,isWithinCurveOrder:c}=dI({...t,toBytes(N,R,B){const V=R.toAffine(),j=n.toBytes(V.x),W=uf;return Nl("isCompressed",B),B?W(Uint8Array.from([R.hasEvenY()?2:3]),j):W(Uint8Array.from([4]),j,n.toBytes(V.y))},fromBytes(N){const R=N.length,B=N[0],V=N.subarray(1);if(R===i&&(B===2||B===3)){const j=ia(V);if(!e0(j,Jt,n.ORDER))throw new Error("Point is not on curve");const W=d(j);let Y;try{Y=n.sqrt(W)}catch(Z){const pe=Z instanceof Error?": "+Z.message:"";throw new Error("Point is not on curve"+pe)}const te=(Y&Jt)===Jt;return(B&1)===1!==te&&(Y=n.neg(Y)),{x:j,y:Y}}else if(R===o&&B===4){const j=n.fromBytes(V.subarray(0,n.BYTES)),W=n.fromBytes(V.subarray(n.BYTES,2*n.BYTES));return{x:j,y:W}}else throw new Error(`Point of length ${R} was invalid. Expected ${i} compressed bytes or ${o} uncompressed bytes`)}}),f=N=>Ml(Dl(N,t.nByteLength));function m(N){const R=r>>Jt;return N>R}function p(N){return m(N)?s(-N):N}const h=(N,R,B)=>ia(N.slice(R,B));class y{constructor(R,B,V){this.r=R,this.s=B,this.recovery=V,this.assertValidity()}static fromCompact(R){const B=t.nByteLength;return R=Br("compactSignature",R,B*2),new y(h(R,0,B),h(R,B,2*B))}static fromDER(R){const{r:B,s:V}=Wi.toSig(Br("DER",R));return new y(B,V)}assertValidity(){oa("r",this.r,Jt,r),oa("s",this.s,Jt,r)}addRecoveryBit(R){return new y(this.r,this.s,R)}recoverPublicKey(R){const{r:B,s:V,recovery:j}=this,W=C(Br("msgHash",R));if(j==null||![0,1,2,3].includes(j))throw new Error("recovery id invalid");const Y=j===2||j===3?B+t.n:B;if(Y>=n.ORDER)throw new Error("recovery id 2 or 3 invalid");const te=j&1?"03":"02",ae=l.fromHex(te+f(Y)),Z=a(Y),pe=s(-W*Z),Ie=s(V*Z),_e=l.BASE.multiplyAndAddUnsafe(ae,pe,Ie);if(!_e)throw new Error("point at infinify");return _e.assertValidity(),_e}hasHighS(){return m(this.s)}normalizeS(){return this.hasHighS()?new y(this.r,s(-this.s),this.recovery):this}toDERRawBytes(){return jl(this.toDERHex())}toDERHex(){return Wi.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return jl(this.toCompactHex())}toCompactHex(){return f(this.r)+f(this.s)}}const g={isValidPrivateKey(N){try{return u(N),!0}catch{return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{const N=fx(t.n);return oI(t.randomBytes(N),t.n)},precompute(N=8,R=l.BASE){return R._setWindowSize(N),R.multiply(BigInt(3)),R}};function b(N,R=!0){return l.fromPrivateKey(N).toRawBytes(R)}function v(N){const R=ga(N),B=typeof N=="string",V=(R||B)&&N.length;return R?V===i||V===o:B?V===2*i||V===2*o:N instanceof l}function w(N,R,B=!0){if(v(N))throw new Error("first arg must be private key");if(!v(R))throw new Error("second arg must be public key");return l.fromHex(R).multiply(u(N)).toRawBytes(B)}const E=t.bits2int||function(N){const R=ia(N),B=N.length*8-t.nBitLength;return B>0?R>>BigInt(B):R},C=t.bits2int_modN||function(N){return s(E(N))},k=kb(t.nBitLength);function _(N){return oa(`num < 2^${t.nBitLength}`,N,Vi,k),Dl(N,t.nByteLength)}function S(N,R,B=A){if(["recovered","canonical"].some(le=>le in B))throw new Error("sign() legacy options not supported");const{hash:V,randomBytes:j}=t;let{lowS:W,prehash:Y,extraEntropy:te}=B;W==null&&(W=!0),N=Br("msgHash",N),P2(B),Y&&(N=Br("prehashed msgHash",V(N)));const ae=C(N),Z=u(R),pe=[_(Z),_(ae)];if(te!=null&&te!==!1){const le=te===!0?j(n.BYTES):te;pe.push(Br("extraEntropy",le))}const Ie=uf(...pe),_e=ae;function Ce(le){const $e=E(le);if(!c($e))return;const rt=a($e),je=l.BASE.multiply($e).toAffine(),nt=s(je.x);if(nt===Vi)return;const Le=s(rt*s(_e+nt*Z));if(Le===Vi)return;let _t=(je.x===nt?0:2)|Number(je.y&Jt),Kn=Le;return W&&m(Le)&&(Kn=p(Le),_t^=1),new y(nt,Kn,_t)}return{seed:Ie,k2sig:Ce}}const A={lowS:t.lowS,prehash:!1},I={lowS:t.lowS,prehash:!1};function L(N,R,B=A){const{seed:V,k2sig:j}=S(N,R,B),W=t;return ax(W.hash.outputLen,W.nByteLength,W.hmac)(V,j)}l.BASE._setWindowSize(8);function F(N,R,B,V=I){var je;const j=N;if(R=Br("msgHash",R),B=Br("publicKey",B),"strict"in V)throw new Error("options.strict was renamed to lowS");P2(V);const{lowS:W,prehash:Y}=V;let te,ae;try{if(typeof j=="string"||ga(j))try{te=y.fromDER(j)}catch(nt){if(!(nt instanceof Wi.Err))throw nt;te=y.fromCompact(j)}else if(typeof j=="object"&&typeof j.r=="bigint"&&typeof j.s=="bigint"){const{r:nt,s:Le}=j;te=new y(nt,Le)}else throw new Error("PARSE");ae=l.fromHex(B)}catch(nt){if(nt.message==="PARSE")throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(W&&te.hasHighS())return!1;Y&&(R=t.hash(R));const{r:Z,s:pe}=te,Ie=C(R),_e=a(pe),Ce=s(Ie*_e),le=s(Z*_e),$e=(je=l.BASE.multiplyAndAddUnsafe(ae,Ce,le))==null?void 0:je.toAffine();return $e?s($e.x)===Z:!1}return{CURVE:t,getPublicKey:b,getSharedSecret:w,sign:L,verify:F,ProjectivePoint:l,Signature:y,utils:g}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function mI(e){return{hash:e,hmac:(t,...n)=>cf(e,t,yu(...n)),randomBytes:gb}}function gI(e,t){const n=r=>pI({...e,...mI(r)});return Object.freeze({...n(t),create:n})}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const hx=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),R2=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),yI=BigInt(1),h1=BigInt(2),L2=(e,t)=>(e+t/h1)/t;function bI(e){const t=hx,n=BigInt(3),r=BigInt(6),i=BigInt(11),o=BigInt(22),s=BigInt(23),a=BigInt(44),l=BigInt(88),u=e*e*e%t,d=u*u*e%t,c=hr(d,n,t)*d%t,f=hr(c,n,t)*d%t,m=hr(f,h1,t)*u%t,p=hr(m,i,t)*m%t,h=hr(p,o,t)*p%t,y=hr(h,a,t)*h%t,g=hr(y,l,t)*y%t,b=hr(g,a,t)*h%t,v=hr(b,n,t)*d%t,w=hr(v,s,t)*p%t,E=hr(w,r,t)*u%t,C=hr(E,h1,t);if(!p1.eql(p1.sqr(C),e))throw new Error("Cannot find square root");return C}const p1=cx(hx,void 0,void 0,{sqrt:bI}),li=gI({a:BigInt(0),b:BigInt(7),Fp:p1,n:R2,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{const t=R2,n=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-yI*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),i=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),o=n,s=BigInt("0x100000000000000000000000000000000"),a=L2(o*e,t),l=L2(-r*e,t);let u=Tn(e-a*n-l*i,t),d=Tn(-a*r-l*o,t);const c=u>s,f=d>s;if(c&&(u=t-u),f&&(d=t-d),u>s||d>s)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:c,k1:u,k2neg:f,k2:d}}}},ra);BigInt(0);li.ProjectivePoint;/*! scure-bip32 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */const Fd=li.ProjectivePoint,Em=ex(ra);function B2(e){return BigInt(`0x${nr(e)}`)}function vI(e){return Hs(e.toString(16).padStart(64,"0"))}const wI=pb("Bitcoin seed"),Sm={private:76066276,public:76067358},km=2147483648,_I=e=>FT(ra(e)),xI=e=>ns(e).getUint32(0,!1),Ud=e=>{if(!Number.isSafeInteger(e)||e<0||e>2**32-1)throw new Error(`Invalid number=${e}. Should be from 0 to 2 ** 32 - 1`);const t=new Uint8Array(4);return ns(t).setUint32(0,e,!1),t};let iu=class qa{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return xI(this.pubHash)}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const t=this.privateKey;if(!t)throw new Error("No private key");return Em.encode(this.serialize(this.versions.private,yu(new Uint8Array([0]),t)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return Em.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(t,n=Sm){if(Fr(t),8*t.length<128||8*t.length>512)throw new Error(`HDKey: wrong seed length=${t.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const r=cf(ip,wI,t);return new qa({versions:n,chainCode:r.slice(32),privateKey:r.slice(0,32)})}static fromExtendedKey(t,n=Sm){const r=Em.decode(t),i=ns(r),o=i.getUint32(0,!1),s={versions:n,depth:r[4],parentFingerprint:i.getUint32(5,!1),index:i.getUint32(9,!1),chainCode:r.slice(13,45)},a=r.slice(45),l=a[0]===0;if(o!==n[l?"private":"public"])throw new Error("Version mismatch");return l?new qa({...s,privateKey:a.slice(1)}):new qa({...s,publicKey:a})}static fromJSON(t){return qa.fromExtendedKey(t.xpriv)}constructor(t){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!t||typeof t!="object")throw new Error("HDKey.constructor must not be called directly");if(this.versions=t.versions||Sm,this.depth=t.depth||0,this.chainCode=t.chainCode||null,this.index=t.index||0,this.parentFingerprint=t.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(t.publicKey&&t.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(t.privateKey){if(!li.utils.isValidPrivateKey(t.privateKey))throw new Error("Invalid private key");this.privKey=typeof t.privateKey=="bigint"?t.privateKey:B2(t.privateKey),this.privKeyBytes=vI(this.privKey),this.pubKey=li.getPublicKey(t.privateKey,!0)}else if(t.publicKey)this.pubKey=Fd.fromHex(t.publicKey).toRawBytes(!0);else throw new Error("HDKey: no public or private key provided");this.pubHash=_I(this.pubKey)}derive(t){if(!/^[mM]'?/.test(t))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(t))return this;const n=t.replace(/^[mM]'?\//,"").split("/");let r=this;for(const i of n){const o=/^(\d+)('?)$/.exec(i),s=o&&o[1];if(!o||o.length!==3||typeof s!="string")throw new Error(`Invalid child index: ${i}`);let a=+s;if(!Number.isSafeInteger(a)||a>=km)throw new Error("Invalid index");o[2]==="'"&&(a+=km),r=r.deriveChild(a)}return r}deriveChild(t){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let n=Ud(t);if(t>=km){const a=this.privateKey;if(!a)throw new Error("Could not derive hardened child key");n=yu(new Uint8Array([0]),a,n)}else n=yu(this.pubKey,n);const r=cf(ip,this.chainCode,n),i=B2(r.slice(0,32)),o=r.slice(32);if(!li.utils.isValidPrivateKey(i))throw new Error("Tweak bigger than curve order");const s={versions:this.versions,chainCode:o,depth:this.depth+1,parentFingerprint:this.fingerprint,index:t};try{if(this.privateKey){const a=Tn(this.privKey+i,li.CURVE.n);if(!li.utils.isValidPrivateKey(a))throw new Error("The tweak was out of range or the resulted private key is invalid");s.privateKey=a}else{const a=Fd.fromHex(this.pubKey).add(Fd.fromPrivateKey(i));if(a.equals(Fd.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");s.publicKey=a.toRawBytes(!0)}return new qa(s)}catch{return this.deriveChild(t+1)}}sign(t){if(!this.privateKey)throw new Error("No privateKey set!");return Fr(t,32),li.sign(t,this.privKey).toCompactRawBytes()}verify(t,n){if(Fr(t,32),Fr(n,64),!this.publicKey)throw new Error("No publicKey set!");let r;try{r=li.Signature.fromCompact(n)}catch{return!1}return li.verify(r,t,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(t,n){if(!this.chainCode)throw new Error("No chainCode set");return Fr(n,33),yu(Ud(t),new Uint8Array([this.depth]),Ud(this.parentFingerprint),Ud(this.index),this.chainCode,n)}};const EI=e=>{if(e.length===0)throw new Error("Array cannot be empty");const t=Math.floor(Math.random()*e.length);return e[t]};function px(e,t){return function(){return e.apply(t,arguments)}}const{toString:SI}=Object.prototype,{getPrototypeOf:Cb}=Object,t0=(e=>t=>{const n=SI.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Gr=e=>(e=e.toLowerCase(),t=>t0(t)===e),n0=e=>t=>typeof t===e,{isArray:ac}=Array,ff=n0("undefined");function kI(e){return e!==null&&!ff(e)&&e.constructor!==null&&!ff(e.constructor)&&or(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const mx=Gr("ArrayBuffer");function CI(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&mx(e.buffer),t}const AI=n0("string"),or=n0("function"),gx=n0("number"),r0=e=>e!==null&&typeof e=="object",TI=e=>e===!0||e===!1,bh=e=>{if(t0(e)!=="object")return!1;const t=Cb(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},II=Gr("Date"),$I=Gr("File"),PI=Gr("Blob"),OI=Gr("FileList"),RI=e=>r0(e)&&or(e.pipe),LI=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||or(e.append)&&((t=t0(e))==="formdata"||t==="object"&&or(e.toString)&&e.toString()==="[object FormData]"))},BI=Gr("URLSearchParams"),[NI,MI,jI,DI]=["ReadableStream","Request","Response","Headers"].map(Gr),FI=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Jf(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ac(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Xs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,bx=e=>!ff(e)&&e!==Xs;function m1(){const{caseless:e}=bx(this)&&this||{},t={},n=(r,i)=>{const o=e&&yx(t,i)||i;bh(t[o])&&bh(r)?t[o]=m1(t[o],r):bh(r)?t[o]=m1({},r):ac(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(Jf(t,(i,o)=>{n&&or(i)?e[o]=px(i,n):e[o]=i},{allOwnKeys:r}),e),HI=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),zI=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},WI=(e,t,n,r)=>{let i,o,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Cb(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},VI=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},qI=e=>{if(!e)return null;if(ac(e))return e;let t=e.length;if(!gx(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},GI=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Cb(Uint8Array)),KI=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},ZI=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},XI=Gr("HTMLFormElement"),YI=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),N2=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),QI=Gr("RegExp"),vx=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Jf(n,(i,o)=>{let s;(s=t(i,o,e))!==!1&&(r[o]=s||i)}),Object.defineProperties(e,r)},JI=e=>{vx(e,(t,n)=>{if(or(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(or(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},e$=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return ac(e)?r(e):r(String(e).split(t)),n},t$=()=>{},n$=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Cm="abcdefghijklmnopqrstuvwxyz",M2="0123456789",wx={DIGIT:M2,ALPHA:Cm,ALPHA_DIGIT:Cm+Cm.toUpperCase()+M2},r$=(e=16,t=wx.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function i$(e){return!!(e&&or(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const o$=e=>{const t=new Array(10),n=(r,i)=>{if(r0(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=ac(r)?[]:{};return Jf(r,(s,a)=>{const l=n(s,i+1);!ff(l)&&(o[a]=l)}),t[i]=void 0,o}}return r};return n(e,0)},s$=Gr("AsyncFunction"),a$=e=>e&&(r0(e)||or(e))&&or(e.then)&&or(e.catch),_x=((e,t)=>e?setImmediate:t?((n,r)=>(Xs.addEventListener("message",({source:i,data:o})=>{i===Xs&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),Xs.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",or(Xs.postMessage)),l$=typeof queueMicrotask<"u"?queueMicrotask.bind(Xs):typeof process<"u"&&process.nextTick||_x,q={isArray:ac,isArrayBuffer:mx,isBuffer:kI,isFormData:LI,isArrayBufferView:CI,isString:AI,isNumber:gx,isBoolean:TI,isObject:r0,isPlainObject:bh,isReadableStream:NI,isRequest:MI,isResponse:jI,isHeaders:DI,isUndefined:ff,isDate:II,isFile:$I,isBlob:PI,isRegExp:QI,isFunction:or,isStream:RI,isURLSearchParams:BI,isTypedArray:GI,isFileList:OI,forEach:Jf,merge:m1,extend:UI,trim:FI,stripBOM:HI,inherits:zI,toFlatObject:WI,kindOf:t0,kindOfTest:Gr,endsWith:VI,toArray:qI,forEachEntry:KI,matchAll:ZI,isHTMLForm:XI,hasOwnProperty:N2,hasOwnProp:N2,reduceDescriptors:vx,freezeMethods:JI,toObjectSet:e$,toCamelCase:YI,noop:t$,toFiniteNumber:n$,findKey:yx,global:Xs,isContextDefined:bx,ALPHABET:wx,generateString:r$,isSpecCompliantForm:i$,toJSONObject:o$,isAsyncFn:s$,isThenable:a$,setImmediate:_x,asap:l$};function Oe(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}q.inherits(Oe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.status}}});const xx=Oe.prototype,Ex={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ex[e]={value:e}});Object.defineProperties(Oe,Ex);Object.defineProperty(xx,"isAxiosError",{value:!0});Oe.from=(e,t,n,r,i,o)=>{const s=Object.create(xx);return q.toFlatObject(e,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Oe.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const c$=null;function g1(e){return q.isPlainObject(e)||q.isArray(e)}function Sx(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function j2(e,t,n){return e?e.concat(t).map(function(i,o){return i=Sx(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function u$(e){return q.isArray(e)&&!e.some(g1)}const f$=q.toFlatObject(q,{},null,function(t){return/^is[A-Z]/.test(t)});function i0(e,t,n){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,y){return!q.isUndefined(y[h])});const r=n.metaTokens,i=n.visitor||d,o=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(i))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(q.isDate(p))return p.toISOString();if(!l&&q.isBlob(p))throw new Oe("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(p)||q.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function d(p,h,y){let g=p;if(p&&!y&&typeof p=="object"){if(q.endsWith(h,"{}"))h=r?h:h.slice(0,-2),p=JSON.stringify(p);else if(q.isArray(p)&&u$(p)||(q.isFileList(p)||q.endsWith(h,"[]"))&&(g=q.toArray(p)))return h=Sx(h),g.forEach(function(v,w){!(q.isUndefined(v)||v===null)&&t.append(s===!0?j2([h],w,o):s===null?h:h+"[]",u(v))}),!1}return g1(p)?!0:(t.append(j2(y,h,o),u(p)),!1)}const c=[],f=Object.assign(f$,{defaultVisitor:d,convertValue:u,isVisitable:g1});function m(p,h){if(!q.isUndefined(p)){if(c.indexOf(p)!==-1)throw Error("Circular reference detected in "+h.join("."));c.push(p),q.forEach(p,function(g,b){(!(q.isUndefined(g)||g===null)&&i.call(t,g,q.isString(b)?b.trim():b,h,f))===!0&&m(g,h?h.concat(b):[b])}),c.pop()}}if(!q.isObject(e))throw new TypeError("data must be an object");return m(e),t}function D2(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ab(e,t){this._pairs=[],e&&i0(e,this,t)}const kx=Ab.prototype;kx.append=function(t,n){this._pairs.push([t,n])};kx.toString=function(t){const n=t?function(r){return t.call(this,r,D2)}:D2;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function d$(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Cx(e,t,n){if(!t)return e;const r=n&&n.encode||d$,i=n&&n.serialize;let o;if(i?o=i(t,n):o=q.isURLSearchParams(t)?t.toString():new Ab(t,n).toString(r),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class F2{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){q.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ax={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},h$=typeof URLSearchParams<"u"?URLSearchParams:Ab,p$=typeof FormData<"u"?FormData:null,m$=typeof Blob<"u"?Blob:null,g$={isBrowser:!0,classes:{URLSearchParams:h$,FormData:p$,Blob:m$},protocols:["http","https","file","blob","url","data"]},Tb=typeof window<"u"&&typeof document<"u",y1=typeof navigator=="object"&&navigator||void 0,y$=Tb&&(!y1||["ReactNative","NativeScript","NS"].indexOf(y1.product)<0),b$=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",v$=Tb&&window.location.href||"http://localhost",w$=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Tb,hasStandardBrowserEnv:y$,hasStandardBrowserWebWorkerEnv:b$,navigator:y1,origin:v$},Symbol.toStringTag,{value:"Module"})),zn={...w$,...g$};function _$(e,t){return i0(e,new zn.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return zn.isNode&&q.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function x$(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function E$(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return s=!s&&q.isArray(i)?i.length:s,l?(q.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!q.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],o)&&q.isArray(i[s])&&(i[s]=E$(i[s])),!a)}if(q.isFormData(e)&&q.isFunction(e.entries)){const n={};return q.forEachEntry(e,(r,i)=>{t(x$(r),i,n,0)}),n}return null}function S$(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ed={transitional:Ax,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=q.isObject(t);if(o&&q.isHTMLForm(t)&&(t=new FormData(t)),q.isFormData(t))return i?JSON.stringify(Tx(t)):t;if(q.isArrayBuffer(t)||q.isBuffer(t)||q.isStream(t)||q.isFile(t)||q.isBlob(t)||q.isReadableStream(t))return t;if(q.isArrayBufferView(t))return t.buffer;if(q.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return _$(t,this.formSerializer).toString();if((a=q.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return i0(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),S$(t)):t}],transformResponse:[function(t){const n=this.transitional||ed.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(q.isResponse(t)||q.isReadableStream(t))return t;if(t&&q.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?Oe.from(a,Oe.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:zn.classes.FormData,Blob:zn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],e=>{ed.headers[e]={}});const k$=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),C$=e=>{const t={};let n,r,i;return e&&e.split(`
-`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&k$[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},U2=Symbol("internals");function ou(e){return e&&String(e).trim().toLowerCase()}function vh(e){return e===!1||e==null?e:q.isArray(e)?e.map(vh):String(e)}function A$(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const T$=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Am(e,t,n,r,i){if(q.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!q.isString(t)){if(q.isString(r))return t.indexOf(r)!==-1;if(q.isRegExp(r))return r.test(t)}}function I$(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function $$(e,t){const n=q.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,s){return this[r].call(this,t,i,o,s)},configurable:!0})})}class Wn{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(a,l,u){const d=ou(l);if(!d)throw new Error("header name must be a non-empty string");const c=q.findKey(i,d);(!c||i[c]===void 0||u===!0||u===void 0&&i[c]!==!1)&&(i[c||l]=vh(a))}const s=(a,l)=>q.forEach(a,(u,d)=>o(u,d,l));if(q.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(q.isString(t)&&(t=t.trim())&&!T$(t))s(C$(t),n);else if(q.isHeaders(t))for(const[a,l]of t.entries())o(l,a,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=ou(t),t){const r=q.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return A$(i);if(q.isFunction(n))return n.call(this,i,r);if(q.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ou(t),t){const r=q.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Am(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(s){if(s=ou(s),s){const a=q.findKey(r,s);a&&(!n||Am(r,r[a],a,n))&&(delete r[a],i=!0)}}return q.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||Am(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return q.forEach(this,(i,o)=>{const s=q.findKey(r,o);if(s){n[s]=vh(i),delete n[o];return}const a=t?I$(o):String(o).trim();a!==o&&delete n[o],n[a]=vh(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return q.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&q.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
-`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[U2]=this[U2]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=ou(s);r[a]||($$(i,s),r[a]=!0)}return q.isArray(t)?t.forEach(o):o(t),this}}Wn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.reduceDescriptors(Wn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});q.freezeMethods(Wn);function Tm(e,t){const n=this||ed,r=t||n,i=Wn.from(r.headers);let o=r.data;return q.forEach(e,function(a){o=a.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function Ix(e){return!!(e&&e.__CANCEL__)}function lc(e,t,n){Oe.call(this,e??"canceled",Oe.ERR_CANCELED,t,n),this.name="CanceledError"}q.inherits(lc,Oe,{__CANCEL__:!0});function $x(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Oe("Request failed with status code "+n.status,[Oe.ERR_BAD_REQUEST,Oe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function P$(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function O$(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,s;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),d=r[o];s||(s=u),n[i]=l,r[i]=u;let c=o,f=0;for(;c!==i;)f+=n[c++],c=c%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-s{n=d,i=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const d=Date.now(),c=d-n;c>=r?s(u,d):(i=u,o||(o=setTimeout(()=>{o=null,s(i)},r-c)))},()=>i&&s(i)]}const ap=(e,t,n=3)=>{let r=0;const i=O$(50,250);return R$(o=>{const s=o.loaded,a=o.lengthComputable?o.total:void 0,l=s-r,u=i(l),d=s<=a;r=s;const c={loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&d?(a-s)/u:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(c)},n)},H2=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},z2=e=>(...t)=>q.asap(()=>e(...t)),L$=zn.hasStandardBrowserEnv?function(){const t=zn.navigator&&/(msie|trident)/i.test(zn.navigator.userAgent),n=document.createElement("a");let r;function i(o){let s=o;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=q.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),B$=zn.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const s=[e+"="+encodeURIComponent(t)];q.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),q.isString(r)&&s.push("path="+r),q.isString(i)&&s.push("domain="+i),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function N$(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function M$(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Px(e,t){return e&&!N$(t)?M$(e,t):t}const W2=e=>e instanceof Wn?{...e}:e;function ya(e,t){t=t||{};const n={};function r(u,d,c){return q.isPlainObject(u)&&q.isPlainObject(d)?q.merge.call({caseless:c},u,d):q.isPlainObject(d)?q.merge({},d):q.isArray(d)?d.slice():d}function i(u,d,c){if(q.isUndefined(d)){if(!q.isUndefined(u))return r(void 0,u,c)}else return r(u,d,c)}function o(u,d){if(!q.isUndefined(d))return r(void 0,d)}function s(u,d){if(q.isUndefined(d)){if(!q.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function a(u,d,c){if(c in t)return r(u,d);if(c in e)return r(void 0,u)}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(u,d)=>i(W2(u),W2(d),!0)};return q.forEach(Object.keys(Object.assign({},e,t)),function(d){const c=l[d]||i,f=c(e[d],t[d],d);q.isUndefined(f)&&c!==a||(n[d]=f)}),n}const Ox=e=>{const t=ya({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:s,auth:a}=t;t.headers=s=Wn.from(s),t.url=Cx(Px(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(q.isFormData(n)){if(zn.hasStandardBrowserEnv||zn.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((l=s.getContentType())!==!1){const[u,...d]=l?l.split(";").map(c=>c.trim()).filter(Boolean):[];s.setContentType([u||"multipart/form-data",...d].join("; "))}}if(zn.hasStandardBrowserEnv&&(r&&q.isFunction(r)&&(r=r(t)),r||r!==!1&&L$(t.url))){const u=i&&o&&B$.read(o);u&&s.set(i,u)}return t},j$=typeof XMLHttpRequest<"u",D$=j$&&function(e){return new Promise(function(n,r){const i=Ox(e);let o=i.data;const s=Wn.from(i.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=i,d,c,f,m,p;function h(){m&&m(),p&&p(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let y=new XMLHttpRequest;y.open(i.method.toUpperCase(),i.url,!0),y.timeout=i.timeout;function g(){if(!y)return;const v=Wn.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),E={data:!a||a==="text"||a==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:v,config:e,request:y};$x(function(k){n(k),h()},function(k){r(k),h()},E),y=null}"onloadend"in y?y.onloadend=g:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(g)},y.onabort=function(){y&&(r(new Oe("Request aborted",Oe.ECONNABORTED,e,y)),y=null)},y.onerror=function(){r(new Oe("Network Error",Oe.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let w=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const E=i.transitional||Ax;i.timeoutErrorMessage&&(w=i.timeoutErrorMessage),r(new Oe(w,E.clarifyTimeoutError?Oe.ETIMEDOUT:Oe.ECONNABORTED,e,y)),y=null},o===void 0&&s.setContentType(null),"setRequestHeader"in y&&q.forEach(s.toJSON(),function(w,E){y.setRequestHeader(E,w)}),q.isUndefined(i.withCredentials)||(y.withCredentials=!!i.withCredentials),a&&a!=="json"&&(y.responseType=i.responseType),u&&([f,p]=ap(u,!0),y.addEventListener("progress",f)),l&&y.upload&&([c,m]=ap(l),y.upload.addEventListener("progress",c),y.upload.addEventListener("loadend",m)),(i.cancelToken||i.signal)&&(d=v=>{y&&(r(!v||v.type?new lc(null,e,y):v),y.abort(),y=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const b=P$(i.url);if(b&&zn.protocols.indexOf(b)===-1){r(new Oe("Unsupported protocol "+b+":",Oe.ERR_BAD_REQUEST,e));return}y.send(o||null)})},F$=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const o=function(u){if(!i){i=!0,a();const d=u instanceof Error?u:this.reason;r.abort(d instanceof Oe?d:new lc(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,o(new Oe(`timeout ${t} of ms exceeded`,Oe.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>q.asap(a),l}},U$=function*(e,t){let n=e.byteLength;if(!t||n{const i=H$(e,t);let o=0,s,a=l=>{s||(s=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:d}=await i.next();if(u){a(),l.close();return}let c=d.byteLength;if(n){let f=o+=c;n(f)}l.enqueue(new Uint8Array(d))}catch(u){throw a(u),u}},cancel(l){return a(l),i.return()}},{highWaterMark:2})},o0=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Rx=o0&&typeof ReadableStream=="function",W$=o0&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Lx=(e,...t)=>{try{return!!e(...t)}catch{return!1}},V$=Rx&&Lx(()=>{let e=!1;const t=new Request(zn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),q2=64*1024,b1=Rx&&Lx(()=>q.isReadableStream(new Response("").body)),lp={stream:b1&&(e=>e.body)};o0&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!lp[t]&&(lp[t]=q.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Oe(`Response type '${t}' is not supported`,Oe.ERR_NOT_SUPPORT,r)})})})(new Response);const q$=async e=>{if(e==null)return 0;if(q.isBlob(e))return e.size;if(q.isSpecCompliantForm(e))return(await new Request(zn.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(q.isArrayBufferView(e)||q.isArrayBuffer(e))return e.byteLength;if(q.isURLSearchParams(e)&&(e=e+""),q.isString(e))return(await W$(e)).byteLength},G$=async(e,t)=>{const n=q.toFiniteNumber(e.getContentLength());return n??q$(t)},K$=o0&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:u,headers:d,withCredentials:c="same-origin",fetchOptions:f}=Ox(e);u=u?(u+"").toLowerCase():"text";let m=F$([i,o&&o.toAbortSignal()],s),p;const h=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let y;try{if(l&&V$&&n!=="get"&&n!=="head"&&(y=await G$(d,r))!==0){let E=new Request(t,{method:"POST",body:r,duplex:"half"}),C;if(q.isFormData(r)&&(C=E.headers.get("content-type"))&&d.setContentType(C),E.body){const[k,_]=H2(y,ap(z2(l)));r=V2(E.body,q2,k,_)}}q.isString(c)||(c=c?"include":"omit");const g="credentials"in Request.prototype;p=new Request(t,{...f,signal:m,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:g?c:void 0});let b=await fetch(p);const v=b1&&(u==="stream"||u==="response");if(b1&&(a||v&&h)){const E={};["status","statusText","headers"].forEach(S=>{E[S]=b[S]});const C=q.toFiniteNumber(b.headers.get("content-length")),[k,_]=a&&H2(C,ap(z2(a),!0))||[];b=new Response(V2(b.body,q2,k,()=>{_&&_(),h&&h()}),E)}u=u||"text";let w=await lp[q.findKey(lp,u)||"text"](b,e);return!v&&h&&h(),await new Promise((E,C)=>{$x(E,C,{data:w,headers:Wn.from(b.headers),status:b.status,statusText:b.statusText,config:e,request:p})})}catch(g){throw h&&h(),g&&g.name==="TypeError"&&/fetch/i.test(g.message)?Object.assign(new Oe("Network Error",Oe.ERR_NETWORK,e,p),{cause:g.cause||g}):Oe.from(g,g&&g.code,e,p)}}),v1={http:c$,xhr:D$,fetch:K$};q.forEach(v1,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const G2=e=>`- ${e}`,Z$=e=>q.isFunction(e)||e===null||e===!1,Bx={getAdapter:e=>{e=q.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=t?o.length>1?`since :
-`+o.map(G2).join(`
-`):" "+G2(o[0]):"as no adapter specified";throw new Oe("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:v1};function Im(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new lc(null,e)}function K2(e){return Im(e),e.headers=Wn.from(e.headers),e.data=Tm.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Bx.getAdapter(e.adapter||ed.adapter)(e).then(function(r){return Im(e),r.data=Tm.call(e,e.transformResponse,r),r.headers=Wn.from(r.headers),r},function(r){return Ix(r)||(Im(e),r&&r.response&&(r.response.data=Tm.call(e,e.transformResponse,r.response),r.response.headers=Wn.from(r.response.headers))),Promise.reject(r)})}const Nx="1.7.7",Ib={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ib[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Z2={};Ib.transitional=function(t,n,r){function i(o,s){return"[Axios v"+Nx+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return(o,s,a)=>{if(t===!1)throw new Oe(i(s," has been removed"+(n?" in "+n:"")),Oe.ERR_DEPRECATED);return n&&!Z2[s]&&(Z2[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,s,a):!0}};function X$(e,t,n){if(typeof e!="object")throw new Oe("options must be an object",Oe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],s=t[o];if(s){const a=e[o],l=a===void 0||s(a,o,e);if(l!==!0)throw new Oe("option "+o+" must be "+l,Oe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Oe("Unknown option "+o,Oe.ERR_BAD_OPTION)}}const w1={assertOptions:X$,validators:Ib},Io=w1.validators;class sa{constructor(t){this.defaults=t,this.interceptors={request:new F2,response:new F2}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
-`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ya(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&w1.assertOptions(r,{silentJSONParsing:Io.transitional(Io.boolean),forcedJSONParsing:Io.transitional(Io.boolean),clarifyTimeoutError:Io.transitional(Io.boolean)},!1),i!=null&&(q.isFunction(i)?n.paramsSerializer={serialize:i}:w1.assertOptions(i,{encode:Io.function,serialize:Io.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=o&&q.merge(o.common,o[n.method]);o&&q.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=Wn.concat(s,o);const a=[];let l=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(l=l&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let d,c=0,f;if(!l){const p=[K2.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,u),f=p.length,d=Promise.resolve(n);c{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{r.subscribe(a),o=a}).then(i);return s.cancel=function(){r.unsubscribe(o)},s},t(function(o,s,a){r.reason||(r.reason=new lc(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new $b(function(i){t=i}),cancel:t}}}function Y$(e){return function(n){return e.apply(null,n)}}function Q$(e){return q.isObject(e)&&e.isAxiosError===!0}const _1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(_1).forEach(([e,t])=>{_1[t]=e});function Mx(e){const t=new sa(e),n=px(sa.prototype.request,t);return q.extend(n,sa.prototype,t,{allOwnKeys:!0}),q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Mx(ya(e,i))},n}const Nt=Mx(ed);Nt.Axios=sa;Nt.CanceledError=lc;Nt.CancelToken=$b;Nt.isCancel=Ix;Nt.VERSION=Nx;Nt.toFormData=i0;Nt.AxiosError=Oe;Nt.Cancel=Nt.CanceledError;Nt.all=function(t){return Promise.all(t)};Nt.spread=Y$;Nt.isAxiosError=Q$;Nt.mergeConfig=ya;Nt.AxiosHeaders=Wn;Nt.formToJSON=e=>Tx(q.isHTMLForm(e)?new FormData(e):e);Nt.getAdapter=Bx.getAdapter;Nt.HttpStatusCode=_1;Nt.default=Nt;const J$="1.0.5";let Cr=class x1 extends Error{constructor(t,n={}){var s;const r=n.cause instanceof x1?n.cause.details:(s=n.cause)!=null&&s.message?n.cause.message:n.details,i=n.cause instanceof x1&&n.cause.docsPath||n.docsPath,o=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...i?[`Docs: https://abitype.dev${i}`]:[],...r?[`Details: ${r}`]:[],`Version: abitype@${J$}`].join(`
-`);super(o),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),n.cause&&(this.cause=n.cause),this.details=r,this.docsPath=i,this.metaMessages=n.metaMessages,this.shortMessage=t}};function vs(e,t){const n=e.exec(t);return n==null?void 0:n.groups}const jx=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,Dx=/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,Fx=/^\(.+?\).*?$/,X2=/^tuple(?(\[(\d*)\])*)$/;function E1(e){let t=e.type;if(X2.test(e.type)&&"components"in e){t="(";const n=e.components.length;for(let i=0;i[a-zA-Z$_][a-zA-Z0-9$_]*)\((?.*?)\)$/;function tP(e){return Ux.test(e)}function nP(e){return vs(Ux,e)}const Hx=/^event (?[a-zA-Z$_][a-zA-Z0-9$_]*)\((?.*?)\)$/;function rP(e){return Hx.test(e)}function iP(e){return vs(Hx,e)}const zx=/^function (?[a-zA-Z$_][a-zA-Z0-9$_]*)\((?.*?)\)(?: (?external|public{1}))?(?: (?pure|view|nonpayable|payable{1}))?(?: returns\s?\((?.*?)\))?$/;function oP(e){return zx.test(e)}function sP(e){return vs(zx,e)}const Wx=/^struct (?[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?.*?)\}$/;function Vx(e){return Wx.test(e)}function aP(e){return vs(Wx,e)}const qx=/^constructor\((?.*?)\)(?:\s(?payable{1}))?$/;function lP(e){return qx.test(e)}function cP(e){return vs(qx,e)}const uP=/^fallback\(\) external(?:\s(?payable{1}))?$/;function fP(e){return uP.test(e)}const dP=/^receive\(\) external payable$/;function hP(e){return dP.test(e)}const pP=new Set(["indexed"]),S1=new Set(["calldata","memory","storage"]);class mP extends Cr{constructor({type:t}){super("Unknown type.",{metaMessages:[`Type "${t}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}class gP extends Cr{constructor({type:t}){super("Unknown type.",{metaMessages:[`Type "${t}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}class yP extends Cr{constructor({param:t}){super("Invalid ABI parameter.",{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class bP extends Cr{constructor({param:t,name:n}){super("Invalid ABI parameter.",{details:t,metaMessages:[`"${n}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}class vP extends Cr{constructor({param:t,type:n,modifier:r}){super("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${r}" not allowed${n?` in "${n}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}class wP extends Cr{constructor({param:t,type:n,modifier:r}){super("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${r}" not allowed${n?` in "${n}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${r}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}class _P extends Cr{constructor({abiParameter:t}){super("Invalid ABI parameter.",{details:JSON.stringify(t,null,2),metaMessages:["ABI parameter type is invalid."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}class bu extends Cr{constructor({signature:t,type:n}){super(`Invalid ${n} signature.`,{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}class xP extends Cr{constructor({signature:t}){super("Unknown signature.",{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class EP extends Cr{constructor({signature:t}){super("Invalid struct signature.",{details:t,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}class SP extends Cr{constructor({type:t}){super("Circular reference detected.",{metaMessages:[`Struct "${t}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}class kP extends Cr{constructor({current:t,depth:n}){super("Unbalanced parentheses.",{metaMessages:[`"${t.trim()}" has too many ${n>0?"opening":"closing"} parentheses.`],details:`Depth "${n}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}function CP(e,t){return t?`${t}:${e}`:e}const $m=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]);function AP(e,t={}){if(oP(e)){const n=sP(e);if(!n)throw new bu({signature:e,type:"function"});const r=Ur(n.parameters),i=[],o=r.length;for(let a=0;a[a-zA-Z$_][a-zA-Z0-9$_]*)(?(?:\[\d*?\])+?)?(?:\s(?calldata|indexed|memory|storage{1}))?(?:\s(?[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,IP=/^\((?.+?)\)(?(?:\[\d*?\])+?)?(?:\s(?calldata|indexed|memory|storage{1}))?(?:\s(?[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,$P=/^u?int$/;function Ws(e,t){var c,f;const n=CP(e,t==null?void 0:t.type);if($m.has(n))return $m.get(n);const r=Fx.test(e),i=vs(r?IP:TP,e);if(!i)throw new yP({param:e});if(i.name&&OP(i.name))throw new bP({param:e,name:i.name});const o=i.name?{name:i.name}:{},s=i.modifier==="indexed"?{indexed:!0}:{},a=(t==null?void 0:t.structs)??{};let l,u={};if(r){l="tuple";const m=Ur(i.type),p=[],h=m.length;for(let y=0;y[a-zA-Z$_][a-zA-Z0-9$_]*)(?(?:\[\d*?\])+?)?$/;function Kx(e,t,n=new Set){const r=[],i=e.length;for(let o=0;ot(e,o)}function no(e,{includeName:t=!1}={}){if(e.type!=="function"&&e.type!=="event"&&e.type!=="error")throw new KP(e.type);return`${e.name}(${s0(e.inputs,{includeName:t})})`}function s0(e,{includeName:t=!1}={}){return e?e.map(n=>NP(n,{includeName:t})).join(t?", ":","):""}function NP(e,{includeName:t}){return e.type.startsWith("tuple")?`(${s0(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")}function Er(e,{strict:t=!0}={}){return!e||typeof e!="string"?!1:t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x")}function At(e){return Er(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}const Xx="2.21.6";let Hd={getDocsUrl:({docsBaseUrl:e,docsPath:t="",docsSlug:n})=>t?`${e??"https://viem.sh"}${t}${n?`#${n}`:""}`:void 0,version:Xx},J=class k1 extends Error{constructor(t,n={}){var a;const r=(()=>{var l;return n.cause instanceof k1?n.cause.details:(l=n.cause)!=null&&l.message?n.cause.message:n.details})(),i=n.cause instanceof k1&&n.cause.docsPath||n.docsPath,o=(a=Hd.getDocsUrl)==null?void 0:a.call(Hd,{...n,docsPath:i}),s=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...o?[`Docs: ${o}`]:[],...r?[`Details: ${r}`]:[],`Version: ${Hd.version}`].join(`
+`),RT=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),ix=new Uint8Array(new Array(16).fill(0).map((e,t)=>t)),LT=ix.map(e=>(9*e+5)%16);let wb=[ix],_b=[LT];for(let e=0;e<4;e++)for(let t of[wb,_b])t.push(t[e].map(n=>RT[n]));const ox=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(e=>new Uint8Array(e)),BT=wb.map((e,t)=>e.map(n=>ox[t][n])),NT=_b.map((e,t)=>e.map(n=>ox[t][n])),MT=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),jT=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]);function C2(e,t,n,r){return e===0?t^n^r:e===1?t&n|~t&r:e===2?(t|~n)^r:e===3?t&r|n&~r:t^(n|~r)}const Dd=new Uint32Array(16);let DT=class extends bb{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:t,h1:n,h2:r,h3:i,h4:o}=this;return[t,n,r,i,o]}set(t,n,r,i,o){this.h0=t|0,this.h1=n|0,this.h2=r|0,this.h3=i|0,this.h4=o|0}process(t,n){for(let m=0;m<16;m++,n+=4)Dd[m]=t.getUint32(n,!0);let r=this.h0|0,i=r,o=this.h1|0,s=o,a=this.h2|0,l=a,u=this.h3|0,d=u,c=this.h4|0,f=c;for(let m=0;m<5;m++){const p=4-m,h=MT[m],y=jT[m],g=wb[m],b=_b[m],v=BT[m],w=NT[m];for(let E=0;E<16;E++){const C=Nd(r+C2(m,o,a,u)+Dd[g[E]]+h,v[E])+c|0;r=c,c=u,u=Nd(a,10)|0,a=o,o=C}for(let E=0;E<16;E++){const C=Nd(i+C2(p,s,l,d)+Dd[b[E]]+y,w[E])+f|0;i=f,f=d,d=Nd(l,10)|0,l=s,s=C}}this.set(this.h1+a+d|0,this.h2+u+f|0,this.h3+c+i|0,this.h4+r+s|0,this.h0+o+l|0)}roundClean(){Dd.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}};const FT=gb(()=>new DT);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const xb=BigInt(0),Jp=BigInt(1),UT=BigInt(2);function ga(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function Yf(e){if(!ga(e))throw new Error("Uint8Array expected")}function Ml(e,t){if(typeof t!="boolean")throw new Error(`${e} must be valid boolean, got "${t}".`)}const HT=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function jl(e){Yf(e);let t="";for(let n=0;n=Mi._0&&e<=Mi._9)return e-Mi._0;if(e>=Mi._A&&e<=Mi._F)return e-(Mi._A-10);if(e>=Mi._a&&e<=Mi._f)return e-(Mi._a-10)}function Dl(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);const t=e.length,n=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);const r=new Uint8Array(n);for(let i=0,o=0;itypeof e=="bigint"&&xb<=e;function e0(e,t,n){return vm(e)&&vm(t)&&vm(n)&&t<=e&&exb;e>>=Jp,t+=1);return t}function qT(e,t){return e>>BigInt(t)&Jp}function GT(e,t,n){return e|(n?Jp:xb)<(UT<new Uint8Array(e),T2=e=>Uint8Array.from(e);function ax(e,t,n){if(typeof e!="number"||e<2)throw new Error("hashLen must be a number");if(typeof t!="number"||t<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");let r=wm(e),i=wm(e),o=0;const s=()=>{r.fill(1),i.fill(0),o=0},a=(...c)=>n(i,r,...c),l=(c=wm())=>{i=a(T2([0]),c),r=a(),c.length!==0&&(i=a(T2([1]),c),r=a())},u=()=>{if(o++>=1e3)throw new Error("drbg: tried 1000 values");let c=0;const f=[];for(;c{s(),l(c);let m;for(;!(m=f(u()));)l();return s(),m}}const KT={bigint:e=>typeof e=="bigint",function:e=>typeof e=="function",boolean:e=>typeof e=="boolean",string:e=>typeof e=="string",stringOrUint8Array:e=>typeof e=="string"||ga(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>typeof e=="function"&&Number.isSafeInteger(e.outputLen)};function Qf(e,t,n={}){const r=(i,o,s)=>{const a=KT[o];if(typeof a!="function")throw new Error(`Invalid validator "${o}", expected function`);const l=e[i];if(!(s&&l===void 0)&&!a(l,e))throw new Error(`Invalid param ${String(i)}=${l} (${typeof l}), expected ${o}`)};for(const[i,o]of Object.entries(t))r(i,o,!1);for(const[i,o]of Object.entries(n))r(i,o,!0);return e}const ZT=()=>{throw new Error("not implemented")};function u1(e){const t=new WeakMap;return(n,...r)=>{const i=t.get(n);if(i!==void 0)return i;const o=e(n,...r);return t.set(n,o),o}}const XT=Object.freeze(Object.defineProperty({__proto__:null,aInRange:oa,abool:Ml,abytes:Yf,bitGet:qT,bitLen:sx,bitMask:Cb,bitSet:GT,bytesToHex:jl,bytesToNumberBE:ia,bytesToNumberLE:Sb,concatBytes:uf,createHmacDrbg:ax,ensureBytes:Br,equalBytes:WT,hexToBytes:Dl,hexToNumber:Eb,inRange:e0,isBytes:ga,memoized:u1,notImplemented:ZT,numberToBytesBE:Fl,numberToBytesLE:kb,numberToHexUnpadded:ul,numberToVarBytesBE:zT,utf8ToBytes:VT,validateObject:Qf},Symbol.toStringTag,{value:"Module"}));/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const tn=BigInt(0),$t=BigInt(1),zs=BigInt(2),YT=BigInt(3),f1=BigInt(4),I2=BigInt(5),$2=BigInt(8);BigInt(9);BigInt(16);function Tn(e,t){const n=e%t;return n>=tn?n:t+n}function QT(e,t,n){if(n<=tn||t 0");if(n===$t)return tn;let r=$t;for(;t>tn;)t&$t&&(r=r*e%n),e=e*e%n,t>>=$t;return r}function hr(e,t,n){let r=e;for(;t-- >tn;)r*=r,r%=n;return r}function d1(e,t){if(e===tn||t<=tn)throw new Error(`invert: expected positive integers, got n=${e} mod=${t}`);let n=Tn(e,t),r=t,i=tn,o=$t;for(;n!==tn;){const a=r/n,l=r%n,u=i-o*a;r=n,n=l,i=o,o=u}if(r!==$t)throw new Error("invert: does not exist");return Tn(i,t)}function JT(e){const t=(e-$t)/zs;let n,r,i;for(n=e-$t,r=0;n%zs===tn;n/=zs,r++);for(i=zs;i(r[i]="function",r),t);return Qf(e,n)}function rI(e,t,n){if(n 0");if(n===tn)return e.ONE;if(n===$t)return t;let r=e.ONE,i=t;for(;n>tn;)n&$t&&(r=e.mul(r,i)),i=e.sqr(i),n>>=$t;return r}function iI(e,t){const n=new Array(t.length),r=t.reduce((o,s,a)=>e.is0(s)?o:(n[a]=o,e.mul(o,s)),e.ONE),i=e.inv(r);return t.reduceRight((o,s,a)=>e.is0(s)?o:(n[a]=e.mul(o,n[a]),e.mul(o,s)),i),n}function lx(e,t){const n=t!==void 0?t:e.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function cx(e,t,n=!1,r={}){if(e<=tn)throw new Error(`Expected Field ORDER > 0, got ${e}`);const{nBitLength:i,nByteLength:o}=lx(e,t);if(o>2048)throw new Error("Field lengths over 2048 bytes are not supported");const s=eI(e),a=Object.freeze({ORDER:e,BITS:i,BYTES:o,MASK:Cb(i),ZERO:tn,ONE:$t,create:l=>Tn(l,e),isValid:l=>{if(typeof l!="bigint")throw new Error(`Invalid field element: expected bigint, got ${typeof l}`);return tn<=l&&ll===tn,isOdd:l=>(l&$t)===$t,neg:l=>Tn(-l,e),eql:(l,u)=>l===u,sqr:l=>Tn(l*l,e),add:(l,u)=>Tn(l+u,e),sub:(l,u)=>Tn(l-u,e),mul:(l,u)=>Tn(l*u,e),pow:(l,u)=>rI(a,l,u),div:(l,u)=>Tn(l*d1(u,e),e),sqrN:l=>l*l,addN:(l,u)=>l+u,subN:(l,u)=>l-u,mulN:(l,u)=>l*u,inv:l=>d1(l,e),sqrt:r.sqrt||(l=>s(a,l)),invertBatch:l=>iI(a,l),cmov:(l,u,d)=>d?u:l,toBytes:l=>n?kb(l,o):Fl(l,o),fromBytes:l=>{if(l.length!==o)throw new Error(`Fp.fromBytes: expected ${o}, got ${l.length}`);return n?Sb(l):ia(l)}});return Object.freeze(a)}function ux(e){if(typeof e!="bigint")throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function fx(e){const t=ux(e);return t+Math.ceil(t/2)}function oI(e,t,n=!1){const r=e.length,i=ux(t),o=fx(t);if(r<16||r1024)throw new Error(`expected ${o}-1024 bytes of input, got ${r}`);const s=n?ia(e):Sb(e),a=Tn(s,t-$t)+$t;return n?kb(a,i):Fl(a,i)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const sI=BigInt(0),_m=BigInt(1),xm=new WeakMap,P2=new WeakMap;function aI(e,t){const n=(o,s)=>{const a=s.negate();return o?a:s},r=o=>{if(!Number.isSafeInteger(o)||o<=0||o>t)throw new Error(`Wrong window size=${o}, should be [1..${t}]`)},i=o=>{r(o);const s=Math.ceil(t/o)+1,a=2**(o-1);return{windows:s,windowSize:a}};return{constTimeNegate:n,unsafeLadder(o,s){let a=e.ZERO,l=o;for(;s>sI;)s&_m&&(a=a.add(l)),l=l.double(),s>>=_m;return a},precomputeWindow(o,s){const{windows:a,windowSize:l}=i(s),u=[];let d=o,c=d;for(let f=0;f>=p,g>u&&(g-=m,a+=_m);const b=y,v=y+Math.abs(g)-1,w=h%2!==0,E=g<0;g===0?c=c.add(n(w,s[b])):d=d.add(n(E,s[v]))}return{p:d,f:c}},wNAFCached(o,s,a){const l=P2.get(o)||1;let u=xm.get(o);return u||(u=this.precomputeWindow(o,l),l!==1&&xm.set(o,a(u))),this.wNAF(l,u,s)},setWindowSize(o,s){r(s),P2.set(o,s),xm.delete(o)}}}function lI(e,t,n,r){if(!Array.isArray(n)||!Array.isArray(r)||r.length!==n.length)throw new Error("arrays of points and scalars must have equal length");r.forEach((d,c)=>{if(!t.isValid(d))throw new Error(`wrong scalar at index ${c}`)}),n.forEach((d,c)=>{if(!(d instanceof e))throw new Error(`wrong point at index ${c}`)});const i=sx(BigInt(n.length)),o=i>12?i-3:i>4?i-2:i?2:1,s=(1<=0;d-=o){a.fill(e.ZERO);for(let f=0;f>BigInt(d)&BigInt(s));a[p]=a[p].add(n[f])}let c=e.ZERO;for(let f=a.length-1,m=e.ZERO;f>0;f--)m=m.add(a[f]),c=c.add(m);if(u=u.add(c),d!==0)for(let f=0;f{const{Err:n}=Wi;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(t.length&1)throw new n("tlv.encode: unpadded data");const r=t.length/2,i=ul(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");const o=r>127?ul(i.length/2|128):"";return`${ul(e)}${o}${i}${t}`},decode(e,t){const{Err:n}=Wi;let r=0;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(t.length<2||t[r++]!==e)throw new n("tlv.decode: wrong tlv");const i=t[r++],o=!!(i&128);let s=0;if(!o)s=i;else{const l=i&127;if(!l)throw new n("tlv.decode(long): indefinite length not supported");if(l>4)throw new n("tlv.decode(long): byte length is too big");const u=t.subarray(r,r+l);if(u.length!==l)throw new n("tlv.decode: length bytes not complete");if(u[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const d of u)s=s<<8|d;if(r+=l,s<128)throw new n("tlv.decode(long): not minimal encoding")}const a=t.subarray(r,r+s);if(a.length!==s)throw new n("tlv.decode: wrong value length");return{v:a,l:t.subarray(r+s)}}},_int:{encode(e){const{Err:t}=Wi;if(e{const b=y.toAffine();return uf(Uint8Array.from([4]),n.toBytes(b.x),n.toBytes(b.y))}),o=t.fromBytes||(h=>{const y=h.subarray(1),g=n.fromBytes(y.subarray(0,n.BYTES)),b=n.fromBytes(y.subarray(n.BYTES,2*n.BYTES));return{x:g,y:b}});function s(h){const{a:y,b:g}=t,b=n.sqr(h),v=n.mul(b,h);return n.add(n.add(v,n.mul(h,y)),g)}if(!n.eql(n.sqr(t.Gy),s(t.Gx)))throw new Error("bad generator point: equation left != right");function a(h){return e0(h,Jt,t.n)}function l(h){const{allowedPrivateKeyLengths:y,nByteLength:g,wrapPrivateKey:b,n:v}=t;if(y&&typeof h!="bigint"){if(ga(h)&&(h=jl(h)),typeof h!="string"||!y.includes(h.length))throw new Error("Invalid key");h=h.padStart(g*2,"0")}let w;try{w=typeof h=="bigint"?h:ia(Br("private key",h,g))}catch{throw new Error(`private key must be ${g} bytes, hex or bigint, not ${typeof h}`)}return b&&(w=Tn(w,v)),oa("private key",w,Jt,v),w}function u(h){if(!(h instanceof f))throw new Error("ProjectivePoint expected")}const d=u1((h,y)=>{const{px:g,py:b,pz:v}=h;if(n.eql(v,n.ONE))return{x:g,y:b};const w=h.is0();y==null&&(y=w?n.ONE:n.inv(v));const E=n.mul(g,y),C=n.mul(b,y),k=n.mul(v,y);if(w)return{x:n.ZERO,y:n.ZERO};if(!n.eql(k,n.ONE))throw new Error("invZ was invalid");return{x:E,y:C}}),c=u1(h=>{if(h.is0()){if(t.allowInfinityPoint&&!n.is0(h.py))return;throw new Error("bad point: ZERO")}const{x:y,y:g}=h.toAffine();if(!n.isValid(y)||!n.isValid(g))throw new Error("bad point: x or y not FE");const b=n.sqr(g),v=s(y);if(!n.eql(b,v))throw new Error("bad point: equation left != right");if(!h.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class f{constructor(y,g,b){if(this.px=y,this.py=g,this.pz=b,y==null||!n.isValid(y))throw new Error("x required");if(g==null||!n.isValid(g))throw new Error("y required");if(b==null||!n.isValid(b))throw new Error("z required");Object.freeze(this)}static fromAffine(y){const{x:g,y:b}=y||{};if(!y||!n.isValid(g)||!n.isValid(b))throw new Error("invalid affine point");if(y instanceof f)throw new Error("projective point not allowed");const v=w=>n.eql(w,n.ZERO);return v(g)&&v(b)?f.ZERO:new f(g,b,n.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(y){const g=n.invertBatch(y.map(b=>b.pz));return y.map((b,v)=>b.toAffine(g[v])).map(f.fromAffine)}static fromHex(y){const g=f.fromAffine(o(Br("pointHex",y)));return g.assertValidity(),g}static fromPrivateKey(y){return f.BASE.multiply(l(y))}static msm(y,g){return lI(f,r,y,g)}_setWindowSize(y){p.setWindowSize(this,y)}assertValidity(){c(this)}hasEvenY(){const{y}=this.toAffine();if(n.isOdd)return!n.isOdd(y);throw new Error("Field doesn't support isOdd")}equals(y){u(y);const{px:g,py:b,pz:v}=this,{px:w,py:E,pz:C}=y,k=n.eql(n.mul(g,C),n.mul(w,v)),_=n.eql(n.mul(b,C),n.mul(E,v));return k&&_}negate(){return new f(this.px,n.neg(this.py),this.pz)}double(){const{a:y,b:g}=t,b=n.mul(g,R2),{px:v,py:w,pz:E}=this;let C=n.ZERO,k=n.ZERO,_=n.ZERO,S=n.mul(v,v),A=n.mul(w,w),I=n.mul(E,E),L=n.mul(v,w);return L=n.add(L,L),_=n.mul(v,E),_=n.add(_,_),C=n.mul(y,_),k=n.mul(b,I),k=n.add(C,k),C=n.sub(A,k),k=n.add(A,k),k=n.mul(C,k),C=n.mul(L,C),_=n.mul(b,_),I=n.mul(y,I),L=n.sub(S,I),L=n.mul(y,L),L=n.add(L,_),_=n.add(S,S),S=n.add(_,S),S=n.add(S,I),S=n.mul(S,L),k=n.add(k,S),I=n.mul(w,E),I=n.add(I,I),S=n.mul(I,L),C=n.sub(C,S),_=n.mul(I,A),_=n.add(_,_),_=n.add(_,_),new f(C,k,_)}add(y){u(y);const{px:g,py:b,pz:v}=this,{px:w,py:E,pz:C}=y;let k=n.ZERO,_=n.ZERO,S=n.ZERO;const A=t.a,I=n.mul(t.b,R2);let L=n.mul(g,w),F=n.mul(b,E),N=n.mul(v,C),R=n.add(g,b),B=n.add(w,E);R=n.mul(R,B),B=n.add(L,F),R=n.sub(R,B),B=n.add(g,v);let V=n.add(w,C);return B=n.mul(B,V),V=n.add(L,N),B=n.sub(B,V),V=n.add(b,v),k=n.add(E,C),V=n.mul(V,k),k=n.add(F,N),V=n.sub(V,k),S=n.mul(A,B),k=n.mul(I,N),S=n.add(k,S),k=n.sub(F,S),S=n.add(F,S),_=n.mul(k,S),F=n.add(L,L),F=n.add(F,L),N=n.mul(A,N),B=n.mul(I,B),F=n.add(F,N),N=n.sub(L,N),N=n.mul(A,N),B=n.add(B,N),L=n.mul(F,B),_=n.add(_,L),L=n.mul(V,B),k=n.mul(R,k),k=n.sub(k,L),L=n.mul(R,F),S=n.mul(V,S),S=n.add(S,L),new f(k,_,S)}subtract(y){return this.add(y.negate())}is0(){return this.equals(f.ZERO)}wNAF(y){return p.wNAFCached(this,y,f.normalizeZ)}multiplyUnsafe(y){oa("scalar",y,Vi,t.n);const g=f.ZERO;if(y===Vi)return g;if(y===Jt)return this;const{endo:b}=t;if(!b)return p.unsafeLadder(this,y);let{k1neg:v,k1:w,k2neg:E,k2:C}=b.splitScalar(y),k=g,_=g,S=this;for(;w>Vi||C>Vi;)w&Jt&&(k=k.add(S)),C&Jt&&(_=_.add(S)),S=S.double(),w>>=Jt,C>>=Jt;return v&&(k=k.negate()),E&&(_=_.negate()),_=new f(n.mul(_.px,b.beta),_.py,_.pz),k.add(_)}multiply(y){const{endo:g,n:b}=t;oa("scalar",y,Jt,b);let v,w;if(g){const{k1neg:E,k1:C,k2neg:k,k2:_}=g.splitScalar(y);let{p:S,f:A}=this.wNAF(C),{p:I,f:L}=this.wNAF(_);S=p.constTimeNegate(E,S),I=p.constTimeNegate(k,I),I=new f(n.mul(I.px,g.beta),I.py,I.pz),v=S.add(I),w=A.add(L)}else{const{p:E,f:C}=this.wNAF(y);v=E,w=C}return f.normalizeZ([v,w])[0]}multiplyAndAddUnsafe(y,g,b){const v=f.BASE,w=(C,k)=>k===Vi||k===Jt||!C.equals(v)?C.multiplyUnsafe(k):C.multiply(k),E=w(this,g).add(w(y,b));return E.is0()?void 0:E}toAffine(y){return d(this,y)}isTorsionFree(){const{h:y,isTorsionFree:g}=t;if(y===Jt)return!0;if(g)return g(f,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:y,clearCofactor:g}=t;return y===Jt?this:g?g(f,this):this.multiplyUnsafe(t.h)}toRawBytes(y=!0){return Ml("isCompressed",y),this.assertValidity(),i(f,this,y)}toHex(y=!0){return Ml("isCompressed",y),jl(this.toRawBytes(y))}}f.BASE=new f(t.Gx,t.Gy,n.ONE),f.ZERO=new f(n.ZERO,n.ONE,n.ZERO);const m=t.nBitLength,p=aI(f,t.endo?Math.ceil(m/2):m);return{CURVE:t,ProjectivePoint:f,normPrivateKeyToScalar:l,weierstrassEquation:s,isWithinCurveOrder:a}}function hI(e){const t=dx(e);return Qf(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}function pI(e){const t=hI(e),{Fp:n,n:r}=t,i=n.BYTES+1,o=2*n.BYTES+1;function s(N){return Tn(N,r)}function a(N){return d1(N,r)}const{ProjectivePoint:l,normPrivateKeyToScalar:u,weierstrassEquation:d,isWithinCurveOrder:c}=dI({...t,toBytes(N,R,B){const V=R.toAffine(),j=n.toBytes(V.x),W=uf;return Ml("isCompressed",B),B?W(Uint8Array.from([R.hasEvenY()?2:3]),j):W(Uint8Array.from([4]),j,n.toBytes(V.y))},fromBytes(N){const R=N.length,B=N[0],V=N.subarray(1);if(R===i&&(B===2||B===3)){const j=ia(V);if(!e0(j,Jt,n.ORDER))throw new Error("Point is not on curve");const W=d(j);let Y;try{Y=n.sqrt(W)}catch(Z){const pe=Z instanceof Error?": "+Z.message:"";throw new Error("Point is not on curve"+pe)}const te=(Y&Jt)===Jt;return(B&1)===1!==te&&(Y=n.neg(Y)),{x:j,y:Y}}else if(R===o&&B===4){const j=n.fromBytes(V.subarray(0,n.BYTES)),W=n.fromBytes(V.subarray(n.BYTES,2*n.BYTES));return{x:j,y:W}}else throw new Error(`Point of length ${R} was invalid. Expected ${i} compressed bytes or ${o} uncompressed bytes`)}}),f=N=>jl(Fl(N,t.nByteLength));function m(N){const R=r>>Jt;return N>R}function p(N){return m(N)?s(-N):N}const h=(N,R,B)=>ia(N.slice(R,B));class y{constructor(R,B,V){this.r=R,this.s=B,this.recovery=V,this.assertValidity()}static fromCompact(R){const B=t.nByteLength;return R=Br("compactSignature",R,B*2),new y(h(R,0,B),h(R,B,2*B))}static fromDER(R){const{r:B,s:V}=Wi.toSig(Br("DER",R));return new y(B,V)}assertValidity(){oa("r",this.r,Jt,r),oa("s",this.s,Jt,r)}addRecoveryBit(R){return new y(this.r,this.s,R)}recoverPublicKey(R){const{r:B,s:V,recovery:j}=this,W=C(Br("msgHash",R));if(j==null||![0,1,2,3].includes(j))throw new Error("recovery id invalid");const Y=j===2||j===3?B+t.n:B;if(Y>=n.ORDER)throw new Error("recovery id 2 or 3 invalid");const te=j&1?"03":"02",ae=l.fromHex(te+f(Y)),Z=a(Y),pe=s(-W*Z),Ie=s(V*Z),_e=l.BASE.multiplyAndAddUnsafe(ae,pe,Ie);if(!_e)throw new Error("point at infinify");return _e.assertValidity(),_e}hasHighS(){return m(this.s)}normalizeS(){return this.hasHighS()?new y(this.r,s(-this.s),this.recovery):this}toDERRawBytes(){return Dl(this.toDERHex())}toDERHex(){return Wi.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return Dl(this.toCompactHex())}toCompactHex(){return f(this.r)+f(this.s)}}const g={isValidPrivateKey(N){try{return u(N),!0}catch{return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{const N=fx(t.n);return oI(t.randomBytes(N),t.n)},precompute(N=8,R=l.BASE){return R._setWindowSize(N),R.multiply(BigInt(3)),R}};function b(N,R=!0){return l.fromPrivateKey(N).toRawBytes(R)}function v(N){const R=ga(N),B=typeof N=="string",V=(R||B)&&N.length;return R?V===i||V===o:B?V===2*i||V===2*o:N instanceof l}function w(N,R,B=!0){if(v(N))throw new Error("first arg must be private key");if(!v(R))throw new Error("second arg must be public key");return l.fromHex(R).multiply(u(N)).toRawBytes(B)}const E=t.bits2int||function(N){const R=ia(N),B=N.length*8-t.nBitLength;return B>0?R>>BigInt(B):R},C=t.bits2int_modN||function(N){return s(E(N))},k=Cb(t.nBitLength);function _(N){return oa(`num < 2^${t.nBitLength}`,N,Vi,k),Fl(N,t.nByteLength)}function S(N,R,B=A){if(["recovered","canonical"].some(le=>le in B))throw new Error("sign() legacy options not supported");const{hash:V,randomBytes:j}=t;let{lowS:W,prehash:Y,extraEntropy:te}=B;W==null&&(W=!0),N=Br("msgHash",N),O2(B),Y&&(N=Br("prehashed msgHash",V(N)));const ae=C(N),Z=u(R),pe=[_(Z),_(ae)];if(te!=null&&te!==!1){const le=te===!0?j(n.BYTES):te;pe.push(Br("extraEntropy",le))}const Ie=uf(...pe),_e=ae;function Ce(le){const $e=E(le);if(!c($e))return;const rt=a($e),je=l.BASE.multiply($e).toAffine(),nt=s(je.x);if(nt===Vi)return;const Le=s(rt*s(_e+nt*Z));if(Le===Vi)return;let _t=(je.x===nt?0:2)|Number(je.y&Jt),Kn=Le;return W&&m(Le)&&(Kn=p(Le),_t^=1),new y(nt,Kn,_t)}return{seed:Ie,k2sig:Ce}}const A={lowS:t.lowS,prehash:!1},I={lowS:t.lowS,prehash:!1};function L(N,R,B=A){const{seed:V,k2sig:j}=S(N,R,B),W=t;return ax(W.hash.outputLen,W.nByteLength,W.hmac)(V,j)}l.BASE._setWindowSize(8);function F(N,R,B,V=I){var je;const j=N;if(R=Br("msgHash",R),B=Br("publicKey",B),"strict"in V)throw new Error("options.strict was renamed to lowS");O2(V);const{lowS:W,prehash:Y}=V;let te,ae;try{if(typeof j=="string"||ga(j))try{te=y.fromDER(j)}catch(nt){if(!(nt instanceof Wi.Err))throw nt;te=y.fromCompact(j)}else if(typeof j=="object"&&typeof j.r=="bigint"&&typeof j.s=="bigint"){const{r:nt,s:Le}=j;te=new y(nt,Le)}else throw new Error("PARSE");ae=l.fromHex(B)}catch(nt){if(nt.message==="PARSE")throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(W&&te.hasHighS())return!1;Y&&(R=t.hash(R));const{r:Z,s:pe}=te,Ie=C(R),_e=a(pe),Ce=s(Ie*_e),le=s(Z*_e),$e=(je=l.BASE.multiplyAndAddUnsafe(ae,Ce,le))==null?void 0:je.toAffine();return $e?s($e.x)===Z:!1}return{CURVE:t,getPublicKey:b,getSharedSecret:w,sign:L,verify:F,ProjectivePoint:l,Signature:y,utils:g}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function mI(e){return{hash:e,hmac:(t,...n)=>cf(e,t,yu(...n)),randomBytes:yb}}function gI(e,t){const n=r=>pI({...e,...mI(r)});return Object.freeze({...n(t),create:n})}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const hx=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),L2=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),yI=BigInt(1),h1=BigInt(2),B2=(e,t)=>(e+t/h1)/t;function bI(e){const t=hx,n=BigInt(3),r=BigInt(6),i=BigInt(11),o=BigInt(22),s=BigInt(23),a=BigInt(44),l=BigInt(88),u=e*e*e%t,d=u*u*e%t,c=hr(d,n,t)*d%t,f=hr(c,n,t)*d%t,m=hr(f,h1,t)*u%t,p=hr(m,i,t)*m%t,h=hr(p,o,t)*p%t,y=hr(h,a,t)*h%t,g=hr(y,l,t)*y%t,b=hr(g,a,t)*h%t,v=hr(b,n,t)*d%t,w=hr(v,s,t)*p%t,E=hr(w,r,t)*u%t,C=hr(E,h1,t);if(!p1.eql(p1.sqr(C),e))throw new Error("Cannot find square root");return C}const p1=cx(hx,void 0,void 0,{sqrt:bI}),li=gI({a:BigInt(0),b:BigInt(7),Fp:p1,n:L2,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{const t=L2,n=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-yI*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),i=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),o=n,s=BigInt("0x100000000000000000000000000000000"),a=B2(o*e,t),l=B2(-r*e,t);let u=Tn(e-a*n-l*i,t),d=Tn(-a*r-l*o,t);const c=u>s,f=d>s;if(c&&(u=t-u),f&&(d=t-d),u>s||d>s)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:c,k1:u,k2neg:f,k2:d}}}},ra);BigInt(0);li.ProjectivePoint;/*! scure-bip32 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */const Fd=li.ProjectivePoint,Em=ex(ra);function N2(e){return BigInt(`0x${nr(e)}`)}function vI(e){return Hs(e.toString(16).padStart(64,"0"))}const wI=mb("Bitcoin seed"),Sm={private:76066276,public:76067358},km=2147483648,_I=e=>FT(ra(e)),xI=e=>ns(e).getUint32(0,!1),Ud=e=>{if(!Number.isSafeInteger(e)||e<0||e>2**32-1)throw new Error(`Invalid number=${e}. Should be from 0 to 2 ** 32 - 1`);const t=new Uint8Array(4);return ns(t).setUint32(0,e,!1),t};let iu=class Ga{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return xI(this.pubHash)}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const t=this.privateKey;if(!t)throw new Error("No private key");return Em.encode(this.serialize(this.versions.private,yu(new Uint8Array([0]),t)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return Em.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(t,n=Sm){if(Fr(t),8*t.length<128||8*t.length>512)throw new Error(`HDKey: wrong seed length=${t.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const r=cf(ip,wI,t);return new Ga({versions:n,chainCode:r.slice(32),privateKey:r.slice(0,32)})}static fromExtendedKey(t,n=Sm){const r=Em.decode(t),i=ns(r),o=i.getUint32(0,!1),s={versions:n,depth:r[4],parentFingerprint:i.getUint32(5,!1),index:i.getUint32(9,!1),chainCode:r.slice(13,45)},a=r.slice(45),l=a[0]===0;if(o!==n[l?"private":"public"])throw new Error("Version mismatch");return l?new Ga({...s,privateKey:a.slice(1)}):new Ga({...s,publicKey:a})}static fromJSON(t){return Ga.fromExtendedKey(t.xpriv)}constructor(t){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!t||typeof t!="object")throw new Error("HDKey.constructor must not be called directly");if(this.versions=t.versions||Sm,this.depth=t.depth||0,this.chainCode=t.chainCode||null,this.index=t.index||0,this.parentFingerprint=t.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(t.publicKey&&t.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(t.privateKey){if(!li.utils.isValidPrivateKey(t.privateKey))throw new Error("Invalid private key");this.privKey=typeof t.privateKey=="bigint"?t.privateKey:N2(t.privateKey),this.privKeyBytes=vI(this.privKey),this.pubKey=li.getPublicKey(t.privateKey,!0)}else if(t.publicKey)this.pubKey=Fd.fromHex(t.publicKey).toRawBytes(!0);else throw new Error("HDKey: no public or private key provided");this.pubHash=_I(this.pubKey)}derive(t){if(!/^[mM]'?/.test(t))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(t))return this;const n=t.replace(/^[mM]'?\//,"").split("/");let r=this;for(const i of n){const o=/^(\d+)('?)$/.exec(i),s=o&&o[1];if(!o||o.length!==3||typeof s!="string")throw new Error(`Invalid child index: ${i}`);let a=+s;if(!Number.isSafeInteger(a)||a>=km)throw new Error("Invalid index");o[2]==="'"&&(a+=km),r=r.deriveChild(a)}return r}deriveChild(t){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let n=Ud(t);if(t>=km){const a=this.privateKey;if(!a)throw new Error("Could not derive hardened child key");n=yu(new Uint8Array([0]),a,n)}else n=yu(this.pubKey,n);const r=cf(ip,this.chainCode,n),i=N2(r.slice(0,32)),o=r.slice(32);if(!li.utils.isValidPrivateKey(i))throw new Error("Tweak bigger than curve order");const s={versions:this.versions,chainCode:o,depth:this.depth+1,parentFingerprint:this.fingerprint,index:t};try{if(this.privateKey){const a=Tn(this.privKey+i,li.CURVE.n);if(!li.utils.isValidPrivateKey(a))throw new Error("The tweak was out of range or the resulted private key is invalid");s.privateKey=a}else{const a=Fd.fromHex(this.pubKey).add(Fd.fromPrivateKey(i));if(a.equals(Fd.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");s.publicKey=a.toRawBytes(!0)}return new Ga(s)}catch{return this.deriveChild(t+1)}}sign(t){if(!this.privateKey)throw new Error("No privateKey set!");return Fr(t,32),li.sign(t,this.privKey).toCompactRawBytes()}verify(t,n){if(Fr(t,32),Fr(n,64),!this.publicKey)throw new Error("No publicKey set!");let r;try{r=li.Signature.fromCompact(n)}catch{return!1}return li.verify(r,t,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(t,n){if(!this.chainCode)throw new Error("No chainCode set");return Fr(n,33),yu(Ud(t),new Uint8Array([this.depth]),Ud(this.parentFingerprint),Ud(this.index),this.chainCode,n)}};const EI=e=>{if(e.length===0)throw new Error("Array cannot be empty");const t=Math.floor(Math.random()*e.length);return e[t]};function px(e,t){return function(){return e.apply(t,arguments)}}const{toString:SI}=Object.prototype,{getPrototypeOf:Ab}=Object,t0=(e=>t=>{const n=SI.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Gr=e=>(e=e.toLowerCase(),t=>t0(t)===e),n0=e=>t=>typeof t===e,{isArray:ac}=Array,ff=n0("undefined");function kI(e){return e!==null&&!ff(e)&&e.constructor!==null&&!ff(e.constructor)&&or(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const mx=Gr("ArrayBuffer");function CI(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&mx(e.buffer),t}const AI=n0("string"),or=n0("function"),gx=n0("number"),r0=e=>e!==null&&typeof e=="object",TI=e=>e===!0||e===!1,bh=e=>{if(t0(e)!=="object")return!1;const t=Ab(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},II=Gr("Date"),$I=Gr("File"),PI=Gr("Blob"),OI=Gr("FileList"),RI=e=>r0(e)&&or(e.pipe),LI=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||or(e.append)&&((t=t0(e))==="formdata"||t==="object"&&or(e.toString)&&e.toString()==="[object FormData]"))},BI=Gr("URLSearchParams"),[NI,MI,jI,DI]=["ReadableStream","Request","Response","Headers"].map(Gr),FI=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Jf(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ac(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Xs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,bx=e=>!ff(e)&&e!==Xs;function m1(){const{caseless:e}=bx(this)&&this||{},t={},n=(r,i)=>{const o=e&&yx(t,i)||i;bh(t[o])&&bh(r)?t[o]=m1(t[o],r):bh(r)?t[o]=m1({},r):ac(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(Jf(t,(i,o)=>{n&&or(i)?e[o]=px(i,n):e[o]=i},{allOwnKeys:r}),e),HI=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),zI=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},WI=(e,t,n,r)=>{let i,o,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Ab(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},VI=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},qI=e=>{if(!e)return null;if(ac(e))return e;let t=e.length;if(!gx(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},GI=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ab(Uint8Array)),KI=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},ZI=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},XI=Gr("HTMLFormElement"),YI=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),M2=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),QI=Gr("RegExp"),vx=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Jf(n,(i,o)=>{let s;(s=t(i,o,e))!==!1&&(r[o]=s||i)}),Object.defineProperties(e,r)},JI=e=>{vx(e,(t,n)=>{if(or(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(or(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},e$=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return ac(e)?r(e):r(String(e).split(t)),n},t$=()=>{},n$=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Cm="abcdefghijklmnopqrstuvwxyz",j2="0123456789",wx={DIGIT:j2,ALPHA:Cm,ALPHA_DIGIT:Cm+Cm.toUpperCase()+j2},r$=(e=16,t=wx.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function i$(e){return!!(e&&or(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const o$=e=>{const t=new Array(10),n=(r,i)=>{if(r0(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=ac(r)?[]:{};return Jf(r,(s,a)=>{const l=n(s,i+1);!ff(l)&&(o[a]=l)}),t[i]=void 0,o}}return r};return n(e,0)},s$=Gr("AsyncFunction"),a$=e=>e&&(r0(e)||or(e))&&or(e.then)&&or(e.catch),_x=((e,t)=>e?setImmediate:t?((n,r)=>(Xs.addEventListener("message",({source:i,data:o})=>{i===Xs&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),Xs.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",or(Xs.postMessage)),l$=typeof queueMicrotask<"u"?queueMicrotask.bind(Xs):typeof process<"u"&&process.nextTick||_x,q={isArray:ac,isArrayBuffer:mx,isBuffer:kI,isFormData:LI,isArrayBufferView:CI,isString:AI,isNumber:gx,isBoolean:TI,isObject:r0,isPlainObject:bh,isReadableStream:NI,isRequest:MI,isResponse:jI,isHeaders:DI,isUndefined:ff,isDate:II,isFile:$I,isBlob:PI,isRegExp:QI,isFunction:or,isStream:RI,isURLSearchParams:BI,isTypedArray:GI,isFileList:OI,forEach:Jf,merge:m1,extend:UI,trim:FI,stripBOM:HI,inherits:zI,toFlatObject:WI,kindOf:t0,kindOfTest:Gr,endsWith:VI,toArray:qI,forEachEntry:KI,matchAll:ZI,isHTMLForm:XI,hasOwnProperty:M2,hasOwnProp:M2,reduceDescriptors:vx,freezeMethods:JI,toObjectSet:e$,toCamelCase:YI,noop:t$,toFiniteNumber:n$,findKey:yx,global:Xs,isContextDefined:bx,ALPHABET:wx,generateString:r$,isSpecCompliantForm:i$,toJSONObject:o$,isAsyncFn:s$,isThenable:a$,setImmediate:_x,asap:l$};function Oe(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}q.inherits(Oe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.status}}});const xx=Oe.prototype,Ex={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ex[e]={value:e}});Object.defineProperties(Oe,Ex);Object.defineProperty(xx,"isAxiosError",{value:!0});Oe.from=(e,t,n,r,i,o)=>{const s=Object.create(xx);return q.toFlatObject(e,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Oe.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const c$=null;function g1(e){return q.isPlainObject(e)||q.isArray(e)}function Sx(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function D2(e,t,n){return e?e.concat(t).map(function(i,o){return i=Sx(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function u$(e){return q.isArray(e)&&!e.some(g1)}const f$=q.toFlatObject(q,{},null,function(t){return/^is[A-Z]/.test(t)});function i0(e,t,n){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,y){return!q.isUndefined(y[h])});const r=n.metaTokens,i=n.visitor||d,o=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(i))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(q.isDate(p))return p.toISOString();if(!l&&q.isBlob(p))throw new Oe("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(p)||q.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function d(p,h,y){let g=p;if(p&&!y&&typeof p=="object"){if(q.endsWith(h,"{}"))h=r?h:h.slice(0,-2),p=JSON.stringify(p);else if(q.isArray(p)&&u$(p)||(q.isFileList(p)||q.endsWith(h,"[]"))&&(g=q.toArray(p)))return h=Sx(h),g.forEach(function(v,w){!(q.isUndefined(v)||v===null)&&t.append(s===!0?D2([h],w,o):s===null?h:h+"[]",u(v))}),!1}return g1(p)?!0:(t.append(D2(y,h,o),u(p)),!1)}const c=[],f=Object.assign(f$,{defaultVisitor:d,convertValue:u,isVisitable:g1});function m(p,h){if(!q.isUndefined(p)){if(c.indexOf(p)!==-1)throw Error("Circular reference detected in "+h.join("."));c.push(p),q.forEach(p,function(g,b){(!(q.isUndefined(g)||g===null)&&i.call(t,g,q.isString(b)?b.trim():b,h,f))===!0&&m(g,h?h.concat(b):[b])}),c.pop()}}if(!q.isObject(e))throw new TypeError("data must be an object");return m(e),t}function F2(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Tb(e,t){this._pairs=[],e&&i0(e,this,t)}const kx=Tb.prototype;kx.append=function(t,n){this._pairs.push([t,n])};kx.toString=function(t){const n=t?function(r){return t.call(this,r,F2)}:F2;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function d$(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Cx(e,t,n){if(!t)return e;const r=n&&n.encode||d$,i=n&&n.serialize;let o;if(i?o=i(t,n):o=q.isURLSearchParams(t)?t.toString():new Tb(t,n).toString(r),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class U2{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){q.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ax={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},h$=typeof URLSearchParams<"u"?URLSearchParams:Tb,p$=typeof FormData<"u"?FormData:null,m$=typeof Blob<"u"?Blob:null,g$={isBrowser:!0,classes:{URLSearchParams:h$,FormData:p$,Blob:m$},protocols:["http","https","file","blob","url","data"]},Ib=typeof window<"u"&&typeof document<"u",y1=typeof navigator=="object"&&navigator||void 0,y$=Ib&&(!y1||["ReactNative","NativeScript","NS"].indexOf(y1.product)<0),b$=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",v$=Ib&&window.location.href||"http://localhost",w$=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ib,hasStandardBrowserEnv:y$,hasStandardBrowserWebWorkerEnv:b$,navigator:y1,origin:v$},Symbol.toStringTag,{value:"Module"})),zn={...w$,...g$};function _$(e,t){return i0(e,new zn.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return zn.isNode&&q.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function x$(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function E$(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return s=!s&&q.isArray(i)?i.length:s,l?(q.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!q.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],o)&&q.isArray(i[s])&&(i[s]=E$(i[s])),!a)}if(q.isFormData(e)&&q.isFunction(e.entries)){const n={};return q.forEachEntry(e,(r,i)=>{t(x$(r),i,n,0)}),n}return null}function S$(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ed={transitional:Ax,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=q.isObject(t);if(o&&q.isHTMLForm(t)&&(t=new FormData(t)),q.isFormData(t))return i?JSON.stringify(Tx(t)):t;if(q.isArrayBuffer(t)||q.isBuffer(t)||q.isStream(t)||q.isFile(t)||q.isBlob(t)||q.isReadableStream(t))return t;if(q.isArrayBufferView(t))return t.buffer;if(q.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return _$(t,this.formSerializer).toString();if((a=q.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return i0(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),S$(t)):t}],transformResponse:[function(t){const n=this.transitional||ed.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(q.isResponse(t)||q.isReadableStream(t))return t;if(t&&q.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?Oe.from(a,Oe.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:zn.classes.FormData,Blob:zn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],e=>{ed.headers[e]={}});const k$=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),C$=e=>{const t={};let n,r,i;return e&&e.split(`
+`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&k$[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},H2=Symbol("internals");function ou(e){return e&&String(e).trim().toLowerCase()}function vh(e){return e===!1||e==null?e:q.isArray(e)?e.map(vh):String(e)}function A$(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const T$=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Am(e,t,n,r,i){if(q.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!q.isString(t)){if(q.isString(r))return t.indexOf(r)!==-1;if(q.isRegExp(r))return r.test(t)}}function I$(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function $$(e,t){const n=q.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,s){return this[r].call(this,t,i,o,s)},configurable:!0})})}class Wn{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(a,l,u){const d=ou(l);if(!d)throw new Error("header name must be a non-empty string");const c=q.findKey(i,d);(!c||i[c]===void 0||u===!0||u===void 0&&i[c]!==!1)&&(i[c||l]=vh(a))}const s=(a,l)=>q.forEach(a,(u,d)=>o(u,d,l));if(q.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(q.isString(t)&&(t=t.trim())&&!T$(t))s(C$(t),n);else if(q.isHeaders(t))for(const[a,l]of t.entries())o(l,a,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=ou(t),t){const r=q.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return A$(i);if(q.isFunction(n))return n.call(this,i,r);if(q.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ou(t),t){const r=q.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Am(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(s){if(s=ou(s),s){const a=q.findKey(r,s);a&&(!n||Am(r,r[a],a,n))&&(delete r[a],i=!0)}}return q.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||Am(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return q.forEach(this,(i,o)=>{const s=q.findKey(r,o);if(s){n[s]=vh(i),delete n[o];return}const a=t?I$(o):String(o).trim();a!==o&&delete n[o],n[a]=vh(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return q.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&q.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
+`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[H2]=this[H2]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=ou(s);r[a]||($$(i,s),r[a]=!0)}return q.isArray(t)?t.forEach(o):o(t),this}}Wn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.reduceDescriptors(Wn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});q.freezeMethods(Wn);function Tm(e,t){const n=this||ed,r=t||n,i=Wn.from(r.headers);let o=r.data;return q.forEach(e,function(a){o=a.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function Ix(e){return!!(e&&e.__CANCEL__)}function lc(e,t,n){Oe.call(this,e??"canceled",Oe.ERR_CANCELED,t,n),this.name="CanceledError"}q.inherits(lc,Oe,{__CANCEL__:!0});function $x(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Oe("Request failed with status code "+n.status,[Oe.ERR_BAD_REQUEST,Oe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function P$(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function O$(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,s;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),d=r[o];s||(s=u),n[i]=l,r[i]=u;let c=o,f=0;for(;c!==i;)f+=n[c++],c=c%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-s{n=d,i=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const d=Date.now(),c=d-n;c>=r?s(u,d):(i=u,o||(o=setTimeout(()=>{o=null,s(i)},r-c)))},()=>i&&s(i)]}const ap=(e,t,n=3)=>{let r=0;const i=O$(50,250);return R$(o=>{const s=o.loaded,a=o.lengthComputable?o.total:void 0,l=s-r,u=i(l),d=s<=a;r=s;const c={loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&d?(a-s)/u:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(c)},n)},z2=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},W2=e=>(...t)=>q.asap(()=>e(...t)),L$=zn.hasStandardBrowserEnv?function(){const t=zn.navigator&&/(msie|trident)/i.test(zn.navigator.userAgent),n=document.createElement("a");let r;function i(o){let s=o;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=q.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),B$=zn.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const s=[e+"="+encodeURIComponent(t)];q.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),q.isString(r)&&s.push("path="+r),q.isString(i)&&s.push("domain="+i),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function N$(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function M$(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Px(e,t){return e&&!N$(t)?M$(e,t):t}const V2=e=>e instanceof Wn?{...e}:e;function ya(e,t){t=t||{};const n={};function r(u,d,c){return q.isPlainObject(u)&&q.isPlainObject(d)?q.merge.call({caseless:c},u,d):q.isPlainObject(d)?q.merge({},d):q.isArray(d)?d.slice():d}function i(u,d,c){if(q.isUndefined(d)){if(!q.isUndefined(u))return r(void 0,u,c)}else return r(u,d,c)}function o(u,d){if(!q.isUndefined(d))return r(void 0,d)}function s(u,d){if(q.isUndefined(d)){if(!q.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function a(u,d,c){if(c in t)return r(u,d);if(c in e)return r(void 0,u)}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(u,d)=>i(V2(u),V2(d),!0)};return q.forEach(Object.keys(Object.assign({},e,t)),function(d){const c=l[d]||i,f=c(e[d],t[d],d);q.isUndefined(f)&&c!==a||(n[d]=f)}),n}const Ox=e=>{const t=ya({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:s,auth:a}=t;t.headers=s=Wn.from(s),t.url=Cx(Px(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(q.isFormData(n)){if(zn.hasStandardBrowserEnv||zn.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((l=s.getContentType())!==!1){const[u,...d]=l?l.split(";").map(c=>c.trim()).filter(Boolean):[];s.setContentType([u||"multipart/form-data",...d].join("; "))}}if(zn.hasStandardBrowserEnv&&(r&&q.isFunction(r)&&(r=r(t)),r||r!==!1&&L$(t.url))){const u=i&&o&&B$.read(o);u&&s.set(i,u)}return t},j$=typeof XMLHttpRequest<"u",D$=j$&&function(e){return new Promise(function(n,r){const i=Ox(e);let o=i.data;const s=Wn.from(i.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=i,d,c,f,m,p;function h(){m&&m(),p&&p(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let y=new XMLHttpRequest;y.open(i.method.toUpperCase(),i.url,!0),y.timeout=i.timeout;function g(){if(!y)return;const v=Wn.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),E={data:!a||a==="text"||a==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:v,config:e,request:y};$x(function(k){n(k),h()},function(k){r(k),h()},E),y=null}"onloadend"in y?y.onloadend=g:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(g)},y.onabort=function(){y&&(r(new Oe("Request aborted",Oe.ECONNABORTED,e,y)),y=null)},y.onerror=function(){r(new Oe("Network Error",Oe.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let w=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const E=i.transitional||Ax;i.timeoutErrorMessage&&(w=i.timeoutErrorMessage),r(new Oe(w,E.clarifyTimeoutError?Oe.ETIMEDOUT:Oe.ECONNABORTED,e,y)),y=null},o===void 0&&s.setContentType(null),"setRequestHeader"in y&&q.forEach(s.toJSON(),function(w,E){y.setRequestHeader(E,w)}),q.isUndefined(i.withCredentials)||(y.withCredentials=!!i.withCredentials),a&&a!=="json"&&(y.responseType=i.responseType),u&&([f,p]=ap(u,!0),y.addEventListener("progress",f)),l&&y.upload&&([c,m]=ap(l),y.upload.addEventListener("progress",c),y.upload.addEventListener("loadend",m)),(i.cancelToken||i.signal)&&(d=v=>{y&&(r(!v||v.type?new lc(null,e,y):v),y.abort(),y=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const b=P$(i.url);if(b&&zn.protocols.indexOf(b)===-1){r(new Oe("Unsupported protocol "+b+":",Oe.ERR_BAD_REQUEST,e));return}y.send(o||null)})},F$=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const o=function(u){if(!i){i=!0,a();const d=u instanceof Error?u:this.reason;r.abort(d instanceof Oe?d:new lc(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,o(new Oe(`timeout ${t} of ms exceeded`,Oe.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>q.asap(a),l}},U$=function*(e,t){let n=e.byteLength;if(!t||n{const i=H$(e,t);let o=0,s,a=l=>{s||(s=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:d}=await i.next();if(u){a(),l.close();return}let c=d.byteLength;if(n){let f=o+=c;n(f)}l.enqueue(new Uint8Array(d))}catch(u){throw a(u),u}},cancel(l){return a(l),i.return()}},{highWaterMark:2})},o0=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Rx=o0&&typeof ReadableStream=="function",W$=o0&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Lx=(e,...t)=>{try{return!!e(...t)}catch{return!1}},V$=Rx&&Lx(()=>{let e=!1;const t=new Request(zn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),G2=64*1024,b1=Rx&&Lx(()=>q.isReadableStream(new Response("").body)),lp={stream:b1&&(e=>e.body)};o0&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!lp[t]&&(lp[t]=q.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Oe(`Response type '${t}' is not supported`,Oe.ERR_NOT_SUPPORT,r)})})})(new Response);const q$=async e=>{if(e==null)return 0;if(q.isBlob(e))return e.size;if(q.isSpecCompliantForm(e))return(await new Request(zn.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(q.isArrayBufferView(e)||q.isArrayBuffer(e))return e.byteLength;if(q.isURLSearchParams(e)&&(e=e+""),q.isString(e))return(await W$(e)).byteLength},G$=async(e,t)=>{const n=q.toFiniteNumber(e.getContentLength());return n??q$(t)},K$=o0&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:u,headers:d,withCredentials:c="same-origin",fetchOptions:f}=Ox(e);u=u?(u+"").toLowerCase():"text";let m=F$([i,o&&o.toAbortSignal()],s),p;const h=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let y;try{if(l&&V$&&n!=="get"&&n!=="head"&&(y=await G$(d,r))!==0){let E=new Request(t,{method:"POST",body:r,duplex:"half"}),C;if(q.isFormData(r)&&(C=E.headers.get("content-type"))&&d.setContentType(C),E.body){const[k,_]=z2(y,ap(W2(l)));r=q2(E.body,G2,k,_)}}q.isString(c)||(c=c?"include":"omit");const g="credentials"in Request.prototype;p=new Request(t,{...f,signal:m,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:g?c:void 0});let b=await fetch(p);const v=b1&&(u==="stream"||u==="response");if(b1&&(a||v&&h)){const E={};["status","statusText","headers"].forEach(S=>{E[S]=b[S]});const C=q.toFiniteNumber(b.headers.get("content-length")),[k,_]=a&&z2(C,ap(W2(a),!0))||[];b=new Response(q2(b.body,G2,k,()=>{_&&_(),h&&h()}),E)}u=u||"text";let w=await lp[q.findKey(lp,u)||"text"](b,e);return!v&&h&&h(),await new Promise((E,C)=>{$x(E,C,{data:w,headers:Wn.from(b.headers),status:b.status,statusText:b.statusText,config:e,request:p})})}catch(g){throw h&&h(),g&&g.name==="TypeError"&&/fetch/i.test(g.message)?Object.assign(new Oe("Network Error",Oe.ERR_NETWORK,e,p),{cause:g.cause||g}):Oe.from(g,g&&g.code,e,p)}}),v1={http:c$,xhr:D$,fetch:K$};q.forEach(v1,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const K2=e=>`- ${e}`,Z$=e=>q.isFunction(e)||e===null||e===!1,Bx={getAdapter:e=>{e=q.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=t?o.length>1?`since :
+`+o.map(K2).join(`
+`):" "+K2(o[0]):"as no adapter specified";throw new Oe("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:v1};function Im(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new lc(null,e)}function Z2(e){return Im(e),e.headers=Wn.from(e.headers),e.data=Tm.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Bx.getAdapter(e.adapter||ed.adapter)(e).then(function(r){return Im(e),r.data=Tm.call(e,e.transformResponse,r),r.headers=Wn.from(r.headers),r},function(r){return Ix(r)||(Im(e),r&&r.response&&(r.response.data=Tm.call(e,e.transformResponse,r.response),r.response.headers=Wn.from(r.response.headers))),Promise.reject(r)})}const Nx="1.7.7",$b={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{$b[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const X2={};$b.transitional=function(t,n,r){function i(o,s){return"[Axios v"+Nx+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return(o,s,a)=>{if(t===!1)throw new Oe(i(s," has been removed"+(n?" in "+n:"")),Oe.ERR_DEPRECATED);return n&&!X2[s]&&(X2[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,s,a):!0}};function X$(e,t,n){if(typeof e!="object")throw new Oe("options must be an object",Oe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],s=t[o];if(s){const a=e[o],l=a===void 0||s(a,o,e);if(l!==!0)throw new Oe("option "+o+" must be "+l,Oe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Oe("Unknown option "+o,Oe.ERR_BAD_OPTION)}}const w1={assertOptions:X$,validators:$b},Io=w1.validators;class sa{constructor(t){this.defaults=t,this.interceptors={request:new U2,response:new U2}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
+`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ya(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&w1.assertOptions(r,{silentJSONParsing:Io.transitional(Io.boolean),forcedJSONParsing:Io.transitional(Io.boolean),clarifyTimeoutError:Io.transitional(Io.boolean)},!1),i!=null&&(q.isFunction(i)?n.paramsSerializer={serialize:i}:w1.assertOptions(i,{encode:Io.function,serialize:Io.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=o&&q.merge(o.common,o[n.method]);o&&q.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=Wn.concat(s,o);const a=[];let l=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(l=l&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let d,c=0,f;if(!l){const p=[Z2.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,u),f=p.length,d=Promise.resolve(n);c{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{r.subscribe(a),o=a}).then(i);return s.cancel=function(){r.unsubscribe(o)},s},t(function(o,s,a){r.reason||(r.reason=new lc(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Pb(function(i){t=i}),cancel:t}}}function Y$(e){return function(n){return e.apply(null,n)}}function Q$(e){return q.isObject(e)&&e.isAxiosError===!0}const _1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(_1).forEach(([e,t])=>{_1[t]=e});function Mx(e){const t=new sa(e),n=px(sa.prototype.request,t);return q.extend(n,sa.prototype,t,{allOwnKeys:!0}),q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Mx(ya(e,i))},n}const Nt=Mx(ed);Nt.Axios=sa;Nt.CanceledError=lc;Nt.CancelToken=Pb;Nt.isCancel=Ix;Nt.VERSION=Nx;Nt.toFormData=i0;Nt.AxiosError=Oe;Nt.Cancel=Nt.CanceledError;Nt.all=function(t){return Promise.all(t)};Nt.spread=Y$;Nt.isAxiosError=Q$;Nt.mergeConfig=ya;Nt.AxiosHeaders=Wn;Nt.formToJSON=e=>Tx(q.isHTMLForm(e)?new FormData(e):e);Nt.getAdapter=Bx.getAdapter;Nt.HttpStatusCode=_1;Nt.default=Nt;const J$="1.0.5";let Cr=class x1 extends Error{constructor(t,n={}){var s;const r=n.cause instanceof x1?n.cause.details:(s=n.cause)!=null&&s.message?n.cause.message:n.details,i=n.cause instanceof x1&&n.cause.docsPath||n.docsPath,o=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...i?[`Docs: https://abitype.dev${i}`]:[],...r?[`Details: ${r}`]:[],`Version: abitype@${J$}`].join(`
+`);super(o),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),n.cause&&(this.cause=n.cause),this.details=r,this.docsPath=i,this.metaMessages=n.metaMessages,this.shortMessage=t}};function vs(e,t){const n=e.exec(t);return n==null?void 0:n.groups}const jx=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,Dx=/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,Fx=/^\(.+?\).*?$/,Y2=/^tuple(?(\[(\d*)\])*)$/;function E1(e){let t=e.type;if(Y2.test(e.type)&&"components"in e){t="(";const n=e.components.length;for(let i=0;i[a-zA-Z$_][a-zA-Z0-9$_]*)\((?.*?)\)$/;function tP(e){return Ux.test(e)}function nP(e){return vs(Ux,e)}const Hx=/^event (?[a-zA-Z$_][a-zA-Z0-9$_]*)\((?.*?)\)$/;function rP(e){return Hx.test(e)}function iP(e){return vs(Hx,e)}const zx=/^function (?[a-zA-Z$_][a-zA-Z0-9$_]*)\((?.*?)\)(?: (?external|public{1}))?(?: (?pure|view|nonpayable|payable{1}))?(?: returns\s?\((?.*?)\))?$/;function oP(e){return zx.test(e)}function sP(e){return vs(zx,e)}const Wx=/^struct (?[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?.*?)\}$/;function Vx(e){return Wx.test(e)}function aP(e){return vs(Wx,e)}const qx=/^constructor\((?.*?)\)(?:\s(?payable{1}))?$/;function lP(e){return qx.test(e)}function cP(e){return vs(qx,e)}const uP=/^fallback\(\) external(?:\s(?payable{1}))?$/;function fP(e){return uP.test(e)}const dP=/^receive\(\) external payable$/;function hP(e){return dP.test(e)}const pP=new Set(["indexed"]),S1=new Set(["calldata","memory","storage"]);class mP extends Cr{constructor({type:t}){super("Unknown type.",{metaMessages:[`Type "${t}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}class gP extends Cr{constructor({type:t}){super("Unknown type.",{metaMessages:[`Type "${t}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}class yP extends Cr{constructor({param:t}){super("Invalid ABI parameter.",{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class bP extends Cr{constructor({param:t,name:n}){super("Invalid ABI parameter.",{details:t,metaMessages:[`"${n}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}class vP extends Cr{constructor({param:t,type:n,modifier:r}){super("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${r}" not allowed${n?` in "${n}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}class wP extends Cr{constructor({param:t,type:n,modifier:r}){super("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${r}" not allowed${n?` in "${n}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${r}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}class _P extends Cr{constructor({abiParameter:t}){super("Invalid ABI parameter.",{details:JSON.stringify(t,null,2),metaMessages:["ABI parameter type is invalid."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}class bu extends Cr{constructor({signature:t,type:n}){super(`Invalid ${n} signature.`,{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}class xP extends Cr{constructor({signature:t}){super("Unknown signature.",{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class EP extends Cr{constructor({signature:t}){super("Invalid struct signature.",{details:t,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}class SP extends Cr{constructor({type:t}){super("Circular reference detected.",{metaMessages:[`Struct "${t}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}class kP extends Cr{constructor({current:t,depth:n}){super("Unbalanced parentheses.",{metaMessages:[`"${t.trim()}" has too many ${n>0?"opening":"closing"} parentheses.`],details:`Depth "${n}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}function CP(e,t){return t?`${t}:${e}`:e}const $m=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]);function AP(e,t={}){if(oP(e)){const n=sP(e);if(!n)throw new bu({signature:e,type:"function"});const r=Ur(n.parameters),i=[],o=r.length;for(let a=0;a[a-zA-Z$_][a-zA-Z0-9$_]*)(?(?:\[\d*?\])+?)?(?:\s(?calldata|indexed|memory|storage{1}))?(?:\s(?[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,IP=/^\((?.+?)\)(?(?:\[\d*?\])+?)?(?:\s(?calldata|indexed|memory|storage{1}))?(?:\s(?[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,$P=/^u?int$/;function Ws(e,t){var c,f;const n=CP(e,t==null?void 0:t.type);if($m.has(n))return $m.get(n);const r=Fx.test(e),i=vs(r?IP:TP,e);if(!i)throw new yP({param:e});if(i.name&&OP(i.name))throw new bP({param:e,name:i.name});const o=i.name?{name:i.name}:{},s=i.modifier==="indexed"?{indexed:!0}:{},a=(t==null?void 0:t.structs)??{};let l,u={};if(r){l="tuple";const m=Ur(i.type),p=[],h=m.length;for(let y=0;y[a-zA-Z$_][a-zA-Z0-9$_]*)(?(?:\[\d*?\])+?)?$/;function Kx(e,t,n=new Set){const r=[],i=e.length;for(let o=0;ot(e,o)}function no(e,{includeName:t=!1}={}){if(e.type!=="function"&&e.type!=="event"&&e.type!=="error")throw new KP(e.type);return`${e.name}(${s0(e.inputs,{includeName:t})})`}function s0(e,{includeName:t=!1}={}){return e?e.map(n=>NP(n,{includeName:t})).join(t?", ":","):""}function NP(e,{includeName:t}){return e.type.startsWith("tuple")?`(${s0(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")}function Er(e,{strict:t=!0}={}){return!e||typeof e!="string"?!1:t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x")}function At(e){return Er(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}const Xx="2.21.6";let Hd={getDocsUrl:({docsBaseUrl:e,docsPath:t="",docsSlug:n})=>t?`${e??"https://viem.sh"}${t}${n?`#${n}`:""}`:void 0,version:Xx},J=class k1 extends Error{constructor(t,n={}){var a;const r=(()=>{var l;return n.cause instanceof k1?n.cause.details:(l=n.cause)!=null&&l.message?n.cause.message:n.details})(),i=n.cause instanceof k1&&n.cause.docsPath||n.docsPath,o=(a=Hd.getDocsUrl)==null?void 0:a.call(Hd,{...n,docsPath:i}),s=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...o?[`Docs: ${o}`]:[],...r?[`Details: ${r}`]:[],`Version: ${Hd.version}`].join(`
`);super(s,n.cause?{cause:n.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.details=r,this.docsPath=i,this.metaMessages=n.metaMessages,this.name=n.name??this.name,this.shortMessage=t,this.version=Xx}walk(t){return Yx(this,t)}};function Yx(e,t){return t!=null&&t(e)?e:e&&typeof e=="object"&&"cause"in e?Yx(e.cause,t):t?null:e}class MP extends J{constructor({docsPath:t}){super(["A constructor was not found on the ABI.","Make sure you are using the correct ABI and that the constructor exists on it."].join(`
-`),{docsPath:t,name:"AbiConstructorNotFoundError"})}}class Y2 extends J{constructor({docsPath:t}){super(["Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.","Make sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists."].join(`
+`),{docsPath:t,name:"AbiConstructorNotFoundError"})}}class Q2 extends J{constructor({docsPath:t}){super(["Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.","Make sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists."].join(`
`),{docsPath:t,name:"AbiConstructorParamsNotFoundError"})}}class Qx extends J{constructor({data:t,params:n,size:r}){super([`Data size of ${r} bytes is too small for given parameters.`].join(`
`),{metaMessages:[`Params: (${s0(n,{includeName:!0})})`,`Data: ${t} (${r} bytes)`],name:"AbiDecodingDataSizeTooSmallError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t,this.params=n,this.size=r}}class a0 extends J{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.',{name:"AbiDecodingZeroDataError"})}}class jP extends J{constructor({expectedLength:t,givenLength:n,type:r}){super([`ABI encoding array length mismatch for type ${r}.`,`Expected length: ${t}`,`Given length: ${n}`].join(`
`),{name:"AbiEncodingArrayLengthMismatchError"})}}class DP extends J{constructor({expectedSize:t,value:n}){super(`Size of bytes "${n}" (bytes${At(n)}) does not match expected size (bytes${t}).`,{name:"AbiEncodingBytesSizeMismatchError"})}}class FP extends J{constructor({expectedLength:t,givenLength:n}){super(["ABI encoding params/values length mismatch.",`Expected length (params): ${t}`,`Given length (values): ${n}`].join(`
`),{name:"AbiEncodingLengthMismatchError"})}}class Jx extends J{constructor(t,{docsPath:n}){super([`Encoded error signature "${t}" not found on ABI.`,"Make sure you are using the correct ABI and that the error exists on it.",`You can look up the decoded signature here: https://openchain.xyz/signatures?query=${t}.`].join(`
`),{docsPath:n,name:"AbiErrorSignatureNotFoundError"}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=t}}class UP extends J{constructor({docsPath:t}){super("Cannot extract event signature from empty topics.",{docsPath:t,name:"AbiEventSignatureEmptyTopicsError"})}}class e8 extends J{constructor(t,{docsPath:n}){super([`Encoded event signature "${t}" not found on ABI.`,"Make sure you are using the correct ABI and that the event exists on it.",`You can look up the signature here: https://openchain.xyz/signatures?query=${t}.`].join(`
-`),{docsPath:n,name:"AbiEventSignatureNotFoundError"})}}class Q2 extends J{constructor(t,{docsPath:n}={}){super([`Event ${t?`"${t}" `:""}not found on ABI.`,"Make sure you are using the correct ABI and that the event exists on it."].join(`
+`),{docsPath:n,name:"AbiEventSignatureNotFoundError"})}}class J2 extends J{constructor(t,{docsPath:n}={}){super([`Event ${t?`"${t}" `:""}not found on ABI.`,"Make sure you are using the correct ABI and that the event exists on it."].join(`
`),{docsPath:n,name:"AbiEventNotFoundError"})}}class cp extends J{constructor(t,{docsPath:n}={}){super([`Function ${t?`"${t}" `:""}not found on ABI.`,"Make sure you are using the correct ABI and that the function exists on it."].join(`
`),{docsPath:n,name:"AbiFunctionNotFoundError"})}}class HP extends J{constructor(t,{docsPath:n}){super([`Function "${t}" does not contain any \`outputs\` on ABI.`,"Cannot decode function result without knowing what the parameter types are.","Make sure you are using the correct ABI and that the function exists on it."].join(`
`),{docsPath:n,name:"AbiFunctionOutputsNotFoundError"})}}class zP extends J{constructor(t,n){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\`${t.type}\` in \`${no(t.abiItem)}\`, and`,`\`${n.type}\` in \`${no(n.abiItem)}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."],name:"AbiItemAmbiguityError"})}}class WP extends J{constructor({expectedSize:t,givenSize:n}){super(`Expected bytes${t}, got bytes${n}.`,{name:"BytesSizeMismatchError"})}}class df extends J{constructor({abiItem:t,data:n,params:r,size:i}){super([`Data size of ${i} bytes is too small for non-indexed event parameters.`].join(`
@@ -2136,43 +2136,43 @@ zoo`.split(`
`),{docsPath:n,name:"InvalidAbiEncodingType"})}}class qP extends J{constructor(t,{docsPath:n}){super([`Type "${t}" is not a valid decoding type.`,"Please provide a valid ABI type."].join(`
`),{docsPath:n,name:"InvalidAbiDecodingType"})}}class GP extends J{constructor(t){super([`Value "${t}" is not a valid array.`].join(`
`),{name:"InvalidArrayError"})}}class KP extends J{constructor(t){super([`"${t}" is not a valid definition type.`,'Valid types: "function", "event", "error"'].join(`
-`),{name:"InvalidDefinitionTypeError"})}}class ZP extends J{constructor(t){super(`Filter type "${t}" is not supported.`,{name:"FilterTypeNotSupportedError"})}}let t8=class extends J{constructor({offset:t,position:n,size:r}){super(`Slice ${n==="start"?"starting":"ending"} at offset "${t}" is out-of-bounds (size: ${r}).`,{name:"SliceOffsetOutOfBoundsError"})}},n8=class extends J{constructor({size:t,targetSize:n,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (${t}) exceeds padding size (${n}).`,{name:"SizeExceedsPaddingSizeError"})}},J2=class extends J{constructor({size:t,targetSize:n,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} is expected to be ${n} ${r} long, but is ${t} ${r} long.`,{name:"InvalidBytesLengthError"})}};function cc(e,{dir:t,size:n=32}={}){return typeof e=="string"?rs(e,{dir:t,size:n}):XP(e,{dir:t,size:n})}function rs(e,{dir:t,size:n=32}={}){if(n===null)return e;const r=e.replace("0x","");if(r.length>n*2)throw new n8({size:Math.ceil(r.length/2),targetSize:n,type:"hex"});return`0x${r[t==="right"?"padEnd":"padStart"](n*2,"0")}`}function XP(e,{dir:t,size:n=32}={}){if(n===null)return e;if(e.length>n)throw new n8({size:e.length,targetSize:n,type:"bytes"});const r=new Uint8Array(n);for(let i=0;it)throw new JP({givenSize:At(e),maxSize:t})}function ls(e,t={}){const{signed:n}=t;t.size&&_i(e,{size:t.size});const r=BigInt(e);if(!n)return r;const i=(e.length-2)/2,o=(1n<t.toString(16).padStart(2,"0"));function Te(e,t={}){return typeof e=="number"||typeof e=="bigint"?Ae(e,t):typeof e=="string"?Fl(e,t):typeof e=="boolean"?r8(e,t):Mt(e,t)}function r8(e,t={}){const n=`0x${Number(e)}`;return typeof t.size=="number"?(_i(n,{size:t.size}),cc(n,{size:t.size})):n}function Mt(e,t={}){let n="";for(let i=0;io||i=ji.zero&&e<=ji.nine)return e-ji.zero;if(e>=ji.A&&e<=ji.F)return e-(ji.A-10);if(e>=ji.a&&e<=ji.f)return e-(ji.a-10)}function Sr(e,t={}){let n=e;t.size&&(_i(n,{size:t.size}),n=cc(n,{dir:"right",size:t.size}));let r=n.slice(2);r.length%2&&(r=`0${r}`);const i=r.length/2,o=new Uint8Array(i);for(let s=0,a=0;s0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function sO(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");up(e.outputLen),up(e.blockLen)}function Ul(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function i8(e,t){Hr(e);const n=t.outputLen;if(e.length>C1&zd)}:{h:Number(e>>C1&zd)|0,l:Number(e&zd)|0}}function s8(e,t=!1){let n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let i=0;iBigInt(e>>>0)<>>0),lO=(e,t,n)=>e>>>n,cO=(e,t,n)=>e<<32-n|t>>>n,uO=(e,t,n)=>e>>>n|t<<32-n,fO=(e,t,n)=>e<<32-n|t>>>n,dO=(e,t,n)=>e<<64-n|t>>>n-32,hO=(e,t,n)=>e>>>n-32|t<<64-n,pO=(e,t)=>t,mO=(e,t)=>e,a8=(e,t,n)=>e<>>32-n,l8=(e,t,n)=>t<>>32-n,c8=(e,t,n)=>t<>>64-n,u8=(e,t,n)=>e<>>64-n;function gO(e,t,n,r){const i=(t>>>0)+(r>>>0);return{h:e+n+(i/2**32|0)|0,l:i|0}}const yO=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),bO=(e,t,n,r)=>t+n+r+(e/2**32|0)|0,vO=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0),wO=(e,t,n,r,i)=>t+n+r+i+(e/2**32|0)|0,_O=(e,t,n,r,i)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(i>>>0),xO=(e,t,n,r,i,o)=>t+n+r+i+o+(e/2**32|0)|0,Me={fromBig:o8,split:s8,toBig:aO,shrSH:lO,shrSL:cO,rotrSH:uO,rotrSL:fO,rotrBH:dO,rotrBL:hO,rotr32H:pO,rotr32L:mO,rotlSH:a8,rotlSL:l8,rotlBH:c8,rotlBL:u8,add:gO,add3L:yO,add3H:bO,add4L:vO,add4H:wO,add5H:xO,add5L:_O},Pm=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */const EO=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4)),_l=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),si=(e,t)=>e<<32-t|e>>>t,Wd=(e,t)=>e<>>32-t>>>0,t6=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68,SO=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255;function n6(e){for(let t=0;tt.toString(16).padStart(2,"0"));function CO(e){Hr(e);let t="";for(let n=0;n=Di._0&&e<=Di._9)return e-Di._0;if(e>=Di._A&&e<=Di._F)return e-(Di._A-10);if(e>=Di._a&&e<=Di._f)return e-(Di._a-10)}function AO(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);const t=e.length,n=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);const r=new Uint8Array(n);for(let i=0,o=0;ie().update(c0(r)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function TO(e=32){if(Pm&&typeof Pm.getRandomValues=="function")return Pm.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}const d8=[],h8=[],p8=[],IO=BigInt(0),au=BigInt(1),$O=BigInt(2),PO=BigInt(7),OO=BigInt(256),RO=BigInt(113);for(let e=0,t=au,n=1,r=0;e<24;e++){[n,r]=[r,(2*n+3*r)%5],d8.push(2*(5*r+n)),h8.push((e+1)*(e+2)/2%64);let i=IO;for(let o=0;o<7;o++)t=(t<>PO)*RO)%OO,t&$O&&(i^=au<<(au<n>32?c8(e,t,n):a8(e,t,n),o6=(e,t,n)=>n>32?u8(e,t,n):l8(e,t,n);function NO(e,t=24){const n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let s=0;s<10;s++)n[s]=e[s]^e[s+10]^e[s+20]^e[s+30]^e[s+40];for(let s=0;s<10;s+=2){const a=(s+8)%10,l=(s+2)%10,u=n[l],d=n[l+1],c=i6(u,d,1)^n[a],f=o6(u,d,1)^n[a+1];for(let m=0;m<50;m+=10)e[s+m]^=c,e[s+m+1]^=f}let i=e[2],o=e[3];for(let s=0;s<24;s++){const a=h8[s],l=i6(i,o,a),u=o6(i,o,a),d=d8[s];i=e[d],o=e[d+1],e[d]=l,e[d+1]=u}for(let s=0;s<50;s+=10){for(let a=0;a<10;a++)n[a]=e[s+a];for(let a=0;a<10;a++)e[s+a]^=~n[(a+2)%10]&n[(a+4)%10]}e[0]^=LO[r],e[1]^=BO[r]}n.fill(0)}class Ob extends Pb{constructor(t,n,r,i=!1,o=24){if(super(),this.blockLen=t,this.suffix=n,this.outputLen=r,this.enableXOF=i,this.rounds=o,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,up(r),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=EO(this.state)}keccak(){t6||n6(this.state32),NO(this.state32,this.rounds),t6||n6(this.state32),this.posOut=0,this.pos=0}update(t){Ul(this);const{blockLen:n,state:r}=this;t=c0(t);const i=t.length;for(let o=0;o=r&&this.keccak();const s=Math.min(r-this.posOut,o-i);t.set(n.subarray(this.posOut,this.posOut+s),i),this.posOut+=s,i+=s}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return up(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(i8(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){const{blockLen:n,suffix:r,outputLen:i,rounds:o,enableXOF:s}=this;return t||(t=new Ob(n,r,i,s,o)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=o,t.suffix=r,t.outputLen=i,t.enableXOF=s,t.destroyed=this.destroyed,t}}const MO=(e,t,n)=>u0(()=>new Ob(t,e,n)),jO=MO(1,136,256/8);function zt(e,t){const n=t||"hex",r=jO(Er(e,{strict:!1})?cs(e):e);return n==="bytes"?r:Te(r)}const DO=e=>zt(cs(e));function FO(e){return DO(e)}function UO(e){let t=!0,n="",r=0,i="",o=!1;for(let s=0;s