PageSourceSearch

https://www.wikiagent.ai/_next/static/chunks/1266-e9e6fe6dcdbbec7e.js

js wikiagent.ai collected 2026-10-05 13:18:32 UTC 557,468 bytes, 57 lines download raw bytes

vendor: 4,975 bytes, line 1
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1266],{54639:function(e,t,n){let r=n(89702),i=n(92050),o=n(73976),a=n(99401);function s(e,t,n,o,a){let s=[].slice.call(arguments,1),c=s.length,u="function"==typeof s[c-1];if(!u&&!r())throw Error("Callback required as last argument");if(u){if(c<2)throw Error("Too few arguments provided");2===c?(a=n,n=t,t=o=void 0):3===c&&(t.getContext&&void 0===a?(a=o,o=void 0):(a=o,o=n,n=t,t=void 0))}else{if(c<1)throw Error("Too few arguments provided");return 1===c?(n=t,t=o=void 0):2!==c||t.getContext||(o=n,n=t,t=void 0),new Promise(function(r,a){try{let a=i.create(n,o);r(e(a,t,o))}catch(e){a(e)}})}try{let r=i.create(n,o);a(null,e(r,t,o))}catch(e){a(e)}}t.create=i.create,t.toCanvas=s.bind(null,o.render),t.toDataURL=s.bind(null,o.renderToDataURL),t.toString=s.bind(null,function(e,t,n){return a.render(e,n)})},89702:function(e){e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},73753:function(e,t,n){let r=n(86245).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];let t=Math.floor(e/7)+2,n=r(e),i=145===n?26:2*Math.ceil((n-13)/(2*t-2)),o=[n-7];for(let e=1;e<t-1;e++)o[e]=o[e-1]-i;return o.push(6),o.reverse()},t.getPositions=function(e){let n=[],r=t.getRowColCoords(e),i=r.length;for(let e=0;e<i;e++)for(let t=0;t<i;t++)(0!==e||0!==t)&&(0!==e||t!==i-1)&&(e!==i-1||0!==t)&&n.push([r[e],r[t]]);return n}},91880:function(e,t,n){let r=n(21143),i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function o(e){this.mode=r.ALPHANUMERIC,this.data=e}o.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let n=45*i.indexOf(this.data[t]);n+=i.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(i.indexOf(this.data[t]),6)},e.exports=o},15309:function(e){function t(){this.buffer=[],this.length=0}t.prototype={get:function(e){return(this.buffer[Math.floor(e/8)]>>>7-e%8&1)==1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){let t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},11879:function(e){function t(e){if(!e||e<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}t.prototype.set=function(e,t,n,r){let i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)},t.prototype.get=function(e,t){return this.data[e*this.size+t]},t.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},t.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=t},34334:function(e,t,n){let r=n(21143);function i(e){this.mode=r.BYTE,"string"==typeof e?this.data=new TextEncoder().encode(e):this.data=new Uint8Array(e)}i.getBitsLength=function(e){return 8*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)},e.exports=i},3110:function(e,t,n){let r=n(93971),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case r.L:return i[(e-1)*4+0];case r.M:return i[(e-1)*4+1];case r.Q:return i[(e-1)*4+2];case r.H:return i[(e-1)*4+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case r.L:return o[(e-1)*4+0];case r.M:return o[(e-1)*4+1];case r.Q:return o[(e-1)*4+2];case r.H:return o[(e-1)*4+3];default:return}}},93971:function(e,t){t.L={bit:1},t.M={bit:0},t.Q={bit:3}
1,t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw Error("Unknown EC Level: "+e)}}(e)}catch(e){return n}}},16722:function(e,t,n){let r=n(86245).getSymbolSize;t.getPositions=function(e){let t=r(e);return[[0,0],[t-7,0],[0,t-7]]}},51811:function(e,t,n){let r=n(86245),i=r.getBCHDigit(1335);t.getEncodedBits=function(e,t){let n=e.bit<<3|t,o=n<<10;for(;r.getBCHDigit(o)-i>=0;)o^=1335<<r.getBCHDigit(o)-i;return(n<<10|o)^21522}},7186:function(e,t){let n=new Uint8Array(512),r=new Uint8Array(256);!function(){let e=1;for(let t=0;t<255;t++)n[t]=e,r[e]=t,256&(e<<=1)&&(e^=285);for(let e=255;e<512;e++)n[e]=n[e-255]}(),t.log=function(e){if(e<1)throw Error("log("+e+")");return r[e]},t.exp=function(e){return n[e]},t.mul=function(e,t){return 0===e||0===t?0:n[r[e]+r[t]]}},42617:function(e,t,n){let r=n(21143),i=n(86245);function o(e){this.mode=r.KANJI,this.data=e}o.getBitsLength=function(e){return 13*e},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=i.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n=(n>>>8&255)*192+(255&n),e.put(n,13)}},e.exports=o},42838:function(e,t){t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};let n={N1:3,N2:3,N3:40,N4:10};t.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){let t=e.size,r=0,i=0,o=0,a=null,s=null;for(let c=0;c<t;c++){i=o=0,a=s=null;for(let u=0;u<t;u++){let t=e.get(c,u);t===a?i++:(i>=5&&(r+=n.N1+(i-5)),a=t,i=1),(t=e.get(u,c))===s?o++:(o>=5&&(r+=n.N1+(o-5)),s=t,o=1)}i>=5&&(r+=n.N1+(i-5)),o>=5&&(r+=n.N1+(o-5))}return r},t.getPenaltyN2=function(e){let t=e.size,r=0;for(let n=0;n<t-1;n++)for(let i=0;i<t-1;i++){let t=e.get(n,i)+e.get(n,i+1)+e.get(n+1,i)+e.get(n+1,i+1);(4===t||0===t)&&r++}return r*n.N2},t.getPenaltyN3=function(e){let t=e.size,r=0,i=0,o=0;for(let n=0;n<t;n++){i=o=0;for(let a=0;a<t;a++)i=i<<1&2047|e.get(n,a),a>=10&&(1488===i||93===i)&&r++,o=o<<1&2047|e.get(a,n),a>=10&&(1488===o||93===o)&&r++}return r*n.N3},t.getPenaltyN4=function(e){let t=0,r=e.data.length;for(let n=0;n<r;n++)t+=e.data[n];return Math.abs(Math.ceil(100*t/r/5)-10)*n.N4},t.applyMask=function(e,n){let r=n.size;for(let i=0;i<r;i++)for(let o=0;o<r;o++)n.isReserved(o,i)||n.xor(o,i,function(e,n,r){switch(e){case t.Patterns.PATTERN000:return(n+r)%2==0;case t.Patterns.PATTERN001:return n%2==0;case t.Patterns.PATTERN010:return r%3==0;case t.Patterns.PATTERN011:return(n+r)%3==0;case t.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case t.Patterns.PATTERN101:return n*r%2+n*r%3==0;case t.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case t.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw Error("bad maskPattern:"+e)}}(e,o,i))},t.getBestMask=function(e,n){let r=Object.keys(t.Patterns).length,i=0,o=1/0;for(let a=0;a<r;a++){n(a),t.applyMask(a,e);let r=t.getPenaltyN1(e)+t.getPenaltyN2(e)+t.getPenaltyN3(e)+t.getPenaltyN4(e);t.applyMask(a,e),r<o&&(o=r,i=a)}return i}},21143:function(e,t,n){let r=n(67738),i=n(45670);t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw Error("Invalid mode: "+e);if(!r.isValid(t))throw Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return i.testNumeric(e)?t.NUMERIC:i.testAlphanumeric(e)?t.ALPHANUMERIC:i.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw Error("Unknown mode: "+e)}}(e)}catch(e){return n}}},52253:function(e,t,n){let r=n(21143);function i(e){this.mode=r.NUMERIC,this.data=e.toString()}i.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t,n;for(t=0;t+3<=this.data.length;t+=3)n=parseInt(this.data.substr(t,3),10),e.put(n,10);let r=this.data.length-t;r>0&&(n=parseInt(this.data.substr(t),10),e.put(n,3*r+1))},e.exports=i},65502:function(e,t,n){let r=n(7186);t.mul=function(e,t){let n=new Uint8Array(e.length+t.length-1);for(let i=0;i<e.length;i++)for(let o=0;o<t.length;o++)n[i+o]^=r.mul(e[i],t[o]);return n},t.mod=function(e,t){let n=new Uint8Array(e);for(;n.length-t.length>=0;){let e=n[0];for(let i=0;i<t.length;i++)n[i]^=r.mul(t[i],e);let i=0;for(;i<n.length&&0===n[i];)i++;n=n.slice(i)}return n},t.generateECPolynomial=function(e){let n=new Uint8Array([1]);for(let i=0;i<e;i++)n=t.mul(n,new Uint8Array([1,r.exp(i)]));return n}},92050:function(e,t,n){let r=n(86245),i=n(93971),o=n(15309),a=n(11879),s=n(73753),c=n(16722),u=n(42838),l=n(3110),d=n(41247),f=n(23249),h=n(51811),p=n(21143),m=n(37071);function y(e,t,n){let r,i;let o=e.size,a=h.getEncodedBits(t,n);for(r=0;r<15;r++)i=(a>>r&1)==1,r<6?e.set(r,8,i,!0):r<8?e.set(r+1,8,i,!0):e.set(o-15+r,8,i,!0),r<8?e.set(8,o-r-1,i,!0):r
vendor: 10,331 bytes, line 1
1<9?e.set(8,15-r-1+1,i,!0):e.set(8,15-r-1,i,!0);e.set(o-8,8,1,!0)}t.create=function(e,t){let n,h;if(void 0===e||""===e)throw Error("No input text");let g=i.M;return void 0!==t&&(g=i.from(t.errorCorrectionLevel,i.M),n=f.from(t.version),h=u.from(t.maskPattern),t.toSJISFunc&&r.setToSJISFunction(t.toSJISFunc)),function(e,t,n,i){let h;if(Array.isArray(e))h=m.fromArray(e);else if("string"==typeof e){let r=t;if(!r){let t=m.rawSplit(e);r=f.getBestVersionForData(t,n)}h=m.fromString(e,r||40)}else throw Error("Invalid data");let g=f.getBestVersionForData(h,n);if(!g)throw Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<g)throw Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+g+".\n")}else t=g;let b=function(e,t,n){let i=new o;n.forEach(function(t){i.put(t.mode.bit,4),i.put(t.getLength(),p.getCharCountIndicator(t.mode,e)),t.write(i)});let a=(r.getSymbolTotalCodewords(e)-l.getTotalCodewordsCount(e,t))*8;for(i.getLengthInBits()+4<=a&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);let s=(a-i.getLengthInBits())/8;for(let e=0;e<s;e++)i.put(e%2?17:236,8);return function(e,t,n){let i,o;let a=r.getSymbolTotalCodewords(t),s=a-l.getTotalCodewordsCount(t,n),c=l.getBlocksCount(t,n),u=a%c,f=c-u,h=Math.floor(a/c),p=Math.floor(s/c),m=p+1,y=h-p,g=new d(y),b=0,w=Array(c),v=Array(c),A=0,x=new Uint8Array(e.buffer);for(let e=0;e<c;e++){let t=e<f?p:m;w[e]=x.slice(b,b+t),v[e]=g.encode(w[e]),b+=t,A=Math.max(A,t)}let E=new Uint8Array(a),C=0;for(i=0;i<A;i++)for(o=0;o<c;o++)i<w[o].length&&(E[C++]=w[o][i]);for(i=0;i<y;i++)for(o=0;o<c;o++)E[C++]=v[o][i];return E}(i,e,t)}(t,n,h),w=new a(r.getSymbolSize(t));return function(e,t){let n=e.size,r=c.getPositions(t);for(let t=0;t<r.length;t++){let i=r[t][0],o=r[t][1];for(let t=-1;t<=7;t++)if(!(i+t<=-1)&&!(n<=i+t))for(let r=-1;r<=7;r++)o+r<=-1||n<=o+r||(t>=0&&t<=6&&(0===r||6===r)||r>=0&&r<=6&&(0===t||6===t)||t>=2&&t<=4&&r>=2&&r<=4?e.set(i+t,o+r,!0,!0):e.set(i+t,o+r,!1,!0))}}(w,t),function(e){let t=e.size;for(let n=8;n<t-8;n++){let t=n%2==0;e.set(n,6,t,!0),e.set(6,n,t,!0)}}(w),function(e,t){let n=s.getPositions(t);for(let t=0;t<n.length;t++){let r=n[t][0],i=n[t][1];for(let t=-2;t<=2;t++)for(let n=-2;n<=2;n++)-2===t||2===t||-2===n||2===n||0===t&&0===n?e.set(r+t,i+n,!0,!0):e.set(r+t,i+n,!1,!0)}}(w,t),y(w,n,0),t>=7&&function(e,t){let n,r,i;let o=e.size,a=f.getEncodedBits(t);for(let t=0;t<18;t++)n=Math.floor(t/3),r=t%3+o-8-3,i=(a>>t&1)==1,e.set(n,r,i,!0),e.set(r,n,i,!0)}(w,t),function(e,t){let n=e.size,r=-1,i=n-1,o=7,a=0;for(let s=n-1;s>0;s-=2)for(6===s&&s--;;){for(let n=0;n<2;n++)if(!e.isReserved(i,s-n)){let r=!1;a<t.length&&(r=(t[a]>>>o&1)==1),e.set(i,s-n,r),-1==--o&&(a++,o=7)}if((i+=r)<0||n<=i){i-=r,r=-r;break}}}(w,b),isNaN(i)&&(i=u.getBestMask(w,y.bind(null,w,n))),u.applyMask(i,w),y(w,n,i),{modules:w,version:t,errorCorrectionLevel:n,maskPattern:i,segments:h}}(e,n,g,h)}},41247:function(e,t,n){let r=n(65502);function i(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}i.prototype.initialize=function(e){this.degree=e,this.genPoly=r.generateECPolynomial(this.degree)},i.prototype.encode=function(e){if(!this.genPoly)throw Error("Encoder not initialized");let t=new Uint8Array(e.length+this.degree);t.set(e);let n=r.mod(t,this.genPoly),i=this.degree-n.length;if(i>0){let e=new Uint8Array(this.degree);return e.set(n,i),e}return n},e.exports=i},45670:function(e,t){let n="[0-9]+",r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",i="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";t.KANJI=RegExp(r,"g"),t.BYTE_KANJI=RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=RegExp(i,"g"),t.NUMERIC=RegExp(n,"g"),t.ALPHANUMERIC=RegExp("[A-Z $%*+\\-./:]+","g");let o=RegExp("^"+r+"$"),a=RegExp("^"+n+"$"),s=RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return o.test(e)},t.testNumeric=function(e){return a.test(e)},t.testAlphanumeric=function(e){return s.test(e)}},37071:function(e,t,n){let r=n(21143),i=n(52253),o=n(91880),a=n(34334),s=n(42617),c=n(45670),u=n(86245),l=n(43369);function d(e){return unescape(encodeURIComponent(e)).length}function f(e,t,n){let r;let i=[];for(;null!==(r=e.exec(n));)i.push({data:r[0],index:r.index,mode:t,length:r[0].length});return i}function h(e){let t,n;let i=f(c.NUMERIC,r.NUMERIC,e),o=f(c.ALPHANUMERIC,r.ALPHANUMERIC,e);return u.isKanjiModeEnabled()?(t=f(c.BYTE,r.BYTE,e),n=f(c.KANJI,r.KANJI,e)):(t=f(c.BYTE_KANJI,r.BYTE,e),n=[]),i.concat(o,t,n).sort(function(e,t){return e.index-t.index}).map(function(e){return{data:e.data,mode:e.mode,length:e.length}})}function p(e,t){switch(t){case r.NUMERIC:return i.getBitsLength(e);case r.ALPHANUMERIC:return o.getBitsLength(e);case r.KANJI:return s.getBitsLength(e);case r.BYTE:return a.getBitsLength(e)}}function m(e,t){let n;let c=r.getBestModeForData(e);if((n=r.from(t,c))!==r.BYTE&&n.bit<c.bit)throw Error('"'+e+'" cannot be encoded with mode '+r.toString(n)+".\n Suggested mode is: "+r.toString(c));switch(n!==r.KANJI||u.isKanjiModeEnabled()||(n=r.BYTE),n){case r.NUMERIC:return new i(e);case r.ALPHANUMERIC:return new o(e);case r.KANJI:return new s(e);case r.BYTE:return new a(e)}}t.fromArray=function(e){return e.reduce(function(e,t){return"string"==typeof t?e.push(m(t,null)):t.data&&e.push(m(t.data,t.mode)),e},[])},t.fromString=function(e,n){let i=function(e,t){let n={},i={start:{}},o=["start"];for(let a=0;a<e.length;a++){let s=e[a],c=[];for(let e=0;e<s.length;e++){let u=s[e],l=""+a+e;c.push(l),n[l]={node:u,lastCount:0},i[l]={};for(let e=0;e<o.length;e++){let a=o[e];n[a]&&n[a].node.mode===u.mode?(i[a][l]=p(n[a].lastCount+u.length,u.mode)-p(n[a].lastCount,u.mode),n[a].lastCount+=u.length):(n[a]&&(n[a].lastCount=u.length),i[a][l]=p(u.length,u.mode)+4+r.getCharCountIndicator(u.mode,t))}}o=c}for(let e=0;e<o.length;e++)i[o[e]].end=0;return{map:i,table:n}}(function(e){let t=[];for(let n=0;n<e.length;n++){let i=e[n];switch(i.mode){case r.NUMERIC:t.push([i,{data:i.data,mode:r.ALPHANUMERIC,length:i.length},{data:i.data,mode:r.BYTE,length:i.length}]);break;case r.ALPHANUMERIC:t.push([i,{data:i.data,mode:r.BYTE,length:i.length}]);break;case r.KANJI:t.push([i,{data:i.data,mode:r.BYTE,length:d(i.data)}]);break;case r.BYTE:t.push([{data:i.data,mode:r.BYTE,length:d(i.data)}])}}return t}(h(e,u.isKanjiModeEnabled())),n),o=l.find_path(i.map,"start","end"),a=[];for(let e=1;e<o.length-1;e++)a.push(i.table[o[e]].node);return t.fromArray(a.reduce(function(e,t){let n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?e[e.length-1].data+=t.data:e.push(t),e},[]))},t.rawSplit=function(e){return t.fromArray(h(e,u.isKanjiModeEnabled()))}},86245:function(e,t){let n;let r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw Error('"version" cannot be null or undefined');if(e<1||e>40)throw Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return r[e]},t.getBCHDigit=function(e){let t=0;for(;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw Error('"toSJISFunc" is not a valid function.');n=e},t.isKanjiModeEnabled=function(){return void 0!==n},t.toSJIS=function(e){return n(e)}},67738:function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},23249:function(e,t,n){let r=n(86245),i=n(3110),o=n(93971),a=n(21143),s=n(67738),c=r.getBCHDigit(7973);function u(e,t){return a.getCharCountIndicator(e,t)+4}t.from=function(e,t){return s.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,n){if(!s.isValid(e))throw Error("Invalid QR Code version");void 0===n&&(n=a.BYTE);let o=(r.getSymbolTotalCodewords(e)-i.getTotalCodewordsCount(e,t))*8;if(n===a.MIXED)return o;let c=o-u(n,e);switch(n){case a.NUMERIC:return Math.floor(c/10*3);case a.ALPHANUMERIC:return Math.floor(c/11*2);case a.KANJI:return Math.floor(c/13);case a.BYTE:default:return Math.floor(c/8)}},t.getBestVersionForData=function(e,n){let r;let i=o.from(n,o.M);if(Array.isArray(e)){if(e.length>1)return function(e,n){for(let r=1;r<=40;r++)if(function(e,t){let n=0;return e.forEach(function(e){let r=u(e.mode,t);n+=r+e.getBitsLength()}),n}(e,r)<=t.getCapacity(r,n,a.MIXED))return r}(e,i);if(0===e.length)return 1;r=e[0]}else r=e;return function(e,n,r){for(let i=1;i<=40;i++)if(n<=t.getCapacity(i,r,e))return i}(r.mode,r.getLength(),i)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw Error("Invalid QR Code version");let t=e<<12;for(;r.getBCHDigit(t)-c>=0;)t^=7973<<r.getBCHDigit(t)-c;return e<<12|t}},73976:function(e,t,n){let r=n(39165);t.render=function(e,t,n){var i;let o=n,a=t;void 0!==o||t&&t.getContext||(o=t,t=void 0),t||(a=function(){try{return document.createElement("canvas")}catch(e){throw Error("You need to specify a canvas element")}}()),o=r.getOptions(o);let s=r.getImageWidth(e.modules.size,o),c=a.getContext("2d"),u=c.createImageData(s,s);return r.qrToImageData(u.data,e,o),i=a,c.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=s,i.width=s,i.style.height=s+"px",i.style.width=s+"px",c.putImageData(u,0,0),a},t.renderToDataURL=function(e,n,r){let i=r;void 0!==i||n&&n.getContext||(i=n,n=void 0),i||(i={});let o=t.render(e,n,i),a=i.type||"image/png",s=i.rendererOpts||{};return o.toDataURL(a,s.quality)}},99401:function(e,t,n){let r=n(39165);function i(e,t){let n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function o(e,t,n){let r=e+t;return void 0!==n&&(r+=" "+n),r}t.render=function(e,t,n){let a=r.getOptions(t),s=e.modules.size,c=e.modules.data,u=s+2*a.margin,l=a.color.light.a?"<path "+i(a.color.light,"fill")+' d="M0 0h'+u+"v"+u+'H0z"/>':"",d="<path "+i(a.color.dark,"stroke")+' d="'+function(e,t,n){let r="",i=0,a=!1,s=0;for(let c=0;c<e.length;c++){let u=Math.floor(c%t),l=Math.floor(c/t);u||a||(a=!0),e[c]?(s++,c>0&&u>0&&e[c-1]||(r+=a?o("M",u+n,.5+l+n):o("m",i,0),i=0,a=!1),u+1<t&&e[c+1]||(r+=o("h",s),s=0)):i++}return r}(c,s,a.margin)+'"/>',f='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+('viewB
1ox="0 0 '+u)+" "+u+'" shape-rendering="crispEdges">'+l+d+"</svg>\n";return"function"==typeof n&&n(null,f),f}},39165:function(e,t){function n(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw Error("Invalid hex color: "+e);(3===t.length||4===t.length)&&(t=Array.prototype.concat.apply([],t.map(function(e){return[e,e]}))),6===t.length&&t.push("F","F");let n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});let t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,i=e.scale||4;return{width:r,scale:r?4:i,margin:t,color:{dark:n(e.color.dark||"#000000ff"),light:n(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,n){let r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){let i=n.modules.size,o=n.modules.data,a=t.getScale(i,r),s=Math.floor((i+2*r.margin)*a),c=r.margin*a,u=[r.color.light,r.color.dark];for(let t=0;t<s;t++)for(let n=0;n<s;n++){let l=(t*s+n)*4,d=r.color.light;t>=c&&n>=c&&t<s-c&&n<s-c&&(d=u[o[Math.floor((t-c)/a)*i+Math.floor((n-c)/a)]?1:0]),e[l++]=d.r,e[l++]=d.g,e[l++]=d.b,e[l]=d.a}}},57828:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(69703),i=n(2265),o=n(84814),a=n(42022),s=(0,n(52804)._)(),c=function(){},u=i.forwardRef(function(e,t){var n=i.useRef(null),o=i.useState({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:c}),u=o[0],l=o[1],d=e.forwardProps,f=e.children,h=e.className,p=e.removeScrollBar,m=e.enabled,y=e.shards,g=e.sideCar,b=e.noIsolation,w=e.inert,v=e.allowPinchZoom,A=e.as,x=e.gapMode,E=(0,r.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=(0,a.q)([n,t]),I=(0,r.__assign)((0,r.__assign)({},E),u);return i.createElement(i.Fragment,null,m&&i.createElement(g,{sideCar:s,removeScrollBar:p,shards:y,noIsolation:b,inert:w,setCallbacks:l,allowPinchZoom:!!v,lockRef:n,gapMode:x}),d?i.cloneElement(i.Children.only(f),(0,r.__assign)((0,r.__assign)({},I),{ref:C})):i.createElement(void 0===A?"div":A,(0,r.__assign)({},I,{className:h,ref:C}),f))});u.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},u.classNames={fullWidth:o.zi,zeroRight:o.pF};var l=n(29074),d=n(58387),f=n(68109),h=!1;if("undefined"!=typeof window)try{var p=Object.defineProperty({},"passive",{get:function(){return h=!0,!0}});window.addEventListener("test",p,p),window.removeEventListener("test",p,p)}catch(e){h=!1}var m=!!h&&{passive:!1},y=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},g=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),b(e,r)){var i=w(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},b=function(e,t){return"v"===e?y(t,"overflowY"):y(t,"overflowX")},w=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},v=function(e,t,n,r,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*r,c=n.target,u=t.contains(c),l=!1,d=s>0,f=0,h=0;do{var p=w(e,c),m=p[0],y=p[1]-p[2]-a*m;(m||y)&&b(e,c)&&(f+=y,h+=m),c=c instanceof ShadowRoot?c.host:c.parentNode}while(!u&&c!==document.body||u&&(t.contains(c)||t===c));return d&&(i&&1>Math.abs(f)||!i&&s>f)?l=!0:!d&&(i&&1>Math.abs(h)||!i&&-s>h)&&(l=!0),l},A=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},x=function(e){return[e.deltaX,e.deltaY]},E=function(e){return e&&"current"in e?e.current:e},C=0,I=[],k=(0,l.L)(s,function(e){var t=i.useRef([]),n=i.useRef([0,0]),o=i.useRef(),a=i.useState(C++)[0],s=i.useState(f.Ws)[0],c=i.useRef(e);i.useEffect(function(){c.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(0,r.__spreadArray)([e.lockRef.current],(e.shards||[]).map(E),!0).filter(
1Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var u=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!c.current.allowPinchZoom;var r,i=A(e),a=n.current,s="deltaX"in e?e.deltaX:a[0]-i[0],u="deltaY"in e?e.deltaY:a[1]-i[1],l=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===l.type)return!1;var f=g(d,l);if(!f)return!0;if(f?r=d:(r="v"===d?"h":"v",f=g(d,l)),!f)return!1;if(!o.current&&"changedTouches"in e&&(s||u)&&(o.current=r),!r)return!0;var h=o.current||r;return v(h,t,e,"h"===h?s:u,!0)},[]),l=i.useCallback(function(e){if(I.length&&I[I.length-1]===s){var n="deltaY"in e?x(e):A(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var i=(c.current.shards||[]).map(E).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?u(e,i[0]):!c.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),h=i.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),p=i.useCallback(function(e){n.current=A(e),o.current=void 0},[]),y=i.useCallback(function(t){h(t.type,x(t),t.target,u(t,e.lockRef.current))},[]),b=i.useCallback(function(t){h(t.type,A(t),t.target,u(t,e.lockRef.current))},[]);i.useEffect(function(){return I.push(s),e.setCallbacks({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:b}),document.addEventListener("wheel",l,m),document.addEventListener("touchmove",l,m),document.addEventListener("touchstart",p,m),function(){I=I.filter(function(e){return e!==s}),document.removeEventListener("wheel",l,m),document.removeEventListener("touchmove",l,m),document.removeEventListener("touchstart",p,m)}},[]);var w=e.removeScrollBar,k=e.inert;return i.createElement(i.Fragment,null,k?i.createElement(s,{styles:"\n  .block-interactivity-".concat(a," {pointer-events: none;}\n  .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,w?i.createElement(d.jp,{gapMode:e.gapMode}):null)}),B=i.forwardRef(function(e,t){return i.createElement(u,(0,r.__assign)({},e,{ref:t,sideCar:k}))});B.classNames=u.classNames;var P=B},17900:function(e,t,n){"use strict";function r(e){var t=e.match(/^var\((.*)\)$/);return t?t[1]:e}function i(e,t){var n={};if("object"==typeof t)!function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i={};for(var o in t){var a=t[o],s=[...r,o];"string"==typeof a||"number"==typeof a||null==a?i[o]=n(a,s):"object"!=typeof a||Array.isArray(a)?console.warn('Skipping invalid key "'.concat(s.join("."),'". Should be a string, number, null or object. Received: "').concat(Array.isArray(a)?"Array":typeof a,'"')):i[o]=e(a,n,s)}return i}(t,(t,i)=>{null!=t&&(n[r(function(e,t){var n=e;for(var r of t){if(!(r in n))throw Error("Path ".concat(t.join(" -> ")," does not exist in object"));n=n[r]}return n}(e,i))]=String(t))});else for(var i in e){var o=e[i];null!=o&&(n[r(i)]=o)}return Object.defineProperty(n,"toString",{value:function(){return Object.keys(this).map(e=>"".concat(e,":").concat(this[e])).join(";")},writable:!1}),n}n.d(t,{L:function(){return i}})},62787:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n.d(t,{$:function(){return s}});var o=e=>function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Object.assign({},...n.map(e=>e.styles)),a=Object.keys(o),s=a.filter(e=>"mappings"in o[e]);return Object.assign(t=>{var n=[],r={},a=i({},t),c=!1;for(var u of s){var l=t[u];if(null!=l)for(var d of(c=!0,o[u].mappings))r[d]=l,null==a[d]&&delete a[d]}var f=c?i(i({},r),a):t;for(var h in f)if(function(){var e=f[h],t=o[h];try{if(t.mappings)return 1;if("string"==typeof e||"number"==typeof e)n.push(t.values[e].defaultClass);else if(Array.isArray(e))for(var r=0;r<e.length;r++){var i=e[r];if(null!=i){var a=t.responsiveArray[r];n.push(t.values[i].conditions[a])}}else for(var s in e){var c=e[s];null!=c&&n.push(t.values[c].conditions[s])}}catch(e){throw e}}())continue;return e(n.join(" "))},{properties:new Set(a)})},a=e=>e,s=function(){return o(a)(...arguments)}},31597:function(e,t,n){"use strict";n.d(t,{d:function(){return o},M:function(){return i}});var r=function(e,t){return Object.defineProperty(e,"__recipe__",{value:t,writable:!1}),e};function i(e){var{conditions:t}=e;if(!t)throw Error("Styles have no conditions");return r(function(e){if("string"==typeof e||"number"==typeof e||"boolean"==typeof e){if(!t.defaultCondition)throw Error("No default condition");return{[t.defaultCondition]:e}}if(Array.isArray(e)){if(!("responsiveArray"in t))throw Error("Responsive arrays are not supported");var n={};for(var r in t.responsiveArray)null!=e[r]&&(n[t.responsiveArray[r]]=e[r]);return n}return e},{importPath:"@vanilla-extract/sprinkles/createUtils",importName:"createNormalizeValueFn",args:[{conditions:e.conditions}]})}function o(e){var{conditions:t}=e;if(!t)throw Error("Styles have no conditions");var n=i(e);return r(function(e,r){if("string"==typeof e||"number"==typeof e||"boolean"==typeof e){if(!t.defaultCondition)throw Error("No default condition");return r(e,t.defaultCondition)}var i=Array.isArray(e)?n(e):e,o={};for(var a in i)null!=i[a]&&(o[a]=r(i[a],a));return o},{importPath:"@vanilla-extract/sprinkles/createUtils",importName:"createMapValueFn",args:[{conditions:e.conditions}]})}},28297:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new i(r,o||e,a),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,o,a){var s=n?n+e:e;if(!this._events[s])return!1;var c,u,l=this._events[s],d=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),d){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,r),!0;case 4:return l.fn.call(l.context,t,r,i),!0;case 5:return l.fn.call(l.context,t,r,i,o),!0;case 6:return l.fn.call(l.context,t,r,i,o,a),!0}for(u=1,c=Array(d-1);u<d;u++)c[u-1]=arguments[u];l.fn.apply(l.context,c)}else{var f,h=l.length;for(u=0;u<h;u++)switch(l[u].once&&this.removeListener(e,l[u].fn,void 0,!0),d){case 1:l[u].fn.call(l[u].context);break;case 2:l[u].fn.call(l[u].context,t);break;case 3:l[u].fn.call(l[u].context,t,r);break;case 4:l[u].fn.call(l[u].context,t,r,i);break;default:if(!c)for(f=1,c=Array(d-1);f<d;f++)c[f-1]=arguments[f];l[u].fn.apply(l[u].context,c)}}return!0},s.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||a(this,o);else{for(var c=0,u=[],l=s.length;c<l;c++)(s[c].fn!==t||i&&!s[c].once||r&&s[c].context!==r)&&u.push(s[c]);u.length?this._events[o]=1===u.length?u[0]:u:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s},43369:function(e){"use strict";var t={single_source_shortest_paths:function(e,n,r){var i,o,a,s,c,u,l,d={},f={};f[n]=0;var h=t.PriorityQueue.make();for(h.push(n,0);!h.empty();)for(a in o=(i=h.pop()).value,s=i.cost,c=e[o]||{})c.hasOwnProperty(a)&&(u=s+c[a],l=f[a],(void 0===f[a]||l>u)&&(f[a]=u,h.push(a,u),d[a]=o));if(void 0!==r&&void 0===f[r])throw Error(["Could not find a path from ",n," to ",r,"."].join(""));return d},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],r=t;r;)n.push(r),e[r],r=e[r];return n.reverse(),n},find_path:function(e,n,r){var i=t.single_source_shortest_paths(e,n,r);return t.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(e){var n,r=t.PriorityQueue,i={};for(n in e=e||{},r)r.hasOwnProperty(n)&&(i[n]=r[n]);return i.queue=[],i.sorter=e.sorter||r.default_sorter,i},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){this.queue.push({value:e,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=t},57977:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2265);/**
2 * @license lucide-react v0.483.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=(...e)=>
6e.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim();/**
7 * @license lucide-react v0.483.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
12 * @license lucide-react v0.483.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */let s=(0,r.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:i,className:s="",children:c,iconNode:u,...l},d)=>(0,r.createElement)("svg",{ref:d,...a,width:t,height:t,stroke:e,strokeWidth:i?24*Number(n)/Number(t):n,className:o("lucide",s),...l},[...u.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(c)?c:[c]])),c=(e,t)=>{let n=(0,r.forwardRef)(({className:n,...a},c)=>(0,r.createElement)(s,{ref:c,iconNode:t,className:o(`lucide-${i(e)}`,n),...a}));return n.displayName=`${e}`,n}},84814:function(e,t,n){"use strict";n.d(t,{Av:function(){return a},pF:function(){return r},xv:function(){return o},zi:function(){return i}});var r="right-scroll-bar-position",i="width-before-scroll-bar",o="with-scroll-bars-hidden",a="--removed-body-scroll-bar-size"},58387:function(e,t,n){"use strict";n.d(t,{jp:function(){return m}});var r=n(2265),i=n(68109),o=n(84814),a={left:0,top:0,right:0,gap:0},s=function(e){return parseInt(e||"",10)||0},c=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[s(n),s(r),s(i)]},u=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return a;var t=c(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},l=(0,i.Ws)(),d="data-scroll-locked",f=function(e,t,n,r){var i=e.left,a=e.top,s=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n  .".concat(o.xv," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(c,"px ").concat(r,";\n  }\n  body[").concat(d,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(s,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(c,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(o.pF," {\n    right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(o.zi," {\n    margin-right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(o.pF," .").concat(o.pF," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(o.zi," .").concat(o.zi," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(d,"] {\n    ").concat(o.Av,": ").concat(c,"px;\n  }\n")},h=function(){var e=parseInt(document.body.getAttribute(d)||"0",10);return isFinite(e)?e:0},p=function(){r.useEffect(function(){return document.body.setAttribute(d,(h()+1).toString()),function(){var e=h()-1;e<=0?document.body.removeAttribute(d):document.body.setAttribute(d,e.toString())}},[])},m=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,o=void 0===i?"margin":i;p();var a=r.useMemo(function(){return u(o)},[o]);return r.createElement(l,{styles:f(a,!t,o,n?"":"!important")})}},68109:function(e,t,n){"use strict";n.d(t,{Ws:function(){return s}});var r,i=n(2265),o=function(){var e=0,t=null;return{add:function(i){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=r||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,a;(o=t).styleSheet?o.styleSheet.cssText=i:o.appendChild(document.createTextNode(i)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},a=function(){var e=o();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},s=function(){var e=a();return function(t){return e(t.styles,t.dynamic),null}}},66554:function(e,t,n){var r;!function(i,o){"use strict";var a="function",s="undefined",c="object",u="string",l="major",d="model",f="name",h="type",p="vendor",m="version",y="ar
16chitecture",g="console",b="mobile",w="tablet",v="smarttv",A="wearable",x="embedded",E="Amazon",C="Apple",I="ASUS",k="BlackBerry",B="Browser",P="Chrome",T="Firefox",O="Google",S="Huawei",R="Microsoft",N="Motorola",M="Opera",F="Samsung",L="Sharp",U="Sony",D="Xiaomi",_="Zebra",j="Facebook",q="Chromium OS",z="Mac OS",G=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},Q=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},W=function(e,t){return typeof e===u&&-1!==H(t).indexOf(H(e))},H=function(e){return e.toLowerCase()},K=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},$=function(e,t){for(var n,r,i,s,u,l,d=0;d<t.length&&!u;){var f=t[d],h=t[d+1];for(n=r=0;n<f.length&&!u&&f[n];)if(u=f[n++].exec(e))for(i=0;i<h.length;i++)l=u[++r],typeof(s=h[i])===c&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):o:this[s[0]]=l?s[1].call(this,l,s[2]):o:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):o):this[s]=l||o;d+=2}},V=function(e,t){for(var n in t)if(typeof t[n]===c&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(W(t[n][r],e))return"?"===n?o:n}else if(W(t[n],e))return"?"===n?o:n;return e},Z={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},J={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,m],[/opios[\/ ]+([\w\.]+)/i],[m,[f,M+" Mini"]],[/\bopr\/([\w\.]+)/i],[m,[f,M]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[f,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,m],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[f,"UC"+B]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[f,"Smart Lenovo "+B]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+B],m],[/\bfocus\/([\w\.]+)/i],[m,[f,T+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[f,M+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[f,M+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[f,"MIUI "+B]],[/fxios\/([-\w\.]+)/i],[m,[f,T]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 "+B]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 "+B],m],[/samsungbrowser\/([\w\.]+)/i],[m,[f,F+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],m],[/metasr[\/ ]?([\d\.]+)/i],[m,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[f,m],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,j],m],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[m,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[f,P+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,P+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[f,"Android "+B]],[/(chrome|omniweb|arora|[t
vendor: 5,068 bytes, line 16
16izenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[m,V,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[f,T+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[f,m],[/(cobalt)\/([\w\.]+)/i],[f,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,H]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,"",H]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,H]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[p,F],[h,w]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[p,F],[h,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[p,C],[h,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[p,C],[h,w]],[/(macintosh);/i],[d,[p,C]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[p,L],[h,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[p,S],[h,w]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[p,S],[h,b]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[p,D],[h,b]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[p,D],[h,w]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[p,"OPPO"],[h,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[p,"Vivo"],[h,b]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[p,"Realme"],[h,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[p,N],[h,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[p,N],[h,w]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[p,"LG"],[h,w]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[p,"LG"],[h,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[p,"Lenovo"],[h,w]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[p,"Nokia"],[h,b]],[/(pixel c)\b/i],[d,[p,O],[h,w]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[p,O],[h,b]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[p,U],[h,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[p,U],[h,w]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[p,"OnePlus"],[h,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[p,E],[h,w]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[p,E],[h,b]],[/(playbook);[-\w\),; ]+(rim)/i],[d,p,[h,w]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[p,k],[h,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[p,I],[h,w]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[p,I],[h,b]],[/(nexus 9)/i],[d,[p,"HTC"],[h,w]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[d,/_/g," "],[h,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[p,"Acer"],[h,w]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[p,"Meizu"],[h,b]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[p,"Ulefone"],[h,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asu
vendor: 7,191 bytes, line 16
16s)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[p,d,[h,b]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,d,[h,w]],[/(surface duo)/i],[d,[p,R],[h,w]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[p,"Fairphone"],[h,b]],[/(u304aa)/i],[d,[p,"AT&T"],[h,b]],[/\bsie-(\w*)/i],[d,[p,"Siemens"],[h,b]],[/\b(rct\w+) b/i],[d,[p,"RCA"],[h,w]],[/\b(venue[\d ]{2,7}) b/i],[d,[p,"Dell"],[h,w]],[/\b(q(?:mv|ta)\w+) b/i],[d,[p,"Verizon"],[h,w]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[p,"Barnes & Noble"],[h,w]],[/\b(tm\d{3}\w+) b/i],[d,[p,"NuVision"],[h,w]],[/\b(k88) b/i],[d,[p,"ZTE"],[h,w]],[/\b(nx\d{3}j) b/i],[d,[p,"ZTE"],[h,b]],[/\b(gen\d{3}) b.+49h/i],[d,[p,"Swiss"],[h,b]],[/\b(zur\d{3}) b/i],[d,[p,"Swiss"],[h,w]],[/\b((zeki)?tb.*\b) b/i],[d,[p,"Zeki"],[h,w]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],d,[h,w]],[/\b(ns-?\w{0,9}) b/i],[d,[p,"Insignia"],[h,w]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[p,"NextBook"],[h,w]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],d,[h,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],d,[h,b]],[/\b(ph-1) /i],[d,[p,"Essential"],[h,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[p,"Envizen"],[h,w]],[/\b(trio[-\w\. ]+) b/i],[d,[p,"MachSpeed"],[h,w]],[/\btu_(1491) b/i],[d,[p,"Rotor"],[h,w]],[/(shield[\w ]+) b/i],[d,[p,"Nvidia"],[h,w]],[/(sprint) (\w+)/i],[p,d,[h,b]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[p,R],[h,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[p,_],[h,w]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[p,_],[h,b]],[/smart-tv.+(samsung)/i],[p,[h,v]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[p,F],[h,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,"LG"],[h,v]],[/(apple) ?tv/i],[p,[d,C+" TV"],[h,v]],[/crkey/i],[[d,P+"cast"],[p,O],[h,v]],[/droid.+aft(\w+)( bui|\))/i],[d,[p,E],[h,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[p,L],[h,v]],[/(bravia[\w ]+)( bui|\))/i],[d,[p,U],[h,v]],[/(mitv-\w{5}) bui/i],[d,[p,D],[h,v]],[/Hbbtv.*(technisat) (.*);/i],[p,d,[h,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,K],[d,K],[h,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,v]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,d,[h,g]],[/droid.+; (shield) bui/i],[d,[p,"Nvidia"],[h,g]],[/(playstation [345portablevi]+)/i],[d,[p,U],[h,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[p,R],[h,g]],[/((pebble))app/i],[p,d,[h,A]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[p,C],[h,A]],[/droid.+; (glass) \d/i],[d,[p,O],[h,A]],[/droid.+; (wt63?0{2,3})\)/i],[d,[p,_],[h,A]],[/(quest( 2| pro)?)/i],[d,[p,j],[h,A]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[h,x]],[/(aeobc)\b/i],[d,[p,E],[h,x]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[h,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[h,w]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,w]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,b]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,m],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[f,[m,V,Z]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,V,Z],[f,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,z],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,m],[/\(bb(10);/i],[m,[f,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[f,T+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[f,P+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,q],m],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,m],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,m]]},Y=function(e,t){if(typeof e===c&&(t=e,e=o),!(this instanceof Y))return new Y(e,t).getResult();var n=typeof i!==s&&i.navigator?i.navigator:o,r=e||(n&&n.userAgent?n.userAgent:""),g=n&&n.userAgentData?n.userAgentData:o,v=t?G(J,t):J,A=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[f]=o,t[m]=o,$.call(t,r,v.browser),t[l]=typeof(e=t[m])===u?e.replace(/[^\d\.]/g,"").split(".")[0]:o,A&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[y]=o,$.call(e,r,v.cpu),e},this.getDevice=function(){var e={};return e[p]=o,e[d]=o,e[h]=o,$.call(e,r,v.device),A&&!e[h]&&g&&g.mobile&&(e[h]=b),A&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[h]=w),e},this.getEngine=function(){var e={};return e[f]=o,e[m]=o,$.call(e,r,v.engine),e},this.getOS=function(){var e={};return e[f]=o,e[m]=o,$.call(e,r,v.os),A&&!e[f]&&g&&"Unknown"!=g.platform&&(e[f]=g.platform.replace(/chrome os/i,q).replace(/macos/i,z)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===u&&e.length>500?K(e,500):e,this},this.setUA(r),this};Y.VERSION="1.0.37",Y.BROWSER=Q([f,m,l]),Y.CPU=Q([y]),Y.DEVICE=Q([d,p,h,g,b,v,w,A,x]),Y.ENGINE=Y.OS=Q([f,m]),typeof t!==s?(e.exp
16orts&&(t=e.exports=Y),t.UAParser=Y):n.amdO?o!==(r=(function(){return Y}).call(t,n,t,e))&&(e.exports=r):typeof i!==s&&(i.UAParser=Y);var X=typeof i!==s&&(i.jQuery||i.Zepto);if(X&&!X.ua){var ee=new Y;X.ua=ee.getResult(),X.ua.get=function(){return ee.getUA()},X.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)X.ua[n]=t[n]}}}("object"==typeof window?window:this)},42022:function(e,t,n){"use strict";n.d(t,{q:function(){return s}});var r=n(2265);function i(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,a=new WeakMap;function s(e,t){var n,s,c,u=(n=t||null,s=function(t){return e.forEach(function(e){return i(e,t)})},(c=(0,r.useState)(function(){return{value:n,callback:s,facade:{get current(){return c.value},set current(value){var e=c.value;e!==value&&(c.value=value,c.callback(value,e))}}}})[0]).callback=s,c.facade);return o(function(){var t=a.get(u);if(t){var n=new Set(t),r=new Set(e),o=u.current;n.forEach(function(e){r.has(e)||i(e,null)}),r.forEach(function(e){n.has(e)||i(e,o)})}a.set(u,e)},[e]),u}},29074:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(69703),i=n(2265),o=function(e){var t=e.sideCar,n=(0,r.__rest)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw Error("Sidecar medium not found");return i.createElement(o,(0,r.__assign)({},n))};function a(e,t){return e.useMedium(t),o}o.isSideCarExport=!0},52804:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(69703);function i(e){return e}function o(e){void 0===e&&(e={});var t,n,o,a=(void 0===t&&(t=i),n=[],o=!1,{read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var r=t(e,o);return n.push(r),function(){n=n.filter(function(e){return e!==r})}},assignSyncMedium:function(e){for(o=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){o=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}});return a.options=(0,r.__assign)({async:!0,ssr:!1},e),a}},10221:function(e,t,n){"use strict";/**
17 * @license React
18 * use-sync-external-store-shim.production.js
19 *
20 * Copyright (c) Meta Platforms, Inc. and affiliates.
21 *
22 * This source code is licensed under the MIT license found in the
23 * LICENSE file in the root directory of this source tree.
24 */var r=n(2265),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,c=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&l({inst:i})},[e,n,t]),a(function(){return u(i)&&l({inst:i}),e(function(){u(i)&&l({inst:i})})},[e]),c(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},55309:function(e,t,n){"use strict";/**
25 * @license React
26 * use-sync-external-store-shim/with-selector.production.js
27 *
28 * Copyright (c) Meta Platforms, Inc. and affiliates.
29 *
30 * This source code is licensed under the MIT license found in the
31 * LICENSE file in the root directory of this source tree.
32 */var r=n(2265),i=n(22362),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,s=r.useRef,c=r.useEffect,u=r.useMemo,l=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var h=a(e,(d=u(function(){function e(e){if(!c){if(c=!0,a=e,e=r(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(a=e,t):(a=e,s=n)}var a,s,c=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,r,i]))[0],d[1]);return c(function(){f.hasValue=!0,f.value=h},[h]),l(h),h}},22362:function(e,t,n){"use strict";e.exports=n(10221)},29292:function(e,t,n){"use strict";e.exports=n(55309)},25566:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c=[],u=!1,l=-1;function d(){u&&r&&(u=!1,r.length?c=r.concat(c):l=-1,c.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=c.length;t;){for(r=c,c=[];++l<t;)r&&r[l].run();l=-1,t=c.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},95183:function(e,t,n){"use strict";n.d(t,{W:function(){return l}});var r='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',i={rounded:'SFRounded, ui-rounded, "SF Pro Rounded", '.concat(r),system:r},o={large:{actionButton:"9999px",connectButton:"12px",modal:"24px",modalMobile:"28px"},medium:{actionButton:"10px",connectButton:"8px",modal:"16px",modalMobile:"18px"},none:{actionButton:"0px",connectButton:"0px",modal:"0px",modalMobile:"0px"},small:{actionButton:"4px",connectButton:"4px",modal:"8px",modalMobile:"8px"}},a={large:{modalOverlay:"blur(20px)"},none:{modalOverlay:"blur(0px)"},small:{modalOverlay:"blur(4px)"}},s=e=>{let{borderRadius:t="large",fontStack:n="rounded",overlayBlur:r="none"}=e;return{blurs:{modalOverlay:a[r].modalOverlay},fonts:{body:i[n]},radii:{actionButton:o[t].actionButton,connectButton:o[t].connectButton,menuButton:o[t].connectButton,modal:o[t].modal,modalMobile:o[t].modalMobile}}},c={blue:{accentColor:"#0E76FD",accentColorForeground:"#FFF"},green:{accentColor:"#1DB847",accentColorForeground:"#FFF"},orange:{accentColor:"#FF801F",accentColorForeground:"#FFF"},pink:{accentColor:"#FF5CA0",accentColorForeground:"#FFF"},purple:{accentColor:"#5F5AFA",accentColorForeground:"#FFF"},red:{accentColor:"#FA423C",accentColorForeground:"#FFF"}},u=c.blue,l=function(){let{accentColor:e=u.accentColor,accentColorForeground:t=u.accentColorForeground,...n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...s(n),colors:{accentColor:e,accentColorForeground:t,actionButtonBorder:"rgba(0, 0, 0, 0.04)",actionButtonBorderMobile:"rgba(0, 0, 0, 0.06)",actionButtonSecondaryBackgroun
32d:"rgba(0, 0, 0, 0.06)",closeButton:"rgba(60, 66, 66, 0.8)",closeButtonBackground:"rgba(0, 0, 0, 0.06)",connectButtonBackground:"#FFF",connectButtonBackgroundError:"#FF494A",connectButtonInnerBackground:"linear-gradient(0deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.06))",connectButtonText:"#25292E",connectButtonTextError:"#FFF",connectionIndicator:"#30E000",downloadBottomCardBackground:"linear-gradient(126deg, rgba(255, 255, 255, 0) 9.49%, rgba(171, 171, 171, 0.04) 71.04%), #FFFFFF",downloadTopCardBackground:"linear-gradient(126deg, rgba(171, 171, 171, 0.2) 9.49%, rgba(255, 255, 255, 0) 71.04%), #FFFFFF",error:"#FF494A",generalBorder:"rgba(0, 0, 0, 0.06)",generalBorderDim:"rgba(0, 0, 0, 0.03)",menuItemBackground:"rgba(60, 66, 66, 0.1)",modalBackdrop:"rgba(0, 0, 0, 0.3)",modalBackground:"#FFF",modalBorder:"transparent",modalText:"#25292E",modalTextDim:"rgba(60, 66, 66, 0.3)",modalTextSecondary:"rgba(60, 66, 66, 0.6)",profileAction:"#FFF",profileActionHover:"rgba(255, 255, 255, 0.5)",profileForeground:"rgba(60, 66, 66, 0.06)",selectedOptionBorder:"rgba(60, 66, 66, 0.1)",standby:"#FFD641"},shadows:{connectButton:"0px 4px 12px rgba(0, 0, 0, 0.1)",dialog:"0px 8px 32px rgba(0, 0, 0, 0.32)",profileDetailsAction:"0px 2px 6px rgba(37, 41, 46, 0.04)",selectedOption:"0px 2px 6px rgba(0, 0, 0, 0.24)",selectedWallet:"0px 2px 6px rgba(0, 0, 0, 0.12)",walletLogo:"0px 2px 16px rgba(0, 0, 0, 0.16)"}}};l.accentColors=c},36352:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});var r='{\n  "connect_wallet": {\n    "label": "Connect Wallet",\n    "wrong_network": {\n      "label": "Wrong network"\n    }\n  },\n\n  "intro": {\n    "title": "What is a Wallet?",\n    "description": "A wallet is used to send, receive, store, and display digital assets. It\'s also a new way to log in, without needing to create new accounts and passwords on every website.",\n    "digital_asset": {\n      "title": "A Home for your Digital Assets",\n      "description": "Wallets are used to send, receive, store, and display digital assets like Ethereum and NFTs."\n    },\n    "login": {\n      "title": "A New Way to Log In",\n      "description": "Instead of creating new accounts and passwords on every website, just connect your wallet."\n    },\n    "get": {\n      "label": "Get a Wallet"\n    },\n    "learn_more": {\n      "label": "Learn More"\n    }\n  },\n\n  "sign_in": {\n    "label": "Verify your account",\n    "description": "To finish connecting, you must sign a message in your wallet to verify that you are the owner of this account.",\n    "message": {\n      "send": "Sign message",\n      "preparing": "Preparing message...",\n      "cancel": "Cancel",\n      "preparing_error": "Error preparing message, please retry!"\n    },\n    "signature": {\n      "waiting": "Waiting for signature...",\n      "verifying": "Verifying signature...",\n      "signing_error": "Error signing message, please retry!",\n      "verifying_error": "Error verifying signature, please retry!",\n      "oops_error": "Oops, something went wrong!"\n    }\n  },\n\n  "connect": {\n    "label": "Connect",\n    "title": "Connect a Wallet",\n    "new_to_ethereum": {\n      "description": "New to Ethereum wallets?",\n      "learn_more": {\n        "label": "Learn More"\n      }\n    },\n    "learn_more": {\n      "label": "Learn more"\n    },\n    "recent": "Recent",\n    "status": {\n      "opening": "Opening %{wallet}...",\n      "connecting": "Connecting",\n      "connect_mobile": "Continue in %{wallet}",\n      "not_installed": "%{wallet} is not installed",\n      "not_available": "%{wallet} is not available",\n      "confirm": "Confirm connection in the extension",\n      "confirm_mobile": "Accept connection request in the wallet"\n    },\n    "secondary_action": {\n      "get": {\n        "description": "Don\'t have %{wallet}?",\n        "label": "GET"\n      },\n      "install": {\n        "label": "INSTALL"\n      },\n      "retry": {\n        "label": "RETRY"\n      }\n    },\n    "walletconnect": {\n      "description": {\n        "full": "Need the official WalletConnect modal?",\n        "compact": "Need the WalletConnect modal?"\n      }
32,\n      "open": {\n        "label": "OPEN"\n      }\n    }\n  },\n\n  "connect_scan": {\n    "title": "Scan with %{wallet}",\n    "fallback_title": "Scan with your phone"\n  },\n\n  "connector_group": {\n    "installed": "Installed",\n    "recommended": "Recommended",\n    "other": "Other",\n    "popular": "Popular",\n    "more": "More",\n    "others": "Others"\n  },\n\n  "get": {\n    "title": "Get a Wallet",\n    "action": {\n      "label": "GET"\n    },\n    "mobile": {\n      "description": "Mobile Wallet"\n    },\n    "extension": {\n      "description": "Browser Extension"\n    },\n    "mobile_and_extension": {\n      "description": "Mobile Wallet and Extension"\n    },\n    "mobile_and_desktop": {\n      "description": "Mobile and Desktop Wallet"\n    },\n    "looking_for": {\n      "title": "Not what you\'re looking for?",\n      "mobile": {\n        "description": "Select a wallet on the main screen to get started with a different wallet provider."\n      },\n      "desktop": {\n        "compact_description": "Select a wallet on the main screen to get started with a different wallet provider.",\n        "wide_description": "Select a wallet on the left to get started with a different wallet provider."\n      }\n    }\n  },\n\n  "get_options": {\n    "title": "Get started with %{wallet}",\n    "short_title": "Get %{wallet}",\n    "mobile": {\n      "title": "%{wallet} for Mobile",\n      "description": "Use the mobile wallet to explore the world of Ethereum.",\n      "download": {\n        "label": "Get the app"\n      }\n    },\n    "extension": {\n      "title": "%{wallet} for %{browser}",\n      "description": "Access your wallet right from your favorite web browser.",\n      "download": {\n        "label": "Add to %{browser}"\n      }\n    },\n    "desktop": {\n      "title": "%{wallet} for %{platform}",\n      "description": "Access your wallet natively from your powerful desktop.",\n      "download": {\n        "label": "Add to %{platform}"\n      }\n    }\n  },\n\n  "get_mobile": {\n    "title": "Install %{wallet}",\n    "description": "Scan with your phone to download on iOS or Android",\n    "continue": {\n      "label": "Continue"\n    }\n  },\n\n  "get_instructions": {\n    "mobile": {\n      "connect": {\n        "label": "Connect"\n      },\n      "learn_more": {\n        "label": "Learn More"\n      }\n    },\n    "extension": {\n      "refresh": {\n        "label": "Refresh"\n      },\n      "learn_more": {\n        "label": "Learn More"\n      }\n    },\n    "desktop": {\n      "connect": {\n        "label": "Connect"\n      },\n      "learn_more": {\n        "label": "Learn More"\n      }\n    }\n  },\n\n  "chains": {\n    "title": "Switch Networks",\n    "wrong_network": "Wrong network detected, switch or disconnect to continue.",\n    "confirm": "Confirm in Wallet",\n    "switching_not_supported": "Your wallet does not support switching networks from %{appName}. Try switching networks from within your wallet instead.",\n    "switching_not_supported_fallback": "Your wallet does not support switching networks from this app. Try switching networks from within your wallet instead.",\n    "disconnect": "Disconnect",\n    "connected": "Connected"\n  },\n\n  "profile": {\n    "disconnect": {\n      "label": "Disconnect"\n    },\n    "copy_address": {\n      "label": "Copy Address",\n      "copied": "Copied!"\n    },\n    "explorer": {\n      "label": "View more on explorer"\n    },\n    "transactions": {\n      "description": "%{appName} transactions will appear here...",\n      "description_fallback": "Your transactions will appear here...",\n      "recent": {\n        "title": "Recent Transactions"\n      },\n      "clear": {\n        "label": "Clear All"\n      }\n    }\n  },\n\n  "wallet_connectors": {\n    "argent": {\n      "qr_code": {\n        "step1": {\n          "description": "Put Argent on your home screen for faster access to your wallet.",\n          "title": "Open the Argent app"\n        },\n        "step2": {\n          "description": "Create a wallet and username, or import an existing wallet.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n          "title": "Tap the Scan QR button"\n        }\n      }\n    },\n\n    "berasig": {\n      "extension": {\n        "step1": {\n          "title": "Install the BeraSig extension",\n          "description": "We recommend pinning BeraSig to your taskbar for easier access to your wallet."\n        },\n        "step2": {\n          "title": "Create a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "best": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the Best Wallet app",\n          "description": "Add Best Wallet to your home screen for faster access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Tap the QR icon and scan",\n          "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n        }\n      }\n    },\n\n    "bifrost": {\n      "qr_code": {\n        "step1": {\n          "description": "We recommend putting Bifrost Wallet on your home screen for quicker access.",\n          "title": "Open the Bifrost Wallet app"\n        },\n        "step2": {\n          "description": "Create or import a wallet using your recovery phrase.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n          "title": "Tap the scan button"\n        }\n      }\n    },\n\n    "bitget": {\n      "qr_code": {\n        "step1": {\n          "description": "We recommend putting Bitget Wallet on your home screen for quicker access.",\n          "title": "Open the Bitget Wallet app"\n        },\n        "step2": {\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n          "title": "Tap the scan button"\n        }\n      },\n\n      "extension": {\n        "step1": {\n          "description": "We recommend pinning Bitget Wallet to your taskbar for quicker access to your wallet.",\n          "title": "Install the Bitget Wallet extension"\n        },\n        "step2": {\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n          "title": "Refresh your browser"\n        }\n      }\n    },\n\n    "bitski": {\n      "extension": {\n        "step1": {\n          "description": "We recommend pinning Bitski to your taskbar for quicker access to your wallet.",\n          "title": "Install the Bitski extension"\n        },\n        "step2": {\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n          "title": "Refresh your browser"\n        }\n      }\n    },\n\n    "bitverse": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the Bitverse Wallet app",\n          "description": "Add Bitverse Wallet to your home screen for faster access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Tap the QR icon and scan",\n          "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n        }\n      }\n    },\n\n    "bloom": {\n      "desktop": {\n        "step1": {\n          "title": "Open the Bloom Wallet app",\n          "description": "We recommend putting Bloom Wallet on your home screen for quicker access."\n        },\n        "step2": {\n          "description": "Create or import a wallet using your recovery phrase.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "After you have a wallet, click on Connect to connect via Bloom. A connection prompt in the app will appear for you to confirm the connection.",\n          "title": "Click on Connect"\n        }\n      }\n    },\n\n    "bybit": {\n      "qr_code": {\n        "step1": {\n          "description": "We recommend putting Bybit on your home screen for faster access to your wallet.",\n          "title": "Open the Bybit app"\n        },\n        "step2": {\n          "description": "You can easily backup your wallet using our backup feature on your phone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n          "title": "Tap the scan button"\n        }\n      },\n\n      "extension": {\n        "step1": {\n          "description": "Click at the top right of your browser and pin Bybit Wallet for easy access.",\n          "title": "Install the Bybit Wallet extension"\n        },\n        "step2": {\n          "description": "Create a new wallet or import an existing one.",\n          "title": "Create or Import a wallet"\n        },\n        "step3": {\n          "description": "Once you set up Bybit Wallet, click below to refresh the browser and load up the extension.",\n          "title": "Refresh your browser"\n        }\n      }\n    },\n\n    "binance": {\n      "qr_code": {\n        "step1": {\n          "description": "We recommend putting Binance on your home screen for faster access to your wallet.",\n          "title": "Open the Binance app"\n        },\n        "step2": {\n          "description": "You can easily backup your wallet using our backup feature on your phone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n          "title": "Tap the WalletConnect button"\n        }\n      }\n    },\n\n    "coin98": {\n      "qr_code": {\n        "step1": {\n          "description": "We recommend putting Coin98 Wallet on your home screen for faster access to your wallet.",\n          "title": "Open the C
32oin98 Wallet app"\n        },\n        "step2": {\n          "description": "You can easily backup your wallet using our backup feature on your phone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n          "title": "Tap the WalletConnect button"\n        }\n      },\n\n      "extension": {\n        "step1": {\n          "description": "Click at the top right of your browser and pin Coin98 Wallet for easy access.",\n          "title": "Install the Coin98 Wallet extension"\n        },\n        "step2": {\n          "description": "Create a new wallet or import an existing one.",\n          "title": "Create or Import a wallet"\n        },\n        "step3": {\n          "description": "Once you set up Coin98 Wallet, click below to refresh the browser and load up the extension.",\n          "title": "Refresh your browser"\n        }\n      }\n    },\n\n    "coinbase": {\n      "qr_code": {\n        "step1": {\n          "description": "We recommend putting Coinbase Wallet on your home screen for quicker access.",\n          "title": "Open the Coinbase Wallet app"\n        },\n        "step2": {\n          "description": "You can easily backup your wallet using the cloud backup feature.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n          "title": "Tap the scan button"\n        }\n      },\n\n      "extension": {\n        "step1": {\n          "description": "We recommend pinning Coinbase Wallet to your taskbar for quicker access to your wallet.",\n          "title": "Install the Coinbase Wallet extension"\n        },\n        "step2": {\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n          "title": "Refresh your browser"\n        }\n      }\n    },\n\n    "compass": {\n      "extension": {\n        "step1": {\n          "description": "We recommend pinning Compass Wallet to your taskbar for quicker access to your wallet.",\n          "title": "Install the Compass Wallet extension"\n        },\n        "step2": {\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n          "title": "Refresh your browser"\n        }\n      }\n    },\n\n    "core": {\n      "qr_code": {\n        "step1": {\n          "description": "We recommend putting Core on your home screen for faster access to your wallet.",\n          "title": "Open the Core app"\n        },\n        "step2": {\n          "description": "You can easily backup your wallet using our backup feature on your phone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n          "title": "Tap the WalletConnect button"\n        }\n      },\n\n      "extension": {\n        "step1": {\n          "description": "We recommend pinning Core to your taskbar for quicker access to your wallet.",\n          "title": "Install the Core extension"\n        },\n        "step2": {\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n          "title": "Refresh your browser"\n        }\n      }\n    },\n\n    "fox": {\n      "qr_code": {\n        "step1": {\n          "description": "We recommend putting FoxWallet on your home screen for quicker access.",\n          "title": "Open the FoxWallet app"\n        },\n        "step2": {\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n          "title": "Tap the scan button"\n        }\n      }\n    },\n\n    "frontier": {\n      "qr_code": {\n        "step1": {\n          "description": "We recommend putting Frontier Wallet on your home screen for quicker access.",\n          "title": "Open the Frontier Wallet app"\n        },\n        "step2": {\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n          "title": "Tap the scan button"\n        }\n      },\n\n      "extension": {\n        "step1": {\n          "description": "We recommend pinning Frontier Wallet to your taskbar for quicker access to your wallet.",\n          "title": "Install the Frontier Wallet extension"\n        },\n        "step2": {\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n          "title": "Refresh your browser"\n        }\n      }\n    },\n\n    "im_token": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the imToken app",\n          "description": "Put imToken app on your home screen for faster access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Tap Scanner Icon in top right corner",\n          "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n        }\n      }\n    },\n\n    "iopay": {\n      "qr_code": {\n        "step1": {\n          "description": "We recommend putting ioPay on your home screen for faster access to your wallet.",\n          "title": "Open the ioPay app"\n        },\n        "step2": {\n          "description": "You can easily backup your wallet using our backup feature on your phone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n          "title": "Tap the WalletConnect button"\n        }\n      }\n    },\n\n    "kaikas": {\n      "extension": {\n        "step1": {\n          "description": "We recommend pinning Kaikas to your taskbar for quicker access to your wallet.",\n          "title": "Install the Kaikas extension"\n        },\n        "step2": {\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n          "title": "Refresh your browser"\n        }\n      },\n      "qr_code": {\n        "step1": {\n          "title": "Open the Kaikas app",\n          "description": "Put Kaikas app on your home screen for faster access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Tap Scanner Icon in top right corner",\n          "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n        }\n      }\n    },\n\n    "kaia": {\n      "extension": {\n        "step1": {\n          "description": "We recommend pinning Kaia to your taskbar for quicker access to your wallet.",\n          "title": "Install the Kaia extension"\n        },\n        "step2": {\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n          "title": "Refresh your browser"\n        }\n      },\n      "qr_code": {\n        "step1": {\n          "title": "Open the Kaia app",\n          "description": "Put Kaia app on your home screen for faster access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Tap Scanner Icon in top right corner",\n          "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n        }\n      }\n    },\n\n    "kraken": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the Kraken Wallet app",\n          "description": "Add Kraken Wallet to your home screen for faster access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Tap the QR icon and scan",\n          "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n        }\n      }\n    },\n\n    "kresus": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the Kresus Wallet app",\n          "description": "Add Kresus Wallet to your home screen for faster access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Tap the QR icon and scan",\n          "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n        }\n      }\n    },\n\n    "magicEden": {\n      "extension": {\n        "step1": {\n          "title": "Install the Magic Eden extension",\n          "description": "We recommend pinning Magic Eden to your taskbar for easier access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret recovery phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "metamask": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the MetaMask app",\n          "description": "We recommend putting MetaMask on your home screen for quicker access."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Tap the scan button",\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n        }\n      },\n\n      "extension": {\n        "step1": {\n          "title": "Install the MetaMask extension",\n          "description": "We recommend pinning MetaMask to your taskbar for quicker access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "nestwallet": {\n      "extension": {\n        "step1": {\n          "title": "Install the NestWallet extension",\n          "description": "We recommend pinning NestWallet to your taskbar for quicker access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    }
32,\n\n    "okx": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the OKX Wallet app",\n          "description": "We recommend putting OKX Wallet on your home screen for quicker access."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Tap the scan button",\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n        }\n      },\n\n      "extension": {\n        "step1": {\n          "title": "Install the OKX Wallet extension",\n          "description": "We recommend pinning OKX Wallet to your taskbar for quicker access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "omni": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the Omni app",\n          "description": "Add Omni to your home screen for faster access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Tap the QR icon and scan",\n          "description": "Tap the QR icon on your home screen, scan the code and confirm the prompt to connect."\n        }\n      }\n    },\n\n    "1inch": {\n      "qr_code": {\n        "step1": {\n          "description": "Put 1inch Wallet on your home screen for faster access to your wallet.",\n          "title": "Open the 1inch Wallet app"\n        },\n        "step2": {\n          "description": "Create a wallet and username, or import an existing wallet.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n          "title": "Tap the Scan QR button"\n        }\n      }\n    },\n\n    "token_pocket": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the TokenPocket app",\n          "description": "We recommend putting TokenPocket on your home screen for quicker access."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Tap the scan button",\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n        }\n      },\n\n      "extension": {\n        "step1": {\n          "title": "Install the TokenPocket extension",\n          "description": "We recommend pinning TokenPocket to your taskbar for quicker access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "trust": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the Trust Wallet app",\n          "description": "Put Trust Wallet on your home screen for faster access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Tap WalletConnect in Settings",\n          "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n        }\n      },\n\n      "extension": {\n        "step1": {\n          "title": "Install the Trust Wallet extension",\n          "description": "Click at the top right of your browser and pin Trust Wallet for easy access."\n        },\n        "step2": {\n          "title": "Create or Import a wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up Trust Wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    }
32,\n\n    "uniswap": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the Uniswap app",\n          "description": "Add Uniswap Wallet to your home screen for faster access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Tap the QR icon and scan",\n          "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n        }\n      }\n    },\n\n    "zerion": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the Zerion app",\n          "description": "We recommend putting Zerion on your home screen for quicker access."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Tap the scan button",\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n        }\n      },\n\n      "extension": {\n        "step1": {\n          "title": "Install the Zerion extension",\n          "description": "We recommend pinning Zerion to your taskbar for quicker access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "rainbow": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the Rainbow app",\n          "description": "We recommend putting Rainbow on your home screen for faster access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "You can easily backup your wallet using our backup feature on your phone."\n        },\n        "step3": {\n          "title": "Tap the scan button",\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n        }\n      }\n    },\n\n    "enkrypt": {\n      "extension": {\n        "step1": {\n          "description": "We recommend pinning Enkrypt Wallet to your taskbar for quicker access to your wallet.",\n          "title": "Install the Enkrypt Wallet extension"\n        },\n        "step2": {\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n          "title": "Refresh your browser"\n        }\n      }\n    },\n\n    "frame": {\n      "extension": {\n        "step1": {\n          "description": "We recommend pinning Frame to your taskbar for quicker access to your wallet.",\n          "title": "Install Frame & the companion extension"\n        },\n        "step2": {\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n          "title": "Refresh your browser"\n        }\n      }\n    },\n\n    "one_key": {\n      "extension": {\n        "step1": {\n          "title": "Install the OneKey Wallet extension",\n          "description": "We recommend pinning OneKey Wallet to your taskbar for quicker access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    }
32,\n\n    "paraswap": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the ParaSwap app",\n          "description": "Add ParaSwap Wallet to your home screen for faster access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Tap the QR icon and scan",\n          "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n        }\n      }\n    },\n\n    "phantom": {\n      "extension": {\n        "step1": {\n          "title": "Install the Phantom extension",\n          "description": "We recommend pinning Phantom to your taskbar for easier access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret recovery phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "rabby": {\n      "extension": {\n        "step1": {\n          "title": "Install the Rabby extension",\n          "description": "We recommend pinning Rabby to your taskbar for quicker access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "ronin": {\n      "qr_code": {\n        "step1": {\n          "description": "We recommend putting Ronin Wallet on your home screen for quicker access.",\n          "title": "Open the Ronin Wallet app"\n        },\n        "step2": {\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n          "title": "Tap the scan button"\n        }\n      },\n\n      "extension": {\n        "step1": {\n          "description": "We recommend pinning Ronin Wallet to your taskbar for quicker access to your wallet.",\n          "title": "Install the Ronin Wallet extension"\n        },\n        "step2": {\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n          "title": "Create or Import a Wallet"\n        },\n        "step3": {\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n          "title": "Refresh your browser"\n        }\n      }\n    },\n\n    "ramper": {\n      "extension": {\n        "step1": {\n          "title": "Install the Ramper extension",\n          "description": "We recommend pinning Ramper to your taskbar for easier access to your wallet."\n        },\n        "step2": {\n          "title": "Create a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "safeheron": {\n      "extension": {\n        "step1": {\n          "title": "Install the Core extension",\n          "description": "We recommend pinning Safeheron to your taskbar for quicker access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "taho": {\n      "extension": {\n        "step1": {\n          "title": "Install the Taho extension",\n          "description": "We recommend pinning Tah
32o to your taskbar for quicker access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "wigwam": {\n      "extension": {\n        "step1": {\n          "title": "Install the Wigwam extension",\n          "description": "We recommend pinning Wigwam to your taskbar for quicker access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "talisman": {\n      "extension": {\n        "step1": {\n          "title": "Install the Talisman extension",\n          "description": "We recommend pinning Talisman to your taskbar for quicker access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import an Ethereum Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your recovery phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "xdefi": {\n      "extension": {\n        "step1": {\n          "title": "Install the XDEFI Wallet extension",\n          "description": "We recommend pinning XDEFI Wallet to your taskbar for quicker access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "zeal": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the Zeal app",\n          "description": "Add Zeal Wallet to your home screen for faster access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Tap the QR icon and scan",\n          "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n        }\n      },\n      "extension": {\n        "step1": {\n          "title": "Install the Zeal extension",\n          "description": "We recommend pinning Zeal to your taskbar for quicker access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "safepal": {\n      "extension": {\n        "step1": {\n          "title": "Install the SafePal Wallet extension",\n          "description": "Click at the top right of your browser and pin SafePal Wallet for easy access."\n        },\n        "step2": {\n          "title": "Create or Import a wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up SafePal Wallet, click below to refresh the browser and load up the extension."\n        }\n      },\n      "qr_code": {\n        "step1": {\n          "title": "Open the SafePal Wallet app",\n          "description": "Put SafePal Wallet on your home screen for faster access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Tap WalletConnect in Settings",\n          "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n        }\n      }\n    },\n\n    "desig": {\n      "extension": {\n        "step1": {\n          "title": "Install the Desig extension",\n          "description": "We recommend pinning Desig to your taskbar for easier access to your wallet."\n        },\n        "step2": {\n          "title": "Create a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      }\n    },\n\n    "subwallet": {\n      "extension": {\n        "step1": {\n          "title": "Install the SubWallet extension",\n          "description": "We recommend pinning SubWallet to your taskbar for quicker access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your recovery phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      },\n      "qr_code": {\n        "step1": {\n          "title": "Open the SubWallet app",\n          "description": "We recommend putting SubWallet on your home screen for quicker access."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Tap the scan button",\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n        }\n      }\n    },\n\n    "clv": {\n      "extension": {\n        "step1": {\n          "title": "Install the CLV Wallet extension",\n          "description": "We recommend pinning CLV Wallet to your taskbar for quicker access to your wallet."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Refresh your browser",\n          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n        }\n      },\n      "qr_code": {\n        "step1": {\n          "title": "Open the CLV Wallet app",\n          "description": "We recommend putting CLV Wallet on your home screen for quicker access."\n        },\n        "step2": {\n          "title": "Create or Import a Wallet",\n          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n        },\n        "step3": {\n          "title": "Tap the scan button",\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n        }\n      }\n    },\n\n    "okto": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the Okto a
32pp",\n          "description": "Add Okto to your home screen for quick access"\n        },\n        "step2": {\n          "title": "Create an MPC Wallet",\n          "description": "Create an account and generate a wallet"\n        },\n        "step3": {\n          "title": "Tap WalletConnect in Settings",\n          "description": "Tap the Scan QR icon at the top right and confirm the prompt to connect."\n        }\n      }\n    },\n\n    "ledger": {\n      "desktop": {\n        "step1": {\n          "title": "Open the Ledger Live app",\n          "description": "We recommend putting Ledger Live on your home screen for quicker access."\n        },\n        "step2": {\n          "title": "Set up your Ledger",\n          "description": "Set up a new Ledger or connect to an existing one."\n        },\n        "step3": {\n          "title": "Connect",\n          "description": "A connection prompt will appear for you to connect your wallet."\n        }\n      },\n      "qr_code": {\n        "step1": {\n          "title": "Open the Ledger Live app",\n          "description": "We recommend putting Ledger Live on your home screen for quicker access."\n        },\n        "step2": {\n          "title": "Set up your Ledger",\n          "description": "You can either sync with the desktop app or connect your Ledger."\n        },\n        "step3": {\n          "title": "Scan the code",\n          "description": "Tap WalletConnect then Switch to Scanner. After you scan, a connection prompt will appear for you to connect your wallet."\n        }\n      }\n    },\n\n    "valora": {\n      "qr_code": {\n        "step1": {\n          "title": "Open the Valora app",\n          "description": "We recommend putting Valora on your home screen for quicker access."\n        },\n        "step2": {\n          "title": "Create or import a wallet",\n          "description": "Create a new wallet or import an existing one."\n        },\n        "step3": {\n          "title": "Tap the scan button",\n          "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n        }\n      }\n    }\n  }\n}\n'},79555:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var r=n(44614),i=n(46063),o=new class extends r.l{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!i.sk&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:globalThis.document?.visibilityState!=="hidden"}}},1793:function(e,t,n){"use strict";n.d(t,{R:function(){return s},m:function(){return a}});var r=n(45139),i=n(2041),o=n(90326),a=class extends i.F{#r;#i;#o;constructor(e){super(),this.mutationId=e.mutationId,this.#i=e.mutationCache,this.#r=[],this.state=e.state||s(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#r.includes(e)||(this.#r.push(e),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#r=this.#r.filter(t=>t!==e),this.scheduleGc(),this.#i.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#r.length||("pending"===this.state.status?this.scheduleGc():this.#i.remove(this))}continue(){return this.#o?.continue()??this.execute(this.state.variables)}async execute(e){this.#o=(0,o.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#a({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#i.canRun(this)});let t="pending"===this.state.status,n=!this.#o.canStart();try{if(!t){this.#a({type:"pending",variables:e,isPaused:n}),await this.#i.config.onMutate?.(e,this);let t=await this.options.onMutate?.(e);t!==this.state.context&&this.#a({type:"pending",context:t,variables:e,isPaused:n})}let r=await this.#o.start();return await this.#i.config.onSuccess?.(r,e,this.state.context,this),await this.options.onSuccess?.(r,e,this.state.context),await this.#i.config.onSettled?.(r,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(r,null,e,this.state.context),this.#a({type:"success",data:r}),r}catch(t){try{throw await this.#i.config.onError?.(t,e,this.state.context,this),await this.options.onError?.(t,e,this.state.context),await this.#i.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,t,e,this.state.context),t}finally{this.#a({type:"error",error:t})}}finally{this.#i.runNext(this)}}#a(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};
32case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),r.Vr.batch(()=>{this.#r.forEach(t=>{t.onMutationUpdate(e)}),this.#i.notify({mutation:this,type:"updated",action:e})})}};function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},45139:function(e,t,n){"use strict";n.d(t,{Vr:function(){return i}});var r=e=>setTimeout(e,0),i=function(){let e=[],t=0,n=e=>{e()},i=e=>{e()},o=r,a=r=>{t?e.push(r):o(()=>{n(r)})},s=()=>{let t=e;e=[],t.length&&o(()=>{i(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{--t||s()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{i=e},setScheduler:e=>{o=e}}}()},17211:function(e,t,n){"use strict";n.d(t,{N:function(){return o}});var r=n(44614),i=n(46063),o=new class extends r.l{#s=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!i.sk&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#s!==e&&(this.#s=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#s}}},4668:function(e,t,n){"use strict";n.d(t,{A:function(){return s},z:function(){return c}});var r=n(46063),i=n(45139),o=n(90326),a=n(2041),s=class extends a.F{#c;#u;#l;#d;#o;#f;#h;constructor(e){super(),this.#h=!1,this.#f=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#d=e.client,this.#l=this.#d.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#c=function(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=e.state??this.#c,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#o?.promise}setOptions(e){this.options={...this.#f,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#l.remove(this)}setData(e,t){let n=(0,r.oE)(this.state.data,e,this.options);return this.#a({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#a({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#o?.promise;return this.#o?.cancel(e),t?t.then(r.ZT).catch(r.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#c)}isActive(){return this.observers.some(e=>!1!==(0,r.Nc)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===r.CN||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(e=0){return this.state.isInvalidated||void 0===this.state.data||!(0,r.Kp)(this.state.dataUpdatedAt,e)}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#o?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#o?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#l.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#o&&(this.#h?this.#o.cancel({revert:!0}):this.#o.cancelRetry()),this.scheduleGc()),this.#l.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#o)return this.#o.continueRetry(),this.#o.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,i=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#h=!0,n.signal)}
32)},a={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#d,state:this.state,fetchFn:()=>{let e=(0,r.cG)(this.options,t),n={client:this.#d,queryKey:this.queryKey,meta:this.meta};return(i(n),this.#h=!1,this.options.persister)?this.options.persister(e,n,this):e(n)}};i(a),this.options.behavior?.onFetch(a,this),this.#u=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#a({type:"fetch",meta:a.fetchOptions?.meta});let s=e=>{(0,o.DV)(e)&&e.silent||this.#a({type:"error",error:e}),(0,o.DV)(e)||(this.#l.config.onError?.(e,this),this.#l.config.onSettled?.(this.state.data,e,this)),this.scheduleGc()};return this.#o=(0,o.Mz)({initialPromise:t?.initialPromise,fn:a.fetchFn,abort:n.abort.bind(n),onSuccess:e=>{if(void 0===e){s(Error(`${this.queryHash} data is undefined`));return}try{this.setData(e)}catch(e){s(e);return}this.#l.config.onSuccess?.(e,this),this.#l.config.onSettled?.(e,this.state.error,this),this.scheduleGc()},onError:s,onFail:(e,t)=>{this.#a({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}),this.#o.start()}#a(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...c(t.data,this.options),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let n=e.error;if((0,o.DV)(n)&&n.revert&&this.#u)return{...this.#u,fetchStatus:"idle"};return{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),i.Vr.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#l.notify({query:this,type:"updated",action:e})})}};function c(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,o.Kw)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}},8385:function(e,t,n){"use strict";n.d(t,{S:function(){return m}});var r=n(46063),i=n(4668),o=n(45139),a=n(44614),s=class extends a.l{constructor(e={}){super(),this.config=e,this.#p=new Map}#p;build(e,t,n){let o=t.queryKey,a=t.queryHash??(0,r.Rm)(o,t),s=this.get(a);return s||(s=new i.A({client:e,queryKey:o,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o)}),this.add(s)),s}add(e){this.#p.has(e.queryHash)||(this.#p.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#p.get(e.queryHash);t&&(e.destroy(),t===e&&this.#p.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){o.Vr.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#p.get(e)}getAll(){return[...this.#p.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r._x)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,r._x)(e,t)):t}notify(e){o.Vr.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){o.Vr.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){o.Vr.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},c=n(1793),u=class extends a.l{constructor(e={}){super(),this.config=e,this.#m=new Set,this.#y=new Map,this.#g=0}#m;#y;#g;build(e,t,n){let r=new c.m({mutationCache:this,mutationId:++this.#g,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#m.add(e);let t=l(e);if("string"==typeof t){let n=this.#y.get(t);n?n.push(e):this.#y.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#m.delete(e)){let t=l(e);if("string"==typeof t){let n=this.#y.get(t);if(n){if(n.length>1){let t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#y.delete(t)}}}this.notify({type:"removed",mutation:e})}canRun(e){let t=l(e);if("string"!=typeof t)return!0;{let n=this.#y.get(t),r=n?.find(e=>"pending"===e.state.status);return!r||r===e}}runNext(e){let t=l(e);if("string"!=typeof t)return Promise.resolve();{let n=this.#y.get(t)?.find(t=>
32t!==e&&t.state.isPaused);return n?.continue()??Promise.resolve()}}clear(){o.Vr.batch(()=>{this.#m.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#m.clear(),this.#y.clear()})}getAll(){return Array.from(this.#m)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r.X7)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,r.X7)(e,t))}notify(e){o.Vr.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return o.Vr.batch(()=>Promise.all(e.map(e=>e.continue().catch(r.ZT))))}};function l(e){return e.options.scope?.id}var d=n(79555),f=n(17211);function h(e){return{onFetch:(t,n)=>{let i=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],s=t.state.data?.pageParams||[],c={pages:[],pageParams:[]},u=0,l=async()=>{let n=!1,l=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",()=>{n=!0}),t.signal)})},d=(0,r.cG)(t.options,t.fetchOptions),f=async(e,i,o)=>{if(n)return Promise.reject();if(null==i&&e.pages.length)return Promise.resolve(e);let a={client:t.client,queryKey:t.queryKey,pageParam:i,direction:o?"backward":"forward",meta:t.options.meta};l(a);let s=await d(a),{maxPages:c}=t.options,u=o?r.Ht:r.VX;return{pages:u(e.pages,s,c),pageParams:u(e.pageParams,i,c)}};if(o&&a.length){let e="backward"===o,t={pages:a,pageParams:s},n=(e?function(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}:p)(i,t);c=await f(t,n,e)}else{let t=e??a.length;do{let e=0===u?s[0]??i.initialPageParam:p(i,c);if(u>0&&null==e)break;c=await f(c,e),u++}while(u<t)}return c};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function p(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}var m=class{#b;#i;#f;#w;#v;#A;#x;#E;constructor(e={}){this.#b=e.queryCache||new s,this.#i=e.mutationCache||new u,this.#f=e.defaultOptions||{},this.#w=new Map,this.#v=new Map,this.#A=0}mount(){this.#A++,1===this.#A&&(this.#x=d.j.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#b.onFocus())}),this.#E=f.N.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#b.onOnline())}))}unmount(){this.#A--,0===this.#A&&(this.#x?.(),this.#x=void 0,this.#E?.(),this.#E=void 0)}isFetching(e){return this.#b.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#i.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#b.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#b.build(this,t),i=n.state.data;return void 0===i?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime((0,r.KC)(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return this.#b.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let i=this.defaultQueryOptions({queryKey:e}),o=this.#b.get(i.queryHash),a=o?.state.data,s=(0,r.SE)(t,a);if(void 0!==s)return this.#b.build(this,i).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return o.Vr.batch(()=>this.#b.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#b.get(t.queryHash)?.state}removeQueries(e){let t=this.#b;o.Vr.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#b;return o.Vr.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t};return Promise.all(o.Vr.batch(()=>this.#b.findAll(e).map(e=>e.cancel(n)))).then(r.ZT).catch(r.ZT)}invalidateQueries(e,t={}){return o.Vr.batch(()=>(this.#b.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(o.Vr.batch(()=>this.#b.findAll(e).filter(e=>!e.isDisabled()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(r.ZT)),"paused"===e.state.fetchStatus?Promise.resolve():t}
32))).then(r.ZT)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let n=this.#b.build(this,t);return n.isStaleByTime((0,r.KC)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(r.ZT).catch(r.ZT)}fetchInfiniteQuery(e){return e.behavior=h(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(r.ZT).catch(r.ZT)}ensureInfiniteQueryData(e){return e.behavior=h(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return f.N.isOnline()?this.#i.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#b}getMutationCache(){return this.#i}getDefaultOptions(){return this.#f}setDefaultOptions(e){this.#f=e}setQueryDefaults(e,t){this.#w.set((0,r.Ym)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#w.values()],n={};return t.forEach(t=>{(0,r.to)(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#v.set((0,r.Ym)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#v.values()],n={};return t.forEach(t=>{(0,r.to)(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#f.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,r.Rm)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===r.CN&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#f.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#b.clear(),this.#i.clear()}}},2041:function(e,t,n){"use strict";n.d(t,{F:function(){return i}});var r=n(46063),i=class{#C;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,r.PN)(this.gcTime)&&(this.#C=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(r.sk?1/0:3e5))}clearGcTimeout(){this.#C&&(clearTimeout(this.#C),this.#C=void 0)}}},90326:function(e,t,n){"use strict";n.d(t,{DV:function(){return l},Kw:function(){return c},Mz:function(){return d}});var r=n(79555),i=n(17211),o=n(62649),a=n(46063);function s(e){return Math.min(1e3*2**e,3e4)}function c(e){return(e??"online")!=="online"||i.N.isOnline()}var u=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function l(e){return e instanceof u}function d(e){let t,n=!1,l=0,d=!1,f=(0,o.O)(),h=()=>r.j.isFocused()&&("always"===e.networkMode||i.N.isOnline())&&e.canRun(),p=()=>c(e.networkMode)&&e.canRun(),m=n=>{d||(d=!0,e.onSuccess?.(n),t?.(),f.resolve(n))},y=n=>{d||(d=!0,e.onError?.(n),t?.(),f.reject(n))},g=()=>new Promise(n=>{t=e=>{(d||h())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,d||e.onContinue?.()}),b=()=>{let t;if(d)return;let r=0===l?e.initialPromise:void 0;try{t=r??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(m).catch(t=>{if(d)return;let r=e.retry??(a.sk?0:3),i=e.retryDelay??s,o="function"==typeof i?i(l,t):i,c=!0===r||"number"==typeof r&&l<r||"function"==typeof r&&r(l,t);if(n||!c){y(t);return}l++,e.onFail?.(l,t),(0,a._v)(o).then(()=>h()?void 0:g()).then(()=>{n?y(t):b()})})};return{promise:f,cancel:t=>{d||(y(new u(t)),e.abort?.())},continue:()=>(t?.(),f),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:p,start:()=>(p()?b():g().then(b),f)}}},44614:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});var r=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},62649:function(e,t,n){"use strict";function r(){let e,t;let n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}n.d(t,{O:function(){return r}})},46063:function(e,t,n){"use strict";n.d(t,{CN:function(){return C},Ht:function(){return E},KC:function(){return c},Kp:function(){return s},Nc:function(){return u},PN:function(){return a},Q$:function(){return m},Rm:function(){return f},SE:function(){return o},VS:function(){return y},VX:function(){return x},X7:function(){return d},Ym:function(){return h},ZT:function(){return i},_v:function(){return v},_x:function(){return l},cG:function(){return I},oE:function(){return A},sk:function(){return r},to:function(){return p}});var r="undefined"==typeof window||"Deno"in globalThis;function i(){}function o(e,t){return"function"==typeof e?e(t):e}function a(e){return"number"==typeof e&&e>=0&&e!==1/0}function s(e,t){return Math.max(e+(t||0)-Date.now(),0)}function c(e,t){return"function"==typeof e?e(t):e}function u(e,t){return"function"==typeof e?e(t):e}function l(e,t){let{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:a,stale:s}=e;if(a){if(r){if(t.queryHash!==f(a,t.options))return!1}else if(!p(t.queryKey,a))return!1}if("all"!==n){let e=t.isActive();if("active"===n&&!e||"inactive"===n&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(!i||i===t.state.fetchStatus)&&(!o||!!o(t))}function d(e,t){let{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(h(t.options.mutationKey)!==h(o))return!1}else if(!p(t.options.mutationKey,o))return!1}return(!r||t.state.status===r)&&(!i||!!i(t))}function f(e,t){return(t?.queryKeyHashFn||h)(e)}function h(e){return JSON.stringify(e,(e,t)=>b(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function p(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(n=>p(e[n],t[n]))}function m(e,t){if(e===t)return e;let n=g(e)&&g(t);if(n||b(e)&&b(t)){let r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),a=o.length,s=n?[]:{},c=0;for(let i=0;i<a;i++){let a=n?i:o[i];(!n&&r.includes(a)||n)&&void 0===e[a]&&void 0===t[a]?(s[a]=void 0,c++):(s[a]=m(e[a],t[a]),s[a]===e[a]&&void 0!==e[a]&&c++)}return i===a&&c===i?e:s}return t}function y(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function g(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function b(e){if(!w(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!(w(n)&&n.hasOwnProperty("isPrototypeOf"))&&Object.getPrototypeOf(e)===Object.prototype}function w(e){return"[object Object]"===Object.prototype.toString.call(e)}function v(e){return new Promise(t=>{setTimeout(t,e)})}function A(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?m(e,t):t}function x(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function E(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var C=Symbol();function I(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==C?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}},47082:function(e,t,n){"use strict";n.d(t,{NL:function(){return a},aH:function(){return s}});var r=n(2265),i=n(57437),o=r.createContext(void 0),a=e=>{let t=r.useContext(o);if(e)return e;if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},s=e=>{let{client:t,children:n}=e;return r.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,i.jsx)(o.Provider,{value:t,children:n})}},20568:function(e,t,n){"use strict";n.d(t,{D:function(){return d}});var r=n(2265),i=n(1793),o=n(45139),a=n(44614),s=n(46063),c=class extends a.l{#d;#I=void 0;#k;#B;constructor(e,t){super(),this.#d=e,this.setOptions(t),this.bindMethods(),this.#P()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#d.defaultMutationOptions(e),(0,s.VS)(this.options,t)||this.#d.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#k,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,s.Ym)(t.mutationKey)!==(0,s.Ym)(this.options.mutationKey)?this.reset():this.#k?.state.status==="pending"&&this.#k.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#k?.removeObserver(this)}onMutationUpdate(e){this.#P(),this.#T(e)}getCurrentResult(){return this.#I}reset(){this.#k?.removeObserver(this),this.#k=void 0,this.#P(),this.#T()}mutate(e,t){return this.#B=t,this.#k?.removeObserver(this),this.#k=this.#d.getMutationCache().build(this.#d,this.options),this.#k.addObserver(this),this.#k.execute(e)}#P(){let e=this.#k?.state??(0,i.R)();this.#I={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#T(e){o.Vr.batch(()=>
32{if(this.#B&&this.hasListeners()){let t=this.#I.variables,n=this.#I.context;e?.type==="success"?(this.#B.onSuccess?.(e.data,t,n),this.#B.onSettled?.(e.data,null,t,n)):e?.type==="error"&&(this.#B.onError?.(e.error,t,n),this.#B.onSettled?.(void 0,e.error,t,n))}this.listeners.forEach(e=>{e(this.#I)})})}},u=n(47082),l=n(20826);function d(e,t){let n=(0,u.NL)(t),[i]=r.useState(()=>new c(n,e));r.useEffect(()=>{i.setOptions(e)},[i,e]);let a=r.useSyncExternalStore(r.useCallback(e=>i.subscribe(o.Vr.batchCalls(e)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),s=r.useCallback((e,t)=>{i.mutate(e,t).catch(l.Z)},[i]);if(a.error&&(0,l.L)(i.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:s,mutateAsync:a.mutate}}},94642:function(e,t,n){"use strict";let r;n.d(t,{a:function(){return T}});var i=n(79555),o=n(45139),a=n(4668),s=n(44614),c=n(62649),u=n(46063),l=class extends s.l{constructor(e,t){super(),this.options=t,this.#d=e,this.#O=null,this.#S=(0,c.O)(),this.options.experimental_prefetchInRender||this.#S.reject(Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(t)}#d;#R=void 0;#N=void 0;#I=void 0;#M;#F;#S;#O;#L;#U;#D;#_;#j;#q;#z=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#R.addObserver(this),d(this.#R,this.options)?this.#G():this.updateResult(),this.#Q())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return f(this.#R,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return f(this.#R,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#W(),this.#H(),this.#R.removeObserver(this)}setOptions(e){let t=this.options,n=this.#R;if(this.options=this.#d.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,u.Nc)(this.options.enabled,this.#R))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#K(),this.#R.setOptions(this.options),t._defaulted&&!(0,u.VS)(this.options,t)&&this.#d.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#R,observer:this});let r=this.hasListeners();r&&h(this.#R,n,this.options,t)&&this.#G(),this.updateResult(),r&&(this.#R!==n||(0,u.Nc)(this.options.enabled,this.#R)!==(0,u.Nc)(t.enabled,this.#R)||(0,u.KC)(this.options.staleTime,this.#R)!==(0,u.KC)(t.staleTime,this.#R))&&this.#$();let i=this.#V();r&&(this.#R!==n||(0,u.Nc)(this.options.enabled,this.#R)!==(0,u.Nc)(t.enabled,this.#R)||i!==this.#q)&&this.#Z(i)}getOptimisticResult(e){let t=this.#d.getQueryCache().build(this.#d,e),n=this.createResult(t,e);return(0,u.VS)(this.getCurrentResult(),n)||(this.#I=n,this.#F=this.options,this.#M=this.#R.state),n}getCurrentResult(){return this.#I}trackResult(e,t){let n={};return Object.keys(e).forEach(r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(r),t?.(r),e[r])})}),n}trackProp(e){this.#z.add(e)}getCurrentQuery(){return this.#R}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#d.defaultQueryOptions(e),n=this.#d.getQueryCache().build(this.#d,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#G({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#I))}#G(e){this.#K();let t=this.#R.fetch(this.options,e);return e?.throwOnError||(t=t.catch(u.ZT)),t}#$(){this.#W();let e=(0,u.KC)(this.options.staleTime,this.#R);if(u.sk||this.#I.isStale||!(0,u.PN)(e))return;let t=(0,u.Kp)(this.#I.dataUpdatedAt,e);this.#_=setTimeout(()=>{this.#I.isStale||this.updateResult()},t+1)}#V(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#R):this.options.refetchInterval)??!1}#Z(e){this.#H(),this.#q=e,!u.sk&&!1!==(0,u.Nc)(this.options.enabled,this.#R)&&(0,u.PN)(this.#q)&&0!==this.#q&&(this.#j=setInterval(()=>{(this.options.refetchIntervalInBackground||i.j.isFocused())&&this.#G()},this.#q))}#Q(){this.#$(),this.#Z(this.#V())}#W(){this.#_&&(clearTimeout(this.#_),this.#_=void 0)}#H(){this.#j&&(clearInterval(this.#j),this.#j=void 0)}createResult(e,t){let n;let r=this.#R,i=this.options,o=this.#I,s=this.#M,l=this.#F,f=e!==r?e.state:this.#N,{state:m}=e,y={...m},g=!1;
32if(t._optimisticResults){let n=this.hasListeners(),o=!n&&d(e,t),s=n&&h(e,r,t,i);(o||s)&&(y={...y,...(0,a.z)(m.data,e.options)}),"isRestoring"===t._optimisticResults&&(y.fetchStatus="idle")}let{error:b,errorUpdatedAt:w,status:v}=y;if(t.select&&void 0!==y.data){if(o&&y.data===s?.data&&t.select===this.#L)n=this.#U;else try{this.#L=t.select,n=t.select(y.data),n=(0,u.oE)(o?.data,n,t),this.#U=n,this.#O=null}catch(e){this.#O=e}}else n=y.data;if(void 0!==t.placeholderData&&void 0===n&&"pending"===v){let e;if(o?.isPlaceholderData&&t.placeholderData===l?.placeholderData)e=o.data;else if(e="function"==typeof t.placeholderData?t.placeholderData(this.#D?.state.data,this.#D):t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.#O=null}catch(e){this.#O=e}void 0!==e&&(v="success",n=(0,u.oE)(o?.data,e,t),g=!0)}this.#O&&(b=this.#O,n=this.#U,w=Date.now(),v="error");let A="fetching"===y.fetchStatus,x="pending"===v,E="error"===v,C=x&&A,I=void 0!==n,k={status:v,fetchStatus:y.fetchStatus,isPending:x,isSuccess:"success"===v,isError:E,isInitialLoading:C,isLoading:C,data:n,dataUpdatedAt:y.dataUpdatedAt,error:b,errorUpdatedAt:w,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:y.dataUpdateCount>0||y.errorUpdateCount>0,isFetchedAfterMount:y.dataUpdateCount>f.dataUpdateCount||y.errorUpdateCount>f.errorUpdateCount,isFetching:A,isRefetching:A&&!x,isLoadingError:E&&!I,isPaused:"paused"===y.fetchStatus,isPlaceholderData:g,isRefetchError:E&&I,isStale:p(e,t),refetch:this.refetch,promise:this.#S};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===k.status?e.reject(k.error):void 0!==k.data&&e.resolve(k.data)},n=()=>{t(this.#S=k.promise=(0,c.O)())},i=this.#S;switch(i.status){case"pending":e.queryHash===r.queryHash&&t(i);break;case"fulfilled":("error"===k.status||k.data!==i.value)&&n();break;case"rejected":("error"!==k.status||k.error!==i.reason)&&n()}}return k}updateResult(){let e=this.#I,t=this.createResult(this.#R,this.options);this.#M=this.#R.state,this.#F=this.options,void 0!==this.#M.data&&(this.#D=this.#R),(0,u.VS)(t,e)||(this.#I=t,this.#T({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.#z.size)return!0;let r=new Set(n??this.#z);return this.options.throwOnError&&r.add("error"),Object.keys(this.#I).some(t=>this.#I[t]!==e[t]&&r.has(t))})()}))}#K(){let e=this.#d.getQueryCache().build(this.#d,this.options);if(e===this.#R)return;let t=this.#R;this.#R=e,this.#N=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#Q()}#T(e){o.Vr.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#I)}),this.#d.getQueryCache().notify({query:this.#R,type:"observerResultsUpdated"})})}};function d(e,t){return!1!==(0,u.Nc)(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)||void 0!==e.state.data&&f(e,t,t.refetchOnMount)}function f(e,t,n){if(!1!==(0,u.Nc)(t.enabled,e)){let r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&p(e,t)}return!1}function h(e,t,n,r){return(e!==t||!1===(0,u.Nc)(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&p(e,n)}function p(e,t){return!1!==(0,u.Nc)(t.enabled,e)&&e.isStaleByTime((0,u.KC)(t.staleTime,e))}var m=n(2265),y=n(47082);n(57437);var g=m.createContext((r=!1,{clearReset:()=>{r=!1},reset:()=>{r=!0},isReset:()=>r})),b=()=>m.useContext(g),w=n(20826),v=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&!t.isReset()&&(e.retryOnMount=!1)},A=e=>{m.useEffect(()=>{e.clearReset()},[e])},x=e=>{let{result:t,errorResetBoundary:n,throwOnError:r,query:i,suspense:o}=e;return t.isError&&!n.isReset()&&!t.isFetching&&i&&(o&&void 0===t.data||(0,w.L)(r,[t.error,i]))},E=m.createContext(!1),C=()=>m.useContext(E);E.Provider;var I=e=>{let t=e.staleTime;e.suspense&&(e.staleTime="function"==typeof t?(...e)=>Math.max(t(...e),1e3):Math.max(t??1e3,1e3),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3)))},k=(e,t)=>e.isLoading&&e.isFetching&&!t,B=(e,t)=>e?.suspense&&t.isPending,P=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function T(e,t){return function(e,t,n){var r,i,a,s,c;let l=(0,y.NL)(n),d=C(),f=b(),h=l.defaultQueryOptions(e);
32null===(i=l.getDefaultOptions().queries)||void 0===i||null===(r=i._experimental_beforeQuery)||void 0===r||r.call(i,h),h._optimisticResults=d?"isRestoring":"optimistic",I(h),v(h,f),A(f);let p=!l.getQueryCache().get(h.queryHash),[g]=m.useState(()=>new t(l,h)),E=g.getOptimisticResult(h),T=!d&&!1!==e.subscribed;if(m.useSyncExternalStore(m.useCallback(e=>{let t=T?g.subscribe(o.Vr.batchCalls(e)):w.Z;return g.updateResult(),t},[g,T]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),m.useEffect(()=>{g.setOptions(h)},[h,g]),B(h,E))throw P(h,g,f);if(x({result:E,errorResetBoundary:f,throwOnError:h.throwOnError,query:l.getQueryCache().get(h.queryHash),suspense:h.suspense}))throw E.error;if(null===(s=l.getDefaultOptions().queries)||void 0===s||null===(a=s._experimental_afterQuery)||void 0===a||a.call(s,h,E),h.experimental_prefetchInRender&&!u.sk&&k(E,d)){let e=p?P(h,g,f):null===(c=l.getQueryCache().get(h.queryHash))||void 0===c?void 0:c.promise;null==e||e.catch(w.Z).finally(()=>{g.updateResult()})}return h.notifyOnChangeProps?E:g.trackResult(E)}(e,l,t)}},20826:function(e,t,n){"use strict";function r(e,t){return"function"==typeof e?e(...t):!!e}function i(){}n.d(t,{L:function(){return r},Z:function(){return i}})},45355:function(e,t,n){"use strict";n.d(t,{D:function(){return c}});var r=n(18339),i=n(2731),o=n(75036),a=n(24473),s=n(15578);function c(e={}){let t,u,l,d,f,h,p,m,y;return"3"===e.version||e.headlessMode?(0,r.K)(r=>({id:"coinbaseWalletSDK",name:"Coinbase Wallet",type:c.type,async connect({chainId:e}={}){try{let t=await this.getProvider(),n=(await t.request({method:"eth_requestAccounts"})).map(e=>(0,o.K)(e));l||(l=this.onAccountsChanged.bind(this),t.on("accountsChanged",l)),d||(d=this.onChainChanged.bind(this),t.on("chainChanged",d)),f||(f=this.onDisconnect.bind(this),t.on("disconnect",f));let r=await this.getChainId();if(e&&r!==e){let t=await this.switchChain({chainId:e}).catch(e=>{if(e.code===a.ab.code)throw e;return{id:r}});r=t?.id??r}return{accounts:n,chainId:r}}catch(e){if(/(user closed modal|accounts received is empty|user denied account)/i.test(e.message))throw new a.ab(e);throw e}},async disconnect(){let e=await this.getProvider();l&&(e.removeListener("accountsChanged",l),l=void 0),d&&(e.removeListener("chainChanged",d),d=void 0),f&&(e.removeListener("disconnect",f),f=void 0),e.disconnect(),e.close()},async getAccounts(){let e=await this.getProvider();return(await e.request({method:"eth_accounts"})).map(e=>(0,o.K)(e))},async getChainId(){let e=await this.getProvider();return Number(await e.request({method:"eth_chainId"}))}
32,async getProvider(){if(!u){t=new(await (async()=>{let{default:e}=await Promise.all([n.e(1686),n.e(8873),n.e(2753)]).then(n.t.bind(n,58873,19));return"function"!=typeof e&&"function"==typeof e.default?e.default:e})())({...e,reloadOnDisconnect:!1});let i=t.walletExtension?.getChainId(),o=r.chains.find(t=>e.chainId?t.id===e.chainId:t.id===i)||r.chains[0],a=e.chainId||o?.id,s=e.jsonRpcUrl||o?.rpcUrls.default.http[0];u=t.makeWeb3Provider(s,a)}return u},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:e,chainId:t}){let n=r.chains.find(e=>e.id===t);if(!n)throw new a.x3(new i.X4);let o=await this.getProvider();try{return await o.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,s.eC)(n.id)}]}),n}catch(r){if(4902===r.code)try{let r,i;r=e?.blockExplorerUrls?e.blockExplorerUrls:n.blockExplorers?.default.url?[n.blockExplorers?.default.url]:[],i=e?.rpcUrls?.length?e.rpcUrls:[n.rpcUrls.default?.http[0]??""];let a={blockExplorerUrls:r,chainId:(0,s.eC)(t),chainName:e?.chainName??n.name,iconUrls:e?.iconUrls,nativeCurrency:e?.nativeCurrency??n.nativeCurrency,rpcUrls:i};return await o.request({method:"wallet_addEthereumChain",params:[a]}),n}catch(e){throw new a.ab(e)}throw new a.x3(r)}},onAccountsChanged(e){0===e.length?this.onDisconnect():r.emitter.emit("change",{accounts:e.map(e=>(0,o.K)(e))})},onChainChanged(e){let t=Number(e);r.emitter.emit("change",{chainId:t})},async onDisconnect(e){r.emitter.emit("disconnect");let t=await this.getProvider();l&&(t.removeListener("accountsChanged",l),l=void 0),d&&(t.removeListener("chainChanged",d),d=void 0),f&&(t.removeListener("disconnect",f),f=void 0)}})):(0,r.K)(t=>({id:"coinbaseWalletSDK",name:"Coinbase Wallet",rdns:"com.coinbase.wallet",type:c.type,async connect({chainId:e,...t}={}){try{let n=await this.getProvider(),r=(await n.request({method:"eth_requestAccounts",params:"instantOnboarding"in t&&t.instantOnboarding?[{onboarding:"instant"}]:[]})).map(e=>(0,o.K)(e));p||(p=this.onAccountsChanged.bind(this),n.on("accountsChanged",p)),m||(m=this.onChainChanged.bind(this),n.on("chainChanged",m)),y||(y=this.onDisconnect.bind(this),n.on("disconnect",y));let i=await this.getChainId();if(e&&i!==e){let t=await this.switchChain({chainId:e}).catch(e=>{if(e.code===a.ab.code)throw e;return{id:i}});i=t?.id??i}return{accounts:r,chainId:i}}catch(e){if(/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(e.message))throw new a.ab(e);throw e}},async disconnect(){let e=await this.getProvider();p&&(e.removeListener("accountsChanged",p),p=void 0),m&&(e.removeListener("chainChanged",m),m=void 0),y&&(e.removeListener("disconnect",y),y=void 0),e.disconnect(),e.close?.()},async getAccounts(){let e=await this.getProvider();return(await e.request({method:"eth_accounts"})).map(e=>(0,o.K)(e))},async getChainId(){let e=await this.getProvider();return Number(await e.request({method:"eth_chainId"}))}
32,async getProvider(){if(!h){let r="string"==typeof e.preference?{options:e.preference}:{...e.preference,options:e.preference?.options??"all"},{createCoinbaseWalletSDK:i}=await n.e(1354).then(n.bind(n,21354));h=i({...e,appChainIds:t.chains.map(e=>e.id),preference:r}).getProvider()}return h},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:e,chainId:n}){let r=t.chains.find(e=>e.id===n);if(!r)throw new a.x3(new i.X4);let o=await this.getProvider();try{return await o.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,s.eC)(r.id)}]}),r}catch(t){if(4902===t.code)try{let t,i;t=e?.blockExplorerUrls?e.blockExplorerUrls:r.blockExplorers?.default.url?[r.blockExplorers?.default.url]:[],i=e?.rpcUrls?.length?e.rpcUrls:[r.rpcUrls.default?.http[0]??""];let a={blockExplorerUrls:t,chainId:(0,s.eC)(n),chainName:e?.chainName??r.name,iconUrls:e?.iconUrls,nativeCurrency:e?.nativeCurrency??r.nativeCurrency,rpcUrls:i};return await o.request({method:"wallet_addEthereumChain",params:[a]}),r}catch(e){throw new a.ab(e)}throw new a.x3(t)}},onAccountsChanged(e){0===e.length?this.onDisconnect():t.emitter.emit("change",{accounts:e.map(e=>(0,o.K)(e))})},onChainChanged(e){let n=Number(e);t.emitter.emit("change",{chainId:n})},async onDisconnect(e){t.emitter.emit("disconnect");let n=await this.getProvider();p&&(n.removeListener("accountsChanged",p),p=void 0),m&&(n.removeListener("chainChanged",m),m=void 0),y&&(n.removeListener("disconnect",y),y=void 0)}}))}c.type="coinbaseWallet"},32077:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r=n(18339),i=n(34497),o=n(75036),a=n(9416);function s(e={}){let t,c;let{shimDisconnect:u=!1}=e;return(0,r.K)(r=>({id:"safe",name:"Safe",type:s.type,async connect(){let e=await this.getProvider();if(!e)throw new i.M;let t=await this.getAccounts(),n=await this.getChainId();return c||(c=this.onDisconnect.bind(this),e.on("disconnect",c)),u&&await r.storage?.removeItem("safe.disconnected"),{accounts:t,chainId:n}},async disconnect(){let e=await this.getProvider();if(!e)throw new i.M;c&&(e.removeListener("disconnect",c),c=void 0),u&&await r.storage?.setItem("safe.disconnected",!0)},async getAccounts(){let e=await this.getProvider();if(!e)throw new i.M;return(await e.request({method:"eth_accounts"})).map(o.K)}
32,async getProvider(){if("undefined"!=typeof window&&window?.parent!==window){if(!t){let{default:r}=await Promise.all([n.e(2867),n.e(5984)]).then(n.bind(n,95984)),i=new r(e),o=await (0,a.F)(()=>i.safe.getInfo(),{timeout:e.unstable_getInfoTimeout??10});if(!o)throw Error("Could not load Safe information");t=new(await (async()=>{let e=await Promise.all([n.e(2867),n.e(6215)]).then(n.t.bind(n,76215,19));return"function"!=typeof e.SafeAppProvider&&"function"==typeof e.default.SafeAppProvider?e.default.SafeAppProvider:e.SafeAppProvider})())(o,i)}return t}},async getChainId(){let e=await this.getProvider();if(!e)throw new i.M;return Number(e.chainId)},async isAuthorized(){try{if(u&&await r.storage?.getItem("safe.disconnected"))return!1;return!!(await this.getAccounts()).length}catch{return!1}},onAccountsChanged(){},onChainChanged(){},onDisconnect(){r.emitter.emit("disconnect")}}))}s.type="safe"},52905:function(e,t,n){"use strict";n.d(t,{a:function(){return u}});var r=n(18339),i=n(34497),o=n(2731),a=n(75036),s=n(24473),c=n(15578);function u(e){let t,l,d,f,h,p,m,y;let g=e.isNewChainsStale??!0;return(0,r.K)(r=>({id:"walletConnect",name:"WalletConnect",type:u.type,async setup(){let e=await this.getProvider().catch(()=>null);e&&(h||(h=this.onConnect.bind(this),e.on("connect",h)),m||(m=this.onSessionDelete.bind(this),e.on("session_delete",m)))},async connect({chainId:e,...t}={}){try{let n=await this.getProvider();if(!n)throw new i.M;p||(p=this.onDisplayUri,n.on("display_uri",p));let o=e;if(!o){let e=await r.storage?.getItem("state")??{};o=r.chains.some(t=>t.id===e.chainId)?e.chainId:r.chains[0]?.id}if(!o)throw Error("No chains found on connector.");let s=await this.isChainsStale();if(n.session&&s&&await n.disconnect(),!n.session||s){let e=r.chains.filter(e=>e.id!==o).map(e=>e.id);await n.connect({optionalChains:[o,...e],..."pairingTopic"in t?{pairingTopic:t.pairingTopic}:{}}),this.setRequestedChainsIds(r.chains.map(e=>e.id))}let c=(await n.enable()).map(e=>(0,a.K)(e)),u=await this.getChainId();return p&&(n.removeListener("display_uri",p),p=void 0),h&&(n.removeListener("connect",h),h=void 0),d||(d=this.onAccountsChanged.bind(this),n.on("accountsChanged",d)),f||(f=this.onChainChanged.bind(this),n.on("chainChanged",f)),y||(y=this.onDisconnect.bind(this),n.on("disconnect",y)),m||(m=this.onSessionDelete.bind(this),n.on("session_delete",m)),{accounts:c,chainId:u}}catch(e){if(/(user rejected|connection request reset)/i.test(e?.message))throw new s.ab(e);throw e}},async disconnect(){let e=await this.getProvider();try{await e?.disconnect()}catch(e){if(!/No matching key/i.test(e.message))throw e}finally{f&&(e?.removeListener("chainChanged",f),f=void 0),y&&(e?.removeListener("disconnect",y),y=void 0),h||(h=this.onConnect.bind(this),e?.on("connect",h)),d&&(e?.removeListener("accountsChanged",d),d=void 0),m&&(e?.removeListener("session_delete",m),m=void 0),this.setRequestedChainsIds([])}},async getAccounts(){return(await this.getProvider()).accounts.map(e=>(0,a.K)(e))},async getProvider({chainId:i}={}){async function o(){let t=r.chains.map(e=>e.id);if(!t.length)return;let{EthereumProvider:i}=await n.e(1033).then(n.bind(n,51033));return await i.init({...e,disableProviderPing:!0,optionalChains:t,projectId:e.projectId,rpcMap:Object.fromEntries(r.chains.map(e=>{let[t]=function(e){let{chain:t}=e,n=t.rpcUrls.default.http[0];if(!e.transports)return[n];let r=e.transports?.[t.id]?.({chain:t});return(r?.value?.transports||[r]).map(({value:e})=>e?.url||n)}({chain:e,transports:r.transports});return[e.id,t]})),showQrModal:e.showQrModal??!0})}
32return t||(l||(l=o()),t=await l,t?.events.setMaxListeners(Number.POSITIVE_INFINITY)),i&&await this.switchChain?.({chainId:i}),t},async getChainId(){return(await this.getProvider()).chainId},async isAuthorized(){try{let[e,t]=await Promise.all([this.getAccounts(),this.getProvider()]);if(!e.length)return!1;if(await this.isChainsStale()&&t.session)return await t.disconnect().catch(()=>{}),!1;return!0}catch{return!1}},async switchChain({addEthereumChainParameter:e,chainId:t}){let n=await this.getProvider();if(!n)throw new i.M;let a=r.chains.find(e=>e.id===t);if(!a)throw new s.x3(new o.X4);try{await Promise.all([new Promise(e=>{let n=({chainId:i})=>{i===t&&(r.emitter.off("change",n),e())};r.emitter.on("change",n)}),n.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,c.eC)(t)}]})]);let e=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...e,t]),a}catch(r){if(/(user rejected)/i.test(r.message))throw new s.ab(r);try{let r,i;r=e?.blockExplorerUrls?e.blockExplorerUrls:a.blockExplorers?.default.url?[a.blockExplorers?.default.url]:[],i=e?.rpcUrls?.length?e.rpcUrls:[...a.rpcUrls.default.http];let o={blockExplorerUrls:r,chainId:(0,c.eC)(t),chainName:e?.chainName??a.name,iconUrls:e?.iconUrls,nativeCurrency:e?.nativeCurrency??a.nativeCurrency,rpcUrls:i};await n.request({method:"wallet_addEthereumChain",params:[o]});let s=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...s,t]),a}catch(e){throw new s.ab(e)}}},onAccountsChanged(e){0===e.length?this.onDisconnect():r.emitter.emit("change",{accounts:e.map(e=>(0,a.K)(e))})},onChainChanged(e){let t=Number(e);r.emitter.emit("change",{chainId:t})},async onConnect(e){let t=Number(e.chainId),n=await this.getAccounts();r.emitter.emit("connect",{accounts:n,chainId:t})},async onDisconnect(e){this.setRequestedChainsIds([]),r.emitter.emit("disconnect");let t=await this.getProvider();d&&(t.removeListener("accountsChanged",d),d=void 0),f&&(t.removeListener("chainChanged",f),f=void 0),y&&(t.removeListener("disconnect",y),y=void 0),m&&(t.removeListener("session_delete",m),m=void 0),h||(h=this.onConnect.bind(this),t.on("connect",h))},onDisplayUri(e){r.emitter.emit("message",{type:"display_uri",data:e})},onSessionDelete(){this.onDisconnect()},getNamespaceChainsIds:()=>t?t.session?.namespaces.eip155?.accounts?.map(e=>Number.parseInt(e.split(":")[1]||""))??[]:[],async getRequestedChainsIds(){return await r.storage?.getItem(this.requestedChainsStorageKey)??[]},async isChainsStale(){if(!g)return!1;let e=r.chains.map(e=>e.id),t=this.getNamespaceChainsIds();if(t.length&&!t.some(t=>e.includes(t)))return!1;let n=await this.getRequestedChainsIds();return!e.every(e=>n.includes(e))},async setRequestedChainsIds(e){await r.storage?.setItem(this.requestedChainsStorageKey,e)},get requestedChainsStorageKey(){return`${this.id}.requestedChains`}}))}u.type="walletConnect"},42602:function(e,t,n){"use strict";async function r(e,t={}){let n;if(t.connector)n=t.connector;else{let{connections:t,current:r}=e.state,i=t.get(r);n=i?.connector}let r=e.state.connections;n&&(await n.disconnect(),n.emitter.off("change",e._internal.events.change),n.emitter.off("disconnect",e._internal.events.disconnect),n.emitter.on("connect",e._internal.events.connect),r.delete(n.uid)),e.setState(e=>{if(0===r.size)return{...e,connections:new Map,current:null,status:"disconnected"};let t=r.values().next().value;return{...e,connections:new Map(r),current:t.connector.uid}});{let t=e.state.current;if(!t)return;let n=e.state.connections.get(t)?.connector;if(!n)return;await e.storage?.setItem("recentConnectorId",n.id)}}n.d(t,{z:function(){return r}})},40204:function(e,t,n){"use strict";function r(e){let t=e.state.current,n=e.state.connections.get(t),r=n?.accounts,i=r?.[0],o=e.chains.find(e=>e.id===n?.chainId),a=e.state.status;switch(a){case"connected":return{address:i,addresses:r,chain:o,chainId:n?.chainId,connector:n?.connector,isConnected:!0,isConnecting:!1,isDisconnected:!1,isReconnecting:!1,status:a};case"reconnecting":return{address:i,addresses:r,chain:o,chainId:n?.chainId,connector:n?.connector,isConnected:!!i,isConnecting:!1,isDisconnected:!1,isReconnecting:!0,status:a};case"connecting":return{address:i,addresses:r,chain:o,chainId:n?.chainId,connector:n?.connector,isConnected:!1,isConnecting:!0,isDisconnected:!1,isReconnecting:!1,status:a};case"disconnected":return{address:void 0,addresses:void 0,chain:void 0,chainId:void 0,connector:void 0,isConnected:!1,isConnecting:!1,isDisconnected:!0,isReconnecting:!1,status:a}}}n.d(t,{D:function(){return r}})},38507:function(e,t,n){"use strict";n.d(t,{e:function(){return c}});var r=n(59187),i=n(92191),o=n(79561),a=n(75036),s=n(2731);async function c(e,t={}){let n;if(t.connector){let{connector:r}=t;if("reconnecting"===e.state.status&&!r.getAccounts&&!r.getChainId)throw new s.$S({connector:r});let[i,o]=await Promise.all([r.getAccounts().catch(e=>{if(null===t.account)return[];throw e}),r.getChainId()]);n={accounts:i,chainId:o,connector:r}}else n=e.state.connections.get(e.state.current);if(!n)throw new s.aH;let c=t.chainId??n.chainId,u=await n.connector.getChainId();if(u!==n.chainId)throw new s.XZ({connectionChainId:n.chainId,connectorChainId:u});let l=n.connector;if(l.getClient)return l.getClient({chainId:c});let d=(0,o.T)(t.account??n.accounts[0]);if(d&&(d.address=(0,a.K)(d.address)),t.account&&!n.accounts.some(e=>e.toLowerCase()===d.address.toLowerCase()))throw new s.JK({address:d.address,connector:l});let f=e.chains.find(e=>e.id===c),h=await n.connector.getProvider({chainId:c});return(0,r.e)({account:d,chain:f,name:"Connector Client",transport:e=>(function(e,t={}){let{key:n="custom",methods:r,name:o="Custom Provider",retryDelay:a}=t;return({retryCount:s})=>(0,i.q)({key:n,methods:r,name:o,request:e.request.bind(e),retryCount:t.retryCount??s,retryDelay:a,type:"custom"})})(h)({...e,retryCount:0})})}},31723:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(96130),i=n(37225);function o(e,t){let{chainId:n,...o}=t,a=e.getClient({chainId:n});return(0,i.s)(a,r.L,"readContract")(o)}},53350:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var r=n(69022),i=n(40204);function o(e,t){let{onChange:n}=t;return e.subscribe(()=>
32(0,i.D)(e),n,{equalityFn(e,t){let{connector:n,...i}=e,{connector:o,...a}=t;return(0,r.v)(i,a)&&n?.id===o?.id&&n?.uid===o?.uid}})}},18339:function(e,t,n){"use strict";function r(e){return e}n.d(t,{K:function(){return r}})},91863:function(e,t,n){"use strict";n.d(t,{L:function(){return d}});var r=n(75036),i=n(24473),o=n(9416),a=n(42179),s=n(15578),c=n(2731),u=n(34497),l=n(18339);function d(e={}){let t,n,p,m;let{shimDisconnect:y=!0,unstable_shimAsyncInject:g}=e;function b(){let t=e.target;if("function"==typeof t){let e=t();if(e)return e}return"object"==typeof t?t:"string"==typeof t?{...f[t]??{id:t,name:`${t[0].toUpperCase()}${t.slice(1)}`,provider:`is${t[0].toUpperCase()}${t.slice(1)}`}}:{id:"injected",name:"Injected",provider:e=>e?.ethereum}}return(0,l.K)(l=>({get icon(){return b().icon},get id(){return b().id},get name(){return b().name},get supportsSimulation(){return!0},type:d.type,async setup(){let n=await this.getProvider();n?.on&&e.target&&(p||(p=this.onConnect.bind(this),n.on("connect",p)),t||(t=this.onAccountsChanged.bind(this),n.on("accountsChanged",t)))},async connect({chainId:o,isReconnecting:a}={}){let s=await this.getProvider();if(!s)throw new u.M;let c=[];if(a)c=await this.getAccounts().catch(()=>[]);else if(y)try{let e=await s.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]});(c=e[0]?.caveats?.[0]?.value?.map(e=>r.K(e))).length>0&&(c=await this.getAccounts())}catch(e){if(e.code===i.ab.code)throw new i.ab(e);if(e.code===i.pT.code)throw e}try{c?.length||a||(c=(await s.request({method:"eth_requestAccounts"})).map(e=>(0,r.K)(e))),p&&(s.removeListener("connect",p),p=void 0),t||(t=this.onAccountsChanged.bind(this),s.on("accountsChanged",t)),n||(n=this.onChainChanged.bind(this),s.on("chainChanged",n)),m||(m=this.onDisconnect.bind(this),s.on("disconnect",m));let u=await this.getChainId();if(o&&u!==o){let e=await this.switchChain({chainId:o}).catch(e=>{if(e.code===i.ab.code)throw e;return{id:u}});u=e?.id??u}return y&&await l.storage?.removeItem(`${this.id}.disconnected`),e.target||await l.storage?.setItem("injected.connected",!0),{accounts:c,chainId:u}}catch(e){if(e.code===i.ab.code)throw new i.ab(e);if(e.code===i.pT.code)throw new i.pT(e);throw e}},async disconnect(){let t=await this.getProvider();if(!t)throw new u.M;n&&(t.removeListener("chainChanged",n),n=void 0),m&&(t.removeListener("disconnect",m),m=void 0),p||(p=this.onConnect.bind(this),t.on("connect",p));try{await (0,o.F)(()=>t.request({method:"wallet_revokePermissions",params:[{eth_accounts:{}}]}),{timeout:100})}catch{}y&&await l.storage?.setItem(`${this.id}.disconnected`,!0),e.target||await l.storage?.removeItem("injected.connected")},async getAccounts(){let e=await this.getProvider();if(!e)throw new u.M;return(await e.request({method:"eth_accounts"})).map(e=>(0,r.K)(e))},async getChainId(){let e=await this.getProvider();if(!e)throw new u.M;return Number(await e.request({method:"eth_chainId"}))},async getProvider(){let e;if("undefined"==typeof window)return;let t=b();return(e="function"==typeof t.provider?t.provider(window):"string"==typeof t.provider?h(window,t.provider):t.provider)&&!e.removeListener&&("off"in e&&"function"==typeof e.off?e.removeListener=e.off:e.removeListener=()=>{}),e},async isAuthorized(){try{if(y&&await l.storage?.getItem(`${this.id}.disconnected`)||!e.target&&!await l.storage?.getItem("injected.connected"))return!1;if(!await this.getProvider()){if(void 0!==g&&!1!==g){let e=async()=>("undefined"!=typeof window&&window.removeEventListener("ethereum#initialized",e),!!await this.getProvider()),t="number"==typeof g?g:1e3;if(await Promise.race([..."undefined"!=typeof window?[new Promise(t=>window.addEventListener("ethereum#initialized",()=>t(e()),{once:!0}))]:[],new Promise(n=>setTimeout(()=>n(e()),t))]))return!0}throw new u.M}return!!(await (0,a.J)(()=>this.getAccounts())).length}catch{return!1}},async switchChain({addEthereumChainParameter:e,chainId:t}){let n=await this.getProvider();if(!n)throw new u.M;let r=l.chains.find(e=>e.id===t);if(!r)throw new i.x3(new c.X4);let o=new Promise(e=>{let n=r=>{"chainId"in r&&r.chainId===t&&(l.emitter.off("change",n),e())};l.emitter.on("change",n)});try{return await Promise.all([n.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,s.eC)(t)}]}).then(async()=>{await this.getChainId()===t&&l.emitter.emit("change",{chainId:t})}),o]),r}catch(a){if(4902===a.code||a?.data?.originalError?.code===4902)try{let a,c;let{default:u,...d}=r.blockExplorers??{};e?.blockExplorerUrls?a=e.blockExplorerUrls:u&&(a=[u.url,...Object.values(d).map(e=>e.url)]),c=e?.rpcUrls?.length?e.rpcUrls:[r.rpcUrls.default?.http[0]??""];let f={blockExplorerUrls:a,chainId:(0,s.eC)(t),chainName:e?.chainName??r.name,iconUrls:e?.iconUrls,nativeCurrency:e?.nativeCurrency??r.nativeCurrency,rpcUrls:c};return await Promise.all([n.request({method:"wallet_addEthereumChain",params:[f]}).then(async()=>
32{if(await this.getChainId()===t)l.emitter.emit("change",{chainId:t});else throw new i.ab(Error("User rejected switch after adding network."))}),o]),r}catch(e){throw new i.ab(e)}if(a.code===i.ab.code)throw new i.ab(a);throw new i.x3(a)}},async onAccountsChanged(e){if(0===e.length)this.onDisconnect();else if(l.emitter.listenerCount("connect")){let e=(await this.getChainId()).toString();this.onConnect({chainId:e}),y&&await l.storage?.removeItem(`${this.id}.disconnected`)}else l.emitter.emit("change",{accounts:e.map(e=>(0,r.K)(e))})},onChainChanged(e){let t=Number(e);l.emitter.emit("change",{chainId:t})},async onConnect(e){let r=await this.getAccounts();if(0===r.length)return;let i=Number(e.chainId);l.emitter.emit("connect",{accounts:r,chainId:i});let o=await this.getProvider();o&&(p&&(o.removeListener("connect",p),p=void 0),t||(t=this.onAccountsChanged.bind(this),o.on("accountsChanged",t)),n||(n=this.onChainChanged.bind(this),o.on("chainChanged",n)),m||(m=this.onDisconnect.bind(this),o.on("disconnect",m)))},async onDisconnect(e){let t=await this.getProvider();e&&1013===e.code&&t&&(await this.getAccounts()).length||(l.emitter.emit("disconnect"),t&&(n&&(t.removeListener("chainChanged",n),n=void 0),m&&(t.removeListener("disconnect",m),m=void 0),p||(p=this.onConnect.bind(this),t.on("connect",p))))}}))}d.type="injected";let f={coinbaseWallet:{id:"coinbaseWallet",name:"Coinbase Wallet",provider:e=>e?.coinbaseWalletExtension?e.coinbaseWalletExtension:h(e,"isCoinbaseWallet")},metaMask:{id:"metaMask",name:"MetaMask",provider:e=>h(e,e=>{if(!e.isMetaMask||e.isBraveWallet&&!e._events&&!e._state)return!1;for(let t of["isApexWallet","isAvalanche","isBitKeep","isBlockWallet","isKuCoinWallet","isMathWallet","isOkxWallet","isOKExWallet","isOneInchIOSWallet","isOneInchAndroidWallet","isOpera","isPhantom","isPortal","isRabby","isTokenPocket","isTokenary","isUniswapWallet","isZerion"])if(e[t])return!1;return!0})},phantom:{id:"phantom",name:"Phantom",provider:e=>e?.phantom?.ethereum?e.phantom?.ethereum:h(e,"isPhantom")}};function h(e,t){function n(e){return"function"==typeof t?t(e):"string"!=typeof t||e[t]}let r=e.ethereum;return r?.providers?r.providers.find(e=>n(e)):r&&n(r)?r:void 0}},13813:function(e,t,n){"use strict";let r;n.d(t,{_:function(){return A}});var i=n(59187);let o=e=>(t,n,r)=>{let i=r.subscribe;return r.subscribe=(e,t,n)=>{let o=e;if(t){let i=(null==n?void 0:n.equalityFn)||Object.is,a=e(r.getState());o=n=>{let r=e(n);if(!i(a,r)){let e=a;t(a=r,e)}},(null==n?void 0:n.fireImmediately)&&t(a,a)}return i(o)},e(t,n,r)},a=e=>t=>{try{let n=e(t);if(n instanceof Promise)return n;return{then:e=>a(e)(n),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>a(t)(e)}}},s=(e,t)=>(n,r,i)=>{let o,s={storage:function(e,t){let n;try{n=e()}catch(e){return}return{getItem:e=>{var r;let i=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),o=null!=(r=n.getItem(e))?r:null;return o instanceof Promise?o.then(i):i(o)},setItem:(e,r)=>n.setItem(e,JSON.stringify(r,null==t?void 0:t.replacer)),removeItem:e=>n.removeItem(e)}}(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},c=!1,u=new Set,l=new Set,d=s.storage;if(!d)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),n(...e)},r,i);let f=()=>{let e=s.partialize({...r()});return d.setItem(s.name,{state:e,version:s.version})},h=i.setState;i.setState=(e,t)=>{h(e,t),f()};let p=e((...e)=>{n(...e),f()},r,i);i.getInitialState=()=>p;let m=()=>{var e,t;if(!d)return;c=!1,u.forEach(e=>{var t;return e(null!=(t=r())?t:p)});let i=(null==(t=s.onRehydrateStorage)?void 0:t.call(s,null!=(e=r())?e:p))||void 0;return a(d.getItem.bind(d))(s.name).then(e=>{if(e){if("number"!=typeof e.version||e.version===s.version)return[!1,e.state];if(s.migrate)return[!0,s.migrate(e.state,e.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;let[i,a]=e;if(n(o=s.merge(a,null!=(t=r())?t:p),!0),i)return f()}).then(()=>
32{null==i||i(o,void 0),o=r(),c=!0,l.forEach(e=>e(o))}).catch(e=>{null==i||i(void 0,e)})};return i.persist={setOptions:e=>{s={...s,...e},e.storage&&(d=e.storage)},clearStorage:()=>{null==d||d.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>m(),hasHydrated:()=>c,onHydrate:e=>(u.add(e),()=>{u.delete(e)}),onFinishHydration:e=>(l.add(e),()=>{l.delete(e)})},s.skipHydration||m(),o||p},c=e=>{let t;let n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,o={setState:r,getState:i,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e))},a=t=e(r,i,o);return o},u=e=>e?c(e):c;var l=n(91863),d=n(28297);class f{constructor(e){Object.defineProperty(this,"uid",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"_emitter",{enumerable:!0,configurable:!0,writable:!0,value:new d})}on(e,t){this._emitter.on(e,t)}once(e,t){this._emitter.once(e,t)}off(e,t){this._emitter.off(e,t)}emit(e,...t){let n=t[0];this._emitter.emit(e,{uid:this.uid,...n})}listenerCount(e){return this._emitter.listenerCount(e)}}function h(e,t){return JSON.parse(e,(e,n)=>{let r=n;return r?.__type==="bigint"&&(r=BigInt(r.value)),r?.__type==="Map"&&(r=new Map(r.value)),t?.(e,r)??r})}function p(e,t){return e.slice(0,t).join(".")||"."}function m(e,t){let{length:n}=e;for(let r=0;r<n;++r)if(e[r]===t)return r+1;return 0}function y(e,t,n,r){return JSON.stringify(e,function(e,t){let n="function"==typeof e,r="function"==typeof t,i=[],o=[];return function(a,s){if("object"==typeof s){if(i.length){let e=m(i,this);0===e?i[i.length]=this:(i.splice(e),o.splice(e)),o[o.length]=a;let n=m(i,s);if(0!==n)return r?t.call(this,a,s,p(o,n)):`[ref=${p(o,n)}]`}else i[0]=s,o[0]=a}return n?e.call(this,a,s):s}}((e,n)=>{let r=n;return"bigint"==typeof r&&(r={__type:"bigint",value:n.toString()}),r instanceof Map&&(r={__type:"Map",value:Array.from(n.entries())}),t?.(e,r)??r},r),n??void 0)}let g={getItem:()=>null,setItem:()=>{},removeItem:()=>{}};var b=n(2731);let w=256;var v=n(33816);function A(e){let t;let{multiInjectedProviderDiscovery:n=!0,storage:a=function(e){let{deserialize:t=h,key:n="wagmi",serialize:r=y,storage:i=g}=e;function o(e){return e instanceof Promise?e.then(e=>e).catch(()=>null):e}return{...i,key:n,async getItem(e,r){let a=i.getItem(`${n}.${e}`),s=await o(a);return s?t(s)??null:r??null},async setItem(e,t){let a=`${n}.${e}`;null===t?await o(i.removeItem(a)):await o(i.setItem(a,r(t)))},async removeItem(e){await o(i.removeItem(`${n}.${e}`))}}}({storage:function(){let e="undefined"!=typeof window&&window.localStorage?window.localStorage:g;return{getItem:t=>e.getItem(t),removeItem(t){e.removeItem(t)},setItem(t,n){try{e.setItem(t,n)}catch{}}}}()}),syncConnectedChain:c=!0,ssr:d=!1,...p}=e,m="undefined"!=typeof window&&n?function(){let e=new Set,t=[],n=()=>(function(e){if("undefined"==typeof window)return;let t=t=>e(t.detail);return window.addEventListener("eip6963:announceProvider",t),window.dispatchEvent(new CustomEvent("eip6963:requestProvider")),()=>window.removeEventListener("eip6963:announceProvider",t)})(n=>{t.some(({info:e})=>e.uuid===n.info.uuid)||(t=[...t,n],e.forEach(e=>e(t,{added:[n]})))}),r=n();return{_listeners:()=>e,clear(){e.forEach(e=>e([],{removed:[...t]})),t=[]},destroy(){this.clear(),e.clear(),r?.()},findProvider:({rdns:e})=>t.find(t=>t.info.rdns===e),getProviders:()=>t,reset(){this.clear(),r?.(),r=n()},subscribe:(n,{emitImmediately:r}={})=>(e.add(n),r&&n(t,{added:t}),()=>e.delete(n))}}():void 0,A=u(()=>p.chains),x=u(()=>{let e=[],t=new Set;for(let n of p.connectors??[]){let r=E(n);if(e.push(r),!d&&r.rdns)for(let e of"string"==typeof r.rdns?[r.rdns]:r.rdns)t.add(e)}if(!d&&m)for(let n of m.getProviders())t.has(n.info.rdns)||e.push(E(C(n)));return e});function E(e){let t=new f(function(e=11){if(!r||w+e>512){r="",w=0;for(let e=0;e<256;e++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(w,w+++e)}()),n={...e({emitter:t,chains:A.getState(),storage:a,transports:p.transports}),emitter:t,uid:t.uid};return t.on("connect",S),n.setup?.(),n}function C(e){let{info:t}=e,n=e.provider;return(0,l.L)({target:{...t,id:t.rdns,provider:n}})}let I=new Map;function k(){return{chainId:A.getState()[0].id,connections:new Map,current:null,status:"disconnected"}}let B="0.0.0-canary-";t=v.i.startsWith(B)?Number.parseInt(v.i.replace(B,"")):Number.parseInt(v.i.split(".")[0]??"0");let P=u(o(a?s(k,{migrate(e,n){if(n===t)return e;let r=k(),i=T(e,r.chainId);return{...r,chainId:i}},name:"store",partialize:e=>({connections:{__type:"Map",value:Array.from(e.connections.entries()).map(([e,t])=>{let{id:n,name:r,type:i,uid:o}=t.connector;return[e,{...t,connector:{id:n,name:r,type:i,uid:o}}]})},chainId:e.chainId,current:e.current}),merge(e,t){"object"==typeof e&&e&&"status"in e&&delete e.status;let n=T(e,t.chainId);return{...t,...e,chainId:n}},skipHydration:d,storage:a,version:t}):k));function T(e,t){return e&&"object"==typeof e&&"chainId"in e&&"number"==typeof e.chainId&&A.getState().some(t=>t.id===e.chainId)?e.chainId:t}function O(e){P.setState(t=>{let n=t.connections.get(e.uid);return n?{...t,connections:new Map(t.connections).set(e.uid,{accounts:e.accounts??n.accounts,chainId:e.chainId??n.chainId,connector:n.connector})}:t})}function S(e){"connecting"!==P.getState().status&&"reconnecting"!==P.getState().status&&P.setState(t=>{let n=x.getState().find(t=>t.uid===e.uid);return n?(n.emitter.listenerCount("connect")&&n.emitter.off("connect",O),n.emitter.listenerCount("change")||n.emitter.on("change",O),n.emitter.listenerCount("disconnect")||n.emitter.on("disconnect",R),{...t,connections:new Map(t.connections).set(e.uid,{accounts:e.accounts,chainId:e.chainId,connector:n}),current:e.uid,status:"connected"}):t})}function R(e){P.setState(t=>{let n=t.connections.get(e.uid);if(n){let e=n.connector;e.emitter.listenerCount("change")&&n.connector.emitter.off("change",O),e.emitter.listenerCount("disconnect")&&n.connector.emitter.off("disconnect",R),e.emitter.listenerCount("connect")||n.connector.emitter.on("connect",S)}if(t.connections.delete(e.uid),0===t.connections.size)return{...t,connections:new Map,current:null,status:"disconnected"};let r=t.connections.values().next().value;return{...t,connections:new Map(t.connections),current:r.connector.uid}})}return P.setState(k()),c&&P.subscribe(({connections:e,current:t})=>t?e.get(t)?.chainId:void 0,e=>{if(A.getState().some(t=>t.id===e))return P.setState(t=>({...t,chainId:e??t.chainId}))}),m?.subscribe(e=>{let t=new Set,n=new Set;for(let e of x.getState())if(t.add(e.id),e.rdns)for(let t of"string"==typeof e.rdns?[e.rdns]:e.rdns)n.add(t);let r=[];for(let i of e){if(n.has(i.info.rdns))continue;let e=E(C(i));t.has(e.id)||r.push(e)}(!a||P.persist.hasHydrated())&&x.setState(e=>[...e,...r],!0)}),{get chains(){return A.getState()}
32,get connectors(){return x.getState()},storage:a,getClient:function(e={}){let t;let n=e.chainId??P.getState().chainId,r=A.getState().find(e=>e.id===n);if(e.chainId&&!r)throw new b.X4;{let e=I.get(P.getState().chainId);if(e&&!r)return e;if(!r)throw new b.X4}{let e=I.get(n);if(e)return e}if(p.client)t=p.client({chain:r});else{let e=r.id,n=A.getState().map(e=>e.id),o={};for(let[t,r]of Object.entries(p))if("chains"!==t&&"client"!==t&&"connectors"!==t&&"transports"!==t){if("object"==typeof r){if(e in r)o[t]=r[e];else{if(n.some(e=>e in r))continue;o[t]=r}}else o[t]=r}t=(0,i.e)({...o,chain:r,batch:o.batch??{multicall:!0},transport:t=>p.transports[e]({...t,connectors:x})})}return I.set(n,t),t},get state(){return P.getState()},setState(e){let t;t="function"==typeof e?e(P.getState()):e;let n=k();"object"!=typeof t&&(t=n),Object.keys(n).some(e=>!(e in t))&&(t=n),P.setState(t,!0)},subscribe:(e,t,n)=>P.subscribe(e,t,n?{...n,fireImmediately:n.emitImmediately}:void 0),_internal:{mipd:m,store:P,ssr:!!d,syncConnectedChain:c,transports:p.transports,chains:{setState(e){let t="function"==typeof e?e(A.getState()):e;if(0!==t.length)return A.setState(t,!0)},subscribe:e=>A.subscribe(e)},connectors:{providerDetailToConnector:C,setup:E,setState:e=>x.setState("function"==typeof e?e(x.getState()):e,!0),subscribe:e=>x.subscribe(e)},events:{change:O,connect:S,disconnect:R}}}}},1257:function(e,t,n){"use strict";n.d(t,{G:function(){return c}});var r,i,o=n(33816);let a=()=>`@wagmi/core@${o.i}`;var s=function(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};class c extends Error{get docsBaseUrl(){return"https://wagmi.sh/core"}get version(){return a()}constructor(e,t={}){super(),r.add(this),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:"WagmiCoreError"});let n=t.cause instanceof c?t.cause.details:t.cause?.message?t.cause.message:t.details,i=t.cause instanceof c&&t.cause.docsPath||t.docsPath;this.message=[e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...i?[`Docs: ${this.docsBaseUrl}${i}.html${t.docsSlug?`#${t.docsSlug}`:""}`]:[],...n?[`Details: ${n}`]:[],`Version: ${this.version}`].join("\n"),t.cause&&(this.cause=t.cause),this.details=n,this.docsPath=i,this.metaMessages=t.metaMessages,this.shortMessage=e}walk(e){return s(this,r,"m",i).call(this,this,e)}}r=new WeakSet,i=function e(t,n){return n?.(t)?t:t.cause?s(this,r,"m",e).call(this,t.cause,n):t}},2731:function(e,t,n){"use strict";n.d(t,{$S:function(){return u},JK:function(){return s},X4:function(){return i},XZ:function(){return c},aH:function(){return a},wi:function(){return o}});var r=n(1257);class i extends r.G{constructor(){super("Chain not configured."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainNotConfiguredError"})}}class o extends r.G{constructor(){super("Connector already connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAlreadyConnectedError"})}}class a extends r.G{constructor(){super("Connector not connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorNotConnectedError"})}}class s extends r.G{constructor({address:e,connector:t}){super(`Account "${e}" not found for connector "${t.name}".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAccountNotFoundError"})}}class c extends r.G{constructor({connectionChainId:e,connectorChainId:t}){super(`The current chain of the connector (id: ${t}) does not match the connection's chain (id: ${e}).`,{metaMessages:[`Current Chain ID:  ${t}`,`Expected Chain ID: ${e}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorChainMismatchError"})}}class u extends r.G{constructor({connector:e}){super(`Connector "${e.name}" unavailable while reconnecting.`,{details:"During the reconnection step, the only connector methods guaranteed to be available are: `id`, `name`, `type`, `uid`. All other methods are not guaranteed to be available until reconnection completes and connectors are fully restored. This error commonly occurs for connectors that asynchronously inject after reconnection has already started."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorUnavailableReconnectingError"})}}},34497:function(e,t,n){"use strict";n.d(t,{M:function(){return i},O:function(){return o}});var r=n(1257);class i extends r.G{constructor(){super("Provider not found."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderNotFoundError"})}}class o extends r.G{constructor({connector:e}){super(`"${e.name}" does not support programmatic chain switching.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SwitchChainNotSupportedError"})}}},73054:function(e,t,n){"use strict";n.d(t,{OP:function(){return s},if:function(){return i},kq:function(){return o}});var r=n(46063);function i(e,t){return(0,r.Q$)(e,t)}function o(e){return JSON.stringify(e,(e,t)=>!function(e){if(!a(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!(a(n)&&n.hasOwnProperty("isPrototypeOf"))}(t)?"bigint"==typeof t?t.toString():t:Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}))}function a(e){return"[object Object]"===Object.prototype.toString.call(e)}function s(e){let{_defaulted:t,behavior:n,gcTime:r,initialData:i,initialDataUpdatedAt:o,maxPages:a,meta:s,networkMode:c,queryFn:u,queryHash:l,queryKey:d,queryKeyHashFn:f,retry:h,retryDelay:p,structuralSharing:m,getPreviousPageParam:y,getNextPageParam:g,initialPageParam:b,_optimisticResults:w,enabled:v,notifyOnChangeProps:A,placeholderData:x,refetchInterval:E,refetchIntervalInBackgroun
32d:C,refetchOnMount:I,refetchOnReconnect:k,refetchOnWindowFocus:B,retryOnMount:P,select:T,staleTime:O,suspense:S,throwOnError:R,config:N,connector:M,query:F,...L}=e;return L}},69022:function(e,t,n){"use strict";n.d(t,{v:function(){return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){let r,i;if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)&&Array.isArray(n)){if((r=t.length)!==n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();let o=Object.keys(t);if((r=o.length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){let r=o[i];if(r&&!e(t[r],n[r]))return!1}return!0}return t!=t&&n!=n}}})},37225:function(e,t,n){"use strict";function r(e,t,n){let r=e[t.name];if("function"==typeof r)return r;let i=e[n];return"function"==typeof i?i:n=>t(e,n)}n.d(t,{s:function(){return r}})},33816:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});let r="2.16.7"},26159:function(e,t,n){"use strict";n.d(t,{G:function(){return r}});class r extends Error{constructor(e,t={}){let n=t.cause instanceof r?t.cause.details:t.cause?.message?t.cause.message:t.details,i=t.cause instanceof r&&t.cause.docsPath||t.docsPath;super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...i?[`Docs: https://abitype.dev${i}`]:[],...n?[`Details: ${n}`]:[],"Version: [email protected]"].join("\n")),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),t.cause&&(this.cause=t.cause),this.details=n,this.docsPath=i,this.metaMessages=t.metaMessages,this.shortMessage=e}}},70317:function(e,t,n){"use strict";n.d(t,{F:function(){return o},Hk:function(){return a},a_:function(){return i}});var r=n(26159);class i extends r.G{constructor({signature:e}){super("Failed to parse ABI item.",{details:`parseAbiItem(${JSON.stringify(e,null,2)})`,docsPath:"/api/human#parseabiitem-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiItemError"})}}class o extends r.G{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}class a extends r.G{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}},60295:function(e,t,n){"use strict";n.d(t,{TT:function(){return o},_D:function(){return s},aZ:function(){return c},jO:function(){return i},zL:function(){return a}});var r=n(26159);class i extends r.G{constructor({param:e}){super("Invalid ABI parameter.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class o extends r.G{constructor({param:e,name:t}){super("Invalid ABI parameter.",{details:e,metaMessages:[`"${t}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}class a extends r.G{constructor({param:e,type:t,modifier:n}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${n}" not allowed${t?` in "${t}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}class s extends r.G{constructor({param:e,type:t,modifier:n}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${n}" not allowed${t?` in "${t}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${n}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}class c extends r.G{constructor({abiParameter:e}){super("Invalid ABI parameter.",{details:JSON.stringify(e,null,2),metaMessages:["ABI parameter type is invali
32d."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}},46793:function(e,t,n){"use strict";n.d(t,{H6:function(){return a},Vs:function(){return o},wn:function(){return i}});var r=n(26159);class i extends r.G{constructor({signature:e,type:t}){super(`Invalid ${t} signature.`,{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}class o extends r.G{constructor({signature:e}){super("Unknown signature.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class a extends r.G{constructor({signature:e}){super("Invalid struct signature.",{details:e,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}},97675:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(23171);function i(e){return"function"===e.type?`function ${e.name}(${(0,r.P)(e.inputs)})${e.stateMutability&&"nonpayable"!==e.stateMutability?` ${e.stateMutability}`:""}${e.outputs?.length?` returns (${(0,r.P)(e.outputs)})`:""}`:"event"===e.type?`event ${e.name}(${(0,r.P)(e.inputs)})`:"error"===e.type?`error ${e.name}(${(0,r.P)(e.inputs)})`:"constructor"===e.type?`constructor(${(0,r.P)(e.inputs)})${"payable"===e.stateMutability?" payable":""}`:"fallback"===e.type?`fallback() external${"payable"===e.stateMutability?" payable":""}`:"receive() external payable"}},23171:function(e,t,n){"use strict";n.d(t,{P:function(){return o}});var r=n(67032);let i=/^tuple(?<array>(\[(\d*)\])*)$/;function o(e){let t="",n=e.length;for(let o=0;o<n;o++)t+=function e(t){let n=t.type;if(i.test(t.type)&&"components"in t){n="(";let o=t.components.length;for(let r=0;r<o;r++)n+=e(t.components[r]),r<o-1&&(n+=", ");let a=(0,r.Zw)(i,t.type);return n+=`)${a?.array??""}`,e({...t,type:n})}return("indexed"in t&&t.indexed&&(n=`${n}
32 indexed`),t.name)?`${n} ${t.name}`:n}(e[o]),o!==n-1&&(t+=", ");return t}},73805:function(e,t,n){"use strict";n.d(t,{Dt:function(){return I},EC:function(){return v},N0:function(){return p},PI:function(){return b},QM:function(){return E},SA:function(){return a},Wg:function(){return C},_c:function(){return o},a4:function(){return g},c3:function(){return c},g1:function(){return m},l$:function(){return f},qm:function(){return A},rh:function(){return d},wA:function(){return u}});var r=n(67032);let i=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function o(e){return i.test(e)}function a(e){return(0,r.Zw)(i,e)}let s=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function c(e){return s.test(e)}function u(e){return(0,r.Zw)(s,e)}let l=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\s?\((?<returns>.*?)\))?$/;function d(e){return l.test(e)}function f(e){return(0,r.Zw)(l,e)}let h=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?<properties>.*?)\}$/;function p(e){return h.test(e)}function m(e){return(0,r.Zw)(h,e)}let y=/^constructor\((?<parameters>.*?)\)(?:\s(?<stateMutability>payable{1}))?$/;function g(e){return y.test(e)}function b(e){return(0,r.Zw)(y,e)}let w=/^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/;function v(e){return w.test(e)}function A(e){return(0,r.Zw)(w,e)}let x=/^receive\(\) external payable$/;function E(e){return x.test(e)}let C=new Set(["indexed"]),I=new Set(["calldata","memory","storage"])},66394:function(e,t,n){"use strict";n.d(t,{D:function(){return d}});var r=n(67032),i=n(70317),o=n(60295),a=n(46793),s=n(26159);class c extends s.G{constructor({type:e}){super("Circular reference detected.",{metaMessages:[`Struct "${e}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}var u=n(73805),l=n(16479);function d(e){let t={},n=e.length;for(let r=0;r<n;r++){let n=e[r];if(!(0,u.N0)(n))continue;let i=(0,u.g1)(n);if(!i)throw new a.wn({signature:n,type:"struct"});let o=i.properties.split(";"),s=[],c=o.length;for(let e=0;e<c;e++){let t=o[e].trim();if(!t)continue;let n=(0,l.C$)(t,{type:"struct"});s.push(n)}if(!s.length)throw new a.H6({signature:n});t[i.name]=s}let s={},d=Object.entries(t),h=d.length;for(let e=0;e<h;e++){let[n,a]=d[e];s[n]=function e(t,n,a=new Set){let s=[],u=t.length;for(let d=0;d<u;d++){let u=t[d];if(r.cN.test(u.type))s.push(u);else{let t=(0,r.Zw)(f,u.type);if(!t?.type)throw new o.aZ({abiParameter:u});let{array:d,type:h}=t;if(h in n){if(a.has(h))throw new c({type:h});s.push({...u,type:`tuple${d??""}`,components:e(n[h]??[],n,new Set([...a,h]))})}else if((0,l.uN)(h))s.push(u);else throw new i.F({type:h})}}return s}(a,t)}return s}let f=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/},16479:function(e,t,n){"use strict";n.d(t,{uN:function(){return g},C$:function(){return m},cK:function(){return d}});var r=n(67032),i=n(70317),o=n(60295),a=n(46793),s=n(26159);class c extends s.G{constructor({current:e,depth:t}){super("Unbalanced parentheses.",{metaMessages:[`"${e.trim()}" has too many ${t>0?"opening":"closing"} parentheses.`],details:`Depth "${t}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}let u=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}]]);var l=n(73805);function d(e,t={}){if((0,l.rh)(e))return function(e,t={}){let n=(0,l.l$)(e);if(!n)throw new a.wn({signature:e,type:"function"});let r=y(n.parameters),i=[],o=r.length;for(let e=0;e<o;e++)i.push(m(r[e],{modifiers:l.Dt,structs:t,type:"function"}));let s=[];if(n.returns){let e=y(n.returns),r=e.length;for(let n=0;n<r;n++)s.push(m(e[n],{modifiers:l.Dt,structs:t,type:"function"}))}return{name:n.name,type:"function",stateMutability:n.stateMutability??"nonpayable",inputs:i,outputs:s}}(e,t);if((0,l.c3)(e))return function(e,t={}){let n=(0,l.wA)(e);if(!n)throw new a.wn({signature:e,type:"event"});let r=y(n.parameters),i=[],o=r.length;for(let e=0;e<o;e++)i.push(m(r[e],{modifiers:l.Wg,structs:t,type:"event"}));return{name:n.name,type:"event",inputs:i}}(e,t);if((0,l._c)(e))return function(e,t={}){let n=(0,l.SA)(e);if(!n)throw new a.wn({signature:e,type:"error"});let r=y(n.parameters),i=[],o=r.length;for(let e=0;e<o;e++)i.push(m(r[e],{structs:t,type:"error"}));return{name:n.name,type:"error",inputs:i}}(e,t);if((0,l.a4)(e))return function(e,t={}){let n=(0,l.PI)(e);if(!n)throw new a.wn({signature:e,type:"constructor"});let r=y(n.parameters),i=[],o=r.length;for(let e=0;e<o;e++)i.push(m(r[e],{structs:t,type:"constructor"}));return{type:"constructor",stateMutability:n.stateMutability??"nonpayable",inputs:i}}(e,t);if((0,l.EC)(e))return function(e){let t=(0,l.qm)(e);if(!t)throw new a.wn({signature:e,type:"fallback"});return{type:"fallback",stateMutability:t.stateMutability??"nonpayable"}}(e);if((0,l.QM)(e))return{type:"receive",stateMutability:"payable"};throw new a.Vs({signature:e})}let f=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,h=/^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,p=/^u?int$/;function m(e,t){var n,a;let s;let c=function(e,t,n){let r="";if(n)for(let e of Object.entries(n)){if(!e)continue;let t="";for(let n of e[1])t+=`[${n.type}${n.name?`:${n.name}`:""}]`;r+=`(${e[0]}{${t}})`}return t?`${t}:${e}${r}`:e}(e,t?.type,t?.structs);if(u.has(c))return u.get(c);let d=r.cN.test(e),w=(0,r.Zw)(d?h:f,e);if(!w)throw new o.jO({param:e});if(w.name&&("address"===(n=w.name)||"bool"===n||"function"===n||"string"===n||"tuple"===n||r.eL.test(n)||r.lh.test(n)||b.test(n)))throw new o.TT({param:e,name:w.name});let v=w.name?{name:w.name}:{},A="indexed"===w.modifier?{indexed:!0}:{},x=t?.structs??{},E={};if(d){s="tuple";let e=y(w.type),t=[],n=e.length;for(let r=0;r<n;r++)t.push(m(e[r],{structs:x}));E={components:t}}else if(w.type in x)s="tuple",E={components:x[w.type]};else if(p.test(w.type))s=`${w.type}256`;else if(s=w.type,t?.type!=="struct"&&!g(s))throw new i.Hk({type:s});if(w.modifier){if(!t?.modifiers?.has?.(w.modifier))throw new o.zL({param:e,type:t?.type,modifier:w.modifier});if(l.Dt.has(w.modifier)&&(a=s,!w.array&&"bytes"!==a&&"string"!==a&&"tuple"!==a)
32)throw new o._D({param:e,type:t?.type,modifier:w.modifier})}let C={type:`${s}${w.array??""}`,...v,...A,...E};return u.set(c,C),C}function y(e,t=[],n="",r=0){let i=e.trim().length;for(let o=0;o<i;o++){let i=e[o],a=e.slice(o+1);switch(i){case",":return 0===r?y(a,[...t,n.trim()]):y(a,t,`${n}${i}`,r);case"(":return y(a,t,`${n}${i}`,r+1);case")":return y(a,t,`${n}${i}`,r-1);default:return y(a,t,`${n}${i}`,r)}}if(""===n)return t;if(0!==r)throw new c({current:n,depth:r});return t.push(n.trim()),t}function g(e){return"address"===e||"bool"===e||"function"===e||"string"===e||r.eL.test(e)||r.lh.test(e)}let b=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/},67032:function(e,t,n){"use strict";function r(e,t){let n=e.exec(t);return n?.groups}n.d(t,{Zw:function(){return r},cN:function(){return a},eL:function(){return i},lh:function(){return o}});let i=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,o=/^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)?$/,a=/^\(.+?\).*?$/},73107:function(e,t,n){"use strict";n.d(t,{Z:function(){return th}});var r,i,o,a,s,c,u,l,d,f,h={};function p(e,t){return function(){return e.apply(t,arguments)}}n.r(h),n.d(h,{hasBrowserEnv:function(){return ey},hasStandardBrowserEnv:function(){return eb},hasStandardBrowserWebWorkerEnv:function(){return ew},navigator:function(){return eg},origin:function(){return ev}});var m=n(25566);let{toString:y}=Object.prototype,{getPrototypeOf:g}=Object,b=(s=Object.create(null),e=>{let t=y.call(e);return s[t]||(s[t]=t.slice(8,-1).toLowerCase())}),w=e=>(e=e.toLowerCase(),t=>b(t)===e),v=e=>t=>typeof t===e,{isArray:A}=Array,x=v("undefined"),E=w("ArrayBuffer"),C=v("string"),I=v("function"),k=v("number"),B=e=>null!==e&&"object"==typeof e,P=e=>{if("object"!==b(e))return!1;let t=g(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},T=w("Date"),O=w("File"),S=w("Blob"),R=w("FileList"),N=w("URLSearchParams"),[M,F,L,U]=["ReadableStream","Request","Response","Headers"].map(w);function D(e,t,{allOwnKeys:n=!1}={}){let r,i;if(null!=e){if("object"!=typeof e&&(e=[e]),A(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{let i;let o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;for(r=0;r<a;r++)i=o[r],t.call(null,e[i],i,e)}}}function _(e,t){let n;t=t.toLowerCase();let r=Object.keys(e),i=r.length;for(;i-- >0;)if(t===(n=r[i]).toLowerCase())return n;return null}let j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,q=e=>!x(e)&&e!==j,z=(c="undefined"!=typeof Uint8Array&&g(Uint8Array),e=>c&&e instanceof c),G=w("HTMLFormElement"),Q=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),W=w("RegExp"),H=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};D(n,(n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)}),Object.defineProperties(e,r)},K=w("AsyncFunction"),$=(r="function"==typeof setImmediate,i=I(j.postMessage),r?setImmediate:i?(o=`axios@${Math.random()}`,a=[],j.addEventListener("message",({source:e,data:t})=>{e===j&&t===o&&a.length&&a.shift()()},!1),e=>{a.push(e),j.postMessage(o,"*")}):e=>setTimeout(e)),V="undefined"!=typeof queueMicrotask?queueMicrotask.bind(j):void 0!==m&&m.nextTick||$;var Z={isArray:A,isArrayBuffer:E,isBuffer:function(e){return null!==e&&!x(e)&&null!==e.constructor&&!x(e.constructor)&&I(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||I(e.append)&&("formdata"===(t=b(e))||"object"===t&&I(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&E(e.buffer)},isString:C,isNumber:k,isBoolean:e=>!0===e||!1===e,isObject:B,isPlainObject:P,isReadableStream:M,isRequest:F,isResponse:L,isHeaders:U,isUndefined:x,isDate:T,isFile:O,isBlob:S,isRegExp:W,isFunction:I,isStream:e=>B(e)&&I(e.pipe),isURLSearchParams:N,isTypedArray:z,isFileList:R,forEac
32h:D,merge:function e(){let{caseless:t}=q(this)&&this||{},n={},r=(r,i)=>{let o=t&&_(n,i)||i;P(n[o])&&P(r)?n[o]=e(n[o],r):P(r)?n[o]=e({},r):A(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&D(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(D(t,(t,r)=>{n&&I(t)?e[r]=p(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(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)},toFlatObject:(e,t,n,r)=>{let i,o,a;let s={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=!1!==n&&g(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:b,kindOfTest:w,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return -1!==r&&r===n},toArray:e=>{if(!e)return null;if(A(e))return e;let t=e.length;if(!k(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{let n;let r=(e&&e[Symbol.iterator]).call(e);for(;(n=r.next())&&!n.done;){let r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let n;let r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:G,hasOwnProperty:Q,hasOwnProp:Q,reduceDescriptors:H,freezeMethods:e=>{H(e,(t,n)=>{if(I(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;if(I(e[n])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(e,t)=>{let n={};return(e=>{e.forEach(e=>{n[e]=!0})})(A(e)?e:String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:_,global:j,isContextDefined:q,isSpecCompliantForm:function(e){return!!(e&&I(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),n=(e,r)=>{if(B(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;let i=A(e)?[]:{};return D(e,(e,t)=>{let o=n(e,r+1);x(o)||(i[t]=o)}),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:K,isThenable:e=>e&&(B(e)||I(e))&&I(e.then)&&I(e.catch),setImmediate:$,asap:V};function J(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=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)}Z.inherits(J,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:Z.toJSONObject(this.config),code:this.code,status:this.status}}});let Y=J.prototype,X={};["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=>{X[e]={value:e}}),Object.defineProperties(J,X),Object.defineProperty(Y,"isAxiosError",{value:!0}),J.from=(e,t,n,r,i,o)=>{let a=Object.create(Y);return Z.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),J.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var ee=n(23663).Buffer;function et(e){return Z.isPlainObject(e)||Z.isArray(e)}function en(e){return Z.endsWith(e,"[]")?e.slice(0,-2):e}function er(e,t,n){return e?e.concat(t).map(function(e,t){return e=en(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}let ei=Z.toFlatObject(Z,{},null,function(e){return/^is[A-Z]/.test(e)});var eo=function(e,t,n){if(!Z.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let r=(n=Z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Z.isUndefined(t[e])})).metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Z.isSpecCompliantForm(t);if(!Z.isFunction(i))throw TypeError("visitor must be a function");function c(e){if(null===e)return"";if(Z.isDate(e))return e.toISOString();if(!s&&Z.isBlob(e))throw new J("Blob is not supported. Use a Buffer instead.");
32return Z.isArrayBuffer(e)||Z.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):ee.from(e):e}function u(e,n,i){let s=e;if(e&&!i&&"object"==typeof e){if(Z.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else{var u;if(Z.isArray(e)&&(u=e,Z.isArray(u)&&!u.some(et))||(Z.isFileList(e)||Z.endsWith(n,"[]"))&&(s=Z.toArray(e)))return n=en(n),s.forEach(function(e,r){Z.isUndefined(e)||null===e||t.append(!0===a?er([n],r,o):null===a?n:n+"[]",c(e))}),!1}}return!!et(e)||(t.append(er(i,n,o),c(e)),!1)}let l=[],d=Object.assign(ei,{defaultVisitor:u,convertValue:c,isVisitable:et});if(!Z.isObject(e))throw TypeError("data must be an object");return!function e(n,r){if(!Z.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),Z.forEach(n,function(n,o){!0===(!(Z.isUndefined(n)||null===n)&&i.call(t,n,Z.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])}),l.pop()}}(e),t};function ea(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function es(e,t){this._pairs=[],e&&eo(e,this,t)}let ec=es.prototype;function eu(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function el(e,t,n){let r;if(!t)return e;let i=n&&n.encode||eu;Z.isFunction(n)&&(n={serialize:n});let o=n&&n.serialize;if(r=o?o(t,n):Z.isURLSearchParams(t)?t.toString():new es(t,n).toString(i)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}ec.append=function(e,t){this._pairs.push([e,t])},ec.toString=function(e){let t=e?function(t){return e.call(this,t,ea)}:ea;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class ed{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Z.forEach(this.handlers,function(t){null!==t&&e(t)})}}var ef={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},eh="undefined"!=typeof URLSearchParams?URLSearchParams:es,ep="undefined"!=typeof FormData?FormData:null,em="undefined"!=typeof Blob?Blob:null;let ey="undefined"!=typeof window&&"undefined"!=typeof document,eg="object"==typeof navigator&&navigator||void 0,eb=ey&&(!eg||0>["ReactNative","NativeScript","NS"].indexOf(eg.product)),ew="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ev=ey&&window.location.href||"http://localhost";var eA={...h,isBrowser:!0,classes:{URLSearchParams:eh,FormData:ep,Blob:em},protocols:["http","https","file","blob","url","data"]},ex=function(e){if(Z.isFormData(e)&&Z.isFunction(e.entries)){let t={};return Z.forEachEntry(e,(e,n)=>{!function e(t,n,r,i){let o=t[i++];if("__proto__"===o)return!0;let a=Number.isFinite(+o),s=i>=t.length;return(o=!o&&Z.isArray(r)?r.length:o,s)?Z.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n:(r[o]&&Z.isObject(r[o])||(r[o]=[]),e(t,n,r[o],i)&&Z.isArray(r[o])&&(r[o]=function(e){let t,n;let r={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)r[n=i[t]]=e[n];return r}(r[o]))),!a}(Z.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),n,t,0)}),t}return null};let eE={transitional:ef,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let n;let r=t.getContentType()||"",i=r.indexOf("application/json")>-1,o=Z.isObject(e);if(o&&Z.isHTMLForm(e)&&(e=new FormData(e)),Z.isFormData(e))return i?JSON.stringify(ex(e)):e;if(Z.isArrayBuffer(e)||Z.isBuffer(e)||Z.isStream(e)||Z.isFile(e)||Z.isBlob(e)||Z.isReadableStream(e))return e;if(Z.isArrayBufferView(e))return e.buffer;if(Z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1){var a,s;return(a=e,s=this.formSerializer,eo(a,new eA.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return eA.isNode&&Z.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},s))).toString()}if((n=Z.isFileList(e))||r.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return eo(n?{"files[]":e}
32:e,t&&new t,this.formSerializer)}}return o||i?(t.setContentType("application/json",!1),function(e,t,n){if(Z.isString(e))try{return(0,JSON.parse)(e),Z.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||eE.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Z.isResponse(e)||Z.isReadableStream(e))return e;if(e&&Z.isString(e)&&(n&&!this.responseType||r)){let n=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!n&&r){if("SyntaxError"===e.name)throw J.from(e,J.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eA.classes.FormData,Blob:eA.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Z.forEach(["delete","get","head","post","put","patch"],e=>{eE.headers[e]={}});let eC=Z.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"]);var eI=e=>{let t,n,r;let i={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||i[t]&&eC[t]||("set-cookie"===t?i[t]?i[t].push(n):i[t]=[n]:i[t]=i[t]?i[t]+", "+n:n)}),i};let ek=Symbol("internals");function eB(e){return e&&String(e).trim().toLowerCase()}function eP(e){return!1===e||null==e?e:Z.isArray(e)?e.map(eP):String(e)}let eT=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eO(e,t,n,r,i){if(Z.isFunction(r))return r.call(this,t,n);if(i&&(t=n),Z.isString(t)){if(Z.isString(r))return -1!==t.indexOf(r);if(Z.isRegExp(r))return r.test(t)}}class eS{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=eB(t);if(!i)throw Error("header name must be a non-empty string");let o=Z.findKey(r,i);o&&void 0!==r[o]&&!0!==n&&(void 0!==n||!1===r[o])||(r[o||t]=eP(e))}let o=(e,t)=>Z.forEach(e,(e,n)=>i(e,n,t));if(Z.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(Z.isString(e)&&(e=e.trim())&&!eT(e))o(eI(e),t);else if(Z.isHeaders(e))for(let[t,r]of e.entries())i(r,t,n);else null!=e&&i(t,e,n);return this}get(e,t){if(e=eB(e)){let n=Z.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(!0===t)return function(e){let t;let n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
32for(;t=r.exec(e);)n[t[1]]=t[2];return n}(e);if(Z.isFunction(t))return t.call(this,e,n);if(Z.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eB(e)){let n=Z.findKey(this,e);return!!(n&&void 0!==this[n]&&(!t||eO(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=eB(e)){let i=Z.findKey(n,e);i&&(!t||eO(n,n[i],i,t))&&(delete n[i],r=!0)}}return Z.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||eO(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return Z.forEach(this,(r,i)=>{let o=Z.findKey(n,i);if(o){t[o]=eP(r),delete t[i];return}let a=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(i).trim();a!==i&&delete t[i],t[a]=eP(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return Z.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Z.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[ek]=this[ek]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=eB(e);t[r]||(!function(e,t){let n=Z.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}(n,e),t[r]=!0)}return Z.isArray(e)?e.forEach(r):r(e),this}}function eR(e,t){let n=this||eE,r=t||n,i=eS.from(r.headers),o=r.data;return Z.forEach(e,function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function eN(e){return!!(e&&e.__CANCEL__)}function eM(e,t,n){J.call(this,null==e?"canceled":e,J.ERR_CANCELED,t,n),this.name="CanceledError"}function eF(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}eS.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Z.reduceDescriptors(eS.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),Z.freezeMethods(eS),Z.inherits(eM,J,{__CANCEL__:!0});var eL=function(e,t){let n;let r=Array(e=e||10),i=Array(e),o=0,a=0;return t=void 0!==t?t:1e3,function(s){let c=Date.now(),u=i[a];n||(n=c),r[o]=s,i[o]=c;let l=a,d=0;for(;l!==o;)d+=r[l++],l%=e;if((o=(o+1)%e)===a&&(a=(a+1)%e),c-n<t)return;let f=u&&c-u;return f?Math.round(1e3*d/f):void 0}},eU=function(e,t){let n,r,i=0,o=1e3/t,a=(t,o=Date.now())=>{i=o,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{let t=Date.now(),s=t-i;s>=o?a(e,t):(n=e,r||(r=setTimeout(()=>{r=null,a(n)},o-s)))},()=>n&&a(n)]};let eD=(e,t,n=3)=>{let r=0,i=eL(50,250);return eU(n=>{let o=n.loaded,a=n.lengthComputable?n.total:void 0,s=o-r,c=i(s);r=o,e({loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&o<=a?(a-o)/c:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},e_=(e,t)=>{let n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},ej=e=>(...t)=>Z.asap(()=>e(...t));var eq=eA.hasStandardBrowserEnv?(u=new URL(eA.origin),l=eA.navigator&&/(msie|trident)/i.test(eA.navigator.userAgent),e=>(e=new URL(e,eA.origin),u.protocol===e.protocol&&u.host===e.host&&(l||u.port===e.port))):()=>!0,ez=eA.hasStandardBrowserEnv?{write(e,t,n,r,i,o){let a=[e+"="+encodeURIComponent(t)];Z.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Z.isString(r)&&a.push("path="+r),Z.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function eG(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||!1==n)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eQ=e=>e instanceof eS?{...e}:e;function eW(e,t){t=t||{};let n={};function r(e,t,n,r){return Z.isPlainObject(e)&&Z.isPlainObject(t)?Z.merge.call({caseless:r},e,t):Z.isPlainObject(t)?Z.merge({},t):Z.isArray(t)?t.slice():t}function i(e,t,n,i){return Z.isUndefined(t)?Z.isUndefined(e)?void 0:r(void 0,e,n,i):r(e,t,n,i)}function o(e,t){if(!Z.isUndefined(t))return r(void 0,t)}function a(e,t){return Z.isUndefined(t)?Z.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}let c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBo
32dyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>i(eQ(e),eQ(t),n,!0)};return Z.forEach(Object.keys(Object.assign({},e,t)),function(r){let o=c[r]||i,a=o(e[r],t[r],r);Z.isUndefined(a)&&o!==s||(n[r]=a)}),n}var eH=e=>{let t;let n=eW({},e),{data:r,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:a,headers:s,auth:c}=n;if(n.headers=s=eS.from(s),n.url=el(eG(n.baseURL,n.url,n.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),Z.isFormData(r)){if(eA.hasStandardBrowserEnv||eA.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(t=s.getContentType())){let[e,...n]=t?t.split(";").map(e=>e.trim()).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...n].join("; "))}}if(eA.hasStandardBrowserEnv&&(i&&Z.isFunction(i)&&(i=i(n)),i||!1!==i&&eq(n.url))){let e=o&&a&&ez.read(a);e&&s.set(o,e)}return n},eK="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){let r,i,o,a,s;let c=eH(e),u=c.data,l=eS.from(c.headers).normalize(),{responseType:d,onUploadProgress:f,onDownloadProgress:h}=c;function p(){a&&a(),s&&s(),c.cancelToken&&c.cancelToken.unsubscribe(r),c.signal&&c.signal.removeEventListener("abort",r)}let m=new XMLHttpRequest;function y(){if(!m)return;let r=eS.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());eF(function(e){t(e),p()},function(e){n(e),p()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(c.method.toUpperCase(),c.url,!0),m.timeout=c.timeout,"onloadend"in m?m.onloadend=y:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(y)},m.onabort=function(){m&&(n(new J("Request aborted",J.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new J("Network Error",J.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",r=c.transitional||ef;c.timeoutErrorMessage&&(t=c.timeoutErrorMessage),n(new J(t,r.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,m)),m=null},void 0===u&&l.setContentType(null),"setRequestHeader"in m&&Z.forEach(l.toJSON(),function(e,t){m.setRequestHeader(t,e)}),Z.isUndefined(c.withCredentials)||(m.withCredentials=!!c.withCredentials),d&&"json"!==d&&(m.responseType=c.responseType),h&&([o,s]=eD(h,!0),m.addEventListener("progress",o)),f&&m.upload&&([i,a]=eD(f),m.upload.addEventListener("progress",i),m.upload.addEventListener("loadend",a)),(c.cancelToken||c.signal)&&(r=t=>{m&&(n(!t||t.type?new eM(null,e,m):t),m.abort(),m=null)},c.cancelToken&&c.cancelToken.subscribe(r),c.signal&&(c.signal.aborted?r():c.signal.addEventListener("abort",r)));let g=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(c.url);if(g&&-1===eA.protocols.indexOf(g)){n(new J("Unsupported protocol "+g+":",J.ERR_BAD_REQUEST,e));return}m.send(u||null)})},e$=(e,t)=>{let{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController,i=function(e){if(!n){n=!0,a();let t=e instanceof Error?e:this.reason;r.abort(t instanceof J?t:new eM(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{o=null,i(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t),a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));let{signal:s}=r;return s.unsubscribe=()=>Z.asap(a),s}};let eV=function*(e,t){let n,r=e.byteLength;if(!t||r<t){yield e;return}let i=0;for(;i<r;)n=i+t,yield e.slice(i,n),i=n},eZ=async function*(e,t){for await(let n of eJ(e))yield*eV(n,t)},eJ=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},eY=(e,t,n,r)=>{let i;let o=eZ(e,t),a=0,s=e=>{!i&&(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await o.next();if(t){s(),e.close();return}let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},eX="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,e0=eX&&"function"==typeof ReadableStream,e1=eX&&("function"==typeof TextEncoder?(d=new TextEncoder,e=>d.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer())),e2=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},e5=e0&&e2(()=>
32{let e=!1,t=new Request(eA.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),e6=e0&&e2(()=>Z.isReadableStream(new Response("").body)),e3={stream:e6&&(e=>e.body)};eX&&(f=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{e3[e]||(e3[e]=Z.isFunction(f[e])?t=>t[e]():(t,n)=>{throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,n)})}));let e4=async e=>{if(null==e)return 0;if(Z.isBlob(e))return e.size;if(Z.isSpecCompliantForm(e)){let t=new Request(eA.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Z.isArrayBufferView(e)||Z.isArrayBuffer(e)?e.byteLength:(Z.isURLSearchParams(e)&&(e+=""),Z.isString(e))?(await e1(e)).byteLength:void 0},e8=async(e,t)=>{let n=Z.toFiniteNumber(e.getContentLength());return null==n?e4(t):n},e7={http:null,xhr:eK,fetch:eX&&(async e=>{let t,n,{url:r,method:i,data:o,signal:a,cancelToken:s,timeout:c,onDownloadProgress:u,onUploadProgress:l,responseType:d,headers:f,withCredentials:h="same-origin",fetchOptions:p}=eH(e);d=d?(d+"").toLowerCase():"text";let m=e$([a,s&&s.toAbortSignal()],c),y=m&&m.unsubscribe&&(()=>{m.unsubscribe()});try{if(l&&e5&&"get"!==i&&"head"!==i&&0!==(n=await e8(f,o))){let e,t=new Request(r,{method:"POST",body:o,duplex:"half"});if(Z.isFormData(o)&&(e=t.headers.get("content-type"))&&f.setContentType(e),t.body){let[e,r]=e_(n,eD(ej(l)));o=eY(t.body,65536,e,r)}}Z.isString(h)||(h=h?"include":"omit");let a="credentials"in Request.prototype;t=new Request(r,{...p,signal:m,method:i.toUpperCase(),headers:f.normalize().toJSON(),body:o,duplex:"half",credentials:a?h:void 0});let s=await fetch(t),c=e6&&("stream"===d||"response"===d);if(e6&&(u||c&&y)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=s[t]});let t=Z.toFiniteNumber(s.headers.get("content-length")),[n,r]=u&&e_(t,eD(ej(u),!0))||[];s=new Response(eY(s.body,65536,n,()=>{r&&r(),y&&y()}),e)}d=d||"text";let g=await e3[Z.findKey(e3,d)||"text"](s,e);return!c&&y&&y(),await new Promise((n,r)=>{eF(n,r,{data:g,headers:eS.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:t})})}catch(n){if(y&&y(),n&&"TypeError"===n.name&&/fetch/i.test(n.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,e,t),{cause:n.cause||n});throw J.from(n,n&&n.code,e,t)}})};Z.forEach(e7,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let e9=e=>`- ${e}`,te=e=>Z.isFunction(e)||null===e||!1===e;var tt={getAdapter:e=>{let t,n;let{length:r}=e=Z.isArray(e)?e:[e],i={};for(let o=0;o<r;o++){let r;if(n=t=e[o],!te(t)&&void 0===(n=e7[(r=String(t)).toLowerCase()]))throw new J(`Unknown adapter '${r}'`);if(n)break;i[r||"#"+o]=n}if(!n){let e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new J("There is no suitable adapter to dispatch the request "+(r?e.length>1?"since :\n"+e.map(e9).join("\n"):" "+e9(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n},adapters:e7};function tn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eM(null,e)}function tr(e){return tn(e),e.headers=eS.from(e.headers),e.data=eR.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tt.getAdapter(e.adapter||eE.adapter)(e).then(function(t){return tn(e),t.data=eR.call(e,e.transformResponse,t),t.headers=eS.from(t.headers),t},function(t){return!eN(t)&&(tn(e),t&&t.response&&(t.response.data=eR.call(e,e.transformResponse,t.response),t.response.headers=eS.from(t.response.headers))),Promise.reject(t)})}let ti="1.8.4",to={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{to[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});let ta={};to.transitional=function(e,t,n){function r(e,t){return"[Axios v"+ti+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new J(r(i," has been removed"+(t?" in "+t:"")),J.ERR_DEPRECATED);return t&&!ta[i]&&(ta[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}},to.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}
32`),!0)};var ts={assertOptions:function(e,t,n){if("object"!=typeof e)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let o=r[i],a=t[o];if(a){let t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new J("option "+o+" must be "+n,J.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new J("Unknown option "+o,J.ERR_BAD_OPTION)}},validators:to};let tc=ts.validators;class tu{constructor(e){this.defaults=e,this.interceptors={request:new ed,response:new ed}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){let n,r;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:o,headers:a}=t=eW(this.defaults,t);void 0!==i&&ts.assertOptions(i,{silentJSONParsing:tc.transitional(tc.boolean),forcedJSONParsing:tc.transitional(tc.boolean),clarifyTimeoutError:tc.transitional(tc.boolean)},!1),null!=o&&(Z.isFunction(o)?t.paramsSerializer={serialize:o}:ts.assertOptions(o,{encode:tc.function,serialize:tc.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),ts.assertOptions(t,{baseUrl:tc.spelling("baseURL"),withXsrfToken:tc.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=a&&Z.merge(a.common,a[t.method]);a&&Z.forEach(["delete","get","head","post","put","patch","common"],e=>{delete a[e]}),t.headers=eS.concat(s,a);let c=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,c.unshift(e.fulfilled,e.rejected))});let l=[];this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let d=0;if(!u){let e=[tr.bind(this),void 0];for(e.unshift.apply(e,c),e.push.apply(e,l),r=e.length,n=Promise.resolve(t);d<r;)n=n.then(e[d++],e[d++]);return n}r=c.length;let f=t;for(d=0;d<r;){let e=c[d++],t=c[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{n=tr.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,r=l.length;d<r;)n=n.then(l[d++],l[d++]);return n}getUri(e){return el(eG((e=eW(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}
32Z.forEach(["delete","get","head","options"],function(e){tu.prototype[e]=function(t,n){return this.request(eW(n||{},{method:e,url:t,data:(n||{}).data}))}}),Z.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,i){return this.request(eW(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}tu.prototype[e]=t(),tu.prototype[e+"Form"]=t(!0)});class tl{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;let r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new eM(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new tl(function(t){e=t}),cancel:e}}}let td={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
32alContent: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(td).forEach(([e,t])=>{td[t]=e});let tf=function e(t){let n=new tu(t),r=p(tu.prototype.request,n);return Z.extend(r,tu.prototype,n,{allOwnKeys:!0}),Z.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(eW(t,n))},r}(eE);tf.Axios=tu,tf.CanceledError=eM,tf.CancelToken=tl,tf.isCancel=eN,tf.VERSION=ti,tf.toFormData=eo,tf.AxiosError=J,tf.Cancel=tf.CanceledError,tf.all=function(e){return Promise.all(e)},tf.spread=function(e){return function(t){return e.apply(null,t)}},tf.isAxiosError=function(e){return Z.isObject(e)&&!0===e.isAxiosError},tf.mergeConfig=eW,tf.AxiosHeaders=eS,tf.formToJSON=e=>ex(Z.isHTMLForm(e)?new FormData(e):e),tf.getAdapter=tt.getAdapter,tf.HttpStatusCode=td,tf.default=tf;var th=tf},75504:function(e,t,n){"use strict";function r(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r)}return i}(e))&&(r&&(r+=" "),r+=t);return r}n.d(t,{W:function(){return r}}),t.Z=r},5057:function(e,t,n){"use strict";n.d(t,{Am:function(){return O},Ix:function(){return _}});var r=n(2265),i=n(75504);!function(e){if(!e||"undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(':root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);
32-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}
32.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}
32}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n');var o=e=>"number"==typeof e&&!isNaN(e),a=e=>"string"==typeof e,s=e=>"function"==typeof e,c=e=>a(e)||o(e),u=e=>a(e)||s(e)?e:null,l=(e,t)=>!1===e||o(e)&&e>0?e:t,d=e=>(0,r.isValidElement)(e)||a(e)||s(e)||o(e);function f(e){let{enter:t,exit:n,appendPosition:i=!1,collapse:o=!0,collapseDuration:a=300}=e;return function(e){let{children:s,position:c,preventExitTransition:u,done:l,nodeRef:d,isIn:f,playToast:h}=e,p=i?"".concat(t,"--").concat(c):t,m=i?"".concat(n,"--").concat(c):n,y=(0,r.useRef)(0);return(0,r.useLayoutEffect)(()=>{let e=d.current,t=p.split(" "),n=r=>{r.target===d.current&&(h(),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===y.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)},[]),(0,r.useEffect)(()=>{let e=d.current,t=()=>{e.removeEventListener("animationend",t),o?function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,{scrollHeight:r,style:i}=e;requestAnimationFrame(()=>{i.minHeight="initial",i.height=r+"px",i.transition="all ".concat(n,"ms"),requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(t,n)})})}(e,l,a):l()};f||(u?t():(y.current=1,e.className+=" ".concat(m),e.addEventListener("animationend",t)))},[f]),r.createElement(r.Fragment,null,s)}}function h(e,t){return{content:p(e.content,e.props),containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,reason:e.removalReason,status:t}}function p(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,r.isValidElement)(e)&&!a(e.type)?(0,r.cloneElement)(e,{closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):s(e)?e({closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):e}function m(e){let{delay:t,isRunning:n,closeToast:o,type:a="default",hide:c,className:u,controlledProgress:l,progress:d,rtl:f,isIn:h,theme:p}=e,m=c||l&&0===d,y={animationDuration:"".concat(t,"ms"),animationPlayState:n?"running":"paused"};l&&(y.transform="scaleX(".concat(d,")"));let g=(0,i.Z)("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar-theme--".concat(p),"Toastify__progress-bar--".concat(a),{"Toastify__progress-bar--rtl":f}),b=s(u)?u({rtl:f,type:a,defaultClassName:g}):(0,i.Z)(g,u);return r.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":m},r.createElement("div",{className:"Toastify__progress-bar--bg Toastify__progress-bar-theme--".concat(p," Toastify__progress-bar--").concat(a)}),r.createElement("div",{role:"progressbar","aria-hidden":m?"true":"false","aria-label":"notification timer",className:b,style:y,[l&&d>=1?"onTransitionEnd":"onAnimationEnd"]:l&&d<1?null:()=>{h&&o()}}))}var y=1,g=()=>"".concat(y++),b=new Map,w=[],v=new Set,A=e=>v.forEach(t=>t(e)),x=()=>b.size>0,E=(e,t)=>{var n;
32let{containerId:r}=t;return null==(n=b.get(r||1))?void 0:n.toasts.get(e)};function C(e,t){var n;if(t)return!!(null!=(n=b.get(t))&&n.isToastActive(e));let r=!1;return b.forEach(t=>{t.isToastActive(e)&&(r=!0)}),r}function I(e,t){d(e)&&(x()||w.push({content:e,options:t}),b.forEach(n=>{n.buildToast(e,t)}))}function k(e,t){b.forEach(n=>{null!=t&&null!=t&&t.containerId&&(null==t?void 0:t.containerId)!==n.id||n.toggle(e,null==t?void 0:t.id)})}function B(e,t){return I(e,t),t.toastId}function P(e,t){return{...t,type:t&&t.type||e,toastId:t&&(a(t.toastId)||o(t.toastId))?t.toastId:g()}}function T(e){return(t,n)=>B(t,P(e,n))}function O(e,t){return B(e,P("default",t))}O.loading=(e,t)=>B(e,P("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),O.promise=function(e,t,n){let r,{pending:i,error:o,success:c}=t;i&&(r=a(i)?O.loading(i,n):O.loading(i.render,{...n,...i}));let u={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(e,t,i)=>{if(null==t){O.dismiss(r);return}let o={type:e,...u,...n,data:i},s=a(t)?{render:t}:t;return r?O.update(r,{...o,...s}):O(s.render,{...o,...s}),i},d=s(e)?e():e;return d.then(e=>l("success",c,e)).catch(e=>l("error",o,e)),d},O.success=T("success"),O.info=T("info"),O.error=T("error"),O.warning=T("warning"),O.warn=O.warning,O.dark=(e,t)=>B(e,P("default",{theme:"dark",...t})),O.dismiss=function(e){!function(e){if(!x()){w=w.filter(t=>null!=e&&t.options.toastId!==e);return}if(null==e||c(e))b.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=b.get(e.containerId);t?t.removeToast(e.id):b.forEach(t=>{t.removeToast(e.id)})}}(e)},O.clearWaitingQueue=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};b.forEach(t=>{t.props.limit&&(!e.containerId||t.id===e.containerId)&&t.clearQueue()})},O.isActive=C,O.update=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=E(e,t);if(n){let{props:r,content:i}=n,o={delay:100,...r,...t,toastId:t.toastId||e,updateId:g()};o.toastId!==e&&(o.staleId=e);let a=o.render||i;delete o.render,B(a,o)}},O.done=e=>{O.update(e,{progress:1})},O.onChange=function(e){return v.add(e),()=>{v.delete(e)}},O.play=e=>k(!0,e),O.pause=e=>k(!1,e);var S="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,R=e=>{let{theme:t,type:n,isLoading:i,...o}=e;return r.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":"var(--toastify-icon-color-".concat(n,")"),...o})},N={info:function(e){return r.createElement(R,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return r.createElement(R,{...e},r.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return r.createElement(R,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return r.createElement(R,{...e},r.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return r.createElement("div",{className:"Toastify__spinner"})}},M=e=>e in N,F=e=>{let{isRunning:t,preventExitTransition:n,toastRef:o,eventHandlers:a,playToast:c}=function(e){var t,n;let[i,o]=(0,r.useState)(!1),[a,s]=(0,r.useState)(!1),c=(0,r.useRef)(null),u=(0,r.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:l,pauseOnHover:d,closeToast:f,onClick:h,closeOnClick:p}=e;function m(){o(!0)}function y(){o(!1)}function g(t){let n=c.current;if(u.canDrag&&n){u.didMove=!0,i&&y(),"x"===e.draggableDirection?u.delta=t.clientX-u.start:u.delta=t.clientY-u.start,u.start!==t.clientX&&(u.canCloseOnClick=!1);let r="x"===e.draggableDirection?"".concat(u.delta,"px, var(--y)"):"0, calc(".concat(u.delta,"px + var(--y))");n.style.transform="translate3d(".concat(r,",0)"),n.style.opacity="".concat(1-Math.abs(u.delta/u.removalDistance))}}function w(){document.removeEventListener("pointermove",g),document.removeEventListener("pointerup",w);let t=c.current;if(u.canDrag&&u.didMove&&t){if(u.canDrag=!1,Math.abs(u.delta)>u.removalDistance){s(!0),e.closeToast(!0),e.collapseAll();return}t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity")}}t={id:e.toastId,containerId:e.containerId,fn:o},null==(n=b.get(t.containerId||1))||n.setToggle(t.id,t.fn),(0,r.useEffect)(()=>
32{if(e.pauseOnFocusLoss)return document.hasFocus()||y(),window.addEventListener("focus",m),window.addEventListener("blur",y),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",y)}},[e.pauseOnFocusLoss]);let v={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){u.didMove=!1,document.addEventListener("pointermove",g),document.addEventListener("pointerup",w);let n=c.current;u.canCloseOnClick=!0,u.canDrag=!0,n.style.transition="none","x"===e.draggableDirection?(u.start=t.clientX,u.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(u.start=t.clientY,u.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(t){let{top:n,bottom:r,left:i,right:o}=c.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=i&&t.clientX<=o&&t.clientY>=n&&t.clientY<=r?y():m()}};return l&&d&&(v.onMouseEnter=y,e.stacked||(v.onMouseLeave=m)),p&&(v.onClick=e=>{h&&h(e),u.canCloseOnClick&&f(!0)}),{playToast:m,pauseToast:y,isRunning:i,preventExitTransition:a,toastRef:c,eventHandlers:v}}(e),{closeButton:u,children:l,autoClose:d,onClick:f,type:h,hideProgressBar:y,closeToast:g,transition:w,position:v,className:A,style:x,progressClassName:E,updateId:C,role:I,progress:k,rtl:B,toastId:P,deleteToast:T,isIn:O,isLoading:S,closeOnClick:R,theme:F,ariaLabel:L}=e,U=(0,i.Z)("Toastify__toast","Toastify__toast-theme--".concat(F),"Toastify__toast--".concat(h),{"Toastify__toast--rtl":B},{"Toastify__toast--close-on-click":R}),D=s(A)?A({rtl:B,position:v,type:h,defaultClassName:U}):(0,i.Z)(U,A),_=function(e){let{theme:t,type:n,isLoading:i,icon:o}=e,a=null,c={theme:t,type:n};return!1===o||(s(o)?a=o({...c,isLoading:i}):(0,r.isValidElement)(o)?a=(0,r.cloneElement)(o,c):i?a=N.spinner():M(n)&&(a=N[n](c))),a}(e),j=!!k||!d,q={closeToast:g,type:h,theme:F},z=null;return!1===u||(z=s(u)?u(q):(0,r.isValidElement)(u)?(0,r.cloneElement)(u,q):function(e){let{closeToast:t,theme:n,ariaLabel:i="close"}=e;return r.createElement("button",{className:"Toastify__close-button Toastify__close-button--".concat(n),type:"button",onClick:e=>{e.stopPropagation(),t(!0)},"aria-label":i},r.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},r.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(q)),r.createElement(w,{isIn:O,done:T,position:v,preventExitTransition:n,nodeRef:o,playToast:c},r.createElement("div",{id:P,tabIndex:0,onClick:f,"data-in":O,className:D,...a,style:x,ref:o,...O&&{role:I,"aria-label":L}},null!=_&&r.createElement("div",{className:(0,i.Z)("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!S})},_),p(l,e,!t),z,!e.customProgressBar&&r.createElement(m,{...C&&!j?{key:"p-".concat(C)}:{},rtl:B,theme:F,delay:d,isRunning:t,isIn:O,closeToast:g,hide:y,type:h,className:E,controlledProgress:j,progress:k||0})))},L=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{enter:"Toastify--animate Toastify__".concat(e,"-enter"),exit:"Toastify--animate Toastify__".concat(e,"-exit"),appendPosition:t}},U=f(L("bounce",!0));f(L("slide",!0)),f(L("zoom")),f(L("flip"));var D={position:"top-right",transition:U,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:e=>e.altKey&&"KeyT"===e.code};function _(e){let t={...D,...e},n=e.stacked,[a,c]=(0,r.useState)(!0),f=(0,r.useRef)(null),{getToastToRender:p,isToastActive:m,count:y}=function(e){var t;let n;let{subscribe:i,getSnapshot:a,setProps:s}=(0,r.useRef)((n=e.containerId||1,{subscribe(t){let r,i,a,s,c,f,p,m,y,g,v,x;let E=(r=1,i=0,a=[],s=[],c=e,f=new Map,p=new Set,m=()=>{s=Array.from(f.values()),p.forEach(e=>e())},y=e=>{let{containerId:t,toastId:r,updateId:i}=e,o=f.has(r)&&null==i;return(t?t!==n:1!==n)||o},g=e=>{var t,n;null==(n=null==(t=e.props)?void 0:t.onClose)||n.call(t,e.removalReason),e.isActive=!1},v=e=>{if(null==e)f.forEach(g);else{let t=f.get(e);t&&g(t)}m()},x=e=>{var t,n;let{toastId:r,updateId:i}=e.props,o=null==i;e.staleId&&f.delete(e.staleId),e.isActive=!0,f.set(r,e),m(),A(h(e,o?"added":"updated")),o&&(null==(n=(t=e.props).onOpen)||n.call(t))},{id:n,props:c,observe:e=>(p.add(e),()=>p.delete(e)),toggle:(e,t)=>
32{f.forEach(n=>{var r;(null==t||t===n.props.toastId)&&(null==(r=n.toggle)||r.call(n,e))})},removeToast:v,toasts:f,clearQueue:()=>{i-=a.length,a=[]},buildToast:(e,t)=>{if(y(t))return;let{toastId:n,updateId:s,data:p,staleId:g,delay:b}=t,w=null==s;w&&i++;let E={...c,style:c.toastStyle,key:r++,...Object.fromEntries(Object.entries(t).filter(e=>{let[t,n]=e;return null!=n})),toastId:n,updateId:s,data:p,isIn:!1,className:u(t.className||c.toastClassName),progressClassName:u(t.progressClassName||c.progressClassName),autoClose:!t.isLoading&&l(t.autoClose,c.autoClose),closeToast(e){f.get(n).removalReason=e,v(n)},deleteToast(){let e=f.get(n);if(null!=e){if(A(h(e,"removed")),f.delete(n),--i<0&&(i=0),a.length>0){x(a.shift());return}m()}}};E.closeButton=c.closeButton,!1===t.closeButton||d(t.closeButton)?E.closeButton=t.closeButton:!0===t.closeButton&&(E.closeButton=!d(c.closeButton)||c.closeButton);let C={content:e,props:E,staleId:g};c.limit&&c.limit>0&&i>c.limit&&w?a.push(C):o(b)?setTimeout(()=>{x(C)},b):x(C)},setProps(e){c=e},setToggle:(e,t)=>{let n=f.get(e);n&&(n.toggle=t)},isToastActive:e=>{var t;return null==(t=f.get(e))?void 0:t.isActive},getSnapshot:()=>s});b.set(n,E);let C=E.observe(t);return w.forEach(e=>I(e.content,e.options)),w=[],()=>{C(),b.delete(n)}},setProps(e){var t;null==(t=b.get(n))||t.setProps(e)},getSnapshot(){var e;return null==(e=b.get(n))?void 0:e.getSnapshot()}})).current;s(e);let c=null==(t=(0,r.useSyncExternalStore)(i,a,a))?void 0:t.slice();return{getToastToRender:function(t){if(!c)return[];let n=new Map;return e.newestOnTop&&c.reverse(),c.forEach(e=>{let{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)}),Array.from(n,e=>t(e[0],e[1]))},isToastActive:C,count:null==c?void 0:c.length}}(t),{className:g,style:v,rtl:x,containerId:E,hotKeys:k}=t;function B(){n&&(c(!0),O.play())}return S(()=>{var e;if(n){let n=f.current.querySelectorAll('[data-in="true"]'),r=null==(e=t.position)?void 0:e.includes("top"),i=0,o=0;Array.from(n).reverse().forEach((e,t)=>{e.classList.add("Toastify__toast--stacked"),t>0&&(e.dataset.collapsed="".concat(a)),e.dataset.pos||(e.dataset.pos=r?"top":"bot");let n=i*(a?.2:1)+(a?0:12*t);e.style.setProperty("--y","".concat(r?n:-1*n,"px")),e.style.setProperty("--g","".concat(12)),e.style.setProperty("--s","".concat(1-(a?o:0))),i+=e.offsetHeight,o+=.025})}},[a,y,n]),(0,r.useEffect)(()=>{function e(e){var t;let n=f.current;k(e)&&(null==(t=n.querySelector('[tabIndex="0"]'))||t.focus(),c(!1),O.pause()),"Escape"===e.key&&(document.activeElement===n||null!=n&&n.contains(document.activeElement))&&(c(!0),O.play())}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[k]),r.createElement("section",{ref:f,className:"Toastify",id:E,onMouseEnter:()=>{n&&(c(!1),O.pause())},onMouseLeave:B,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":t["aria-label"]},p((e,t)=>{let o,a=t.length?{...v}:{...v,pointerEvents:"none"};return r.createElement("div",{tabIndex:-1,className:(o=(0,i.Z)("Toastify__toast-container","Toastify__toast-container--".concat(e),{"Toastify__toast-container--rtl":x}),s(g)?g({position:e,rtl:x,defaultClassName:o}):(0,i.Z)(o,u(g))),"data-stacked":n,style:a,key:"c-".concat(e)},t.map(e=>{let{content:t,props:i}=e;return r.createElement(F,{...i,stacked:n,collapseAll:B,isIn:m(i.toastId,i.containerId),key:"t-".concat(i.key)},t)}))}))}},69703:function(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:function(){return M},__assign:function(){return o},__asyncDelegator:function(){return I},__asyncGenerator:function(){return C},__asyncValues:function(){return k},__await:function(){return E},__awaiter:function(){return p},__classPrivateFieldGet:function(){return S},__classPrivateFieldIn:function(){return N},__classPrivateFieldSet:function(){return R},__createBinding:function(){return y},__decorate:function(){return s},__disposeResources:function(){return L},__esDecorate:function(){return u},__exportStar:function(){return g},__extends:function(){return i},__generator:function(){return m},__importDefault:function(){return O},__importStar:function(){return T}
32,__makeTemplateObject:function(){return B},__metadata:function(){return h},__param:function(){return c},__propKey:function(){return d},__read:function(){return w},__rest:function(){return a},__runInitializers:function(){return l},__setFunctionName:function(){return f},__spread:function(){return v},__spreadArray:function(){return x},__spreadArrays:function(){return A},__values:function(){return b}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function c(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,d=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),f=!1,h=n.length-1;h>=0;h--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var y=(0,n[h])("accessor"===c?{get:d.get,set:d.set}:d[u],p);if("accessor"===c){if(void 0===y)continue;if(null===y||"object"!=typeof y)throw TypeError("Object expected");(s=a(y.get))&&(d.get=s),(s=a(y.set))&&(d.set=s),(s=a(y.init))&&i.unshift(s)}else(s=a(y))&&("field"===c?i.unshift(s):d[u]=s)}l&&Object.defineProperty(l,r.name,d),f=!0}function l(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})}function m(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var y=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
vendor: 4,131 bytes, line 32
32(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function g(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||y(t,e,n)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function w(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(w(arguments[t]));return e}function A(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function x(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function E(e){return this instanceof E?(this.v=e,this):new E(e)}function C(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(e,t){i[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||s(e,t)})},t&&(r[e]=t(r[e])))}function s(e,t){try{var n;(n=i[e](t)).value instanceof E?Promise.resolve(n.value.v).then(c,u):l(o[0][2],n)}catch(e){l(o[0][3],e)}}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function I(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:E(e[r](t)),done:!1}:i?i(t):t}:i}}function k(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,i,(t=e[n](t)).done,t.value)})}}}function B(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var P=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function T(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&y(t,e,n);return P(t,e),t}function O(e){return e&&e.__esModule?e:{default:e}}function S(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function R(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function N(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function M(e,t,n){if(null!=t){var r,i;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");
32if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var F="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function L(e){function t(t){e.error=e.hasError?new F(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function i(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,function(e){return t(e),i()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}t.default={__extends:i,__assign:o,__rest:a,__decorate:s,__param:c,__metadata:h,__awaiter:p,__generator:m,__createBinding:y,__exportStar:g,__values:b,__read:w,__spread:v,__spreadArrays:A,__spreadArray:x,__await:E,__asyncGenerator:C,__asyncDelegator:I,__asyncValues:k,__makeTemplateOb
32ject:B,__importStar:T,__importDefault:O,__classPrivateFieldGet:S,__classPrivateFieldSet:R,__classPrivateFieldIn:N,__addDisposableResource:M,__disposeResources:L}},79561:function(e,t,n){"use strict";function r(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}n.d(t,{T:function(){return r}})},49134:function(e,t,n){"use strict";n.d(t,{r:function(){return C}});var r=n(96130),i=n(51273);class o extends i.G{constructor({data:e}){super("Unable to extract image from metadata. The metadata may be malformed or invalid.",{metaMessages:["- Metadata must be a JSON object with at least an `image`, `image_url` or `image_data` property.","",`Provided data: ${JSON.stringify(e)}`],name:"EnsAvatarInvalidMetadataError"})}}class a extends i.G{constructor({reason:e}){super(`ENS NFT avatar URI is invalid. ${e}`,{name:"EnsAvatarInvalidNftUriError"})}}class s extends i.G{constructor({uri:e}){super(`Unable to resolve ENS avatar URI "${e}". The URI may be malformed, invalid, or does not respond with a valid image.`,{name:"EnsAvatarUriResolutionError"})}}class c extends i.G{constructor({namespace:e}){super(`ENS NFT avatar namespace "${e}" is not supported. Must be "erc721" or "erc1155".`,{name:"EnsAvatarUnsupportedNamespaceError"})}}let u=/(?<protocol>https?:\/\/[^\/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/,l=/^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?<target>[\w\-.]+))?(?<subtarget>\/.*)?$/,d=/^data:([a-zA-Z\-/+]*);base64,([^"].*)/,f=/^data:([a-zA-Z\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;async function h(e){try{let t=await fetch(e,{method:"HEAD"});if(200===t.status){let e=t.headers.get("content-type");return e?.startsWith("image/")}return!1}catch(t){if("object"==typeof t&&void 0!==t.response||!globalThis.hasOwnProperty("Image"))return!1;return new Promise(t=>{let n=new Image;n.onload=()=>{t(!0)},n.onerror=()=>{t(!1)},n.src=e})}}function p(e,t){return e?e.endsWith("/")?e.slice(0,-1):e:t}function m({uri:e,gatewayUrls:t}){let n=d.test(e);if(n)return{uri:e,isOnChain:!0,isEncoded:n};let r=p(t?.ipfs,"https://ipfs.io"),i=p(t?.arweave,"https://arweave.net"),o=e.match(u),{protocol:a,subpath:c,target:h,subtarget:m=""}=o?.groups||{},y="ipns:/"===a||"ipns/"===c,g="ipfs:/"===a||"ipfs/"===c||l.test(e);
vendor: 3,199 bytes, line 32
32if(e.startsWith("http")&&!y&&!g){let n=e;return t?.arweave&&(n=e.replace(/https:\/\/arweave.net/g,t?.arweave)),{uri:n,isOnChain:!1,isEncoded:!1}}if((y||g)&&h)return{uri:`${r}/${y?"ipns":"ipfs"}/${h}${m}`,isOnChain:!1,isEncoded:!1};if("ar:/"===a&&h)return{uri:`${i}/${h}${m||""}`,isOnChain:!1,isEncoded:!1};let b=e.replace(f,"");if(b.startsWith("<svg")&&(b=`data:image/svg+xml;base64,${btoa(b)}`),b.startsWith("data:")||b.startsWith("{"))return{uri:b,isOnChain:!0,isEncoded:!1};throw new s({uri:e})}function y(e){if("object"!=typeof e||!("image"in e)&&!("image_url"in e)&&!("image_data"in e))throw new o({data:e});return e.image||e.image_url||e.image_data}async function g({gatewayUrls:e,uri:t}){try{let n=await fetch(t).then(e=>e.json());return await b({gatewayUrls:e,uri:y(n)})}catch{throw new s({uri:t})}}async function b({gatewayUrls:e,uri:t}){let{uri:n,isOnChain:r}=m({uri:t,gatewayUrls:e});if(r||await h(n))return n;throw new s({uri:t})}async function w(e,{nft:t}){if("erc721"===t.namespace)return(0,r.L)(e,{address:t.contractAddress,abi:[{name:"tokenURI",type:"function",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"tokenURI",args:[BigInt(t.tokenID)]});if("erc1155"===t.namespace)return(0,r.L)(e,{address:t.contractAddress,abi:[{name:"uri",type:"function",stateMutability:"view",inputs:[{name:"_id",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"uri",args:[BigInt(t.tokenID)]});throw new c({namespace:t.namespace})}async function v(e,{gatewayUrls:t,record:n}){return/eip155:/i.test(n)?A(e,{gatewayUrls:t,record:n}):b({uri:n,gatewayUrls:t})}async function A(e,{gatewayUrls:t,record:n}){let r=function(e){let t=e;t.startsWith("did:nft:")&&(t=t.replace("did:nft:","").replace(/_/g,"/"));let[n,r,i]=t.split("/"),[o,s]=n.split(":"),[c,u]=r.split(":");if(!o||"eip155"!==o.toLowerCase())throw new a({reason:"Only EIP-155 supported"});if(!s)throw new a({reason:"Chain ID not found"});if(!u)throw new a({reason:"Contract address not found"});if(!i)throw new a({reason:"Token ID not found"});if(!c)throw new a({reason:"ERC namespace not found"});return{chainID:Number.parseInt(s),namespace:c.toLowerCase(),contractAddress:u,tokenID:i}}(n),{uri:i,isOnChain:o,isEncoded:s}=m({uri:await w(e,{nft:r}),gatewayUrls:t});if(o&&(i.includes("data:application/json;base64,")||i.startsWith("{")))return b({uri:y(JSON.parse(s?atob(i.replace("data:application/json;base64,","")):i)),gatewayUrls:t});let c=r.tokenID;return"erc1155"===r.namespace&&(c=c.replace("0x","").padStart(64,"0")),g({gatewayUrls:t,uri:i.replace(/(?:0x)?{id}/,c)})}var x=n(31935),E=n(84825);async function C(e,{blockNumber:t,blockTag:n,assetGatewayUrls:r,name:i,gatewayUrls:o,strict:a,universalResolverAddress:s}){let c=await (0,x.s)(e,E.g,"getEnsText")({blockNumber:t,blockTag:n,key:"avatar",name:i,universalResolverAddress:s,gatewayUrls:o,strict:a});if(!c)return null;try{return await v(e,{record:c,gatewayUrls:r})}catch{return null}}},9577:function(e,t,n){"use strict";n.d(t,{w:function(){return l}});var r=n(10035),i=n(73621),o=n(15578),a=n(96316),s=n(24761),c=n(31935),u=n(96130);async function l(e,{address:t,blockNumber:n,blockTag:l,gatewayUrls:d,str
32ict:f,universalResolverAddress:h}){let p=h;if(!p){if(!e.chain)throw Error("client chain not configured. universalResolverAddress is required.");p=(0,i.L)({blockNumber:n,chain:e.chain,contract:"ensUniversalResolver"})}let m=`${t.toLowerCase().substring(2)}.addr.reverse`;try{let i={address:p,abi:r.du,functionName:"reverse",args:[(0,o.NC)((0,s.T)(m))],blockNumber:n,blockTag:l},a=(0,c.s)(e,u.L,"readContract"),[f,h]=d?await a({...i,args:[...i.args,d]}):await a(i);if(t.toLowerCase()!==h.toLowerCase())return null;return f}catch(e){if(f)throw e;if((0,a.c)(e,"reverse"))return null;throw e}}},84825:function(e,t,n){"use strict";n.d(t,{g:function(){return h}});var r=n(10035),i=n(27470),o=n(87210),a=n(73621),s=n(15578),c=n(96316),u=n(8291),l=n(24761),d=n(31935),f=n(96130);async function h(e,t){let{blockNumber:n,blockTag:h,key:p,name:m,gatewayUrls:y,strict:g}=t,{chain:b}=e,w=(()=>{if(t.universalResolverAddress)return t.universalResolverAddress;if(!b)throw Error("client chain not configured. universalResolverAddress is required.");return(0,a.L)({blockNumber:n,chain:b,contract:"ensUniversalResolver"})})(),v=b?.ensTlds;if(v&&!v.some(e=>m.endsWith(e)))return null;try{let t={address:w,abi:r.k3,functionName:"resolve",args:[(0,s.NC)((0,l.T)(m)),(0,o.R)({abi:r.nZ,functionName:"text",args:[(0,u.V)(m),p]})],blockNumber:n,blockTag:h},a=(0,d.s)(e,f.L,"readContract"),c=y?await a({...t,args:[...t.args,y]}):await a(t);if("0x"===c[0])return null;let g=(0,i.k)({abi:r.nZ,functionName:"text",data:c[0]});return""===g?null:g}catch(e){if(g)throw e;if((0,c.c)(e,"resolve"))return null;throw e}}},31393:function(e,t,n){"use strict";n.d(t,{R:function(){return C}});var r=n(73805),i=n(66394),o=n(16479);function a(e){let t=(0,i.D)(e),n=[],a=e.length;for(let i=0;i<a;i++){let a=e[i];(0,r.N0)(a)||n.push((0,o.cK)(a,t))}return n}var s=n(79561),c=n(10035),u=n(38432),l=n(51273),d=n(55774),f=n(47115),h=n(27470),p=n(84379),m=n(87210),y=n(73621),g=n(15578),b=n(21250),w=n(67306),v=n(20662),A=n(5493),x=n(86403),E=n(15337);async function C(e,t){let{account:r=e.account,batch:i=!!e.batch?.multicall,blockNumber:o,blockTag:c="latest",accessList:h,blobs:m,code:y,data:A,factory:C,factoryData:k,gas:B,gasPrice:P,maxFeePerBlobGas:T,maxFeePerGas:O,maxPriorityFeePerGas:S,nonce:R,to:N,value:M,stateOverride:F,...L}=t,U=r?(0,s.T)(r):void 0;if(y&&(C||k))throw new l.G("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(y&&N)throw new l.G("Cannot provide both `code` & `to` as parameters.");let D=y&&A,_=C&&k&&N&&A,j=D||_,q=D?function(e){let{code:t,data:n}=e;return(0,p.w)({abi:a(["constructor(bytes, bytes)"]),bytecode:u.NO,args:[t,n]})}({code:y,data:A}):_?function(e){let{data:t,factory:n,factoryData:r,to:i}=e;return(0,p.w)({abi:a(["constructor(address, bytes, address, bytes)"]),bytecode:u.pG,args:[i,t,n,r]})}({data:A,factory:C,factoryData:k,to:N}):A;try{(0,E.F)(t);let n=(o?(0,g.eC)(o):void 0)||c,r=(0,x.mF)(F),a=e.chain?.formatters?.transactionRequest?.format,s=(a||v.tG)({...(0,w.K)(L,{format:a}),from:U?.address,accessList:h,blobs:m,data:q,gas:B,gasPrice:P,maxFeePerBlobGas:T,maxFeePerGas:O,maxPriorityFeePerGas:S,nonce:R,to:j?void 0:N,value:M});if(i&&function({request:e}){let{data:t,to:n,...r}=e;return!(!t||t.startsWith("0x82ad56cb"))&&!!n&&!(Object.values(r).filter(e=>void 0!==e).length>0)}({request:s})&&!r)try{return await I(e,{...s,blockNumber:o,blockTag:c})}catch(e){if(!(e instanceof d.pZ)&&!(e instanceof d.mm))throw e}let u=await e.request({method:"eth_call",params:r?[s,n,r]:[s,n]});if("0x"===u)return{data:void 0};return{data:u}}catch(a){let r=function(e){if(!(e instanceof l.G))return;let t=e.walk();return"object"==typeof t?.data?t.data?.data:t.data}(a),{offchainLookup:i,offchainLookupSignature:o}=await n.e(6580).then(n.bind(n,76580));if(!1!==e.ccipRead&&r?.slice(0,10)===o&&N)return{data:await i(e,{data:r,to:N})};if(j&&r?.slice(0,10)==="0x101bb98d")throw new f.Mo({factory:C});throw(0,b.P)(a,{...t,account:U,chain:e.chain})}}async function I(e,t){let{batchSize:n=1024,wait:r=0}="object"==typeof e.batch?.multicall?e.batch.multicall:{},{blockNumber:i,blockTag:o="latest",data:a,multicallAddress:s,to:u}=t,l=s;if(!l){if(!e.chain)throw new d.pZ;l=(0,y.L)({blockNumber:i,chain:e.chain,contract:"multicall3"})}let p=(i?(0,g.eC)(i):void 0)||o,{schedule:b}=(0,A.S)({id:`${e.uid}.${p}`,wait:r,shouldSplitBatch:e=>e.reduce((e,{data:t})=>e+(t.length-2),0)>2*n,fn:async t=>{let n=t.map(e=>
32({allowFailure:!0,callData:e.data,target:e.to})),r=(0,m.R)({abi:c.F8,args:[n],functionName:"aggregate3"}),i=await e.request({method:"eth_call",params:[{data:r,to:l},p]});return(0,h.k)({abi:c.F8,args:[n],functionName:"aggregate3",data:i||"0x"})}}),[{returnData:w,success:v}]=await b({data:a,to:u});if(!v)throw new f.VQ({data:w});return"0x"===w?{data:void 0}:{data:w}}},64269:function(e,t,n){"use strict";n.d(t,{C:function(){return u},X:function(){return c}});var r=n(78862),i=n(31935),o=n(80330),a=n(4781),s=n(52530);async function c(e,t){return u(e,t)}async function u(e,t){let{block:n,chain:c=e.chain,request:u,type:l="eip1559"}=t||{},d=await (async()=>"function"==typeof c?.fees?.baseFeeMultiplier?c.fees.baseFeeMultiplier({block:n,client:e,request:u}):c?.fees?.baseFeeMultiplier??1.2)();if(d<1)throw new r.Fz;let f=10**(d.toString().split(".")[1]?.length??0),h=e=>e*BigInt(Math.ceil(d*f))/BigInt(f),p=n||await (0,i.s)(e,a.Q,"getBlock")({});if("function"==typeof c?.fees?.estimateFeesPerGas){let t=await c.fees.estimateFeesPerGas({block:n,client:e,multiply:h,request:u,type:l});if(null!==t)return t}if("eip1559"===l){if("bigint"!=typeof p.baseFeePerGas)throw new r.e5;let t="bigint"==typeof u?.maxPriorityFeePerGas?u.maxPriorityFeePerGas:await (0,o.h)(e,{block:p,chain:c,request:u}),n=h(p.baseFeePerGas);return{maxFeePerGas:u?.maxFeePerGas??n+t,maxPriorityFeePerGas:t}}return{gasPrice:u?.gasPrice??h(await (0,i.s)(e,s.o,"getGasPrice")({}))}}},24581:function(e,t,n){"use strict";n.d(t,{Q:function(){return w}});var r=n(79561),i=n(51273),o=n(22302),a=n(15578),s=n(52926),c=n(98206),u=n(10289);class l extends i.G{constructor(e,{account:t,docsPath:n,chain:r,data:i,gas:o,gasPrice:a,maxFeePerGas:l,maxPriorityFeePerGas:d,nonce:f,to:h,value:p}){super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Estimate Gas Arguments:",(0,u.xr)({from:t?.address,to:h,value:void 0!==p&&`${(0,s.d)(p)}
32 ${r?.nativeCurrency?.symbol||"ETH"}`,data:i,gas:o,gasPrice:void 0!==a&&`${(0,c.o)(a)} gwei`,maxFeePerGas:void 0!==l&&`${(0,c.o)(l)} gwei`,maxPriorityFeePerGas:void 0!==d&&`${(0,c.o)(d)} gwei`,nonce:f})].filter(Boolean),name:"EstimateGasExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}var d=n(26463),f=n(85069),h=n(67306),p=n(20662),m=n(86403),y=n(15337),g=n(39635),b=n(82756);async function w(e,t){let{account:n=e.account}=t,s=n?(0,r.T)(n):void 0;try{let{accessList:n,authorizationList:r,blobs:u,blobVersionedHashes:l,blockNumber:d,blockTag:f,data:w,gas:v,gasPrice:A,maxFeePerBlobGas:x,maxFeePerGas:E,maxPriorityFeePerGas:C,nonce:I,value:k,stateOverride:B,...P}=await (0,g.ZE)(e,{...t,parameters:s?.type==="local"?void 0:["blobVersionedHashes"]}),T=(d?(0,a.eC)(d):void 0)||f,O=(0,m.mF)(B),S=await (async()=>P.to?P.to:r&&r.length>0?await (0,o.z)({authorization:r[0]}).catch(()=>{throw new i.G("`to` is required. Could not infer from `authorizationList`")}):void 0)();(0,y.F)(t);let R=e.chain?.formatters?.transactionRequest?.format,N=(R||p.tG)({...(0,h.K)(P,{format:R}),from:s?.address,accessList:n,authorizationList:r,blobs:u,blobVersionedHashes:l,data:w,gas:v,gasPrice:A,maxFeePerBlobGas:x,maxFeePerGas:E,maxPriorityFeePerGas:C,nonce:I,to:S,value:k});function c(t){let{block:n,request:r,rpcStateOverride:i}=t;return e.request({method:"eth_estimateGas",params:i?[r,n??"latest",i]:n?[r,n]:[r]})}let M=BigInt(await c({block:T,request:N,rpcStateOverride:O}));if(r){let t=await (0,b.s)(e,{address:N.from}),n=await Promise.all(r.map(async e=>{let{address:n}=e,r=await c({block:T,request:{authorizationList:void 0,data:w,from:s?.address,to:n,value:(0,a.eC)(t)},rpcStateOverride:O}).catch(()=>100000n);return 2n*BigInt(r)}));M+=n.reduce((e,t)=>e+t,0n)}return M}catch(n){throw function(e,{docsPath:t,...n}){return new l((()=>{let t=(0,f.k)(e,n);return t instanceof d.cj?e:t})(),{docsPath:t,...n})}(n,{...t,account:s,chain:e.chain})}}},80330:function(e,t,n){"use strict";n.d(t,{_:function(){return c},h:function(){return u}});var r=n(78862),i=n(55936),o=n(31935),a=n(4781),s=n(52530);async function c(e,t){return u(e,t)}async function u(e,t){let{block:n,chain:c=e.chain,request:u}=t||{};try{let t=c?.fees?.maxPriorityFeePerGas??c?.fees?.defaultPriorityFee;if("function"==typeof t){let r=n||await (0,o.s)(e,a.Q,"getBlock")({}),i=await t({block:r,client:e,request:u});if(null===i)throw Error();return i}if(void 0!==t)return t;let r=await e.request({method:"eth_maxPriorityFeePerGas"});return(0,i.y_)(r)}catch{let[t,i]=await Promise.all([n?Promise.resolve(n):(0,o.s)(e,a.Q,"getBlock")({}),(0,o.s)(e,s.o,"getGasPrice")({})]);if("bigint"!=typeof t.baseFeePerGas)throw new r.e5;let c=i-t.baseFeePerGas;if(c<0n)return 0n;return c}}},82756:function(e,t,n){"use strict";n.d(t,{s:function(){return i}});var r=n(15578);async function i(e,{address:t,blockNumber:n,blockTag:i="latest"}){let o=n?(0,r.eC)(n):void 0;return BigInt(await e.request({method:"eth_getBalance",params:[t,o||i]}))}},4781:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});var r=n(30410),i=n(15578),o=n(44324);async function a(e,{blockHash:t,blockNumber:n,blockTag:a,includeTransactions:s}={}){let c=s??!1,u=void 0!==n?(0,i.eC)(n):void 0,l=null;if(!(l=t?await e.request({method:"eth_getBlockByHash",params:[t,c]},{dedupe:!0}):await e.request({method:"eth_getBlockByNumber",params:[u||(a??"latest"),c]},{dedupe:!!u})))throw new r.f({blockHash:t,blockNumber:n});return(e.chain?.formatters?.block?.format||o.Z)(l)}},86395:function(e,t,n){"use strict";n.d(t,{z:function(){return s}});let r=new Map,i=new Map;async function o(e,{cacheKey:t,cacheTime:n=Number.POSITIVE_INFINITY}){let o=function(e){let t=(e,t)=>({clear:()=>t.delete(e),get:()=>t.get(e),set:n=>t.set(e,n)}),n=t(e,r),o=t(e,i);return{clear:()=>{n.clear(),o.clear()},promise:n,response:o}}(t),a=o.response.get();if(a&&n>0&&new Date().getTime()-a.created.getTime()<n)return a.data;let s=o.promise.get();s||(s=e(),o.promise.set(s));try{let e=await s;return o.response.set({created:new Date,data:e}),e}finally{o.promise.clear()}}let a=e=>`blockNumber.${e}`;async function s(e,{cacheTime:t=e.cacheTime}={}){return BigInt(await o(()=>e.request({method:"eth_blockNumber"}),{cacheKey:a(e.uid),cacheTime:t}))}},23066:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(55936);async function i(e){let t=await e.request({method:"eth_chainId"},{dedupe:!0});return(0,r.ly)(t)}},52530:function(e,t,n){"use strict";async function r(e){return BigInt(await e.request({method:"eth_gasPrice"}))}n.d(t,{o:function(){return r}})},42624:function(e,t,n){"use strict";n.d(t,{f:function(){return a}});var r=n(10289),i=n(15578),o=n(56547);async function a(e,{blockHash:t,blockNumber:n,blockTag:a,hash:s,index:c}){let u=a||"latest",l=void 0!==n?(0,i.eC)(n):void 0,d=null;if(s?d=await e.request({method:"eth_getTransactionByHash",params:[s]},{dedupe:!0}):t?d=await e.request({method:"eth_getTransactionByBlockHashAndIndex",params:[t,(0,i.eC)(c)]},{dedupe:!0}):(l||u)&&(d=await e.request({method:"eth_getTransactionByBlockNumberAndIndex",params:[l||u,(0,i.eC)(c)]},{dedupe:!!l})),!d)throw new r.Bh({blockHash:t,blockNumber:n,blockTag:u,hash:s,index:c});return(e.chain?.formatters?.transaction?.format||o.Tr)(d)}},36930:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(55936),i=n(15578);async function o(e,{address:t,blockTag:n="latest",blockNumber:o}){let a=await e.request({method:"eth_getTransactionCount",params:[t,o?(0,i.eC)(o):n]},{dedupe:!!o});return(0,r.ly)(a)}},74374:function(e,t,n){"use strict";n.d(t,{a:function(){return o}});var r=n(10289),i=n(36227);async function o(e,{hash:t}){let n=await e.request({method:"eth_getTransactionReceipt",params:[t]},{dedupe:!0});if(!n)throw new r.Yb({hash:t});return(e.chain?.formatters?.transactionReceipt?.format||i.fA)(n)}},4481:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var r=n(10035),i=n(45581),o=n(51273),a=n(47115),s=n(27470),c=n(87210),u=n(73621),l=n(95094),d=n(31935),f=n(96130);async function h(e,t){let{allowFailure:n=!0,batchSize:h,blockNumber:p,blockTag:m,multicallAddress:y,stateOverride:g}=t,b=t.contracts,w=h??("object"==typeof e.batch?.multicall&&e.batch.multicall.batchSize||1024),v=y;if(!v){if(!e.chain)throw Error("client chain not configured. multicallAddress is required.");v=(0,u.L)({blockNumber:p,chain:e.chain,contract:"multicall3"})}let A=[[]],x=0,E=0;for(let e=0;e<b.length;e++){let{abi:t,address:r,args:i,functionName:o}=b[e];try{let e=(0,c.R)({abi:t,args:i,functionName:o});E+=(e.length-2)/2,w>0&&E>w&&A[x].length>
320&&(x++,E=(e.length-2)/2,A[x]=[]),A[x]=[...A[x],{allowFailure:!0,callData:e,target:r}]}catch(a){let e=(0,l.S)(a,{abi:t,address:r,args:i,docsPath:"/docs/contract/multicall",functionName:o});if(!n)throw e;A[x]=[...A[x],{allowFailure:!0,callData:"0x",target:r}]}}let C=await Promise.allSettled(A.map(t=>(0,d.s)(e,f.L,"readContract")({abi:r.F8,address:v,args:[t],blockNumber:p,blockTag:m,functionName:"aggregate3",stateOverride:g}))),I=[];for(let e=0;e<C.length;e++){let t=C[e];if("rejected"===t.status){if(!n)throw t.reason;for(let n=0;n<A[e].length;n++)I.push({status:"failure",error:t.reason,result:void 0});continue}let r=t.value;for(let t=0;t<r.length;t++){let{returnData:o,success:c}=r[t],{callData:u}=A[e][t],{abi:d,address:f,functionName:h,args:p}=b[I.length];try{if("0x"===u)throw new i.wb;if(!c)throw new a.VQ({data:o});let e=(0,s.k)({abi:d,args:p,data:o,functionName:h});I.push(n?{result:e,status:"success"}:e)}catch(t){let e=(0,l.S)(t,{abi:d,address:f,args:p,docsPath:"/docs/contract/multicall",functionName:h});if(!n)throw e;I.push({error:e,result:void 0,status:"failure"})}}}if(I.length!==b.length)throw new o.G("multicall results mismatch");return I}},96130:function(e,t,n){"use strict";n.d(t,{L:function(){return c}});var r=n(27470),i=n(87210),o=n(95094),a=n(31935),s=n(31393);async function c(e,t){let{abi:n,address:c,args:u,functionName:l,...d}=t,f=(0,i.R)({abi:n,args:u,functionName:l});try{let{data:t}=await (0,a.s)(e,s.R,"call")({...d,data:f,to:c});return(0,r.k)({abi:n,args:u,functionName:l,data:t||"0x"})}catch(e){throw(0,o.S)(e,{abi:n,address:c,args:u,docsPath:"/docs/contract/readContract",functionName:l})}}},40518:function(e,t,n){"use strict";n.d(t,{a:function(){return u}});var r=n(79561),i=n(27470),o=n(87210),a=n(95094),s=n(31935),c=n(31393);async function u(e,t){let{abi:n,address:u,args:l,dataSuffix:d,functionName:f,...h}=t,p=h.account?(0,r.T)(h.account):e.account,m=(0,o.R)({abi:n,args:l,functionName:f});try{let{data:r}=await (0,s.s)(e,c.R,"call")({batch:!1,data:`${m}${d?d.replace("0x",""):""}`,to:u,...h,account:p}),o=(0,i.k)({abi:n,args:l,functionName:f,data:r||"0x"}),a=n.filter(e=>"name"in e&&e.name===t.functionName);return{result:o,request:{abi:a,address:u,args:l,dataSuffix:d,functionName:f,...h,account:p}}}catch(e){throw(0,a.S)(e,{abi:n,address:u,args:l,docsPath:"/docs/contract/simulateContract",functionName:f,sender:p?.address})}}},70352:function(e,t,n){"use strict";n.d(t,{e:function(){return p}});var r=n(30410),i=n(10289),o=n(31935),a=n(85583),s=n(19212),c=n(42179),u=n(92791),l=n(4781),d=n(42624),f=n(74374),h=n(31462);async function p(e,{confirmations:t=1,hash:n,onReplaced:p,pollingInterval:m=e.pollingInterval,retryCount:y=6,retryDelay:g=({count:e})=>200*~~(1<<e),timeout:b=18e4}){let w,v,A;let x=(0,u.P)(["waitForTransactionReceipt",e.uid,n]),E=!1,{promise:C,resolve:I,reject:k}=(0,s.n)(),B=b?setTimeout(()=>k(new i.mc({hash:n})),b):void 0,P=(0,a.N7)(x,{onReplaced:p,resolve:I,reject:k},a=>{let s=(0,o.s)(e,h.q,"watchBlockNumber")({emitMissed:!0,emitOnBegin:!0,poll:!0,pollingInterval:m,async onBlockNumber(u){let h=e=>{clearTimeout(B),s(),e(),P()},p=u;if(!E)try{if(A){if(t>1&&(!A.blockNumber||p-A.blockNumber+1n<t))return;h(()=>a.resolve(A));return}if(w||(E=!0,await (0,c.J)(async()=>{(w=await (0,o.s)(e,d.f,"getTransaction")({hash:n})).blockNumber&&(p=w.blockNumber)},{delay:g,retryCount:y}),E=!1),A=await (0,o.s)(e,f.a,"getTransactionReceipt")({hash:n}),t>1&&(!A.blockNumber||p-A.blockNumber+1n<t))return;h(()=>a.resolve(A))}catch(n){if(n instanceof i.Bh||n instanceof i.Yb){if(!w){E=!1;return}try{v=w,E=!0;let n=await (0,c.J)(()=>(0,o.s)(e,l.Q,"getBlock")({blockNumber:p,includeTransactions:!0}),{delay:g,retryCount:y,shouldRetry:({error:e})=>e instanceof r.f});E=!1;let i=n.transactions.find(({from:e,nonce:t})=>e===v.from&&t===v.nonce);if(!i||(A=await (0,o.s)(e,f.a,"getTransactionReceipt")({hash:i.hash}),t>1&&(!A.blockNumber||p-A.blockNumber+1n<t)))return;let s="replaced";i.to===v.to&&i.value===v.value&&i.input===v.input?s="repriced":i.from===i.to&&0n===i.value&&(s="cancelled"),h(()=>{a.onReplaced?.({reason:s,replacedTransaction:v,transaction:i,transactionReceipt:A}),a.resolve(A)})}catch(e){h(()=>a.reject(e))}}else h(()=>a.reject(n))}}})});return C}},31462:function(e,t,n){"use strict";n.d(t,{q:function(){return u}});var r=n(55936),i=n(31935),o=n(85583),a=n(33e3),s=n(92791),c=n(86395);function u(e,{emitOnBegin:t=!1,emitMissed:n=!1,onBlockNumber:u,onError:l,poll:d,pollingInterval:f=e.pollingInterval}){let h;return(void 0!==d?d:"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].c
32onfig.type))?(()=>{let r=(0,s.P)(["watchBlockNumber",e.uid,t,n,f]);return(0,o.N7)(r,{onBlockNumber:u,onError:l},r=>(0,a.$)(async()=>{try{let t=await (0,i.s)(e,c.z,"getBlockNumber")({cacheTime:0});if(h){if(t===h)return;if(t-h>1&&n)for(let e=h+1n;e<t;e++)r.onBlockNumber(e,h),h=e}(!h||t>h)&&(r.onBlockNumber(t,h),h=t)}catch(e){r.onError?.(e)}},{emitOnBegin:t,interval:f}))})():(()=>{let i=(0,s.P)(["watchBlockNumber",e.uid,t,n]);return(0,o.N7)(i,{onBlockNumber:u,onError:l},t=>{let n=!0,i=()=>n=!1;return(async()=>{try{let o=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),{unsubscribe:a}=await o.subscribe({params:["newHeads"],onData(e){if(!n)return;let i=(0,r.y_)(e.result?.number);t.onBlockNumber(i,h),h=i},onError(e){t.onError?.(e)}});i=a,n||i()}catch(e){l?.(e)}})(),()=>i()})})()}},39635:function(e,t,n){"use strict";n.d(t,{QZ:function(){return g},ZE:function(){return w}});var r=n(79561),i=n(64269),o=n(24581),a=n(4781),s=n(36930),c=n(78862),u=n(77434),l=n(47987),d=n(17204),f=n(22816),h=n(31935),p=n(15337),m=n(66782),y=n(23066);let g=["blobVersionedHashes","chainId","fees","gas","nonce","type"],b=new Map;async function w(e,t){let n,w;let{account:v=e.account,blobs:A,chain:x,gas:E,kzg:C,nonce:I,nonceManager:k,parameters:B=g,type:P}=t,T=v?(0,r.T)(v):v,O={...t,...T?{from:T?.address}:{}};async function S(){return n||(n=await (0,h.s)(e,a.Q,"getBlock")({blockTag:"latest"}))}async function R(){return w||(x?x.id:void 0!==t.chainId?t.chainId:w=await (0,h.s)(e,y.L,"getChainId")({}))}if(B.includes("nonce")&&void 0===I&&T){if(k){let t=await R();O.nonce=await k.consume({address:T.address,chainId:t,client:e})}else O.nonce=await (0,h.s)(e,s.K,"getTransactionCount")({address:T.address,blockTag:"pending"})}if((B.includes("blobVersionedHashes")||B.includes("sidecars"))&&A&&C){let e=(0,u.P)({blobs:A,kzg:C});if(B.includes("blobVersionedHashes")){let t=(0,d.C)({commitments:e,to:"hex"});O.blobVersionedHashes=t}if(B.includes("sidecars")){let t=(0,l.y)({blobs:A,commitments:e,kzg:C}),n=(0,f.j)({blobs:A,commitments:e,proofs:t,to:"hex"});O.sidecars=n}}if(B.includes("chainId")&&(O.chainId=await R()),(B.includes("fees")||B.includes("type"))&&void 0===P)try{O.type=(0,m.l)(O)}catch{let t=b.get(e.uid);if(void 0===t){let n=await S();t="bigint"==typeof n?.baseFeePerGas,b.set(e.uid,t)}O.type=t?"eip1559":"legacy"}if(B.includes("fees")){if("legacy"!==O.type&&"eip2930"!==O.type){if(void 0===O.maxFeePerGas||void 0===O.maxPriorityFeePerGas){let n=await S(),{maxFeePerGas:r,maxPriorityFeePerGas:o}=await (0,i.C)(e,{block:n,chain:x,request:O});if(void 0===t.maxPriorityFeePerGas&&t.maxFeePerGas&&t.maxFeePerGas<o)throw new c.ld({maxPriorityFeePerGas:o});O.maxPriorityFeePerGas=o,O.maxFeePerGas=r}}else{if(void 0!==t.maxFeePerGas||void 0!==t.maxPriorityFeePerGas)throw new c.e5;if(void 0===t.gasPrice){let t=await S(),{gasPrice:n}=await (0,i.C)(e,{block:t,chain:x,request:O,type:"legacy"});O.gasPrice=n}}}return B.includes("gas")&&void 0===E&&(O.gas=await (0,h.s)(e,o.Q,"estimateGas")({...O,account:T?{address:T.address,type:"json-rpc"}:T})),(0,p.F)(O),delete O.parameters,O}},50165:function(e,t,n){"use strict";async function r(e,{serializedTransaction:t}){return e.request({method:"eth_sendRawTransaction",params:[t]},{retryCount:0})}n.d(t,{p:function(){return r}})},11925:function(e,t,n){"use strict";n.d(t,{y:function(){return r}});let r=(0,n(55597).a)({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}}})},34448:function(e,t,n){"use strict";n.d(t,{u:function(){return i}});var r=n(39902);let i=(0,n(55597).a)({...r.i,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:{...r.i.contracts,disputeGameFactory:{1:{address:"0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e"}},l2OutputOracle:{1:{address:"0x56315b90c40730925ec5485cf004d835058518A0"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:5022},portal:{1:{address:"0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",blockCreated:17482143}},l1StandardBridge:{1:{address:"0x3154Cf16ccdb4C6d922629664174b904d80F2C35",blockCreated:17482143}}},sourceId:1})},21254:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});let r=(0,n(55597).a)({id:1,name:"Ethereum",nativeCurrency:{name:"Ether",symbol
32:"ETH",decimals:18},rpcUrls:{default:{http:["https://eth.merkle.io"]}},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}}})},59690:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(39902);let i=(0,n(55597).a)({...r.i,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:{...r.i.contracts,disputeGameFactory:{1:{address:"0xe5965Ab5962eDc7477C8520243A95517CD252fA9"}},l2OutputOracle:{1:{address:"0xdfe97868233d1aa22e815a266982f2cf17685a27"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:4286263},portal:{1:{address:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"}},l1StandardBridge:{1:{address:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"}}},sourceId:1})},47729:function(e,t,n){"use strict";n.d(t,{y:function(){return r}});let r=(0,n(55597).a)({id:137,name:"Polygon",nativeCurrency:{name:"POL",symbol:"POL",decimals:18},rpcUrls:{default:{http:["https://polygon-rpc.com"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://polygonscan.com",apiUrl:"https://api.polygonscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:25770160}}})},59187:function(e,t,n){"use strict";n.d(t,{e:function(){return o}});var r=n(79561),i=n(92586);function o(e){let{batch:t,cacheTime:n=e.pollingInterval??4e3,ccipRead:o,key:a="base",name:s="Base Client",pollingInterval:c=4e3,type:u="base"}=e,l=e.chain,d=e.account?(0,r.T)(e.account):void 0,{config:f,request:h,value:p}=e.transport({chain:l,pollingInterval:c}),m={account:d,batch:t,cacheTime:n,ccipRead:o,chain:l,key:a,name:s,pollingInterval:c,request:h,transport:{...f,...p},type:u,uid:(0,i.h)()};return Object.assign(m,{extend:function e(t){return n=>{let r=n(t);for(let e in m)delete r[e];let i={...t,...r};return Object.assign(i,{extend:e(i)})}}(m)})}},92191:function(e,t,n){"use strict";n.d(t,{q:function(){return d}});var r=n(51273),i=n(37825),o=n(24473),a=n(15578);let s=new(n(20686)).k(8192);var c=n(42179),u=n(92791),l=n(92586);function d({key:e,methods:t,name:n,request:d,retryCount:f=3,retryDelay:h=150,timeout:p,type:m},y){return{config:{key:e,methods:t,name:n,request:d,retryCount:f,retryDelay:h,timeout:p,type:m},request:function(e,t={}){return async(n,l={})=>{let{dedupe:d=!1,methods:f,retryDelay:h=150,retryCount:p=3,uid:m}={...t,...l},{method:y}=n;if(f?.exclude?.includes(y)||f?.include&&!f.include.includes(y))throw new o.gS(Error("method not supported"),{method:y});let g=d?(0,a.$G)(`${m}.${(0,u.P)(n)}`):void 0;return function(e,{enabled:t=!0,id:n}){if(!t||!n)return e();if(s.get(n))return s.get(n);let r=e().finally(()=>s.delete(n));return s.set(n,r),r}(()=>(0,c.J)(async()=>{try{return await e(n)}catch(e){switch(e.code){case o.s7.code:throw new o.s7(e);case o.B.code:throw new o.B(e);case o.LX.code:throw new o.LX(e,{method:n.method});case o.nY.code:throw new o.nY(e);case o.XS.code:throw new o.XS(e);case o.yR.code:throw new o.yR(e);case o.Og.code:throw new o.Og(e);case o.pT.code:throw new o.pT(e);case o.KB.code:throw new o.KB(e);case o.gS.code:throw new o.gS(e,{method:n.method});case o.Pv.code:throw new o.Pv(e);case o.GD.code:throw new o.GD(e);case o.ab.code:throw new o.ab(e);case o.PE.code:throw new o.PE(e);case o.Ts.code:throw new o.Ts(e);case o.u5.code:throw new o.u5(e);case o.I0.code:throw new o.I0(e);case o.x3.code:throw new o.x3(e);case 5e3:throw new o.ab(e);default:if(e instanceof r.G)throw e;throw new o.ir(e)}}},{delay:({count:e,error:t})=>{if(t&&t instanceof i.Gg){let e=t?.headers?.get("Retry-After");if(e?.match(/\d/))return 1e3*Number.parseInt(e)}return~~(1<<e)*h},retryCount:p,shouldRetry:({error:e})=>"code"in e&&"number"==typeof e.code?-1===e.code||e.code===o.Pv.code||e.code===o.XS.code:!(e instanceof i.Gg)||!e.status||403===e.status||408===e.status||413===e.status||429===e.status||500===e.status||502===e.status||503===e.status||504===e.status}),{enabled:d,id:g})}}(d,{methods:t,retryCount:f,retryDelay:h,uid:(0,l.h)()}),value:y}}},945:function(e,t,n){"use strict";n.d(t,{d:function(){return d}});var r=n(37825),i=n(51273);class o extends i.G{constructor(){super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.",{docsPath:"/docs/clients/intro",name:"UrlRequiredError"})}}var a=n(5493),s=n(9416),c=n(92791);let u={current:0,take(){return this.current++},reset(){this.current=0}};var l=n(92191);function d(e,t={}){let{batch:n,fetchOptions:i,key:d="http",methods:f,name:h="HTTP JSON-RPC",onFetchRequest:p,onFetchResponse:m,retryDelay:y,raw:g}=t;return({chain:b,retryCount:w,timeout:v})=>{let{batchSize:A=1e3,wait:x=0}="object"==typeof n?n:{},E=t.retryCount??w,C=v??t.timeout??1e4,I=e||b?.rpcUrls.default.http[0];if(!I)throw new o;let k=function(e,t={}){return{async request(n){let{body:i,onRequest:o=t.onRequest,onResponse:a=t.onResponse,timeout:l=t.timeout??1e4}=n,d={...t.fetchOptions??{},...n.fetchOptions??{}},{headers:f,method:h,signal:p}=d;try{let t;let n=await (0,s.F)(async({signal:t})=>{let n={...d,body:Array.isArray(i)?(0,c.P)(i.map(e=>({jsonrpc:"2.0",id:e.id??u.take(),...e}))):(0,c.P)({jsonrpc:"2.0",id:i.id??u.take(),...i}),headers:{"Content-Type":"application/json",...f},method:h||"POST",signal:p||(l>0?t:null)}
vendor: 6,069 bytes, line 32
32,r=new Request(e,n),a=await o?.(r,n)??{...n,url:e};return await fetch(a.url??e,a)},{errorInstance:new r.W5({body:i,url:e}),timeout:l,signal:!0});if(a&&await a(n),n.headers.get("Content-Type")?.startsWith("application/json"))t=await n.json();else{t=await n.text();try{t=JSON.parse(t||"{}")}catch(e){if(n.ok)throw e;t={error:t}}}if(!n.ok)throw new r.Gg({body:i,details:(0,c.P)(t.error)||n.statusText,headers:n.headers,status:n.status,url:e});return t}catch(t){if(t instanceof r.Gg||t instanceof r.W5)throw t;throw new r.Gg({body:i,cause:t,url:e})}}}}(I,{fetchOptions:i,onRequest:p,onResponse:m,timeout:C});return(0,l.q)({key:d,methods:f,name:h,async request({method:e,params:t}){let i={method:e,params:t},{schedule:o}=(0,a.S)({id:I,wait:x,shouldSplitBatch:e=>e.length>A,fn:e=>k.request({body:e}),sort:(e,t)=>e.id-t.id}),s=async e=>n?o(e):[await k.request({body:e})],[{error:c,result:u}]=await s(i);if(g)return{error:c,result:u};if(c)throw new r.bs({body:i,error:c,url:I});return u},retryCount:E,retryDelay:y,timeout:C,type:"http"},{fetchOptions:i,url:I})}}},10035:function(e,t,n){"use strict";n.d(t,{$o:function(){return u},F8:function(){return r},Wo:function(){return l},X$:function(){return c},du:function(){return a},k3:function(){return o},nZ:function(){return s}});let r=[{inputs:[{components:[{name:"target",type:"address"},{name:"allowFailure",type:"bool"},{name:"callData",type:"bytes"}],name:"calls",type:"tuple[]"}],name:"aggregate3",outputs:[{components:[{name:"success",type:"bool"},{name:"returnData",type:"bytes"}],name:"returnData",type:"tuple[]"}],stateMutability:"view",type:"function"}],i=[{inputs:[],name:"ResolverNotFound",type:"error"},{inputs:[],name:"ResolverWildcardNotSupported",type:"error"},{inputs:[],name:"ResolverNotContract",type:"error"},{inputs:[{name:"returnData",type:"bytes"}],name:"ResolverError",type:"error"},{inputs:[{components:[{name:"status",type:"uint16"},{name:"message",type:"string"}],name:"errors",type:"tuple[]"}],name:"HttpError",type:"error"}],o=[...i,{name:"resolve",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]},{name:"resolve",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"},{name:"gateways",type:"string[]"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]}],a=[...i,{name:"reverse",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolvedAddress"},{type:"address",name:"reverseResolver"},{type:"address",name:"resolver"}]},{name:"reverse",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"},{type:"string[]",name:"gateways"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolvedAddress"},{type:"address",name:"reverseResolver"},{type:"address",name:"resolver"}]}],s=[{name:"text",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"key",type:"string"}],outputs:[{name:"",type:"string"}]}],c=[{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"}],outputs:[{name:"",type:"address"}]},{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"coinType",type:"uint256"}],outputs:[{name:"",type:"bytes"}]}],u=[{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],outputs:[{type:"bool"}],stateMutability:"nonpayable",type:"function",name:"isValidSig"}],l=[{type:"event",name:"Approval",inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"spender",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"event",name:"Transfer",inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"function",name:"allowance",stateMutability:"view",inputs:[{name:"owner",type:"address"},{name:"spender",type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"approve",stateMutability:"nonpayable",inputs:[{name:"spender",type:"address"},{name:"amount",type:"uint256"}],outputs:[{type:"bool"}]},{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{name:"account",type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"decimals",stateMutability:"view",inputs:[],outputs:[{type:"uint8"}]},{type:"function",name:"name",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{type:"function",name:"totalSupply",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{type:"function",name:"transfer",stateMutability:"nonpayable",inputs:[{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{type:"bool"}]},{type:"function",name:"transferFrom",stateMutability:"nonpayable",inputs:[{name:"sender",type:"address"},{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{type:"bool"}]}]},38432:function(e,t,n){"use strict";n.d(t,{NO:function(){return r},ST:function(){return o},pG:function(){return i}});let r="0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b
32602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe",i="0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe",o="0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848
32603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572"},17665:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});let r=1},92525:function(e,t,n){"use strict";n.d(t,{zL:function(){return r}});let r=2n**256n-1n},26390:function(e,t,n){"use strict";n.d(t,{$:function(){return r},Up:function(){return i},hZ:function(){return o}});let r={1:"An `assert` condition failed.",17:"Arithmetic operation resulted in underflow or overflow.",18:"Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).",33:"Attempted to convert to an invalid type.",34:"Attempted to access a storage byte array that is incorrectly encoded.",49:"Performed `.pop()` on an empty array",50:"Array index is out of bounds.",65:"Allocated too much memory or created an array which is too large.",81:"Attempted to call a zero-initialized variable of internal function type."},i={inputs:[{name:"message",type:"string"}],name:"Error",type:"error"},o={inputs:[{name:"reason",type:"uint256"}],name:"Panic",type:"error"}},4817:function(e,t,n){"use strict";n.d(t,{Bd:function(){return o},Zn:function(){return i},ez:function(){return r}});let r={gwei:9,wei:18},i={ether:-9,wei:9},o={ether:-18,gwei:-9}},45581:function(e,t,n){"use strict";n.d(t,{CI:function(){return C},FM:function(){return p},Gy:function(){return x},KY:function(){return v},M4:function(){return d},MX:function(){return b},S4:function(){return w},SM:function(){return A},cO:function(){return s},dh:function(){return E},fM:function(){return a},fs:function(){return f},gr:function(){return l},hn:function(){return I},lC:function(){return m},mv:function(){return y},wM:function(){return k},wb:function(){return u},xB:function(){return c},xL:function(){return g},yP:function(){return h}});var r=n(67705),i=n(95305),o=n(51273);class a extends o.G{constructor({docsPath:e}){super("A constructor was not found on the ABI.\nMake sure you are using the correct ABI and that the constructor exists on it.",{docsPath:e,name:"AbiConstructorNotFoundError"})}}class s extends o.G{constructor({docsPath:e}){super("Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.\nMake sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists.",{docsPath:e,name:"AbiConstructorParamsNotFoundError"})}}class c extends o.G{constructor({data:e,params:t,size:n}){super(`Data size of ${n} bytes is too small for given parameters.`,{metaMessages:[`Params: (${(0,r.h)(t,{includeName:!0})})`,`Data:   ${e} (${n} 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=e,this.params=t,this.size=n}}class u extends o.G{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.',{name:"AbiDecodingZeroDataError"})}}class l extends o.G{constructor({expectedLength:e,givenLength:t,type:n}){super(`ABI encoding array length mismatch for type ${n}.
33Expected length: ${e}
34Given length: ${t}`,{name:"AbiEncodingArrayLengthMismatchError"})}}class d extends o.G{constructor({expectedSize:e,value:t}){super(`Size of bytes "${t}" (bytes${(0,i.d)(t)}) does not match expected size (bytes${e}).`,{name:"AbiEncodingBytesSizeMismatchError"})}}class f extends o.G{constructor({expectedLength:e,givenLength:t}){super(`ABI encoding params/values length mismatch.
35Expected length (params): ${e}
36Given length (values): ${t}`,{name:"AbiEncodingLengthMismatchError"})}}class h extends o.G{constructor(e,{docsPath:t}){super(`Encoded error signature "${e}" not found on ABI.
37Make sure you are using the correct ABI and that the error exists on it.
38You can look up the decoded signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t,name:"AbiErrorSignatureNotFoundError"}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=e}}class p extends o.G{constructor({docsPath:e}){super("Cannot extract event signature from empty topics.",{docsPath:e,name:"AbiEventSignatureEmptyTopicsError"})}}class m extends o.G{constructor(e,{docsPath:t}){super(`Encoded event signature "${e}" not found on ABI.
39Make sure you are using the correct ABI and that the event exists on it.
40You can look up the signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t,name:"AbiEventSignatureNotFoundError"})}}class y extends o.G{constructor(e,{docsPath:t}={}){super(`Event ${e?`"${e}" `:""}not found on ABI.
41Make sure you are using the correct ABI and that the event exists on it.`,{docsPath:t,name:"AbiEventNotFoundError"})}}class g extends o.G{constructor(e,{docsPath:t}={}){super(`Function ${e?`"${e}" `:""}not found on ABI.
42Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionNotFoundError"})}}class b extends o.G{constructor(e,{docsPath:t}){super(`Function "${e}" does not contain any \`outputs\` on ABI.
43Cannot decode function result without knowing what the parameter types are.
44Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionOutputsNotFoundError"})}}class w extends o.G{constructor(e,t){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\`${e.type}\` in \`${(0,r.t)(e.abiItem)}\`, and`,`\`${t.type}\` in \`${(0,r.t)(t.abiItem)}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."],name:"AbiItemAmbiguityError"})}}class v extends o.G{constructor({expectedSize:e,givenSize:t}){super(`Expected bytes${e}, got bytes${t}.`,{name:"BytesSizeMismatchError"})}}class A extends o.G{constructor({abiItem:e,data:t,params:n,size:i}){super(`Data size of ${i} bytes is too small for non-indexed event parameters.`,{metaMessages:[`Params: (${(0,r.h)(n,{includeName:!0})})`,`Data:   ${t} (${i} bytes)`],name:"DecodeLogDataMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),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.abiItem=e,this.data=t,this.params=n,this.size=i}}class x extends o.G{constructor({abiItem:e,param:t}){super(`Expected a topic for indexed event parameter${t.name?` "${t.name}"`:""} on event "${(0,r.t)(e,{includeName:!0})}".`,{name:"DecodeLogTopicsMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e}}class E extends o.G{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid encoding type.
45Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiEncodingType"})}}class C extends o.G{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid decoding type.
46Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiDecodingType"})}}class I extends o.G{constructor(e){super(`Value "${e}" is not a valid array.`,{name:"InvalidArrayError"})}}class k extends o.G{constructor(e){super(`"${e}" is not a valid definition type.
47Valid types: "function", "event", "error"`,{name:"InvalidDefinitionTypeError"})}}},90444:function(e,t,n){"use strict";n.d(t,{Y:function(){return o},o:function(){return i}});var r=n(51273);class i extends r.G{constructor({docsPath:e}={}){super("Could not find an Account to execute with this Action.\nPlease provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client.",{docsPath:e,docsSlug:"account",name:"AccountNotFoundError"})}}class o extends r.G{constructor({docsPath:e,metaMessages:t,type:n}){super(`Account type "${n}" is not supported.`,{docsPath:e,metaMessages:t,name:"AccountTypeNotSupportedError"})}}},44898:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(51273);class i extends r.G{constructor({address:e}){super(`Address "${e}
47" is invalid.`,{metaMessages:["- Address must be a hex value of 20 bytes (40 hex characters).","- Address must match its checksum counterpart."],name:"InvalidAddressError"})}}},51273:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});let r="2.26.2",i={getDocsUrl:({docsBaseUrl:e,docsPath:t="",docsSlug:n})=>t?`${e??"https://viem.sh"}${t}${n?`#${n}`:""}`:void 0,version:`viem@${r}`};class o extends Error{constructor(e,t={}){let n=t.cause instanceof o?t.cause.details:t.cause?.message?t.cause.message:t.details,a=t.cause instanceof o&&t.cause.docsPath||t.docsPath,s=i.getDocsUrl?.({...t,docsPath:a});super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...s?[`Docs: ${s}`]:[],...n?[`Details: ${n}`]:[],...i.version?[`Version: ${i.version}`]:[]].join("\n"),t.cause?{cause:t.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=n,this.docsPath=a,this.metaMessages=t.metaMessages,this.name=t.name??this.name,this.shortMessage=e,this.version=r}walk(e){return function e(t,n){return n?.(t)?t:t&&"object"==typeof t&&"cause"in t&&void 0!==t.cause?e(t.cause,n):n?null:t}(this,e)}}},10421:function(e,t,n){"use strict";n.d(t,{RX:function(){return a},cJ:function(){return c},m7:function(){return o},xd:function(){return s}});var r=n(17665),i=n(51273);class o extends i.G{constructor({maxSize:e,size:t}){super("Blob size is too large.",{metaMessages:[`Max: ${e} bytes`,`Given: ${t} bytes`],name:"BlobSizeTooLargeError"})}}class a extends i.G{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class s extends i.G{constructor({hash:e,size:t}){super(`Versioned hash "${e}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${t}`],name:"InvalidVersionedHashSizeError"})}}class c extends i.G{constructor({hash:e,version:t}){super(`Versioned hash "${e}" version is invalid.`,{metaMessages:[`Expected: ${r.l}`,`Received: ${t}`],name:"InvalidVersionedHashVersionError"})}}},30410:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var r=n(51273);class i extends r.G{constructor({blockHash:e,blockNumber:t}){let n="Block";e&&(n=`Block at hash "${e}"`),t&&(n=`Block at number "${t}"`),super(`${n} could not be found.`,{name:"BlockNotFoundError"})}}},55774:function(e,t,n){"use strict";n.d(t,{Bk:function(){return a},Yl:function(){return o},hJ:function(){return c},mm:function(){return i},pZ:function(){return s}});var r=n(51273);class i extends r.G{constructor({blockNumber:e,chain:t,contract:n}){super(`Chain "${t.name}" does not support contract "${n.name}".`,{metaMessages:["This could be due to any of the following:",...e&&n.blockCreated&&n.blockCreated>e?[`- The contract "${n.name}" was not deployed until block ${n.blockCreated} (current block ${e}).`]:[`- The chain does not have the contract "${n.name}" configured.`]],name:"ChainDoesNotSupportContract"})}}class o extends r.G{constructor({chain:e,currentChainId:t}){super(`The current chain of the wallet (id: ${t}) does not match the target chain for the transaction (id: ${e.id} – ${e.name}).`,{metaMessages:[`Current Chain ID:  ${t}`,`Expected Chain ID: ${e.id} – ${e.name}`],name:"ChainMismatchError"})}}class a extends r.G{constructor(){super("No chain was provided to the request.\nPlease provide a chain with the `chain` argument on the Action, or by supplying a `chain` to WalletClient.",{name:"ChainNotFoundError"})}}class s extends r.G{constructor(){super("No chain was provided to the Client.",{name:"ClientChainNotConfiguredError"})}}class c extends r.G{constructor({chainId:e}){super("number"==typeof e?`Chain ID "${e}
47" is invalid.`:"Chain ID is invalid.",{name:"InvalidChainIdError"})}}},47115:function(e,t,n){"use strict";n.d(t,{cg:function(){return g},uq:function(){return b},Lu:function(){return w},Dk:function(){return v},Mo:function(){return A},VQ:function(){return x}});var r=n(79561),i=n(26390),o=n(68890),a=n(67705),s=n(92791);function c({abiItem:e,args:t,includeFunctionName:n=!0,includeName:r=!1}){if("name"in e&&"inputs"in e&&e.inputs)return`${n?e.name:""}(${e.inputs.map((e,n)=>`${r&&e.name?`${e.name}: `:""}${"object"==typeof t[n]?(0,s.P)(t[n]):t[n]}`).join(", ")})`}var u=n(52753),l=n(52926),d=n(98206),f=n(45581),h=n(51273),p=n(94655),m=n(10289),y=n(37307);class g extends h.G{constructor(e,{account:t,docsPath:n,chain:i,data:o,gas:a,gasPrice:s,maxFeePerGas:c,maxPriorityFeePerGas:u,nonce:f,to:h,value:y,stateOverride:g}){let b=t?(0,r.T)(t):void 0,w=(0,m.xr)({from:b?.address,to:h,value:void 0!==y&&`${(0,l.d)(y)} ${i?.nativeCurrency?.symbol||"ETH"}`,data:o,gas:a,gasPrice:void 0!==s&&`${(0,d.o)(s)} gwei`,maxFeePerGas:void 0!==c&&`${(0,d.o)(c)} gwei`,maxPriorityFeePerGas:void 0!==u&&`${(0,d.o)(u)} gwei`,nonce:f});g&&(w+=`
48${(0,p.Bj)(g)}`),super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Raw Call Arguments:",w].filter(Boolean),name:"CallExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class b extends h.G{constructor(e,{abi:t,args:n,contractAddress:r,docsPath:i,functionName:o,sender:s}){let l=(0,u.mE)({abi:t,args:n,name:o}),d=l?c({abiItem:l,args:n,includeFunctionName:!1,includeName:!1}):void 0,f=l?(0,a.t)(l,{includeName:!0}):void 0,h=(0,m.xr)({address:r&&(0,y.C)(r),function:f,args:d&&"()"!==d&&`${[...Array(o?.length??0).keys()].map(()=>" ").join("")}${d}`,sender:s});super(e.shortMessage||`An unknown error occurred while executing the contract function "${o}".`,{cause:e,docsPath:i,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],h&&"Contract Call:",h].filter(Boolean),name:"ContractFunctionExecutionError"}),Object.defineProperty(this,"abi",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"args",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"contractAddress",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"formattedArgs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"functionName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sender",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abi=t,this.args=n,this.cause=e,this.contractAddress=r,this.functionName=o,this.sender=s}}class w extends h.G{constructor({abi:e,data:t,functionName:n,message:r}){let s,u,l,d,h;if(t&&"0x"!==t)try{let{abiItem:n,errorName:r,args:s}=h=(0,o.p)({abi:e,data:t});if("Error"===r)l=s[0];else if("Panic"===r){let[e]=s;l=i.$[e]}else{let e=n?(0,a.t)(n,{includeName:!0}):void 0,t=n&&s?c({abiItem:n,args:s,includeFunctionName:!1,includeName:!1}):void 0;u=[e?`Error: ${e}`:"",t&&"()"!==t?`       ${[...Array(r?.length??0).keys()].map(()=>" ").join("")}${t}`:""]}}catch(e){s=e}else r&&(l=r);s instanceof f.yP&&(d=s.signature,u=[`Unable to decode signature "${d}" as it was not found on the provided 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=${d}.`]),super(l&&"execution reverted"!==l||d?[`The contract function "${n}" reverted with the following ${d?"signature":"reason"}:`,l||d].join("\n"):`The contract function "${n}" reverted.`,{cause:s,metaMessages:u,name:"ContractFunctionRevertedError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"raw",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"reason",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=h,this.raw=t,this.reason=l,this.signature=d}}class v extends h.G{constructor({functionName:e}){super(`The contract function "${e}" returned no data ("0x").`,{metaMessages:["This could be due to any of the following:",`  - The contract does not have the function "${e}",`,"  - The parameters passed to the contract function may be invalid, or","  - The address is not a contract."],name:"ContractFunctionZeroDataError"})}}class A extends h.G{constructor({factory:e}){super(`Deployment for counterfactual contract call failed${e?` for factory "${e}".`:""}`,{metaMessages:["Please ensure:","- The `factory` is a valid contract deployment factory (ie. Create2 Factory, ERC-4337 Factory, etc).","- The `factoryData` is a valid encoded function call for contract deployment function on the factory."],name:"CounterfactualDeploymentFailedError"})}}class x extends h.G{constructor({data:e,message:t}){super(t||"",{name:"RawContractError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=e}}},92155:function(e,t,n){"use strict";n.d(t,{KD:function(){return a},T_:function(){return i},lQ:function(){return o}});var r=n(51273);class i extends r.G{constructor({offset:e}){super(`Offset \`${e}\` cannot be negative.`,{name:"NegativeOffsetError"})}}class o extends r.G{constructor({length:e,position:t}){super(`Position \`${t}\` is out of bounds (\`0 < position < ${e}\`).`,{name:"PositionOutOfBoundsError"})}}class a extends r.G{constructor({count:e,limit:t}){super(`Recursive read limit of \`${t}\` exceeded (recursive read count: \`${e}\`).`,{name:"RecursiveReadLimitExceededError"})}}},11758:function(e,t,n){"use strict";n.d(t,{$s:function(){return o},W_:function(){return a},mV:function(){return i}});var r=n(51273);class i extends r.G{constructor({offset:e,position:t,size:n}){super(`Slice ${"start"===t?"starting":"ending"} at offset "${e}" is out-of-bounds (size: ${n}).`,{name:"SliceOffsetOutOfBoundsError"})}}class o extends r.G{constructor({size:e,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (${e}) exceeds padding size (${t}).`,{name:"SizeExceedsPaddingSizeError"})}}class a extends r.G{constructor({size:e,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} is expected to be ${t} ${n} long, but is ${e} ${n} long.`,{name:"InvalidBytesLengthError"})}}},75851:function(e,t,n){"use strict";
vendor: 5,006 bytes, lines 48-49
48n.d(t,{Cd:function(){return a},J5:function(){return i},M6:function(){return s},yr:function(){return o}});var r=n(51273);class i extends r.G{constructor({max:e,min:t,signed:n,size:r,value:i}){super(`Number "${i}" is not in safe ${r?`${8*r}-bit ${n?"signed":"unsigned"} `:""}integer range ${e?`(${t} to ${e})`:`(above ${t})`}`,{name:"IntegerOutOfRangeError"})}}class o extends r.G{constructor(e){super(`Bytes value "${e}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`,{name:"InvalidBytesBooleanError"})}}class a extends r.G{constructor(e){super(`Hex value "${e}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`,{name:"InvalidHexBooleanError"})}}class s extends r.G{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed ${t} bytes. Given size: ${e} bytes.`,{name:"SizeOverflowError"})}}},78862:function(e,t,n){"use strict";n.d(t,{Fz:function(){return o},e5:function(){return a},ld:function(){return s}});var r=n(98206),i=n(51273);class o extends i.G{constructor(){super("`baseFeeMultiplier` must be greater than 1.",{name:"BaseFeeScalarError"})}}class a extends i.G{constructor(){super("Chain does not support EIP-1559 fees.",{name:"Eip1559FeesNotSupportedError"})}}class s extends i.G{constructor({maxPriorityFeePerGas:e}){super(`\`maxFeePerGas\` cannot be less than the \`maxPriorityFeePerGas\` (${(0,r.o)(e)} gwei).`,{name:"MaxFeePerGasTooLowError"})}}},26463:function(e,t,n){"use strict";n.d(t,{C_:function(){return d},G$:function(){return s},Hh:function(){return a},M_:function(){return o},WF:function(){return f},ZI:function(){return c},cj:function(){return y},cs:function(){return m},dR:function(){return h},pZ:function(){return p},se:function(){return l},vU:function(){return u}});var r=n(98206),i=n(51273);class o extends i.G{constructor({cause:e,message:t}={}){let n=t?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${n?`with reason: ${n}`:"for an unknown reason"}.`,{cause:e,name:"ExecutionRevertedError"})}}Object.defineProperty(o,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(o,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted/});class a extends i.G{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(0,r.o)(t)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:e,name:"FeeCapTooHighError"})}}Object.defineProperty(a,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/});class s extends i.G{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(0,r.o)(t)}`:""} gwei) cannot be lower than the block base fee.`,{cause:e,name:"FeeCapTooLowError"})}}Object.defineProperty(s,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/});class c extends i.G{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}is higher than the next one expected.`,{cause:e,name:"NonceTooHighError"})}}Object.defineProperty(c,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class u extends i.G{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}is lower than the current nonce of the account.
49Try increasing the nonce or find the latest nonce with \`getTransactionCount\`.`,{cause:e,name:"NonceTooLowError"})}}Object.defineProperty(u,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class l extends i.G{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}exceeds the maximum allowed nonce.`,{cause:e,name:"NonceMaxValueError"})}}Object.defineProperty(l,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class d extends i.G{constructor({cause:e}={}){super("The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.",{cause:e,metaMessages:["This error could arise when the account does not have enough funds to:"," - pay for the total gas fee,"," - pay for the value to send."," ","The cost of the transaction is calculated as `gas * gas fee + value`, where:"," - `gas` is the amount of gas needed for transaction to execute,"," - `gas fee` is the gas fee,"," - `value` is the amount of ether to send to the recipient."],name:"InsufficientFundsError"})}}Object.defineProperty(d,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds|exceeds transaction sender account balance/});class f extends i.G{constructor({cause:e,gas:t}={}){super(`The amount of gas ${t?`(${t}) `:""}provided for the transaction exceeds the limit allowed for the block.`,{cause:e,name:"IntrinsicGasTooHighError"})}}
vendor: 5,358 bytes, line 49
49Object.defineProperty(f,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class h extends i.G{constructor({cause:e,gas:t}={}){super(`The amount of gas ${t?`(${t}) `:""}provided for the transaction is too low.`,{cause:e,name:"IntrinsicGasTooLowError"})}}Object.defineProperty(h,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class p extends i.G{constructor({cause:e}){super("The transaction type is not supported for this chain.",{cause:e,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(p,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class m extends i.G{constructor({cause:e,maxPriorityFeePerGas:t,maxFeePerGas:n}={}){super(`The provided tip (\`maxPriorityFeePerGas\`${t?` = ${(0,r.o)(t)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${n?` = ${(0,r.o)(n)} gwei`:""}).`,{cause:e,name:"TipAboveFeeCapError"})}}Object.defineProperty(m,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max priority fee per gas higher than max fee per gas|tip higher than fee cap/});class y extends i.G{constructor({cause:e}){super(`An error occurred while executing: ${e?.shortMessage}`,{cause:e,name:"UnknownNodeError"})}}},37825:function(e,t,n){"use strict";n.d(t,{Gg:function(){return a},W5:function(){return c},bs:function(){return s}});var r=n(92791),i=n(51273),o=n(37307);class a extends i.G{constructor({body:e,cause:t,details:n,headers:i,status:a,url:s}){super("HTTP request failed.",{cause:t,details:n,metaMessages:[a&&`Status: ${a}`,`URL: ${(0,o.G)(s)}`,e&&`Request body: ${(0,r.P)(e)}`].filter(Boolean),name:"HttpRequestError"}),Object.defineProperty(this,"body",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"status",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.body=e,this.headers=i,this.status=a,this.url=s}}class s extends i.G{constructor({body:e,error:t,url:n}){super("RPC Request failed.",{cause:t,details:t.message,metaMessages:[`URL: ${(0,o.G)(n)}`,`Request body: ${(0,r.P)(e)}`],name:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=t.code,this.data=t.data}}class c extends i.G{constructor({body:e,url:t}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,o.G)(t)}`,`Request body: ${(0,r.P)(e)}`],name:"TimeoutError"})}}},24473:function(e,t,n){"use strict";n.d(t,{B:function(){return c},GD:function(){return b},I0:function(){return E},KB:function(){return m},LX:function(){return u},Og:function(){return h},PE:function(){return v},Pv:function(){return g},Ts:function(){return A},XS:function(){return d},ab:function(){return w},gS:function(){return y},ir:function(){return I},nY:function(){return l},pT:function(){return p},s7:function(){return s},u5:function(){return x},x3:function(){return C},yR:function(){return f}});var r=n(51273),i=n(37825);class o extends r.G{constructor(e,{code:t,docsPath:n,metaMessages:r,name:o,shortMessage:a}){super(a,{cause:e,docsPath:n,metaMessages:r||e?.metaMessages,name:o||"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=o||e.name,this.code=e instanceof i.bs?e.code:t??-1}}class a extends o{constructor(e,t){super(e,t),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t.data}}class s extends o{constructor(e){super(e,{code:s.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(s,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class c extends o{constructor(e){super(e,{code:c.code,name:"InvalidRequestRpcError",shortMessage:"JSON is not a valid request object."})}}Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class u extends o{constructor(e,{method:t}={}){super(e,{code:u.code,name:"MethodNotFoundRpcError",shortMessage:`The method${t?` "${t}"`:""} does not exist / is not available.`})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class l extends o{constructor(e){super(e,{code:l.code,name:"InvalidParamsRpcError",shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class d extends o{constructor(e){super(e,{code:d.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class f extends o{constructor(e){super(e,{code:f.code,name:"InvalidInputRpcError",shortMessage:"Missing or invalid parameters.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});
49class h extends o{constructor(e){super(e,{code:h.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class p extends o{constructor(e){super(e,{code:p.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class m extends o{constructor(e){super(e,{code:m.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class y extends o{constructor(e,{method:t}={}){super(e,{code:y.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${t?` "${t}"`:""} is not supported.`})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class g extends o{constructor(e){super(e,{code:g.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class b extends o{constructor(e){super(e,{code:b.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class w extends a{constructor(e){super(e,{code:w.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class v extends a{constructor(e){super(e,{code:v.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class A extends a{constructor(e,{method:t}={}){super(e,{code:A.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${t?` " ${t}"`:""}.`})}}Object.defineProperty(A,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class x extends a{constructor(e){super(e,{code:x.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class E extends a{constructor(e){super(e,{code:E.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class C extends a{constructor(e){super(e,{code:C.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(C,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class I extends o{constructor(e){super(e,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}}},94655:function(e,t,n){"use strict";n.d(t,{Bj:function(){return s},Nc:function(){return i},Z8:function(){return o}});var r=n(51273);class i extends r.G{constructor({address:e}){super(`State for account "${e}" is set multiple times.`,{name:"AccountStateConflictError"})}}class o extends r.G{constructor(){super("state and stateDiff are set on the same account.",{name:"StateAssignmentConflictError"})}}function a(e){return e.reduce((e,{slot:t,value:n})=>`${e}        ${t}: ${n}
50`,"")}function s(e){return e.reduce((e,{address:t,...n})=>{let r=`${e}    ${t}:
51`;return n.nonce&&(r+=`      nonce: ${n.nonce}
52`),n.balance&&(r+=`      balance: ${n.balance}
53`),n.code&&(r+=`      code: ${n.code}
54`),n.state&&(r+="      state:\n"+a(n.state)),n.stateDiff&&(r+="      stateDiff:\n"+a(n.stateDiff)),r},"  State Override:\n").slice(0,-1)}},10289:function(e,t,n){"use strict";n.d(t,{Bh:function(){return f},JC:function(){return l},Yb:function(){return h},j3:function(){return u},mc:function(){return p},mk:function(){return d},vl:function(){return c},xY:function(){return s},xr:function(){return a}});var r=n(52926),i=n(98206),o=n(51273);function a(e){let t=Object.entries(e).map(([e,t])=>
54void 0===t||!1===t?null:[e,t]).filter(Boolean),n=t.reduce((e,[t])=>Math.max(e,t.length),0);return t.map(([e,t])=>`  ${`${e}:`.padEnd(n+1)}  ${t}`).join("\n")}class s extends o.G{constructor(){super("Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.\nUse `maxFeePerGas`/`maxPriorityFeePerGas` for EIP-1559 compatible networks, and `gasPrice` for others.",{name:"FeeConflictError"})}}class c extends o.G{constructor({v:e}){super(`Invalid \`v\` value "${e}". Expected 27 or 28.`,{name:"InvalidLegacyVError"})}}class u extends o.G{constructor({transaction:e}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",a(e),"}","","To infer the type, either provide:","- a `type` to the Transaction, or","- an EIP-1559 Transaction with `maxFeePerGas`, or","- an EIP-2930 Transaction with `gasPrice` & `accessList`, or","- an EIP-4844 Transaction with `blobs`, `blobVersionedHashes`, `sidecars`, or","- an EIP-7702 Transaction with `authorizationList`, or","- a Legacy Transaction with `gasPrice`"],name:"InvalidSerializableTransactionError"})}}class l extends o.G{constructor({storageKey:e}){super(`Size for storage key "${e}" is invalid. Expected 32 bytes. Got ${Math.floor((e.length-2)/2)} bytes.`,{name:"InvalidStorageKeySizeError"})}}class d extends o.G{constructor(e,{account:t,docsPath:n,chain:o,data:s,gas:c,gasPrice:u,maxFeePerGas:l,maxPriorityFeePerGas:d,nonce:f,to:h,value:p}){super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Request Arguments:",a({chain:o&&`${o?.name} (id: ${o?.id})`,from:t?.address,to:h,value:void 0!==p&&`${(0,r.d)(p)} ${o?.nativeCurrency?.symbol||"ETH"}`,data:s,gas:c,gasPrice:void 0!==u&&`${(0,i.o)(u)} gwei`,maxFeePerGas:void 0!==l&&`${(0,i.o)(l)} gwei`,maxPriorityFeePerGas:void 0!==d&&`${(0,i.o)(d)} gwei`,nonce:f})].filter(Boolean),name:"TransactionExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class f extends o.G{constructor({blockHash:e,blockNumber:t,blockTag:n,hash:r,index:i}){let o="Transaction";n&&void 0!==i&&(o=`Transaction at block time "${n}" at index "${i}"`),e&&void 0!==i&&(o=`Transaction at block hash "${e}" at index "${i}"`),t&&void 0!==i&&(o=`Transaction at block number "${t}" at index "${i}"`),r&&(o=`Transaction with hash "${r}"`),super(`${o} could not be found.`,{name:"TransactionNotFoundError"})}}class h extends o.G{constructor({hash:e}){super(`Transaction receipt with hash "${e}" could not be found. The Transaction may not be processed on a block yet.`,{name:"TransactionReceiptNotFoundError"})}}class p extends o.G{constructor({hash:e}){super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`,{name:"WaitForTransactionReceiptTimeoutError"})}}},37307:function(e,t,n){"use strict";n.d(t,{C:function(){return r},G:function(){return i}});let r=e=>e,i=e=>e},39902:function(e,t,n){"use strict";n.d(t,{i:function(){return S}});var r=n(55936),i=n(44324),o=n(56547),a=n(36227);let s={block:(0,i.G)({format:e=>({transactions:e.transactions?.map(e=>{if("string"==typeof e)return e;let t=o.Tr(e);return"0x7e"===t.typeHex&&(t.isSystemTx=e.isSystemTx,t.mint=e.mint?r.y_(e.mint):void 0,t.sourceHash=e.sourceHash,t.type="deposit"),t}),stateRoot:e.stateRoot})}),transaction:(0,o.y_)({format(e){let t={};return"0x7e"===e.type&&(t.isSystemTx=e.isSystemTx,t.mint=e.mint?(0,r.y_)(e.mint):void 0,t.sourceHash=e.sourceHash,t.type="deposit"),t}}),transactionReceipt:(0,a.dI)({format:e=>({l1GasPrice:e.l1GasPrice?(0,r.y_)(e.l1GasPrice):null,l1GasUsed:e.l1GasUsed?(0,r.y_)(e.l1GasUsed):null,l1Fee:e.l1Fee?(0,r.y_)(e.l1Fee):null,l1FeeScalar:e.l1FeeScalar?Number(e.l1FeeScalar):null})})};var c=n(44898),u=n(14433),l=n(3556),d=n(15578),f=n(68725),h=n(10289),p=n(77434),m=n(47987),y=n(17204),g=n(22816),b=n(71264),w=n(17665),v=n(92525),A=n(51273),x=n(10421),E=n(55774),C=n(26463),I=n(95305),k=n(23090);function B(e){let{chainId:t,maxPriorityFeePerGas:n,maxFeePerGas:r,to:i}=e;if(t<=0)throw new E.hJ({chainId:t});if(i&&!(0,u.U)(i))throw new c.b({address:i});if(r&&r>v.zL)throw new C.Hh({maxFeePerGas:r});if(n&&r&&n>r)throw new C.cs({maxFeePerGas:r,maxPriorityFeePerGas:n})}var P=n(66782);function T(e){if(!e||0===e.length)return[];let t=[];for(let n=0;n<e.length;n++){let{address:r,storageKeys:i}=e[n];for(let e=0;e<i.length;e++)if(i[e].length-2!=64)throw new h.JC({storageKey:i[e]});if(!(0,u.U)(r,{strict:!1}))throw new c.b({address:r});t.push([r,i])}return t}function O(e,t){let n=t??e,{v:r,yParity:i}=n;if(void 0===n.r||void 0===n.s||void 0===r&&void 0===i)return[];let o=(0,b.f)(n.r),a=(0,b.f)(n.s);return["number"==typeof i?i?(0,d.NC)(1):"0x":0n===r?"0x":1n===r?(0,d.NC)(1):27n===r?"0x":(0,d.NC)(1),"0x00"===o?"0x":o,"0x00"===a?"0x":a]}let S={contracts:{gasPriceOracle:{address:"0x420000000000000000000000000000000000000F"},l1Block:{address:"0x4200000000000000000000000000000000000015"}
54,l2CrossDomainMessenger:{address:"0x4200000000000000000000000000000000000007"},l2Erc721Bridge:{address:"0x4200000000000000000000000000000000000014"},l2StandardBridge:{address:"0x4200000000000000000000000000000000000010"},l2ToL1MessagePasser:{address:"0x4200000000000000000000000000000000000016"}},formatters:s,serializers:{transaction:function(e,t){return"deposit"===e.type||void 0!==e.sourceHash?function(e){!function(e){let{from:t,to:n}=e;if(t&&!(0,u.U)(t))throw new c.b({address:t});if(n&&!(0,u.U)(n))throw new c.b({address:n})}(e);let{sourceHash:t,data:n,from:r,gas:i,isSystemTx:o,mint:a,to:s,value:h}=e,p=[t,r,s??"0x",a?(0,d.NC)(a):"0x",h?(0,d.NC)(h):"0x",i?(0,d.NC)(i):"0x",o?"0x1":"0x",n??"0x"];return(0,l.SM)(["0x7e",(0,f.LV)(p)])}(e):function(e,t){let n=(0,P.l)(e);return"eip1559"===n?function(e,t){let{chainId:n,gas:r,nonce:i,to:o,value:a,maxFeePerGas:s,maxPriorityFeePerGas:c,accessList:u,data:h}=e;B(e);let p=T(u),m=[(0,d.NC)(n),i?(0,d.NC)(i):"0x",c?(0,d.NC)(c):"0x",s?(0,d.NC)(s):"0x",r?(0,d.NC)(r):"0x",o??"0x",a?(0,d.NC)(a):"0x",h??"0x",p,...O(e,t)];return(0,l.SM)(["0x02",(0,f.LV)(m)])}(e,t):"eip2930"===n?function(e,t){let{chainId:n,gas:r,data:i,nonce:o,to:a,value:s,accessList:h,gasPrice:p}=e;!function(e){let{chainId:t,maxPriorityFeePerGas:n,gasPrice:r,maxFeePerGas:i,to:o}=e;if(t<=0)throw new E.hJ({chainId:t});if(o&&!(0,u.U)(o))throw new c.b({address:o});if(n||i)throw new A.G("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");if(r&&r>v.zL)throw new C.Hh({maxFeePerGas:r})}(e);let m=T(h),y=[(0,d.NC)(n),o?(0,d.NC)(o):"0x",p?(0,d.NC)(p):"0x",r?(0,d.NC)(r):"0x",a??"0x",s?(0,d.NC)(s):"0x",i??"0x",m,...O(e,t)];return(0,l.SM)(["0x01",(0,f.LV)(y)])}(e,t):"eip4844"===n?function(e,t){let{chainId:n,gas:i,nonce:o,to:a,value:s,maxFeePerBlobGas:c,maxFeePerGas:u,maxPriorityFeePerGas:h,accessList:b,data:v}=e;!function(e){let{blobVersionedHashes:t}=e;if(t){if(0===t.length)throw new x.RX;for(let e of t){let t=(0,I.d)(e),n=(0,r.ly)((0,k.tP)(e,0,1));if(32!==t)throw new x.xd({hash:e,size:t});if(n!==w.l)throw new x.cJ({hash:e,version:n})}}B(e)}(e);let A=e.blobVersionedHashes,E=e.sidecars;if(e.blobs&&(void 0===A||void 0===E)){let t="string"==typeof e.blobs[0]?e.blobs:e.blobs.map(e=>(0,d.ci)(e)),n=e.kzg,r=(0,p.P)({blobs:t,kzg:n});if(void 0===A&&(A=(0,y.C)({commitments:r})),void 0===E){let e=(0,m.y)({blobs:t,commitments:r,kzg:n});E=(0,g.j)({blobs:t,commitments:r,proofs:e})}}let C=T(b),P=[(0,d.NC)(n),o?(0,d.NC)(o):"0x",h?(0,d.NC)(h):"0x",u?(0,d.NC)(u):"0x",i?(0,d.NC)(i):"0x",a??"0x",s?(0,d.NC)(s):"0x",v??"0x",C,c?(0,d.NC)(c):"0x",A??[],...O(e,t)],S=[],R=[],N=[];if(E)for(let e=0;e<E.length;e++){let{blob:t,commitment:n,proof:r}=E[e];S.push(t),R.push(n),N.push(r)}return(0,l.SM)(["0x03",E?(0,f.LV)([P,S,R,N]):(0,f.LV)(P)])}(e,t):"eip7702"===n?function(e,t){let{authorizationList:n,chainId:r,gas:i,nonce:o,to:a,value:s,maxFeePerGas:h,maxPriorityFeePerGas:p,accessList:m,data:y}=e;!function(e){let{authorizationList:t}=e;if(t)for(let e of t){let{chainId:t}=e,n=e.address;if(!(0,u.U)(n))throw new c.b({address:n});if(t<0)throw new E.hJ({chainId:t})}B(e)}(e);let g=T(m),b=function(e){if(!e||0===e.length)return[];let t=[];for(let n of e){let{chainId:e,nonce:r,...i}=n,o=n.address;t.push([e?(0,d.NC)(e):"0x",o,r?(0,d.NC)(r):"0x",...O({},i)])}return t}(n);return(0,l.SM)(["0x04",(0,f.LV)([(0,d.NC)(r),o?(0,d.NC)(o):"0x",p?(0,d.NC)(p):"0x",h?(0,d.NC)(h):"0x",i?(0,d.NC)(i):"0x",a??"0x",s?(0,d.NC)(s):"0x",y??"0x",g,b,...O(e,t)])])}(e,t):function(e,t){let{chainId:n=0,gas:r,data:i,nonce:o,to:a,value:s,gasPrice:l}=e;!function(e){let{chainId:t,maxPriorityFeePerGas:n,gasPrice:r,maxFeePerGas:i,to:o}=e;if(o&&!(0,u.U)(o))throw new c.b({address:o});if(void 0!==t&&t<=0)throw new E.hJ({chainId:t});if(n||i)throw new A.G("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");if(r&&r>v.zL)throw new C.Hh({maxFeePerGas:r})}(e);let p=[o?(0,d.NC)(o):"0x",l?(0,d.NC)(l):"0x",r?(0,d.NC)(r):"0x",a??"0x",s?(0,d.NC)(s):"0x",i??"0x"];if(t){let e=(()=>{if(t.v>=35n)return(t.v-35n)/2n>0?t.v:27n+(35n===t.v?0n:1n);if(n>0)return BigInt(2*n)+BigInt(35n+t.v-27n);let e=27n+(27n===t.v?0n:1n);if(t.v!==e)throw new h.vl({v:t.v});return e})(),r=(0,b.f)(t.r),i=(0,b.f)(t.s);p=[...p,(0,d.NC)(e),"0x00"===r?"0x":r,"0x00"===i?"0x":i]}else n>0&&(p=[...p,(0,d.NC)(n),"0x","0x"]);return(0,f.LV)(p)}(e,t)}(e,t)}}}},28201:function(e,t,n){"use strict";n.d(t,{r:function(){return m}});var r=n(45581),i=n(75036),o=n(3425),a=n(95305),s=n(23090),c=n(71264),u=n(75851),l=n(55936),d=n(15578);function f(e,t={}){void 0!==t.size&&(0,l.Yf)(e,{size:t.size});let n=(0,d.ci)(e,t);return(0,l.ly)(n,t)}var h=n(73596),p=n(8580);function m(e,t){let n="string"==typeof t?(0,h.nr)(t):t,m=(0,o.q)(n);if(0===(0,a.d)(n)&&e.length>0)throw new r.wb;if((0,a.d)(t)&&32>(0,a.d)(t))throw new r.xB({data:"string"==typeof t?t:(0,d.ci)(t),params:e,size:(0,a.d)(t)});let g=0,b=[];for(let t=0;t<e.length;++t){let n=e[t];m.setPosition(g);let[o,a]=function e(t,n,{staticPosition:o}){let a=(0,p.S)(n.type);if(a){let[r,i]=a;return function(t,n,{length:r,staticPosition:i}){if(!r){let r=i+f(t.readBytes(32)),o=r+32;t.setPosition(r);let a=f(t.readBytes(32)),s=y(n),c=0,u=[];for(let r=0;r<a;++r){t.setPosition(o+(s?32*r:c));let[i,a]=e(t,n,{staticPosition:o});c+=a,u.push(i)}return t.setPosition(i+32),[u,32]}if(y(n)){let o=i+f(t.readBytes(32)),a=[];for(let i=0;i<r;++i){t.setPosition(o+32*i);let[r]=e(t,n,{staticPosition:o});a.push(r)}return t.setPosition(i+32),[a,32]}let o=0,a=[];for(let s=0;s<r;++s){let[r,s]=e(t,n,{staticPosition:i+o});o+=s,a.push(r)}return[a,o]}(t,{...n,type:i},{length:r,staticPosition:o})}if("tuple"===n.type)return function(t,n,{staticPosition:r}
vendor: 5,092 bytes, line 54
54){let i=0===n.components.length||n.components.some(({name:e})=>!e),o=i?[]:{},a=0;if(y(n)){let s=r+f(t.readBytes(32));for(let r=0;r<n.components.length;++r){let c=n.components[r];t.setPosition(s+a);let[u,l]=e(t,c,{staticPosition:s});a+=l,o[i?r:c?.name]=u}return t.setPosition(r+32),[o,32]}for(let s=0;s<n.components.length;++s){let c=n.components[s],[u,l]=e(t,c,{staticPosition:r});o[i?s:c?.name]=u,a+=l}return[o,a]}(t,n,{staticPosition:o});if("address"===n.type)return function(e){let t=e.readBytes(32);return[(0,i.x)((0,d.ci)((0,s.T4)(t,-20))),32]}(t);if("bool"===n.type)return[function(e,t={}){let n=e;if(void 0!==t.size&&((0,l.Yf)(n,{size:t.size}),n=(0,c.f)(n)),n.length>1||n[0]>1)throw new u.yr(n);return!!n[0]}(t.readBytes(32),{size:32}),32];if(n.type.startsWith("bytes"))return function(e,t,{staticPosition:n}){let[r,i]=t.type.split("bytes");if(!i){let t=f(e.readBytes(32));e.setPosition(n+t);let r=f(e.readBytes(32));if(0===r)return e.setPosition(n+32),["0x",32];let i=e.readBytes(r);return e.setPosition(n+32),[(0,d.ci)(i),32]}return[(0,d.ci)(e.readBytes(Number.parseInt(i),32)),32]}(t,n,{staticPosition:o});if(n.type.startsWith("uint")||n.type.startsWith("int"))return function(e,t){let n=t.type.startsWith("int"),r=Number.parseInt(t.type.split("int")[1]||"256"),i=e.readBytes(32);return[r>48?function(e,t={}){void 0!==t.size&&(0,l.Yf)(e,{size:t.size});let n=(0,d.ci)(e,t);return(0,l.y_)(n,t)}(i,{signed:n}):f(i,{signed:n}),32]}(t,n);if("string"===n.type)return function(e,{staticPosition:t}){let n=f(e.readBytes(32));e.setPosition(t+n);let r=f(e.readBytes(32));if(0===r)return e.setPosition(t+32),["",32];let i=e.readBytes(r,32),o=function(e,t={}){let n=e;return void 0!==t.size&&((0,l.Yf)(n,{size:t.size}),n=(0,c.f)(n,{dir:"right"})),new TextDecoder().decode(n)}((0,c.f)(i));return e.setPosition(t+32),[o,32]}(t,{staticPosition:o});throw new r.CI(n.type,{docsPath:"/docs/contract/decodeAbiParameters"})}(m,n,{staticPosition:0});g+=a,b.push(o)}return b}function y(e){let{type:t}=e;if("string"===t||"bytes"===t||t.endsWith("[]"))return!0;if("tuple"===t)return e.components?.some(y);let n=(0,p.S)(e.type);return!!(n&&y({...e,type:n[1]}))}},68890:function(e,t,n){"use strict";n.d(t,{p:function(){return u}});var r=n(26390),i=n(45581),o=n(23090),a=n(9226),s=n(28201),c=n(67705);function u(e){let{abi:t,data:n}=e,u=(0,o.tP)(n,0,4);if("0x"===u)throw new i.wb;let l=[...t||[],r.Up,r.hZ].find(e=>"error"===e.type&&u===(0,a.C)((0,c.t)(e)));if(!l)throw new i.yP(u,{docsPath:"/docs/contract/decodeErrorResult"});return{abiItem:l,args:"inputs"in l&&l.inputs&&l.inputs.length>0?(0,s.r)(l.inputs,(0,o.tP)(n,4)):void 0,errorName:l.name}}},27470:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var r=n(45581),i=n(28201),o=n(52753);let a="/docs/contract/decodeFunctionResult";function s(e){let{abi:t,args:n,functionName:s,data:c}=e,u=t[0];if(s){let e=(0,o.mE)({abi:t,args:n,name:s});if(!e)throw new r.xL(s,{docsPath:a});u=e}if("function"!==u.type)throw new r.xL(void 0,{docsPath:a});if(!u.outputs)throw new r.MX(u.name,{docsPath:a});let l=(0,i.r)(u.outputs,c);return l&&l.length>1?l:l&&1===l.length?l[0]:void 0}},8580:function(e,t,n){"use strict";n.d(t,{E:function(){return p},S:function(){return y}});var r=n(45581),i=n(44898),o=n(51273),a=n(75851),s=n(14433),c=n(3556),u=n(89507),l=n(95305),d=n(23090),f=n(15578),h=n(97676);function p(e,t){if(e.length!==t.length)throw new r.fs({expectedLength:e.length,givenLength:t.length});let n=m(function({params:e,values:t}){let n=[];for(let p=0;p<e.length;p++)n.push(function e({param:t,value:n}){let p=y(t.type);if(p){let[i,o]=p;return function(t,{length:n,param:i}){let o=null===n;if(!Array.isArray(t))throw new r.hn(t);if(!o&&t.length!==n)throw new r.gr({expectedLength:n,givenLength:t.length,type:`${i.type}[${n}]`});let a=!1,s=[];for(let n=0;n<t.length;n++){let r=e({param:i,value:t[n]});r.dynamic&&(a=!0),s.push(r)}if(o||a){let e=m(s);if(o){let t=(0,f.eC)(s.length,{size:32});return{dynamic:!0,encoded:s.length>0?(0,c.zo)([t,e]):t}}if(a)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:(0,c.zo)(s.map(({encoded:e})=>e))}}(n,{length:i,param:{...t,type:o}})}if("tuple"===t.type)return function(t,{param:n}){let r=!1,i=[];for(let o=0;o<n.components.length;o++){let a=n.components[o],s=Array.isArray(t)?o:a.name,c=e({param:a,value:t[s]});i.push(c),c.dynamic&&(r=!0)}return{dynamic:r,encoded:r?m(i):(0,c.zo)(i.map(({encoded:e})=>e))}}(n,{param:t});if("address"===t.type)return function(e){if(!(0,s.U)(e))throw new i.b({address:e});return{dynamic:!1,encoded:(0,u.gc)(e.toLowerCase())}}(n);if("bool"===t.type)return function(e){if("boolean"!=typeof e)throw new o.G(`Invalid boolean value: "${e}" (type: ${typeof e}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:(0,u.gc)((0,f.C4)(e))}}(n);if(t.type.startsWith("uint")||t.type.startsWith("int")){let e=t.type.startsWith("int"),[,,r="256"]=h.lh.exec(t.type)??[];return function(e,{signed:t,size:n=256}){if("number"==typeof n){let r=2n**(BigInt(n)-(t?1n:0n))-1n,i=t?-r-1n:0n;if(e>r||e<i)throw new a.J5({max:r.toString(),min:i.toString(),signed:t,size:n/8,value:e.toString()})}
vendor: 12,499 bytes, line 54
54return{dynamic:!1,encoded:(0,f.eC)(e,{size:32,signed:t})}}(n,{signed:e,size:Number(r)})}if(t.type.startsWith("bytes"))return function(e,{param:t}){let[,n]=t.type.split("bytes"),i=(0,l.d)(e);if(!n){let t=e;return i%32!=0&&(t=(0,u.gc)(t,{dir:"right",size:32*Math.ceil((e.length-2)/2/32)})),{dynamic:!0,encoded:(0,c.zo)([(0,u.gc)((0,f.eC)(i,{size:32})),t])}}if(i!==Number.parseInt(n))throw new r.M4({expectedSize:Number.parseInt(n),value:e});return{dynamic:!1,encoded:(0,u.gc)(e,{dir:"right"})}}(n,{param:t});if("string"===t.type)return function(e){let t=(0,f.$G)(e),n=Math.ceil((0,l.d)(t)/32),r=[];for(let e=0;e<n;e++)r.push((0,u.gc)((0,d.tP)(t,32*e,(e+1)*32),{dir:"right"}));return{dynamic:!0,encoded:(0,c.zo)([(0,u.gc)((0,f.eC)((0,l.d)(t),{size:32})),...r])}}(n);throw new r.dh(t.type,{docsPath:"/docs/contract/encodeAbiParameters"})}({param:e[p],value:t[p]}));return n}({params:e,values:t}));return 0===n.length?"0x":n}function m(e){let t=0;for(let n=0;n<e.length;n++){let{dynamic:r,encoded:i}=e[n];r?t+=32:t+=(0,l.d)(i)}let n=[],r=[],i=0;for(let o=0;o<e.length;o++){let{dynamic:a,encoded:s}=e[o];a?(n.push((0,f.eC)(t+i,{size:32})),r.push(s),i+=(0,l.d)(s)):n.push(s)}return(0,c.zo)([...n,...r])}function y(e){let t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}},84379:function(e,t,n){"use strict";n.d(t,{w:function(){return s}});var r=n(45581),i=n(3556),o=n(8580);let a="/docs/contract/encodeDeployData";function s(e){let{abi:t,args:n,bytecode:s}=e;if(!n||0===n.length)return s;let c=t.find(e=>"type"in e&&"constructor"===e.type);if(!c)throw new r.fM({docsPath:a});if(!("inputs"in c)||!c.inputs||0===c.inputs.length)throw new r.cO({docsPath:a});let u=(0,o.E)(c.inputs,n);return(0,i.SM)([s,u])}},87210:function(e,t,n){"use strict";n.d(t,{R:function(){return l}});var r=n(3556),i=n(8580),o=n(45581),a=n(9226),s=n(67705),c=n(52753);let u="/docs/contract/encodeFunctionData";function l(e){let{args:t}=e,{abi:n,functionName:l}=1===e.abi.length&&e.functionName?.startsWith("0x")?e:function(e){let{abi:t,args:n,functionName:r}=e,i=t[0];if(r){let e=(0,c.mE)({abi:t,args:n,name:r});if(!e)throw new o.xL(r,{docsPath:u});i=e}if("function"!==i.type)throw new o.xL(void 0,{docsPath:u});return{abi:[i],functionName:(0,a.C)((0,s.t)(i))}}(e),d=n[0],f="inputs"in d&&d.inputs?(0,i.E)(d.inputs,t??[]):void 0;return(0,r.SM)([l,f??"0x"])}},67705:function(e,t,n){"use strict";n.d(t,{h:function(){return o},t:function(){return i}});var r=n(45581);function i(e,{includeName:t=!1}={}){if("function"!==e.type&&"event"!==e.type&&"error"!==e.type)throw new r.wM(e.type);return`${e.name}(${o(e.inputs,{includeName:t})})`}function o(e,{includeName:t=!1}={}){return e?e.map(e=>(function(e,{includeName:t}){return e.type.startsWith("tuple")?`(${o(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")})(e,{includeName:t})).join(t?", ":","):""}},52753:function(e,t,n){"use strict";n.d(t,{mE:function(){return c}});var r=n(45581),i=n(21230),o=n(14433),a=n(58113),s=n(9226);function c(e){let t;let{abi:n,args:c=[],name:u}=e,l=(0,i.v)(u,{strict:!1}),d=n.filter(e=>l?"function"===e.type?(0,s.C)(e)===u:"event"===e.type&&(0,a.n)(e)===u:"name"in e&&e.name===u);if(0!==d.length){if(1===d.length)return d[0];for(let e of d)if("inputs"in e){if(!c||0===c.length){if(!e.inputs||0===e.inputs.length)return e;continue}if(e.inputs&&0!==e.inputs.length&&e.inputs.length===c.length&&c.every((t,n)=>{let r="inputs"in e&&e.inputs[n];return!!r&&function e(t,n){let r=typeof t,i=n.type;switch(i){case"address":return(0,o.U)(t,{strict:!1});case"bool":return"boolean"===r;case"function":case"string":return"string"===r;default:if("tuple"===i&&"components"in n)return Object.values(n.components).every((n,r)=>e(Object.values(t)[r],n));if(/^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)?$/.test(i))return"number"===r||"bigint"===r;if(/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(i))return"string"===r||t instanceof Uint8Array;if(/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(i))return Array.isArray(t)&&t.every(t=>e(t,{...n,type:i.replace(/(\[[0-9]{0,}\])$/,"")}));return!1}}(t,r)})){if(t&&"inputs"in t&&t.inputs){let n=function e(t,n,r){for(let i in t){let a=t[i],s=n[i];if("tuple"===a.type&&"tuple"===s.type&&"components"in a&&"components"in s)return e(a.components,s.components,r[i]);let c=[a.type,s.type];if(c.includes("address")&&c.includes("bytes20")||(c.includes("address")&&c.includes("string")||c.includes("address")&&c.includes("bytes"))&&(0,o.U)(r[i],{strict:!1}))return c}}(e.inputs,t.inputs,c);if(n)throw new r.S4({abiItem:e,type:n[0]},{abiItem:t,type:n[1]})}t=e}}return t||d[0]}}},75036:function(e,t,n){"use strict";n.d(t,{K:function(){return l},x:function(){return u}});var r=n(44898),i=n(73596),o=n(82112),a=n(20686),s=n(14433);let c=new a.k(8192);function u(e,t){if(c.has(`${e}.${t}`))return c.get(`${e}.${t}`);let n=t?`${t}${e.toLowerCase()}`:e.substring(2).toLowerCase(),r=(0,o.w)((0,i.qX)(n),"bytes"),a=(t?n.substring(`${t}0x`.length):n).split("");for(let e=0;e<40;e+=2)r[e>>1]>>4>=8&&a[e]&&(a[e]=a[e].toUpperCase()),(15&r[e>>1])>=8&&a[e+1]&&(a[e+1]=a[e+1].toUpperCase());let s=`0x${a.join("")}`;return c.set(`${e}.${t}`,s),s}function l(e,t){if(!(0,s.U)(e,{strict:!1}))throw new r.b({address:e});return u(e,t)}},14433:function(e,t,n){"use strict";n.d(t,{U:function(){return s}});var r=n(20686),i=n(75036);let o=/^0x[a-fA-F0-9]{40}$/,a=new r.k(8192);function s(e,t){let{strict:n=!0}=t??{},r=`${e}.${n}`;if(a.has(r))return a.get(r);let s=!!o.test(e)&&(e.toLowerCase()===e||!n||(0,i.x)(e)===e);return a.set(r,s),s}},35922:function(e,t,n){"use strict";n.d(t,{E:function(){return o}});var r=n(44898),i=n(14433);function o(e,t){if(!(0,i.U)(e,{strict:!1}))throw new r.b({address:e});if(!(0,i.U)(t,{strict:!1}))throw new r.b({address:t});return e.toLowerCase()===t.toLowerCase()}},22302:function(e,t,n){"use strict";n.d(t,{z:function(){return u}});var r=n(33465),i=n(3556),o=n(73596),a=n(15578),s=n(68725),c=n(82112);async function u(e){let{authorization:t,signature:n}=e;return(0,r.R)({hash:function(e){let{chainId:t,nonce:n,to:r}=e,u=e.contractAddress??e.address,l=(0,c.w)((0,i.SM)(["0x05",(0,s.LV)([t?(0,a.eC)(t):"0x",u,n?(0,a.eC)(n):"0x"])]));return"bytes"===r?(0,o.nr)(l):l}(t),signature:n??t})}},77434:function(e,t,n){"use strict";n.d(t,{P:function(){return o}});var r=n(73596),i=n(15578);function o(e){let{kzg:t}=e,n=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),o="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,r.nr)(e)):e.blobs,a=[];for(let e of o)a.push(Uint8Array.from(t.blobToKzgCommitment(e)));return"bytes"===n?a:a.map(e=>(0,i.ci)(e))}},47987:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var r=n(73596),i=n(15578);function o(e){let{kzg:t}=e,n=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),o="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,r.nr)(e)):e.blobs,a="string"==typeof e.commitments[0]?e.commitments.map(e=>(0,r.nr)(e)):e.commitments,s=[];for(let e=0;e<o.length;e++){let n=o[e],r=a[e];s.push(Uint8Array.from(t.computeBlobKzgProof(n,r)))}return"bytes"===n?s:s.map(e=>(0,i.ci)(e))}},17204:function(e,t,n){"use strict";n.d(t,{C:function(){return s}});var r=n(15578),i=n(25651),o=n(21230),a=n(73596);function s(e){let{commitments:t,version:n}=e,s=e.to??("string"==typeof t[0]?"hex":"bytes"),c=[];for(let e of t)c.push(function(e){let{commitment:t,version:n=1}=e,s=e.to??("string"==typeof t?"hex":"bytes"),c=function(e,t){let n=(0,i.JQ)((0,o.v)(e,{strict:!1})?(0,a.O0)(e):e);return"bytes"===(t||"hex")?n:(0,r.NC)(n)}(t,"bytes");return c.set([n],0),"bytes"===s?c:(0,r.ci)(c)}({commitment:e,to:s,version:n}));return c}},22816:function(e,t,n){"use strict";n.d(t,{j:function(){return l}});var r=n(77434),i=n(47987),o=n(10421),a=n(3425),s=n(95305),c=n(73596),u=n(15578);function l(e){let{data:t,kzg:n,to:l}=e,d=e.blobs??function(e){let t=e.to??("string"==typeof e.data?"hex":"bytes"),n="string"==typeof e.data?(0,c.nr)(e.data):e.data,r=(0,s.d)(n);if(!r)throw new o.RX;if(r>761855)throw new o.m7({maxSize:761855,size:r});let i=[],l=!0,d=0;for(;l;){let e=(0,a.q)(new Uint8Array(131072)),t=0;for(;t<4096;){let r=n.slice(d,d+31);if(e.pushByte(0),e.pushBytes(r),r.length<31){e.pushByte(128),l=!1;break}t++,d+=31}i.push(e)}return"bytes"===t?i.map(e=>e.bytes):i.map(e=>(0,u.ci)(e.bytes))}({data:t,to:l}),f=e.commitments??(0,r.P)({blobs:d,kzg:n,to:l}),h=e.proofs??(0,i.y)({blobs:d,commitments:f,kzg:n,to:l}),p=[];for(let e=0;e<d.length;e++)p.push({blob:d[e],commitment:f[e],proof:h[e]});return p}},55597:function(e,t,n){"use strict";function r(e){return{formatters:void 0,fees:void 0,serializers:void 0,...e}}n.d(t,{a:function(){return r}})},73621:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(55774);function i({blockNumber:e,chain:t,contract:n}){let i=t?.contracts?.[n];if(!i)throw new r.mm({chain:t,contract:{name:n}});if(e&&i.blockCreated&&i.blockCreated>e)throw new r.mm({blockNumber:e,chain:t,contract:{name:n,blockCreated:i.blockCreated}});return i.address}},3425:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var r=n(92155);let i={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:Number.POSITIVE_INFINITY,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new r.KD({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new r.lQ({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new r.T_({offset:e});let t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new r.T_({offset:e});let t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){let n=t??this.position;return this.assertPosition(n+e-1),this.bytes.subarray(n,n+e)},inspectUint8(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){let t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){let t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){let t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,255&e),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();let e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();let n=this.inspectBytes(e);return this.position+=t??e,n},readUint8(){this.assertReadLimit(),this._touch();let e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();let e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();let e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();let e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){let t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;let e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};function o(e,{recursiveReadLimit:t=8192}={}){let n=Object.create(i);return n.bytes=e,n.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength),n.positionReadCount=new Map,n.recursiveReadLimit=t,n}},3556:function(e,t,n){"use strict";function r(e){return"string"==typeof e[0]?i(e):function(e){let t=0;for(let n of e)t+=n.length;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}(e)}function i(e){return`0x${e.reduce((e,t)=>
54e+t.replace("0x",""),"")}`}n.d(t,{SM:function(){return i},zo:function(){return r}})},21230:function(e,t,n){"use strict";function r(e,{strict:t=!0}={}){return!!e&&"string"==typeof e&&(t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x"))}n.d(t,{v:function(){return r}})},89507:function(e,t,n){"use strict";n.d(t,{gc:function(){return o},vk:function(){return i}});var r=n(11758);function i(e,{dir:t,size:n=32}={}){return"string"==typeof e?o(e,{dir:t,size:n}):function(e,{dir:t,size:n=32}={}){if(null===n)return e;if(e.length>n)throw new r.$s({size:e.length,targetSize:n,type:"bytes"});let i=new Uint8Array(n);for(let r=0;r<n;r++){let o="right"===t;i[o?r:n-r-1]=e[o?r:e.length-r-1]}return i}(e,{dir:t,size:n})}function o(e,{dir:t,size:n=32}={}){if(null===n)return e;let i=e.replace("0x","");if(i.length>2*n)throw new r.$s({size:Math.ceil(i.length/2),targetSize:n,type:"hex"});return`0x${i["right"===t?"padEnd":"padStart"](2*n,"0")}`}},95305:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});var r=n(21230);function i(e){return(0,r.v)(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}},23090:function(e,t,n){"use strict";n.d(t,{T4:function(){return u},p5:function(){return l},tP:function(){return a}});var r=n(11758),i=n(21230),o=n(95305);function a(e,t,n,{strict:r}={}){return(0,i.v)(e,{strict:!1})?l(e,t,n,{strict:r}):u(e,t,n,{strict:r})}function s(e,t){if("number"==typeof t&&t>0&&t>(0,o.d)(e)-1)throw new r.mV({offset:t,position:"start",size:(0,o.d)(e)})}function c(e,t,n){if("number"==typeof t&&"number"==typeof n&&(0,o.d)(e)!==n-t)throw new r.mV({offset:n,position:"end",size:(0,o.d)(e)})}function u(e,t,n,{strict:r}={}){s(e,t);let i=e.slice(t,n);return r&&c(i,t,n),i}function l(e,t,n,{strict:r}={}){s(e,t);let i=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return r&&c(i,t,n),i}},71264:function(e,t,n){"use strict";function r(e,{dir:t="left"}={}){let n="string"==typeof e?e.replace("0x",""):e,r=0;for(let e=0;e<n.length-1&&"0"===n["left"===t?e:n.length-e-1].toString();e++)r++;return(n="left"===t?n.slice(r):n.slice(0,n.length-r),"string"==typeof e)?(1===n.length&&"right"===t&&(n=`${n}0`),`0x${n.length%2==1?`0${n}`:n}`):n}n.d(t,{f:function(){return r}})},55936:function(e,t,n){"use strict";n.d(t,{XA:function(){return u},Yf:function(){return s},ly:function(){return l},rR:function(){return d},y_:function(){return c}});var r=n(75851),i=n(95305),o=n(71264),a=n(73596);function s(e,{size:t}){if((0,i.d)(e)>t)throw new r.M6({givenSize:(0,i.d)(e),maxSize:t})}function c(e,t={}){let{signed:n}=t;t.size&&s(e,{size:t.size});let r=BigInt(e);if(!n)return r;let i=(e.length-2)/2;return r<=(1n<<8n*BigInt(i)-1n)-1n?r:r-BigInt(`0x${"f".padStart(2*i,"f")}`)-1n}function u(e,t={}){let n=e;if(t.size&&(s(n,{size:t.size}),n=(0,o.f)(n)),"0x00"===(0,o.f)(n))return!1;if("0x01"===(0,o.f)(n))return!0;throw new r.Cd(n)}function l(e,t={}){return Number(c(e,t))}function d(e,t={}){let n=(0,a.nr)(e);return t.size&&(s(n,{size:t.size}),n=(0,o.f)(n,{dir:"right"})),new TextDecoder().decode(n)}},73596:function(e,t,n){"use strict";n.d(t,{O0:function(){return u},nr:function(){return f},qX:function(){return h}});var r=n(51273),i=n(21230),o=n(89507),a=n(55936),s=n(15578);let c=new TextEncoder;function u(e,t={}){return"number"==typeof e||"bigint"==typeof e?f((0,s.eC)(e,t)):"boolean"==typeof e?function(e,t={}){let n=new Uint8Array(1);return(n[0]=Number(e),"number"==typeof t.size)?((0,a.Yf)(n,{size:t.size}),(0,o.vk)(n,{size:t.size})):n}(e,t):(0,i.v)(e)?f(e,t):h(e,t)}let l={zero:48,nine:57,A:65,F:70,a:97,f:102};function d(e){return e>=l.zero&&e<=l.nine?e-l.zero:e>=l.A&&e<=l.F?e-(l.A-10):e>=l.a&&e<=l.f?e-(l.a-10):void 0}function f(e,t={}){let n=e;t.size&&((0,a.Yf)(n,{size:t.size}),n=(0,o.vk)(n,{dir:"right",size:t.size}));let i=n.slice(2);i.length%2&&(i=`0${i}`);let s=i.length/2,c=new Uint8Array(s);for(let e=0,t=0;e<s;e++){let n=d(i.charCodeAt(t++)),o=d(i.charCodeAt(t++));if(void 0===n||void 0===o)throw new r.G(`Invalid byte sequence ("${i[t-2]}${i[t-1]}" in "${i}").`);c[e]=16*n+o}return c}function h(e,t={}){let n=c.encode(e);return"number"==typeof t.size?((0,a.Yf)(n,{size:t.size}),(0,o.vk)(n,{dir:"right",size:t.size})):n}},15578:function(e,t,n){"use strict";n.d(t,{$G:function(){return f},C4:function(){return c},NC:function(){return s},ci:function(){return u},eC:function(){return l}});var r=n(75851),i=n(89507),o=n(55936);let a=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function s(e,t={}){return"number"==typeof e||"bigint"==typeof e?l(e,t):"string"==typeof e?f(e,t):"boolean"==typeof e?c(e,t):u(e,t)}function c(e,t={}){let n=`0x${Number(e)}`;return"number"==typeof t.size?((0,o.Yf)(n,{size:t.size}),(0,i.vk)(n,{size:t.size})):n}function u(e,t={}){let n="";for(let t=0;t<e.length;t++)n+=a[e[t]];let r=`0x${n}`;return"number"==typeof t.size?((0,o.Yf)(r,{size:t.size}),(0,i.vk)(r,{dir:"right",size:t.size})):r}function l(e,t={}){let n;let{signed:o,size:a}=t,s=BigInt(e);
54a?n=o?(1n<<8n*BigInt(a)-1n)-1n:2n**(8n*BigInt(a))-1n:"number"==typeof e&&(n=BigInt(Number.MAX_SAFE_INTEGER));let c="bigint"==typeof n&&o?-n-1n:0;if(n&&s>n||s<c){let t="bigint"==typeof e?"n":"";throw new r.J5({max:n?`${n}${t}`:void 0,min:`${c}${t}`,signed:o,size:a,value:`${e}${t}`})}let u=`0x${(o&&s<0?(1n<<BigInt(8*a))+BigInt(s):s).toString(16)}`;return a?(0,i.vk)(u,{size:a}):u}let d=new TextEncoder;function f(e,t={}){return u(d.encode(e),t)}},68725:function(e,t,n){"use strict";n.d(t,{LV:function(){return s}});var r=n(51273),i=n(3425),o=n(73596),a=n(15578);function s(e,t="hex"){let n=function e(t){return Array.isArray(t)?function(e){let t=e.reduce((e,t)=>e+t.length,0),n=c(t);return{length:t<=55?1+t:1+n+t,encode(r){for(let{encode:i}of(t<=55?r.pushByte(192+t):(r.pushByte(247+n),1===n?r.pushUint8(t):2===n?r.pushUint16(t):3===n?r.pushUint24(t):r.pushUint32(t)),e))i(r)}}}(t.map(t=>e(t))):function(e){let t="string"==typeof e?(0,o.nr)(e):e,n=c(t.length);return{length:1===t.length&&t[0]<128?1:t.length<=55?1+t.length:1+n+t.length,encode(e){1===t.length&&t[0]<128||(t.length<=55?e.pushByte(128+t.length):(e.pushByte(183+n),1===n?e.pushUint8(t.length):2===n?e.pushUint16(t.length):3===n?e.pushUint24(t.length):e.pushUint32(t.length))),e.pushBytes(t)}}}(t)}(e),r=(0,i.q)(new Uint8Array(n.length));return(n.encode(r),"hex"===t)?(0,a.ci)(r.bytes):r.bytes}function c(e){if(e<256)return 1;if(e<65536)return 2;if(e<16777216)return 3;if(e<4294967296)return 4;throw new r.G("Length is too large.")}},72364:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(21230);function i(e){if(66!==e.length||0!==e.indexOf("[")||65!==e.indexOf("]"))return null;let t=`0x${e.slice(1,65)}`;return(0,r.v)(t)?t:null}},96316:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});var r=n(26390),i=n(51273),o=n(47115);function a(e,t){if(!(e instanceof i.G))return!1;let n=e.walk(e=>e instanceof o.Lu);return n instanceof o.Lu&&(!!(n.data?.errorName==="ResolverNotFound"||n.data?.errorName==="ResolverWildcardNotSupported"||n.data?.errorName==="ResolverNotContract"||n.data?.errorName==="ResolverError"||n.data?.errorName==="HttpError"||n.reason?.includes("Wildcard on non-extended resolvers is not supported"))||"reverse"===t&&n.reason===r.$[50])}},8291:function(e,t,n){"use strict";n.d(t,{V:function(){return c}});var r=n(3556),i=n(73596),o=n(15578),a=n(82112),s=n(72364);function c(e){let t=new Uint8Array(32).fill(0);if(!e)return(0,o.ci)(t);let n=e.split(".");for(let e=n.length-1;e>=0;e-=1){let o=(0,s.i)(n[e]),c=o?(0,i.O0)(o):(0,a.w)((0,i.qX)(n[e]),"bytes");t=(0,a.w)((0,r.zo)([t,c]),"bytes")}return(0,o.ci)(t)}},81176:function(e,t,n){"use strict";let r,i,o,a,s,c,u,l,d,f,h,p,m,y,g;n.d(t,{F:function(){return W}});let b=new Map([[8217,"apostrophe"],[8260,"fraction slash"],[12539,"middle dot"]]);function w(e){var t;let n;return t=function(e){let t=0;function n(){return e[t++]<<8|e[t++]}let r=n(),i=1,o=[0,1];for(let e=1;e<r;e++)o.push(i+=n());let a=n(),s=t;t+=a;let c=0,u=0;function l(){return 0==c&&(u=u<<8|e[t++],c=8),u>>--c&1}let d=2147483648-1,f=0;for(let e=0;e<31;e++)f=f<<1|l();let h=[],p=0,m=2147483648;for(;;){let e=Math.floor(((f-p+1)*i-1)/m),t=0,n=r;for(;n-t>1;){let r=t+n>>>1;e<o[r]?n=r:t=r}if(0==t)break;h.push(t);let a=p+Math.floor(m*o[t]/i),s=p+Math.floor(m*o[t+1]/i)-1;for(;((a^s)&1073741824)==0;)f=f<<1&d|l(),a=a<<1&d,s=s<<1&d|1;for(;a&~s&536870912;)f=1073741824&f|f<<1&d>>>1|l(),a=a<<1^1073741824,s=(1073741824^s)<<1|1073741825;p=a,m=1+s-a}let y=r-4;return h.map(t=>{switch(t-y){case 3:return y+65792+(e[s++]<<16|e[s++]<<8|e[s++]);case 2:return y+256+(e[s++]<<8|e[s++]);case 1:return y+e[s++];default:return t-1}})}(function(e){let t=[];[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"].forEach((e,n)=>t[e.charCodeAt(0)]=n);let n=e.length,r=new Uint8Array(6*n>>3);for(let i=0,o=0,a=0,s=0;i<n;i++)s=s<<6|t[e.charCodeAt(i)],(a+=6)>=8&&(r[o++]=s>>(a-=8));return r}(e)),n=0,()=>t[n++]}function v(e,t=0){let n=[];for(;;){let r=e(),i=e();if(!i)break;t+=r;for(let e=0;e<i;e++)n.push(t+e);t+=i+1}return n}function A(e){return E(()=>{let t=v(e);if(t.length)return t})}function x(e){let t=[];for(;;){let n=e();if(0==n)break;t.push(function(e,t){let n=1+t(),r=t(),i=E(t);return C(i.length,1+e,t).flatMap((e,t)=>{let[o,...a]=e;return Array(i[t]).fill().map((e,t)=>{let i=t*r;return[o+t*n,a.map(e=>e+i)]})})}(n,e))}for(;;){let n=e()-1;if(n<0)break;t.push(C(1+e(),1+n,e).map(e=>[e[0],e.slice(1)]))}return t.flat()}function E(e){let t=[];for(;;){let n=e(t.length);if(!n)break;t.push(n)}return t}
54function C(e,t,n){let r=Array(e).fill().map(()=>[]);for(let i=0;i<t;i++)(function(e,t){let n=Array(e);for(let i=0,o=0;i<e;i++){var r;n[i]=o+=1&(r=t())?~r>>1:r>>1}return n})(e,n).forEach((e,t)=>r[t].push(e));return r}function I(e){return`{${e.toString(16).toUpperCase().padStart(2,"0")}}`}function k(e){let t=e.length;if(t<4096)return String.fromCodePoint(...e);let n=[];for(let r=0;r<t;)n.push(String.fromCodePoint(...e.slice(r,r+=4096)));return n.join("")}function B(e,t){let n=e.length,r=n-t.length;for(let i=0;0==r&&i<n;i++)r=e[i]-t[i];return r}function P(e){return e>>24&255}function T(e){return 16777215&e}function O(e){return e>=44032&&e<55204}function S(e){r||function(){let e=w("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");for(let[t,n]of(r=new Map(A(e).flatMap((e,t)=>e.map(e=>[e,t+1<<24]))),i=new Set(v(e)),o=new Map,a=new Map,x(e))){if(!i.has(t)&&2==n.length){let[e,r]=n,i=a.get(e);i||(i=new Map,a.set(e,i)),i.set(r,t)}o.set(t,n.reverse())}}();let t=[],n=[],s=!1;function c(e){let n=r.get(e);n&&(s=!0,e|=n),t.push(e)}for(let r of e)for(;;){if(r<128)t.push(r);else if(O(r)){let e=r-44032,t=e/588|0,n=e%588/28|0,i=e%28;c(4352+t),c(4449+n),i>0&&c(4519+i)}else{let e=o.get(r);e?n.push(...e):c(r)}if(!n.length)break;r=n.pop()}if(s&&t.length>1){let e=P(t[0]);for(let n=1;n<t.length;n++){let r=P(t[n]);if(0==r||e<=r){e=r;continue}let i=n-1;for(;;){let n=t[i+1];if(t[i+1]=t[i],t[i]=n,!i||(e=P(t[--i]))<=r)break}e=P(t[n])}}return t}function R(e){return function(e){let t=[],n=[],r=-1,i=0;for(let o of e){let e=P(o),s=T(o);if(-1==r)0==e?r=s:t.push(s);else if(i>0&&i>=e)0==e?(t.push(r,...n),n.length=0,r=s):n.push(s),i=e;else{let o=function(e,t){if(e>=4352&&e<4371&&t>=4449&&t<4470)return 44032+(e-4352)*588+(t-4449)*28;if(O(e)&&t>4519&&t<4547&&(e-44032)%28==0)return e+(t-4519);{let n=a.get(e);return n&&(n=n.get(t))?n:-1}}(r,s);o>=0?r=o:0==i&&0==e?(t.push(r),r=s):(n.push(s),i=e)}}return r>=0&&t.push(r,...n),t}(S(e))}let N=e=>Array.from(e);function M(e,t){return e.P.has(t)||e.Q.has(t)}class F extends Array{get is_emoji(){return!0}}function L(){let e,t;if(s)return;let n=w("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"),r=()=>v(n),i=()=>new Set(r()),o=(e,t)=>t.forEach(t=>e.add(t));s=new Map(x(n)),c=i(),u=r(),l=new Set(r().map(e=>u[e])),u=new Set(u),d=i(),i();let a=A(n),b=n(),C=()=>{let e=new Set;return r().forEach(t=>o(e,a[t])),o(e,r()),e};f=E(e=>{let t=E(n).map(e=>e+96);if(t.length){let r=e>=b;return t[0]-=32,t=k(t),r&&(t=`Restricted[${t}]`),{N:t,P:C(),Q:C(),M:!n(),R:r}}}),h=i(),p=new Map;let I=r().concat(N(h)).sort((e,t)=>e-t);for(let{V:e,M:t}of(I.forEach((e,t)=>{let r=n(),i=I[t]=r?I[t-r]:{V:[],M:new Map};i.V.push(e),h.has(e)||p.set(e,i)}),new Set(p.values()))){let n=[];for(let t of e){let e=f.filter(e=>M(e,t)),r=n.find(({G:t})=>e.some(e=>t.has(e)));r||(r={G:new Set,V:[]},n.push(r)),r.V.push(t),o(r.G,e)}let r=n.flatMap(e=>N(e.G));for(let{G:e,V:i}of n){let n=new Set(r.filter(t=>!e.has(t)));for(let e of i)t.set(e,n)}}m=new Set;let P=new Set,O=e=>m.has(e)?P.add(e):m.add(e);for(let e of f){for(let t of e.P)O(t);for(let t of e.Q)O(t)}for(let e of m)p.has(e)||P.has(e)||p.set(e,1);for(let r of(o(m,S(m).map(T)),y=(e=[],t=v(n),function t({S:n,B:r},i,o){if(!(4&n)||o!==i[i.length-1])for(let a of(2&n&&(o=i[i.length-1]),1&n&&e.push(i),r))for(let e of a.Q)t(a,[...i,e],o)}(function e(r){return{S:n(),B:E(()=>{let r=v(n).map(e=>t[e]);if(r.length)return e(r)}),Q:r}}([]),[]),e).map(e=>F.from(e)).sort(B),g=new Map,y)){let e=[g];for(let t of r){let n=e.map(e=>{let n=e.get(t);return n||(n=new Map,e.set(t,n)),n});65039===t?e.push(...n):e=n}for(let t of e)t.V=r}}function U(e){return(j(e)?"":`${D(_([e]))} `)+I(e)}function D(e){return`"${e}"\u200E`}function _(e,t=1/0,n=I){var r;let i=[];r=e[0],L(),u.has(r)&&i.push("◌"),e.length>t&&(t>>=1,e=[...e.slice(0,t),8230,...e.slice(-t)]);let o=0,a=e.length;for(let t=0;t<a;t++){let r=e[t];j(r)&&(i.push(k(e.slice(o,t))),i.push(n(r)),o=t+1)}return i.push(k(e.slice(o,a))),i.join("")}function j(e){return L(),d.has(e)}function q(e){return Error(`disallowed character: ${U(e)}`)}function z(e,t){let n=U(t),r=f.find(e=>e.P.has(t));return r&&(n=`${r.N} ${n}`),Error(`illegal mixture: ${e.N} + ${n}`)}function G(e){return Error(`illegal placement: ${e}`)}function Q(e){return e.filter(e=>65039!=e)}function W(e){var t;return(t=function(e,t,n){if(!e)return[];L();let r=0;return e.split(".").map(e=>{let i=function(e){let t=[];for(let n=0,r=e.length;n<r;){let r=e.codePointAt(n);n+=r<65536?1:2,t.push(r)}return t}(e),o={input:i,offset:r};r+=i.length+1;try{let e,r=o.tokens=function(e,t,n){let r=[],i=[];for(e=e.slice().reverse();e.length;){let o=function(e,t){let n,r=g,i=e.length;for(;i&&(r=r.get(e[--i]));){let{V:o}=r;o&&(n=o,t&&t.push(...e.slice(i).reverse()),e.length=i)}return n}(e);if(o)i.length&&(r.push(t(i)),i=[]),r.push(n(o));else{let t=e.pop();if(m.has(t))i.push(t);else{let e=s.get(t);if(e)i.push(...e);else if(!c.has(t))throw q(t)}}}return i.length&&r.push(t(i)),r}(i,t,n),a=r.length;if(!a)throw Error("empty label");let d=o.output=r.flat();if(!function(e){for(let t=e.lastIndexOf(95);t>0;)if(95!==e[--t])throw Error("underscore allowed only at start")}(d),!(o.emoji=a>1||r[0].is_emoji)&&d.every(e=>e<128))!function(e){if(e.length>=4&&45==e[2]&&45==e[3])throw Error(`invalid label extension: "${k(e.slice(0,4))}"`)}(d),e="ASCII";else{let t=r.flatMap(e=>e.is_emoji?[]:e);if(t.length){if(u.has(d[0]))throw G("leading combining mark");for(let e=1;e<a;e++){let t=r[e];
54if(!t.is_emoji&&u.has(t[0]))throw G(`emoji + combining mark: "${k(r[e-1])} + ${_([t[0]])}"`)}!function(e){let t=e[0],n=b.get(t);if(n)throw G(`leading ${n}`);let r=e.length,i=-1;for(let o=1;o<r;o++){t=e[o];let r=b.get(t);if(r){if(i==o)throw G(`${n} + ${r}`);i=o+1,n=r}}if(i==r)throw G(`trailing ${n}`)}(d);let n=N(new Set(t)),[i]=function(e){let t=f;for(let n of e){let e=t.filter(e=>M(e,n));if(!e.length){if(f.some(e=>M(e,n)))throw z(t[0],n);throw q(n)}if(t=e,1==e.length)break}return t}(n);(function(e,t){for(let n of t)if(!M(e,n))throw z(e,n);if(e.M){let e=S(t).map(T);for(let t=1,n=e.length;t<n;t++)if(l.has(e[t])){let r=t+1;for(let i;r<n&&l.has(i=e[r]);r++)for(let n=t;n<r;n++)if(e[n]==i)throw Error(`duplicate non-spacing marks: ${U(i)}`);if(r-t>4)throw Error(`excessive non-spacing marks: ${D(_(e.slice(t-1,r)))} (${r-t}/4)`);t=r}}})(i,t),function(e,t){let n;let r=[];for(let e of t){let t=p.get(e);if(1===t)return;if(t){let r=t.M.get(e);if(!(n=n?n.filter(e=>r.has(e)):N(r)).length)return}else r.push(e)}if(n){for(let t of n)if(r.every(e=>M(t,e)))throw Error(`whole-script confusable: ${e.N}/${t.N}`)}}(i,n),e=i.N}else e="Emoji"}o.type=e}catch(e){o.error=e}return o})}(e,R,Q)).map(({input:e,error:n,output:r})=>{if(n){let r=n.message;throw Error(1==t.length?r:`Invalid label ${D(_(e,63))}: ${r}`)}return k(r)}).join(".")}},24761:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r=n(73596),i=n(15578),o=n(82112),a=n(72364);function s(e){let t=e.replace(/^\.|\.$/gm,"");if(0===t.length)return new Uint8Array(1);let n=new Uint8Array((0,r.qX)(t).byteLength+2),s=0,c=t.split(".");for(let e=0;e<c.length;e++){let t=(0,r.qX)(c[e]);if(t.byteLength>255){var u;t=(0,r.qX)((u=function(e){let t=new Uint8Array(32).fill(0);return e?(0,a.i)(e)||(0,o.w)((0,r.qX)(e)):(0,i.ci)(t)}(c[e]),`[${u.slice(2)}]`))}n[s]=t.length,n.set(t,s+1),s+=t.length+1}return n.byteLength!==s+1?n.slice(0,s+1):n}},21250:function(e,t,n){"use strict";n.d(t,{P:function(){return a}});var r=n(47115),i=n(26463),o=n(85069);function a(e,{docsPath:t,...n}){let a=(()=>{let t=(0,o.k)(e,n);return t instanceof i.cj?e:t})();return new r.cg(a,{docsPath:t,...n})}},95094:function(e,t,n){"use strict";n.d(t,{S:function(){return c}});var r=n(45581),i=n(51273),o=n(47115),a=n(37825),s=n(24473);function c(e,{abi:t,address:n,args:c,docsPath:u,functionName:l,sender:d}){let f=e instanceof o.VQ?e:e instanceof i.G?e.walk(e=>"data"in e)||e.walk():{},{code:h,data:p,details:m,message:y,shortMessage:g}=f,b=e instanceof r.wb?new o.Dk({functionName:l}):[3,s.XS.code].includes(h)&&(p||m||y||g)?new o.Lu({abi:t,data:"object"==typeof p?p.data:p,functionName:l,message:f instanceof a.bs?m:g??y}):e;return new o.uq(b,{abi:t,args:c,contractAddress:n,docsPath:u,functionName:l,sender:d})}},85069:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(51273),i=n(26463);function o(e,t){let n=(e.details||"").toLowerCase(),o=e instanceof r.G?e.walk(e=>e?.code===i.M_.code):e;return o instanceof r.G?new i.M_({cause:e,message:o.details}):i.M_.nodeMessage.test(n)?new i.M_({cause:e,message:e.details}):i.Hh.nodeMessage.test(n)?new i.Hh({cause:e,maxFeePerGas:t?.maxFeePerGas}):i.G$.nodeMessage.test(n)?new i.G$({cause:e,maxFeePerGas:t?.maxFeePerGas}):i.ZI.nodeMessage.test(n)?new i.ZI({cause:e,nonce:t?.nonce}):i.vU.nodeMessage.test(n)?new i.vU({cause:e,nonce:t?.nonce}):i.se.nodeMessage.test(n)?new i.se({cause:e,nonce:t?.nonce}):i.C_.nodeMessage.test(n)?new i.C_({cause:e}):i.WF.nodeMessage.test(n)?new i.WF({cause:e,gas:t?.gas}):i.dR.nodeMessage.test(n)?new i.dR({cause:e,gas:t?.gas}):i.pZ.nodeMessage.test(n)?new i.pZ({cause:e}):i.cs.nodeMessage.test(n)?new i.cs({cause:e,maxFeePerGas:t?.maxFeePerGas,maxPriorityFeePerGas:t?.maxPriorityFeePerGas}):new i.cj({cause:e})}},44324:function(e,t,n){"use strict";n.d(t,{G:function(){return a},Z:function(){return o}});var r=n(30728),i=n(56547);function o(e){let t=(e.transactions??[]).map(e=>"string"==typeof e?e:(0,i.Tr)(e));return{...e,baseFeePerGas:e.baseFeePerGas?BigInt(e.baseFeePerGas):null,blobGasUsed:e.blobGasUsed?BigInt(e.blobGasUsed):void 0,difficulty:e.difficulty?BigInt(e.difficulty):void 0,excessBlobGas:e.excessBlobGas?BigInt(e.excessBlobGas):void 0,gasLimit:e.gasLim
54it?BigInt(e.gasLimit):void 0,gasUsed:e.gasUsed?BigInt(e.gasUsed):void 0,hash:e.hash?e.hash:null,logsBloom:e.logsBloom?e.logsBloom:null,nonce:e.nonce?e.nonce:null,number:e.number?BigInt(e.number):null,size:e.size?BigInt(e.size):void 0,timestamp:e.timestamp?BigInt(e.timestamp):void 0,transactions:t,totalDifficulty:e.totalDifficulty?BigInt(e.totalDifficulty):null}}let a=(0,r.$)("block",o)},67306:function(e,t,n){"use strict";function r(e,{format:t}){if(!t)return{};let n={};return!function t(r){for(let i of Object.keys(r))i in e&&(n[i]=e[i]),r[i]&&"object"==typeof r[i]&&!Array.isArray(r[i])&&t(r[i])}(t(e||{})),n}n.d(t,{K:function(){return r}})},30728:function(e,t,n){"use strict";function r(e,t){return({exclude:n,format:r})=>({exclude:n,format:e=>{let i=t(e);if(n)for(let e of n)delete i[e];return{...i,...r(e)}},type:e})}n.d(t,{$:function(){return r}})},6819:function(e,t,n){"use strict";function r(e,{args:t,eventName:n}={}){return{...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,logIndex:e.logIndex?Number(e.logIndex):null,transactionHash:e.transactionHash?e.transactionHash:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,...n?{args:t,eventName:n}:{}}}n.d(t,{U:function(){return r}})},56547:function(e,t,n){"use strict";n.d(t,{Tr:function(){return a},c8:function(){return o},y_:function(){return s}});var r=n(55936),i=n(30728);let o={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function a(e){let t={...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,chainId:e.chainId?(0,r.ly)(e.chainId):void 0,gas:e.gas?BigInt(e.gas):void 0,gasPrice:e.gasPrice?BigInt(e.gasPrice):void 0,maxFeePerBlobGas:e.maxFeePerBlobGas?BigInt(e.maxFeePerBlobGas):void 0,maxFeePerGas:e.maxFeePerGas?BigInt(e.maxFeePerGas):void 0,maxPriorityFeePerGas:e.maxPriorityFeePerGas?BigInt(e.maxPriorityFeePerGas):void 0,nonce:e.nonce?(0,r.ly)(e.nonce):void 0,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,type:e.type?o[e.type]:void 0,typeHex:e.type?e.type:void 0,value:e.value?BigInt(e.value):void 0,v:e.v?BigInt(e.v):void 0};return e.authorizationList&&(t.authorizationList=e.authorizationList.map(e=>({address:e.address,chainId:Number(e.chainId),nonce:Number(e.nonce),r:e.r,s:e.s,yParity:Number(e.yParity)}))),t.yParity=(()=>{if(e.yParity)return Number(e.yParity);if("bigint"==typeof t.v){if(0n===t.v||27n===t.v)return 0;if(1n===t.v||28n===t.v)return 1;if(t.v>=35n)return t.v%2n===0n?1:0}})(),"legacy"===t.type&&(delete t.accessList,delete t.maxFeePerBlobGas,delete t.maxFeePerGas,delete t.maxPriorityFeePerGas,delete t.yParity),"eip2930"===t.type&&(delete t.maxFeePerBlobGas,delete t.maxFeePerGas,delete t.maxPriorityFeePerGas),"eip1559"===t.type&&delete t.maxFeePerBlobGas,t}let s=(0,i.$)("transaction",a)},36227:function(e,t,n){"use strict";n.d(t,{dI:function(){return u},fA:function(){return c}});var r=n(55936),i=n(30728),o=n(6819),a=n(56547);let s={"0x0":"reverted","0x1":"success"};function c(e){let t={...e,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,contractAddress:e.contractAddress?e.contractAddress:null,cumulativeGasUsed:e.cumulativeGasUsed?BigInt(e.cumulativeGasUsed):null,effectiveGasPrice:e.effectiveGasPrice?BigInt(e.effectiveGasPrice):null,gasUsed:e.gasUsed?BigInt(e.gasUsed):null,logs:e.logs?e.logs.map(e=>(0,o.U)(e)):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?(0,r.ly)(e.transactionIndex):null,status:e.status?s[e.status]:null,type:e.type?a.c8[e.type]||e.type:null};return e.blobGasPrice&&(t.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(t.blobGasUsed=BigInt(e.blobGasUsed)),t}let u=(0,i.$)("transactionReceipt",c)},20662:function(e,t,n){"use strict";n.d(t,{tG:function(){return o}});var r=n(15578);let i={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"};function o(e){let t={};return void 0!==e.authorizationList&&(t.authorizationList=e.authorizationList.map(e=>({address:e.address,r:e.r?(0,r.eC)(BigInt(e.r)):e.r,s:e.s?(0,r.eC)(BigInt(e.s)):e.s,chainId:(0,r.eC)(e.chainId),nonce:(0,r.eC)(e.nonce),...void 0!==e.yParity?{yParity:(0,r.eC)(e.yParity)}:{},...void 0!==e.v&&void 0===e.yParity?{v:(0,r.eC)(e.v)}:{}}))),void 0!==e.accessList&&(t.accessList=e.accessList),void 0!==e.blobVersionedHashes&&(t.blobVersionedHashes=e.blobVersionedHashes),void 0!==e.blobs&&("string"!=typeof e.blobs[0]?t.blobs=e.blobs.map(e=>(0,r.ci)(e)):t.blobs=e.blobs),void 0!==e.data&&(t.data=e.data),void 0!==e.from&&(t.from=e.from),void 0!==e.gas&&(t.gas=(0,r.eC)(e.gas)),void 0!==e.gasPrice&&(t.gasPrice=(0,r.eC)(e.gasPrice)),void 0!==e.maxFeePerBlobGas&&(t.maxFeePerBlobGas=(0,r.eC)(e.maxFeePerBlobGas)),void 0!==e.maxFeePerGas&&(t.maxFeePerGas=(0,r.eC)(e.maxFeePerGas)),void 0!==e.maxPriorityFeePerGas&&(t.maxPriorityFeePerGas=(0,r.eC)(e.maxPriorityFeePerGas)),void 0!==e.nonce&&(t.nonce=(0,r.eC)(e.nonce)),void 0!==e.to&&(t.to=e.to),void 0!==e.type&&(t.type=i[e.type]),void 0!==e.value&&(t.value=(0,r.eC)(e.value)),t}},31935:function(e,t,n){"use strict";function r(e,t,n){let r=e[t.name];if("function"==typeof r)return r;let i=e[n];return"function"==typeof i?i:n=>t(e,n)}n.d(t,{s:function(){return r}})},82112:function(e,t,n){"use strict";n.d(t,{w:function(){return T}});var r=n(22674);let i=BigInt(4294967296-1),o=BigInt(32),a=(e,t,n)=>e<<n|t>>>32-n,s=(e,t,n)=>t<<n|e>>>32-n,c=(e,t,n)=>t<<n-32|e>>>
5464-n,u=(e,t,n)=>e<<n-32|t>>>64-n;var l=n(27721);let d=[],f=[],h=[],p=BigInt(0),m=BigInt(1),y=BigInt(2),g=BigInt(7),b=BigInt(256),w=BigInt(113);for(let e=0,t=m,n=1,r=0;e<24;e++){[n,r]=[r,(2*n+3*r)%5],d.push(2*(5*r+n)),f.push((e+1)*(e+2)/2%64);let i=p;for(let e=0;e<7;e++)(t=(t<<m^(t>>g)*w)%b)&y&&(i^=m<<(m<<BigInt(e))-m);h.push(i)}let[v,A]=function(e,t=!1){let n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let a=0;a<e.length;a++){let{h:s,l:c}=function(e,t=!1){return t?{h:Number(e&i),l:Number(e>>o&i)}:{h:0|Number(e>>o&i),l:0|Number(e&i)}}(e[a],t);[n[a],r[a]]=[s,c]}return[n,r]}(h,!0),x=(e,t,n)=>n>32?c(e,t,n):a(e,t,n),E=(e,t,n)=>n>32?u(e,t,n):s(e,t,n);class C extends l.kb{constructor(e,t,n,i=!1,o=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=n,this.enableXOF=i,this.rounds=o,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,r.k8)(n),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,l.Jq)(this.state)}keccak(){l.iA||(0,l.l1)(this.state32),function(e,t=24){let n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let t=0;t<10;t++)n[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let r=(t+8)%10,i=(t+2)%10,o=n[i],a=n[i+1],s=x(o,a,1)^n[r],c=E(o,a,1)^n[r+1];for(let n=0;n<50;n+=10)e[t+n]^=s,e[t+n+1]^=c}let t=e[2],i=e[3];for(let n=0;n<24;n++){let r=f[n],o=x(t,i,r),a=E(t,i,r),s=d[n];t=e[s],i=e[s+1],e[s]=o,e[s+1]=a}for(let t=0;t<50;t+=10){for(let r=0;r<10;r++)n[r]=e[t+r];for(let r=0;r<10;r++)e[t+r]^=~n[(r+2)%10]&n[(r+4)%10]}e[0]^=v[r],e[1]^=A[r]}n.fill(0)}(this.state32,this.rounds),l.iA||(0,l.l1)(this.state32),this.posOut=0,this.pos=0}update(e){(0,r.$h)(this);let{blockLen:t,state:n}=this,i=(e=(0,l.O0)(e)).length;for(let r=0;r<i;){let o=Math.min(t-this.pos,i-r);for(let t=0;t<o;t++)n[this.pos++]^=e[r++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:n,blockLen:r}=this;e[n]^=t,(128&t)!=0&&n===r-1&&this.keccak(),e[r-1]^=128,this.keccak()}writeInto(e){(0,r.$h)(this,!1),(0,r.gk)(e),this.finish();let t=this.state,{blockLen:n}=this;for(let r=0,i=e.length;r<i;){this.posOut>=n&&this.keccak();let o=Math.min(n-this.posOut,i-r);e.set(t.subarray(this.posOut,this.posOut+o),r),this.posOut+=o,r+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,r.k8)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,r.eB)(e,this),this.finished)throw Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(e){let{blockLen:t,suffix:n,outputLen:r,rounds:i,enableXOF:o}=this;return e||(e=new C(t,n,r,o,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=n,e.outputLen=r,e.enableXOF=o,e.destroyed=this.destroyed,e}}let I=(0,l.hE)(()=>new C(136,1,32));var k=n(21230),B=n(73596),P=n(15578);function T(e,t){let n=I((0,k.v)(e,{strict:!1})?(0,B.O0)(e):e);return"bytes"===(t||"hex")?n:(0,P.NC)(n)}},58113:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});let r=n(31024).r},9226:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var r=n(23090),i=n(31024);let o=e=>(0,r.tP)((0,i.r)(e),0,4)},31024:function(e,t,n){"use strict";n.d(t,{r:function(){return u}});var r=n(73596),i=n(82112);let o=e=>(0,i.w)((0,r.O0)(e));var a=n(97675),s=n(51273);let c=e=>(function(e){let t=!0,n="",r=0,i="",o=!1;for(let a=0;a<e.length;a++){let s=e[a];if(["(",")",","].includes(s)&&(t=!0),"("===s&&r++,")"===s&&r--,t){if(0===r){if(" "===s&&["event","function",""].includes(i))i="";else if(i+=s,")"===s){o=!0;break}continue}if(" "===s){","!==e[a-1]&&","!==n&&",("!==n&&(n="",t=!1);continue}i+=s,n+=s}}if(!o)throw new s.G("Unable to normalize signature.");return i})("string"==typeof e?e:(0,a.t)(e));function u(e){return o(c(e))}},20686:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});class r extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){let t=super.get(e);return super.has(e)&&void 0!==t&&(this.delete(e),super.set(e,t)),t}set(e,t){if(super.set(e,t),this.maxSize&&this.size>this.maxSize){let e=this.keys().next().value;e&&this.delete(e)}return this}}},85583:function(e,t,n){"use strict";n.d(t,{N7:function(){return a}});let r=new Map,i=new Map,o=0;function a(e,t,n){let a=++o,s=()=>r.get(e)||[],c=()=>{let t=s();r.set(e,t.filter(e=>e.id!==a))},u=()=>{let t=s();if(!t.some(e=>e.id===a))return;let n=i.get(e);1===t.length&&n&&n(),c()},l=s();if(r.set(e,[...l,{id:a,fns:t}]),l&&l.length>0)return u;let d={};for(let e in t)d[e]=(...t)=>{let n=s();if(0!==n.length)for(let r of n)r.fns[e]?.(...t)};let f=n(d);return"function"==typeof f&&i.set(e,f),u}},33e3:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var r=n(83440);function i(e,{emitOnBegin:t,initialWaitTime:n,interval:i}){let o=!0,a=()=>o=!1;return(async()=>{let s;t&&(s=await e({unpoll:a}));let c=await n?.(s)??i;await (0,r.D)(c);let u=async()=>{o&&(await e({unpoll:a}),await (0,r.D)(i),u())};u()})(),a}},5493:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(19212);let i=new Map;
54function o({fn:e,id:t,shouldSplitBatch:n,wait:o=0,sort:a}){let s=async()=>{let t=l();c();let n=t.map(({args:e})=>e);0!==n.length&&e(n).then(e=>{a&&Array.isArray(e)&&e.sort(a);for(let n=0;n<t.length;n++){let{resolve:r}=t[n];r?.([e[n],e])}}).catch(e=>{for(let n=0;n<t.length;n++){let{reject:r}=t[n];r?.(e)}})},c=()=>i.delete(t),u=()=>l().map(({args:e})=>e),l=()=>i.get(t)||[],d=e=>i.set(t,[...l(),e]);return{flush:c,async schedule(e){let{promise:t,resolve:i,reject:a}=(0,r.n)();return(n?.([...u(),e])&&s(),l().length>0)?d({args:e,resolve:i,reject:a}):(d({args:e,resolve:i,reject:a}),setTimeout(s,o)),t}}}},19212:function(e,t,n){"use strict";function r(){let e=()=>void 0,t=()=>void 0;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}n.d(t,{n:function(){return r}})},42179:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(83440);function i(e,{delay:t=100,retryCount:n=2,shouldRetry:i=()=>!0}={}){return new Promise((o,a)=>{let s=async({count:c=0}={})=>{let u=async({error:e})=>{let n="function"==typeof t?t({count:c,error:e}):t;n&&await (0,r.D)(n),s({count:c+1})};try{let t=await e();o(t)}catch(e){if(c<n&&await i({count:c,error:e}))return u({error:e});a(e)}};s()})}},9416:function(e,t,n){"use strict";function r(e,{errorInstance:t=Error("timed out"),timeout:n,signal:r}){return new Promise((i,o)=>{(async()=>{let a;try{let s=new AbortController;n>0&&(a=setTimeout(()=>{r?s.abort():o(t)},n)),i(await e({signal:s?.signal||null}))}catch(e){e?.name==="AbortError"&&o(t),o(e)}finally{clearTimeout(a)}})()})}n.d(t,{F:function(){return r}})},97676:function(e,t,n){"use strict";n.d(t,{eL:function(){return r},lh:function(){return i}});let r=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,i=/^(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)?$/},2909:function(e,t,n){"use strict";n.d(t,{r:function(){return s}});var r=n(82112),i=n(3556),o=n(95305),a=n(15578);function s(e,t){return(0,r.w)(function(e){let t="string"==typeof e?(0,a.$G)(e):"string"==typeof e.raw?e.raw:(0,a.ci)(e.raw),n=(0,a.$G)(`�Ethereum Signed Message:
55${(0,o.d)(t)}`);return(0,i.zo)([n,t])}(e),t)}},19586:function(e,t,n){"use strict";n.d(t,{Jv:function(){return g}});var r=n(8580),i=n(3556),o=n(15578),a=n(82112),s=n(45581),c=n(44898),u=n(92791),l=n(51273);class d extends l.G{constructor({domain:e}){super(`Invalid domain "${(0,u.P)(e)}".`,{metaMessages:["Must be a valid EIP-712 domain."]})}}class f extends l.G{constructor({primaryType:e,types:t}){super(`Invalid primary type \`${e}\` must be one of \`${JSON.stringify(Object.keys(t))}\`.`,{docsPath:"/api/glossary/Errors#typeddatainvalidprimarytypeerror",metaMessages:["Check that the primary type is a key in `types`."]})}}class h extends l.G{constructor({type:e}){super(`Struct type "${e}" is invalid.`,{metaMessages:["Struct type must not be a Solidity type."],name:"InvalidStructTypeError"})}}var p=n(14433),m=n(95305),y=n(97676);function g(e){let{domain:t={},message:n,primaryType:r}=e,u={EIP712Domain:function({domain:e}){return["string"==typeof e?.name&&{name:"name",type:"string"},e?.version&&{name:"version",type:"string"},("number"==typeof e?.chainId||"bigint"==typeof e?.chainId)&&{name:"chainId",type:"uint256"},e?.verifyingContract&&{name:"verifyingContract",type:"address"},e?.salt&&{name:"salt",type:"bytes32"}].filter(Boolean)}({domain:t}),...e.types};!function(e){let{domain:t,message:n,primaryType:r,types:i}=e,a=(e,t)=>{for(let n of e){let{name:e,type:r}=n,u=t[e],l=r.match(y.lh);if(l&&("number"==typeof u||"bigint"==typeof u)){let[e,t,n]=l;(0,o.eC)(u,{signed:"int"===t,size:Number.parseInt(n)/8})}if("address"===r&&"string"==typeof u&&!(0,p.U)(u))throw new c.b({address:u});let d=r.match(y.eL);if(d){let[e,t]=d;if(t&&(0,m.d)(u)!==Number.parseInt(t))throw new s.KY({expectedSize:Number.parseInt(t),givenSize:(0,m.d)(u)})}let f=i[r];f&&(function(e){if("address"===e||"bool"===e||"string"===e||e.startsWith("bytes")||e.startsWith("uint")||e.startsWith("int"))throw new h({type:e})}(r),a(f,u))}};if(i.EIP712Domain&&t){if("object"!=typeof t)throw new d({domain:t});a(i.EIP712Domain,t)}if("EIP712Domain"!==r){if(i[r])a(i[r],n);else throw new f({primaryType:r,types:i})}}({domain:t,message:n,primaryType:r,types:u});let l=["0x1901"];return t&&l.push(function({domain:e,types:t}){return b({data:e,primaryType:"EIP712Domain",types:t})}({domain:t,types:u})),"EIP712Domain"!==r&&l.push(b({data:n,primaryType:r,types:u})),(0,a.w)((0,i.zo)(l))}function b({data:e,primaryType:t,types:n}){let i=function e({data:t,primaryType:n,types:i}){let s=[{type:"bytes32"}],c=[function({primaryType:e,types:t}){let n=(0,o.NC)(function({primaryType:e,types:t}){let n="",r=function e({primaryType:t,types:n},r=new Set){let i=t.match(/^\w*/u),o=i?.[0];if(r.has(o)||void 0===n[o])return r;for(let t of(r.add(o),n[o]))e({primaryType:t.type,types:n},r);return r}({primaryType:e,types:t});for(let i of(r.delete(e),[e,...Array.from(r).sort()]))n+=`${i}(${t[i].map(({name:e,type:t})=>`${t} ${e}`).join(",")})`;return n}({primaryType:e,types:t}));return(0,a.w)(n)}({primaryType:n,types:i})];for(let u of i[n]){let[n,l]=function t({types:n,name:i,type:s,value:c}){if(void 0!==n[s])return[{type:"bytes32"},(0,a.w)(e({data:c,primaryType:s,types:n}))];if("bytes"===s){let e=c.length%2?"0":"";return c=`0x${e+c.slice(2)}`,[{type:"bytes32"},(0,a.w)(c)]}if("string"===s)return[{type:"bytes32"},(0,a.w)((0,o.NC)(c))];if(s.lastIndexOf("]")===s.length-1){let e=s.slice(0,s.lastIndexOf("[")),o=c.map(r=>
55t({name:i,type:e,types:n,value:r}));return[{type:"bytes32"},(0,a.w)((0,r.E)(o.map(([e])=>e),o.map(([,e])=>e)))]}return[{type:s},c]}({types:i,name:u.name,type:u.type,value:t[u.name]});s.push(n),c.push(l)}return(0,r.E)(s,c)}({data:e,primaryType:t,types:n});return(0,a.w)(i)}},33465:function(e,t,n){"use strict";n.d(t,{R:function(){return l}});var r=n(75036),i=n(82112),o=n(21230),a=n(55936),s=n(15578);async function c({hash:e,signature:t}){let r=(0,o.v)(e)?e:(0,s.NC)(e),{secp256k1:i}=await Promise.resolve().then(n.bind(n,32298)),c=(()=>{if("object"==typeof t&&"r"in t&&"s"in t){let{r:e,s:n,v:r,yParity:o}=t,s=u(Number(o??r));return new i.Signature((0,a.y_)(e),(0,a.y_)(n)).addRecoveryBit(s)}let e=(0,o.v)(t)?t:(0,s.NC)(t),n=u((0,a.ly)(`0x${e.slice(130)}`));return i.Signature.fromCompact(e.substring(2,130)).addRecoveryBit(n)})().recoverPublicKey(r.substring(2)).toHex(!1);return`0x${c}`}function u(e){if(0===e||1===e)return e;if(27===e)return 0;if(28===e)return 1;throw Error("Invalid yParityOrV value")}async function l({hash:e,signature:t}){return function(e){let t=(0,i.w)(`0x${e.substring(4)}`).substring(26);return(0,r.x)(`0x${t}`)}(await c({hash:e,signature:t}))}},86403:function(e,t,n){"use strict";n.d(t,{mF:function(){return u}});var r=n(44898),i=n(11758),o=n(94655),a=n(14433),s=n(15578);function c(e){if(e&&0!==e.length)return e.reduce((e,{slot:t,value:n})=>{if(66!==t.length)throw new i.W_({size:t.length,targetSize:66,type:"hex"});if(66!==n.length)throw new i.W_({size:n.length,targetSize:66,type:"hex"});return e[t]=n,e},{})}function u(e){if(!e)return;let t={};for(let{address:n,...i}of e){if(!(0,a.U)(n,{strict:!1}))throw new r.b({address:n});if(t[n])throw new o.Nc({address:n});t[n]=function(e){let{balance:t,nonce:n,state:r,stateDiff:i,code:a}=e,u={};if(void 0!==a&&(u.code=a),void 0!==t&&(u.balance=(0,s.eC)(t)),void 0!==n&&(u.nonce=(0,s.eC)(n)),void 0!==r&&(u.state=c(r)),void 0!==i){if(u.state)throw new o.Z8;u.stateDiff=c(i)}return u}(i)}return t}},92791:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});let r=(e,t,n)=>JSON.stringify(e,(e,n)=>{let r="bigint"==typeof n?n.toString():n;return"function"==typeof t?t(e,r):r},n)},15337:function(e,t,n){"use strict";n.d(t,{F:function(){return u}});var r=n(79561),i=n(92525),o=n(44898),a=n(26463),s=n(10289),c=n(14433);function u(e){let{account:t,gasPrice:n,maxFeePerGas:u,maxPriorityFeePerGas:l,to:d}=e,f=t?(0,r.T)(t):void 0;if(f&&!(0,c.U)(f.address))throw new o.b({address:f.address});if(d&&!(0,c.U)(d))throw new o.b({address:d});if(void 0!==n&&(void 0!==u||void 0!==l))throw new s.xY;if(u&&u>i.zL)throw new a.Hh({maxFeePerGas:u});if(l&&u&&l>u)throw new a.cs({maxFeePerGas:u,maxPriorityFeePerGas:l})}},66782:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(10289);function i(e){if(e.type)return e.type;if(void 0!==e.authorizationList)return"eip7702";if(void 0!==e.blobs||void 0!==e.blobVersionedHashes||void 0!==e.maxFeePerBlobGas||void 0!==e.sidecars)return"eip4844";if(void 0!==e.maxFeePerGas||void 0!==e.maxPriorityFeePerGas)return"eip1559";if(void 0!==e.gasPrice)return void 0!==e.accessList?"eip2930":"legacy";throw new r.j3({transaction:e})}},92586:function(e,t,n){"use strict";let r;n.d(t,{h:function(){return o}});let i=256;function o(e=11){if(!r||i+e>512){r="",i=0;for(let e=0;e<256;e++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(i,i+++e)}},52926:function(e,t,n){"use strict";n.d(t,{d:function(){return o}});var r=n(4817),i=n(60989);function o(e,t="wei"){return(0,i.b)(e,r.ez[t])}},98206:function(e,t,n){"use strict";n.d(t,{o:function(){return o}});var r=n(4817),i=n(60989);function o(e,t="wei"){return(0,i.b)(e,r.Zn[t])}},60989:function(e,t,n){"use strict";function r(e,t){let n=e.toString(),r=n.startsWith("-");r&&(n=n.slice(1));let[i,o]=[(n=n.padStart(t,"0")).slice(0,n.length-t),n.slice(n.length-t)];return o=o.replace(/(0+)$/,""),`${r?"-":""}${i||"0"}${o?`.${o}`:""}`}n.d(t,{b:function(){return r}})},83440:function(e,t,n){"use strict";async function r(e){return new Promise(t=>setTimeout(t,e))}n.d(t,{D:function(){return r}})},32298:function(e,t,n){"use strict";n.d(t,{secp256k1:function(){return eE}});var r={};n.r(r),n.d(r,{Fy:function(){return O},uw:function(){return p},gk:function(){return h},Dd:function(){return S},dQ:function(){return R},ci:function(){return y},bytesToNumberBE:function(){return x},ty:function(){return E},eV:function(){return B},n$:function(){return F},ql:function(){return k},hexToBytes:function(){return A},Z2:function(){return T},_t:function(){return f},H9:function(){return D},tL:function(){return C},S5:function(){return I},uz:function(){return g},FF:function(){return U}});var i=n(25651),o=n(22674),a=n(27721);class s extends a.kb{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,(0,o.z3)(e);let n=(0,a.O0)(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let r=this.blockLen,i=new Uint8Array(r);i.set(n.length>r?e.create().update(n).digest():n);for(let e=0;e<i.length;e++)i[e]^=54;this.iHash.update(i),this.oHash=e.create();for(let e=0;e<i.length;e++)i[e]^=106;this.oHash.update(i),i.fill(0)}update(e){return(0,o.$h)(this),this.iHash.update(e),this}digestInto(e){(0,o.$h)(this),(0,o.gk)(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){let e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));let{oHash:t,iHash:n,finished:r,destroyed:i,blockLen:o,outputLen:a}=this;return e.finished=r,e.destroyed=i,e.blockLen=o,e.outputLen=a,e.oHash=t._cloneInto(e.oHash),e.iHash=n._cloneInto(e.iHash),e}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}let c=(e,t,n)=>new s(e,t).update(n).digest();c.create=(e,t)=>
55new s(e,t);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let u=BigInt(0),l=BigInt(1),d=BigInt(2);function f(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function h(e){if(!f(e))throw Error("Uint8Array expected")}function p(e,t){if("boolean"!=typeof t)throw Error(e+" boolean expected, got "+t)}let m=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function y(e){h(e);let t="";for(let n=0;n<e.length;n++)t+=m[e[n]];return t}function g(e){let t=e.toString(16);return 1&t.length?"0"+t:t}function b(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);return""===e?u:BigInt("0x"+e)}let w={_0:48,_9:57,A:65,F:70,a:97,f:102};function v(e){return e>=w._0&&e<=w._9?e-w._0:e>=w.A&&e<=w.F?e-(w.A-10):e>=w.a&&e<=w.f?e-(w.a-10):void 0}function A(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);let t=e.length,n=t/2;if(t%2)throw Error("hex string expected, got unpadded hex of length "+t);let r=new Uint8Array(n);for(let t=0,i=0;t<n;t++,i+=2){let n=v(e.charCodeAt(i)),o=v(e.charCodeAt(i+1));if(void 0===n||void 0===o)throw Error('hex string expected, got non-hex character "'+(e[i]+e[i+1])+'" at index '+i);r[t]=16*n+o}return r}function x(e){return b(y(e))}function E(e){return h(e),b(y(Uint8Array.from(e).reverse()))}function C(e,t){return A(e.toString(16).padStart(2*t,"0"))}function I(e,t){return C(e,t).reverse()}function k(e,t,n){let r;if("string"==typeof t)try{r=A(t)}catch(t){throw Error(e+" must be hex string or Uint8Array, cause: "+t)}else if(f(t))r=Uint8Array.from(t);else throw Error(e+" must be hex string or Uint8Array");let i=r.length;if("number"==typeof n&&i!==n)throw Error(e+" of length "+n+" expected, got "+i);return r}function B(...e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];h(r),t+=r.length}let n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){let i=e[t];n.set(i,r),r+=i.length}return n}let P=e=>"bigint"==typeof e&&u<=e;function T(e,t,n){return P(e)&&P(t)&&P(n)&&t<=e&&e<n}function O(e,t,n,r){if(!T(t,n,r))throw Error("expected valid "+e+": "+n+" <= n < "+r+", got "+t)}function S(e){let t;for(t=0;e>u;e>>=l,t+=1);return t}let R=e=>(d<<BigInt(e-1))-l,N=e=>new Uint8Array(e),M=e=>Uint8Array.from(e);function F(e,t,n){if("number"!=typeof e||e<2)throw Error("hashLen must be a number");if("number"!=typeof t||t<2)throw Error("qByteLen must be a number");if("function"!=typeof n)throw Error("hmacFn must be a function");let r=N(e),i=N(e),o=0,a=()=>{r.fill(1),i.fill(0),o=0},s=(...e)=>n(i,r,...e),c=(e=N())=>{i=s(M([0]),e),r=s(),0!==e.length&&(i=s(M([1]),e),r=s())},u=()=>{if(o++>=1e3)throw Error("drbg: tried 1000 values");let e=0,n=[];for(;e<t;){let t=(r=s()).slice();n.push(t),e+=r.length}return B(...n)};return(e,t)=>{let n;for(a(),c(e);!(n=t(u()));)c();return a(),n}}let L={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||f(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"==typeof e&&Number.isSafeInteger(e.outputLen)};function U(e,t,n={}){let r=(t,n,r)=>{let i=L[n];if("function"!=typeof i)throw Error("invalid validator function");let o=e[t];if((!r||void 0!==o)&&!i(o,e))throw Error("param "+String(t)+" is invalid. Expected "+n+", got "+o)};for(let[e,n]of Object.entries(t))r(e,n,!1);for(let[e,t]of Object.entries(n))r(e,t,!0);return e}function D(e){let t=new WeakMap;return(n,...r)=>{let i=t.get(n);if(void 0!==i)return i;let o=e(n,...r);return t.set(n,o),o}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let _=BigInt(0),j=BigInt(1),q=BigInt(2),z=BigInt(3),G=BigInt(4),Q=BigInt(5),W=BigInt(8);function H(e,t){let n=e%t;return n>=_?n:t+n}function K(e,t,n){let r=e;for(;t-- >_;)r*=r,r%=n;return r}function $(e,t){if(e===_)throw Error("invert: expected non-zero number");if(t<=_)throw Error("invert: expected positive modulus, got "+t);let n=H(e,t),r=t,i=_,o=j,a=j,s=_;for(;n!==_;){let e=r/n,t=r%n,c=i-a*e,u=o-s*e;r=n,n=t,i=a,o=s,a=c,s=u}if(r!==j)throw Error("invert: does not exist");return H(i,t)}let V=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Z(e,t){let n=void 0!==t?t:e.toString(2).length;return{nBitLength:n,nByteLength:Math.ceil(n/8)}}function J(e,t,n=!1,r={}){let i;if(e<=_)throw Error("invalid field: expected ORDER > 0, got "+e);let{nBitLength:o,nByteLength:a}=Z(e,t);if(a>2048)throw Error("invalid field: expected ORDER of <= 2048 bytes");let s=Object.freeze({ORDER:e,isLE:n,BITS:o,BYTES:a,MASK:R(o),ZERO:_,ONE:j,create:t=>H(t,e),isValid:t=>{if("bigint"!=typeof t)throw Error("invalid field element: expected bigint, got "+typeof t);return _<=t&&t<e},is0:e=>e===_,isOdd:e=>(e&j)===j,neg:t=>H(-t,e),eql:(e,t)=>
55e===t,sqr:t=>H(t*t,e),add:(t,n)=>H(t+n,e),sub:(t,n)=>H(t-n,e),mul:(t,n)=>H(t*n,e),pow:(e,t)=>(function(e,t,n){if(n<_)throw Error("invalid exponent, negatives unsupported");if(n===_)return e.ONE;if(n===j)return t;let r=e.ONE,i=t;for(;n>_;)n&j&&(r=e.mul(r,i)),i=e.sqr(i),n>>=j;return r})(s,e,t),div:(t,n)=>H(t*$(n,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>$(t,e),sqrt:r.sqrt||(t=>(i||(i=function(e){if(e%G===z){let t=(e+j)/G;return function(e,n){let r=e.pow(n,t);if(!e.eql(e.sqr(r),n))throw Error("Cannot find square root");return r}}if(e%W===Q){let t=(e-Q)/W;return function(e,n){let r=e.mul(n,q),i=e.pow(r,t),o=e.mul(n,i),a=e.mul(e.mul(o,q),i),s=e.mul(o,e.sub(a,e.ONE));if(!e.eql(e.sqr(s),n))throw Error("Cannot find square root");return s}}return function(e){let t,n,r;let i=(e-j)/q;for(t=e-j,n=0;t%q===_;t/=q,n++);for(r=q;r<e&&function(e,t,n){if(t<_)throw Error("invalid exponent, negatives unsupported");if(n<=_)throw Error("invalid modulus");if(n===j)return _;let r=j;for(;t>_;)t&j&&(r=r*e%n),e=e*e%n,t>>=j;return r}(r,i,e)!==e-j;r++)if(r>1e3)throw Error("Cannot find square root: likely non-prime P");if(1===n){let t=(e+j)/G;return function(e,n){let r=e.pow(n,t);if(!e.eql(e.sqr(r),n))throw Error("Cannot find square root");return r}}let o=(t+j)/q;return function(e,a){if(e.pow(a,i)===e.neg(e.ONE))throw Error("Cannot find square root");let s=n,c=e.pow(e.mul(e.ONE,r),t),u=e.pow(a,o),l=e.pow(a,t);for(;!e.eql(l,e.ONE);){if(e.eql(l,e.ZERO))return e.ZERO;let t=1;for(let n=e.sqr(l);t<s&&!e.eql(n,e.ONE);t++)n=e.sqr(n);let n=e.pow(c,j<<BigInt(s-t-1));c=e.sqr(n),u=e.mul(u,n),l=e.mul(l,c),s=t}return u}}(e)}(e)),i(s,t))),invertBatch:e=>(function(e,t){let n=Array(t.length),r=t.reduce((t,r,i)=>e.is0(r)?t:(n[i]=t,e.mul(t,r)),e.ONE),i=e.inv(r);return t.reduceRight((t,r,i)=>e.is0(r)?t:(n[i]=e.mul(t,n[i]),e.mul(t,r)),i),n})(s,e),cmov:(e,t,n)=>n?t:e,toBytes:e=>n?I(e,a):C(e,a),fromBytes:e=>{if(e.length!==a)throw Error("Field.fromBytes: expected "+a+" bytes, got "+e.length);return n?E(e):x(e)}});return Object.freeze(s)}function Y(e){if("bigint"!=typeof e)throw Error("field order must be bigint");return Math.ceil(e.toString(2).length/8)}function X(e){let t=Y(e);return t+Math.ceil(t/2)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let ee=BigInt(0),et=BigInt(1);function en(e,t){let n=t.negate();return e?n:t}function er(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw Error("invalid window size, expected [1.."+t+"], got W="+e)}function ei(e,t){return er(e,t),{windows:Math.ceil(t/e)+1,windowSize:2**(e-1)}}let eo=new WeakMap,ea=new WeakMap;function es(e){return ea.get(e)||1}function ec(e){return U(e.Fp,V.reduce((e,t)=>(e[t]="function",e),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"})),U(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...Z(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function eu(e){void 0!==e.lowS&&p("lowS",e.lowS),void 0!==e.prehash&&p("prehash",e.prehash)}let{bytesToNumberBE:el,hexToBytes:ed}=r;class ef extends Error{constructor(e=""){super(e)}}let eh={Err:ef,_tlv:{encode:(e,t)=>{let{Err:n}=eh;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(1&t.length)throw new n("tlv.encode: unpadded data");let r=t.length/2,i=g(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");let o=r>127?g(i.length/2|128):"";return g(e)+o+i+t},decode(e,t){let{Err:n}=eh,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");let i=t[r++],o=0;if(128&i){let e=127&i;if(!e)throw new n("tlv.decode(long): indefinite length not supported");if(e>4)throw new n("tlv.decode(long): byte length is too big");let a=t.subarray(r,r+e);if(a.length!==e)throw new n("tlv.decode: length bytes not complete");if(0===a[0])throw new n("tlv.decode(long): zero leftmost byte");for(let e of a)o=o<<8|e;if(r+=e,o<128)throw new n("tlv.decode(long): not minimal encoding")}else o=i;let a=t.subarray(r,r+o);if(a.length!==o)throw new n("tlv.decode: wrong value length");return{v:a,l:t.subarray(r+o)}}},_int:{encode(e){let{Err:t}=eh;if(e<ep)throw new t("integer: negative integers are not allowed");let n=g(e);if(8&Number.parseInt(n[0],16)&&(n="00"+n),1&n.length)throw new t("unexpected DER parsing assertion: unpadded hex");return n},decode(e){let{Err:t}=eh;if(128&e[0])throw new t("invalid signature integer: negative");if(0===e[0]&&!(128&e[1]))throw new t("invalid signature integer: unnecessary leading zero");return el(e)}},toSig(e){let{Err:t,_int:n,_tlv:r}=eh,i="string"==typeof e?ed(e):e;h(i);let{v:o,l:a}=r.decode(48,i);if(a.length)throw new t("invalid signature: left bytes after parsing");let{v:s,l:c}=r.decode(2,o),{v:u,l:l}=r.decode(2,c);if(l.length)throw new t("invalid signature: left bytes after parsing");return{r:n.decode(s),s:n.decode(u)}},hexFromSig(e){let{_tlv:t,_int:n}=eh,r=t.encode(2,n.encode(e.r)),i=t.encode(2,n.encode(e.s));return t.encode(48,r+i)}},ep=BigInt(0),em=BigInt(1),ey=(BigInt(2),BigInt(3));BigInt(4);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let eg=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),eb=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),ew=BigInt(1),ev=BigInt(2),eA=(e,t)=>
55(e+t/ev)/t,ex=J(eg,void 0,void 0,{sqrt:function(e){let t=BigInt(3),n=BigInt(6),r=BigInt(11),i=BigInt(22),o=BigInt(23),a=BigInt(44),s=BigInt(88),c=e*e*e%eg,u=c*c*e%eg,l=K(u,t,eg)*u%eg,d=K(l,t,eg)*u%eg,f=K(d,ev,eg)*c%eg,h=K(f,r,eg)*f%eg,p=K(h,i,eg)*h%eg,m=K(p,a,eg)*p%eg,y=K(m,s,eg)*m%eg,g=K(y,a,eg)*p%eg,b=K(g,t,eg)*u%eg,w=K(b,o,eg)*h%eg,v=K(w,n,eg)*c%eg,A=K(v,ev,eg);if(!ex.eql(ex.sqr(A),e))throw Error("Cannot find square root");return A}}),eE=function(e,t){let n=t=>(function(e){let t=function(e){let t=ec(e);return U(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}(e),{Fp:n,n:r}=t,i=n.BYTES+1,o=2*n.BYTES+1;function a(e){return H(e,r)}let{ProjectivePoint:s,normPrivateKeyToScalar:c,weierstrassEquation:u,isWithinCurveOrder:l}=function(e){var t;let n=function(e){let t=ec(e);U(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});let{endo:n,Fp:r,a:i}=t;if(n){if(!r.eql(i,r.ZERO))throw Error("invalid endomorphism, can only be defined for Koblitz curves that have a=0");if("object"!=typeof n||"bigint"!=typeof n.beta||"function"!=typeof n.splitScalar)throw Error("invalid endomorphism, expected beta: bigint and splitScalar: function")}return Object.freeze({...t})}(e),{Fp:r}=n,i=J(n.n,n.nBitLength),o=n.toBytes||((e,t,n)=>{let i=t.toAffine();return B(Uint8Array.from([4]),r.toBytes(i.x),r.toBytes(i.y))}),a=n.fromBytes||(e=>{let t=e.subarray(1);return{x:r.fromBytes(t.subarray(0,r.BYTES)),y:r.fromBytes(t.subarray(r.BYTES,2*r.BYTES))}});function s(e){let{a:t,b:i}=n,o=r.sqr(e),a=r.mul(o,e);return r.add(r.add(a,r.mul(e,t)),i)}if(!r.eql(r.sqr(n.Gy),s(n.Gx)))throw Error("bad generator point: equation left != right");function c(e){let t;let{allowedPrivateKeyLengths:r,nByteLength:i,wrapPrivateKey:o,n:a}=n;if(r&&"bigint"!=typeof e){if(f(e)&&(e=y(e)),"string"!=typeof e||!r.includes(e.length))throw Error("invalid private key");e=e.padStart(2*i,"0")}try{t="bigint"==typeof e?e:x(k("private key",e,i))}catch(t){throw Error("invalid private key, expected hex or "+i+" bytes, got "+typeof e)}return o&&(t=H(t,a)),O("private key",t,em,a),t}function u(e){if(!(e instanceof h))throw Error("ProjectivePoint expected")}let l=D((e,t)=>{let{px:n,py:i,pz:o}=e;if(r.eql(o,r.ONE))return{x:n,y:i};let a=e.is0();null==t&&(t=a?r.ONE:r.inv(o));let s=r.mul(n,t),c=r.mul(i,t),u=r.mul(o,t);if(a)return{x:r.ZERO,y:r.ZERO};if(!r.eql(u,r.ONE))throw Error("invZ was invalid");return{x:s,y:c}}),d=D(e=>{if(e.is0()){if(n.allowInfinityPoint&&!r.is0(e.py))return;throw Error("bad point: ZERO")}let{x:t,y:i}=e.toAffine();if(!r.isValid(t)||!r.isValid(i))throw Error("bad point: x or y not FE");let o=r.sqr(i),a=s(t);if(!r.eql(o,a))throw Error("bad point: equation left != right");if(!e.isTorsionFree())throw Error("bad point: not in prime-order subgroup");return!0});class h{constructor(e,t,n){if(this.px=e,this.py=t,this.pz=n,null==e||!r.isValid(e))throw Error("x required");if(null==t||!r.isValid(t))throw Error("y required");if(null==n||!r.isValid(n))throw Error("z required");Object.freeze(this)}static fromAffine(e){let{x:t,y:n}=e||{};if(!e||!r.isValid(t)||!r.isValid(n))throw Error("invalid affine point");if(e instanceof h)throw Error("projective point not allowed");let i=e=>r.eql(e,r.ZERO);return i(t)&&i(n)?h.ZERO:new h(t,n,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){let t=r.invertBatch(e.map(e=>e.pz));return e.map((e,n)=>e.toAffine(t[n])).map(h.fromAffine)}static fromHex(e){let t=h.fromAffine(a(k("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return h.BASE.multiply(c(e))}static msm(e,t){return function(e,t,n,r){if(!function(e,t){if(!Array.isArray(e))throw Error("array expected");e.forEach((e,n)=>{if(!(e instanceof t))throw Error("invalid point at index "+n)})}(n,e),!function(e,t){if(!Array.isArray(e))throw Error("array of scalars expected");e.forEach((e,n)=>{if(!t.isValid(e))throw Error("invalid scalar at index "+n)})}(r,t),n.length!==r.length)throw Error("arrays of points and scalars must have equal length");let i=e.ZERO,o=S(BigInt(n.length)),a=o>12?o-3:o>4?o-2:o?2:1,s=(1<<a)-1,c=Array(s+1).fill(i),u=Math.floor((t.BITS-1)/a)*a,l=i;for(let e=u;e>=0;e-=a){c.fill(i);for(let t=0;t<r.length;t++){let i=Number(r[t]>>BigInt(e)&BigInt(s));c[i]=c[i].add(n[t])}let t=i;for(let e=c.length-1,n=i;e>0;e--)n=n.add(c[e]),t=t.add(n);if(l=l.add(t),0!==e)for(let e=0;e<a;e++)l=l.double()}return l}(h,i,e,t)}_setWindowSize(e){g.setWindowSize(this,e)}assertValidity(){d(this)}hasEvenY(){let{y:e}=this.toAffine();if(r.isOdd)return!r.isOdd(e);throw Error("Field doesn't support isOdd")}equals(e){u(e);let{px:t,py:n,pz:i}=this,{px:o,py:a,pz:s}=e,c=r.eql(r.mul(t,s),r.mul(o,i)),l=r.eql(r.mul(n,s),r.mul(a,i));return c&&l}negate(){return new h(this.px,r.neg(this.py),this.pz)}double(){let{a:e,b:t}=n,i=r.mul(t,ey),{px:o,py:a,pz:s}
55=this,c=r.ZERO,u=r.ZERO,l=r.ZERO,d=r.mul(o,o),f=r.mul(a,a),p=r.mul(s,s),m=r.mul(o,a);return m=r.add(m,m),l=r.mul(o,s),l=r.add(l,l),c=r.mul(e,l),u=r.mul(i,p),u=r.add(c,u),c=r.sub(f,u),u=r.add(f,u),u=r.mul(c,u),c=r.mul(m,c),l=r.mul(i,l),p=r.mul(e,p),m=r.sub(d,p),m=r.mul(e,m),m=r.add(m,l),l=r.add(d,d),d=r.add(l,d),d=r.add(d,p),d=r.mul(d,m),u=r.add(u,d),p=r.mul(a,s),p=r.add(p,p),d=r.mul(p,m),c=r.sub(c,d),l=r.mul(p,f),l=r.add(l,l),new h(c,u,l=r.add(l,l))}add(e){u(e);let{px:t,py:i,pz:o}=this,{px:a,py:s,pz:c}=e,l=r.ZERO,d=r.ZERO,f=r.ZERO,p=n.a,m=r.mul(n.b,ey),y=r.mul(t,a),g=r.mul(i,s),b=r.mul(o,c),w=r.add(t,i),v=r.add(a,s);w=r.mul(w,v),v=r.add(y,g),w=r.sub(w,v),v=r.add(t,o);let A=r.add(a,c);return v=r.mul(v,A),A=r.add(y,b),v=r.sub(v,A),A=r.add(i,o),l=r.add(s,c),A=r.mul(A,l),l=r.add(g,b),A=r.sub(A,l),f=r.mul(p,v),l=r.mul(m,b),f=r.add(l,f),l=r.sub(g,f),f=r.add(g,f),d=r.mul(l,f),g=r.add(y,y),g=r.add(g,y),b=r.mul(p,b),v=r.mul(m,v),g=r.add(g,b),b=r.sub(y,b),b=r.mul(p,b),v=r.add(v,b),y=r.mul(g,v),d=r.add(d,y),y=r.mul(A,v),l=r.mul(w,l),l=r.sub(l,y),y=r.mul(w,g),f=r.mul(A,f),new h(l,d,f=r.add(f,y))}subtract(e){return this.add(e.negate())}is0(){return this.equals(h.ZERO)}wNAF(e){return g.wNAFCached(this,e,h.normalizeZ)}multiplyUnsafe(e){let{endo:t,n:i}=n;O("scalar",e,ep,i);let o=h.ZERO;if(e===ep)return o;if(this.is0()||e===em)return this;if(!t||g.hasPrecomputes(this))return g.wNAFCachedUnsafe(this,e,h.normalizeZ);let{k1neg:a,k1:s,k2neg:c,k2:u}=t.splitScalar(e),l=o,d=o,f=this;for(;s>ep||u>ep;)s&em&&(l=l.add(f)),u&em&&(d=d.add(f)),f=f.double(),s>>=em,u>>=em;return a&&(l=l.negate()),c&&(d=d.negate()),d=new h(r.mul(d.px,t.beta),d.py,d.pz),l.add(d)}multiply(e){let t,i;let{endo:o,n:a}=n;if(O("scalar",e,em,a),o){let{k1neg:n,k1:a,k2neg:s,k2:c}=o.splitScalar(e),{p:u,f:l}=this.wNAF(a),{p:d,f:f}=this.wNAF(c);u=g.constTimeNegate(n,u),d=g.constTimeNegate(s,d),d=new h(r.mul(d.px,o.beta),d.py,d.pz),t=u.add(d),i=l.add(f)}else{let{p:n,f:r}=this.wNAF(e);t=n,i=r}return h.normalizeZ([t,i])[0]}multiplyAndAddUnsafe(e,t,n){let r=h.BASE,i=(e,t)=>t!==ep&&t!==em&&e.equals(r)?e.multiply(t):e.multiplyUnsafe(t),o=i(this,t).add(i(e,n));return o.is0()?void 0:o}toAffine(e){return l(this,e)}isTorsionFree(){let{h:e,isTorsionFree:t}=n;if(e===em)return!0;if(t)return t(h,this);throw Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:e,clearCofactor:t}=n;return e===em?this:t?t(h,this):this.multiplyUnsafe(n.h)}toRawBytes(e=!0){return p("isCompressed",e),this.assertValidity(),o(h,this,e)}toHex(e=!0){return p("isCompressed",e),y(this.toRawBytes(e))}}h.BASE=new h(n.Gx,n.Gy,r.ONE),h.ZERO=new h(r.ZERO,r.ONE,r.ZERO);let m=n.nBitLength,g=(t=n.endo?Math.ceil(m/2):m,{constTimeNegate:en,hasPrecomputes:e=>1!==es(e),unsafeLadder(e,t,n=h.ZERO){let r=e;for(;t>ee;)t&et&&(n=n.add(r)),r=r.double(),t>>=et;return n},precomputeWindow(e,n){let{windows:r,windowSize:i}=ei(n,t),o=[],a=e,s=a;for(let e=0;e<r;e++){s=a,o.push(s);for(let e=1;e<i;e++)s=s.add(a),o.push(s);a=s.double()}return o},wNAF(e,n,r){let{windows:i,windowSize:o}=ei(e,t),a=h.ZERO,s=h.BASE,c=BigInt(2**e-1),u=2**e,l=BigInt(e);for(let e=0;e<i;e++){let t=e*o,i=Number(r&c);r>>=l,i>o&&(i-=u,r+=et);let d=t+Math.abs(i)-1,f=e%2!=0,h=i<0;0===i?s=s.add(en(f,n[t])):a=a.add(en(h,n[d]))}return{p:a,f:s}},wNAFUnsafe(e,n,r,i=h.ZERO){let{windows:o,windowSize:a}=ei(e,t),s=BigInt(2**e-1),c=2**e,u=BigInt(e);for(let e=0;e<o;e++){let t=e*a;if(r===ee)break;let o=Number(r&s);if(r>>=u,o>a&&(o-=c,r+=et),0===o)continue;let l=n[t+Math.abs(o)-1];o<0&&(l=l.negate()),i=i.add(l)}return i}
55,getPrecomputes(e,t,n){let r=eo.get(t);return r||(r=this.precomputeWindow(t,e),1!==e&&eo.set(t,n(r))),r},wNAFCached(e,t,n){let r=es(e);return this.wNAF(r,this.getPrecomputes(r,e,n),t)},wNAFCachedUnsafe(e,t,n,r){let i=es(e);return 1===i?this.unsafeLadder(e,t,r):this.wNAFUnsafe(i,this.getPrecomputes(i,e,n),t,r)},setWindowSize(e,n){er(n,t),ea.set(e,n),eo.delete(e)}});return{CURVE:n,ProjectivePoint:h,normPrivateKeyToScalar:c,weierstrassEquation:s,isWithinCurveOrder:function(e){return T(e,em,n.n)}}}({...t,toBytes(e,t,r){let i=t.toAffine(),o=n.toBytes(i.x),a=B;return(p("isCompressed",r),r)?a(Uint8Array.from([t.hasEvenY()?2:3]),o):a(Uint8Array.from([4]),o,n.toBytes(i.y))},fromBytes(e){let t=e.length,r=e[0],a=e.subarray(1);if(t===i&&(2===r||3===r)){let e;let t=x(a);if(!T(t,em,n.ORDER))throw Error("Point is not on curve");let i=u(t);try{e=n.sqrt(i)}catch(e){throw Error("Point is not on curve"+(e instanceof Error?": "+e.message:""))}return(1&r)==1!=((e&em)===em)&&(e=n.neg(e)),{x:t,y:e}}if(t===o&&4===r)return{x:n.fromBytes(a.subarray(0,n.BYTES)),y:n.fromBytes(a.subarray(n.BYTES,2*n.BYTES))};throw Error("invalid Point, expected length of "+i+", or uncompressed "+o+", got "+t)}}),d=e=>y(C(e,t.nByteLength)),h=(e,t,n)=>x(e.slice(t,n));class m{constructor(e,t,n){this.r=e,this.s=t,this.recovery=n,this.assertValidity()}static fromCompact(e){let n=t.nByteLength;return new m(h(e=k("compactSignature",e,2*n),0,n),h(e,n,2*n))}static fromDER(e){let{r:t,s:n}=eh.toSig(k("DER",e));return new m(t,n)}assertValidity(){O("r",this.r,em,r),O("s",this.s,em,r)}addRecoveryBit(e){return new m(this.r,this.s,e)}recoverPublicKey(e){let{r:i,s:o,recovery:c}=this,u=w(k("msgHash",e));if(null==c||![0,1,2,3].includes(c))throw Error("recovery id invalid");let l=2===c||3===c?i+t.n:i;if(l>=n.ORDER)throw Error("recovery id 2 or 3 invalid");let f=(1&c)==0?"02":"03",h=s.fromHex(f+d(l)),p=$(l,r),m=a(-u*p),y=a(o*p),g=s.BASE.multiplyAndAddUnsafe(h,m,y);if(!g)throw Error("point at infinify");return g.assertValidity(),g}hasHighS(){return this.s>r>>em}normalizeS(){return this.hasHighS()?new m(this.r,a(-this.s),this.recovery):this}toDERRawBytes(){return A(this.toDERHex())}toDERHex(){return eh.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return A(this.toCompactHex())}toCompactHex(){return d(this.r)+d(this.s)}}function g(e){let t=f(e),n="string"==typeof e,r=(t||n)&&e.length;return t?r===i||r===o:n?r===2*i||r===2*o:e instanceof s}let b=t.bits2int||function(e){if(e.length>8192)throw Error("input is too large");let n=x(e),r=8*e.length-t.nBitLength;return r>0?n>>BigInt(r):n},w=t.bits2int_modN||function(e){return a(b(e))},v=R(t.nBitLength);function P(e){return O("num < 2^"+t.nBitLength,e,ep,v),C(e,t.nByteLength)}let N={lowS:t.lowS,prehash:!1},M={lowS:t.lowS,prehash:!1};return s.BASE._setWindowSize(8),{CURVE:t,getPublicKey:function(e,t=!0){return s.fromPrivateKey(e).toRawBytes(t)},getSharedSecret:function(e,t,n=!0){if(g(e))throw Error("first arg must be private key");if(!g(t))throw Error("second arg must be public key");return s.fromHex(t).multiply(c(e)).toRawBytes(n)},sign:function(e,i,o=N){let{seed:u,k2sig:d}=function(e,i,o=N){if(["recovered","canonical"].some(e=>e in o))throw Error("sign() legacy options not supported");let{hash:u,randomBytes:d}=t,{lowS:f,prehash:h,extraEntropy:p}=o;null==f&&(f=!0),e=k("msgHash",e),eu(o),h&&(e=k("prehashed msgHash",u(e)));let y=w(e),g=c(i),v=[P(g),P(y)];if(null!=p&&!1!==p){let e=!0===p?d(n.BYTES):p;v.push(k("extraEntropy",e))}return{seed:B(...v),k2sig:function(e){let t=b(e);if(!l(t))return;let n=$(t,r),i=s.BASE.multiply(t).toAffine(),o=a(i.x);if(o===ep)return;let c=a(n*a(y+o*g));if(c===ep)return;let u=(i.x===o?0:2)|Number(i.y&em),d=c;if(f&&c>r>>em)d=c>r>>em?a(-c):c,u^=1;return new m(o,d,u)}}}(e,i,o);return F(t.hash.outputLen,t.nByteLength,t.hmac)(u,d)},verify:function(e,n,i,o=M){let c,u;n=k("msgHash",n),i=k("publicKey",i);let{lowS:l,prehash:d,format:h}=o;if(eu(o),"strict"in o)throw Error("options.strict was renamed to lowS");if(void 0!==h&&"compact"!==h&&"der"!==h)throw Error("format must be compact or der");let p="string"==typeof e||f(e),y=!p&&!h&&"object"==typeof e&&null!==e&&"bigint"==typeof e.r&&"bigint"==typeof e.s;if(!p&&!y)throw Error("invalid signature, expected Uint8Array, hex string or Signature instance");try{if(y&&(u=new m(e.r,e.s)),p){try{"compact"!==h&&(u=m.fromDER(e))}catch(e){if(!(e instanceof eh.Err))throw e}u||"der"===h||(u=m.fromCompact(e))}c=s.fromHex(i)}catch(e){return!1}if(!u||l&&u.hasHighS())return!1;d&&(n=t.hash(n));
55let{r:g,s:b}=u,v=w(n),A=$(b,r),x=a(v*A),E=a(g*A),C=s.BASE.multiplyAndAddUnsafe(c,x,E)?.toAffine();return!!C&&a(C.x)===g},ProjectivePoint:s,Signature:m,utils:{isValidPrivateKey(e){try{return c(e),!0}catch(e){return!1}},normPrivateKeyToScalar:c,randomPrivateKey:()=>{let e=X(t.n);return function(e,t,n=!1){let r=e.length,i=Y(t),o=X(t);if(r<16||r<o||r>1024)throw Error("expected "+o+"-1024 bytes of input, got "+r);let a=H(n?E(e):x(e),t-j)+j;return n?I(a,i):C(a,i)}(t.randomBytes(e),t.n)},precompute:(e=8,t=s.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)}}})({...e,hash:t,hmac:(e,...n)=>c(t,e,(0,a.eV)(...n)),randomBytes:a.O6});return{...n(t),create:n}}({a:BigInt(0),b:BigInt(7),Fp:ex,n:eb,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-ew*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),r=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),i=BigInt("0x100000000000000000000000000000000"),o=eA(t*e,eb),a=eA(-n*e,eb),s=H(e-o*t-a*r,eb),c=H(-o*n-a*t,eb),u=s>i,l=c>i;if(u&&(s=eb-s),l&&(c=eb-c),s>i||c>i)throw Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:u,k1:s,k2neg:l,k2:c}}}},i.JQ);BigInt(0),eE.ProjectivePoint},22674:function(e,t,n){"use strict";function r(e){if(!Number.isSafeInteger(e)||e<0)throw Error("positive integer expected, got "+e)}function i(e,...t){if(!(e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name))throw Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw Error("Uint8Array expected of length "+t+", got length="+e.length)}function o(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.wrapConstructor");r(e.outputLen),r(e.blockLen)}function a(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function s(e,t){i(e);let n=t.outputLen;if(e.length<n)throw Error("digestInto() expects output buffer of length at least "+n)}n.d(t,{$h:function(){return a},eB:function(){return s},gk:function(){return i},k8:function(){return r},z3:function(){return o}})},25651:function(e,t,n){"use strict";n.d(t,{JQ:function(){return l}});var r=n(22674),i=n(27721);class o extends i.kb{constructor(e,t,n,r){super(),this.blockLen=e,this.outputLen=t,this.padOffset=n,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,i.GL)(this.buffer)}update(e){(0,r.$h)(this);let{view:t,buffer:n,blockLen:o}=this,a=(e=(0,i.O0)(e)).length;for(let r=0;r<a;){let s=Math.min(o-this.pos,a-r);if(s===o){let t=(0,i.GL)(e);for(;o<=a-r;r+=o)this.process(t,r);continue}n.set(e.subarray(r,r+s),this.pos),this.pos+=s,r+=s,this.pos===o&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){(0,r.$h)(this),(0,r.eB)(e,this),this.finished=!0;let{buffer:t,view:n,blockLen:o,isLE:a}=this,{pos:s}=this;t[s++]=128,this.buffer.subarray(s).fill(0),this.padOffset>o-s&&(this.process(n,0),s=0);for(let e=s;e<o;e++)t[e]=0;!function(e,t,n,r){if("function"==typeof e.setBigUint64)return e.setBigUint64(t,n,r);let i=BigInt(32),o=BigInt(4294967295),a=Number(n>>i&o),s=Number(n&o),c=r?4:0,u=r?0:4;e.setUint32(t+c,a,r),e.setUint32(t+u,s,r)}(n,o-8,BigInt(8*this.length),a),this.process(n,0);let c=(0,i.GL)(e),u=this.outputLen;if(u%4)throw Error("_sha2: outputLen should be aligned to 32bit");let l=u/4,d=this.get();if(l>d.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;e<l;e++)c.setUint32(4*e,d[e],a)}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let n=e.slice(0,t);return this.destroy(),n}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());let{blockLen:t,buffer:n,length:r,finished:i,destroyed:o,pos:a}=this;return e.length=r,e.pos=a,e.finished=i,e.destroyed=o,r%t&&e.buffer.set(n),e}}let a=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756
55734187,3204031479,3329325298]),s=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),c=new Uint32Array(64);class u extends o{constructor(){super(64,32,8,!1),this.A=0|s[0],this.B=0|s[1],this.C=0|s[2],this.D=0|s[3],this.E=0|s[4],this.F=0|s[5],this.G=0|s[6],this.H=0|s[7]}get(){let{A:e,B:t,C:n,D:r,E:i,F:o,G:a,H:s}=this;return[e,t,n,r,i,o,a,s]}set(e,t,n,r,i,o,a,s){this.A=0|e,this.B=0|t,this.C=0|n,this.D=0|r,this.E=0|i,this.F=0|o,this.G=0|a,this.H=0|s}process(e,t){for(let n=0;n<16;n++,t+=4)c[n]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=c[e-15],n=c[e-2],r=(0,i.np)(t,7)^(0,i.np)(t,18)^t>>>3,o=(0,i.np)(n,17)^(0,i.np)(n,19)^n>>>10;c[e]=o+c[e-7]+r+c[e-16]|0}let{A:n,B:r,C:o,D:s,E:u,F:l,G:d,H:f}=this;for(let e=0;e<64;e++){var h,p,m,y;let t=f+((0,i.np)(u,6)^(0,i.np)(u,11)^(0,i.np)(u,25))+((h=u)&l^~h&d)+a[e]+c[e]|0,g=((0,i.np)(n,2)^(0,i.np)(n,13)^(0,i.np)(n,22))+((p=n)&(m=r)^p&(y=o)^m&y)|0;f=d,d=l,l=u,u=s+t|0,s=o,o=r,r=n,n=t+g|0}n=n+this.A|0,r=r+this.B|0,o=o+this.C|0,s=s+this.D|0,u=u+this.E|0,l=l+this.F|0,d=d+this.G|0,f=f+this.H|0,this.set(n,r,o,s,u,l,d,f)}roundClean(){c.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}let l=(0,i.hE)(()=>new u)},27721:function(e,t,n){"use strict";n.d(t,{kb:function(){return f},l1:function(){return u},eV:function(){return d},GL:function(){return a},iA:function(){return c},O6:function(){return p},np:function(){return s},O0:function(){return l},Jq:function(){return o},hE:function(){return h}});let r="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;var i=n(22674);function o(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function a(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function s(e,t){return e<<32-t|e>>>t}let c=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];function u(e){for(let n=0;n<e.length;n++){var t;e[n]=(t=e[n])<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255}}function l(e){return"string"==typeof e&&(e=function(e){if("string"!=typeof e)throw Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array(new TextEncoder().encode(e))}(e)),(0,i.gk)(e),e}function d(...e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];(0,i.gk)(r),t+=r.length}let n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){let i=e[t];n.set(i,r),r+=i.length}return n}class f{clone(){return this._cloneInto()}}function h(e){let t=t=>e().update(l(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function p(e=32){if(r&&"function"==typeof r.getRandomValues)return r.getRandomValues(new Uint8Array(e));if(r&&"function"==typeof r.randomBytes)return r.randomBytes(e);throw Error("crypto.getRandomValues must be defined")}},60604:function(e,t,n){"use strict";n.d(t,{V:function(){return s},F:function(){return c}});var r=n(2265);let i=!1;async function o(e,t={}){let n;if(i)return[];i=!0,e.setState(e=>({...e,status:e.current?"reconnecting":"connecting"}));let r=[];if(t.connectors?.length)for(let n of t.connectors){let t;t="function"==typeof n?e._internal.connectors.setup(n):n,r.push(t)}else r.push(...e.connectors);try{n=await e.storage?.getItem("recentConnectorId")}catch{}let o={};for(let[,t]of e.state.connections)o[t.connector.id]=1;n&&(o[n]=0);let a=Object.keys(o).length>0?[...r].sort((e,t)=>(o[e.id]??10)-(o[t.id]??10)):r,s=!1,c=[],u=[];for(let t of a){let n=await t.getProvider().catch(()=>void 0);if(!n||u.some(e=>e===n)||!await t.isAuthorized())continue;let r=await t.connect({isReconnecting:!0}).catch(()=>null);r&&(t.emitter.off("connect",e._internal.events.connect),t.emitter.on("change",e._internal.events.change),t.emitter.on("disconnect",e._internal.events.disconnect),e.setState(e=>{let n=new Map(s?e.connections:new Map).set(t.uid,{accounts:r.accounts,chainId:r.chainId,connector:t});return{...e,current:s?e.current:t.uid,connections:n}}),c.push({accounts:r.accounts,chainId:r.chainId,connector:t}),u.push(n),s=!0)}return("reconnecting"===e.state.status||"connecting"===e.state.status)&&(s?e.setState(e=>({...e,status:"connected"})):e.setState(e=>({...e,connections:new Map,current:null,status:"disconnected"}))),i=!1,c}function a(e){let{children:t,config:n,initialState:i,reconnectOnMount:a=!0}=e,{onMount:s}=function(e,t){let{initialState:n,reconnectOnMount:r}=t;return n&&!e._internal.store.persist.hasHydrated()&&e.setState({...n,chainId:e.chains.some(e=>e.id===n.chainId)?n.chainId:e.chains[0].id,connections:r?n.connections:new Map,status:r?"reconnecting":"disconnected"}),{async onMount(){e._internal.ssr&&(await e._internal.store.persist.rehydrate(),e._internal.mipd&&e._internal.connectors.setState(t=>{let n=new Set;for(let e of t??[])if(e.rdns)for(let t of Array.isArray(e.rdns)?e.rdns:[e.rdns])n.add(t);let r=[];for(let t of e._internal.mipd?.getProviders()??[]){if(n.has(t.info.rdns))continue;let i=e._internal.connectors.providerDetailToConnector(t),o=e._internal.connectors.setup(i);r.push(o)}return[...t,...r]})),r?o(e):e.storage&&e.setState(e=>({...e,connections:new Map}))}}}(n,{initialState:i,reconnectOnMount:a});n._internal.ssr||s();let c=(0,r.useRef)(!0);return(0,r.useEffect)(()=>
55{if(c.current&&n._internal.ssr)return s(),()=>{c.current=!1}},[]),t}let s=(0,r.createContext)(void 0);function c(e){let{children:t,config:n}=e;return(0,r.createElement)(a,e,(0,r.createElement)(s.Provider,{value:n},t))}},39296:function(e,t,n){"use strict";n.d(t,{m:function(){return l}});var r=n(53350),i=n(40204),o=n(42887),a=n(69022),s=n(2265),c=n(29292);let u=e=>"object"==typeof e&&!Array.isArray(e);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,o.Z)(e);return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a.v,i=(0,s.useRef)([]),o=(0,c.useSyncExternalStoreWithSelector)(e,t,n,e=>e,(e,t)=>{if(u(e)&&u(t)&&i.current.length){for(let n of i.current)if(!r(e[n],t[n]))return!1;return!0}return r(e,t)});return(0,s.useMemo)(()=>{if(u(o)){let e={...o},t={};for(let[n,r]of Object.entries(e))t={...t,[n]:{configurable:!1,enumerable:!0,get:()=>(i.current.includes(n)||i.current.push(n),r)}};return Object.defineProperties(e,t),e}return o},[o])}(e=>(0,r.u)(t,{onChange:e}),()=>(0,i.D)(t))}},52354:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(53350),i=n(2265),o=n(42887);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onConnect:t,onDisconnect:n}=e,a=(0,o.Z)(e);(0,i.useEffect)(()=>(0,r.u)(a,{onChange(e,r){if(("reconnecting"===r.status||"connecting"===r.status&&void 0===r.address)&&"connected"===e.status){let{address:n,addresses:i,chain:o,chainId:a,connector:s}=e,c="reconnecting"===r.status||void 0===r.status;null==t||t({address:n,addresses:i,chain:o,chainId:a,connector:s,isReconnected:c})}else"connected"===r.status&&"disconnected"===e.status&&(null==n||n())}}),[a,t,n])}},14986:function(e,t,n){"use strict";n.d(t,{K:function(){return A}});var r=n(55936),i=n(71264),o=n(60989),a=n(82756),s=n(37225),c=n(4817);function u(e){return"number"==typeof e?e:"wei"===e?0:Math.abs(c.Bd[e])}var l=n(47115),d=n(4481);async function f(e,t){let{allowFailure:n=!0,chainId:r,contracts:i,...o}=t,a=e.getClient({chainId:r});return(0,s.s)(a,d.A,"multicall")({allowFailure:n,contracts:i,...o})}var h=n(31723);async function p(e,t){let{allowFailure:n=!0,blockNumber:r,blockTag:i,...o}=t,a=t.contracts;try{let t={};for(let[n,r]of a.entries()){let i=r.chainId??e.state.chainId;t[i]||(t[i]=[]),t[i]?.push({contract:r,index:n})}let s=(await Promise.all(Object.entries(t).map(([t,a])=>f(e,{...o,allowFailure:n,blockNumber:r,blockTag:i,chainId:Number.parseInt(t),contracts:a.map(({contract:e})=>e)})))).flat(),c=Object.values(t).flatMap(e=>e.map(({index:e})=>e));return s.reduce((e,t,n)=>(e&&(e[c[n]]=t),e),[])}catch(o){if(o instanceof l.uq)throw o;let t=()=>a.map(t=>(0,h.L)(e,{...t,blockNumber:r,blockTag:i}));if(n)return(await Promise.allSettled(t())).map(e=>"fulfilled"===e.status?{result:e.value,status:"success"}:{error:e.reason,result:void 0,status:"failure"});return await Promise.all(t())}}async function m(e,t){let{address:n,blockNumber:c,blockTag:l,chainId:d,token:f,unit:h="ether"}=t;if(f)try{return await y(e,{balanceAddress:n,chainId:d,symbolType:"string",tokenAddress:f})}catch(t){if("ContractFunctionExecutionError"===t.name){let t=await y(e,{balanceAddress:n,chainId:d,symbolType:"bytes32",tokenAddress:f}),o=(0,r.rR)((0,i.f)(t.symbol,{dir:"right"}));return{...t,symbol:o}}throw t}let p=e.getClient({chainId:d}),m=(0,s.s)(p,a.s,"getBalance"),g=await m(c?{address:n,blockNumber:c}:{address:n,blockTag:l}),b=e.chains.find(e=>e.id===d)??p.chain;return{decimals:b.nativeCurrency.decimals,formatted:(0,o.b)(g,u(h)),symbol:b.nativeCurrency.symbol,value:g}}async function y(e,t){let{balanceAddress:n,chainId:r,symbolType:i,tokenAddress:a,unit:s}=t,c={abi:[{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"decimals",stateMutability:"view",inputs:[],outputs:[{type:"uint8"}]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{type:i}]}],address:a},[l,d,f]=await p(e,{allowFailure:!1,contracts:[{...c,functionName:"balanceOf",args:[n],chainId:r},{...c,functionName:"decimals",chainId:r},{...c,functionName:"symbol",chainId:r}]}),h=(0,o.b)(l??"0",u(s??d));return{decimals:d,formatted:h,symbol:f,value:l}}var g=n(73054),b=n(70828),w=n(43089),v=n(42887);function A(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{address:r,query:i={}}=n,o=(0,v.Z)(n),a=(0,w.x)({config:o}),s=function(e,t={}){return{async queryFn({queryKey:t}){let{address:n,scopeKey:r,...i}=t[1];if(!n)throw Error("address is required");return await m(e,{...i,address:n})??null},queryKey:function(e={}){return["balance",(0,g.OP)(e)]}(t)}}(o,{...n,chainId:null!==(e=n.chainId)&&void 0!==e?e:a}),c=!!(r&&(null===(t=i.enabled)||void 0===t||t));return(0,b.aM)({...i,...s,enabled:c})}},43089:function(e,t,n){"use strict";function r(e){return e.state.chainId}n.d(t,{x:function(){return a}});var i=n(2265),o=n(42887);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,o.Z)(e);return(0,i.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e.subscribe(e=>e.chainId,n)})(t,{onChange:e}),()=>r(t),()=>r(t))}},44567:function(e,t,n){"use strict";n.d(t,{C:function(){return c}});var r=n(69022);let i=[];function o(e){let t=e.chains;return(0,r.v)(i,t)?i:(i=t,t)}var a=n(2265),s=n(42887);function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,s.Z)(e);return(0,a.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e._internal.chains.subscribe((e,t)=>{n(e,t)})})(t,{onChange:e}),()=>o(t),()=>o(t))}},42887:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(2265),i=n(60604),o=n(1257);let a=()=>"[email protected]";class s extends o.G{constructor(){super(...arguments),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiError"})}get docsBaseUrl(){return"https://wagmi.sh/react"}get version(){return a()}}class c extends s{constructor(){super("`useConfig` must be used within `WagmiProvi
55der`.",{docsPath:"/api/WagmiProvider"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiProviderNotFoundError"})}}function u(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null!==(e=t.config)&&void 0!==e?e:(0,r.useContext)(i.V);if(!n)throw new c;return n}},11169:function(e,t,n){"use strict";n.d(t,{$:function(){return d}});var r=n(20568),i=n(2731);async function o(e,t){let n;if((n="function"==typeof t.connector?e._internal.connectors.setup(t.connector):t.connector).uid===e.state.current)throw new i.wi;try{e.setState(e=>({...e,status:"connecting"})),n.emitter.emit("message",{type:"connecting"});let{connector:r,...i}=t,o=await n.connect(i),a=o.accounts;return n.emitter.off("connect",e._internal.events.connect),n.emitter.on("change",e._internal.events.change),n.emitter.on("disconnect",e._internal.events.disconnect),await e.storage?.setItem("recentConnectorId",n.id),e.setState(e=>({...e,connections:new Map(e.connections).set(n.uid,{accounts:a,chainId:o.chainId,connector:n}),current:n.uid,status:"connected"})),{accounts:a,chainId:o.chainId}}catch(t){throw e.setState(e=>({...e,status:e.current?"connected":"disconnected"})),t}}var a=n(2265),s=n(42887),c=n(69022);let u=[];function l(e){let t=e.connectors;return(0,c.v)(u,t)?u:(u=t,t)}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:t}=e,n=(0,s.Z)(e),{mutate:i,mutateAsync:c,...u}=(0,r.D)({...t,mutationFn:e=>o(n,e),mutationKey:["connect"]});return(0,a.useEffect)(()=>n.subscribe(e=>{let{status:t}=e;return t},(e,t)=>{"connected"===t&&"disconnected"===e&&u.reset()}),[n,u.reset]),{...u,connect:i,connectAsync:c,connectors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,s.Z)(e);return(0,a.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e._internal.connectors.subscribe((e,t)=>{n(Object.values(e),t)})})(t,{onChange:e}),()=>l(t),()=>l(t))}({config:n})}}},37864:function(e,t,n){"use strict";n.d(t,{q:function(){return l}});var r=n(20568),i=n(42602),o=n(42887),a=n(69022);let s=[];function c(e){let t=[...e.state.connections.values()];return"reconnecting"===e.state.status||(0,a.v)(s,t)?s:(s=t,t)}var u=n(2265);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:t}=e,n=(0,o.Z)(e),{mutate:s,mutateAsync:l,...d}=(0,r.D)({...t,mutationFn:e=>(0,i.z)(n,e),mutationKey:["disconnect"]});return{...d,connectors:(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,o.Z)(e);return(0,u.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e.subscribe(()=>c(e),n,{equalityFn:a.v})})(t,{onChange:e}),()=>c(t),()=>c(t))})({config:n}).map(e=>e.connector),disconnect:s,disconnectAsync:l}}},68356:function(e,t,n){"use strict";n.d(t,{c:function(){return u}});var r=n(49134),i=n(37225),o=n(73054),a=n(70828),s=n(43089),c=n(42887);function u(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{name:u,query:l={}}=n,d=(0,c.Z)(n),f=(0,s.x)({config:d}),h=function(e,t={}){return{async queryFn({queryKey:t}){let{name:n,scopeKey:o,...a}=t[1];if(!n)throw Error("name is required");return function(e,t){let{chainId:n,...o}=t,a=e.getClient({chainId:n});return(0,i.s)(a,r.r,"getEnsAvatar")(o)}(e,{...a,name:n})},queryKey:function(e={}){return["ensAvatar",(0,o.OP)(e)]}(t)}}(d,{...n,chainId:null!==(e=n.chainId)&&void 0!==e?e:f}),p=!!(u&&(null===(t=l.enabled)||void 0===t||t));return(0,a.aM)({...l,...h,enabled:p})}},55055:function(e,t,n){"use strict";n.d(t,{F:function(){return u}});var r=n(9577),i=n(37225),o=n(73054),a=n(70828),s=n(43089),c=n(42887);function u(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{address:u,query:l={}}=n,d=(0,c.Z)(n),f=(0,s.x)({config:d}),h=function(e,t={}){return{async queryFn({queryKey:t}){let{address:n,scopeKey:o,...a}=t[1];if(!n)throw Error("address is required");return function(e,t){let{chainId:n,...o}=t,a=e.getClient({chainId:n});return(0,i.s)(a,r.w,"getEnsName")(o)}(e,{...a,address:n})},queryKey:function(e={}){return["ensName",(0,o.OP)(e)]}(t)}}(d,{...n,chainId:null!==(e=n.chainId)&&void 0!==e?e:f}),p=!!(u&&(null===(t=l.enabled)||void 0===t||t));return(0,a.aM)({...l,...h,enabled:p})}},30659:function(e,t,n){"use strict";n.d(t,{t:function(){return nE}});var r=n(10035),i=n(27470),o=n(87210),a=n(73621),s=n(71264),c=n(15578),u=n(96316),l=n(8291),d=n(24761),f=n(31935),h=n(96130);async function p(e,t){let{blockNumber:n,blockTag:p,coinType:m,name:y,gatewayUrls:g,strict:b}=t,{chain:w}=e,v=(()=>
55{if(t.universalResolverAddress)return t.universalResolverAddress;if(!w)throw Error("client chain not configured. universalResolverAddress is required.");return(0,a.L)({blockNumber:n,chain:w,contract:"ensUniversalResolver"})})(),A=w?.ensTlds;if(A&&!A.some(e=>y.endsWith(e)))return null;try{let t=(0,o.R)({abi:r.X$,functionName:"addr",...null!=m?{args:[(0,l.V)(y),BigInt(m)]}:{args:[(0,l.V)(y)]}}),a={address:v,abi:r.k3,functionName:"resolve",args:[(0,c.NC)((0,d.T)(y)),t],blockNumber:n,blockTag:p},u=(0,f.s)(e,h.L,"readContract"),b=g?await u({...a,args:[...a.args,g]}):await u(a);if("0x"===b[0])return null;let w=(0,i.k)({abi:r.X$,args:null!=m?[(0,l.V)(y),BigInt(m)]:void 0,functionName:"addr",data:b[0]});if("0x"===w||"0x00"===(0,s.f)(w))return null;return w}catch(e){if(b)throw e;if((0,u.c)(e,"resolve"))return null;throw e}}var m=n(49134),y=n(9577);async function g(e,t){let{blockNumber:n,blockTag:r,name:i}=t,{chain:o}=e,s=(()=>{if(t.universalResolverAddress)return t.universalResolverAddress;if(!o)throw Error("client chain not configured. universalResolverAddress is required.");return(0,a.L)({blockNumber:n,chain:o,contract:"ensUniversalResolver"})})(),u=o?.ensTlds;if(u&&!u.some(e=>i.endsWith(e)))throw Error(`${i} is not a valid ENS TLD (${u?.join(", ")}) for chain "${o.name}" (id: ${o.id}).`);let[l]=await (0,f.s)(e,h.L,"readContract")({address:s,abi:[{inputs:[{type:"bytes"}],name:"findResolver",outputs:[{type:"address"},{type:"bytes32"}],stateMutability:"view",type:"function"}],functionName:"findResolver",args:[(0,c.NC)((0,d.T)(i))],blockNumber:n,blockTag:r});return l}var b=n(84825),w=n(31393),v=n(79561),A=n(21250),x=n(67306),E=n(20662),C=n(15337);async function I(e,t){let{account:n=e.account,blockNumber:r,blockTag:i="latest",blobs:o,data:a,gas:s,gasPrice:u,maxFeePerBlobGas:l,maxFeePerGas:d,maxPriorityFeePerGas:f,to:h,value:p,...m}=t,y=n?(0,v.T)(n):void 0;try{(0,C.F)(t);let n=r?(0,c.eC)(r):void 0,g=e.chain?.formatters?.transactionRequest?.format,b=(g||E.tG)({...(0,x.K)(m,{format:g}),from:y?.address,blobs:o,data:a,gas:s,gasPrice:u,maxFeePerBlobGas:l,maxFeePerGas:d,maxPriorityFeePerGas:f,to:h,value:p}),w=await e.request({method:"eth_createAccessList",params:[b,n||i]});return{accessList:w.accessList,gasUsed:BigInt(w.gasUsed)}}catch(n){throw(0,A.P)(n,{...t,account:y,chain:e.chain})}}function k(e,{method:t}){let n={};return"fallback"===e.transport.type&&e.transport.onResponse?.(({method:e,response:r,status:i,transport:o})=>{"success"===i&&t===e&&(n[r]=o.request)}),t=>n[t]||e.request}async function B(e){let t=k(e,{method:"eth_newBlockFilter"}),n=await e.request({method:"eth_newBlockFilter"});return{id:n,request:t(n),type:"block"}}var P=n(45581),T=n(51273);class O extends T.G{constructor(e){super(`Filter type "${e}" is not supported.`,{name:"FilterTypeNotSupportedError"})}}var S=n(73596),R=n(82112),N=n(58113),M=n(8580),F=n(67705),L=n(52753);let U="/docs/contract/encodeEventTopics";function D(e){let{abi:t,eventName:n,args:r}=e,i=t[0];if(n){let e=(0,L.mE)({abi:t,name:n});if(!e)throw new P.mv(n,{docsPath:U});i=e}if("event"!==i.type)throw new P.mv(void 0,{docsPath:U});let o=(0,F.t)(i),a=(0,N.n)(o),s=[];if(r&&"inputs"in i){let e=i.inputs?.filter(e=>"indexed"in e&&e.indexed),t=Array.isArray(r)?r:Object.values(r).length>0?e?.map(e=>r[e.name])??[]:[];t.length>0&&(s=e?.map((e,n)=>Array.isArray(t[n])?t[n].map((r,i)=>_({param:e,value:t[n][i]})):void 0!==t[n]&&null!==t[n]?_({param:e,value:t[n]}):null)??[])}return[a,...s]}function _({param:e,value:t}){if("string"===e.type||"bytes"===e.type)return(0,R.w)((0,S.O0)(t));if("tuple"===e.type||e.type.match(/^(.*)\[(\d+)?\]$/))throw new O(e.type);return(0,M.E)([e],[t])}async function j(e,t){let{address:n,abi:r,args:i,eventName:o,fromBlock:a,strict:s,toBlock:u}=t,l=k(e,{method:"eth_newFilter"}),d=o?D({abi:r,args:i,eventName:o}):void 0,f=await e.request({method:"eth_newFilter",params:[{address:n,fromBlock:"bigint"==typeof a?(0,c.eC)(a):a,toBlock:"bigint"==typeof u?(0,c.eC)(u):u,topics:d}]});return{abi:r,args:i,eventName:o,id:f,request:l(f),strict:!!s,type:"event"}}async function q(e,{address:t,args:n,event:r,events:i,fromBlock:o,strict:a,toBlock:s}={}){let u=i??(r?[r]:void 0),l=k(e,{method:"eth_newFilter"}),d=[];u&&(d=[u.flatMap(e=>D({abi:[e],eventName:e.name,args:n}))],r&&(d=d[0]));let f=await e.request({method:"eth_newFilter",params:[{address:t,fromBlock:"bigint"==typeof o?(0,c.eC)(o):o,toBlock:"bigint"==typeof s?(0,c.eC)(s):s,...d.length?{topics:d}:{}}]});return{abi:u,args:n,eventName:r?r.name:void 0,fromBlock:o,id:f,request:l(f),strict:!!a,toBlock:s,type:"event"}}async function z(e){let t=k(e,{method:"eth_newPendingTransactionFilter"}),n=await e.request({method:"eth_newPendingTransactionFilter"});return{id:n,request:t(n),type:"transaction"}}var G=n(95094),Q=n(24581);async function W(e,t){let{abi:n,address:r,args:i,functionName:a,dataSuffix:s,...c}=t,u=(0,o.R)({abi:n,args:i,functionName:a});try{return await (0,f.s)(e,Q.Q,"estimateGas")({data:`${u}${s?s.replace("0x",""):""}`,to:r,...c})}catch(t){let e=c.account?(0,v.T)(c.account):void 0;throw(0,G.S)(t,{abi:n,address:r,args:i,docsPath:"/docs/contract/estimateContractGas",functionName:a,sender:e?.address})}}var H=n(64269),K=n(80330),$=n(82756);async function V(e){return BigInt(await e.request({method:"eth_blobBaseFee"}))}var Z=n(4781),J=n(86395),Y=n(55936);async function X(e,{blockHash:t,blockNumber:n,blockTag:r="latest"}={}){let i;let o=void 0!==n?(0,c.eC)(n):void 0;return i=t?await e.request({method:"eth_getBlockTransactionCountByHash",params:[t]},{dedupe:!0}):await e.request({method:"eth_getBlockTransactionCountByNumber",params:[o||r]},{dedupe:!!o}),(0,Y.ly)(i)}var ee=n(23066);async function et(e,{address:t,blockNumber:n,blockTag:r="latest"}){let i=void 0!==n?(0,c.eC)(n):void 0,o=await e.request({method:"eth_getCode",params:[t,i||r]},{dedupe:!!i});if("0x"!==o)return o}var en=n(35922),er=n(95305),ei=n(92155),eo=n(28201);let ea="/docs/contract/decodeEventLog";function es(e){let{abi:t,data:n,strict:r,topics:i}=e,o=r??!0,[a,...s]=i;if(!a)throw new P.FM({docsPath:ea});let c=1===t.length?t[0]:t.find(e=>"event"===e.type&&a===(0,N.n)((0,F.t)(e)));if(!(c&&"name"in c)||"event"!==c.type)throw new P.lC(a,{docsPath:ea});let{name:u,inputs:l}=c,d=l?.some(e=>!("name"in e&&e.name)),f=d?[]:{},h=l.filter(e=>
vendor: 5,030 bytes, line 55
55"indexed"in e&&e.indexed);for(let e=0;e<h.length;e++){let t=h[e],n=s[e];if(!n)throw new P.Gy({abiItem:c,param:t});f[d?e:t.name||e]=function({param:e,value:t}){return"string"===e.type||"bytes"===e.type||"tuple"===e.type||e.type.match(/^(.*)\[(\d+)?\]$/)?t:((0,eo.r)([e],t)||[])[0]}({param:t,value:n})}let p=l.filter(e=>!("indexed"in e&&e.indexed));if(p.length>0){if(n&&"0x"!==n)try{let e=(0,eo.r)(p,n);if(e){if(d)f=[...f,...e];else for(let t=0;t<p.length;t++)f[p[t].name]=e[t]}}catch(e){if(o){if(e instanceof P.xB||e instanceof ei.lQ)throw new P.SM({abiItem:c,data:n,params:p,size:(0,er.d)(n)});throw e}}else if(o)throw new P.SM({abiItem:c,data:"0x",params:p,size:0})}return{eventName:u,args:Object.values(f).length>0?f:void 0}}function ec(e){let{abi:t,args:n,logs:r,strict:i=!0}=e,o=(()=>{if(e.eventName)return Array.isArray(e.eventName)?e.eventName:[e.eventName]})();return r.map(e=>{try{let r=t.find(t=>"event"===t.type&&e.topics[0]===(0,N.n)(t));if(!r)return null;let a=es({...e,abi:[r],strict:i});if(o&&!o.includes(a.eventName)||!function(e){let{args:t,inputs:n,matchArgs:r}=e;if(!r)return!0;if(!t)return!1;function i(e,t,n){try{if("address"===e.type)return(0,en.E)(t,n);if("string"===e.type||"bytes"===e.type)return(0,R.w)((0,S.O0)(t))===n;return t===n}catch{return!1}}return Array.isArray(t)&&Array.isArray(r)?r.every((e,r)=>{if(null==e)return!0;let o=n[r];return!!o&&(Array.isArray(e)?e:[e]).some(e=>i(o,e,t[r]))}):!("object"!=typeof t||Array.isArray(t)||"object"!=typeof r||Array.isArray(r))&&Object.entries(r).every(([e,r])=>{if(null==r)return!0;let o=n.find(t=>t.name===e);return!!o&&(Array.isArray(r)?r:[r]).some(n=>i(o,n,t[e]))})}({args:a.args,inputs:r.inputs,matchArgs:n}))return null;return{...a,...e}}catch(r){let t,n;if(r instanceof P.lC)return null;if(r instanceof P.SM||r instanceof P.Gy){if(i)return null;t=r.abiItem.name,n=r.abiItem.inputs?.some(e=>!("name"in e&&e.name))}return{...e,args:n?[]:{},eventName:t}}}).filter(Boolean)}var eu=n(6819);async function el(e,{address:t,blockHash:n,fromBlock:r,toBlock:i,event:o,events:a,args:s,strict:u}={}){let l=a??(o?[o]:void 0),d=[];l&&(d=[l.flatMap(e=>D({abi:[e],eventName:e.name,args:a?void 0:s}))],o&&(d=d[0]));let f=(n?await e.request({method:"eth_getLogs",params:[{address:t,topics:d,blockHash:n}]}):await e.request({method:"eth_getLogs",params:[{address:t,topics:d,fromBlock:"bigint"==typeof r?(0,c.eC)(r):r,toBlock:"bigint"==typeof i?(0,c.eC)(i):i}]})).map(e=>(0,eu.U)(e));return l?ec({abi:l,args:s,logs:f,strict:u??!1}):f}async function ed(e,t){let{abi:n,address:r,args:i,blockHash:o,eventName:a,fromBlock:s,toBlock:c,strict:u}=t,l=a?(0,L.mE)({abi:n,name:a}):void 0,d=l?void 0:n.filter(e=>"event"===e.type);return(0,f.s)(e,el,"getLogs")({address:r,args:i,blockHash:o,event:l,events:d,fromBlock:s,toBlock:c,strict:u})}class ef extends T.G{constructor({address:e}){super(`No EIP-712 domain found on contract "${e}".`,{metaMessages:["Ensure that:",`- The contract is deployed at the address "${e}".`,"- `eip712Domain()` function exists on the contract.","- `eip712Domain()` function matches signature to ERC-5267 specification."],name:"Eip712DomainNotFoundError"})}}async function eh(e,t){let{address:n,factory:r,factoryData:i}=t;try{let[t,o,a,s,c,u,l]=await (0,f.s)(e,h.L,"readContract")({abi:ep,address:n,functionName:"eip712Domain",factory:r,factoryData:i});return{domain:{name:o,version:a,chainId:Number(s),verifyingContract:c,salt:u},extensions:l,fields:t}}catch(e){if("ContractFunctionExecutionError"===e.name&&"ContractFunctionZeroDataError"===e.cause.name)throw new ef({address:n});throw e}}let ep=[{inputs:[],name:"eip712Domain",outputs:[{name:"fields",type:"bytes1"},{name:"name",type:"string"},{name:"version",type:"string"},{name:"chainId",type:"uint256"},{name:"verifyingContract",type:"address"},{name:"salt",type:"bytes32"},{name:"extensions",type:"uint256[]"}],stateMutability:"view",type:"function"}];async function em(e,{blockCount:t,blockNumber:n,blockTag:r="latest",rewardPercentiles:i}){var o;let a=n?(0,c.eC)(n):void 0;return{baseFeePerGas:(o=await e.request({method:"eth_feeHistory",params:[(0,c.eC)(t),a||r,i]},{dedupe:!!a})).baseFeePerGas.map(e=>BigInt(e)),gasUsedRatio:o.gasUsedRatio,oldestBlock:BigInt(o.oldestBlock),reward:o.reward?.map(e=>e.map(e=>BigInt(e)))}}async function ey(e,{filter:t}){let n="strict"in t&&t.strict,r=await t.request({method:"eth_getFilterChanges",params:[t.id]});if("string"==typeof r[0])return r;let i=r.map(e=>(0,eu.U)(e));return"abi"in t&&t.abi?ec({abi:t.abi,logs:i,strict:n}):i}async function eg(e,{filter:t}){let n=t.strict??!1,r=(await t.request({method:"eth_getFilterLogs",params:[t.id]})).map(e=>(0,eu.U)(e));return t.abi?ec({abi:t.abi,logs:r,strict:n}):r}var eb=n(52530);async function ew(e,{address:t,blockNumber:n,blockTag:r,storageKeys:i}){var o;let a=void 0!==n?(0,c.eC)(n):void 0;return{...o=await e.request({method:"eth_getProof",params:[t,i,a||(r??"latest")]}),balance:o.balance?BigInt(o.balance):void 0,nonce:o.nonce?(0,Y.ly)(o.nonce):void 0,storageProof:o.storageProof?o.storageProof.map(e=>
vendor: 4,127 bytes, line 55
55({...e,value:BigInt(e.value)})):void 0}}async function ev(e,{address:t,blockNumber:n,blockTag:r="latest",slot:i}){let o=void 0!==n?(0,c.eC)(n):void 0;return await e.request({method:"eth_getStorageAt",params:[t,i,o||r]})}var eA=n(42624);async function ex(e,{hash:t,transactionReceipt:n}){let[r,i]=await Promise.all([(0,f.s)(e,J.z,"getBlockNumber")({}),t?(0,f.s)(e,eA.f,"getTransaction")({hash:t}):void 0]),o=n?.blockNumber||i?.blockNumber;return o?r-o+1n:0n}var eE=n(36930),eC=n(74374),eI=n(4481);class ek extends Error{constructor(e,t={}){let n=(()=>{if(t.cause instanceof ek){if(t.cause.details)return t.cause.details;if(t.cause.shortMessage)return t.cause.shortMessage}return t.cause?.message?t.cause.message:t.details})(),r=t.cause instanceof ek&&t.cause.docsPath||t.docsPath,i=`https://oxlib.sh${r??""}`;super([e||"An error occurred.",...t.metaMessages?["",...t.metaMessages]:[],...n||r?["",n?`Details: ${n}`:void 0,r?`See: ${i}`:void 0]:[]].filter(e=>"string"==typeof e).join("\n"),t.cause?{cause:t.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docs",{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,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:"[email protected]"}),this.cause=t.cause,this.details=n,this.docs=i,this.docsPath=r,this.shortMessage=e}walk(e){return function e(t,n){return n?.(t)?t:t&&"object"==typeof t&&"cause"in t&&t.cause?e(t.cause,n):n?null:t}(this,e)}}function eB(e,t){if(e_(e)>t)throw new eG({givenSize:e_(e),maxSize:t})}function eP(e,t={}){let{dir:n,size:r=32}=t;if(0===r)return e;let i=e.replace("0x","");if(i.length>2*r)throw new eW({size:Math.ceil(i.length/2),targetSize:r,type:"Hex"});return`0x${i["right"===n?"padEnd":"padStart"](2*r,"0")}`}let eT=new TextEncoder,eO=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function eS(...e){return`0x${e.reduce((e,t)=>e+t.replace("0x",""),"")}`}function eR(e,t={}){let n=`0x${Number(e)}`;return"number"==typeof t.size?(eB(n,t.size),eL(n,t.size)):n}function eN(e,t={}){let n="";for(let t=0;t<e.length;t++)n+=eO[e[t]];let r=`0x${n}`;return"number"==typeof t.size?(eB(r,t.size),eU(r,t.size)):r}function eM(e,t={}){let n;let{signed:r,size:i}=t,o=BigInt(e);i?n=r?(1n<<8n*BigInt(i)-1n)-1n:2n**(8n*BigInt(i))-1n:"number"==typeof e&&(n=BigInt(Number.MAX_SAFE_INTEGER));let a="bigint"==typeof n&&r?-n-1n:0;if(n&&o>n||o<a){let t="bigint"==typeof e?"n":"";throw new ej({max:n?`${n}${t}`:void 0,min:`${a}${t}`,signed:r,size:i,value:`${e}${t}`})}let s=(r&&o<0?(1n<<BigInt(8*i))+BigInt(o):o).toString(16),c=`0x${s}`;return i?eL(c,i):c}function eF(e,t={}){return eN(eT.encode(e),t)}function eL(e,t){return eP(e,{dir:"left",size:t})}function eU(e,t){return eP(e,{dir:"right",size:t})}function eD(e,t,n,r={}){let{strict:i}=r;!function(e,t){if("number"==typeof t&&t>0&&t>e_(e)-1)throw new eQ({offset:t,position:"start",size:e_(e)})}(e,t);let o=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return i&&function(e,t,n){if("number"==typeof t&&"number"==typeof n&&e_(e)!==n-t)throw new eQ({offset:n,position:"end",size:e_(e)})}(o,t,n),o}function e_(e){return Math.ceil((e.length-2)/2)}class ej extends ek{constructor({max:e,min:t,signed:n,size:r,value:i}){super(`Number \`${i}\` is not in safe${r?` ${8*r}-bit`:""}${n?" signed":" unsigned"} integer range ${e?`(\`${t}\` to \`${e}\`)`:`(above \`${t}\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}}class eq extends ek{constructor(e){var t;super(`Value \`${"object"==typeof e?JSON.stringify(e,(e,n)=>"function"==typeof t?t(e,n):"bigint"==typeof n?n.toString()+"#__bigint":n,void 0):e}\` of type \`${typeof e}
55\` is an invalid hex type.`,{metaMessages:['Hex types must be represented as `"0x${string}"`.']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexTypeError"})}}class ez extends ek{constructor(e){super(`Value \`${e}\` is an invalid hex value.`,{metaMessages:['Hex values must start with `"0x"` and contain only hexadecimal characters (0-9, a-f, A-F).']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexValueError"})}}class eG extends ek{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed \`${t}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeOverflowError"})}}class eQ extends ek{constructor({offset:e,position:t,size:n}){super(`Slice ${"start"===t?"starting":"ending"} at offset \`${e}\` is out-of-bounds (size: \`${n}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SliceOffsetOutOfBoundsError"})}}class eW extends ek{constructor({size:e,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeExceedsPaddingSizeError"})}}function eH(e){return{address:e.address,amount:eM(e.amount),index:eM(e.index),validatorIndex:eM(e.validatorIndex)}}var eK=n(47115),e$=n(26463),eV=n(85069),eZ=n(44324),eJ=n(86403);async function eY(e,t){let{blockNumber:n,blockTag:r="latest",blocks:a,returnFullTransactions:s,traceTransfers:u,validation:l}=t;try{let t=[];for(let e of a){var d;let n=e.blockOverrides?(d=e.blockOverrides,{..."bigint"==typeof d.baseFeePerGas&&{baseFeePerGas:eM(d.baseFeePerGas)},..."bigint"==typeof d.blobBaseFee&&{blobBaseFee:eM(d.blobBaseFee)},..."string"==typeof d.feeRecipient&&{feeRecipient:d.feeRecipient},..."bigint"==typeof d.gasLimit&&{gasLimit:eM(d.gasLimit)},..."bigint"==typeof d.number&&{number:eM(d.number)},..."bigint"==typeof d.prevRandao&&{prevRandao:eM(d.prevRandao)},..."bigint"==typeof d.time&&{time:eM(d.time)},...d.withdrawals&&{withdrawals:d.withdrawals.map(eH)}}):void 0,r=e.calls.map(e=>{let t=e.account?(0,v.T)(e.account):void 0,n={...e,data:e.abi?(0,o.R)(e):e.data,from:e.from??t?.address};return(0,C.F)(n),(0,E.tG)(n)}),i=e.stateOverrides?(0,eJ.mF)(e.stateOverrides):void 0;t.push({blockOverrides:n,calls:r,stateOverrides:i})}let f=n?(0,c.eC)(n):void 0;return(await e.request({method:"eth_simulateV1",params:[{blockStateCalls:t,returnFullTransactions:s,traceTransfers:u,validation:l},f||r]})).map((e,t)=>({...(0,eZ.Z)(e),calls:e.calls.map((e,n)=>{let{abi:r,args:o,functionName:s,to:c}=a[t].calls[n],u=e.error?.data??e.returnData,l=BigInt(e.gasUsed),d=e.logs?.map(e=>eu.U(e)),f="0x1"===e.status?"success":"failure",h=r&&"success"===f&&"0x"!==u?(0,i.k)({abi:r,data:u,functionName:s}):null,p=(()=>{let t;if("success"!==f&&(e.error?.data==="0x"?t=new P.wb:e.error&&(t=new eK.VQ(e.error)),t))return(0,G.S)(t,{abi:r??[],address:c,args:o,functionName:s??"<unknown>"})})();return{data:u,gasUsed:l,logs:d,status:f,..."success"===f?{result:h}:{error:p}}})}))}catch(t){let e=(0,eV.k)(t,{});if(e instanceof e$.cj)throw t;throw e}}var eX=n(70317),e0=n(73805),e1=n(66394),e2=n(16479),e5=n(97675);function e6(e){if(!Number.isSafeInteger(e)||e<0)throw Error("positive integer expected, got "+e)}function e3(e,...t){if(!(e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name))throw Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw Error("Uint8Array expected of length "+t+", got length="+e.length)}function e4(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}
55let e8=BigInt(4294967296-1),e7=BigInt(32),e9=(e,t,n)=>e<<n|t>>>32-n,te=(e,t,n)=>t<<n|e>>>32-n,tt=(e,t,n)=>t<<n-32|e>>>64-n,tn=(e,t,n)=>e<<n-32|t>>>64-n,tr=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];function ti(e){for(let n=0;n<e.length;n++){var t;e[n]=(t=e[n])<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255}}function to(e){return"string"==typeof e&&(e=function(e){if("string"!=typeof e)throw Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array(new TextEncoder().encode(e))}(e)),e3(e),e}class ta{clone(){return this._cloneInto()}}let ts=[],tc=[],tu=[],tl=BigInt(0),td=BigInt(1),tf=BigInt(2),th=BigInt(7),tp=BigInt(256),tm=BigInt(113);for(let e=0,t=td,n=1,r=0;e<24;e++){[n,r]=[r,(2*n+3*r)%5],ts.push(2*(5*r+n)),tc.push((e+1)*(e+2)/2%64);let i=tl;for(let e=0;e<7;e++)(t=(t<<td^(t>>th)*tm)%tp)&tf&&(i^=td<<(td<<BigInt(e))-td);tu.push(i)}let[ty,tg]=function(e,t=!1){let n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let i=0;i<e.length;i++){let{h:o,l:a}=function(e,t=!1){return t?{h:Number(e&e8),l:Number(e>>e7&e8)}:{h:0|Number(e>>e7&e8),l:0|Number(e&e8)}}(e[i],t);[n[i],r[i]]=[o,a]}return[n,r]}(tu,!0),tb=(e,t,n)=>n>32?tt(e,t,n):e9(e,t,n),tw=(e,t,n)=>n>32?tn(e,t,n):te(e,t,n);class tv extends ta{constructor(e,t,n,r=!1,i=24){var o;if(super(),this.blockLen=e,this.suffix=t,this.outputLen=n,this.enableXOF=r,this.rounds=i,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,e6(n),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(o=this.state,new Uint32Array(o.buffer,o.byteOffset,Math.floor(o.byteLength/4)))}keccak(){tr||ti(this.state32),function(e,t=24){let n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let t=0;t<10;t++)n[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let r=(t+8)%10,i=(t+2)%10,o=n[i],a=n[i+1],s=tb(o,a,1)^n[r],c=tw(o,a,1)^n[r+1];for(let n=0;n<50;n+=10)e[t+n]^=s,e[t+n+1]^=c}let t=e[2],i=e[3];for(let n=0;n<24;n++){let r=tc[n],o=tb(t,i,r),a=tw(t,i,r),s=ts[n];t=e[s],i=e[s+1],e[s]=o,e[s+1]=a}for(let t=0;t<50;t+=10){for(let r=0;r<10;r++)n[r]=e[t+r];for(let r=0;r<10;r++)e[t+r]^=~n[(r+2)%10]&n[(r+4)%10]}e[0]^=ty[r],e[1]^=tg[r]}n.fill(0)}(this.state32,this.rounds),tr||ti(this.state32),this.posOut=0,this.pos=0}update(e){e4(this);let{blockLen:t,state:n}=this,r=(e=to(e)).length;for(let i=0;i<r;){let o=Math.min(t-this.pos,r-i);for(let t=0;t<o;t++)n[this.pos++]^=e[i++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:n,blockLen:r}=this;e[n]^=t,(128&t)!=0&&n===r-1&&this.keccak(),e[r-1]^=128,this.keccak()}writeInto(e){e4(this,!1),e3(e),this.finish();let t=this.state,{blockLen:n}=this;for(let r=0,i=e.length;r<i;){this.posOut>=n&&this.keccak();let o=Math.min(n-this.posOut,i-r);e.set(t.subarray(this.posOut,this.posOut+o),r),this.posOut+=o,r+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return e6(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(!function(e,t){e3(e);let n=t.outputLen;if(e.length<n)throw Error("digestInto() expects output buffer of length at least "+n)}(e,this),this.finished)throw Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(e){let{blockLen:t,suffix:n,outputLen:r,rounds:i,enableXOF:o}=this;return e||(e=new tv(t,n,r,o,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=n,e.outputLen=r,e.enableXOF=o,e.destroyed=this.destroyed,e}}let tA=function(e){let t=t=>e().update(to(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}(()=>new tv(136,1,32)),tx={zero:48,nine:57,A:65,F:70,a:97,f:102};function tE(e){return e>=tx.zero&&e<=tx.nine?e-tx.zero:e>=tx.A&&e<=tx.F?e-(tx.A-10):e>=tx.a&&e<=tx.f?e-(tx.a-10):void 0}let tC=new TextEncoder;class tI extends ek{constructor({givenSize:e,maxSize:t}
55){super(`Size cannot exceed \`${t}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeOverflowError"})}}class tk extends ek{constructor({size:e,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeExceedsPaddingSizeError"})}}function tB(e,t={}){let{as:n="string"==typeof e?"Hex":"Bytes"}=t,r=tA(e instanceof Uint8Array?e:"string"==typeof e?function(e,t={}){let{size:n}=t,r=e;n&&(eB(e,n),r=eU(e,n));let i=r.slice(2);i.length%2&&(i=`0${i}`);let o=i.length/2,a=new Uint8Array(o);for(let e=0,t=0;e<o;e++){let n=tE(i.charCodeAt(t++)),r=tE(i.charCodeAt(t++));if(void 0===n||void 0===r)throw new ek(`Invalid byte sequence ("${i[t-2]}${i[t-1]}" in "${i}").`);a[e]=16*n+r}return a}(e):e instanceof Uint8Array?e:new Uint8Array(e));return"Bytes"===n?r:eN(r)}class tP extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){let t=super.get(e);return super.has(e)&&void 0!==t&&(this.delete(e),super.set(e,t)),t}set(e,t){if(super.set(e,t),this.maxSize&&this.size>this.maxSize){let e=this.keys().next().value;e&&this.delete(e)}return this}}let tT={checksum:new tP(8192)}.checksum,tO=/^0x[a-fA-F0-9]{40}$/;function tS(e,t={}){let{strict:n=!0}=t;if(!tO.test(e))throw new tN({address:e,cause:new tM});if(n){if(e.toLowerCase()===e)return;if(function(e){if(tT.has(e))return tT.get(e);tS(e,{strict:!1});let t=e.substring(2).toLowerCase(),n=tB(function(e,t={}){let{size:n}=t,r=tC.encode(e);return"number"==typeof n?(!function(e,t){if(e.length>t)throw new tI({givenSize:e.length,maxSize:t})}(r,n),function(e,t={}){let{dir:n,size:r=32}=t;if(0===r)return e;if(e.length>r)throw new tk({size:e.length,targetSize:r,type:"Bytes"});let i=new Uint8Array(r);for(let t=0;t<r;t++){let o="right"===n;i[o?t:r-t-1]=e[o?t:e.length-t-1]}return i}(r,{dir:"right",size:n})):r}(t),{as:"Bytes"}),r=t.split("");for(let e=0;e<40;e+=2)n[e>>1]>>4>=8&&r[e]&&(r[e]=r[e].toUpperCase()),(15&n[e>>1])>=8&&r[e+1]&&(r[e+1]=r[e+1].toUpperCase());let i=`0x${r.join("")}`;return tT.set(e,i),i}(e)!==e)throw new tN({address:e,cause:new tF})}}function tR(e,t={}){let{strict:n=!0}=t??{};try{return tS(e,{strict:n}),!0}catch{return!1}}class tN extends ek{constructor({address:e,cause:t}){super(`Address "${e}" is invalid.`,{cause:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidAddressError"})}}class tM extends ek{constructor(){super("Address is not a 20 byte (40 hexadecimal character) value."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidInputError"})}}class tF extends ek{constructor(){super("Address does not match its checksum counterpart."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidChecksumError"})}}function tL(e){let t=!0,n="",r=0,i="",o=!1;for(let a=0;a<e.length;a++){let s=e[a];if(["(",")",","].includes(s)&&(t=!0),"("===s&&r++,")"===s&&r--,t){if(0===r){if(" "===s&&["event","function","error",""].includes(i))i="";else if(i+=s,")"===s){o=!0;break}continue}if(" "===s){","!==e[a-1]&&","!==n&&",("!==n&&(n="",t=!1);continue}i+=s,n+=s}}if(!o)throw new ek("Unable to normalize signature.");return i}function tU(e,t={}){let{prepare:n=!0}=t,r=Array.isArray(e)||"string"==typeof e?function(e){let t;if("string"==typeof e)t=(0,e2.cK)(e);else{let n=(0,e1.D)(e),r=e.length;for(let i=0;i<r;i++){let r=e[i];if(!(0,e0.N0)(r)){t=(0,e2.cK)(r,n);break}}}if(!t)throw new eX.a_({signature:e});return t}(e):e;return{...r,...n?{hash:t_(r)}:{}}}function tD(e){return eD(t_(e),0,4)}function t_(e){return"string"!=typeof e&&"hash"in e&&e.hash?e.hash:tB(eF(tL("string"==typeof e?e:e5.t(e))))}class tj extends ek{constructor(e,t){super("Found ambiguous types in overloaded ABI Items.",{metaMessages:[`\`${e.type}\` in \`${tL(e5.t(e.abiItem))}\`, and`,`\`${t.type}\` in \`${tL(e5.t(t.abiItem))}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItem.AmbiguityError"})}}class tq extends ek{constructor({name:e,data:t,type:n="item"}){super(`ABI ${n}${e?` with name "${e}"`:t?` with data "${t}"`:""} not found.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItem.NotFoundError"})}}n(23171);let tz=/^(.*)\[([0-9]*)\]$/,tG=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,tQ=/^(u?int)(8|
5516|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)?$/;function tW(e){let t=0;for(let n=0;n<e.length;n++){let{dynamic:r,encoded:i}=e[n];r?t+=32:t+=e_(i)}let n=[],r=[],i=0;for(let o=0;o<e.length;o++){let{dynamic:a,encoded:s}=e[o];a?(n.push(eM(t+i,{size:32})),r.push(s),i+=e_(s)):n.push(s)}return eS(...n,...r)}function tH(e,t,n){let{checksumAddress:r=!1}=n??{};if(e.length!==t.length)throw new tZ({expectedLength:e.length,givenLength:t.length});let i=tW(function({checksumAddress:e,parameters:t,values:n}){let r=[];for(let i=0;i<t.length;i++)r.push(function e({checksumAddress:t=!1,parameter:n,value:r}){let i=function(e){let t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}(n.type);if(i){let[o,a]=i;return function(t,n){let{checksumAddress:r,length:i,parameter:o}=n,a=null===i;if(!Array.isArray(t))throw new tJ(t);if(!a&&t.length!==i)throw new t$({expectedLength:i,givenLength:t.length,type:`${o.type}[${i}]`});let s=!1,c=[];for(let n=0;n<t.length;n++){let i=e({checksumAddress:r,parameter:o,value:t[n]});i.dynamic&&(s=!0),c.push(i)}if(a||s){let e=tW(c);if(a){let t=eM(c.length,{size:32});return{dynamic:!0,encoded:c.length>0?eS(t,e):t}}if(s)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:eS(...c.map(({encoded:e})=>e))}}(r,{checksumAddress:t,length:o,parameter:{...n,type:a}})}if("tuple"===n.type)return function(t,n){let{checksumAddress:r,parameter:i}=n,o=!1,a=[];for(let n=0;n<i.components.length;n++){let s=i.components[n],c=Array.isArray(t)?n:s.name,u=e({checksumAddress:r,parameter:s,value:t[c]});a.push(u),u.dynamic&&(o=!0)}return{dynamic:o,encoded:o?tW(a):eS(...a.map(({encoded:e})=>e))}}(r,{checksumAddress:t,parameter:n});if("address"===n.type)return function(e,t){let{checksum:n=!1}=t;return tS(e,{strict:n}),{dynamic:!1,encoded:eL(e.toLowerCase())}}(r,{checksum:t});if("bool"===n.type)return function(e){if("boolean"!=typeof e)throw new ek(`Invalid boolean value: "${e}" (type: ${typeof e}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:eL(eR(e))}}(r);if(n.type.startsWith("uint")||n.type.startsWith("int")){let e=n.type.startsWith("int"),[,,t="256"]=tQ.exec(n.type)??[];return function(e,{signed:t,size:n}){if("number"==typeof n){let r=2n**(BigInt(n)-(t?1n:0n))-1n,i=t?-r-1n:0n;if(e>r||e<i)throw new ej({max:r.toString(),min:i.toString(),signed:t,size:n/8,value:e.toString()})}return{dynamic:!1,encoded:eM(e,{size:32,signed:t})}}(r,{signed:e,size:Number(t)})}if(n.type.startsWith("bytes"))return function(e,{type:t}){let[,n]=t.split("bytes"),r=e_(e);if(!n){let t=e;return r%32!=0&&(t=eU(t,32*Math.ceil((e.length-2)/2/32))),{dynamic:!0,encoded:eS(eL(eM(r,{size:32})),t)}}if(r!==Number.parseInt(n))throw new tV({expectedSize:Number.parseInt(n),value:e});return{dynamic:!1,encoded:eU(e)}}(r,{type:n.type});if("string"===n.type)return function(e){let t=eF(e),n=Math.ceil(e_(t)/32),r=[];for(let e=0;e<n;e++)r.push(eU(eD(t,32*e,(e+1)*32)));return{dynamic:!0,encoded:eS(eU(eM(e_(t),{size:32})),...r)}}(r);throw new tY(n.type)}({checksumAddress:e,parameter:t[i],value:n[i]}));return r}({checksumAddress:r,parameters:e,values:t}));return 0===i.length?"0x":i}function tK(e,t){if(e.length!==t.length)throw new tZ({expectedLength:e.length,givenLength:t.length});let n=[];for(let r=0;r<e.length;r++){let i=e[r],o=t[r];n.push(tK.encode(i,o))}return eS(...n)}(tK||(tK={})).encode=function e(t,n,r=!1){if("address"===t)return tS(n),eL(n.toLowerCase(),r?32:0);if("string"===t)return eF(n);if("bytes"===t)return n;if("bool"===t)return eL(eR(n),r?32:1);let i=t.match(tQ);if(i){let[e,t,o="256"]=i,a=Number.parseInt(o)/8;return eM(n,{size:r?32:a,signed:"int"===t})}let o=t.match(tG);if(o){let[e,t]=o;if(Number.parseInt(t)!==(n.length-2)/2)throw new tV({expectedSize:Number.parseInt(t),value:n});return eU(n,r?32:0)}let a=t.match(tz);if(a&&Array.isArray(n)){let[t,r]=a,i=[];for(let t=0;t<n.length;t++)i.push(e(r,n[t],!0));return 0===i.length?"0x":eS(...i)}throw new tY(t)};class t$ extends ek{constructor({expectedLength:e,givenLength:t,type:n}){super(`Array length mismatch for type \`${n}\`. Expected: \`${e}\`. Given: \`${t}\`.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.ArrayLe
55ngthMismatchError"})}}class tV extends ek{constructor({expectedSize:e,value:t}){super(`Size of bytes "${t}" (bytes${e_(t)}) does not match expected size (bytes${e}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.BytesSizeMismatchError"})}}class tZ extends ek{constructor({expectedLength:e,givenLength:t}){super(`ABI encoding parameters/values length mismatch.
56Expected length (parameters): ${e}
57Given length (values): ${t}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.LengthMismatchError"})}}class tJ extends ek{constructor(e){super(`Value \`${e}\` is not a valid array.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidArrayError"})}}class tY extends ek{constructor(e){super(`Type \`${e}\` is not a valid ABI Type.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidTypeError"})}}function tX(e,t={}){return tU(e,t)}let t0="0x0000000000000000000000000000000000000000";var t1=n(38432);async function t2(e,t){let{blockNumber:n,blockTag:r,calls:i,stateOverrides:a,traceAssetChanges:s,traceTransfers:c,validation:u}=t,l=t.account?(0,v.T)(t.account):void 0;if(s&&!l)throw new T.G("`account` is required when `traceAssetChanges` is true");let d=l?function(e,t){let{bytecode:n,args:r}=t;return eS(n,e.inputs?.length&&r?.length?tH(e.inputs,r):"0x")}(tU("constructor(bytes, bytes)"),{bytecode:t1.NO,args:["0x6080604052348015600e575f80fd5b5061016d8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c8063f8b2cb4f1461002d575b5f80fd5b610047600480360381019061004291906100db565b61005d565b604051610054919061011e565b60405180910390f35b5f8173ffffffffffffffffffffffffffffffffffffffff16319050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6100aa82610081565b9050919050565b6100ba816100a0565b81146100c4575f80fd5b50565b5f813590506100d5816100b1565b92915050565b5f602082840312156100f0576100ef61007d565b5b5f6100fd848285016100c7565b91505092915050565b5f819050919050565b61011881610106565b82525050565b5f6020820190506101315f83018461010f565b9291505056fea26469706673582212203b9fe929fe995c7cf9887f0bdba8a36dd78e8b73f149b17d2d9ad7cd09d2dc6264736f6c634300081a0033",function(e,...t){let{overloads:n}=e,r=n?function(e,t,n){let r=function(e,t,n){let r;let{args:i=[],prepare:o=!0}=n??{},a=function(e,t={}){let{strict:n=!1}=t;try{return!function(e,t={}){let{strict:n=!1}=t;if(!e||"string"!=typeof e)throw new eq(e);
vendor: 1,138 bytes, line 57
57if(n&&!/^0x[0-9a-fA-F]*$/.test(e)||!e.startsWith("0x"))throw new ez(e)}(e,{strict:n}),!0}catch{return!1}}(t,{strict:!1}),s=e.filter(e=>a?"function"===e.type||"error"===e.type?tD(e)===eD(t,0,4):"event"===e.type&&t_(e)===t:"name"in e&&e.name===t);if(0===s.length)throw new tq({name:t});if(1===s.length)return{...s[0],...o?{hash:t_(s[0])}:{}};for(let e of s)if("inputs"in e){if(!i||0===i.length){if(!e.inputs||0===e.inputs.length)return{...e,...o?{hash:t_(e)}:{}};continue}if(e.inputs&&0!==e.inputs.length&&e.inputs.length===i.length&&i.every((t,n)=>{let r="inputs"in e&&e.inputs[n];return!!r&&function e(t,n){let r=typeof t,i=n.type;switch(i){case"address":return tR(t,{strict:!1});case"bool":return"boolean"===r;case"function":case"string":return"string"===r;default:if("tuple"===i&&"components"in n)return Object.values(n.components).every((n,r)=>e(Object.values(t)[r],n));if(/^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)?$/.test(i))return"number"===r||"bigint"===r;if(/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(i))return"string"===r||t instanceof Uint8Array;
57if(/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(i))return Array.isArray(t)&&t.every(t=>e(t,{...n,type:i.replace(/(\[[0-9]{0,}\])$/,"")}));return!1}}(t,r)})){if(r&&"inputs"in r&&r.inputs){let t=function e(t,n,r){for(let i in t){let o=t[i],a=n[i];if("tuple"===o.type&&"tuple"===a.type&&"components"in o&&"components"in a)return e(o.components,a.components,r[i]);let s=[o.type,a.type];if(s.includes("address")&&s.includes("bytes20")||(s.includes("address")&&s.includes("string")||s.includes("address")&&s.includes("bytes"))&&tR(r[i],{strict:!1}))return s}}(e.inputs,r.inputs,i);if(t)throw new tj({abiItem:e,type:t[0]},{abiItem:r,type:t[1]})}r=e}}let c=(()=>{if(r)return r;let[e,...t]=s;return{...e,overloads:t}})();if(!c)throw new tq({name:t});return{...c,...o?{hash:t_(c)}:{}}}(e,t,n);if("function"!==r.type)throw new tq({name:t,type:"function"});return r}([e,...n],e.name,{args:t[0]}):e,i=tD(r),o=t.length>0?tH(r.inputs,t[0]):void 0;return o?eS(i,o):i}(tX("function getBalance(address)"),[l.address])]}):void 0,f=s?await Promise.all(t.calls.map(async t=>{if(!t.data&&!t.abi)return;let{accessList:n}=await I(e,{account:l.address,...t,data:t.abi?(0,o.R)(t):t.data});return n.map(({address:e,storageKeys:t})=>t.length>0?e:null)})).then(e=>e.flat().filter(Boolean)):[],h=a?.map(e=>e.address===l?.address?{...e,nonce:0}:e),p=await eY(e,{blockNumber:n,blockTag:r,blocks:[...s?[{calls:[{data:d}],stateOverrides:a},{calls:f.map((e,t)=>({abi:[tX("function balanceOf(address) returns (uint256)")],functionName:"balanceOf",args:[l.address],to:e,from:t0,nonce:t})),stateOverrides:[{address:t0,nonce:0}]}]:[],{calls:[...i,{}].map((e,t)=>({...e,from:l?.address,nonce:t})),stateOverrides:h},...s?[{calls:[{data:d}]},{calls:f.map((e,t)=>({abi:[tX("function balanceOf(address) returns (uint256)")],functionName:"balanceOf",args:[l.address],to:e,from:t0,nonce:t})),stateOverrides:[{address:t0,nonce:0}]},{calls:f.map((e,t)=>({to:e,abi:[tX("function decimals() returns (uint256)")],functionName:"decimals",from:t0,nonce:t})),stateOverrides:[{address:t0,nonce:0}]},{calls:f.map((e,t)=>({to:e,abi:[tX("function tokenURI(uint256) returns (string)")],functionName:"tokenURI",args:[0n],from:t0,nonce:t})),stateOverrides:[{address:t0,nonce:0}]},{calls:f.map((e,t)=>({to:e,abi:[tX("function symbol() returns (string)")],functionName:"symbol",from:t0,nonce:t})),stateOverrides:[{address:t0,nonce:0}]}]:[]],traceTransfers:c,validation:u}),m=s?p[2]:p[0],[y,g,,b,w,A,x,E]=s?p:[],{calls:C,...k}=m,B=C.slice(0,-1)??[],P=[...y?.calls??[],...g?.calls??[]].map(e=>"success"===e.status?(0,Y.y_)(e.data):null),O=[...b?.calls??[],...w?.calls??[]].map(e=>"success"===e.status?(0,Y.y_)(e.data):null),S=(A?.calls??[]).map(e=>"success"===e.status?e.result:null),R=(E?.calls??[]).map(e=>"success"===e.status?e.result:null),N=(x?.calls??[]).map(e=>"success"===e.status?e.result:null),M=[];for(let[e,t]of O.entries()){let n=P[e];if("bigint"!=typeof t||"bigint"!=typeof n)continue;let r=S[e-1],i=R[e-1],o=N[e-1],a=0===e?{address:"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",decimals:18,symbol:"ETH"}:{address:f[e-1],decimals:o||r?Number(r??1):void 0,symbol:i??void 0};M.some(e=>e.token.address===a.address)||M.push({token:a,value:{pre:n,post:t,diff:t-n}})}return{assetChanges:M,block:k,results:B}}var t5=n(40518);async function t6(e,{filter:t}){return t.request({method:"eth_uninstallFilter",params:[t.id]})}var t3=n(2909),t4=n(84379),t8=n(75036),t7=n(21230);let t9="0x6492649264926492649264926492649264926492649264926492649264926492";var ne=n(23090),nt=n(33465),nn=n(3556),nr=n(32298);async function ni(e,t){let{address:n,factory:i,factoryData:a,hash:s,signature:u,universalSignatureVerifierAddress:l=e.chain?.contracts?.universalSignatureVerifier?.address,...d}=t,h=(0,t7.v)(u)?u:"object"==typeof u&&"r"in u&&"s"in u?function({r:e,s:t,to:n="hex",v:r,yParity:i}){let o=(()=>{if(0===i||1===i)return i;if(r&&(27n===r||28n===r||r>=35n))return r%2n===0n?1:0;throw Error("Invalid `v` or `yParity` value")})(),a=`0x${new nr.secp256k1.Signature((0,Y.y_)(e),(0,Y.y_)(t)).toCompactHex()}${0===o?"1b":"1c"}`;return"hex"===n?a:(0,S.nr)(a)}(u):(0,c.ci)(u),p=await (async()=>i||a?(0,ne.p5)(h,-32)===t9?h:function(e){let{address:t,data:n,signature:r,to:i="hex"}=e,o=(0,nn.SM)([(0,M.E)([{type:"address"},{type:"bytes"},{type:"bytes"}],[t,n,r]),t9]);return"hex"===i?o:(0,S.nr)(o)}({address:i,data:a,signature:h}):h)();try{let t=l?{to:l,data:(0,o.R)({abi:r.$o,functionName:"isValidSig",args:[n,s,p]}),...d}:{data:(0,t4.w)({abi:r.$o,args:[n,s,p],bytecode:t1.ST}),...d},{data:i}=await (0,f.s)(e,w.R,"call")(t);return(0,Y.XA)(i??"0x0")}catch(e){try{if((0,en.E)((0,t8.K)(n),await (0,nt.R)({hash:s,signature:u})))return!0}catch{}if(e instanceof eK.cg)return!1;throw e}}async function no(e,{address:t,message:n,factory:r,factoryData:i,signature:o,...a}
57){return ni(e,{address:t,factory:r,factoryData:i,hash:(0,t3.r)(n),signature:o,...a})}var na=n(19586);async function ns(e,t){let{address:n,factory:r,factoryData:i,signature:o,message:a,primaryType:s,types:c,domain:u,...l}=t;return ni(e,{address:n,factory:r,factoryData:i,hash:(0,na.Jv)({message:a,primaryType:s,types:c,domain:u}),signature:o,...l})}var nc=n(70352),nu=n(31462),nl=n(85583),nd=n(33e3),nf=n(92791),nh=n(24473);let np=/^(?:(?<scheme>[a-zA-Z][a-zA-Z0-9+-.]*):\/\/)?(?<domain>[a-zA-Z0-9+-.]*(?::[0-9]{1,5})?) (?:wants you to sign in with your Ethereum account:\n)(?<address>0x[a-fA-F0-9]{40})\n\n(?:(?<statement>.*)\n\n)?/,nm=/(?:URI: (?<uri>.+))\n(?:Version: (?<version>.+))\n(?:Chain ID: (?<chainId>\d+))\n(?:Nonce: (?<nonce>[a-zA-Z0-9]+))\n(?:Issued At: (?<issuedAt>.+))(?:\nExpiration Time: (?<expirationTime>.+))?(?:\nNot Before: (?<notBefore>.+))?(?:\nRequest ID: (?<requestId>.+))?/;async function ny(e,t){let{address:n,domain:r,message:i,nonce:o,scheme:a,signature:s,time:c=new Date,...u}=t,l=function(e){let{scheme:t,statement:n,...r}=e.match(np)?.groups??{},{chainId:i,expirationTime:o,issuedAt:a,notBefore:s,requestId:c,...u}=e.match(nm)?.groups??{},l=e.split("Resources:")[1]?.split("\n- ").slice(1);return{...r,...u,...i?{chainId:Number(i)}:{},...o?{expirationTime:new Date(o)}:{},...a?{issuedAt:new Date(a)}:{},...s?{notBefore:new Date(s)}:{},...c?{requestId:c}:{},...l?{resources:l}:{},...t?{scheme:t}:{},...n?{statement:n}:{}}}(i);if(!l.address||!function(e){let{address:t,domain:n,message:r,nonce:i,scheme:o,time:a=new Date}=e;if(n&&r.domain!==n||i&&r.nonce!==i||o&&r.scheme!==o||r.expirationTime&&a>=r.expirationTime||r.notBefore&&a<r.notBefore)return!1;try{if(!r.address||t&&!(0,en.E)(r.address,t))return!1}catch{return!1}return!0}({address:n,domain:r,message:l,nonce:o,scheme:a,time:c}))return!1;let d=(0,t3.r)(i);return ni(e,{address:l.address,hash:d,signature:s,...u})}var ng=n(39635),nb=n(50165);function nw(e){return{call:t=>(0,w.R)(e,t),createAccessList:t=>I(e,t),createBlockFilter:()=>B(e),createContractEventFilter:t=>j(e,t),createEventFilter:t=>q(e,t),createPendingTransactionFilter:()=>z(e),estimateContractGas:t=>W(e,t),estimateGas:t=>(0,Q.Q)(e,t),getBalance:t=>(0,$.s)(e,t),getBlobBaseFee:()=>V(e),getBlock:t=>(0,Z.Q)(e,t),getBlockNumber:t=>(0,J.z)(e,t),getBlockTransactionCount:t=>X(e,t),getBytecode:t=>et(e,t),getChainId:()=>(0,ee.L)(e),getCode:t=>et(e,t),getContractEvents:t=>ed(e,t),getEip712Domain:t=>eh(e,t),getEnsAddress:t=>p(e,t),getEnsAvatar:t=>(0,m.r)(e,t),getEnsName:t=>(0,y.w)(e,t),getEnsResolver:t=>g(e,t),getEnsText:t=>(0,b.g)(e,t),getFeeHistory:t=>em(e,t),estimateFeesPerGas:t=>(0,H.X)(e,t),getFilterChanges:t=>ey(e,t),getFilterLogs:t=>eg(e,t),getGasPrice:()=>(0,eb.o)(e),getLogs:t=>el(e,t),getProof:t=>ew(e,t),estimateMaxPriorityFeePerGas:t=>(0,K._)(e,t),getStorageAt:t=>ev(e,t),getTransaction:t=>(0,eA.f)(e,t),getTransactionConfirmations:t=>ex(e,t),getTransactionCount:t=>(0,eE.K)(e,t),getTransactionReceipt:t=>(0,eC.a)(e,t),multicall:t=>(0,eI.A)(e,t),prepareTransactionRequest:t=>(0,ng.ZE)(e,t),readContract:t=>(0,h.L)(e,t),sendRawTransaction:t=>(0,nb.p)(e,t),simulate:t=>eY(e,t),simulateBlocks:t=>eY(e,t),simulateCalls:t=>t2(e,t),simulateContract:t=>(0,t5.a)(e,t),verifyMessage:t=>no(e,t),verifySiweMessage:t=>ny(e,t),verifyTypedData:t=>ns(e,t),uninstallFilter:t=>t6(e,t),waitForTransactionReceipt:t=>(0,nc.e)(e,t),watchBlocks:t=>(function(e,{blockTag:t="latest",emitMissed:n=!1,emitOnBegin:r=!1,onBlock:i,onError:o,includeTransactions:a,poll:s,pollingInterval:c=e.pollingInterval}){let u,l,d,h;let p=void 0!==s?s:"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].c
57onfig.type),m=a??!1;return p?(()=>{let a=(0,nf.P)(["watchBlocks",e.uid,t,n,r,m,c]);return(0,nl.N7)(a,{onBlock:i,onError:o},i=>(0,nd.$)(async()=>{try{let r=await (0,f.s)(e,Z.Q,"getBlock")({blockTag:t,includeTransactions:m});if(r.number&&u?.number){if(r.number===u.number)return;if(r.number-u.number>1&&n)for(let t=u?.number+1n;t<r.number;t++){let n=await (0,f.s)(e,Z.Q,"getBlock")({blockNumber:t,includeTransactions:m});i.onBlock(n,u),u=n}}(!u?.number||"pending"===t&&!r?.number||r.number&&r.number>u.number)&&(i.onBlock(r,u),u=r)}catch(e){i.onError?.(e)}},{emitOnBegin:r,interval:c}))})():(l=!0,d=!0,h=()=>l=!1,(async()=>{try{r&&(0,f.s)(e,Z.Q,"getBlock")({blockTag:t,includeTransactions:m}).then(e=>{l&&d&&(i(e,void 0),d=!1)});let n=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),{unsubscribe:a}=await n.subscribe({params:["newHeads"],async onData(t){if(!l)return;let n=await (0,f.s)(e,Z.Q,"getBlock")({blockNumber:t.blockNumber,includeTransactions:m}).catch(()=>{});l&&(i(n,u),d=!1,u=n)},onError(e){o?.(e)}});h=a,l||h()}catch(e){o?.(e)}})(),()=>h())})(e,t),watchBlockNumber:t=>(0,nu.q)(e,t),watchContractEvent:t=>(function(e,t){let{abi:n,address:r,args:i,batch:o=!0,eventName:a,fromBlock:s,onError:c,onLogs:u,poll:l,pollingInterval:d=e.pollingInterval,strict:h}=t;return(void 0!==l?l:"bigint"==typeof s||"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].c
57onfig.type))?(()=>{let t=h??!1,l=(0,nf.P)(["watchContractEvent",r,i,o,e.uid,a,d,t,s]);return(0,nl.N7)(l,{onLogs:u,onError:c},c=>{let u,l;void 0!==s&&(u=s-1n);let h=!1,p=(0,nd.$)(async()=>{if(!h){try{l=await (0,f.s)(e,j,"createContractEventFilter")({abi:n,address:r,args:i,eventName:a,strict:t,fromBlock:s})}catch{}h=!0;return}try{let s;if(l)s=await (0,f.s)(e,ey,"getFilterChanges")({filter:l});else{let o=await (0,f.s)(e,J.z,"getBlockNumber")({});s=u&&u<o?await (0,f.s)(e,ed,"getContractEvents")({abi:n,address:r,args:i,eventName:a,fromBlock:u+1n,toBlock:o,strict:t}):[],u=o}if(0===s.length)return;if(o)c.onLogs(s);else for(let e of s)c.onLogs([e])}catch(e){l&&e instanceof nh.yR&&(h=!1),c.onError?.(e)}},{emitOnBegin:!0,interval:d});return async()=>{l&&await (0,f.s)(e,t6,"uninstallFilter")({filter:l}),p()}})})():(()=>{let t=(0,nf.P)(["watchContractEvent",r,i,o,e.uid,a,d,h??!1]),s=!0,l=()=>s=!1;return(0,nl.N7)(t,{onLogs:u,onError:c},t=>((async()=>{try{let o=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),c=a?D({abi:n,eventName:a,args:i}):[],{unsubscribe:u}=await o.subscribe({params:["logs",{address:r,topics:c}],onData(e){if(!s)return;let r=e.result;try{let{eventName:e,args:i}=es({abi:n,data:r.data,topics:r.topics,strict:h}),o=(0,eu.U)(r,{args:i,eventName:e});t.onLogs([o])}catch(o){let e,n;if(o instanceof P.SM||o instanceof P.Gy){if(h)return;e=o.abiItem.name,n=o.abiItem.inputs?.some(e=>!("name"in e&&e.name))}let i=(0,eu.U)(r,{args:n?[]:{},eventName:e});t.onLogs([i])}},onError(e){t.onError?.(e)}});l=u,s||l()}catch(e){c?.(e)}})(),()=>l()))})()})(e,t),watchEvent:t=>(function(e,{address:t,args:n,batch:r=!0,event:i,events:o,fromBlock:a,onError:s,onLogs:c,poll:u,pollingInterval:l=e.pollingInterval,strict:d}){let h,p;let m=void 0!==u?u:"bigint"==typeof a||"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].c
57onfig.type),y=d??!1;return m?(()=>{let u=(0,nf.P)(["watchEvent",t,n,r,e.uid,i,l,a]);return(0,nl.N7)(u,{onLogs:c,onError:s},s=>{let c,u;void 0!==a&&(c=a-1n);let d=!1,h=(0,nd.$)(async()=>{if(!d){try{u=await (0,f.s)(e,q,"createEventFilter")({address:t,args:n,event:i,events:o,strict:y,fromBlock:a})}catch{}d=!0;return}try{let a;if(u)a=await (0,f.s)(e,ey,"getFilterChanges")({filter:u});else{let r=await (0,f.s)(e,J.z,"getBlockNumber")({});a=c&&c!==r?await (0,f.s)(e,el,"getLogs")({address:t,args:n,event:i,events:o,fromBlock:c+1n,toBlock:r}):[],c=r}if(0===a.length)return;if(r)s.onLogs(a);else for(let e of a)s.onLogs([e])}catch(e){u&&e instanceof nh.yR&&(d=!1),s.onError?.(e)}},{emitOnBegin:!0,interval:l});return async()=>{u&&await (0,f.s)(e,t6,"uninstallFilter")({filter:u}),h()}})})():(h=!0,p=()=>h=!1,(async()=>{try{let r=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),a=o??(i?[i]:void 0),u=[];a&&(u=[a.flatMap(e=>D({abi:[e],eventName:e.name,args:n}))],i&&(u=u[0]));let{unsubscribe:l}=await r.subscribe({params:["logs",{address:t,topics:u}],onData(e){if(!h)return;let t=e.result;try{let{eventName:e,args:n}=es({abi:a??[],data:t.data,topics:t.topics,strict:y}),r=(0,eu.U)(t,{args:n,eventName:e});c([r])}catch(i){let e,n;if(i instanceof P.SM||i instanceof P.Gy){if(d)return;e=i.abiItem.name,n=i.abiItem.inputs?.some(e=>!("name"in e&&e.name))}let r=(0,eu.U)(t,{args:n?[]:{},eventName:e});c([r])}},onError(e){s?.(e)}});p=l,h||p()}catch(e){s?.(e)}})(),()=>p())})(e,t),watchPendingTransactions:t=>(function(e,{batch:t=!0,onError:n,onTransactions:r,poll:i,pollingInterval:o=e.pollingInterval}){let a,s;return(void 0!==i?i:"webSocket"!==e.transport.type)?(()=>{let i=(0,nf.P)(["watchPendingTransactions",e.uid,t,o]);return(0,nl.N7)(i,{onTransactions:r,onError:n},n=>{let r;let i=(0,nd.$)(async()=>{try{if(!r)try{r=await (0,f.s)(e,z,"createPendingTransactionFilter")({});return}catch(e){throw i(),e}let o=await (0,f.s)(e,ey,"getFilterChanges")({filter:r});if(0===o.length)return;if(t)n.onTransactions(o);else for(let e of o)n.onTransactions([e])}catch(e){n.onError?.(e)}},{emitOnBegin:!0,interval:o});return async()=>{r&&await (0,f.s)(e,t6,"uninstallFilter")({filter:r}),i()}})})():(a=!0,s=()=>a=!1,(async()=>{try{let{unsubscribe:t}=await e.transport.subscribe({params:["newPendingTransactions"],onData(e){if(!a)return;let t=e.result;r([t])},onError(e){n?.(e)}});s=t,a||s()}catch(e){n?.(e)}})(),()=>s())})(e,t)}}function nv(e,t={}){let n=function(e,t={}){let n;try{n=e.getClient(t)}catch{}return n}(e,t);return n?.extend(nw)}var nA=n(29292),nx=n(42887);function nE(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,nx.Z)(e);return(0,nA.useSyncExternalStoreWithSelector)(e=>(function(e,t){let{onChange:n}=t;return e.subscribe(()=>nv(e),n,{equalityFn:(e,t)=>e?.uid===t?.uid})})(t,{onChange:e}),()=>nv(t,e),()=>nv(t,e),e=>e,(e,t)=>(null==e?void 0:e.uid)===(null==t?void 0:t.uid))}},39452:function(e,t,n){"use strict";n.d(t,{Q:function(){return f}});var r=n(20568),i=n(79561),o=n(90444),a=n(15578);async function s(e,{account:t=e.account,message:n}){if(!t)throw new o.o({docsPath:"/docs/actions/wallet/signMessage"});let r=(0,i.T)(t);if(r.signMessage)return r.signMessage({message:n});let s="string"==typeof n?(0,a.$G)(n):n.raw instanceof Uint8Array?(0,a.NC)(n.raw):n.raw;return e.request({method:"personal_sign",params:[s,r.address]},{retryCount:0})}var c=n(37225),u=n(38507);async function l(e,t){let n;let{account:r,connector:i,...o}=t;return n="object"==typeof r&&"local"===r.type?e.getClient():await (0,u.e)(e,{account:r,connector:i}),(0,c.s)(n,s,"signMessage")({...o,...r?{account:r}:{}})}var d=n(42887);function f(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:n}=t,i=(e=(0,d.Z)(t),{mutationFn:t=>l(e,t),mutationKey:["signMessage"]}),{mutate:o,mutateAsync:a,...s}=(0,r.D)({...n,...i});return{...s,signMessage:o,signMessageAsync:a}}},96043:function(e,t,n){"use strict";n.d(t,{o:function(){return u}});var r=n(20568),i=n(2731),o=n(34497);async function a(e,t){let{addEthereumChainParameter:n,chainId:r}=t,a=e.state.connections.get(t.connector?.uid??e.state.current);if(a){let e=a.connector;if(!e.switchChain)throw new o.O({connector:e});return await e.switchChain({addEthereumChainParameter:n,chainId:r})}let s=e.chains.find(e=>e.id===r);if(!s)throw new i.X4;return e.setState(e=>({...e,chainId:r})),s}var s=n(44567),c=n(42887);function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:t}=e,n=(0,c.Z)(e),{mutate:i,mutateAsync:o,...u}=(0,r.D)({...t,mutationFn:e=>a(n,e),mutationKey:["switchChain"]});return{...u,chains:(0,s.C)({config:n}),switchChain:i,switchChainAsync:o}}},70828:function(e,t,n){"use strict";n.d(t,{aM:function(){return o}});var r=n(94642),i=n(73054);function o(e){let t=(0,r.a)({...e,queryKeyHashFn:i.kq});return t.queryKey=e.queryKey,t}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.