1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[429],{33954:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),n=e[0],r=e[1];return(n+r)*3/4-r},e.toByteArray=function(t){var e,n,o=u(t),a=o[0],s=o[1],c=new i((a+s)*3/4-s),l=0,f=s>0?a-4:a;for(n=0;n<f;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],c[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;return 2===s&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,c[l++]=255&e),1===s&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e),c},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],a=0,s=r-i;a<s;a+=16383)o.push(function(t,e,r){for(var i,o=[],a=e;a<r;a+=3)o.push(n[(i=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]))>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(t,a,a+16383>s?s:a+16383));return 1===i?o.push(n[(e=t[r-1])>>2]+n[e<<4&63]+"=="):2===i&&o.push(n[(e=(t[r-2]<<8)+t[r-1])>>10]+n[e>>4&63]+n[e<<2&63]+"="),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function u(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},20506:function(t,e,n){"use strict";/*! 2 * The buffer module from node.js, for the browser. 3 * 4 * @author Feross Aboukhadijeh <https://feross.org> 5 * @license MIT 6 */let r=n(33954),i=n(35255),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');let e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,n){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return l(t)}return u(t,e,n)}function u(t,e,n){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!s.isEncoding(e))throw TypeError("Unknown encoding: "+e);let n=0|p(t,e),r=a(n),i=r.write(t,e);return i!==n&&(r=r.slice(0,i)),r}(t,e);if(ArrayBuffer.isView(t))return function(t){if(U(t,Uint8Array)){let e=new Uint8Array(t);return d(e.buffer,e.byteOffset,e.byteLength)}return f(t)}(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(U(t,ArrayBuffer)||t&&U(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(U(t,SharedArrayBuffer)||t&&U(t.buffer,SharedArrayBuffer)))return d(t,e,n);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');let r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return s.from(r,e,n);let i=function(t){var e;if(s.isBuffer(t)){let e=0|h(t.length),n=a(e);return 0===n.length||t.copy(n,0,0,e),n}return void 0!==t.length?"number"!=typeof t.length||(e=t.length)!=e?a(0):f(t):"Buffer"===t.type&&Array.isArray(t.data)?f(t.data):void 0}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function c(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return c(t),a(t<0?0:0|h(t))}function f(t){let e=t.length<0?0:0|h(t.length),n=a(e);for(let r=0;r<e;r+=1)n[r]=255&t[r];return n}function d(t,e,n){let r;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),s.prototype),r}function h(t){if(t>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||U(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);let n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return N(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return D(t).length;default:if(i)return r?-1:N(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,n){let i=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,n){let r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=e;r<n;++r)i+=L[t[r]];return i}(this,e,n);case"utf8":case"utf-8":return b(this,e,n);case"ascii":return function(t,e,n){let r="";n=Math.min(t.length,n);for(let i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}(this,e,n);case"latin1":case"binary":return function(t,e,n){let r="";n=Math.min(t.length,n);for(let i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}(this,e,n);case"base64":var o,a;return o=e,a=n,0===o&&a===this.length?r.fromByteArray(this):r.fromByteArray(this.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,n){let r=t.slice(e,n),i="";for(let t=0;t<r.length-1;t+=2)i+=String.fromCharCode(r[t]+256*r[t+1]);return i}(this,e,n);default:if(i)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function m(t,e,n){let r=t[e];t[e]=t[n],t[n]=r}function v(t,e,n,r,i){var o;if(0===t.length)return -1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(o=n=+n)!=o&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return -1;n=t.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof e&&(e=s.from(e,r)),s.isBuffer(e))return 0===e.length?-1:y(t,e,n,r,i);if("number"==typeof e)return(e&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,r,i);throw TypeError("val must be string, number or Buffer")}function y(t,e,n,r,i){let o,a=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return -1;a=2,s/=2,u/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){let r=-1;for(o=n;o<s;o++)if(c(t,o)===c(e,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===u)return r*a}else -1!==r&&(o-=o-r),r=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){let n=!0;for(let r=0;r<u;r++)if(c(t,o+r)!==c(e,r)){n=!1;break}if(n)return o}return -1}function b(t,e,n){n=Math.min(t.length,n);let r=[],i=e;for(;i<n;){let e=t[i],o=null,a=e>239?4:e>223?3:e>191?2:1;if(i+a<=n){let n,r,s,u;switch(a){case 1:e<128&&(o=e);break;case 2:(192&(n=t[i+1]))==128&&(u=(31&e)<<6|63&n)>127&&(o=u);break;case 3:n=t[i+1],r=t[i+2],(192&n)==128&&(192&r)==128&&(u=(15&e)<<12|(63&n)<<6|63&r)>
vendor: 15,500 bytes, line 6
62047&&(u<55296||u>57343)&&(o=u);break;case 4:n=t[i+1],r=t[i+2],s=t[i+3],(192&n)==128&&(192&r)==128&&(192&s)==128&&(u=(15&e)<<18|(63&n)<<12|(63&r)<<6|63&s)>65535&&u<1114112&&(o=u)}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(t){let e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);let n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return n}(r)}function w(t,e,n){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>n)throw RangeError("Trying to access beyond buffer length")}function A(t,e,n,r,i,o){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(n+r>t.length)throw RangeError("Index out of range")}function E(t,e,n,r,i){R(e,r,i,t,n,7);let o=Number(e&BigInt(4294967295));t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,n}function C(t,e,n,r,i){R(e,r,i,t,n,7);let o=Number(e&BigInt(4294967295));t[n+7]=o,o>>=8,t[n+6]=o,o>>=8,t[n+5]=o,o>>=8,t[n+4]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[n+3]=a,a>>=8,t[n+2]=a,a>>=8,t[n+1]=a,a>>=8,t[n]=a,n+8}function x(t,e,n,r,i,o){if(n+r>t.length||n<0)throw RangeError("Index out of range")}function P(t,e,n,r,o){return e=+e,n>>>=0,o||x(t,e,n,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,n,r,23,4),n+4}function S(t,e,n,r,o){return e=+e,n>>>=0,o||x(t,e,n,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,n,r,52,8),n+8}e.Buffer=s,e.SlowBuffer=function(t){return+t!=t&&(t=0),s.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=function(){try{let t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,n){return u(t,e,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,n){return(c(t),t<=0)?a(t):void 0!==e?"string"==typeof n?a(t).fill(e,n):a(t).fill(e):a(t)},s.allocUnsafe=function(t){return l(t)},s.allocUnsafeSlow=function(t){return l(t)},s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(U(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),U(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let n=t.length,r=e.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){let n;if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);if(void 0===e)for(n=0,e=0;n<t.length;++n)e+=t[n].length;let r=s.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){let e=t[n];if(U(e,Uint8Array))i+e.length>r.length?(s.isBuffer(e)||(e=s.from(e)),e.copy(r,i)):Uint8Array.prototype.set.call(r,e,i);else if(s.isBuffer(e))e.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=e.length}return r},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)m(this,e,e+1);return this},s.prototype.swap32=function(){let t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},s.prototype.swap64=function(){let t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},s.prototype.toString=function(){let t=this.length;return 0===t?"":0==arguments.length?b(this,0,t):g.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){let t="",n=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(t+=" ... "),"<Buffer "+t+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,n,r,i){if(U(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return -1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;let o=i-r,a=n-e,u=Math.min(o,a),c=this.slice(r,i),l=t.slice(e,n);for(let t=0;t<u;++t)if(c[t]!==l[t]){o=c[t],a=l[t];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(t,e,n){return -1!==this.indexOf(t,e,n)},s.prototype.indexOf=function(t,e,n){return v(this,t,e,n,!0)},s.prototype.lastIndexOf=function(t,e,n){return v(this,t,e,n,!1)},s.prototype.write=function(t,e,n,r){var i,o,a,s,u,c,l,f;if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let d=this.length-e;if((void 0===n||n>d)&&(n=d),t.length>0&&(n<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let h=!1;for(;;)switch(r){case"hex":return function(t,e,n,r){let i;n=Number(n)||0;let o=t.length-n;r?(r=Number(r))>o&&(r=o):r=o;let a=e.length;for(r>a/2&&(r=a/2),i=0;i<r;++i){let r=parseInt(e.substr(2*i,2),16);if(r!=r)break;t[n+i]=r}return i}(this,t,e,n);case"utf8":case"utf-8":return i=e,o=n,j(N(t,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=e,s=n,j(function(t){let e=[];for(let n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(t),this,a,s);case"base64":return u=e,c=n,j(D(t),this,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=e,f=n,j(function(t,e){let n,r;let i=[];for(let o=0;o<t.length&&!((e-=2)<0);++o)r=(n=t.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(t,this.length-l),this,l,f);default:if(h)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),h=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){let n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);let r=this.subarray(t,e);return Object.setPrototypeOf(r,s.prototype),r},s.prototype.readUintLE=s.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);let r=this[t],i=1,o=0;for(;++o<e&&(i*=256);)r+=this[t+o]*i;return r},s.prototype.readUintBE=s.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);let r=this[t+--e],i=1;for(;e>0&&(i*=256);)r+=this[t+--e]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(t,e){return t>>>=0,e||w(t,1,this.length),this[t]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||w(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||w(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||w(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||w(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readBigUInt64LE=F(function(t){T(t>>>=0,"offset");let e=this[t],n=this[t+7];(void 0===e||void 0===n)&&B(t,this.length-8);let r=e+256*this[++t]+65536*this[++t]+16777216*this[++t],i=this[++t]+256*this[++t]+65536*this[++t]+16777216*n;return BigInt(r)+(BigInt(i)<<BigInt(32))}),s.prototype.readBigUInt64BE=F(function(t){T(t>>>=0,"offset");let e=this[t],n=this[t+7];(void 0===e||void 0===n)&&B(t,this.length-8);let r=16777216*e+65536*this[++t]+256*this[++t]+this[++t],i=16777216*this[++t]+65536*this[++t]+256*this[++t]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),s.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);let r=this[t],i=1,o=0;for(;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},s.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);let r=e,i=1,o=this[t+--r];for(;r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return(t>>>=0,e||w(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||w(t,2,this.length);let n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(t,e){t>>>=0,e||w(t,2,this.length);let n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||w(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||w(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readBigInt64LE=F(function(t){T(t>>>=0,"offset");let e=this[t],n=this[t+7];return(void 0===e||void 0===n)&&B(t,this.length-8),(BigInt(this[t+4]+256*this[t+5]+65536*this[t+6]+(n<<24))<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+16777216*this[++t])}),s.prototype.readBigInt64BE=F(function(t){T(t>>>=0,"offset");let e=this[t],n=this[t+7];return(void 0===e||void 0===n)&&B(t,this.length-8),(BigInt((e<<24)+65536*this[++t]+256*this[++t]+this[++t])<<BigInt(32))+BigInt(16777216*this[++t]+65536*this[++t]+256*this[++t]+n)}),s.prototype.readFloatLE=function(t,e){return t>>>=0,e||w(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||w(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||w(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||w(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;A(this,t,e,n,r,0)}let i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;A(this,t,e,n,r,0)}let i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||A(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||A(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||A(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||A(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||A(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeBigUInt64LE=F(function(t,e=0){return E(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=F(function(t,e=0){return C(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){let r=Math.pow(2,8*n-1);A(this,t,e,n,r-1,-r)}let i=0,o=1,a=0;for(this[e]=255&t;++i<n&&(o*=256);)t<0&&0===a&&0!==this[e+i-1]&&(a=1),this[e+i]=(t/o>>0)-a&255;return e+n},s.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){let r=Math.pow(2,8*n-1);A(this,t,e,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/o>>0)-a&255;return e+n},s.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||A(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||A(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||A(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||A(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||A(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeBigInt64LE=F(function(t,e=0){return E(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=F(function(t,e=0){return C(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(t,e,n){return P(this,t,e,!0,n)},s.prototype.writeFloatBE=function(t,e,n){return P(this,t,e,!1,n)},s.prototype.writeDoubleLE=function(t,e,n){return S(this,t,e,!0,n)},s.prototype.writeDoubleBE=function(t,e,n){return S(this,t,e,!1,n)},s.prototype.copy=function(t,e,n,r){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);let i=r-n;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,n,r):Uint8Array.prototype.set.call(t,this.subarray(n,r),e),i},s.prototype.fill=function(t,e,n,r){let i;if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!s.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===t.length){let e=t.charCodeAt(0);("utf8"===r&&e<128||"latin1"===r)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw RangeError("Out of range index");if(n<=e)return this;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i<n;++i)this[i]=t;else{let o=s.isBuffer(t)?t:s.from(t,r),a=o.length;
6if(0===a)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<n-e;++i)this[i+e]=o[i%a]}return this};let I={};function O(t,e,n){I[t]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function M(t){let e="",n=t.length,r="-"===t[0]?1:0;for(;n>=r+4;n-=3)e=`_${t.slice(n-3,n)}${e}`;return`${t.slice(0,n)}${e}`}function R(t,e,n,r,i,o){if(t>n||t<e){let r;let i="bigint"==typeof e?"n":"";throw r=o>3?0===e||e===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${e}${i} and <= ${n}${i}`,new I.ERR_OUT_OF_RANGE("value",r,t)}T(i,"offset"),(void 0===r[i]||void 0===r[i+o])&&B(i,r.length-(o+1))}function T(t,e){if("number"!=typeof t)throw new I.ERR_INVALID_ARG_TYPE(e,"number",t)}function B(t,e,n){if(Math.floor(t)!==t)throw T(t,n),new I.ERR_OUT_OF_RANGE(n||"offset","an integer",t);if(e<0)throw new I.ERR_BUFFER_OUT_OF_BOUNDS;throw new I.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${e}`,t)}O("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),O("ERR_INVALID_ARG_TYPE",function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`},TypeError),O("ERR_OUT_OF_RANGE",function(t,e,n){let r=`The value of "${t}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>4294967296?i=M(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=M(i)),i+="n"),r+=` It must be ${e}. Received ${i}`},RangeError);let k=/[^+/0-9A-Za-z-_]/g;function N(t,e){let n;e=e||1/0;let r=t.length,i=null,o=[];for(let a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319||a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function D(t){return r.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(k,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function j(t,e,n,r){let i;for(i=0;i<r&&!(i+n>=e.length)&&!(i>=t.length);++i)e[i+n]=t[i];return i}function U(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}let L=function(){let t="0123456789abcdef",e=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let i=0;i<16;++i)e[r+i]=t[n]+t[i]}return e}();function F(t){return"undefined"==typeof BigInt?_:t}function _(){throw Error("BigInt not supported")}},33385:function(t){function e(t,e,n){function r(){var c=Date.now()-s;c<e&&c>=0?i=setTimeout(r,e-c):(i=null,n||(u=t.apply(a,o),a=o=null))}null==e&&(e=100);var i,o,a,s,u,c=function(){a=this,o=arguments,s=Date.now();var c=n&&!i;return i||(i=setTimeout(r,e)),c&&(u=t.apply(a,o),a=o=null),u};return c.clear=function(){i&&(clearTimeout(i),i=null)},c.flush=function(){i&&(u=t.apply(a,o),a=o=null,clearTimeout(i),i=null)},c}e.debounce=e,t.exports=e},38666:function(t,e,n){"use strict";n.d(e,{qY:function(){return h}});var r=n(94221),i=function(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))},o=function(t,e,n){this.name=t,this.version=e,this.os=n,this.type="browser"},a=function(t){this.version=t,this.type="node",this.name="node",this.os=r.platform},s=function(t,e,n,r){this.name=t,this.version=e,this.os=n,this.bot=r,this.type="bot-device"},u=function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},c=function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null},l=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,f=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;
6\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],d=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function h(t){return t?p(t):"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new c:"undefined"!=typeof navigator?p(navigator.userAgent):void 0!==r&&r.version?new a(r.version.slice(1)):null}function p(t){var e=""!==t&&f.reduce(function(e,n){var r=n[0],i=n[1];if(e)return e;var o=i.exec(t);return!!o&&[r,o]},!1);if(!e)return null;var n=e[0],r=e[1];if("searchbot"===n)return new u;var a=r[1]&&r[1].split(".").join("_").split("_").slice(0,3);a?a.length<3&&(a=i(i([],a,!0),function(t){for(var e=[],n=0;n<t;n++)e.push("0");return e}(3-a.length),!0)):a=[];var c=a.join("."),h=function(t){for(var e=0,n=d.length;e<n;e++){var r=d[e],i=r[0];if(r[1].exec(t))return i}return null}(t),p=l.exec(t);return p&&p[1]?new s(n,c,h,p[1]):new o(n,c,h)}},12575:function(t){"use strict";var e={single_source_shortest_paths:function(t,n,r){var i,o,a,s,u,c,l,f={},d={};d[n]=0;var h=e.PriorityQueue.make();for(h.push(n,0);!h.empty();)for(a in o=(i=h.pop()).value,s=i.cost,u=t[o]||{})u.hasOwnProperty(a)&&(c=s+u[a],l=d[a],(void 0===d[a]||l>c)&&(d[a]=c,h.push(a,c),f[a]=o));if(void 0!==r&&void 0===d[r])throw Error(["Could not find a path from ",n," to ",r,"."].join(""));return f},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],r=e;r;)n.push(r),t[r],r=t[r];return n.reverse(),n},find_path:function(t,n,r){var i=e.single_source_shortest_paths(t,n,r);return e.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(t){var n,r=e.PriorityQueue,i={};for(n in t=t||{},r)r.hasOwnProperty(n)&&(i[n]=r[n]);return i.queue=[],i.sorter=t.sorter||r.default_sorter,i},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){this.queue.push({value:t,cost:e}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=e},79852:function(t){"use strict";t.exports=function(t){for(var e=[],n=t.length,r=0;r<n;r++){var i=t.charCodeAt(r);if(i>=55296&&i<=56319&&n>r+1){var o=t.charCodeAt(r+1);o>=56320&&o<=57343&&(i=(i-55296)*1024+o-56320+65536,r+=1)}if(i<128){e.push(i);continue}if(i<2048){e.push(i>>6|192),e.push(63&i|128);continue}if(i<55296||i>=57344&&i<65536){e.push(i>>12|224),e.push(i>>6&63|128),e.push(63&i|128);continue}if(i>=65536&&i<=1114111){e.push(i>>18|240),e.push(i>>12&63|128),e.push(i>>6&63|128),e.push(63&i|128);continue}e.push(239,191,189)}return new Uint8Array(e).buffer}},77001:function(t,e,n){"use strict";n.d(e,{K:function(){return r},k:function(){return i}});var r=function(){},i=function(){}},38465:function(t,e,n){"use strict";var r=n(36849),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(t){return r.isMemo(t)?a:s[t.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;
6t.exports=function t(e,n,r){if("string"!=typeof n){if(p){var i=h(n);i&&i!==p&&t(e,i,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=u(e),g=u(n),m=0;m<a.length;++m){var v=a[m];if(!o[v]&&!(r&&r[v])&&!(g&&g[v])&&!(s&&s[v])){var y=d(n,v);try{c(e,v,y)}catch(t){}}}}return e}},35255:function(t,e){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?i-1:0,d=n?-1:1,h=t[e+f];for(f+=d,o=h&(1<<-l)-1,h>>=-l,l+=s;l>0;o=256*o+t[e+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+f],f+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,d=23===i?5960464477539062e-23:0,h=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(isNaN(e=Math.abs(e))||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+f>=1?e+=d/u:e+=d*Math.pow(2,1-f),e*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(e*u-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[n+h]=255&a,h+=p,a/=256,c-=8);t[n+h-p]|=128*g}},94221:function(t,e,n){"use strict";var r,i;t.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(17999)},17999:function(t){!function(){var e={229:function(t){var e,n,r,i=t.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(t){if(e===setTimeout)return setTimeout(t,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(t){n=a}}();var u=[],c=!1,l=-1;function f(){c&&r&&(c=!1,r.length?u=r.concat(u):l=-1,u.length&&d())}function d(){if(!c){var t=s(f);c=!0;for(var e=u.length;e;){for(r=u,u=[];++l<e;)r&&r[l].run();l=-1,e=u.length}r=null,c=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function p(){}i.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new h(t,e)),1!==u.length||c||s(d)},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(t){return[]},i.binding=function(t){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function r(t){var i=n[t];if(void 0!==i)return i.exports;var o=n[t]={exports:{}},a=!0;try{e[t](o,o.exports,r),a=!1}finally{a&&delete n[t]}return o.exports}r.ab="//";var i=r(229);t.exports=i}()},8241:function(t,e,n){let r=n(14809),i=n(78220),o=n(88288),a=n(90681);function s(t,e,n,o,a){let s=[].slice.call(arguments,1),u=s.length,c="function"==typeof s[u-1];if(!c&&!r())throw Error("Callback required as last argument");if(c){if(u<2)throw Error("Too few arguments provided");2===u?(a=n,n=e,e=o=void 0):3===u&&(e.getContext&&void 0===a?(a=o,o=void 0):(a=o,o=n,n=e,e=void 0))}else{if(u<1)throw Error("Too few arguments provided");return 1===u?(n=e,e=o=void 0):2!==u||e.getContext||(o=n,n=e,e=void 0),new Promise(function(r,a){try{let a=i.create(n,o);r(t(a,e,o))}catch(t){a(t)}})}try{let r=i.create(n,o);a(null,t(r,e,o))}catch(t){a(t)}}e.create=i.create,e.toCanvas=s.bind(null,o.render),e.toDataURL=s.bind(null,o.renderToDataURL),e.toString=s.bind(null,function(t,e,n){return a.render(t,n)})},14809:function(t){t.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},24084:function(t,e,n){let r=n(72947).getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];let e=Math.floor(t/7)+2,n=r(t),i=145===n?26:2*Math.ceil((n-13)/(2*e-2)),o=[n-7];for(let t=1;t<e-1;t++)o[t]=o[t-1]-i;return o.push(6),o.reverse()},e.getPositions=function(t){let n=[],r=e.getRowColCoords(t),i=r.length;for(let t=0;t<i;t++)for(let e=0;e<i;e++)(0!==t||0!==e)&&(0!==t||e!==i-1)&&(t!==i-1||0!==e)&&n.push([r[t],r[e]]);return n}},24681:function(t,e,n){let r=n(53998),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(t){this.mode=r.ALPHANUMERIC,this.data=t}o.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){let e;for(e=0;
6e+2<=this.data.length;e+=2){let n=45*i.indexOf(this.data[e]);n+=i.indexOf(this.data[e+1]),t.put(n,11)}this.data.length%2&&t.put(i.indexOf(this.data[e]),6)},t.exports=o},30477:function(t){function e(){this.buffer=[],this.length=0}e.prototype={get:function(t){return(this.buffer[Math.floor(t/8)]>>>7-t%8&1)==1},put:function(t,e){for(let n=0;n<e;n++)this.putBit((t>>>e-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(t){let e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},t.exports=e},17682:function(t){function e(t){if(!t||t<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}e.prototype.set=function(t,e,n,r){let i=t*this.size+e;this.data[i]=n,r&&(this.reservedBit[i]=!0)},e.prototype.get=function(t,e){return this.data[t*this.size+e]},e.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},e.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},t.exports=e},25072:function(t,e,n){let r=n(79852),i=n(53998);function o(t){this.mode=i.BYTE,"string"==typeof t&&(t=r(t)),this.data=new Uint8Array(t)}o.getBitsLength=function(t){return 8*t},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){for(let e=0,n=this.data.length;e<n;e++)t.put(this.data[e],8)},t.exports=o},72983:function(t,e,n){let r=n(46308),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];e.getBlocksCount=function(t,e){switch(e){case r.L:return i[(t-1)*4+0];case r.M:return i[(t-1)*4+1];case r.Q:return i[(t-1)*4+2];case r.H:return i[(t-1)*4+3];default:return}},e.getTotalCodewordsCount=function(t,e){switch(e){case r.L:return o[(t-1)*4+0];case r.M:return o[(t-1)*4+1];case r.Q:return o[(t-1)*4+2];case r.H:return o[(t-1)*4+3];default:return}}},46308:function(t,e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2},e.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},e.from=function(t,n){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw Error("Unknown EC Level: "+t)}}(t)}catch(t){return n}}},92476:function(t,e,n){let r=n(72947).getSymbolSize;e.getPositions=function(t){let e=r(t);return[[0,0],[e-7,0],[0,e-7]]}},49937:function(t,e,n){let r=n(72947),i=r.getBCHDigit(1335);e.getEncodedBits=function(t,e){let n=t.bit<<3|e,o=n<<10;for(;r.getBCHDigit(o)-i>=0;)o^=1335<<r.getBCHDigit(o)-i;return(n<<10|o)^21522}},61518:function(t,e){let n=new Uint8Array(512),r=new Uint8Array(256);!function(){let t=1;for(let e=0;e<255;e++)n[e]=t,r[t]=e,256&(t<<=1)&&(t^=285);for(let t=255;t<512;t++)n[t]=n[t-255]}(),e.log=function(t){if(t<1)throw Error("log("+t+")");return r[t]},e.exp=function(t){return n[t]},e.mul=function(t,e){return 0===t||0===e?0:n[r[t]+r[e]]}},21646:function(t,e,n){let r=n(53998),i=n(72947);function o(t){this.mode=r.KANJI,this.data=t}o.getBitsLength=function(t){return 13*t},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){let e;for(e=0;e<this.data.length;e++){let n=i.toSJIS(this.data[e]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");n=(n>>>8&255)*192+(255&n),t.put(n,13)}},t.exports=o},82445:function(t,e){e.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};e.isValid=function(t){return null!=t&&""!==t&&!isNaN(t)&&t>=0&&t<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(t){let e=t.size,r=0,i=0,o=0,a=null,s=null;for(let u=0;u<e;u++){i=o=0,a=s=null;for(let c=0;c<e;c++){let e=t.get(u,c);e===a?i++:(i>=5&&(r+=n.N1+(i-5)),a=e,i=1),(e=t.get(c,u))===s?o++:(o>=5&&(r+=n.N1+(o-5)),s=e,o=1)}i>=5&&(r+=n.N1+(i-5)),o>=5&&(r+=n.N1+(o-5))}return r},e.getPenaltyN2=function(t){let e=t.size,r=0;for(let n=0;n<e-1;n++)for(let i=0;i<e-1;i++){let e=t.get(n,i)+t.get(n,i+1)+t.get(n+1,i)+t.get(n+1,i+1);(4===e||0===e)&&r++}return r*n.N2},e.getPenaltyN3=function(t){let e=t.size,r=0,i=0,o=0;for(let n=0;n<e;n++){i=o=0;for(let a=0;a<e;a++)i=i<<1&2047|t.get(n,a),a>=10&&(1488===i||93===i)&&r++,o=o<<1&2047|t.get(a,n),a>=10&&(1488===o||93===o)&&r++}return r*n.N3},e.getPenaltyN4=function(t){let e=0,r=t.data.length;for(let n=0;n<r;n++)e+=t.data[n];return Math.abs(Math.ceil(100*e/r/5)-10)*n.N4},e.applyMask=function(t,n){let r=n.size;
vendor: 14,336 bytes, line 6
6for(let i=0;i<r;i++)for(let o=0;o<r;o++)n.isReserved(o,i)||n.xor(o,i,function(t,n,r){switch(t){case e.Patterns.PATTERN000:return(n+r)%2==0;case e.Patterns.PATTERN001:return n%2==0;case e.Patterns.PATTERN010:return r%3==0;case e.Patterns.PATTERN011:return(n+r)%3==0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case e.Patterns.PATTERN101:return n*r%2+n*r%3==0;case e.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case e.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw Error("bad maskPattern:"+t)}}(t,o,i))},e.getBestMask=function(t,n){let r=Object.keys(e.Patterns).length,i=0,o=1/0;for(let a=0;a<r;a++){n(a),e.applyMask(a,t);let r=e.getPenaltyN1(t)+e.getPenaltyN2(t)+e.getPenaltyN3(t)+e.getPenaltyN4(t);e.applyMask(a,t),r<o&&(o=r,i=a)}return i}},53998:function(t,e,n){let r=n(30128),i=n(22307);e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(t,e){if(!t.ccBits)throw Error("Invalid mode: "+t);if(!r.isValid(e))throw Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},e.getBestModeForData=function(t){return i.testNumeric(t)?e.NUMERIC:i.testAlphanumeric(t)?e.ALPHANUMERIC:i.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(t){if(t&&t.id)return t.id;throw Error("Invalid mode")},e.isValid=function(t){return t&&t.bit&&t.ccBits},e.from=function(t,n){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw Error("Unknown mode: "+t)}}(t)}catch(t){return n}}},36331:function(t,e,n){let r=n(53998);function i(t){this.mode=r.NUMERIC,this.data=t.toString()}i.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%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(t){let e,n;for(e=0;e+3<=this.data.length;e+=3)n=parseInt(this.data.substr(e,3),10),t.put(n,10);let r=this.data.length-e;r>0&&(n=parseInt(this.data.substr(e),10),t.put(n,3*r+1))},t.exports=i},596:function(t,e,n){let r=n(61518);e.mul=function(t,e){let n=new Uint8Array(t.length+e.length-1);for(let i=0;i<t.length;i++)for(let o=0;o<e.length;o++)n[i+o]^=r.mul(t[i],e[o]);return n},e.mod=function(t,e){let n=new Uint8Array(t);for(;n.length-e.length>=0;){let t=n[0];for(let i=0;i<e.length;i++)n[i]^=r.mul(e[i],t);let i=0;for(;i<n.length&&0===n[i];)i++;n=n.slice(i)}return n},e.generateECPolynomial=function(t){let n=new Uint8Array([1]);for(let i=0;i<t;i++)n=e.mul(n,new Uint8Array([1,r.exp(i)]));return n}},78220:function(t,e,n){let r=n(72947),i=n(46308),o=n(30477),a=n(17682),s=n(24084),u=n(92476),c=n(82445),l=n(72983),f=n(91861),d=n(31361),h=n(49937),p=n(53998),g=n(77517);function m(t,e,n){let r,i;let o=t.size,a=h.getEncodedBits(e,n);for(r=0;r<15;r++)i=(a>>r&1)==1,r<6?t.set(r,8,i,!0):r<8?t.set(r+1,8,i,!0):t.set(o-15+r,8,i,!0),r<8?t.set(8,o-r-1,i,!0):r<9?t.set(8,15-r-1+1,i,!0):t.set(8,15-r-1,i,!0);t.set(o-8,8,1,!0)}e.create=function(t,e){let n,h;if(void 0===t||""===t)throw Error("No input text");let v=i.M;return void 0!==e&&(v=i.from(e.errorCorrectionLevel,i.M),n=d.from(e.version),h=c.from(e.maskPattern),e.toSJISFunc&&r.setToSJISFunction(e.toSJISFunc)),function(t,e,n,i){let h;if(Array.isArray(t))h=g.fromArray(t);else if("string"==typeof t){let r=e;if(!r){let e=g.rawSplit(t);r=d.getBestVersionForData(e,n)}h=g.fromString(t,r||40)}else throw Error("Invalid data");let v=d.getBestVersionForData(h,n);if(!v)throw Error("The amount of data is too big to be stored in a QR Code");if(e){if(e<v)throw Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+v+".\n")}else e=v;let y=function(t,e,n){let i=new o;n.forEach(function(e){i.put(e.mode.bit,4),i.put(e.getLength(),p.getCharCountIndicator(e.mode,t)),e.write(i)});let a=(r.getSymbolTotalCodewords(t)-l.getTotalCodewordsCount(t,e))*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 t=0;t<s;t++)i.put(t%2?17:236,8);return function(t,e,n){let i,o;let a=r.getSymbolTotalCodewords(e),s=a-l.getTotalCodewordsCount(e,n),u=l.getBlocksCount(e,n),c=a%u,d=u-c,h=Math.floor(a/u),p=Math.floor(s/u),g=p+1,m=h-p,v=new f(m),y=0,b=Array(u),w=Array(u),A=0,E=new Uint8Array(t.buffer);for(let t=0;t<u;t++){let e=t<d?p:g;b[t]=E.slice(y,y+e),w[t]=v.encode(b[t]),y+=e,A=Math.max(A,e)}let C=new Uint8Array(a),x=0;for(i=0;i<A;i++)for(o=0;o<u;o++)i<b[o].length&&(C[x++]=b[o][i]);for(i=0;i<m;i++)for(o=0;o<u;o++)C[x++]=w[o][i];return C}(i,t,e)}(e,n,h),b=new a(r.getSymbolSize(e));return function(t,e){let n=t.size,r=u.getPositions(e);for(let e=0;e<r.length;e++){let i=r[e][0],o=r[e][1];for(let e=-1;e<=7;e++)if(!(i+e<=-1)&&!(n<=i+e))for(let r=-1;r<=7;r++)o+r<=-1||n<=o+r||(e>=0&&e<=6&&(0===r||6===r)||r>=0&&r<=6&&(0===e||6===e)||e>=2&&e<=4&&r>=2&&r<=4?t.set(i+e,o+r,!0,!0):t.set(i+e,o+r,!1,!0))}}(b,e),function(t){let e=t.size;for(let n=8;n<e-8;n++){let e=n%2==0;t.set(n,6,e,!0),t.set(6,n,e,!0)}}(b),function(t,e){let n=s.getPositions(e);for(let e=0;e<n.length;e++){let r=n[e][0],i=n[e][1];for(let e=-2;e<=2;e++)for(let n=-2;n<=2;n++)-2===e||2===e||-2===n||2===n||0===e&&0===n?t.set(r+e,i+n,!0,!0):t.set(r+e,i+n,!1,!0)}}(b,e),m(b,n,0),e>=7&&function(t,e){let n,r,i;let o=t.size,a=d.getEncodedBits(e);for(let e=0;e<18;e++)n=Math.floor(e/3),r=e%3+o-8-3,i=(a>>e&1)==1,t.set(n,r,i,!0),t.set(r,n,i,!0)}(b,e),function(t,e){let n=t.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(!t.isReserved(i,s-n)){let r=!1;a<e.length&&(r=(e[a]>>>o&1)==1),t.set(i,s-n,r),-1==--o&&(a++,o=7)}if((i+=r)<0||n<=i){i-=r,r=-r;break}}}(b,y),isNaN(i)&&(i=c.getBestMask(b,m.bind(null,b,n))),c.applyMask(i,b),m(b,n,i),{modules:b,version:e,errorCorrectionLevel:n,maskPattern:i,segments:h}}(t,n,v,h)}},91861:function(t,e,n){let r=n(596);function i(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}i.prototype.initialize=function(t){this.degree=t,this.genPoly=r.generateECPolynomial(this.degree)},i.prototype.encode=function(t){if(!this.genPoly)throw Error("Encoder not initialized");let e=new Uint8Array(t.length+this.degree);e.set(t);let n=r.mod(e,this.genPoly),i=this.degree-n.length;if(i>0){let t=new Uint8Array(this.degree);return t.set(n,i),t}return n},t.exports=i},22307:function(t,e){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]))+";e.KANJI=RegExp(r,"g"),e.BYTE_KANJI=RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),e.BYTE=RegExp(i,"g"),e.NUMERIC=RegExp(n,"g"),e.ALPHANUMERIC=RegExp("[A-Z $%*+\\-./:]+","g");let o=RegExp("^"+r+"$"),a=RegExp("^"+n+"$"),s=RegExp("^[A-Z0-9 $%*+\\-./:]+$");e.testKanji=function(t){return o.test(t)},e.testNumeric=function(t){return a.test(t)},e.testAlphanumeric=function(t){return s.test(t)}},77517:function(t,e,n){let r=n(53998),i=n(36331),o=n(24681),a=n(25072),s=n(21646),u=n(22307),c=n(72947),l=n(12575);function f(t){return unescape(encodeURIComponent(t)).length}function d(t,e,n){let r;let i=[];for(;null!==(r=t.exec(n));)i.push({data:r[0],index:r.index,mode:e,length:r[0].length});return i}function h(t){let e,n;let i=d(u.NUMERIC,r.NUMERIC,t),o=d(u.ALPHANUMERIC,r.ALPHANUMERIC,t);return c.isKanjiModeEnabled()?(e=d(u.BYTE,r.BYTE,t),n=d(u.KANJI,r.KANJI,t)):(e=d(u.BYTE_KANJI,r.BYTE,t),n=[]),i.concat(o,e,n).sort(function(t,e){return t.index-e.index}).map(function(t){return{data:t.data,mode:t.mode,length:t.length}})}function p(t,e){switch(e){case r.NUMERIC:return i.getBitsLength(t);case r.ALPHANUMERIC:return o.getBitsLength(t);case r.KANJI:return s.getBitsLength(t);case r.BYTE:return a.getBitsLength(t)}}function g(t,e){let n;let u=r.getBestModeForData(t);if((n=r.from(e,u))!==r.BYTE&&n.bit<u.bit)throw Error('"'+t+'" cannot be encoded with mode '+r.toString(n)+".\n Suggested mode is: "+r.toString(u));switch(n!==r.KANJI||c.isKanjiModeEnabled()||(n=r.BYTE),n){case r.NUMERIC:return new i(t);case r.ALPHANUMERIC:return new o(t);case r.KANJI:return new s(t);case r.BYTE:return new a(t)}}e.fromArray=function(t){return t.reduce(function(t,e){return"string"==typeof e?t.push(g(e,null)):e.data&&t.push(g(e.data,e.mode)),t},[])},e.fromString=function(t,n){let i=function(t,e){let n={},i={start:{}},o=["start"];for(let a=0;a<t.length;a++){let s=t[a],u=[];for(let t=0;t<s.length;t++){let c=s[t],l=""+a+t;u.push(l),n[l]={node:c,lastCount:0},i[l]={};for(let t=0;t<o.length;t++){let a=o[t];n[a]&&n[a].node.mode===c.mode?(i[a][l]=p(n[a].lastCount+c.length,c.mode)-p(n[a].lastCount,c.mode),n[a].lastCount+=c.length):(n[a]&&(n[a].lastCount=c.length),i[a][l]=p(c.length,c.mode)+4+r.getCharCountIndicator(c.mode,e))}}o=u}for(let t=0;t<o.length;t++)i[o[t]].end=0;return{map:i,table:n}}(function(t){let e=[];for(let n=0;n<t.length;n++){let i=t[n];switch(i.mode){case r.NUMERIC:e.push([i,{data:i.data,mode:r.ALPHANUMERIC,length:i.length},{data:i.data,mode:r.BYTE,length:i.length}]);break;case r.ALPHANUMERIC:e.push([i,{data:i.data,mode:r.BYTE,length:i.length}]);break;case r.KANJI:e.push([i,{data:i.data,mode:r.BYTE,length:f(i.data)}]);break;case r.BYTE:e.push([{data:i.data,mode:r.BYTE,length:f(i.data)}])}}return e}(h(t,c.isKanjiModeEnabled())),n),o=l.find_path(i.map,"start","end"),a=[];for(let t=1;t<o.length-1;t++)a.push(i.table[o[t]].node);return e.fromArray(a.reduce(function(t,e){let n=t.length-1>=0?t[t.length-1]:null;return n&&n.mode===e.mode?t[t.length-1].data+=e.data:t.push(e),t},[]))},e.rawSplit=function(t){return e.fromArray(h(t,c.isKanjiModeEnabled()))}},72947:function(t,e){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];e.getSymbolSize=function(t){if(!t)throw Error('"version" cannot be null or undefined');if(t<1||t>40)throw Error('"version" should be in range from 1 to 40');return 4*t+17},e.getSymbolTotalCodewords=function(t){return r[t]},e.getBCHDigit=function(t){let e=0;for(;0!==t;)e++,t>>>=1;return e},e.setToSJISFunction=function(t){if("function"!=typeof t)throw Error('"toSJISFunc" is not a valid function.');n=t},e.isKanjiModeEnabled=function(){return void 0!==n},e.toSJIS=function(t){return n(t)}},30128:function(t,e){e.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},31361:function(t,e,n){let r=n(72947),i=n(72983),o=n(46308),a=n(53998),s=n(30128),u=r.getBCHDigit(7973);function c(t,e){return a.getCharCountIndicator(t,e)+4}e.from=function(t,e){return s.isValid(t)?parseInt(t,10):e},e.getCapacity=function(t,e,n){if(!s.isValid(t))throw Error("Invalid QR Code version");void 0===n&&(n=a.BYTE);let o=(r.getSymbolTotalCodewords(t)-i.getTotalCodewordsCount(t,e))*8;if(n===a.MIXED)return o;let u=o-c(n,t);switch(n){case a.NUMERIC:return Math.floor(u/10*3);case a.ALPHANUMERIC:return Math.floor(u/11*2);case a.KANJI:return Math.floor(u/13);case a.BYTE:default:return Math.floor(u/8)}},e.getBestVersionForData=function(t,n){let r;let i=o.from(n,o.M);if(Array.isArray(t)){if(t.length>1)return function(t,n){for(let r=1;r<=40;r++)if(function(t,e){let n=0;return t.forEach(function(t){let r=c(t.mode,e);n+=r+t.getBitsLength()}),n}(t,r)<=e.getCapacity(r,n,a.MIXED))return r}(t,i);if(0===t.length)return 1;r=t[0]}else r=t;return function(t,n,r){for(let i=1;i<=40;i++)if(n<=e.getCapacity(i,r,t))return i}(r.mode,r.getLength(),i)},e.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw Error("Invalid QR Code version");let e=t<<12;for(;r.getBCHDigit(e)-u>=0;)e^=7973<<r.getBCHDigit(e)-u;return t<<12|e}},88288:function(t,e,n){let r=n(84064);e.render=function(t,e,n){var i;let o=n,a=e;void 0!==o||e&&e.getContext||(o=e,e=void 0),e||(a=function(){try{return document.createElement("canvas")}catch(t){throw Error("You need to specify a canvas element")}}()),o=r.getOptions(o);let s=r.getImageWidth(t.modules.size,o),u=a.getContext("2d"),c=u.createImageData(s,s);return r.qrToImageData(c.data,t,o),i=a,u.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",u.putImageData(c,0,0),a},e.renderToDataURL=function(t,n,r){let i=r;void 0!==i||n&&n.getContext||(i=n,n=void 0),i||(i={});let o=e.render(t,n,i),a=i.type||"image/png",s=i.rendererOpts||{};return o.toDataURL(a,s.quality)}},90681:function(t,e,n){let r=n(84064);function i(t,e){let n=t.a/255,r=e+'="'+t.hex+'"';return n<1?r+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function o(t,e,n){let r=t+e;return void 0!==n&&(r+=" "+n),r}e.render=function(t,e,n){let a=r.getOptions(e),s=t.modules.size,u=t.modules.data,c=s+2*a.margin,l=a.color.light.a?"<path "+i(a.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",f="<path "+i(a.color.dark,"stroke")+' d="'+function(t,e,n){let r="",i=0,a=!1,s=0;for(let u=0;u<t.length;u++){let c=Math.floor(u%e),l=Math.floor(u/e);c||a||(a=!0),t[u]?(s++,u>0&&c>0&&t[u-1]||(r+=a?o("M",c+n,.5+l+n):o("m",i,0),i=0,a=!1),c+1<e&&t[u+1]||(r+=o("h",s),s=0)):i++}return r}(u,s,a.margin)+'"/>',d='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+('viewBox="0 0 '+c)+" "+c+'" shape-rendering="crispEdges">'+l+f+"</svg>\n";return"function"==typeof n&&n(null,d),d}},84064:function(t,e){function n(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw Error("Invalid hex color: "+t);(3===e.length||4===e.length)&&(e=Array.prototype.concat.apply([],e.map(function(t){return[t,t]}))),6===e.length&&e.push("F","F");let n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+e.slice(0,6).join("")}}e.getOptions=function(t){t||(t={}),t.color||(t.color={});let e=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,r=t.width&&t.width>=21?t.width:void 0,i=t.scale||4;
6return{width:r,scale:r?4:i,margin:e,color:{dark:n(t.color.dark||"#000000ff"),light:n(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},e.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},e.getImageWidth=function(t,n){let r=e.getScale(t,n);return Math.floor((t+2*n.margin)*r)},e.qrToImageData=function(t,n,r){let i=n.modules.size,o=n.modules.data,a=e.getScale(i,r),s=Math.floor((i+2*r.margin)*a),u=r.margin*a,c=[r.color.light,r.color.dark];for(let e=0;e<s;e++)for(let n=0;n<s;n++){let l=(e*s+n)*4,f=r.color.light;e>=u&&n>=u&&e<s-u&&n<s-u&&(f=c[o[Math.floor((e-u)/a)*i+Math.floor((n-u)/a)]?1:0]),t[l++]=f.r,t[l++]=f.g,t[l++]=f.b,t[l]=f.a}}},27298:function(t,e){"use strict";/** @license React v16.13.1 7 * react-is.production.min.js 8 * 9 * Copyright (c) Facebook, Inc. and its affiliates. 10 * 11 * This source code is licensed under the MIT license found in the 12 * LICENSE file in the root directory of this source tree. 13 */var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function A(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case l:case f:case o:case s:case a:case h:return t;default:switch(t=t&&t.$$typeof){case c:case d:case m:case g:case u:return t;default:return e}}case i:return e}}}function E(t){return A(t)===f}e.AsyncMode=l,e.ConcurrentMode=f,e.ContextConsumer=c,e.ContextProvider=u,e.Element=r,e.ForwardRef=d,e.Fragment=o,e.Lazy=m,e.Memo=g,e.Portal=i,e.Profiler=s,e.StrictMode=a,e.Suspense=h,e.isAsyncMode=function(t){return E(t)||A(t)===l},e.isConcurrentMode=E,e.isContextConsumer=function(t){return A(t)===c},e.isContextProvider=function(t){return A(t)===u},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return A(t)===d},e.isFragment=function(t){return A(t)===o},e.isLazy=function(t){return A(t)===m},e.isMemo=function(t){return A(t)===g},e.isPortal=function(t){return A(t)===i},e.isProfiler=function(t){return A(t)===s},e.isStrictMode=function(t){return A(t)===a},e.isSuspense=function(t){return A(t)===h},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===f||t===s||t===a||t===h||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===g||t.$$typeof===u||t.$$typeof===c||t.$$typeof===d||t.$$typeof===y||t.$$typeof===b||t.$$typeof===w||t.$$typeof===v)},e.typeOf=A},36849:function(t,e,n){"use strict";t.exports=n(27298)},14278:function(t,e){"use strict";/** 14 * @license React 15 * react-is.production.min.js 16 * 17 * Copyright (c) Facebook, Inc. and its affiliates. 18 * 19 * This source code is licensed under the MIT license found in the 20 * LICENSE file in the root directory of this source tree. 21 */var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");n=Symbol.for("react.module.reference"),e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===s||t===a||t===d||t===h||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===g||t.$$typeof===p||t.$$typeof===u||t.$$typeof===c||t.$$typeof===f||t.$$typeof===n||void 0!==t.getModuleId)},e.typeOf=function(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case o:case s:case a:case d:case h:return t;default:switch(t=t&&t.$$typeof){case l:case c:case f:case g:case p:case u:return t;default:return e}}case i:return e}}}},2193:function(t,e,n){"use strict";
21t.exports=n(14278)},59303:function(t,e,n){"use strict";n.d(e,{Y:function(){return s}});var r=n(19776),i=["preEnter","entering","entered","preExit","exiting","exited","unmounted"],o=function(t){return t?6:5},a=function(t,e,n,r,o){clearTimeout(r.current),e(t),n.current=t,o&&o({state:i[t]})},s=function(t){var e,n,s=void 0===t?{}:t,u=s.enter,c=void 0===u||u,l=s.exit,f=void 0===l||l,d=s.preEnter,h=s.preExit,p=s.timeout,g=s.initialEntered,m=s.mountOnEnter,v=s.unmountOnExit,y=s.onChange,b=(0,r.useState)(g?2:o(m)),w=b[0],A=b[1],E=(0,r.useRef)(w),C=(0,r.useRef)();"object"==typeof p?(e=p.enter,n=p.exit):e=n=p;var x=(0,r.useCallback)(function(){var t;switch(E.current){case 1:case 0:t=2;break;case 4:case 3:t=o(v)}void 0!==t&&a(t,A,E,C,y)},[y,v]),P=(0,r.useCallback)(function(t){var r=function t(r){switch(a(r,A,E,C,y),r){case 1:e>=0&&(C.current=setTimeout(x,e));break;case 4:n>=0&&(C.current=setTimeout(x,n));break;case 0:case 3:C.current=setTimeout(function(){return t(r+1)},0)}},i=E.current<=2;"boolean"!=typeof t&&(t=!i),t?i||r(c?d?0:1:2):i&&r(f?h?3:4:o(v))},[x,y,c,f,d,h,e,n,v]);return(0,r.useEffect)(function(){return function(){return clearTimeout(C.current)}},[]),[i[w],P,x]}},95006:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(19776),i=n(33385),o=n.n(i);function a(t){var e;let{debounce:n,scroll:i,polyfill:a,offsetSize:s}=void 0===t?{debounce:0,scroll:!1,offsetSize:!1}:t,c=a||("undefined"==typeof window?class{}:window.ResizeObserver);if(!c)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[l,f]=(0,r.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),d=(0,r.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:l}),h=n?"number"==typeof n?n:n.scroll:null,p=n?"number"==typeof n?n:n.resize:null,g=(0,r.useRef)(!1);(0,r.useEffect)(()=>(g.current=!0,()=>void(g.current=!1)));let[m,v,y]=(0,r.useMemo)(()=>{let t=()=>{if(!d.current.element)return;let{left:t,top:e,width:n,height:r,bottom:i,right:o,x:a,y:c}=d.current.element.getBoundingClientRect(),l={left:t,top:e,width:n,height:r,bottom:i,right:o,x:a,y:c};d.current.element instanceof HTMLElement&&s&&(l.height=d.current.element.offsetHeight,l.width=d.current.element.offsetWidth),Object.freeze(l),g.current&&!u(d.current.lastBounds,l)&&f(d.current.lastBounds=l)};return[t,p?o()(t,p):t,h?o()(t,h):t]},[f,s,h,p]);function b(){d.current.scrollContainers&&(d.current.scrollContainers.forEach(t=>t.removeEventListener("scroll",y,!0)),d.current.scrollContainers=null),d.current.resizeObserver&&(d.current.resizeObserver.disconnect(),d.current.resizeObserver=null)}function w(){d.current.element&&(d.current.resizeObserver=new c(y),d.current.resizeObserver.observe(d.current.element),i&&d.current.scrollContainers&&d.current.scrollContainers.forEach(t=>t.addEventListener("scroll",y,{capture:!0,passive:!0})))}return e=!!i,(0,r.useEffect)(()=>{if(e)return window.addEventListener("scroll",y,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",y,!0)},[y,e]),(0,r.useEffect)(()=>(window.addEventListener("resize",v),()=>void window.removeEventListener("resize",v)),[v]),(0,r.useEffect)(()=>{b(),w()},[i,y,v]),(0,r.useEffect)(()=>b,[]),[t=>{t&&t!==d.current.element&&(b(),d.current.element=t,d.current.scrollContainers=function t(e){let n=[];if(!e||e===document.body)return n;let{overflow:r,overflowX:i,overflowY:o}=window.getComputedStyle(e);return[r,i,o].some(t=>"auto"===t||"scroll"===t)&&n.push(e),[...n,...t(e.parentElement)]}(t),w())},l,m]}let s=["x","y","top","bottom","left","right","width","height"],u=(t,e)=>s.every(n=>t[n]===e[n])},86437:function(t,e,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some(function(t,r){return t[0]===e&&(n=r,!0)}),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,c=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function o(){n&&(n=!1,t()),r&&u()}function s(){a(o)}function u(){var t=Date.now();if(n){if(t-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,20);i=t}return u}(this.refresh.bind(this),0)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;s.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=ne
21w t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},d=m(0,0,0,0);function h(t){return parseFloat(t)||0}function p(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(e,n){return e+h(t["border-"+n+"-width"])},0)}var g="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function m(t,e,n,r){return{x:t,y:e,width:n,height:r}}var v=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=m(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=function(t){if(!i)return d;if(g(t)){var e;return m(0,0,(e=t.getBBox()).width,e.height)}return function(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return d;var r=f(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=h(o)}return e}(r),o=i.left+i.right,a=i.top+i.bottom,s=h(r.width),u=h(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==e&&(s-=p(r,"left","right")+o),Math.round(u+a)!==n&&(u-=p(r,"top","bottom")+a)),t!==f(t).document.documentElement){var c=Math.round(s+o)-e,l=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}return m(i.left,i.top,s,u)}(t)}(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),y=function(t,e){var n,r,i,o,a,s=(n=e.x,r=e.y,i=e.width,o=e.height,l(a=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:n,y:r,width:i,height:o,top:r,right:n+i,bottom:o+r,left:n}),a);l(this,{target:t,contentRect:s})},b=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new v(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new y(t.target,t.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),w="undefined"!=typeof WeakMap?new WeakMap:new r,A=function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new b(e,c.getInstance(),this);w.set(this,n)};["observe","unobserve","disconnect"].forEach(function(t){A.prototype[t]=function(){var e;return(e=w.get(this))[t].apply(e,arguments)}});var E=void 0!==o.ResizeObserver?o.ResizeObserver:A;e.Z=E},70709:function(t){t.exports=function(t,e,n,r){var i=n?n.call(r,t,e):void 0;if(void 0!==i)return!!i;if(t===e)return!0;
vendor: 10,309 bytes, line 21
21if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var o=Object.keys(t),a=Object.keys(e);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(e),u=0;u<o.length;u++){var c=o[u];if(!s(c))return!1;var l=t[c],f=e[c];if(!1===(i=n?n.call(r,l,f,c):void 0)||void 0===i&&l!==f)return!1}return!0}},89278:function(t,e,n){"use strict";n.d(e,{f6:function(){return tI},iv:function(){return tb},ZP:function(){return tT},F4:function(){return tR}});var r,i,o,a=n(2193),s=n(19776),u=n(70709),c=n.n(u),l=function(t){function e(t,e,r){var i=e.trim().split(p);e=i;var o=i.length,a=t.length;switch(a){case 0:case 1:var s=0;for(t=0===a?"":t[0]+" ";s<o;++s)e[s]=n(t,e[s],r).trim();break;default:var u=s=0;for(e=[];s<o;++s)for(var c=0;c<a;++c)e[u++]=n(t[c]+" ",i[s],r).trim()}return e}function n(t,e,n){var r=e.charCodeAt(0);switch(33>r&&(r=(e=e.trim()).charCodeAt(0)),r){case 38:return e.replace(g,"$1"+t.trim());case 58:return t.trim()+e.replace(g,"$1"+t.trim());default:if(0<1*n&&0<e.indexOf("\f"))return e.replace(g,(58===t.charCodeAt(0)?"":"$1")+t.trim())}return t+e}function r(t,e,n,o){var a=t+";",s=2*e+3*n+4*o;if(944===s){t=a.indexOf(":",9)+1;var u=a.substring(t,a.length-1).trim();return u=a.substring(0,t).trim()+u+";",1===M||2===M&&i(u,1)?"-webkit-"+u+u:u}if(0===M||2===M&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(P,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return d.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(e=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(e)){case 226:u=a.replace(b,"tb");break;case 232:u=a.replace(b,"tb-rl");break;case 220:u=a.replace(b,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(e=(a=t).length-10,s=(u=(33===a.charCodeAt(e)?a.substring(0,e):a).substring(t.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(E,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(E,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===x.test(t))return 115===(u=t.substring(t.indexOf(":")+1)).charCodeAt(0)?r(t.replace("stretch","fill-available"),e,n,o).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+o&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(t,e){var n=t.indexOf(1===e?":":"{"),r=t.substring(0,3!==e?n:10);return n=t.substring(n+1,t.length-1),k(2!==e?r:r.replace(C,"$1"),n,e)}function o(t,e){var n=r(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return n!==e+";"?n.replace(A," or ($1)").substring(4):"("+e+")"}function a(t,e,n,r,i,o,a,s,c,l){for(var f,d=0,h=e;d<B;++d)switch(f=T[d].call(u,t,h,n,r,i,o,a,s,c,l)){case void 0:case!1:case!0:case null:break;default:h=f}if(h!==e)return h}function s(t){return void 0!==(t=t.prefix)&&(k=null,t?"function"!=typeof t?M=1:(M=2,k=t):M=0),s}function u(t,n){var s=t;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<B){var u=a(-1,n,s,s,I,S,0,0,0,0);void 0!==u&&"string"==typeof u&&(n=u)}var f=function t(n,s,u,f,d){for(var h,p,g,b,A,E=0,C=0,x=0,P=0,T=0,k=0,D=g=h=0,j=0,U=0,L=0,F=0,_=u.length,V=_-1,G="",Q="",z="",H="";j<_;){if(p=u.charCodeAt(j),j===V&&0!==C+P+x+E&&(0!==C&&(p=47===C?10:47),P=x=E=0,_++,V++),0===C+P+x+E){if(j===V&&(0<U&&(G=G.replace(l,"")),0<G.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:G+=u.charAt(j)}p=59}switch(p){case 123:for(h=(G=G.trim()).charCodeAt(0),g=1,F=++j;j<_;){switch(p=u.charCodeAt(j)){case 123:g++;break;case 125:g--;break;case 47:switch(p=u.charCodeAt(j+1)){case 42:case 47:t:{for(D=j+1;D<V;++D)switch(u.charCodeAt(D)){case 47:if(42===p&&42===u.charCodeAt(D-1)&&j+2!==D){j=D+1;break t}break;case 10:if(47===p){j=D+1;break t}}j=D}}break;case 91:p++;case 40:p++;case 34:case 39:for(;j++<V&&u.charCodeAt(j)!==p;);}if(0===g)break;j++}if(g=u.substring(F,j),0===h&&(h=(G=G.replace(c,"").trim()).charCodeAt(0)),64===h){switch(0<U&&(G=G.replace(l,"")),p=G.charCodeAt(1)){case 100:case 109:case 115:case 45:U=s;break;default:U=R}if(F=(g=t(s,U,g,p,d+1)).length,0<B&&(A=a(3,g,U=e(R,G,L),s,I,S,F,p,d,f),G=U.join(""),void 0!==A&&0===(F=(g=A.trim()).length)&&(p=0,g="")),0<F)switch(p){case 115:G=G.replace(w,o);case 100:case 109:case 45:g=G+"{"+g+"}";break;case 107:g=(G=G.replace(m,"$1 $2"))+"{"+g+"}",g=1===M||2===M&&i("@"+g,3)?"@-webkit-"+g+"@"+g:"@"+g;break;default:g=G+g,112===f&&(Q+=g,g="")}else g=""}else g=t(s,e(s,G,L),g,f,d+1);z+=g,g=L=U=D=h=0,G="",p=u.charCodeAt(++j);break;case 125:case 59:if(1<(F=(G=(0<U?G.replace(l,""):G).trim()).length))switch(0===D&&(45===(h=G.charCodeAt(0))||96<h&&123>h)&&(F=(G=G.replace(" ",":")).length),0<B&&void 0!==(A=a(1,G,s,n,I,S,Q.length,f,d,f))&&0===(F=(G=A.trim()).length)&&(G="\x00\x00"),h=G.charCodeAt(0),p=G.charCodeAt(1),h){case 0:break;case 64:if(105===p||99===p){H+=G+u.charAt(j);break}default:58!==G.charCodeAt(F-1)&&(Q+=r(G,h,p,G.charCodeAt(2)))}L=U=D=h=0,G="",p=u.charCodeAt(++j)}}switch(p){case 13:case 10:47===C?C=0:0===1+h&&107!==f&&0<G.length&&(U=1,G+="\x00"),0<B*N&&a(0,G,s,n,I,S,Q.length,f,d,f),S=1,I++;break;case 59:case 125:if(0===C+P+x+E){S++;break}default:switch(S++,b=u.charAt(j),p){case 9:case 32:if(0===P+E+C)switch(T){case 44:case 58:case 9:case 32:b="";break;default:32!==p&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===P+C+E&&(U=L=1,b="\f"+b);break;case 108:if(0===P+C+E+O&&0<D)switch(j-D){case 2:112===T&&58===u.charCodeAt(j-3)&&(O=T);case 8:111===k&&(O=k)}break;case 58:0===P+C+E&&(D=j);break;case 44:0===C+x+P+E&&(U=1,b+="\r");break;case 34:case 39:0===C&&(P=P===p?0:0===P?p:P);break;case 91:0===P+C+x&&E++;break;case 93:0===P+C+x&&E--;break;case 41:0===P+C+E&&x--;break;case 40:0===P+C+E&&(0===h&&(2*T+3*k==533||(h=1)),x++);break;case 64:0===C+x+P+E+D+g&&(g=1);break;case 42:case 47:if(!(0<P+E+x))switch(C){case 0:switch(2*p+3*u.charCodeAt(j+1)){case 235:C=47;break;case 220:F=j,C=42}break;case 42:47===p&&42===T&&F+2!==j&&(33===u.charCodeAt(F+2)&&(Q+=u.substring(F,j+1)),b="",C=0)}}0===C&&(G+=b)}k=T,T=p,j++}if(0<(F=Q.length)){if(U=s,0<B&&void 0!==(A=a(2,Q,U,n,I,S,F,f,d,f))&&0===(Q=A).length)return H+Q+z;if(Q=U.join(",")+"{"+Q+"}",0!=M*O){switch(2!==M||i(Q,2)||(O=0),O){case 111:Q=Q.replace(y,":-moz-$1")+Q;break;case 112:Q=Q.replace(v,"::-webkit-input-$1")+Q.replace(v,"::-moz-$1")+Q.replace(v,":-ms-input-$1")+Q}O=0}}return H+Q+z}(R,s,n,0,0);return 0<B&&void 0!==(u=a(-2,f,s,s,I,S,f.length,0,0,0))&&(f=u),O=0,S=I=1,f}var c=/^\0+/g,l=/[\0\r\f]/g,f=/: */g,d=/zoo|gra/,h=/([,: ])(transform)/g,p=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,y=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,A=/([\s\S]*?);/g,E=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,x=/stretch|:\s*\w+\-(?:conte|avail)/,P=/([^-])(image-set\()/,S=1,I=1,O=0,M=1,R=[],T=[],B=0,k=null,N=0;return u.use=function t(e){switch(e){case void 0:case null:B=T.length=0;break;default:if("function"==typeof e)T[B++]=e;else if("object"==typeof e)for(var n=0,r=e.length;n<r;++n)t(e[n]);else N=0|!!e}return t},u.set=s,void 0!==t&&s(t),u},f={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},d=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
21ine|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,h=(r=Object.create(null),function(t){return void 0===r[t]&&(r[t]=d.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)),r[t]}),p=n(38465),g=n.n(p),m=n(94221);function v(){return(v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var y=function(t,e){for(var n=[t[0]],r=0,i=e.length;r<i;r+=1)n.push(e[r],t[r+1]);return n},b=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!(0,a.typeOf)(t)},w=Object.freeze([]),A=Object.freeze({});function E(t){return"function"==typeof t}function C(t){return t.displayName||t.name||"Component"}function x(t){return t&&"string"==typeof t.styledComponentId}var P=void 0!==m&&void 0!==m.env&&(m.env.REACT_APP_SC_ATTR||m.env.SC_ATTR)||"data-styled",S="undefined"!=typeof window&&"HTMLElement"in window,I=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==m&&void 0!==m.env&&(void 0!==m.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==m.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==m.env.REACT_APP_SC_DISABLE_SPEEDY&&m.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==m.env.SC_DISABLE_SPEEDY&&""!==m.env.SC_DISABLE_SPEEDY&&"false"!==m.env.SC_DISABLE_SPEEDY&&m.env.SC_DISABLE_SPEEDY));function O(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw Error("An error occurred. See https://git.io/JUIaE#"+t+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var M=function(){function t(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}var e=t.prototype;return e.indexOfGroup=function(t){for(var e=0,n=0;n<t;n++)e+=this.groupSizes[n];return e},e.insertRules=function(t,e){if(t>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;t>=i;)(i<<=1)<0&&O(16,""+t);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(t+1),s=0,u=e.length;s<u;s++)this.tag.insertRule(a,e[s])&&(this.groupSizes[t]++,a++)},e.clearGroup=function(t){if(t<this.length){var e=this.groupSizes[t],n=this.indexOfGroup(t),r=n+e;this.groupSizes[t]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.getGroup=function(t){var e="";if(t>=this.length||0===this.groupSizes[t])return e;for(var n=this.groupSizes[t],r=this.indexOfGroup(t),i=r+n,o=r;o<i;o++)e+=this.tag.getRule(o)+"/*!sc*/\n";return e},t}(),R=new Map,T=new Map,B=1,k=function(t){if(R.has(t))return R.get(t);for(;T.has(B);)B++;var e=B++;return R.set(t,e),T.set(e,t),e},N=function(t,e){e>=B&&(B=e+1),R.set(t,e),T.set(e,t)}
vendor: 5,771 bytes, line 21
21,D="style["+P+'][data-styled-version="5.3.11"]',j=RegExp("^"+P+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),U=function(t,e,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&t.registerName(e,r)},L=function(t,e){for(var n=(e.textContent||"").split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(j);if(s){var u=0|parseInt(s[1],10),c=s[2];0!==u&&(N(c,u),U(t,c,s[3]),t.getTag().insertRules(u,r)),r.length=0}else r.push(a)}}},F=function(){return n.nc},_=function(t){var e=document.head,n=t||e,r=document.createElement("style"),i=function(t){for(var e=t.childNodes,n=e.length;n>=0;n--){var r=e[n];if(r&&1===r.nodeType&&r.hasAttribute(P))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(P,"active"),r.setAttribute("data-styled-version","5.3.11");var a=F();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},V=function(){function t(t){var e=this.element=_(t);e.appendChild(document.createTextNode("")),this.sheet=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets,n=0,r=e.length;n<r;n++){var i=e[n];if(i.ownerNode===t)return i}O(17)}(e),this.length=0}var e=t.prototype;return e.insertRule=function(t,e){try{return this.sheet.insertRule(e,t),this.length++,!0}catch(t){return!1}},e.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.getRule=function(t){var e=this.sheet.cssRules[t];return void 0!==e&&"string"==typeof e.cssText?e.cssText:""},t}(),G=function(){function t(t){var e=this.element=_(t);this.nodes=e.childNodes,this.length=0}var e=t.prototype;return e.insertRule=function(t,e){if(t<=this.length&&t>=0){var n=document.createTextNode(e),r=this.nodes[t];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},e.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},t}(),Q=function(){function t(t){this.rules=[],this.length=0}var e=t.prototype;return e.insertRule=function(t,e){return t<=this.length&&(this.rules.splice(t,0,e),this.length++,!0)},e.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.getRule=function(t){return t<this.length?this.rules[t]:""},t}(),z=S,H={isServer:!S,useCSSOMInjection:!I},q=function(){function t(t,e,n){void 0===t&&(t=A),void 0===e&&(e={}),this.options=v({},H,{},t),this.gs=e,this.names=new Map(n),this.server=!!t.isServer,!this.server&&S&&z&&(z=!1,function(t){for(var e=document.querySelectorAll(D),n=0,r=e.length;n<r;n++){var i=e[n];i&&"active"!==i.getAttribute(P)&&(L(t,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}t.registerId=function(t){return k(t)};var e=t.prototype;return e.reconstructWithOptions=function(e,n){return void 0===n&&(n=!0),new t(v({},this.options,{},e),this.gs,n&&this.names||void 0)},e.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.getTag=function(){var t,e,n,r;return this.tag||(this.tag=(e=(t=this.options).isServer,n=t.useCSSOMInjection,r=t.target,new M(e?new Q(r):n?new V(r):new G(r))))},e.hasNameForId=function(t,e){return this.names.has(t)&&this.names.get(t).has(e)},e.registerName=function(t,e){if(k(t),this.names.has(t))this.names.get(t).add(e);else{var n=new Set;n.add(e),this.names.set(t,n)}},e.insertRules=function(t,e,n){this.registerName(t,e),this.getTag().insertRules(k(t),n)},e.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.clearRules=function(t){this.getTag().clearGroup(k(t)),this.clearNames(t)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(t){for(var e=t.getTag(),n=e.length,r="",i=0;i<n;i++){var o,a=(o=i,T.get(o));if(void 0!==a){var s=t.names.get(a),u=e.getGroup(i);if(s&&u&&s.size){var c=P+".g"+i+'[id="'+a+'"]',l="";void 0!==s&&s.forEach(function(t){t.length>0&&(l+=t+",")}),r+=""+u+c+'{content:"'+l+'"}/*!sc*/\n'}}}return r}(this)},t}(),K=/(a)(d)/gi,W=function(t){return String.fromCharCode(t+(t>25?39:97))};function Y(t){var e,n="";for(e=Math.abs(t);e>52;e=e/52|0)n=W(e%52)+n;return(W(e%52)+n).replace(K,"$1-$2")}var J=function(t,e){for(var n=e.length;n;)t=33*t^e.charCodeAt(--n);return t},Z=function(t){return J(5381,t)};function X(t){for(var e=0;e<t.length;e+=1){var n=t[e];if(E(n)&&!x(n))return!1}return!0}var $=Z("5.3.11"),tt=function(){function t(t,e,n){this.rules=t,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&X(t),this.componentId=e,this.baseHash=J($,e),this.baseStyle=n,q.registerId(e)}return t.prototype.generateAndInjectStyles=function(t,e,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(t,e,n)),this.isStatic&&!n.hash){if(this.staticRulesId&&e.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=tv(this.rules,t,e,n).join(""),a=Y(J(this.baseHash,o)>>>0);if(!e.hasNameForId(r,a)){var s=n(o,"."+a,void 0,r);e.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}}else{for(var u=this.rules.length,c=J(this.baseHash,n.hash),l="",f=0;f<u;f++){var d=this.rules[f];if("string"==typeof d)l+=d;else if(d){var h=tv(d,t,e,n),p=Array.isArray(h)?h.join(""):h;c=J(c,p+f),l+=p}}if(l){var g=Y(c>>>0);if(!e.hasNameForId(r,g)){var m=n(l,"."+g,void 0,r);e.insertRules(r,g,m)}i.push(g)}}return i.join(" ")},t}(),te=/^\s*\/\/.*$/gm,tn=[":","[",".","#"];function tr(t){var e,n,r,i,o=void 0===t?A:t,a=o.options,s=void 0===a?A:a,u=o.plugins,c=void 0===u?w:u,f=new l(s),d=[],h=function(t){function e(e){if(e)try{t(e+"}")}catch(t){}}return function(n,r,i,o,a,s,u,c,l,f){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return t(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return t(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case -2:r.split("/*|*/}").forEach(e)}}}(function(t){d.push(t)}),p=function(t,r,o){return 0===r&&-1!==tn.indexOf(o[n.length])||o.match(i)?t
21:"."+e};function g(t,o,a,s){void 0===s&&(s="&");var u=t.replace(te,""),c=o&&a?a+" "+o+" { "+u+" }":u;return e=s,r=RegExp("\\"+(n=o)+"\\b","g"),i=RegExp("(\\"+n+"\\b){2,}"),f(a||!o?"":o,c)}return f.use([].concat(c,[function(t,e,i){2===t&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,p))},h,function(t){if(-2===t){var e=d;return d=[],e}}])),g.hash=c.length?c.reduce(function(t,e){return e.name||O(15),J(t,e.name)},5381).toString():"",g}var ti=s.createContext(),to=(ti.Consumer,s.createContext()),ta=(to.Consumer,new q),ts=tr();function tu(){return(0,s.useContext)(ti)||ta}function tc(t){var e=(0,s.useState)(t.stylisPlugins),n=e[0],r=e[1],i=tu(),o=(0,s.useMemo)(function(){var e=i;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e},[t.disableCSSOMInjection,t.sheet,t.target]),a=(0,s.useMemo)(function(){return tr({options:{prefix:!t.disableVendorPrefixes},plugins:n})},[t.disableVendorPrefixes,n]);return(0,s.useEffect)(function(){c()(n,t.stylisPlugins)||r(t.stylisPlugins)},[t.stylisPlugins]),s.createElement(ti.Provider,{value:o},s.createElement(to.Provider,{value:a},t.children))}var tl=function(){function t(t,e){var n=this;this.inject=function(t,e){void 0===e&&(e=ts);var r=n.name+e.hash;t.hasNameForId(n.id,r)||t.insertRules(n.id,r,e(n.rules,r,"@keyframes"))},this.toString=function(){return O(12,String(n.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=e}return t.prototype.getName=function(t){return void 0===t&&(t=ts),this.name+t.hash},t}(),tf=/([A-Z])/,td=/([A-Z])/g,th=/^ms-/,tp=function(t){return"-"+t.toLowerCase()};function tg(t){return tf.test(t)?t.replace(td,tp).replace(th,"-ms-"):t}var tm=function(t){return null==t||!1===t||""===t};function tv(t,e,n,r){if(Array.isArray(t)){for(var i,o=[],a=0,s=t.length;a<s;a+=1)""!==(i=tv(t[a],e,n,r))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return tm(t)?"":x(t)?"."+t.styledComponentId:E(t)?"function"!=typeof t||t.prototype&&t.prototype.isReactComponent||!e?t:tv(t(e),e,n,r):t instanceof tl?n?(t.inject(n,r),t.getName(r)):t:b(t)?function t(e,n){var r,i=[];for(var o in e)e.hasOwnProperty(o)&&!tm(e[o])&&(Array.isArray(e[o])&&e[o].isCss||E(e[o])?i.push(tg(o)+":",e[o],";"):b(e[o])?i.push.apply(i,t(e[o],o)):i.push(tg(o)+": "+(null==(r=e[o])||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||o in f||o.startsWith("--")?String(r).trim():r+"px")+";"));return n?[n+" {"].concat(i,["}"]):i}(t):t.toString()}var ty=function(t){return Array.isArray(t)&&(t.isCss=!0),t};function tb(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return E(t)||b(t)?ty(tv(y(w,[t].concat(n)))):0===n.length&&1===t.length&&"string"==typeof t[0]?t:ty(tv(y(t,n)))}var tw=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,tA=/(^-|-$)/g;function tE(t){return t.replace(tw,"-").replace(tA,"")}var tC=function(t){return Y(Z(t)>>>0)};function tx(t){return"string"==typeof t}var tP=function(t){return"function"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)},tS=s.createContext();function tI(t){var e=(0,s.useContext)(tS),n=(0,s.useMemo)(function(){var n;return(n=t.theme)?E(n)?n(e):Array.isArray(n)||"object"!=typeof n?O(8):e?v({},e,{},n):n:O(14)},[t.theme,e]);return t.children?s.createElement(tS.Provider,{value:n},t.children):null}tS.Consumer;var tO={},tM=function(t){return function t(e,n,r){if(void 0===r&&(r=A),!(0,a.isValidElementType)(n))return O(1,String(n));var i=function(){return e(n,r,tb.apply(void 0,arguments))};return i.withConfig=function(i){return t(e,n,v({},r,{},i))},i.attrs=function(i){return t(e,n,v({},r,{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},i}(function t(e,n,r){var i=x(e),o=!tx(e),a=n.attrs,u=void 0===a?w:a,c=n.componentId,l=void 0===c?(b=n.displayName,P=n.parentComponentId,tO[S="string"!=typeof b?"sc":tE(b)]=(tO[S]||0)+1,I=S+"-"+tC("5.3.11"+S+tO[S]),P?P+"-"+I:I):c,f=n.displayName,d=void 0===f?tx(e)?"styled."+e:"Styled("+C(e)+")":f,p=n.displayName&&n.componentId?tE(n.displayName)+"-"+n.componentId:n.componentId||l,m=i&&e.attrs?Array.prototype.concat(e.attrs,u).filter(
21Boolean):u,y=n.shouldForwardProp;i&&e.shouldForwardProp&&(y=n.shouldForwardProp?function(t,r,i){return e.shouldForwardProp(t,r,i)&&n.shouldForwardProp(t,r,i)}:e.shouldForwardProp);var b,P,S,I,O,M=new tt(r,p,i?e.componentStyle:void 0),R=M.isStatic&&0===u.length,T=function(t,e){return function(t,e,n,r){var i,o,a,u,c,l,f,d=t.attrs,p=t.componentStyle,g=t.defaultProps,m=t.foldedComponentIds,y=t.shouldForwardProp,b=t.styledComponentId,w=t.target,C=(i=(0,s.useContext)(tS),void 0===(o=g)&&(o=A),void 0===(a=e.theme!==o.theme&&e.theme||i||o.theme||A)&&(a=A),u=v({},e,{theme:a}),c={},d.forEach(function(t){var e,n,r,i=t;for(e in E(i)&&(i=i(u)),i)u[e]=c[e]="className"===e?(n=c[e],r=i[e],n&&r?n+" "+r:n||r):i[e]}),[u,c]),x=C[0],P=C[1],S=(l=tu(),f=(0,s.useContext)(to)||ts,r?p.generateAndInjectStyles(A,l,f):p.generateAndInjectStyles(x,l,f)),I=P.$as||e.$as||P.as||e.as||w,O=tx(I),M=P!==e?v({},e,{},P):e,R={};for(var T in M)"$"!==T[0]&&"as"!==T&&("forwardedAs"===T?R.as=M[T]:(y?y(T,h,I):!O||h(T))&&(R[T]=M[T]));return e.style&&P.style!==e.style&&(R.style=v({},e.style,{},P.style)),R.className=Array.prototype.concat(m,b,S!==b?S:null,e.className,P.className).filter(Boolean).join(" "),R.ref=n,(0,s.createElement)(I,R)}(O,t,e,R)};return T.displayName=d,(O=s.forwardRef(T)).attrs=m,O.componentStyle=M,O.displayName=d,O.shouldForwardProp=y,O.foldedComponentIds=i?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):w,O.styledComponentId=p,O.target=i?e.target:e,O.withComponent=function(e){var i=n.componentId,o=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e.indexOf(n=o[r])>=0||(i[n]=t[n]);return i}(n,["componentId"]),a=i&&i+"-"+(tx(e)?e:tE(C(e)));return t(e,v({},o,{attrs:m,componentId:a}),r)},Object.defineProperty(O,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=i?function t(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=0;o<r.length;o++){var a=r[o];if(tP(a))for(var s in a)"__proto__"!==s&&"constructor"!==s&&"prototype"!==s&&function(e,n,r){var i=e[r];tP(n)&&tP(i)?t(i,n):e[r]=n}(e,a[s],s)}return e}({},e.defaultProps,t):t}}),Object.defineProperty(O,"toString",{value:function(){return"."+O.styledComponentId}}),o&&g()(O,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),O},t)};function tR(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=tb.apply(void 0,[t].concat(n)).join("");return new tl(tC(i),i)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(t){tM[t]=tM(t)}),(i=(function(t,e){this.rules=t,this.componentId=e,this.isStatic=X(t),q.registerId(this.componentId+1)}).prototype).createStyles=function(t,e,n,r){var i=r(tv(this.rules,e,n,r).join(""),""),o=this.componentId+t;n.insertRules(o,o,i)},i.removeStyles=function(t,e){e.clearRules(this.componentId+t)},i.renderStyles=function(t,e,n,r){t>2&&q.registerId(this.componentId+t),this.removeStyles(t,n),this.createStyles(t,e,n,r)},(o=(function(){var t=this;this._emitSheetCSS=function(){var e=t.instance.toString();if(!e)return"";var n=F();
21return"<style "+[n&&'nonce="'+n+'"',P+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+e+"</style>"},this.getStyleTags=function(){return t.sealed?O(2):t._emitSheetCSS()},this.getStyleElement=function(){if(t.sealed)return O(2);var e,n=((e={})[P]="",e["data-styled-version"]="5.3.11",e.dangerouslySetInnerHTML={__html:t.instance.toString()},e),r=F();return r&&(n.nonce=r),[s.createElement("style",v({},n,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new q({isServer:!0}),this.sealed=!1}).prototype).collectStyles=function(t){return this.sealed?O(2):s.createElement(tc,{sheet:this.instance},t)},o.interleaveWithNodeStream=function(t){return O(3)};var tT=tM},4621:function(t,e,n){"use strict";/** 22 * @license React 23 * use-sync-external-store-shim.production.min.js 24 * 25 * Copyright (c) Facebook, Inc. and its affiliates. 26 * 27 * This source code is licensed under the MIT license found in the 28 * LICENSE file in the root directory of this source tree. 29 */var r=n(19776),i="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,u=r.useDebugValue;function c(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!i(t,n)}catch(t){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),r=o({inst:{value:n,getSnapshot:e}}),i=r[0].inst,l=r[1];return s(function(){i.value=n,i.getSnapshot=e,c(i)&&l({inst:i})},[t,n,e]),a(function(){return c(i)&&l({inst:i}),t(function(){c(i)&&l({inst:i})})},[t]),u(n),n};e.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},55843:function(t,e,n){"use strict";/** 30 * @license React 31 * use-sync-external-store-shim/with-selector.production.min.js 32 * 33 * Copyright (c) Facebook, Inc. and its affiliates. 34 * 35 * This source code is licensed under the MIT license found in the 36 * LICENSE file in the root directory of this source tree. 37 */var r=n(19776),i=n(63440),o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},a=i.useSyncExternalStore,s=r.useRef,u=r.useEffect,c=r.useMemo,l=r.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,n,r,i){var f=s(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;var h=a(t,(f=c(function(){function t(t){if(!u){if(u=!0,a=t,t=r(t),void 0!==i&&d.hasValue){var e=d.value;if(i(e,t))return s=e}return s=t}if(e=s,o(a,t))return e;var n=r(t);return void 0!==i&&i(e,n)?e:(a=t,s=n)}var a,s,u=!1,c=void 0===n?null:n;return[function(){return t(e())},null===c?void 0:function(){return t(c())}]},[e,n,r,i]))[0],f[1]);return u(function(){d.hasValue=!0,d.value=h},[h]),l(h),h}},63440:function(t,e,n){"use strict";t.exports=n(4621)},93151:function(t,e,n){"use strict";t.exports=n(55843)},51131:function(t,e,n){"use strict";n.d(e,{nW:function(){return D},td:function(){return T},aM:function(){return B}});let r={};function i(t,e={}){let n=`${t}=`;for(let t of Object.keys(e).sort())n+=`${t}:${e[t]} `;return n.trim()}let o={authKey:"",env:"dev",cache:!0,cancelHookRequestsOnUnmount:!1};var a,s,u,c,l,f,d,h,p,g,m=((l=m||{})[l.ExtraSmall=125]="ExtraSmall",l[l.Small=250]="Small",l[l.Medium=500]="Medium",l[l.Large=750]="Large",l);async function v(t,e,n){if(!o.authKey)throw Error("No API key provided");try{let r=await fetch("https://api.airstack.xyz/gql",{method:"POST",headers:{"Content-Type":"application/json",Authorization:o.authKey},signal:n?null==n?void 0:n.signal:null,body:JSON.stringify({query:t,variables:e})}),i=await r.json(),a=null==i?void 0:i.data,s=null;return(null==i?void 0:i.errors)&&(s=null==i?void 0:i.errors),[a,s]}catch(t){return[null,(null==t?void 0:t.message)||"Unable to fetch data"]}}let y={};async function b(t,e,n){var r;let o=i(t,e),a=y[o];if(!a||(null==(r=null==a?void 0:a.abortController)?void 0:r.signal.aborted)){let r=v(t,e,n).finally(()=>{delete y[o]});y[o]={promise:r,abortController:n}}return y[o].promise}let w={};async function A(t,e,n){let a=function t(e){let n={};if(!e||"object"!=typeof e)return e;for(let r in e)Array.isArray(e[r])?n[r]=e[r].map(e=>t(e)):"object"==typeof e[r]?n[r]=JSON.stringify(e[r]):n[r]=e[r];return n}(e||{}),s={...o,...n},u=s.cache?function(t,e={}){var n;let o=r[i(t,e)];return o&&(n=o.createdAt,Date.now()-n<6e4)?o.data:null}(t,a||{}):null,c=null;if(u)u={...u};else{let[e,o]=await b(t,a,null==n?void 0:n.abortController);u=e,c=o,s.cache&&u&&!c&&function(t,e,n={}){r[i(e,n)]={data:t,createdAt:Date.now()}}(u,t,a),function(t){if(t)for(let e in t){let n=t[e];for(let t in n)t.includes("pageInfo")||function t(e,n,r,i,o){if(e instanceof Object){if(Array.isArray(e)){for(let a of e)t(a,n,r,i,o);return}for(let l in e){if("blockchain"===l&&(i=e[l]),"tokenId"===l&&(n=e[l]),"tokenAddress"===l&&(r=e[l]),"contentValue"===l&&(o=e[l]),i&&n&&r&&o){var a,s,u,c;a=i,s=r,u=n,c={type:"image",value:o},w[`${a}-${s.toLowerCase()}-${u.toLowerCase()}`]=c;continue}t(e[l],n,r,i,o)}}}
37(n[t],null,null,null,null)}}(u)}return{data:u,error:c}}(a=f||(f={})).NAME="Name",a.DOCUMENT="Document",a.OPERATION_DEFINITION="OperationDefinition",a.VARIABLE_DEFINITION="VariableDefinition",a.SELECTION_SET="SelectionSet",a.FIELD="Field",a.ARGUMENT="Argument",a.FRAGMENT_SPREAD="FragmentSpread",a.INLINE_FRAGMENT="InlineFragment",a.FRAGMENT_DEFINITION="FragmentDefinition",a.VARIABLE="Variable",a.INT="IntValue",a.FLOAT="FloatValue",a.STRING="StringValue",a.BOOLEAN="BooleanValue",a.NULL="NullValue",a.ENUM="EnumValue",a.LIST="ListValue",a.OBJECT="ObjectValue",a.OBJECT_FIELD="ObjectField",a.DIRECTIVE="Directive",a.NAMED_TYPE="NamedType",a.LIST_TYPE="ListType",a.NON_NULL_TYPE="NonNullType",a.SCHEMA_DEFINITION="SchemaDefinition",a.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",a.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",a.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",a.FIELD_DEFINITION="FieldDefinition",a.INPUT_VALUE_DEFINITION="InputValueDefinition",a.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",a.UNION_TYPE_DEFINITION="UnionTypeDefinition",a.ENUM_TYPE_DEFINITION="EnumTypeDefinition",a.ENUM_VALUE_DEFINITION="EnumValueDefinition",a.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",a.DIRECTIVE_DEFINITION="DirectiveDefinition",a.SCHEMA_EXTENSION="SchemaExtension",a.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",a.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",a.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",a.UNION_TYPE_EXTENSION="UnionTypeExtension",a.ENUM_TYPE_EXTENSION="EnumTypeExtension",a.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension";let E=/\r\n|[\n\r]/g;function C(t,e){let n=0,r=1;for(let i of t.body.matchAll(E)){if("number"==typeof i.index||function(t,e){if(!t)throw Error(null!=e?e:"Unexpected invariant triggered.")}(!1),i.index>=e)break;n=i.index+i[0].length,r+=1}return{line:r,column:e+1-n}}function x(t,e){let n=t.locationOffset.column-1,r="".padStart(n)+t.body,i=e.line-1,o=t.locationOffset.line-1,a=e.line+o,s=1===e.line?n:0,u=e.column+s,c=`${t.name}:${a}:${u} 38`,l=r.split(/\r\n|[\n\r]/g),f=l[i];if(f.length>120){let t=Math.floor(u/80),e=[];for(let t=0;t<f.length;t+=80)e.push(f.slice(t,t+80));return c+P([[`${a} |`,e[0]],...e.slice(1,t+1).map(t=>["|",t]),["|","^".padStart(u%80)],["|",e[t+1]]])}return c+P([[`${a-1} |`,l[i-1]],[`${a} |`,f],["|","^".padStart(u)],[`${a+1} |`,l[i+1]]])}function P(t){let e=t.filter(([t,e])=>void 0!==e),n=Math.max(...e.map(([t])=>t.length));return e.map(([t,e])=>t.padStart(n)+(e?" "+e:"")).join("\n")}class S extends Error{constructor(t,...e){var n,r,i,o;let{nodes:a,source:s,positions:u,path:c,originalError:l,extensions:f}=function(t){let e=t[0];return null==e||"kind"in e||"length"in e?{nodes:e,source:t[1],positions:t[2],path:t[3],originalError:t[4],extensions:t[5]}:e}(e);super(t),this.name="GraphQLError",this.path=null!=c?c:void 0,this.originalError=null!=l?l:void 0,this.nodes=I(Array.isArray(a)?a:a?[a]:void 0);let d=I(null===(n=this.nodes)||void 0===n?void 0:n.map(t=>t.loc).filter(t=>null!=t));this.source=null!=s?s:null==d?void 0:null===(r=d[0])||void 0===r?void 0:r.source,this.positions=null!=u?u:null==d?void 0:d.map(t=>t.start),this.locations=u&&s?u.map(t=>C(s,t)):null==d?void 0:d.map(t=>C(t.source,t.start));let h="object"==typeof(o=null==l?void 0:l.extensions)&&null!==o?null==l?void 0:l.extensions:void 0;this.extensions=null!==(i=null!=f?f:h)&&void 0!==i?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=l&&l.stack?Object.defineProperty(this,"stack",{value:l.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,S):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes){for(let n of this.nodes)if(n.loc){var e;t+="\n\n"+x((e=n.loc).source,C(e.source,e.start))}}else if(this.source&&this.locations)for(let e of this.locations)t+="\n\n"+x(this.source,e);return t}toJSON(){let t={message:this.message};return null!=this.locations&&(t.locations=this.locations),null!=this.path&&(t.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function I(t){return void 0===t||0===t.length?void 0:t}Symbol.toStringTag;(s=d||(d={})).QUERY="query",s.MUTATION="mutation",s.SUBSCRIPTION="subscription",(u=h||(h={})).QUERY="QUERY",u.MUTATION="MUTATION",u.SUBSCRIPTION="SUBSCRIPTION",u.FIELD="FIELD",u.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",u.FRAGMENT_SPREAD="FRAGMENT_SPREAD",u.INLINE_FRAGMENT="INLINE_FRAGMENT",u.VARIABLE_DEFINITION="VARIABLE_DEFINITION",u.SCHEMA="SCHEMA",u.SCALAR="SCALAR",u.OBJECT="OBJECT",u.FIELD_DEFINITION="FIELD_DEFINITION",u.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",u.INTERFACE="INTERFACE",u.UNION="UNION",u.ENUM="ENUM",u.ENUM_VALUE="ENUM_VALUE",u.INPUT_OBJECT="INPUT_OBJECT",u.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",(c=p||(p={})).SOF="<SOF>",c.EOF="<EOF>",c.BANG="!",c.DOLLAR="$",c.AMP="&",c.PAREN_L="(",c.PAREN_R=")",c.SPREAD="...",c.COLON=":",c.EQUALS="=",c.AT="@",c.BRACKET_L="[",c.BRACKET_R="]",c.BRACE_L="{",c.PIPE="|",c.BRACE_R="}
38",c.NAME="Name",c.INT="Int",c.FLOAT="Float",c.STRING="String",c.BLOCK_STRING="BlockString",c.COMMENT="Comment";Object.freeze({});var O=n(19776);function M(){}function R(t){return t}function T(t,e,n){let{data:r,error:i,loading:a,configRef:s,callbacksRef:u,originalData:c,variablesRef:l,setData:f,setError:d,setLoading:h}=function(t,e){let{onCompleted:n=M,onError:r=M,dataFormatter:i=R,...o}=e||{},[a,s]=(0,O.useState)(null),[u,c]=(0,O.useState)(null),[l,f]=(0,O.useState)(!1),d=(0,O.useRef)(o),h=(0,O.useRef)(t||{}),p=(0,O.useRef)({onCompleted:M,onError:M,dataFormatter:R}),g=(0,O.useRef)(null);return d.current.cancelRequestOnUnmount=o.cancelRequestOnUnmount,d.current.cache=o.cache,h.current=t||{},p.current={...p.current,onCompleted:n,onError:r,dataFormatter:i},{data:a,error:u,loading:l,setData:s,setError:c,setLoading:f,configRef:d,variablesRef:h,originalData:g,callbacksRef:p}}(e,n),{cancelRequestOnUnmount:p}=s.current||{},g=void 0===p?o.cancelHookRequestsOnUnmount:p,m=(0,O.useCallback)((t,e)=>{let n=e.signal.aborted,r=n?null:t,i=null,o=null;if(r){let{data:t,error:e}=r;c.current=t,i=t?u.current.dataFormatter(t):null,o=e}return n||(f(i),d(o),o?u.current.onError(o):u.current.onCompleted(i)),h(!1),{data:i,error:o}},[u,c,f,d,h]),v=(0,O.useCallback)(()=>{s.current.abortController&&g&&s.current.abortController.abort()},[s,g]),y=(0,O.useCallback)(()=>{s.current.abortController&&s.current.abortController.abort()},[s]),b=(0,O.useCallback)(async e=>{let n=!s.current.abortController||s.current.abortController.signal.aborted?new AbortController:s.current.abortController;return s.current.abortController=n,d(null),h(!0),m(await A(t,e||l.current,{...s.current,abortController:n}),n)},[d,h,t,l,s,m]);return(0,O.useEffect)(()=>v,[v]),[b,{data:r,error:i,loading:a,cancelRequest:y}]}function B(t,e,n){let[r,{data:i,error:o,loading:a,cancelRequest:s}]=T(t,e,n);return(0,O.useEffect)(()=>{r()},[r]),{data:i,error:o,loading:a,cancelRequest:s}}var k={exports:{}},N={};function D({children:t,apiKey:e,...n}){return o.authKey=e,o.env=(null==n?void 0:n.env)||"dev",o.cache=(null==n?void 0:n.cache)!==!1,o.cancelHookRequestsOnUnmount=(null==n?void 0:n.cancelHookRequestsOnUnmount)||!1,t}k.exports=function(){if(g)return N;g=1;var t=Symbol.for("react.element"),e=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,r=O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function o(e,o,a){var s,u={},c=null,l=null;for(s in void 0!==a&&(c=""+a),void 0!==o.key&&(c=""+o.key),void 0!==o.ref&&(l=o.ref),o)n.call(o,s)&&!i.hasOwnProperty(s)&&(u[s]=o[s]);if(e&&e.defaultProps)for(s in o=e.defaultProps)void 0===u[s]&&(u[s]=o[s]);return{$$typeof:t,type:e,key:c,ref:l,props:u,_owner:r.current}}return N.Fragment=e,N.jsx=o,N.jsxs=o,N}(),k.exports},14992:function(t,e,n){"use strict";n.d(e,{j:function(){return o}});var r=n(11666),i=n(33180),o=new class extends r.l{#t;#e;#n;constructor(){super(),this.#n=t=>{if(!i.sk&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#n=t,this.#e?.(),this.#e=t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){this.#t!==t&&(this.#t=t,this.onFocus())}onFocus(){let t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return"boolean"==typeof this.#t?this.#t:globalThis.document?.visibilityState!=="hidden"}}},19646:function(t,e,n){"use strict";n.d(e,{R:function(){return s},m:function(){return a}});var r=n(253),i=n(72694),o=n(84350),a=class extends i.F{#r;#i;#o;#a;constructor(t){super(),this.mutationId=t.mutationId,this.#i=t.defaultOptions,this.#o=t.mutationCache,this.#r=[],this.state=t.state||s(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={...this.#i,...t},this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#r.includes(t)||(this.#r.push(t),this.clearGcTimeout(),this.#o.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#r=this.#r.filter(e=>e!==t),this.scheduleGc(),this.#o.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#r.length||("pending"===this.state.status?this.scheduleGc():this.#o.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(t){let e="pending"===this.state.status;try{if(!e){this.#s({type:"pending",variables:t}),await this.#o.config.onMutate?.(t,this);let e=await this.options.onMutate?.(t);e!==this.state.context&&this.#s({type:"pending",context:e,variables:t})}let n=await (this.#a=(0,o.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#s({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.#a.promise);return await this.#o.config.onSuccess?.(n,t,this.state.context,this),await this.options.onSuccess?.(n,t,this.state.context),await this.#o.config.onSettled?.(n,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(n,null,t,this.state.context),this.#s({type:"success",data:n}),n}catch(e){try{throw await this.#o.config.onError?.(e,t,this.state.context,this),await this.options.onError?.(e,t,this.state.context),await this.#o.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,e,t,this.state.context),e}finally{this.#s({type:"error",error:e})}}}#s(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};
38case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!(0,o.Kw)(this.options.networkMode),status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),r.V.batch(()=>{this.#r.forEach(e=>{e.onMutationUpdate(t)}),this.#o.notify({mutation:this,type:"updated",action:t})})}};function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},253:function(t,e,n){"use strict";n.d(e,{V:function(){return r}});var r=function(){let t=[],e=0,n=t=>{t()},r=t=>{t()},i=t=>setTimeout(t,0),o=r=>{e?t.push(r):i(()=>{n(r)})},a=()=>{let e=t;t=[],e.length&&i(()=>{r(()=>{e.forEach(t=>{n(t)})})})};return{batch:t=>{let n;e++;try{n=t()}finally{--e||a()}return n},batchCalls:t=>(...e)=>{o(()=>{t(...e)})},schedule:o,setNotifyFunction:t=>{n=t},setBatchNotifyFunction:t=>{r=t},setScheduler:t=>{i=t}}}()},31893:function(t,e,n){"use strict";n.d(e,{N:function(){return o}});var r=n(11666),i=n(33180),o=new class extends r.l{#u=!0;#e;#n;constructor(){super(),this.#n=t=>{if(!i.sk&&window.addEventListener){let e=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#n=t,this.#e?.(),this.#e=t(this.setOnline.bind(this))}setOnline(t){this.#u!==t&&(this.#u=t,this.listeners.forEach(e=>{e(t)}))}isOnline(){return this.#u}}},85876:function(t,e,n){"use strict";n.d(e,{A:function(){return s},z:function(){return u}});var r=n(33180),i=n(253),o=n(84350),a=n(72694),s=class extends a.F{#c;#l;#f;#a;#r;#i;#d;constructor(t){super(),this.#d=!1,this.#i=t.defaultOptions,this.setOptions(t.options),this.#r=[],this.#f=t.cache,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#c=t.state||function(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,n=void 0!==e,r=n?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,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=this.#c,this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options={...this.#i,...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.#r.length||"idle"!==this.state.fetchStatus||this.#f.remove(this)}setData(t,e){let n=(0,r.oE)(this.state.data,t,this.options);return this.#s({data:n,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),n}setState(t,e){this.#s({type:"setState",state:t,setStateOptions:e})}cancel(t){let e=this.#a?.promise;return this.#a?.cancel(t),e?e.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.#r.some(t=>!1!==t.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.#r.some(t=>t.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(t=0){return this.state.isInvalidated||void 0===this.state.data||!(0,r.Kp)(this.state.dataUpdatedAt,t)}onFocus(){let t=this.#r.find(t=>t.shouldFetchOnWindowFocus());t?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){let t=this.#r.find(t=>t.shouldFetchOnReconnect());t?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(t){this.#r.includes(t)||(this.#r.push(t),this.clearGcTimeout(),this.#f.n
38otify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.#r.includes(t)&&(this.#r=this.#r.filter(e=>e!==t),this.#r.length||(this.#a&&(this.#d?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#f.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.#r.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}fetch(t,e){if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.#r.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let n=new AbortController,i={queryKey:this.queryKey,meta:this.meta},a=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#d=!0,n.signal)})};a(i);let s={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn&&this.options.queryFn!==r.CN?(this.#d=!1,this.options.persister)?this.options.persister(this.options.queryFn,i,this):this.options.queryFn(i):Promise.reject(Error(`Missing queryFn: '${this.options.queryHash}'`))};a(s),this.options.behavior?.onFetch(s,this),this.#l=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==s.fetchOptions?.meta)&&this.#s({type:"fetch",meta:s.fetchOptions?.meta});let u=t=>{(0,o.DV)(t)&&t.silent||this.#s({type:"error",error:t}),(0,o.DV)(t)||(this.#f.config.onError?.(t,this),this.#f.config.onSettled?.(this.state.data,t,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.#a=(0,o.Mz)({fn:s.fetchFn,abort:n.abort.bind(n),onSuccess:t=>{if(void 0===t){u(Error(`${this.queryHash} data is undefined`));return}this.setData(t),this.#f.config.onSuccess?.(t,this),this.#f.config.onSettled?.(t,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:u,onFail:(t,e)=>{this.#s({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode}),this.#a.promise}#s(t){this.state=(e=>{switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,...u(e.data,this.options),fetchMeta:t.meta??null};case"success":return{...e,data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let n=t.error;if((0,o.DV)(n)&&n.revert&&this.#l)return{...this.#l,fetchStatus:"idle"};return{...e,error:n,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}})(this.state),i.V.batch(()=>{this.#r.forEach(t=>{t.onQueryUpdate()}),this.#f.notify({query:this,type:"updated",action:t})})}};function u(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,o.Kw)(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}},72694:function(t,e,n){"use strict";n.d(e,{F:function(){return i}});var r=n(33180),i=class{#h;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,r.PN)(this.gcTime)&&(this.#h=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(r.sk?1/0:3e5))}clearGcTimeout(){this.#h&&(clearTimeout(this.#h),this.#h=void 0)}}},84350:function(t,e,n){"use strict";n.d(e,{DV:function(){return c},Kw:function(){return s},Mz:function(){return l}});var r=n(14992),i=n(31893),o=n(33180);function a(t){return Math.min(1e3*2**t,3e4)}function s(t){return(t??"online")!=="online"||i.N.isOnline()}var u=class{constructor(t){this.revert=t?.revert,this.silent=t?.silent}};function c(t){return t instanceof u}function l(t){let e,n,c,l=!1,f=0,d=!1,h=new Promise((t,e)=>{n=t,c=e}),p=()=>!r.j.isFocused()||"always"!==t.networkMode&&!i.N.isOnline(),g=r=>{d||(d=!0,t.onSuccess?.(r),e?.(),n(r))},m=n=>{d||(d=!0,t.onError?.(n),e?.(),c(n))},v=()=>new Promise(n=>{e=t=>{let e=d||!p();return e&&n(t),e},t.onPause?.()}).then(()=>{e=void 0,d||t.onContinue?.()}),y=()=>{let e;if(!d){try{e=t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(g).catch(e=>{if(d)return;let n=t.retry??(o.sk?0:3),r=t.retryDelay??a,i="function"==typeof r?r(f,e):r,s=!0===n||"number"==typeof n&&f<n||"function"==typeof n&&n(f,e);if(l||!s){m(e);return}f++,t.onFail?.(f,e),(0,o._v)(i).then(()=>
38{if(p())return v()}).then(()=>{l?m(e):y()})})}};return s(t.networkMode)?y():v().then(y),{promise:h,cancel:e=>{d||(m(new u(e)),t.abort?.())},continue:()=>e?.()?h:Promise.resolve(),cancelRetry:()=>{l=!0},continueRetry:()=>{l=!1}}}},11666:function(t,e,n){"use strict";n.d(e,{l:function(){return r}});var r=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},33180:function(t,e,n){"use strict";n.d(e,{CN:function(){return A},Ht:function(){return w},Kp:function(){return s},PN:function(){return a},Rm:function(){return l},SE:function(){return o},VS:function(){return h},VX:function(){return b},X7:function(){return c},Ym:function(){return f},ZT:function(){return i},_v:function(){return v},_x:function(){return u},oE:function(){return y},sk:function(){return r},to:function(){return d}});var r="undefined"==typeof window||"Deno"in globalThis;function i(){}function o(t,e){return"function"==typeof t?t(e):t}function a(t){return"number"==typeof t&&t>=0&&t!==1/0}function s(t,e){return Math.max(t+(e||0)-Date.now(),0)}function u(t,e){let{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:a,stale:s}=t;if(a){if(r){if(e.queryHash!==l(a,e.options))return!1}else if(!d(e.queryKey,a))return!1}if("all"!==n){let t=e.isActive();if("active"===n&&!t||"inactive"===n&&t)return!1}return("boolean"!=typeof s||e.isStale()===s)&&(!i||i===e.state.fetchStatus)&&(!o||!!o(e))}function c(t,e){let{exact:n,status:r,predicate:i,mutationKey:o}=t;if(o){if(!e.options.mutationKey)return!1;if(n){if(f(e.options.mutationKey)!==f(o))return!1}else if(!d(e.options.mutationKey,o))return!1}return(!r||e.state.status===r)&&(!i||!!i(e))}function l(t,e){return(e?.queryKeyHashFn||f)(t)}function f(t){return JSON.stringify(t,(t,e)=>g(e)?Object.keys(e).sort().reduce((t,n)=>(t[n]=e[n],t),{}):e)}function d(t,e){return t===e||typeof t==typeof e&&!!t&&!!e&&"object"==typeof t&&"object"==typeof e&&!Object.keys(e).some(n=>!d(t[n],e[n]))}function h(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(let n in t)if(t[n]!==e[n])return!1;return!0}function p(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function g(t){if(!m(t))return!1;let e=t.constructor;if(void 0===e)return!0;let n=e.prototype;return!!(m(n)&&n.hasOwnProperty("isPrototypeOf"))}function m(t){return"[object Object]"===Object.prototype.toString.call(t)}function v(t){return new Promise(e=>{setTimeout(e,t)})}function y(t,e,n){return"function"==typeof n.structuralSharing?n.structuralSharing(t,e):!1!==n.structuralSharing?function t(e,n){if(e===n)return e;let r=p(e)&&p(n);if(r||g(e)&&g(n)){let i=r?e:Object.keys(e),o=i.length,a=r?n:Object.keys(n),s=a.length,u=r?[]:{},c=0;for(let o=0;o<s;o++){let s=r?o:a[o];!r&&void 0===e[s]&&void 0===n[s]&&i.includes(s)?(u[s]=void 0,c++):(u[s]=t(e[s],n[s]),u[s]===e[s]&&void 0!==e[s]&&c++)}return o===s&&c===o?e:u}return n}(t,e):e}function b(t,e,n=0){let r=[...t,e];return n&&r.length>n?r.slice(1):r}function w(t,e,n=0){let r=[e,...t];return n&&r.length>n?r.slice(0,-1):r}var A=Symbol()},27357:function(t,e,n){"use strict";n.d(e,{NL:function(){return a},aH:function(){return s}});var r=n(19776),i=n(51379),o=r.createContext(void 0),a=t=>{let e=r.useContext(o);if(t)return t;if(!e)throw Error("No QueryClient set, use QueryClientProvider to set one");return e},s=t=>{let{client:e,children:n}=t;return r.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,i.jsx)(o.Provider,{value:e,children:n})}},74171:function(t,e,n){"use strict";n.d(e,{D:function(){return f}});var r=n(19776),i=n(19646),o=n(253),a=n(11666),s=n(33180),u=class extends a.l{#p;#g=void 0;#m;#v;constructor(t,e){super(),this.#p=t,this.setOptions(e),this.bindMethods(),this.#y()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#p.defaultMutationOptions(t),(0,s.VS)(this.options,e)||this.#p.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#m,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,s.Ym)(e.mutationKey)!==(0,s.Ym)(this.options.mutationKey)?this.reset():this.#m?.state.status==="pending"&&this.#m.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#m?.removeObserver(this)}onMutationUpdate(t){this.#y(),this.#b(t)}getCurrentResult(){return this.#g}reset(){this.#m?.removeObserver(this),this.#m=void 0,this.#y(),this.#b()}mutate(t,e){return this.#v=e,this.#m?.removeObserver(this),this.#m=this.#p.getMutationCache().build(this.#p,this.options),this.#m.addObserver(this),this.#m.execute(t)}#y(){let t=this.#m?.state??(0,i.R)();this.#g={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#b(t){o.V.batch(()=>
38{if(this.#v&&this.hasListeners()){let e=this.#g.variables,n=this.#g.context;t?.type==="success"?(this.#v.onSuccess?.(t.data,e,n),this.#v.onSettled?.(t.data,null,e,n)):t?.type==="error"&&(this.#v.onError?.(t.error,e,n),this.#v.onSettled?.(void 0,t.error,e,n))}this.listeners.forEach(t=>{t(this.#g)})})}},c=n(27357),l=n(3677);function f(t,e){let n=(0,c.NL)(e),[i]=r.useState(()=>new u(n,t));r.useEffect(()=>{i.setOptions(t)},[i,t]);let a=r.useSyncExternalStore(r.useCallback(t=>i.subscribe(o.V.batchCalls(t)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),s=r.useCallback((t,e)=>{i.mutate(t,e).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}}},3677:function(t,e,n){"use strict";function r(t,e){return"function"==typeof t?t(...e):!!t}function i(){}n.d(e,{L:function(){return r},Z:function(){return i}})},85539:function(t,e,n){"use strict";n.d(e,{D:function(){return c}});var r=n(74823),i=n(73077),o=n(99458),a=n(31554),s=n(66510),u=n(67156);function c(t){let e,l;return(0,r.K)(r=>({id:"coinbaseWalletSDK",name:"Coinbase Wallet",type:c.type,async connect({chainId:t}={}){try{let e=await this.getProvider(),n=(await e.request({method:"eth_requestAccounts"})).map(t=>(0,a.K)(t));e.on("accountsChanged",this.onAccountsChanged),e.on("chainChanged",this.onChainChanged),e.on("disconnect",this.onDisconnect.bind(this));let r=await this.getChainId();if(t&&r!==t){let e=await this.switchChain({chainId:t}).catch(t=>{if(t.code===s.ab.code)throw t;return{id:r}});r=e?.id??r}return{accounts:n,chainId:r}}catch(t){if(/(user closed modal|accounts received is empty|user denied account)/i.test(t.message))throw new s.ab(t);throw t}},async disconnect(){let t=await this.getProvider();t.removeListener("accountsChanged",this.onAccountsChanged),t.removeListener("chainChanged",this.onChainChanged),t.removeListener("disconnect",this.onDisconnect.bind(this)),t.disconnect(),t.close()},async getAccounts(){let t=await this.getProvider();return(await t.request({method:"eth_accounts"})).map(t=>(0,a.K)(t))},async getChainId(){let t=await this.getProvider(),e=await t.request({method:"eth_chainId"});return(0,i.J)(e)}
38,async getProvider(){if(!l){let{default:i}=await Promise.all([n.e(840),n.e(277),n.e(855)]).then(n.t.bind(n,90277,19));e=new("function"!=typeof i&&"function"==typeof i.default?i.default:i)({reloadOnDisconnect:!1,...t});let o=e.walletExtension?.getChainId(),a=r.chains.find(e=>t.chainId?e.id===t.chainId:e.id===o)||r.chains[0],s=t.chainId||a?.id,u=t.jsonRpcUrl||a?.rpcUrls.default.http[0];l=e.makeWeb3Provider(u,s)}return l},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({chainId:t}){let e=r.chains.find(e=>e.id===t);if(!e)throw new s.x3(new o.X4);let n=await this.getProvider(),i=(0,u.eC)(e.id);try{return await n.request({method:"wallet_switchEthereumChain",params:[{chainId:i}]}),e}catch(t){if(4902===t.code)try{return await n.request({method:"wallet_addEthereumChain",params:[{chainId:i,chainName:e.name,nativeCurrency:e.nativeCurrency,rpcUrls:[e.rpcUrls.default?.http[0]??""],blockExplorerUrls:[e.blockExplorers?.default.url]}]}),e}catch(t){throw new s.ab(t)}throw new s.x3(t)}},onAccountsChanged(t){0===t.length?r.emitter.emit("disconnect"):r.emitter.emit("change",{accounts:t.map(t=>(0,a.K)(t))})},onChainChanged(t){let e=(0,i.J)(t);r.emitter.emit("change",{chainId:e})},async onDisconnect(t){r.emitter.emit("disconnect");let e=await this.getProvider();e.removeListener("accountsChanged",this.onAccountsChanged),e.removeListener("chainChanged",this.onChainChanged),e.removeListener("disconnect",this.onDisconnect.bind(this))}}))}c.type="coinbaseWallet"},80051:function(t,e,n){"use strict";n.d(e,{T:function(){return s}});var r=n(74823),i=n(58534),o=n(73077),a=n(31554);function s(t={}){let e;let{shimDisconnect:u=!1}=t;return(0,r.K)(r=>({id:"safe",name:"Safe",type:s.type,async connect(){let t=await this.getProvider();if(!t)throw new i.M;let e=await this.getAccounts(),n=await this.getChainId();return t.on("disconnect",this.onDisconnect.bind(this)),u&&await r.storage?.removeItem("safe.disconnected"),{accounts:e,chainId:n}},async disconnect(){let t=await this.getProvider();if(!t)throw new i.M;t.removeListener("disconnect",this.onDisconnect.bind(this)),u&&await r.storage?.setItem("safe.disconnected",!0)},async getAccounts(){let t=await this.getProvider();if(!t)throw new i.M;return(await t.request({method:"eth_accounts"})).map(a.K)}
38,async getProvider(){if("undefined"!=typeof window&&window?.parent!==window){if(!e){let{default:r}=await Promise.all([n.e(274),n.e(830)]).then(n.t.bind(n,28830,19)),i=new("function"!=typeof r&&"function"==typeof r.default?r.default:r)(t),o=await i.safe.getInfo();if(!o)throw Error("Could not load Safe information");let{SafeAppProvider:a}=await n.e(201).then(n.t.bind(n,31201,19));e=new a(o,i)}return e}},async getChainId(){let t=await this.getProvider();if(!t)throw new i.M;return(0,o.J)(t.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"},19374:function(t,e,n){"use strict";n.d(e,{a:function(){return l}});var r=n(74823),i=n(58534),o=n(99458),a=n(73077),s=n(31554),u=n(66510),c=n(67156);function l(t){let e,f;let d=t.isNewChainsStale??!0,h="eip155";return(0,r.K)(r=>({id:"walletConnect",name:"WalletConnect",type:l.type,async setup(){let t=await this.getProvider().catch(()=>null);t&&(t.on("connect",this.onConnect.bind(this)),t.on("session_delete",this.onSessionDelete.bind(this)))},async connect({chainId:t,...e}={}){try{let n=await this.getProvider();if(!n)throw new i.M;n.on("display_uri",this.onDisplayUri);let o=t;if(!o){let t=await r.storage?.getItem("state")??{};o=r.chains.some(e=>e.id===t.chainId)?t.chainId:r.chains[0]?.id}if(!o)throw Error("No chains found on connector.");let a=await this.isChainsStale();if(n.session&&a&&await n.disconnect(),!n.session||a){let t=r.chains.filter(t=>t.id!==o).map(t=>t.id);await n.connect({optionalChains:[o,...t],..."pairingTopic"in e?{pairingTopic:e.pairingTopic}:{}}),this.setRequestedChainsIds(r.chains.map(t=>t.id))}let u=(await n.enable()).map(t=>(0,s.K)(t)),c=await this.getChainId();return n.removeListener("display_uri",this.onDisplayUri),n.removeListener("connect",this.onConnect.bind(this)),n.on("accountsChanged",this.onAccountsChanged.bind(this)),n.on("chainChanged",this.onChainChanged),n.on("disconnect",this.onDisconnect.bind(this)),n.on("session_delete",this.onSessionDelete.bind(this)),{accounts:u,chainId:c}}catch(t){if(/(user rejected|connection request reset)/i.test(t?.message))throw new u.ab(t);throw t}},async disconnect(){let t=await this.getProvider();try{await t?.disconnect()}catch(t){if(!/No matching key/i.test(t.message))throw t}finally{t?.removeListener("accountsChanged",this.onAccountsChanged.bind(this)),t?.removeListener("chainChanged",this.onChainChanged),t?.removeListener("disconnect",this.onDisconnect.bind(this)),t?.removeListener("session_delete",this.onSessionDelete.bind(this)),t?.on("connect",this.onConnect.bind(this)),this.setRequestedChainsIds([])}},async getAccounts(){return(await this.getProvider()).accounts.map(t=>(0,s.K)(t))},async getProvider({chainId:i}={}){async function o(){let e=r.chains.map(t=>t.id);if(!e.length)return;let{EthereumProvider:i}=await Promise.all([n.e(990),n.e(594),n.e(985)]).then(n.bind(n,35594));return await i.init({...t,disableProviderPing:!0,optionalChains:e,projectId:t.projectId,rpcMap:Object.fromEntries(r.chains.map(t=>[t.id,t.rpcUrls.default.http[0]])),showQrModal:t.showQrModal??!0})}return e||(f||(f=o()),e=await f,e?.events.setMaxListeners(1/0)),i&&await this.switchChain?.({chainId:i}),e},async getChainId(){return(await this.getProvider()).chainId},async isAuthorized(){try{let[t,e]=await Promise.all([this.getAccounts(),this.getProvider()]);if(!t.length)return!1;if(await this.isChainsStale()&&e.session)return await e.disconnect().catch(()=>{}),!1;return!0}catch{return!1}},async switchChain({chainId:t}){let e=r.chains.find(e=>e.id===t);if(!e)throw new u.x3(new o.X4);try{let n=await this.getProvider(),r=this.getNamespaceChainsIds(),i=this.getNamespaceMethods();if(!r.includes(t)&&i.includes("wallet_addEthereumChain")){await n.request({method:"wallet_addEthereumChain",params:[{chainId:(0,c.eC)(e.id),blockExplorerUrls:[e.blockExplorers?.default.url],chainName:e.name,nativeCurrency:e.nativeCurrency,rpcUrls:[...e.rpcUrls.default.http]}]});let r=await this.getRequestedChainsIds();this.setRequestedChainsIds([...r,t])}return await n.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,c.eC)(t)}]}),e}catch(e){let t="string"==typeof e?e:e?.message;if(/user rejected request/i.test(t))throw new u.ab(e);throw new u.x3(e)}},onAccountsChanged(t){0===t.length?this.onDisconnect():r.emitter.emit("change",{accounts:t.map(t=>(0,s.K)(t))})},onChainChanged(t){let e=(0,a.J)(t);r.emitter.emit("change",{chainId:e})},async onConnect(t){let e=(0,a.J)(t.chainId),n=await this.getAccounts();r.emitter.emit("connect",{accounts:n,chainId:e})},async onDisconnect(t){this.setRequestedChainsIds([]),r.emitter.emit("disconnect");let e=await this.getProvider();e.removeListener("accountsChanged",this.onAccountsChanged.bind(this)),e.removeListener("chainChanged",this.onChainChanged),e.removeListener("disconnect",this.onDisconnect.bind(this)),e.removeListener("session_delete",this.onSessionDelete.bind(this)),e.on("connect",this.onConnect.bind(this))},onDisplayUri(t){r.emitter.emit("message",{type:"display_uri",data:t})},onSessionDelete(){this.onDisconnect()},getNamespaceChainsIds:()=>
38e?e.session?.namespaces[h]?.chains?.map(t=>parseInt(t.split(":")[1]||""))??[]:[],getNamespaceMethods:()=>e?e.session?.namespaces[h]?.methods??[]:[],async getRequestedChainsIds(){return await r.storage?.getItem(this.requestedChainsStorageKey)??[]},async isChainsStale(){if(this.getNamespaceMethods().includes("wallet_addEthereumChain")||!d)return!1;let t=r.chains.map(t=>t.id),e=this.getNamespaceChainsIds();if(e.length&&!e.some(e=>t.includes(e)))return!1;let n=await this.getRequestedChainsIds();return!t.every(t=>n.includes(t))},async setRequestedChainsIds(t){await r.storage?.setItem(this.requestedChainsStorageKey,t)},get requestedChainsStorageKey(){return`${this.id}.requestedChains`}}))}l.type="walletConnect"},80752:function(t,e,n){"use strict";function r(t){let e=t.state.current,n=t.state.connections.get(e),r=n?.accounts,i=r?.[0],o=t.chains.find(t=>t.id===n?.chainId),a=t.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(e,{D:function(){return r}})},57447:function(t,e,n){"use strict";n.d(e,{u:function(){return o}});var r=n(24685),i=n(80752);function o(t,e){let{onChange:n}=e;return t.subscribe(()=>(0,i.D)(t),n,{equalityFn(t,e){let{connector:n,...i}=t,{connector:o,...a}=e;return(0,r.v)(i,a)&&n?.id===o?.id&&n?.uid===o?.uid}})}},74823:function(t,e,n){"use strict";function r(t){return t}n.d(e,{K:function(){return r}})},98534:function(t,e,n){"use strict";n.d(e,{L:function(){return h}});var r=n(31554),i=n(66510),o=n(70222),a=n(54101),s=n(67156),u=n(99458),c=n(58534),l=n(73077),f=n(74823);let d={coinbaseWallet:{id:"coinbaseWallet",name:"Coinbase Wallet",provider:t=>t?.coinbaseWalletExtension?t.coinbaseWalletExtension:p(t,"isCoinbaseWallet")},metaMask:{id:"metaMask",name:"MetaMask",provider:t=>p(t,t=>{if(!t.isMetaMask||t.isBraveWallet&&!t._events&&!t._state)return!1;for(let e of["isApexWallet","isAvalanche","isBitKeep","isBlockWallet","isKuCoinWallet","isMathWallet","isOkxWallet","isOKExWallet","isOneInchIOSWallet","isOneInchAndroidWallet","isOpera","isPortal","isRabby","isTokenPocket","isTokenary","isZerion"])if(t[e])return!1;return!0})},phantom:{id:"phantom",name:"Phantom",provider:t=>t?.phantom?.ethereum?t.phantom?.ethereum:p(t,"isPhantom")}};function h(t={}){let{shimDisconnect:e=!0,unstable_shimAsyncInject:n}=t;function g(){let e=t.target;if("function"==typeof e){let t=e();if(t)return t}return"object"==typeof e?e:"string"==typeof e?{...d[e]??{id:e,name:`${e[0].toUpperCase()}${e.slice(1)}`,provider:`is${e[0].toUpperCase()}${e.slice(1)}`}}:{id:"injected",name:"Injected",provider:t=>t?.ethereum}}return(0,f.K)(f=>({get icon(){return g().icon},get id(){return g().id},get name(){return g().name},type:h.type,async setup(){let e=await this.getProvider();e&&t.target&&e.on("connect",this.onConnect.bind(this))},async connect({chainId:n,isReconnecting:o}={}){let a=await this.getProvider();if(!a)throw new c.M;let s=null;if(!o&&(s=await this.getAccounts().catch(()=>null),s?.length))try{let t=await a.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]});s=t[0]?.caveats?.[0]?.value?.map(t=>r.K(t))}catch(t){if(t.code===i.ab.code)throw new i.ab(t);if(t.code===i.pT.code)throw t}try{s?.length||(s=(await a.request({method:"eth_requestAccounts"})).map(t=>(0,r.K)(t))),a.removeListener("connect",this.onConnect.bind(this)),a.on("accountsChanged",this.onAccountsChanged.bind(this)),a.on("chainChanged",this.onChainChanged),a.on("disconnect",this.onDisconnect.bind(this));let o=await this.getChainId();if(n&&o!==n){let t=await this.switchChain({chainId:n}).catch(t=>{if(t.code===i.ab.code)throw t;return{id:o}});o=t?.id??o}return e&&(await f.storage?.removeItem(`${this.id}.disconnected`),t.target||await f.storage?.setItem("injected.connected",!0)),{accounts:s,chainId:o}}catch(t){if(t.code===i.ab.code)throw new i.ab(t);if(t.code===i.pT.code)throw new i.pT(t);throw t}},async disconnect(){let n=await this.getProvider();if(!n)throw new c.M;n.removeListener("accountsChanged",this.onAccountsChanged.bind(this)),n.removeListener("chainChanged",this.onChainChanged),n.removeListener("disconnect",this.onDisconnect.bind(this)),n.on("connect",this.onConnect.bind(this)),e&&(await f.storage?.setItem(`${this.id}.disconnected`,!0),t.target||await f.storage?.removeItem("injected.connected"))},async getAccounts(){let t=await this.getProvider();if(!t)throw new c.M;return(await t.request({method:"eth_accounts"})).map(t=>(0,r.K)(t))},async getChainId(){let t=await this.getProvider();if(!t)throw new c.M;let e=await t.request({method:"eth_chainId"});return(0,l.J)(e)},async getProvider(){let t;if("undefined"==typeof window)return;let e=g();return(t="function"==typeof e.provider?e.provider(window):"string"==typeof e.provider?p(window,e.provider):e.provider)&&!t.removeListener&&("off"in t&&"function"==typeof t.off?t.removeListener=t.off:t.removeListener=()=>{}),t}
38,async isAuthorized(){try{if(e&&await f.storage?.getItem(`${this.id}.disconnected`)||!t.target&&!await f.storage?.getItem("injected.connected"))return!1;if(!await this.getProvider()){if(void 0!==n&&!1!==n){let t=async()=>("undefined"!=typeof window&&window.removeEventListener("ethereum#initialized",t),!!await this.getProvider()),e="number"==typeof n?n:1e3;if(await Promise.race([..."undefined"!=typeof window?[new Promise(e=>window.addEventListener("ethereum#initialized",()=>e(t()),{once:!0}))]:[],new Promise(n=>setTimeout(()=>n(t()),e))]))return!0}throw new c.M}return!!(await (0,o.J)(()=>(0,a.F)(()=>this.getAccounts(),{timeout:100}))).length}catch{return!1}},async switchChain({chainId:t}){let e=await this.getProvider();if(!e)throw new c.M;let n=f.chains.find(e=>e.id===t);if(!n)throw new i.x3(new u.X4);try{return await Promise.all([e.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,s.eC)(t)}]}),new Promise(e=>f.emitter.once("change",({chainId:n})=>{n===t&&e()}))]),n}catch(r){if(4902===r.code||r?.data?.originalError?.code===4902)try{let r;let{default:o,...a}=n.blockExplorers??{};if(o&&(r=[o.url,...Object.values(a).map(t=>t.url)]),await e.request({method:"wallet_addEthereumChain",params:[{chainId:(0,s.eC)(t),chainName:n.name,nativeCurrency:n.nativeCurrency,rpcUrls:[n.rpcUrls.default?.http[0]??""],blockExplorerUrls:r}]}),await this.getChainId()!==t)throw new i.ab(Error("User rejected switch after adding network."));return n}catch(t){throw new i.ab(t)}if(r.code===i.ab.code)throw new i.ab(r);throw new i.x3(r)}},async onAccountsChanged(t){if(0===t.length)this.onDisconnect();else if(f.emitter.listenerCount("connect")){let t=(await this.getChainId()).toString();this.onConnect({chainId:t}),e&&await f.storage?.removeItem(`${this.id}.disconnected`)}else f.emitter.emit("change",{accounts:t.map(t=>(0,r.K)(t))})},onChainChanged(t){let e=(0,l.J)(t);f.emitter.emit("change",{chainId:e})},async onConnect(t){let e=await this.getAccounts();if(0===e.length)return;let n=(0,l.J)(t.chainId);f.emitter.emit("connect",{accounts:e,chainId:n});let r=await this.getProvider();r&&(r.removeListener("connect",this.onConnect.bind(this)),r.on("accountsChanged",this.onAccountsChanged.bind(this)),r.on("chainChanged",this.onChainChanged),r.on("disconnect",this.onDisconnect.bind(this)))},async onDisconnect(t){let e=await this.getProvider();t&&1013===t.code&&e&&(await this.getAccounts()).length||(f.emitter.emit("disconnect"),e&&(e.removeListener("accountsChanged",this.onAccountsChanged.bind(this)),e.removeListener("chainChanged",this.onChainChanged),e.removeListener("disconnect",this.onDisconnect.bind(this)),e.on("connect",this.onConnect.bind(this))))}}))}function p(t,e){function n(t){return"function"==typeof e?e(t):"string"!=typeof e||t[e]}let r=t.ethereum;return r?.providers?r.providers.find(t=>n(t)):r&&n(r)?r:void 0}h.type="injected"},66621:function(t,e,n){"use strict";n.d(e,{G:function(){return u}});var r,i,o=n(70047);let a=()=>`@wagmi/core@${o.i}`;var s=function(t,e,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)};class u extends Error{get docsBaseUrl(){return"https://wagmi.sh/core"}get version(){return a()}constructor(t,e={}){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=e.cause instanceof u?e.cause.details:e.cause?.message?e.cause.message:e.details,i=e.cause instanceof u&&e.cause.docsPath||e.docsPath;this.message=[t||"An error occurred.","",...e.metaMessages?[...e.metaMessages,""]:[],...i?[`Docs: ${this.docsBaseUrl}${i}.html${e.docsSlug?`#${e.docsSlug}`:""}`]:[],...n?[`Details: ${n}`]:[],`Version: ${this.version}`].join("\n"),e.cause&&(this.cause=e.cause),this.details=n,this.docsPath=i,this.metaMessages=e.metaMessages,this.shortMessage=t}walk(t){return s(this,r,"m",i).call(this,this,t)}}r=new WeakSet,i=function t(e,n){return n?.(e)?e:e.cause?s(this,r,"m",t).call(this,e.cause,n):e}},99458:function(t,e,n){"use strict";n.d(e,{JK:function(){return s},X4:function(){return i},aH:function(){return a},wi:function(){return o}});var r=n(66621);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:t,connector:e}){super(`Account "${t}" not found for connector "${e.name}".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAccountNotFoundError"})}}},58534:function(t,e,n){"use strict";n.d(e,{M:function(){return i},O:function(){return o}});var r=n(66621);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:t}){super(`"${t.name}" does not support programmatic chain switching.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SwitchChainNotSupportedError"})}}},11354:function(t,e,n){"use strict";function r(t){return JSON.stringify(t,(t,e)=>!function(t){if(!i(t))return!1;let e=t.constructor;if(void 0===e)return!0;let n=e.prototype;return!!(i(n)&&n.hasOwnProperty("isPrototypeOf"))}(e)?"bigint"==typeof e?e.toString():e:Object.keys(e).sort().reduce((t,n)=>(t[n]=e[n],t),{}))}function i(t){return"[object Object]"===Object.prototype.toString.call(t)}function o(t){let{_defaulted:e,behavior:n,gcTime:r,initialData:i,initialDataUpdatedAt:o,maxPages:a,meta:s,networkMode:u,queryFn:c,queryHash:l,queryKey:f,queryKeyHashFn:d,retry:h,retryDelay:p,structuralSharing:g,getPreviousPageParam:m,getNextPageParam:v,initialPageParam:y,_optimisticResults:b,enabled:w,notifyOnChangeProps:A,placeholderData:E,refetchInterval:C,refetchIntervalInBackgroun
38d:x,refetchOnMount:P,refetchOnReconnect:S,refetchOnWindowFocus:I,retryOnMount:O,select:M,staleTime:R,suspense:T,throwOnError:B,config:k,connector:N,query:D,...j}=t;return j}n.d(e,{O:function(){return o},k:function(){return r}})},24685:function(t,e,n){"use strict";n.d(e,{v:function(){return function t(e,n){if(e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){let r,i;if(e.constructor!==n.constructor)return!1;if(Array.isArray(e)&&Array.isArray(n)){if((r=e.length)!==n.length)return!1;for(i=r;0!=i--;)if(!t(e[i],n[i]))return!1;return!0}if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();let o=Object.keys(e);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&&!t(e[r],n[r]))return!1}return!0}return e!=e&&n!=n}}})},75998:function(t,e,n){"use strict";function r(t,e,n){let r=t[e.name];if("function"==typeof r)return r;let i=t[n];return"function"==typeof i?i:n=>e(t,n)}n.d(e,{s:function(){return r}})},73077:function(t,e,n){"use strict";function r(t){if("string"==typeof t)return Number.parseInt(t,"0x"===t.trim().substring(0,2)?16:10);if("bigint"==typeof t)return Number(t);if("number"==typeof t)return t;throw Error(`Cannot normalize chainId "${t}" of type "${typeof t}"`)}n.d(e,{J:function(){return r}})},70047:function(t,e,n){"use strict";n.d(e,{i:function(){return r}});let r="2.6.9"},9068:function(t,e,n){"use strict";n.d(e,{M:function(){return v}});var r=n(68719),i=n(19776),o=n(68859),a=n(62874),s=n(87520);function u(){var t=(0,i.useRef)(!1);return(0,s.L)(function(){return t.current=!0,function(){t.current=!1}},[]),t}var c=n(75466),l=n(78380),f=n(57472),d=function(t){var e=t.children,n=t.initial,o=t.isPresent,a=t.onExitComplete,s=t.custom,u=t.presenceAffectsLayout,d=(0,l.h)(h),p=(0,f.M)(),g=(0,i.useMemo)(function(){return{id:p,initial:n,isPresent:o,custom:s,onExitComplete:function(t){var e,n;d.set(t,!0);try{for(var i=(0,r.__values)(d.values()),o=i.next();!o.done;o=i.next())if(!o.value)return}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}null==a||a()},register:function(t){return d.set(t,!1),function(){return d.delete(t)}}}},u?void 0:[o]);return(0,i.useMemo)(function(){d.forEach(function(t,e){return d.set(e,!1)})},[o]),i.useEffect(function(){o||d.size||null==a||a()},[o]),i.createElement(c.O.Provider,{value:g},e)};function h(){return new Map}var p=n(63537),g=n(65295),m=function(t){return t.key||""},v=function(t){var e,n,c,l,f,h,v=t.children,y=t.custom,b=t.initial,w=void 0===b||b,A=t.onExitComplete,E=t.exitBeforeEnter,C=t.presenceAffectsLayout,x=void 0===C||C,P=(0,r.__read)((e=u(),c=(n=(0,r.__read)((0,i.useState)(0),2))[0],l=n[1],f=(0,i.useCallback)(function(){e.current&&l(c+1)},[c]),[(0,i.useCallback)(function(){return a.ZP.postRender(f)},[f]),c]),1)[0],S=(0,i.useContext)(p.p).forceRender;S&&(P=S);var I=u(),O=(h=[],i.Children.forEach(v,function(t){(0,i.isValidElement)(t)&&h.push(t)}),h),M=O,R=new Set,T=(0,i.useRef)(M),B=(0,i.useRef)(new Map).current,k=(0,i.useRef)(!0);if((0,s.L)(function(){k.current=!1,function(t,e){t.forEach(function(t){var n=m(t);e.set(n,t)})}(O,B),T.current=M}),(0,g.z)(function(){k.current=!0,B.clear(),R.clear()}),k.current)return i.createElement(i.Fragment,null,M.map(function(t){return i.createElement(d,{key:m(t),isPresent:!0,initial:!!w&&void 0,presenceAffectsLayout:x},t)}));M=(0,r.__spreadArray)([],(0,r.__read)(M),!1);for(var N=T.current.map(m),D=O.map(m),j=N.length,U=0;U<j;U++){var L=N[U];-1===D.indexOf(L)&&R.add(L)}return E&&R.size&&(M=[]),R.forEach(function(t){if(-1===D.indexOf(t)){var e=B.get(t);if(e){var n=N.indexOf(t);M.splice(n,0,i.createElement(d,{key:m(e),isPresent:!1,onExitComplete:function(){B.delete(t),R.delete(t);var e=T.current.findIndex(function(e){return e.key===t});if(T.current.splice(e,1),!R.size){if(T.current=O,!1===I.current)return;P(),A&&A()}},custom:y,presenceAffectsLayout:x},e))}}}),M=M.map(function(t){var e=t.key;return R.has(e)?t:i.createElement(d,{key:m(t),isPresent:!0,presenceAffectsLayout:x},t)}),"production"!==o.O&&E&&M.length>1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),i.createElement(i.Fragment,null,R.size?M:M.map(function(t){return(0,i.cloneElement)(t)}))}},58862:function(t,e,n){"use strict";n.d(e,{A:function(){return u}});var r=n(68719),i=n(19776),o=n(77524),a=n(15417),s=n(78380);function u(t){var e=t.children,n=t.isValidProp,u=(0,r.__rest)(t,["children","isValidProp"]);n&&(0,a.K)(n),(u=(0,r.__assign)((0,r.__assign)({},(0,i.useContext)(o._)),u)).isStatic=(0,s.h)(function(){return u.isStatic});var c=(0,i.useMemo)(function(){return u},[JSON.stringify(u.transition),u.transformPagePoint,u.reducedMotion]);return i.createElement(o._.Provider,{value:c},e)}},63537:function(t,e,n){"use strict";n.d(e,{p:function(){return r}});var r=(0,n(19776).createContext)({})},77524:function(t,e,n){"use strict";n.d(e,{_:function(){return r}});var r=(0,n(19776).createContext)({transformPagePoint:function(t){return t},isStatic:!1,reducedMotion:"never"})},75466:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var r=(0,n(19776).createContext)(null)},74583:function(t,e,n){"use strict";n.d(e,{E:function(){return iV}});var r,i,o,a,s=n(68719),u=n(19776),c=n(68859),l=function(t){return{isEnabled:function(e){return t.some(function(t){return!!e[t]})}}},f={measureLayout:l(["layout","layoutId","drag"]),animation:l(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:l(["exit"]),drag:l(["drag","dragControls"]),focus:l(["whileFocus"]),hover:l(["whileHover","onHoverStart","onHoverEnd"]),tap:l(["whileTap","onTap","onTapStart","onTapCancel"]),pan:l(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:l(["whileInView","onViewportEnter","onViewportLeave"])},d=n(77001),h=(0,u.createContext)({strict:!1}),p=Object.keys(f),g=p.length,m=n(77524),v=(0,u.createContext)({}),y=n(75466),b=n(87520),w=n(10634),A={current:null},E=!1;function C(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function x(t){return Array.isArray(t)}function P(t){return"string"==typeof t||x(t)}function S(t,e,n,r,i){var o;return void 0===r&&(r={}),void 0===i&&(i={}
38),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,i)),"string"==typeof e&&(e=null===(o=t.variants)||void 0===o?void 0:o[e]),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,i)),e}function I(t,e,n){var r,i,o=t.getProps();return S(o,e,null!=n?n:o.custom,(r={},t.forEachValue(function(t,e){return r[e]=t.get()}),r),(i={},t.forEachValue(function(t,e){return i[e]=t.getVelocity()}),i))}function O(t){var e;return"function"==typeof(null===(e=t.animate)||void 0===e?void 0:e.start)||P(t.initial)||P(t.animate)||P(t.whileHover)||P(t.whileDrag)||P(t.whileTap)||P(t.whileFocus)||P(t.exit)}function M(t){return!!(O(t)||t.variants)}function R(t){return Array.isArray(t)?t.join(" "):t}var T=n(78380),B={hasAnimatedSinceResize:!0,hasEverUpdated:!1},k=1,N=n(63537),D=(0,u.createContext)({}),j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,s.__extends)(e,t),e.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},e.prototype.componentDidUpdate=function(){},e.prototype.updateProps=function(){var t=this.props,e=t.visualElement,n=t.props;e&&e.setProps(n)},e.prototype.render=function(){return this.props.children},e}(u.Component),U=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function L(t){if("string"!=typeof t||t.includes("-"));else if(U.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}var F={},_=["","X","Y","Z"],V=["transformPerspective","x","y","z"];function G(t,e){return V.indexOf(t)-V.indexOf(e)}["translate","scale","rotate","skew"].forEach(function(t){return _.forEach(function(e){return V.push(t+e)})});var Q=new Set(V);function z(t){return Q.has(t)}var H=new Set(["originX","originY","originZ"]);function q(t,e){var n=e.layout,r=e.layoutId;return z(t)||H.has(t)||(n||void 0!==r)&&(!!F[t]||"opacity"===t)}var K=function(t){return!!(null!==t&&"object"==typeof t&&t.getVelocity)},W={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Y(t){return t.startsWith("--")}let J=(t,e)=>n=>Math.max(Math.min(n,e),t),Z=t=>t%1?Number(t.toFixed(5)):t,X=/(-)?([\d]*\.?[\d])+/g,$=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,tt=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function te(t){return"string"==typeof t}let tn=t=>({test:e=>te(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tr=tn("deg"),ti=tn("%"),to=tn("px"),ta=tn("vh"),ts=tn("vw"),tu=Object.assign(Object.assign({},ti),{parse:t=>ti.parse(t)/100,transform:t=>ti.transform(100*t)}),tc={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},tl=Object.assign(Object.assign({},tc),{transform:J(0,1)}),tf=Object.assign(Object.assign({},tc),{default:1});var td=(0,s.__assign)((0,s.__assign)({},tc),{transform:Math.round}),th={borderWidth:to,borderTopWidth:to,borderRightWidth:to,borderBottomWidth:to,borderLeftWidth:to,borderRadius:to,radius:to,borderTopLeftRadius:to,borderTopRightRadius:to,borderBottomRightRadius:to,borderBottomLeftRadius:to,width:to,maxWidth:to,height:to,maxHeight:to,size:to,top:to,right:to,bottom:to,left:to,padding:to,paddingTop:to,paddingRight:to,paddingBottom:to,paddingLeft:to,margin:to,marginTop:to,marginRight:to,marginBottom:to,marginLeft:to,rotate:tr,rotateX:tr,rotateY:tr,rotateZ:tr,scale:tf,scaleX:tf,scaleY:tf,scaleZ:tf,skew:tr,skewX:tr,skewY:tr,distance:to,translateX:to,translateY:to,translateZ:to,x:to,y:to,z:to,perspective:to,transformPerspective:to,opacity:tl,originX:tu,originY:tu,originZ:to,zIndex:td,fillOpacity:tl,strokeOpacity:tl,numOctaves:td};function tp(t,e,n,r){var i,o,a,s,u=t.style,c=t.vars,l=t.transform,f=t.transformKeys,d=t.transformOrigin;f.length=0;var h=!1,p=!1,g=!0;for(var m in e){var v=e[m];if(Y(m)){c[m]=v;continue}var y=th[m],b=y&&"number"==typeof v?y.transform(v):v;if(z(m)){if(h=!0,l[m]=b,f.push(m),!g)continue;v!==(null!==(s=y.default)&&void 0!==s?s:0)&&(g=!1)}else H.has(m)?(d[m]=b,p=!0):u[m]=b}h?u.transform=function(t,e,n,r){var i=t.transform,o=t.transformKeys,a=e.enableHardwareAcceleration,s=e.allowTransformNone,u="";o.sort(G);for(var c=!1,l=o.length,f=0;f<l;f++){var d=o[f];u+="".concat(W[d]||d,"(").concat(i[d],") "),"z"===d&&(c=!0)}return!c&&(void 0===a||a)?u+="translateZ(0)":u=u.trim(),r?u=r(i,n?"":u):(void 0===s||s)&&n&&(u="none"),u}(t,n,g,r):r?u.transform=r({},""):!e.transform&&u.transform&&(u.transform="none"),p&&(u.transformOrigin=(i=d.originX,o=d.originY,a=d.originZ,"".concat(void 0===i?"50%":i," ").concat(void 0===o?"50%":o," ").concat(void 0===a?0:a)))}var tg=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function tm(t,e,n){for(var r in e)K(e[r])||q(r,n)||(t[r]=e[r])}var tv=n(15417);function ty(t,e,n){return"string"==typeof t?t:to.transform(e+n*t)}var tb={offset:"stroke-dashoffset",array:"stroke-dasharray"},tw={offset:"strokeDashoffset",array:"strokeDasharray"};function tA(t,e,n,r){var i,o,a,u,c,l,f,d,h=e.attrX,p=e.attrY,g=e.originX,m=e.originY,v=e.pathLength,y=e.pathSpacing,b
38=e.pathOffset;tp(t,(0,s.__rest)(e,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r),t.attrs=t.style,t.style={};var w=t.attrs,A=t.style,E=t.dimensions;w.transform&&(E&&(A.transform=w.transform),delete w.transform),E&&(void 0!==g||void 0!==m||A.transform)&&(A.transformOrigin=(i=ty(void 0!==g?g:.5,E.x,E.width),o=ty(void 0!==m?m:.5,E.y,E.height),"".concat(i," ").concat(o))),void 0!==h&&(w.x=h),void 0!==p&&(w.y=p),void 0!==v&&(c=!1,void 0===(a=void 0===y?1:y)&&(a=1),void 0===(u=void 0===b?0:b)&&(u=0),void 0===c&&(c=!0),w.pathLength=1,w[(l=c?tb:tw).offset]=to.transform(-u),f=to.transform(v),d=to.transform(a),w[l.array]="".concat(f," ").concat(d))}var tE=function(){return(0,s.__assign)((0,s.__assign)({},tg()),{attrs:{}})},tC=/([a-z])([A-Z])/g,tx=function(t){return t.replace(tC,"$1-$2").toLowerCase()};function tP(t,e,n,r){var i=e.style,o=e.vars;for(var a in Object.assign(t.style,i,r&&r.getProjectionStyles(n)),o)t.style.setProperty(a,o[a])}var tS=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function tI(t,e,n,r){for(var i in tP(t,e,void 0,r),e.attrs)t.setAttribute(tS.has(i)?i:tx(i),e.attrs[i])}function tO(t){var e=t.style,n={};for(var r in e)(K(e[r])||q(r,t))&&(n[r]=e[r]);return n}function tM(t){var e=tO(t);for(var n in t)K(t[n])&&(e["x"===n||"y"===n?"attr"+n.toUpperCase():n]=t[n]);return e}function tR(t){return"object"==typeof t&&"function"==typeof t.start}var tT=function(t){return Array.isArray(t)},tB=function(t){return tT(t)?t[t.length-1]||0:t};function tk(t){var e=K(t)?t.get():t;return e&&"object"==typeof e&&e.mix&&e.toValue?e.toValue():e}function tN(t,e,n,r){var i=t.scrapeMotionValuesFromProps,o=t.createRenderState,a=t.onMount,u={latestValues:function(t,e,n,r){var i={},o=(null==n?void 0:n.initial)===!1,a=r(t);for(var u in a)i[u]=tk(a[u]);var c=t.initial,l=t.animate,f=O(t),d=M(t);e&&d&&!f&&!1!==t.inherit&&(null!=c||(c=e.initial),null!=l||(l=e.animate));var h=o||!1===c,p=h?l:c;return p&&"boolean"!=typeof p&&!tR(p)&&(Array.isArray(p)?p:[p]).forEach(function(e){var n=S(t,e);if(n){var r=n.transitionEnd;n.transition;var o=(0,s.__rest)(n,["transitionEnd","transition"]);for(var a in o){var u=o[a];if(Array.isArray(u)){var c=h?u.length-1:0;u=u[c]}null!==u&&(i[a]=u)}for(var a in r)i[a]=r[a]}}),i}(e,n,r,i),renderState:o()};return a&&(u.mount=function(t){return a(e,t,u)}),u}var tD=function(t){return function(e,n){var r=(0,u.useContext)(v),i=(0,u.useContext)(y.O);return n?tN(t,e,r,i):(0,T.h)(function(){return tN(t,e,r,i)})}},tj={useVisualState:tD({scrapeMotionValuesFromProps:tM,createRenderState:tE,onMount:function(t,e,n){var r=n.renderState,i=n.latestValues;try{r.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){r.dimensions={x:0,y:0,width:0,height:0}}tA(r,i,{enableHardwareAcceleration:!1},t.transformTemplate),tI(e,r)}})},tU={useVisualState:tD({scrapeMotionValuesFromProps:tO,createRenderState:tg})};function tL(t,e,n,r){return void 0===r&&(r={passive:!0}),t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n)}}function tF(t,e,n,r){(0,u.useEffect)(function(){var i=t.current;if(n&&i)return tL(i,e,n,r)},[t,e,n,r])}function t_(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}(r=o||(o={})).Animate="animate",r.Hover="whileHover",r.Tap="whileTap",r.Drag="whileDrag",r.Focus="whileFocus",r.InView="whileInView",r.Exit="exit";var tV={pageX:0,pageY:0};function tG(t,e){var n,r,i;return void 0===e&&(e="page"),{point:t.touches?(void 0===(n=e)&&(n="page"),{x:(r=t.touches[0]||t.changedTouches[0]||tV)[n+"X"],y:r[n+"Y"]}):(void 0===(i=e)&&(i="page"),{x:t[i+"X"],y:t[i+"Y"]})}}var tQ=function(t,e){void 0===e&&(e=!1);var n=function(e){return t(e,tG(e))};return e?function(t){var e=t instanceof MouseEvent;(!e||e&&0===t.button)&&n(t)}:n}
38,tz={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},tH={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function tq(t){if(w.j&&null===window.onpointerdown);else if(w.j&&null===window.ontouchstart)return tH[t];else if(w.j&&null===window.onmousedown)return tz[t];return t}function tK(t,e,n,r){return tL(t,tq(e),tQ(n,"pointerdown"===e),r)}function tW(t,e,n,r){return tF(t,tq(e),n&&tQ(n,"pointerdown"===e),r)}function tY(t){var e=null;return function(){return null===e&&(e=t,function(){e=null})}}var tJ=tY("dragHorizontal"),tZ=tY("dragVertical");function tX(t){var e=!1;if("y"===t)e=tZ();else if("x"===t)e=tJ();else{var n=tJ(),r=tZ();n&&r?e=function(){n(),r()}:(n&&n(),r&&r())}return e}function t$(){var t=tX(!0);return!t||(t(),!1)}function t0(t,e,n){return function(r,i){var a;!t_(r)||t$()||(null===(a=t.animationState)||void 0===a||a.setActive(o.Hover,e),null==n||n(r,i))}}var t1=function(t,e){return!!e&&(t===e||t1(t,e.parentElement))},t2=n(65295);let t3=(t,e)=>n=>e(t(n)),t4=(...t)=>t.reduce(t3);var t5=new Set,t6=new WeakMap,t8=new WeakMap,t7=function(t){var e;null===(e=t6.get(t.target))||void 0===e||e(t)},t9=function(t){t.forEach(t7)},et={some:0,all:1},ee=function(t){return function(e){return t(e),null}},en={inView:ee(function(t){var e=t.visualElement,n=t.whileInView,r=t.onViewportEnter,i=t.onViewportLeave,a=t.viewport,l=void 0===a?{}:a,f=(0,u.useRef)({hasEnteredView:!1,isInView:!1}),d=!!(n||r||i);l.once&&f.current.hasEnteredView&&(d=!1),("undefined"==typeof IntersectionObserver?function(t,e,n,r){var i=r.fallback,a=void 0===i||i;(0,u.useEffect)(function(){if(t&&a){if("production"!==c.O){var r,i;r="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",t5.has(r)||(console.warn(r),i&&console.warn(i),t5.add(r))}requestAnimationFrame(function(){e.hasEnteredView=!0;var t,r=n.getProps().onViewportEnter;null==r||r(null),null===(t=n.animationState)||void 0===t||t.setActive(o.InView,!0)})}},[t])}:function(t,e,n,r){var i=r.root,a=r.margin,c=r.amount,l=void 0===c?"some":c,f=r.once;(0,u.useEffect)(function(){if(t){var r,u,c,d,h,p,g,m={root:null==i?void 0:i.current,rootMargin:a,threshold:"number"==typeof l?l:et[l]};return r=n.getInstance(),u=m.root,c=(0,s.__rest)(m,["root"]),d=u||document,t8.has(d)||t8.set(d,{}),(h=t8.get(d))[p=JSON.stringify(c)]||(h[p]=new IntersectionObserver(t9,(0,s.__assign)({root:u},c))),g=h[p],t6.set(r,function(t){var r,i=t.isIntersecting;if(e.isInView!==i){if(e.isInView=i,f&&!i&&e.hasEnteredView)return;i&&(e.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(o.InView,i);var a=n.getProps(),s=i?a.onViewportEnter:a.onViewportLeave;null==s||s(t)}}),g.observe(r),function(){t6.delete(r),g.unobserve(r)}}},[t,i,a,l])})(d,f.current,e,l)}),tap:ee(function(t){var e=t.onTap,n=t.onTapStart,r=t.onTapCancel,i=t.whileTap,a=t.visualElement,s=e||n||r||i,c=(0,u.useRef)(!1),l=(0,u.useRef)(null),f={passive:!(n||e||r||m)};function d(){var t;null===(t=l.current)||void 0===t||t.call(l),l.current=null}function h(){var t;return d(),c.current=!1,null===(t=a.animationState)||void 0===t||t.setActive(o.Tap,!1),!t$()}function p(t,n){h()&&(t1(a.getInstance(),t.target)?null==e||e(t,n):null==r||r(t,n))}function g(t,e){h()&&(null==r||r(t,e))}function m(t,e){var r;d(),c.current||(c.current=!0,l.current=t4(tK(window,"pointerup",p,f),tK(window,"pointercancel",g,f)),null===(r=a.animationState)||void 0===r||r.setActive(o.Tap,!0),null==n||n(t,e))}tW(a,"pointerdown",s?m:void 0,f),(0,t2.z)(d)}),focus:ee(function(t){var e=t.whileFocus,n=t.visualElement;tF(n,"focus",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(o.Focus,!0)}:void 0),tF(n,"blur",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(o.Focus,!1)}:void 0)}),hover:ee(function(t){var e=t.onHoverStart,n=t.onHoverEnd,r=t.whileHover,i=t.visualElement;tW(i,"pointerenter",e||r?t0(i,!0,e):void 0,{passive:!e}),tW(i,"pointerleave",n||r?t0(i,!1,n):void 0,{passive:!n})})},er=n(57472);function ei(){var t=(0,u.useContext)(y.O);if(null===t)return[!0,null];var e=t.isPresent,n=t.onExitComplete,r=t.register,i=(0,er.M)();return(0,u.useEffect)(function(){return r(i)},[]),!e&&n?[!1,function(){return null==n?void 0:n(i)}]:[!0]}function eo(t,e){if(!Array.isArray(e))return!1;var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}let ea=(t,e,n)=>Math.min(Math.max(n,t),e);function es(t,e){return t*Math.sqrt(1-e*e)}let eu=["duration","bounce"],ec=["stiffness","damping","mass"];function el(t,e){return e.some(e=>void 0!==t[e])}function ef(t){var{from:e=0,to:n=1,restSpeed:r=2,restDelta:i}=t,o=(0,s.__rest)(t,["from","to","restSpeed","restDelta"]);let a={done:!1,value:e},{stiffness:u,damping:c,mass:l,velocity:f,duration:h,isResolvedFromDuration:p}=function(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!el(t,ec)&&el(t,eu)){let n=function({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let i,o;(0,d.K)(t<=1e4,"Spring duration must be 10 seconds or less");let a=1-e;a=ea(.05,1,a),t=ea(.01,10,t/1e3),a<1?(i=e=>{let r=e*a,i=r*t;return .001-(r-n)/es(e,a)*Math.exp(-i)},o=e=>{let r=e*a*t,o=Math.pow(a,2)*Math.pow(e,2)*t,s=es(Math.pow(e,2),a);return(r*n+n-o)*Math.exp(-r)*(-i(e)+.001>0?-1:1)/s}):(i=e=>-.001+Math.exp(-e*t)*((e-n)*t+1),o=e=>t*t*(n-e)*Math.exp(-e*t));let s=function(t,e,n){let r=n;for(let n=1;n<12;n++)r-=t(r)/e(r);return r}(i,o,5/t);if(t*=1e3,isNaN(s))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(s,2)*r;
38return{stiffness:e,damping:2*a*Math.sqrt(r*e),duration:t}}}(t);(e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return e}(o),g=ed,m=ed;function v(){let t=f?-(f/1e3):0,r=n-e,o=c/(2*Math.sqrt(u*l)),a=Math.sqrt(u/l)/1e3;if(void 0===i&&(i=Math.min(Math.abs(n-e)/100,.4)),o<1){let e=es(a,o);g=i=>n-Math.exp(-o*a*i)*((t+o*a*r)/e*Math.sin(e*i)+r*Math.cos(e*i)),m=n=>{let i=Math.exp(-o*a*n);return o*a*i*(Math.sin(e*n)*(t+o*a*r)/e+r*Math.cos(e*n))-i*(Math.cos(e*n)*(t+o*a*r)-e*r*Math.sin(e*n))}}else if(1===o)g=e=>n-Math.exp(-a*e)*(r+(t+a*r)*e);else{let e=a*Math.sqrt(o*o-1);g=i=>{let s=Math.exp(-o*a*i),u=Math.min(e*i,300);return n-s*((t+o*a*r)*Math.sinh(u)+e*r*Math.cosh(u))/e}}}return v(),{next:t=>{let e=g(t);if(p)a.done=t>=h;else{let o=1e3*m(t),s=Math.abs(n-e)<=i;a.done=Math.abs(o)<=r&&s}return a.value=a.done?n:e,a},flipTarget:()=>{f=-f,[e,n]=[n,e],v()}}}ef.needsInterpolation=(t,e)=>"string"==typeof t||"string"==typeof e;let ed=t=>0,eh=(t,e,n)=>{let r=e-t;return 0===r?1:(n-t)/r},ep=(t,e,n)=>-n*t+n*e+t,eg=(t,e)=>n=>!!(te(n)&&tt.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),em=(t,e,n)=>r=>{if(!te(r))return r;let[i,o,a,s]=r.match(X);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},ev=J(0,255),ey=Object.assign(Object.assign({},tc),{transform:t=>Math.round(ev(t))}),eb={test:eg("rgb","red"),parse:em("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+ey.transform(t)+", "+ey.transform(e)+", "+ey.transform(n)+", "+Z(tl.transform(r))+")"},ew={test:eg("#"),parse:function(t){let e="",n="",r="",i="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),r=t.substr(5,2),i=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),r=t.substr(3,1),i=t.substr(4,1),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:eb.transform},eA={test:eg("hsl","hue"),parse:em("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+ti.transform(Z(e))+", "+ti.transform(Z(n))+", "+Z(tl.transform(r))+")"};function eE(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function eC({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let i=0,o=0,a=0;if(e/=100){let r=n<.5?n*(1+e):n+e-n*e,s=2*n-r;i=eE(s,r,t+1/3),o=eE(s,r,t),a=eE(s,r,t-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}let ex=(t,e,n)=>{let r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},eP=[ew,eb,eA],eS=t=>eP.find(e=>e.test(t)),eI=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,eO=(t,e)=>{let n=eS(t),r=eS(e);(0,d.k)(!!n,eI(t)),(0,d.k)(!!r,eI(e));let i=n.parse(t),o=r.parse(e);n===eA&&(i=eC(i),n=eb),r===eA&&(o=eC(o),r=eb);let a=Object.assign({},i);return t=>{for(let e in a)"alpha"!==e&&(a[e]=ex(i[e],o[e],t));return a.alpha=ep(i.alpha,o.alpha,t),n.transform(a)}},eM={test:t=>eb.test(t)||ew.test(t)||eA.test(t),parse:t=>eb.test(t)?eb.parse(t):eA.test(t)?eA.parse(t):ew.parse(t),transform:t=>te(t)?t:t.hasOwnProperty("red")?eb.transform(t):eA.transform(t)},eR="${c}",eT="${n}";function eB(t){"number"==typeof t&&(t=`${t}`);let e=[],n=0,r=t.match($);r&&(n=r.length,t=t.replace($,eR),e.push(...r.map(eM.parse)));let i=t.match(X);return i&&(t=t.replace(X,eT),e.push(...i.map(tc.parse))),{values:e,numColors:n,tokenised:t}}function ek(t){return eB(t).values}function eN(t){let{values:e,numColors:n,tokenised:r}=eB(t),i=e.length;return t=>{let e=r;for(let r=0;r<i;r++)e=e.replace(r<n?eR:eT,r<n?eM.transform(t[r]):Z(t[r]));return e}}let eD=t=>"number"==typeof t?0:t,ej={test:function(t){var e,n,r,i;return isNaN(t)&&te(t)&&(null!==(n=null===(e=t.match(X))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(i=null===(r=t.match($))||void 0===r?void 0:r.length)&&void 0!==i?i:0)>0},parse:ek,createTransformer:eN,getAnimatableNone:function(t){let e=ek(t);return eN(t)(e.map(eD))}},eU=t=>"number"==typeof t;function eL(t,e){return eU(t)?n=>ep(t,e,n):eM.test(t)?eO(t,e):eG(t,e)}let eF=(t,e)=>{let n=[...t],r=n.length,i=t.map((t,n)=>eL(t,e[n]));return t=>{for(let e=0;e<r;e++)n[e]=i[e](t);return n}},e_=(t,e)=>{let n=Object.assign(Object.assign({},t),e),r={};for(let i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=eL(t[i],e[i]));return t=>{for(let e in r)n[e]=r[e](t);return n}};function eV(t){let e=ej.parse(t),n=e.length,r=0,i=0,o=0;for(let t=0;t<n;t++)r||"number"==typeof e[t]?r++:void 0!==e[t].hue?o++:i++;return{parsed:e,numNumbers:r,numRGB:i,numHSL:o}}let eG=(t,e)=>{let n=ej.createTransformer(e),r=eV(t),i=eV(e);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?t4(eF(r.parsed,i.parsed),n):((0,d.K)(!0,`Complex values '${t}' and '${e}
38' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),n=>`${n>0?e:t}`)},eQ=(t,e)=>n=>ep(t,e,n);function ez(t,e,{clamp:n=!0,ease:r,mixer:i}={}){let o=t.length;(0,d.k)(o===e.length,"Both input and output ranges must be the same length"),(0,d.k)(!r||!Array.isArray(r)||r.length===o-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[o-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());let a=function(t,e,n){var r;let i=[],o=n||("number"==typeof(r=t[0])?eQ:"string"==typeof r?eM.test(r)?eO:eG:Array.isArray(r)?eF:"object"==typeof r?e_:void 0),a=t.length-1;for(let n=0;n<a;n++){let r=o(t[n],t[n+1]);e&&(r=t4(Array.isArray(e)?e[n]:e,r)),i.push(r)}return i}(e,r,i),s=2===o?function([t,e],[n]){return r=>n(eh(t,e,r))}(t,a):function(t,e){let n=t.length,r=n-1;return i=>{let o=0,a=!1;if(i<=t[0]?a=!0:i>=t[r]&&(o=r-1,a=!0),!a){let e=1;for(;e<n&&!(t[e]>i)&&e!==r;e++);o=e-1}let s=eh(t[o],t[o+1],i);return e[o](s)}}(t,a);return n?e=>s(ea(t[0],t[o-1],e)):s}let eH=t=>e=>1-t(1-e),eq=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,eK=t=>e=>e*e*((t+1)*e-t),eW=4/11,eY=8/11,eJ=t=>t,eZ=t=>Math.pow(t,2),eX=eH(eZ),e$=eq(eZ),e0=t=>1-Math.sin(Math.acos(t)),e1=eH(e0),e2=eq(e1),e3=eK(1.525),e4=eH(e3),e5=eq(e3),e6=(t=>{let e=eK(1.525);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(0),e8=4356/361,e7=35442/1805,e9=16061/1805,nt=t=>{if(1===t||0===t)return t;let e=t*t;return t<eW?7.5625*e:t<eY?9.075*e-9.9*t+3.4:t<.9?e8*e-e7*t+e9:10.8*t*t-20.52*t+10.72},ne=eH(nt);function nn({from:t=0,to:e=1,ease:n,offset:r,duration:i=300}){let o={done:!1,value:t},a=Array.isArray(e)?e:[t,e],s=(r&&r.length===a.length?r:function(t){let e=t.length;return t.map((t,n)=>0!==n?n/(e-1):0)}(a)).map(t=>t*i);function u(){return ez(s,a,{ease:Array.isArray(n)?n:a.map(()=>n||e$).splice(0,a.length-1)})}let c=u();return{next:t=>(o.value=c(t),o.done=t>=i,o),flipTarget:()=>{a.reverse(),c=u()}}}let nr={keyframes:nn,spring:ef,decay:function({velocity:t=0,from:e=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){let a={done:!1,value:e},s=n*t,u=e+s,c=void 0===o?u:o(u);return c!==u&&(s=c-e),{next:t=>{let e=-s*Math.exp(-t/r);return a.done=!(e>i||e<-i),a.value=a.done?c:c+e,a},flipTarget:()=>{}}}};var ni=n(62874);function no(t,e,n=0){return t-e-n}let na=t=>{let e=({delta:e})=>t(e);return{start:()=>ni.ZP.update(e,!0),stop:()=>ni.qY.update(e)}};function ns(t){let e,n,r;var i,{from:o,autoplay:a=!0,driver:u=na,elapsed:c=0,repeat:l=0,repeatType:f="loop",repeatDelay:d=0,onPlay:h,onStop:p,onComplete:g,onRepeat:m,onUpdate:v}=t,y=(0,s.__rest)(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:b}=y,w=0,A=y.duration,E=!1,C=!0,x=function(t){if(Array.isArray(t.to))return nn;if(nr[t.type])return nr[t.type];let e=new Set(Object.keys(t));if(e.has("ease")||e.has("duration")&&!e.has("dampingRatio"));else if(e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta"))return ef;return nn}(y);(null===(i=x.needsInterpolation)||void 0===i?void 0:i.call(x,o,b))&&(r=ez([0,100],[o,b],{clamp:!1}),o=0,b=100);let P=x(Object.assign(Object.assign({},y),{from:o,to:b}));return a&&(null==h||h(),(e=u(function(t){if(C||(t=-t),c+=t,!E){let t=P.next(Math.max(0,c));n=t.value,r&&(n=r(n)),E=C?t.done:c<=0}if(null==v||v(n),E){if(0===w&&(null!=A||(A=c)),w<l){var i,o;i=c,o=A,(C?i>=o+d:i<=-d)&&(w++,"reverse"===f?c=function(t,e,n=0,r=!0){return r?no(e+-t,e,n):e-(t-e)+n}(c,A,d,C=w%2==0):(c=no(c,A,d),"mirror"===f&&P.flipTarget()),E=!1,m&&m())}else e.stop(),g&&g()}})).start()),{stop:()=>{null==p||p(),e.stop()}}}var nu=function(t){return 1e3*t};let nc=(t,e)=>1-3*e+3*t,nl=(t,e)=>3*e-6*t,nf=t=>3*t,nd=(t,e,n)=>((nc(e,n)*t+nl(e,n))*t+nf(e))*t,nh=(t,e,n)=>3*nc(e,n)*t*t+2*nl(e,n)*t+nf(e);var np={linear:eJ,easeIn:eZ,easeInOut:e$,easeOut:eX,circIn:e0,circInOut:e2,circOut:e1,backIn:e3,backInOut:e5,backOut:e4,anticipate:e6,bounceIn:ne,bounceInOut:t=>t<.5?.5*(1-nt(1-2*t)):.5*nt(2*t-1)+.5,bounceOut:nt},ng=function(t){if(Array.isArray(t)){(0,d.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");var e=(0,s.__read)(t,4);return function(t,e,n,r){if(t===e&&n===r)return eJ;let i=new Float32Array(11);for(let e=0;e<11;++e)i[e]=nd(.1*e,t,n);return o=>0===o||1===o?o:nd(function(e){let r=0,o=1;for(;10!==o&&i[o]<=e;++o)r+=.1;let a=r+(e-i[--o])/(i[o+1]-i[o])*.1,s=nh(a,t,n);return s>=.001?function(t,e,n,r){for(let i=0;i<8;++i){let i=nh(e,n,r);if(0===i)break;let o=nd(e,n,r)-t;e-=o/i}return e}(e,a,t,n):0===s?a:function(t,e,n,r,i){let o,a;let s=0;do(o=nd(a=e+(n-e)/2,r,i)-t)>0?n=a:e=a;while(Math.abs(o)>1e-7&&++s<10);return a}(e,r,r+.1,t,n)}(o),e,r)}(e[0],e[1],e[2],e[3])}return"string"==typeof t?((0,d.k)(void 0!==np[t],"Invalid easing type '".concat(t,"'")),np[t]):t},nm=function(t,e){return"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&ej.test(e)&&!e.startsWith("url("))},nv=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},ny=function(t){return{type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}},nb=function(){return{type:"keyframes",ease:"linear",duration:.3}},nw=function(t){return{type:"keyframes",duration:.8,values:t}},nA={x:nv,y:nv,z:nv,rotate:nv,rotateX:nv,rotateY:nv,rotateZ:nv,scaleX:ny,scaleY:ny,scale:ny,opacity:nb,backgroundColor:nb,color:nb,default:ny},nE=function(t,e){var n;return n=tT(e)?nw:nA[t]||nA.default,(0,s.__assign)({to:e},n(e))};let nC=new Set(["brightness","contrast","saturate","opacity"]);function nx(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=n.match(X)||[];
38if(!r)return t;let i=n.replace(r,""),o=nC.has(e)?1:0;return r!==n&&(o*=100),e+"("+o+i+")"}let nP=/([a-z-]*)\(.*?\)/g,nS=Object.assign(Object.assign({},ej),{getAnimatableNone:t=>{let e=t.match(nP);return e?e.map(nx).join(" "):t}});var nI=(0,s.__assign)((0,s.__assign)({},th),{color:eM,backgroundColor:eM,outlineColor:eM,fill:eM,stroke:eM,borderColor:eM,borderTopColor:eM,borderRightColor:eM,borderBottomColor:eM,borderLeftColor:eM,filter:nS,WebkitFilter:nS}),nO=function(t){return nI[t]};function nM(t,e){var n,r=nO(t);return r!==nS&&(r=ej),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,e)}var nR={current:!1},nT=!1;function nB(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function nk(t){return"number"==typeof t?0:nM("",t)}function nN(t,e){return t[e]||t.default||t}function nD(t,e,n,r){return void 0===r&&(r={}),nR.current&&(r={type:!1}),e.start(function(i){var o,a,u,c,l,f,h,p,g,m,v,y=(c=n,h=null!==(l=(f=nN(r,t)).from)&&void 0!==l?l:e.get(),p=nm(t,c),"none"===h&&p&&"string"==typeof c?h=nM(t,c):nB(h)&&"string"==typeof c?h=nk(c):!Array.isArray(c)&&nB(c)&&"string"==typeof h&&(c=nk(h)),g=nm(t,h),(0,d.K)(g===p,"You are trying to animate ".concat(t,' from "').concat(h,'" to "').concat(c,'". ').concat(h," is not an animatable value - to enable this animation set ").concat(h," to a value animatable to ").concat(c," via the `style` property.")),g&&p&&!1!==f.type?function(){var n,r,o,a,u,l,p,g,m,v,y,b,w,A={from:h,to:c,velocity:e.getVelocity(),onComplete:i,onUpdate:function(t){return e.set(t)}};return"inertia"===f.type||"decay"===f.type?function({from:t=0,velocity:e=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:u=1,modifyTarget:c,driver:l,onUpdate:f,onComplete:d,onStop:h}){let p;function g(t){return void 0!==n&&t<n||void 0!==r&&t>r}function m(t){return void 0===n?r:void 0===r?n:Math.abs(n-t)<Math.abs(r-t)?n:r}function v(t){null==p||p.stop(),p=ns(Object.assign(Object.assign({},t),{driver:l,onUpdate:e=>{var n;null==f||f(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:d,onStop:h}))}function y(t){v(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:u},t))}if(g(t))y({from:t,velocity:e,to:m(t)});else{let r,a,s=i*e+t;void 0!==c&&(s=c(s));let l=m(s),f=l===n?-1:1;v({type:"decay",from:t,velocity:e,timeConstant:o,power:i,restDelta:u,modifyTarget:c,onUpdate:g(s)?t=>{var n,i;r=a,a=t,n=t-r,e=(i=(0,ni.$B)().delta)?1e3/i*n:0,(1===f&&t>l||-1===f&&t<l)&&y({from:t,to:l,velocity:e})}:void 0})}return{stop:()=>null==p?void 0:p.stop()}}((0,s.__assign)((0,s.__assign)({},A),f)):ns((0,s.__assign)((0,s.__assign)({},(n=f,r=A,o=t,Array.isArray(r.to)&&(null!==(a=n.duration)&&void 0!==a||(n.duration=.8)),Array.isArray(r.to)&&null===r.to[0]&&(r.to=(0,s.__spreadArray)([],(0,s.__read)(r.to),!1),r.to[0]=r.from),(u=n).when,u.delay,u.delayChildren,u.staggerChildren,u.staggerDirection,u.repeat,u.repeatType,u.repeatDelay,u.from,Object.keys((0,s.__rest)(u,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"])).length||(n=(0,s.__assign)((0,s.__assign)({},n),nE(o,r.to))),(0,s.__assign)((0,s.__assign)({},r),(p=(l=n).ease,g=l.times,m=l.yoyo,v=l.flip,y=l.loop,b=(0,s.__rest)(l,["ease","times","yoyo","flip","loop"]),w=(0,s.__assign)({},b),g&&(w.offset=g),b.duration&&(w.duration=nu(b.duration)),b.repeatDelay&&(w.repeatDelay=nu(b.repeatDelay)),p&&(w.ease=Array.isArray(p)&&"number"!=typeof p[0]?p.map(ng):ng(p)),"tween"===b.type&&(w.type="keyframes"),(m||y||v)&&((0,d.K)(!nT,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),nT=!0,m?w.repeatType="reverse":y?w.repeatType="loop":v&&(w.repeatType="mirror"),w.repeat=y||m||v||b.repeat),"spring"!==b.type&&(w.type="keyframes"),w)))),{onUpdate:function(t){var e;A.onUpdate(t),null===(e=f.onUpdate)||void 0===e||e.call(f,t)},onComplete:function(){var t;A.onComplete(),null===(t=f.onComplete)||void 0===t||t.call(f)}}))}:function(){var t,n,r=tB(c);return e.set(r),i(),null===(t=null==f?void 0:f.onUpdate)||void 0===t||t.call(f,r),null===(n=null==f?void 0:f.onComplete)||void 0===n||n.call(f),{stop:function(){}}}),b=null!==(u=null!==(a=(nN(o=r,t)||{}).delay)&&void 0!==a?a:o.delay)&&void 0!==u?u:0,w=function(){return v=y()};return b?m=window.setTimeout(w,nu(b)):w(),function(){clearTimeout(m),null==v||v.stop()}})}function nj(t,e){-1===t.indexOf(e)&&t.push(e)}function nU(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var nL=function(){function t(){this.subscriptions=[]}return t.prototype.add=function(t){var e=this;return nj(this.subscriptions,t),function(){return nU(e.subscriptions,t)}},t.prototype.notify=function(t,e,n){var r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](t,e,n);else for(var i=0;i<r;i++){var o=this.subscriptions[i];o&&o(t,e,n)}}},t.prototype.getSize=function(){return this.subscriptions.length},t.prototype.clear=function(){this.subscriptions.length=0},t}(),nF=function(){function t(t){var e=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new nL,this.velocityUpdateSubscribers=new nL,this.renderSubscribers=new nL,this.canTrackVelocity=!1,this.updateAndNotify=function(t,n){void 0===n&&(n=!0),e.prev=e.current,e.current=t;var r=(0,ni.$B)(),i=r.delta,o=r.timestamp;e.lastUpdated!==o&&(e.timeDelta=i,e.lastUpdated=o,ni.ZP.postRender(e.scheduleVelocityCheck)),e.prev!==e.current&&e.updateSubscribers.notify(e.current),e.velocityUpdateSubscribers.getSize()&&e.velocityUpdateSubscribers.notify(e.getVelocity()),n&&e.render
38Subscribers.notify(e.current)},this.scheduleVelocityCheck=function(){return ni.ZP.postRender(e.velocityCheck)},this.velocityCheck=function(t){t.timestamp!==e.lastUpdated&&(e.prev=e.current,e.velocityUpdateSubscribers.notify(e.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=!isNaN(parseFloat(this.current))}return t.prototype.onChange=function(t){return this.updateSubscribers.add(t)},t.prototype.clearListeners=function(){this.updateSubscribers.clear()},t.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},t.prototype.attach=function(t){this.passiveEffect=t},t.prototype.set=function(t,e){void 0===e&&(e=!0),e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)},t.prototype.get=function(){return this.current},t.prototype.getPrevious=function(){return this.prev},t.prototype.getVelocity=function(){var t,e;return this.canTrackVelocity?(t=parseFloat(this.current)-parseFloat(this.prev),(e=this.timeDelta)?1e3/e*t:0):0},t.prototype.start=function(t){var e=this;return this.stop(),new Promise(function(n){e.hasAnimated=!0,e.stopAnimation=t(n)}).then(function(){return e.clearAnimation()})},t.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},t.prototype.isAnimating=function(){return!!this.stopAnimation},t.prototype.clearAnimation=function(){this.stopAnimation=null},t.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},t}();function n_(t){return new nF(t)}var nV=function(t){return function(e){return e.test(t)}},nG=[tc,to,ti,tr,ts,ta,{test:function(t){return"auto"===t},parse:function(t){return t}}],nQ=function(t){return nG.find(nV(t))},nz=(0,s.__spreadArray)((0,s.__spreadArray)([],(0,s.__read)(nG),!1),[eM,ej],!1);function nH(t,e,n){void 0===n&&(n={});var r,i=I(t,e,n.custom),o=(i||{}).transition,a=void 0===o?t.getDefaultTransition()||{}:o;n.transitionOverride&&(a=n.transitionOverride);var u=i?function(){return nq(t,i,n)}:function(){return Promise.resolve()},c=(null===(r=t.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var i,o,u,c,l,f,d,h=a.delayChildren;return i=(void 0===h?0:h)+r,o=a.staggerChildren,u=a.staggerDirection,c=n,void 0===i&&(i=0),void 0===o&&(o=0),void 0===u&&(u=1),l=[],f=(t.variantChildren.size-1)*o,d=1===u?function(t){return void 0===t&&(t=0),t*o}:function(t){return void 0===t&&(t=0),f-t*o},Array.from(t.variantChildren).sort(nK).forEach(function(t,n){l.push(nH(t,e,(0,s.__assign)((0,s.__assign)({},c),{delay:i+d(n)})).then(function(){return t.notifyAnimationComplete(e)}))}),Promise.all(l)}:function(){return Promise.resolve()},l=a.when;if(!l)return Promise.all([u(),c(n.delay)]);var f=(0,s.__read)("beforeChildren"===l?[u,c]:[c,u],2),d=f[0],h=f[1];return d().then(h)}function nq(t,e,n){var r,i=void 0===n?{}:n,o=i.delay,a=void 0===o?0:o,u=i.transitionOverride,c=i.type,l=t.makeTargetAnimatable(e),f=l.transition,d=void 0===f?t.getDefaultTransition():f,h=l.transitionEnd,p=(0,s.__rest)(l,["transition","transitionEnd"]);u&&(d=u);var g=[],m=c&&(null===(r=t.animationState)||void 0===r?void 0:r.getState()[c]);for(var v in p){var y=t.getValue(v),b=p[v];if(!(!y||void 0===b||m&&function(t,e){var n=t.protectedKeys,r=t.needsAnimating,i=n.hasOwnProperty(e)&&!0!==r[e];return r[e]=!1,i}(m,v))){var w=(0,s.__assign)({delay:a},d);t.shouldReduceMotion&&z(v)&&(w=(0,s.__assign)((0,s.__assign)({},w),{type:!1,delay:0}));var A=nD(v,y,b,w);g.push(A)}}return Promise.all(g).then(function(){h&&function(t,e){var n=I(t,e),r=n?t.makeTargetAnimatable(n,!1):{},i=r.transitionEnd;r.transition;var o=(0,s.__rest)(r,["transitionEnd","transition"]);for(var a in o=(0,s.__assign)((0,s.__assign)({},o),void 0===i?{}:i)){var u=tB(o[a]);t.hasValue(a)?t.getValue(a).set(u):t.addValue(a,n_(u))}}(t,h)})}function nK(t,e){return t.sortNodePosition(e)}var nW=[o.Animate,o.InView,o.Focus,o.Hover,o.Tap,o.Drag,o.Exit],nY=(0,s.__spreadArray)([],(0,s.__read)(nW),!1).reverse(),nJ=nW.length;function nZ(t){return void 0===t&&(t=!1),{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var nX={animation:ee(function(t){var e=t.visualElement,n=t.animate;e.animationState||(e.animationState=function(t){var e,n=function(e){return Promise.all(e.map(function(e){return function(t,e,n){if(void 0===n&&(n={}),t.notifyAnimationStart(e),Array.isArray(e)){var r;r=Promise.all(e.map(function(e){return nH(t,e,n)}
38))}else if("string"==typeof e)r=nH(t,e,n);else{var i="function"==typeof e?I(t,e,n.custom):e;r=nq(t,i,n)}return r.then(function(){return t.notifyAnimationComplete(e)})}(t,e.animation,e.options)}))},r=((e={})[o.Animate]=nZ(!0),e[o.InView]=nZ(),e[o.Hover]=nZ(),e[o.Tap]=nZ(),e[o.Drag]=nZ(),e[o.Focus]=nZ(),e[o.Exit]=nZ(),e),i={},a=!0,u=function(e,n){var r=I(t,n);if(r){r.transition;var i=r.transitionEnd,o=(0,s.__rest)(r,["transition","transitionEnd"]);e=(0,s.__assign)((0,s.__assign)((0,s.__assign)({},e),o),i)}return e};function c(e,o){for(var c,l=t.getProps(),f=t.getVariantContext(!0)||{},d=[],h=new Set,p={},g=1/0,m=0;m<nJ;m++)!function(n){var i,m=nY[n],v=r[m],y=null!==(c=l[m])&&void 0!==c?c:f[m],b=P(y),w=m===o?v.isActive:null;!1===w&&(g=n);var A=y===f[m]&&y!==l[m]&&b;if(A&&a&&t.manuallyAnimateOnMount&&(A=!1),v.protectedKeys=(0,s.__assign)({},p),!(!v.isActive&&null===w||!y&&!v.prevProp||tR(y))&&"boolean"!=typeof y){var E=(i=v.prevProp,"string"==typeof y?y!==i:!!x(y)&&!eo(y,i)),C=E||m===o&&v.isActive&&!A&&b||n>g&&b,S=Array.isArray(y)?y:[y],I=S.reduce(u,{});!1===w&&(I={});var O=v.prevResolvedValues,M=void 0===O?{}:O,R=(0,s.__assign)((0,s.__assign)({},M),I),T=function(t){C=!0,h.delete(t),v.needsAnimating[t]=!0};for(var B in R){var k=I[B],N=M[B];p.hasOwnProperty(B)||(k!==N?tT(k)&&tT(N)?!eo(k,N)||E?T(B):v.protectedKeys[B]=!0:void 0!==k?T(B):h.add(B):void 0!==k&&h.has(B)?T(B):v.protectedKeys[B]=!0)}v.prevProp=y,v.prevResolvedValues=I,v.isActive&&(p=(0,s.__assign)((0,s.__assign)({},p),I)),a&&t.blockInitialAnimation&&(C=!1),C&&!A&&d.push.apply(d,(0,s.__spreadArray)([],(0,s.__read)(S.map(function(t){return{animation:t,options:(0,s.__assign)({type:m},e)}})),!1))}}(m);if(i=(0,s.__assign)({},p),h.size){var v={};h.forEach(function(e){var n=t.getBaseTarget(e);void 0!==n&&(v[e]=n)}),d.push({animation:v})}var y=!!d.length;return a&&!1===l.initial&&!t.manuallyAnimateOnMount&&(y=!1),a=!1,y?n(d):Promise.resolve()}return{isAnimated:function(t){return void 0!==i[t]},animateChanges:c,setActive:function(e,n,i){if(r[e].isActive===n)return Promise.resolve();null===(o=t.variantChildren)||void 0===o||o.forEach(function(t){var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)}),r[e].isActive=n;var o,a=c(i,e);for(var s in r)r[s].protectedKeys={};return a},setAnimateFunction:function(e){n=e(t)},getState:function(){return r}}}(e)),tR(n)&&(0,u.useEffect)(function(){return n.subscribe(e)},[n])}),exit:ee(function(t){var e=t.custom,n=t.visualElement,r=(0,s.__read)(ei(),2),i=r[0],a=r[1],c=(0,u.useContext)(y.O);(0,u.useEffect)(function(){n.isPresent=i;var t,r,s=null===(t=n.animationState)||void 0===t?void 0:t.setActive(o.Exit,!i,{custom:null!==(r=null==c?void 0:c.custom)&&void 0!==r?r:e});i||null==s||s.then(a)},[i])})};let n$=t=>t.hasOwnProperty("x")&&t.hasOwnProperty("y"),n0=t=>n$(t)&&t.hasOwnProperty("z"),n1=(t,e)=>Math.abs(t-e);function n2(t,e){return eU(t)&&eU(e)?n1(t,e):n$(t)&&n$(e)?Math.sqrt(Math.pow(n1(t.x,e.x),2)+Math.pow(n1(t.y,e.y),2)+Math.pow(n0(t)&&n0(e)?n1(t.z,e.z):0,2)):void 0}var n3=function(){function t(t,e,n){var r=this,i=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var t=n6(r.lastMoveEventInfo,r.history),e=null!==r.startEvent,n=n2(t.offset,{x:0,y:0})>=3;if(e||n){var i=t.point,o=(0,ni.$B)().timestamp;r.history.push((0,s.__assign)((0,s.__assign)({},i),{timestamp:o}));var a=r.handlers,u=a.onStart,c=a.onMove;e||(u&&u(r.lastMoveEvent,t),r.startEvent=r.lastMoveEvent),c&&c(r.lastMoveEvent,t)}}},this.handlePointerMove=function(t,e){if(r.lastMoveEvent=t,r.lastMoveEventInfo=n4(e,r.transformPagePoint),t_(t)&&0===t.buttons){r.handlePointerUp(t,e);return}ni.ZP.update(r.updatePoint,!0)},this.handlePointerUp=function(t,e){r.end();var n=r.handlers,i=n.onEnd,o=n.onSessionEnd,a=n6(n4(e,r.transformPagePoint),r.history);r.startEvent&&i&&i(t,a),o&&o(t,a)},!t.touches||!(t.touches.length>1)){this.handlers=e,this.transformPagePoint=i;var o=n4(tG(t),this.transformPagePoint),a=o.point,u=(0,ni.$B)().timestamp;this.history=[(0,s.__assign)((0,s.__assign)({},a),{timestamp:u})];var c=e.onSessionStart;c&&c(t,n6(o,this.history)),this.removeListeners=t4(tK(window,"pointermove",this.handlePointerMove),tK(window,"pointerup",this.handlePointerUp),tK(window,"pointercancel",this.handlePointerUp))}}return t.prototype.updateHandlers=function(t){this.handlers=t},t.prototype.end=function(){this.removeListeners&&this.removeListeners(),ni.qY.update(this.updatePoint)},t}();function n4(t,e){return e?{point:e(t.point)}:t}function n5(t,e){return{x:t.x-e.x,y:t.y-e.y}}function n6(t,e){var n=t.point;return{point:n,delta:n5(n,n8(e)),offset:n5(n,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};for(var n=t.length-1,r=null,i=n8(t);n>=0&&(r=t[n],!(i.timestamp-r.timestamp>nu(.1)));)n--;if(!r)return{x:0,y:0};var o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};var a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,0)}}function n8(t){return t[t.length-1]}function n7(t){return t.max-t.min}function n9(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=.01),n2(t,e)<n}function rt(t,e,n,r){void 0===r&&(r=.5),t.origin=r,t.originPoint=ep(e.min,e.max,t.origin),t.scale=n7(n)/n7(e),(n9(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=ep(n.min,n.max,t.origin)-t.originPoint,(n9(t.translate)||isNaN(t.translate))&&(t.translate=0)}function re(t,e,n,r){rt(t.x,e.x,n.x,null==r?void 0:r.originX),rt(t.y,e.y,n.y,null==r?void 0:r.originY)}function rn(t,e,n){t.min=n.min+e.min,t.max=t.min+n7(e)}function rr(t,e,n){t.min=e.min-n.min,t.max=t.min+n7(e)}function ri(t,e,n){rr(t.x,e.x,n.x),rr(t.y,e.y,n.y)}function ro(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function ra(t,e){var n,r=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&(r=(n=(0,s.__read)([i,r],2))[0],i=n[1]),{min:r,max:i}}function rs(t,e,n){return{min:ru(t,e),max:ru(t,n)}}function ru(t,e){var n;return"number"==typeof t?t:null!==(n=t[e])&&void 0!==n?n:0}var rc=function(){return{translate:0,scale:1,origin:0,originPoint:0}},rl=function(){return{x:rc(),y:rc()}},rf=function(){return{min:0,max:0}},rd=function(){return{x:rf(),y:rf()}};function rh(t){return[t("x"),t("y")]}function rp(t){var e=t.top;return{x:{min:t.left,max:t.right},y:{min:e,max:t.bottom}}}function rg(t){return void 0===t||1===t}function rm(t){var e=t.scale,n=t.scaleX,r=t.scaleY;return!rg(e)||!rg(n)||!rg(r)}function rv(t){var e,n;return rm(t)||(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n||t.z||t.rotate||t.rotateX||t.rotateY}function ry(t,e,n,r,i){return void 0!==i&&(t=r+i*(t-r)),r+n*(t-r)+e}function rb(t,e,n,r,i){void 0===e&&(e=0),void 0===n&&(n=1),t.min=ry(t.min,e,n,r,i),t.max=ry(t.max,e,n,r,i)}function rw(t,e){var n=e.x,r=e.y;rb(t.x,n.translate,n.scale,n.originPoint),rb(t.y,r.translate,r.scale,r.originPoint)}function rA(t,e){t.min=t.min+e,t.max=t.max+e}function rE(t,e,n){var r=(0,s.__read)(n,3),i=r[0],o=r[1],a=r[2],u=void 0!==e[a]?e[a]:.5,c=ep(t.min,t.max,u);rb(t,e[i],e[o],c,e.scale)}var rC=["x","scaleX","originX"],rx=["y","scaleY","originY"];function rP(t,e){rE(t.x,e,rC),rE(t.y,e,rx)}function rS(t,e){return rp(function(t,e){if(!e)return t;var n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}var rI=new WeakMap,rO=function(){function t(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rd(),this.visualElement=t}return t.prototype.start=function(t,e){var n=this,r=(void 0===e?{}:e).snapToCursor,i=void 0!==r&&r;!1!==this.visualElement.isPresent&&(this.panSession=new n3(t,{onSessionStart:function(t){n.stopAnimation(),i&&n.snapToCursor(tG(t,"page").point)},onStart:function(t,e){var r,i=n.getProps(),a=i.drag,s=i.dragPropagation,u=i.onDragStart;(!a||s||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=tX(a),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),rh(function(t){var e,r,i=n.getAxisMotionValue(t).get()||0;if(ti.test(i)){var o=null===(r=null===(e=n.visualElement.projection)||void 0===e?void 0:e.layout)||void 0===r?void 0:r.actual[t];if(o){var a=n7(o);i=parseFloat(i)/100*a}}n.originPoint[t]=i}),null==u||u(t,e),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(o.Drag,!0))},onMove:function(t,e){var r=n.getProps(),i=r.dragPropagation,o=r.dragDirectionLock,a=r.onDirectionLock,s=r.onDrag;if(i||n.openGlobalLock){var u,c,l=e.offset;if(o&&null===n.currentDirection){n.currentDirection=(void 0===u&&(u=10),c=null,Math.abs(l.
38y)>u?c="y":Math.abs(l.x)>u&&(c="x"),c),null!==n.currentDirection&&(null==a||a(n.currentDirection));return}n.updateAxis("x",e.point,l),n.updateAxis("y",e.point,l),n.visualElement.syncRender(),null==s||s(t,e)}},onSessionEnd:function(t,e){return n.stop(t,e)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},t.prototype.stop=function(t,e){var n=this.isDragging;if(this.cancel(),n){var r=e.velocity;this.startAnimation(r);var i=this.getProps().onDragEnd;null==i||i(t,e)}},t.prototype.cancel=function(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(o.Drag,!1)},t.prototype.updateAxis=function(t,e,n){var r=this.getProps().drag;if(n&&rM(t,r,this.currentDirection)){var i,o,a,s,u,c=this.getAxisMotionValue(t),l=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(i=l,o=this.constraints[t],a=this.elastic[t],s=o.min,u=o.max,void 0!==s&&i<s?i=a?ep(s,i,a.min):Math.max(i,s):void 0!==u&&i>u&&(i=a?ep(u,i,a.max):Math.min(i,u)),l=i),c.set(l)}},t.prototype.resolveConstraints=function(){var t,e,n,r,i,o,a=this,s=this.getProps(),u=s.dragConstraints,c=s.dragElastic,l=(this.visualElement.projection||{}).layout,f=this.constraints;u&&C(u)?this.constraints||(this.constraints=this.resolveRefConstraints()):u&&l?this.constraints=(t=l.actual,e=u.top,n=u.left,r=u.bottom,i=u.right,{x:ro(t.x,n,i),y:ro(t.y,e,r)}):this.constraints=!1,this.elastic=(void 0===(o=c)&&(o=.35),!1===o?o=0:!0===o&&(o=.35),{x:rs(o,"left","right"),y:rs(o,"top","bottom")}),f!==this.constraints&&l&&this.constraints&&!this.hasMutatedConstraints&&rh(function(t){if(a.getAxisMotionValue(t)){var e,n,r;a.constraints[t]=(e=l.actual[t],n=a.constraints[t],r={},void 0!==n.min&&(r.min=n.min-e.min),void 0!==n.max&&(r.max=n.max-e.min),r)}})},t.prototype.resolveRefConstraints=function(){var t=this.getProps(),e=t.dragConstraints,n=t.onMeasureDragConstraints;if(!e||!C(e))return!1;var r=e.current;(0,d.k)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var i=this.visualElement.projection;if(!i||!i.layout)return!1;var o=(s=i.root,u=rS(r,this.visualElement.getTransformPagePoint()),(c=s.scroll)&&(rA(u.x,c.x),rA(u.y,c.y)),u),a={x:ra((l=i.layout.actual).x,o.x),y:ra(l.y,o.y)};if(n){var s,u,c,l,f,h,p,g=n((h=(f=a).x,{top:(p=f.y).min,right:h.max,bottom:p.max,left:h.min}));this.hasMutatedConstraints=!!g,g&&(a=rp(g))}return a},t.prototype.startAnimation=function(t){var e=this,n=this.getProps(),r=n.drag,i=n.dragMomentum,o=n.dragElastic,a=n.dragTransition,u=n.dragSnapToOrigin,c=n.onDragTransitionEnd,l=this.constraints||{};return Promise.all(rh(function(n){if(rM(n,r,e.currentDirection)){var c,f=null!==(c=null==l?void 0:l[n])&&void 0!==c?c:{};u&&(f={min:0,max:0});var d=(0,s.__assign)((0,s.__assign)({type:"inertia",velocity:i?t[n]:0,bounceStiffness:o?200:1e6,bounceDamping:o?40:1e7,timeConstant:750,restDelta:1,restSpeed:10},a),f);return e.startAxisValueAnimation(n,d)}})).then(c)},t.prototype.startAxisValueAnimation=function(t,e){var n=this.getAxisMotionValue(t);return nD(t,n,0,e)},t.prototype.stopAnimation=function(){var t=this;rh(function(e){return t.getAxisMotionValue(e).stop()})},t.prototype.getAxisMotionValue=function(t){var e,n,r="_drag"+t.toUpperCase();return this.visualElement.getProps()[r]||this.visualElement.getValue(t,null!==(n=null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])&&void 0!==n?n:0)},t.prototype.snapToCursor=function(t){var e=this;rh(function(n){if(rM(n,e.getProps().drag,e.currentDirection)){var r=e.visualElement.projection,i=e.getAxisMotionValue(n);if(r&&r.layout){var o=r.layout.actual[n],a=o.min,s=o.max;i.set(t[n]-ep(a,s,.5))}}})},t.prototype.scalePositionWithinConstraints=function(){var t,e=this,n=this.getProps(),r=n.drag,i=n.dragConstraints,o=this.visualElement.projection;if(C(i)&&o&&this.constraints){this.stopAnimation();var a={x:0,y:0};rh(function(t){var n=e.getAxisMotionValue(t);if(n){var r,i,o,s,u,c=n.get();a[t]=(r={min:c,max:c},i=e.constraints[t],o=.5,s=n7(r),(u=n7(i))>s?o=eh(i.min,i.max-s,r.min):s>u&&(o=eh(r.min,r.max-u,i.min)),ea(0,1,o))}});var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(t=o.root)||void 0===t||t.updateScroll(),o.updateLayout(),this.resolveConstraints(),rh(function(t){if(rM(t,r,null)){var n=e.getAxisMotionValue(t),i=e.constraints[t],o=i.min,s=i.max;n.set(ep(o,s,a[t]))}})}},t.prototype.addListeners=function(){var t,e=this;rI.set(this.visualElement,this);var n=tK(this.visualElement.getInstance(),"pointerdown",function(t){var n=e.getProps(),r=n.drag,i=n.dragListener;r&&(void 0===i||i)&&e.start(t)}),r=function(){C(e.getProps().dragConstraints)&&(e.constraints=e.resolveRefConstraints())},i=this.visualElement.projection,o=i.addEventListener("measure",r);i&&!i.layout&&(null===(t=i.root)||void 0===t||t.updateScroll(),i.updateLayout()),r();var a=tL(window,"resize",function(){return e.scalePositionWithinConstraints()});return i.addEventListener("didUpdate",function(t){var n=t.delta,r=t.hasLayoutChanged;e.isDragging&&r&&(rh(function(t){var r=e.getAxisMotionValue(t);r&&(e.originPoint[t]+=n[t].translate,r.set(r.get()+n[t].translate))}),e.visualElement.syncRender())}),function(){a(),n(),o()}},t.prototype.getProps=function(){var t=this.visualElement.getProps(),e=t.drag,n=t.dragDirectionLock,r=t.dragPropagation,i=t.dragConstraints,o=t.dragElastic,a=t.dragMomentum;return(0,s.__assign)((0,s.__assign)({},t),{drag:void 0!==e&&e,dragDirectionLock:void 0!==n&&n,dragPropagation:void 0!==r&&r,dragConstraints:void 0!==i&&i,dragElastic:void 0===o?.35:o,dragMomentum:void 0===a||a})},t}();function rM(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}var rR={pan:ee(function(t){var e=t.onPan,n=t.onPanStart,r=t.onPanEnd,i=t.onPanSessionStart,o=t.visualElement,a=(0,u.useRef)(null),s=(0,u.useContext)(m._).transformPagePoint,c={onSessionStart:i,onStart:n,onMove:e,onEnd:function(t,e){a.current=null,r&&r(t,e)}};(0,u.useEffect)(function(){null!==a.current&&a.current.updateHandlers(c)}
38),tW(o,"pointerdown",(e||n||r||i)&&function(t){a.current=new n3(t,c,{transformPagePoint:s})}),(0,t2.z)(function(){return a.current&&a.current.end()})}),drag:ee(function(t){var e=t.dragControls,n=t.visualElement,r=(0,T.h)(function(){return new rO(n)});(0,u.useEffect)(function(){return e&&e.subscribe(r)},[r,e]),(0,u.useEffect)(function(){return r.addListeners()},[r])})},rT=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"],rB=function(t){var e=t.treeType,n=void 0===e?"":e,r=t.build,i=t.getBaseTarget,o=t.makeTargetAnimatable,a=t.measureViewportBox,u=t.render,c=t.readValueFromInstance,l=t.removeValueFromRenderState,f=t.sortNodePosition,d=t.scrapeMotionValuesFromProps;return function(t,e){var h,p,g,m,v,y=t.parent,b=t.props,w=t.presenceId,A=t.blockInitialAnimation,E=t.visualState,C=t.shouldReduceMotion;void 0===e&&(e={});var x=!1,S=E.latestValues,I=E.renderState,R=(h=rT.map(function(){return new nL}),p={},g={clearAllListeners:function(){return h.forEach(function(t){return t.clear()})},updatePropListeners:function(t){rT.forEach(function(e){var n,r="on"+e,i=t[r];null===(n=p[e])||void 0===n||n.call(p),i&&(p[e]=g[r](i))})}},h.forEach(function(t,e){g["on"+rT[e]]=function(e){return t.add(e)},g["notify"+rT[e]]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.notify.apply(t,(0,s.__spreadArray)([],(0,s.__read)(e),!1))}}),g),T=new Map,B=new Map,k={},N=(0,s.__assign)({},S);function D(){m&&x&&(j(),u(m,I,b.style,z.projection))}function j(){r(z,I,S,e,b)}function U(){R.notifyUpdate(S)}function L(t,e){var n=e.onChange(function(e){S[t]=e,b.onUpdate&&ni.ZP.update(U,!1,!0)}),r=e.onRenderRequest(z.scheduleRender);B.set(t,function(){n(),r()})}var F=d(b);for(var _ in F){var V=F[_];void 0!==S[_]&&K(V)&&V.set(S[_],!1)}var G=O(b),Q=M(b),z=(0,s.__assign)((0,s.__assign)({treeType:n,current:null,depth:y?y.depth+1:0,parent:y,children:new Set,presenceId:w,shouldReduceMotion:C,variantChildren:Q?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:!!(null==y?void 0:y.isMounted()),blockInitialAnimation:A,isMounted:function(){return!!m},mount:function(t){x=!0,m=z.current=t,z.projection&&z.projection.mount(t),Q&&y&&!G&&(v=null==y?void 0:y.addVariantChild(z)),T.forEach(function(t,e){return L(e,t)}),null==y||y.children.add(z),z.setProps(b)},unmount:function(){var t;null===(t=z.projection)||void 0===t||t.unmount(),ni.qY.update(U),ni.qY.render(D),B.forEach(function(t){return t()}),null==v||v(),null==y||y.children.delete(z),R.clearAllListeners(),m=void 0,x=!1},addVariantChild:function(t){var e,n=z.getClosestVariantNode();if(n)return null===(e=n.variantChildren)||void 0===e||e.add(t),function(){return n.variantChildren.delete(t)}},sortNodePosition:function(t){return f&&n===t.treeType?f(z.getInstance(),t.getInstance()):0},getClosestVariantNode:function(){return Q?z:null==y?void 0:y.getClosestVariantNode()},getLayoutId:function(){return b.layoutId},getInstance:function(){return m},getStaticValue:function(t){return S[t]},setStaticValue:function(t,e){return S[t]=e},getLatestValues:function(){return S},setVisibility:function(t){z.isVisible!==t&&(z.isVisible=t,z.scheduleRender())},makeTargetAnimatable:function(t,e){return void 0===e&&(e=!0),o(z,t,b,e)},measureViewportBox:function(){return a(m,b)},addValue:function(t,e){z.hasValue(t)&&z.removeValue(t),T.set(t,e),S[t]=e.get(),L(t,e)},removeValue:function(t){var e;T.delete(t),null===(e=B.get(t))||void 0===e||e(),B.delete(t),delete S[t],l(t,I)},hasValue:function(t){return T.has(t)},getValue:function(t,e){var n=T.get(t);return void 0===n&&void 0!==e&&(n=n_(e),z.addValue(t,n)),n},forEachValue:function(t){return T.forEach(t)},readValue:function(t){var n;return null!==(n=S[t])&&void 0!==n?n:c(m,t,e)},setBaseTarget:function(t,e){N[t]=e},getBaseTarget:function(t){if(i){var e=i(b,t);if(void 0!==e&&!K(e))return e}return N[t]}},R),{build:function(){return j(),I},scheduleRender:function(){ni.ZP.render(D,!1,!0)},syncRender:D,setProps:function(t){(t.transformTemplate||b.transformTemplate)&&z.scheduleRender(),b=t,R.updatePropListeners(t),k=function(t,e,n){var r;for(var i in e){var o=e[i],a=n[i];if(K(o))t.addValue(i,o);else if(K(a))t.addValue(i,n_(o));else if(a!==o){if(t.hasValue(i)){var s=t.getValue(i);s.hasAnimated||s.set(o)}else t.addValue(i,n_(null!==(r=t.getStaticValue(i))&&void 0!==r?r:o))}}for(var i in n)void 0===e[i]&&t.removeValue(i);return e}(z,d(b),k)},getProps:function(){return b},getVariant:function(t){var e;return null===(e=b.variants)||void 0===e?void 0:e[t]},getDefaultTransition:function(){return b.transition},getTransformPagePoint:function(){return b.transformPagePoint},getVariantContext:function(t){if(void 0===t&&(t=!1),t)return null==y?void 0:y.getVariantContext();if(!G){var e=(null==y?void 0:y.getVariantContext())||{};return void 0!==b.initial&&(e.initial=b.initial),e}for(var n={},r=0;r<rN;r++){var i=rk[r],o=b[i];(P(o)||!1===o)&&(n[i]=o)}return n}});return z}},rk=(0,s.__spreadArray)(["initial"],(0,s.__read)(nW),!1),rN=rk.length;function rD(t){return"string"==typeof t&&t.startsWith("var(--")}var rj=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function rU(t,e,n){void 0===n&&(n=1),(0,d.k)(n<=4,'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.'));var r=(0,s.__read)(function(t){var e=rj.exec(t);if(!e)return[,];var n=(0,s.__read)(e,3);return[n[1],n[2]]}(t),2),i=r[0],o=r[1];if(i){var a=window.getComputedStyle(e).getPropertyValue(i);return a?a.trim():rD(o)?rU(o,e,n+1):o}}var rL=new Set(["width","height","top","left","right","bottom","x","y"]),rF=function(t){return rL.has(t)},r_=function(t,e){t.set(e,!1),t.set(e)},rV=function(t){return t===tc||t===to};(i=a||(a={})).width="width",i.height="height",i.left="left",i.right="right",i.top="top",i.bottom="bottom";var rG=function(t,e){return parseFloat(t.split(", ")[e])},rQ=function(t,e){return function(n,r){var i=r.transform;if("none"===i||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return rG(o[1],e);var a=i.match(/^matrix\((.+)\)$/);return a?rG(a[1],t):0}},rz=new Set(["x","y","z"]),rH=V.filter(function(t){return!rz.has(t)}),rq={width:function(t,e){var n=t.x,r=e.paddingLeft,i=e.paddingRight;return n.max-n.min-parseFloat(void 0===r?"0":r)-parseFloat(void 0===i?"0":i)},height:function(t,e){var n=t.y,r=e.paddingTop,i=e.paddingBottom;return n.max-n.min-parseFloat(void 0===r?"0":r)-parseFloat(void 0===i?"0":i)},top:function(t,e){return parseFloat(e.top)},left:function(t,e){return parseFloat(e.left)},bottom:function(t,e){var n=t.y;return parseFloat(e.top)+(n.max-n.min)},right:function(t,e){var n=t.x;return parseFloat(e.left)+(n.max-n.min)},x:rQ(4,13),y:rQ(5,14)},rK=function(t,e,n){var r=e.measureViewportBox(),i=e.getInstance(),o=getComputedStyle(i),a=o.display,s={};"none"===a&&e.setStaticValue("display",t.display||"block"),n.forEac
38h(function(t){s[t]=rq[t](r,o)}),e.syncRender();var u=e.measureViewportBox();return n.forEach(function(n){r_(e.getValue(n),s[n]),t[n]=rq[n](u,o)}),t},rW=function(t,e,n,r){void 0===n&&(n={}),void 0===r&&(r={}),e=(0,s.__assign)({},e),r=(0,s.__assign)({},r);var i=Object.keys(e).filter(rF),o=[],a=!1,u=[];if(i.forEach(function(i){var s,c=t.getValue(i);if(t.hasValue(i)){var l=n[i],f=nQ(l),h=e[i];if(tT(h)){var p=h.length,g=null===h[0]?1:0;f=nQ(l=h[g]);for(var m=g;m<p;m++)s?(0,d.k)(nQ(h[m])===s,"All keyframes must be of the same type"):(s=nQ(h[m]),(0,d.k)(s===f||rV(f)&&rV(s),"Keyframes must be of the same dimension as the current value"))}else s=nQ(h);if(f!==s){if(rV(f)&&rV(s)){var v,y=c.get();"string"==typeof y&&c.set(parseFloat(y)),"string"==typeof h?e[i]=parseFloat(h):Array.isArray(h)&&s===to&&(e[i]=h.map(parseFloat))}else(null==f?void 0:f.transform)&&(null==s?void 0:s.transform)&&(0===l||0===h)?0===l?c.set(s.transform(l)):e[i]=f.transform(h):(a||(v=[],rH.forEach(function(e){var n=t.getValue(e);void 0!==n&&(v.push([e,n.get()]),n.set(e.startsWith("scale")?1:0))}),v.length&&t.syncRender(),o=v,a=!0),u.push(i),r[i]=void 0!==r[i]?r[i]:e[i],r_(c,h))}}}),!u.length)return{target:e,transitionEnd:r};var c=u.indexOf("height")>=0?window.pageYOffset:null,l=rK(e,t,u);return o.length&&o.forEach(function(e){var n=(0,s.__read)(e,2),r=n[0],i=n[1];t.getValue(r).set(i)}),t.syncRender(),null!==c&&window.scrollTo({top:c}),{target:l,transitionEnd:r}},rY=function(t,e,n,r){var i,o,a=function(t,e,n){var r,i=(0,s.__rest)(e,[]),o=t.getInstance();if(!(o instanceof Element))return{target:i,transitionEnd:n};for(var a in n&&(n=(0,s.__assign)({},n)),t.forEachValue(function(t){var e=t.get();if(rD(e)){var n=rU(e,o);n&&t.set(n)}}),i){var u=i[a];if(rD(u)){var c=rU(u,o);c&&(i[a]=c,n&&(null!==(r=n[a])&&void 0!==r||(n[a]=u)))}}return{target:i,transitionEnd:n}}(t,e,r);return i=e=a.target,o=r=a.transitionEnd,Object.keys(i).some(rF)?rW(t,i,n,o):{target:i,transitionEnd:o}},rJ={treeType:"dom",readValueFromInstance:function(t,e){if(z(e)){var n=nO(e);return n&&n.default||0}var r=window.getComputedStyle(t);return(Y(e)?r.getPropertyValue(e):r[e])||0},sortNodePosition:function(t,e){return 2&t.compareDocumentPosition(e)?1:-1},getBaseTarget:function(t,e){var n;return null===(n=t.style)||void 0===n?void 0:n[e]},measureViewportBox:function(t,e){return rS(t,e.transformPagePoint)},resetTransform:function(t,e,n){var r=n.transformTemplate;e.style.transform=r?r({},""):"none",t.scheduleRender()},restoreTransform:function(t,e){t.style.transform=e.style.transform},removeValueFromRenderState:function(t,e){var n=e.vars,r=e.style;delete n[t],delete r[t]},makeTargetAnimatable:function(t,e,n,r){var i=n.transformValues;void 0===r&&(r=!0);var o=e.transition,a=e.transitionEnd,u=(0,s.__rest)(e,["transition","transitionEnd"]),c=function(t,e,n){var r,i,o={};for(var a in t)o[a]=null!==(r=function(t,e){if(e)return(e[t]||e.default||e).from}(a,e))&&void 0!==r?r:null===(i=n.getValue(a))||void 0===i?void 0:i.get();return o}(u,o||{},t);if(i&&(a&&(a=i(a)),u&&(u=i(u)),c&&(c=i(c))),r){!function(t,e,n){var r,i,o,a=Object.keys(e).filter(function(e){return!t.hasValue(e)}),s=a.length;if(s)for(var u=0;u<s;u++){var c,l,f,d=a[u],h=e[d],p=null;Array.isArray(h)&&(p=h[0]),null===p&&(p=null!==(i=null!==(r=n[d])&&void 0!==r?r:t.readValue(d))&&void 0!==i?i:e[d]),null!=p&&("string"==typeof p&&(c=p,/^\-?\d*\.?\d+$/.test(c)||(l=p,/^0[^.\s]+$/.test(l)))?p=parseFloat(p):(f=p,!nz.find(nV(f))&&ej.test(h)&&(p=nM(d,h))),t.addValue(d,n_(p)),null!==(o=n[d])&&void 0!==o||(n[d]=p),t.setBaseTarget(d,p))}}(t,u,c);var l=rY(t,u,c,a);a=l.transitionEnd,u=l.target}return(0,s.__assign)({transition:o,transitionEnd:a},u)},scrapeMotionValuesFromProps:tO,build:function(t,e,n,r,i){void 0!==t.isVisible&&(e.style.visibility=t.isVisible?"visible":"hidden"),tp(e,n,r,i.transformTemplate)},render:tP},rZ=rB(rJ),rX=rB((0,s.__assign)((0,s.__assign)({},rJ),{getBaseTarget:function(t,e){return t[e]},readValueFromInstance:function(t,e){var n;return z(e)?(null===(n=nO(e))||void 0===n?void 0:n.default)||0:(e=tS.has(e)?e:tx(e),t.getAttribute(e))},scrapeMotionValuesFromProps:tM,build:function(t,e,n,r,i){tA(e,n,r,i.transformTemplate)},render:tI})),r$=function(t,e){return L(t)?rX(e,{enableHardwareAcceleration:!1}):rZ(e,{enableHardwareAcceleration:!0})};function r0(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}var r1={correct:function(t,e){if(!e.target)return t;if("string"==typeof t){if(!to.test(t))return t;t=parseFloat(t)}var n=r0(t,e.target.x),r=r0(t,e.target.y);return"".concat(n,"% ").concat(r,"%")}},r2="_$css",r3=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,s.__extends)(e,t),e.prototype.componentDidMount=function(){var t=this,e=this.props,n=e.visualElement,r=e.layoutGroup,i=e.switchLayoutGroup,o=e.layoutId,a=n.projection;Object.assign(F,r4),a&&((null==r?void 0:r.group)&&r.group.add(a),(null==i?void 0:i.register)&&o&&i.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",function(){t.safeToRemove()}),a.setOptions((0,s.__assign)((0,s.__assign)({},a.options),{onExitComplete:function(){return t.safeToRemove()}}))),B.hasEverUpdated=!0},e.prototype.getSnapshotBeforeUpdate=function(t){var e=this,n=this.props,r=n.layoutDependency,i=n.visualElement,o=n.drag,a=n.isPresent,s=i.projection;return s&&(s.isPresent=a,o||t.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),t.isPresent===a||(a?s.promote():s.relegate()||ni.ZP.postRender(function(){var t;(null===(t=s.getStack())||void 0===t?void 0:t.members.length)||e.safeToRemove()}))),null},e.prototype.componentDidUpdate=function(){var t=this.props.visualElement.projection;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())},e.prototype.componentWillUnmount=function(){var t=this.props,e=t.visualElement,n=t.layoutGroup,r=t.switchLayoutGroup,i=e.projection;i&&(i.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(i),(null==r?void 0:r.deregister)&&r.deregister(i))},e.prototype.safeToRemove=function(){var t=this.props.safeToRemove;null==t||t()},e.prototype.render=function(){return null},e}(u.Component),r4={borderRadius:(0,s.__assign)((0,s.__assign)({},r1),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:r1,borderTopRightRadius:r1,borderBottomLeftRadius:r1,borderBottomRightRadius:r1,boxSh
38adow:{correct:function(t,e){var n=e.treeScale,r=e.projectionDelta,i=t,o=t.includes("var("),a=[];o&&(t=t.replace(rj,function(t){return a.push(t),r2}));var s=ej.parse(t);if(s.length>5)return i;var u=ej.createTransformer(t),c="number"!=typeof s[0]?1:0,l=r.x.scale*n.x,f=r.y.scale*n.y;s[0+c]/=l,s[1+c]/=f;var d=ep(l,f,.5);"number"==typeof s[2+c]&&(s[2+c]/=d),"number"==typeof s[3+c]&&(s[3+c]/=d);var h=u(s);if(o){var p=0;h=h.replace(r2,function(){var t=a[p];return p++,t})}return h}}},r5=["TopLeft","TopRight","BottomLeft","BottomRight"],r6=r5.length,r8=function(t){return"string"==typeof t?parseFloat(t):t},r7=function(t){return"number"==typeof t||to.test(t)};function r9(t,e){var n;return null!==(n=t[e])&&void 0!==n?n:t.borderRadius}var it=ir(0,.5,e1),ie=ir(.5,.95,eJ);function ir(t,e,n){return function(r){return r<t?0:r>e?1:n(eh(t,e,r))}}function ii(t,e){t.min=e.min,t.max=e.max}function io(t,e){ii(t.x,e.x),ii(t.y,e.y)}function ia(t,e,n,r,i){return t-=e,t=r+1/n*(t-r),void 0!==i&&(t=r+1/i*(t-r)),t}function is(t,e,n,r,i){var o=(0,s.__read)(n,3),a=o[0],u=o[1],c=o[2];!function(t,e,n,r,i,o,a){if(void 0===e&&(e=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===o&&(o=t),void 0===a&&(a=t),ti.test(e)&&(e=parseFloat(e),e=ep(a.min,a.max,e/100)-a.min),"number"==typeof e){var s=ep(o.min,o.max,r);t===o&&(s-=e),t.min=ia(t.min,e,n,s,i),t.max=ia(t.max,e,n,s,i)}}(t,e[a],e[u],e[c],e.scale,r,i)}var iu=["x","scaleX","originX"],ic=["y","scaleY","originY"];function il(t,e,n,r){is(t.x,e,iu,null==n?void 0:n.x,null==r?void 0:r.x),is(t.y,e,ic,null==n?void 0:n.y,null==r?void 0:r.y)}function id(t){return 0===t.translate&&1===t.scale}function ih(t){return id(t.x)&&id(t.y)}function ip(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}var ig=function(){function t(){this.members=[]}return t.prototype.add=function(t){nj(this.members,t),t.scheduleRender()},t.prototype.remove=function(t){if(nU(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var e=this.members[this.members.length-1];e&&this.promote(e)}},t.prototype.relegate=function(t){var e,n=this.members.findIndex(function(e){return t===e});if(0===n)return!1;for(var r=n;r>=0;r--){var i=this.members[r];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)},t.prototype.promote=function(t,e){var n,r=this.lead;t!==r&&(this.prevLead=r,this.lead=t,t.show(),r&&(r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues,t.snapshot.isShared=!0),(null===(n=t.root)||void 0===n?void 0:n.isUpdating)&&(t.isLayoutDirty=!0),!1===t.options.crossfade&&r.hide()))},t.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var e,n,r,i,o;null===(n=(e=t.options).onExitComplete)||void 0===n||n.call(e),null===(o=null===(r=t.resumingFrom)||void 0===r?void 0:(i=r.options).onExitComplete)||void 0===o||o.call(i)})},t.prototype.scheduleRender=function(){this.members.forEach(function(t){t.instance&&t.scheduleRender(!1)})},t.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},t}();function im(t,e,n){var r=t.x.translate/e.x,i=t.y.translate/e.y,o="translate3d(".concat(r,"px, ").concat(i,"px, 0) ");if(o+="scale(".concat(1/e.x,", ").concat(1/e.y,") "),n){var a=n.rotate,s=n.rotateX,u=n.rotateY;a&&(o+="rotate(".concat(a,"deg) ")),s&&(o+="rotateX(".concat(s,"deg) ")),u&&(o+="rotateY(".concat(u,"deg) "))}var c=t.x.scale*e.x,l=t.y.scale*e.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(o+="scale(".concat(c,", ").concat(l,")"))?"none":o}var iv=function(t,e){return t.depth-e.depth},iy=function(){function t(){this.children=[],this.isDirty=!1}return t.prototype.add=function(t){nj(this.children,t),this.isDirty=!0},t.prototype.remove=function(t){nU(this.children,t),this.isDirty=!0},t.prototype.forEach=function(t){this.isDirty&&this.children.sort(iv),this.isDirty=!1,this.children.forEach(t)},t}();function ib(t){var e=t.attachResizeListener,n=t.defaultParent,r=t.measureScroll,i=t.checkIsScrollRoot,o=t.resetTransform;return function(){function t(t,e,r){var i=this;void 0===e&&(e={}),void 0===r&&(r=null==n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){i.isUpdating&&(i.isUpdating=!1,i.clearAllSnapshots())}
38,this.updateProjection=function(){i.nodes.forEach(iS),i.nodes.forEach(iI)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=t,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?(0,s.__spreadArray)((0,s.__spreadArray)([],(0,s.__read)(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(var o=0;o<this.path.length;o++)this.path[o].shouldResetTransform=!0;this.root===this&&(this.nodes=new iy)}return t.prototype.addEventListener=function(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new nL),this.eventHandlers.get(t).add(e)},t.prototype.notifyListeners=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=this.eventHandlers.get(t);null==r||r.notify.apply(r,(0,s.__spreadArray)([],(0,s.__read)(e),!1))},t.prototype.hasListeners=function(t){return this.eventHandlers.has(t)},t.prototype.registerPotentialNode=function(t,e){this.potentialNodes.set(t,e)},t.prototype.mount=function(t,n){var r=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;var i=this.options,o=i.layoutId,a=i.layout,u=i.visualElement;if(u&&!u.getInstance()&&u.mount(t),this.root.nodes.add(this),null===(c=this.parent)||void 0===c||c.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(a||o)&&(this.isLayoutDirty=!0),e){var c,l,f=function(){return r.root.updateBlockedByResize=!1};e(t,function(){r.root.updateBlockedByResize=!0,clearTimeout(l),l=window.setTimeout(f,250),B.hasAnimatedSinceResize&&(B.hasAnimatedSinceResize=!1,r.nodes.forEach(iP))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&u&&(o||a)&&this.addEventListener("didUpdate",function(t){var e,n,i,o,a,c=t.delta,l=t.hasLayoutChanged,f=t.hasRelativeTargetChanged,d=t.layout;if(r.isTreeAnimationBlocked()){r.target=void 0,r.relativeTarget=void 0;return}var h=null!==(n=null!==(e=r.options.transition)&&void 0!==e?e:u.getDefaultTransition())&&void 0!==n?n:ik,p=u.getProps(),g=p.onLayoutAnimationStart,m=p.onLayoutAnimationComplete,v=!r.targetLayout||!ip(r.targetLayout,d)||f,y=!l&&f;if((null===(i=r.resumeFrom)||void 0===i?void 0:i.instance)||y||l&&(v||!r.currentAnimation)){r.resumeFrom&&(r.resumingFrom=r.resumeFrom,r.resumingFrom.resumingFrom=void 0),r.setAnimationOrigin(c,y);var b=(0,s.__assign)((0,s.__assign)({},nN(h,"layout")),{onPlay:g,onComplete:m});u.shouldReduceMotion&&(b.delay=0,b.type=!1),r.startAnimation(b)}else l||0!==r.animationProgress||r.finishAnimation(),r.isLead()&&(null===(a=(o=r.options).onExitComplete)||void 0===a||a.call(o));r.targetLayout=d})}},t.prototype.unmount=function(){var t,e;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(t=this.getStack())||void 0===t||t.remove(this),null===(e=this.parent)||void 0===e||e.children.delete(this),this.instance=void 0,ni.qY.preRender(this.updateProjection)},t.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},t.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},t.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},t.prototype.isTreeAnimationBlocked=function(){var t;return this.isAnimationBlocked||(null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimationBlocked())||!1},t.prototype.startUpdate=function(){var t;this.isUpdateBlocked()||(this.isUpdating=!0,null===(t=this.nodes)||void 0===t||t.forEach(iO))},t.prototype.willUpdate=function(t){if(void 0===t&&(t=!0),this.root.isUpdateBlocked()){null===(n=(e=this.options).onExitComplete)||void 0===n||n.call(e);return}if(this.root.isUpdating||this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var e,n,r,i=0;i<this.path.length;i++){var o=this.path[i];o.shouldResetTransform=!0,o.updateScroll()}var a=this.options,s=a.layoutId,u=a.layout;if(void 0!==s||u){var c=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==c?void 0:c(this.latestValues,""),this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}}},t.prototype.didUpdate=function(){if(this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEac
38h(iC);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(iN),this.potentialNodes.clear()),this.nodes.forEach(ix),this.nodes.forEach(iw),this.nodes.forEach(iA),this.clearAllSnapshots(),ni.iW.update(),ni.iW.preRender(),ni.iW.render())},t.prototype.clearAllSnapshots=function(){this.nodes.forEach(iE),this.sharedNodes.forEach(iM)},t.prototype.scheduleUpdateProjection=function(){ni.ZP.preRender(this.updateProjection,!1,!0)},t.prototype.scheduleCheckAfterUnmount=function(){var t=this;ni.ZP.postRender(function(){t.isLayoutDirty?t.root.didUpdate():t.root.checkUpdateFailed()})},t.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var t=this.measure(),e=this.removeTransform(this.removeElementScroll(t));ij(e),this.snapshot={measured:t,layout:e,latestValues:{}}}},t.prototype.updateLayout=function(){if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t,e=0;e<this.path.length;e++)this.path[e].updateScroll();var n=this.measure();ij(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected=rd(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(t=this.options.visualElement)||void 0===t||t.notifyLayoutMeasure(this.layout.actual,null==r?void 0:r.actual)}},t.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=i(this.instance),this.scroll=r(this.instance))},t.prototype.resetTransform=function(){if(o){var t,e=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!ih(this.projectionDelta),r=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate,i=null==r?void 0:r(this.latestValues,""),a=i!==this.prevTransformTemplateValue;e&&(n||rv(this.latestValues)||a)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}},t.prototype.measure=function(){var t=this.options.visualElement;if(!t)return rd();var e=t.measureViewportBox(),n=this.root.scroll;return n&&(rA(e.x,n.x),rA(e.y,n.y)),e},t.prototype.removeElementScroll=function(t){var e=rd();io(e,t);for(var n=0;n<this.path.length;n++){var r=this.path[n],i=r.scroll,o=r.options,a=r.isScrollRoot;if(r!==this.root&&i&&o.layoutScroll){if(a){io(e,t);var s=this.root.scroll;s&&(rA(e.x,-s.x),rA(e.y,-s.y))}rA(e.x,i.x),rA(e.y,i.y)}}return e},t.prototype.applyTransform=function(t,e){void 0===e&&(e=!1);var n=rd();io(n,t);for(var r=0;r<this.path.length;r++){var i=this.path[r];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&rP(n,{x:-i.scroll.x,y:-i.scroll.y}),rv(i.latestValues)&&rP(n,i.latestValues)}return rv(this.latestValues)&&rP(n,this.latestValues),n},t.prototype.removeTransform=function(t){var e,n=rd();io(n,t);for(var r=0;r<this.path.length;r++){var i=this.path[r];if(i.instance&&rv(i.latestValues)){rm(i.latestValues)&&i.updateSnapshot();var o=rd();io(o,i.measure()),il(n,i.latestValues,null===(e=i.snapshot)||void 0===e?void 0:e.layout,o)}}return rv(this.latestValues)&&il(n,this.latestValues),n},t.prototype.setTargetDelta=function(t){this.targetDelta=t,this.root.scheduleUpdateProjection()},t.prototype.setOptions=function(t){var e;this.options=(0,s.__assign)((0,s.__assign)((0,s.__assign)({},this.options),t),{crossfade:null===(e=t.crossfade)||void 0===e||e})},t.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},t.prototype.resolveTargetDelta=function(){var t,e,n,r,i=this.options,o=i.layout,a=i.layoutId;this.layout&&(o||a)&&(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=rd(),this.relativeTargetOrigin=rd(),ri(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),io(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&((this.target||(this.target=rd(),this.targetWithTransforms=rd()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(r=this.relativeParent)||void 0===r?void 0:r.target))?(t=this.target,e=this.relativeTarget,n=this.relativeParent.target,rn(t.x,e.x,n.x),rn(t.y,e.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.actual):io(this.target,this.layout.actual),rw(this.target,this.targetDelta)):io(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&!!this.relativeParent.resumingFrom==!!this.resumingFrom&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=rd(),this.relativeTargetOrigin=rd(),ri(this.relativeTargetOrigin,this.target,this.relativeParent.target),io(this.relativeTarget,this.relativeTargetOrigin)))))},t.prototype.getClosestProjectingParent=function(){if(!(!this.parent||rv(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},t.prototype.calcProjection=function(){var t,e=this.options,n=e.layout,r=e.layoutId;if(this.isTreeAnimating=!!((null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var i=this.getLead();io(this.layoutCorrected,this.layout.actual),function(t,e,n,r){void 0===r&&(r=!1);var i,o,a,s,u=n.length;if(u){e.x=e.y=1;for(var c=0;c<u;c++)s=(a=n[c]).projectionDelta,(null===(o=null===(i=a.instance)||void 0===i?void 0:i.style)||void 0===o?void 0:o.display)!=="contents"&&(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&rP(t,{x:-a.scroll.x,y:-a.scroll.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,rw(t,s)),r&&rv(a.latestValues)&&rP(t,a.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,!!this.resumingFrom||this!==i);var o=i.target;if(o){this.projectionDelta||(this.projectionDelta=rl(),this.projectionDeltaWithTransform=rl());var a=this.treeScale.x,s=this.treeScale.y,u=this.projectionTransform;re(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.projectionTransform=im(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==a||this.treeScale.y!==s)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}}},t.prototype.hide=function(){this.isVisible=!1},t.prototype.show=function(){this.isVisible=!0},t.prototype.scheduleRender=function(t){var e,n,r;void 0===t&&(t=!0),null===(n=(e=this.options).scheduleRender)||void 0===n||n.call(e),t&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},t.prototype.setAnimationOrigin=function(t,e){var n,r=this;void 0===e&&(e=!1);var i=this.snapshot,o=(null==i?void 0:i.latestValues)||{},a=(0,s.__assign)({},this.latestValues),u=rl();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!e;
38var c=rd(),l=null==i?void 0:i.isShared,f=1>=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0),d=!!(l&&!f&&!0===this.options.crossfade&&!this.path.some(iB));this.animationProgress=0,this.mixTargetDelta=function(e){var n,i,s,h=e/1e3;iR(u.x,t.x,h),iR(u.y,t.y,h),r.setTargetDelta(u),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(s=r.relativeParent)||void 0===s?void 0:s.layout)&&(ri(c,r.layout.actual,r.relativeParent.layout.actual),n=r.relativeTarget,i=r.relativeTargetOrigin,iT(n.x,i.x,c.x,h),iT(n.y,i.y,c.y,h)),l&&(r.animationValues=a,function(t,e,n,r,i,o){var a,s,u,c;i?(t.opacity=ep(0,null!==(a=n.opacity)&&void 0!==a?a:1,it(r)),t.opacityExit=ep(null!==(s=e.opacity)&&void 0!==s?s:1,0,ie(r))):o&&(t.opacity=ep(null!==(u=e.opacity)&&void 0!==u?u:1,null!==(c=n.opacity)&&void 0!==c?c:1,r));for(var l=0;l<r6;l++){var f="border".concat(r5[l],"Radius"),d=r9(e,f),h=r9(n,f);(void 0!==d||void 0!==h)&&(d||(d=0),h||(h=0),0===d||0===h||r7(d)===r7(h)?(t[f]=Math.max(ep(r8(d),r8(h),r),0),(ti.test(h)||ti.test(d))&&(t[f]+="%")):t[f]=h)}(e.rotate||n.rotate)&&(t.rotate=ep(e.rotate||0,n.rotate||0,r))}(a,o,r.latestValues,h,d,f)),r.root.scheduleUpdateProjection(),r.scheduleRender(),r.animationProgress=h},this.mixTargetDelta(0)},t.prototype.startAnimation=function(t){var e,n,r=this;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(ni.qY.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ni.ZP.update(function(){var e,n;B.hasAnimatedSinceResize=!0,r.currentAnimation=(void 0===(e=(0,s.__assign)((0,s.__assign)({},t),{onUpdate:function(e){var n;r.mixTargetDelta(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:function(){var e;null===(e=t.onComplete)||void 0===e||e.call(t),r.completeAnimation()}}))&&(e={}),nD("",n=K(0)?0:n_(0),1e3,e),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0})},t.prototype.completeAnimation=function(){var t;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(t=this.getStack())||void 0===t||t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},t.prototype.finishAnimation=function(){var t;this.currentAnimation&&(null===(t=this.mixTargetDelta)||void 0===t||t.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},t.prototype.applyTransformsToTarget=function(){var t=this.getLead(),e=t.targetWithTransforms,n=t.target,r=t.layout,i=t.latestValues;e&&n&&r&&(io(e,n),rP(e,i),re(this.projectionDeltaWithTransform,this.layoutCorrected,e,i))},t.prototype.registerSharedNode=function(t,e){var n,r,i;this.sharedNodes.has(t)||this.sharedNodes.set(t,new ig),this.sharedNodes.get(t).add(e),e.promote({transition:null===(n=e.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(i=null===(r=e.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(r,e)})},t.prototype.isLead=function(){var t=this.getStack();return!t||t.lead===this},t.prototype.getLead=function(){var t;return this.options.layoutId&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this},t.prototype.getPrevLead=function(){var t;return this.options.layoutId?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0},t.prototype.getStack=function(){var t=this.options.layoutId;if(t)return this.root.sharedNodes.get(t)},t.prototype.promote=function(t){var e=void 0===t?{}:t,n=e.needsReset,r=e.transition,i=e.preserveFollowOpacity,o=this.getStack();o&&o.promote(this,i),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},t.prototype.relegate=function(){var t=this.getStack();return!!t&&t.relegate(this)},t.prototype.resetRotation=function(){var t=this.options.visualElement;if(t){for(var e=!1,n={},r=0;r<_.length;r++){var i="rotate"+_[r];t.getStaticValue(i)&&(e=!0,n[i]=t.getStaticValue(i),t.setStaticValue(i,0))}if(e){for(var i in null==t||t.syncRender(),n)t.setStaticValue(i,n[i]);t.scheduleRender()}}},t.prototype.getProjectionStyles=function(t){void 0===t&&(t={});var e,n,r,i,o,a,s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";var u=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=tk(t.pointerEvents)||"",s.transform=u?u(this.latestValues,""):"none",s;var c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){var l={};return this.options.layoutId&&(l.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,l.pointerEvents=tk(t.pointerEvents)||""),this.hasProjected&&!rv(this.latestValues)&&(l.transform=u?u({},""):"none",this.hasProjected=!1),l}var f=c.animationValues||c.latestValues;this.applyTransformsToTarget(),s.transform=im(this.projectionDeltaWithTransform,this.treeScale,f),u&&(s.transform=u(f,s.transform));var d=this.projectionDelta,h=d.x,p=d.y;for(var g in s.transformOrigin="".concat(100*h.origin,"% ").concat(100*p.origin,"% 0"),c.animationValues?s.opacity=c===this?null!==(i=null!==(r=f.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:s.opacity=c===this?null!==(o=f.opacity)&&void 0!==o?o:"":null!==(a=f.opacityExit)&&void 0!==a?a:0,F)if(void 0!==f[g]){var m=F[g],v=m.correct,y=m.applyTo,b=v(f[g],c);if(y)for(var w=y.length,A=0;A<w;A++)s[y[A]]=b;else s[g]=b}return this.options.layoutId&&(s.pointerEvents=c===this?tk(t.pointerEvents)||"":"none"),s},t.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0}
38,t.prototype.resetTree=function(){this.root.nodes.forEach(function(t){var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(iC),this.root.sharedNodes.clear()},t}()}function iw(t){t.updateLayout()}function iA(t){var e,n,r,i,o=null!==(n=null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)&&void 0!==n?n:t.snapshot;if(t.isLead()&&t.layout&&o&&t.hasListeners("didUpdate")){var a=t.layout,s=a.actual,u=a.measured;"size"===t.options.animationType?rh(function(t){var e=o.isShared?o.measured[t]:o.layout[t],n=n7(e);e.min=s[t].min,e.max=e.min+n}):"position"===t.options.animationType&&rh(function(t){var e=o.isShared?o.measured[t]:o.layout[t],n=n7(s[t]);e.max=e.min+n});var c=rl();re(c,s,o.layout);var l=rl();o.isShared?re(l,t.applyTransform(u,!0),o.measured):re(l,s,o.layout);var f=!ih(c),d=!1;if(!t.resumeFrom&&(t.relativeParent=t.getClosestProjectingParent(),t.relativeParent&&!t.relativeParent.resumeFrom)){var h=t.relativeParent,p=h.snapshot,g=h.layout;if(p&&g){var m=rd();ri(m,o.layout,p.layout);var v=rd();ri(v,s,g.actual),ip(m,v)||(d=!0)}}t.notifyListeners("didUpdate",{layout:s,snapshot:o,delta:l,layoutDelta:c,hasLayoutChanged:f,hasRelativeTargetChanged:d})}else t.isLead()&&(null===(i=(r=t.options).onExitComplete)||void 0===i||i.call(r));t.options.transition=void 0}function iE(t){t.clearSnapshot()}function iC(t){t.clearMeasurements()}function ix(t){var e=t.options.visualElement;(null==e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notifyBeforeLayoutMeasure(),t.resetTransform()}function iP(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function iS(t){t.resolveTargetDelta()}function iI(t){t.calcProjection()}function iO(t){t.resetRotation()}function iM(t){t.removeLeadSnapshot()}function iR(t,e,n){t.translate=ep(e.translate,0,n),t.scale=ep(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function iT(t,e,n,r){t.min=ep(e.min,n.min,r),t.max=ep(e.max,n.max,r)}function iB(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}var ik={duration:.45,ease:[.4,0,.1,1]};function iN(t,e){for(var n=t.root,r=t.path.length-1;r>=0;r--)if(t.path[r].instance){n=t.path[r];break}var i=(n&&n!==t.root?n.instance:document).querySelector('[data-projection-id="'.concat(e,'"]'));i&&t.mount(i,!0)}function iD(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function ij(t){iD(t.x),iD(t.y)}var iU=ib({attachResizeListener:function(t,e){return tL(t,"resize",e)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),iL={current:void 0},iF=ib({measureScroll:function(t){return{x:t.scrollLeft,y:t.scrollTop}},defaultParent:function(){if(!iL.current){var t=new iU(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),iL.current=t}return iL.current},resetTransform:function(t,e){t.style.transform=null!=e?e:"none"},checkIsScrollRoot:function(t){return"fixed"===window.getComputedStyle(t).position}}),i_=(0,s.__assign)((0,s.__assign)((0,s.__assign)((0,s.__assign)({},nX),en),rR),{measureLayout:function(t){var e=(0,s.__read)(ei(),2),n=e[0],r=e[1],i=(0,u.useContext)(N.p);return u.createElement(r3,(0,s.__assign)({},t,{layoutGroup:i,switchLayoutGroup:(0,u.useContext)(D),isPresent:n,safeToRemove:r}))}}),iV=function(t){function e(e,n){var r,i,o,a,l,x,S;return void 0===n&&(n={}),i=(r=t(e,n)).preloadedFeatures,o=r.createVisualElement,a=r.projectionNodeConstructor,l=r.useRender,x=r.useVisualState,S=r.Component,i&&function(t){for(var e in t)null!==t[e]&&("projectionNodeConstructor"===e?f.projectionNodeConstructor=t[e]:f[e].Component=t[e])}(i),(0,u.forwardRef)(function(t,e){var n,r,I,M,U,L,F,_,V,G,Q,z,H,q,K,W,Y,J,Z,X,$,tt,te,tn,tr,ti,to,ta=(z=t.layoutId,(H=null===(Q=(0,u.useContext)(N.p))||void 0===Q?void 0:Q.id)&&void 0!==z?H+"-"+z:z);t=(0,s.__assign)((0,s.__assign)({},t),{layoutId:ta});var ts=(0,u.useContext)(m._),tu=null,tc=(K=(q=function(t,e){if(O(t)){var n=t.initial,r=t.animate;return{initial:!1===n||P(n)?n:void 0,animate:P(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,u.useContext)(v))).initial,W=q.animate,(0,u.useMemo)(function(){return{initial:K,animate:W}},[R(K),R(W)])),tl=ts.isStatic?void 0:(0,T.h)(function(){if(B.hasEverUpdated)return k++}),tf=x(t,ts.isStatic);return!ts.isStatic&&w.j&&(tc.visualElement=(Y=(0,s.__assign)((0,s.__assign)({},ts),t),J=o,Z=(0,u.useContext)(h),X=(0,u.useContext)(v).visualElement,$=(0,u.useContext)(y.O),E||function(){if(E=!0,w.j){if(window.matchMedia){var t=window.matchMedia("(prefers-reduced-motion)"),e=function(){return A.current=t.matches};t.addListener(e),e()}else A.current=!1}}(),tt=(0,s.__read)((0,u.useState)(A.current),1)[0],tn="never"!==(te=(0,u.useContext)(m._).reducedMotion)&&("always"===te||tt),tr=(0,u.useRef)(void 0),J||(J=Z.renderer),!tr.current&&J&&(tr.current=J(S,{visualState:tf,parent:X,props:Y,presenceId:null==$?void 0:$.id,blockInitialAnimation:(null==$?void 0:$.initial)===!1,shouldReduceMotion:tn})),ti=tr.current,(0,b.L)(function(){null==ti||ti.syncRender()}),(0,u.useEffect)(function(){var t;null===(t=null==ti?void 0:ti.animationState)||void 0===t||t.animateChanges()}),(0,b.L)(function(){return function(){return null==ti?void 0:ti.notifyUnmount()}},[]),ti),n=t,r=tc.visualElement,I=a||f.projectionNodeConstructor,U=n.layoutId,L=n.layout,F=n.drag,_=n.dragConstraints,V=n.layoutScroll,G=(0,u.useContext)(D),!I||!r||(null==r?void 0:r.projection)||(r.projection=new I(tl,r.getLatestValues(),null===(M=r.parent)||void 0===M?void 0:M.projection),r.projection.setOptions({layoutId:U,layout:L,alwaysMeasureLayout:!!F||_&&C(_),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"==typeof L?L:"both",initialPromotionConfig:G,layoutScroll:V})),tu=function(t,e,n){var r=[],i=(0,u.useContext)(h);if(!e)return null;"production"!==c.O&&n&&i.strict&&(0,d.k)(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var o=0;o<g;o++){var a=p[o],l=f[a],m=l.isEnabled,v=l.Component;m(t)&&v&&r.push(u.createElement(v,(0,s.__assign)({key:a},t,{visualElement:e})))}return r}(t,tc.visualElement,i)),u.createElement(j,{visualElement:tc.visualElement,props:(0,s.__assign)((0,s.__assign)({},ts),t)},tu,u.createElement(v.Provider,{value:tc},l(S,t,tl,(to=tc.visualElement,(0,u.useCallback)(function(t){var n;t&&(null===(n=tf.mount)||void 0===n||n.call(tf,t)),to&&(t?to.mount(t):to.unmount()),e&&("function"==typeof e?e(t):C(e)&&(e.current=t))},[to])),tf,ts.isStatic,tc.visualElement)))})}if("undefined"==typeof Proxy)return e;var n=new Map;return new Proxy(e,{get:function(t,r){return n.has(r)||n.set(r,e(r)),n.get(r)}})}(function(t,e){var n,r,i;return n=e.forwardMotionProps,r=L(t)?tj:tU,(0,s.__assign)((0,s.__assign)({},r),{preloadedFeatures:i_,useRender:(void 0===(i=void 0!==n&&n)&&(i=!1),function(t,e,n,r,o,a){var c=o.latestValues,l=(L(t)?function(t,e){var n=(0,u.useMemo)(function(){var n=tE();return tA(n,e,{enableHardwareAcceleration:!1},t.transformTemplate),(0,s.__assign)((0,s.__assign)({},n.attrs),{style:(0,s.__assign)({},n.style)})},[e]);if(t.style){var r={};tm(r,t.style,t),n.style=(0,s.__assign)((0,s.__assign)({},r),n.style)}return n}:function(t,e,n){var r,i,o={},a=(tm(r={},t.style||{},t),Object.assign(r,(i=t.transformTemplate,(0,u.useMemo)(function(){var t=tg();tp(t,e,{enableHardwareAcceleration:!n},i);var r=t.vars,o=t.style;return(0,s.__assign)((0,s.__assign)({},r),o)},[e]))),t.transformValues&&(r=t.transformValues(r)),r);return t.drag&&!1!==t.dragListener&&(o.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),o.style=a,o})(e,c,a),f=(0,tv.L)(e,"string"==typeof t,i),d=(0,s.__assign)((0,s.__assign)((0,s.__assign)({},f),l),{ref:r});return n&&(d["data-projection-id"]=n),(0,u.createElement)(t,d)}),createVisualElement:r$,projectionNodeConstructor:iF,Component:t})})},15417:function(t,e,n){"use strict";n.d(e,{L:function(){return s},K:function(){return a}});var r=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function i(t){return r.has(t)}var o=function(t){return!i(t)};function a(t){t&&(o=function(e){return e.startsWith("on")?!i(e):t(e)})}try{a(require("@emotion/is-prop-valid").default)}catch(t){}function s(t,e,n){var r={};for(var a in t)(o(a)||!0===n&&i(a)||!e&&!i(a)||t.draggable&&a.startsWith("onDrag"))&&(r[a]=t[a]);return r}},10634:function(t,e,n){"use strict";n.d(e,{j:function(){return r}});var r="undefined"!=typeof document},68859:function(t,e,n){"use strict";n.d(e,{O:function(){return i}});var r=n(94221),i=(void 0===r||r.env,"production")},78380:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var r=n(19776);function i(t){var e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},57472:function(t,e,n){"use strict";n.d(e,{M:function(){return a}});var r=n(78380),i=0,o=function(){return i++},a=function(){return(0,r.h)(o)}},87520:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(19776),i=n(10634).j?r.useLayoutEffect:r.useEffect},65295:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});var r=n(19776);function i(t){return(0,r.useEffect)(function(){return function(){return t()}},[])}},62874:function(t,e,n){"use strict";n.d(e,{qY:function(){return h},ZP:function(){return b},iW:function(){return p},$B:function(){return y}});let r=1/60*1e3,i="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),o="undefined"!=typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>
38t(i()),r),a=!0,s=!1,u=!1,c={delta:0,timestamp:0},l=["read","update","preRender","render","postRender"],f=l.reduce((t,e)=>(t[e]=function(t){let e=[],n=[],r=0,i=!1,o=!1,a=new WeakSet,s={schedule:(t,o=!1,s=!1)=>{let u=s&&i,c=u?e:n;return o&&a.add(t),-1===c.indexOf(t)&&(c.push(t),u&&i&&(r=e.length)),t},cancel:t=>{let e=n.indexOf(t);-1!==e&&n.splice(e,1),a.delete(t)},process:u=>{if(i){o=!0;return}if(i=!0,[e,n]=[n,e],n.length=0,r=e.length)for(let n=0;n<r;n++){let r=e[n];r(u),a.has(r)&&(s.schedule(r),t())}i=!1,o&&(o=!1,s.process(u))}};return s}(()=>s=!0),t),{}),d=l.reduce((t,e)=>{let n=f[e];return t[e]=(t,e=!1,r=!1)=>(s||v(),n.schedule(t,e,r)),t},{}),h=l.reduce((t,e)=>(t[e]=f[e].cancel,t),{}),p=l.reduce((t,e)=>(t[e]=()=>f[e].process(c),t),{}),g=t=>f[t].process(c),m=t=>{s=!1,c.delta=a?r:Math.max(Math.min(t-c.timestamp,40),1),c.timestamp=t,u=!0,l.forEach(g),u=!1,s&&(a=!1,o(m))},v=()=>{s=!0,a=!0,u||o(m)},y=()=>c;var b=d},68719:function(t,e,n){"use strict";n.r(e),n.d(e,{__addDisposableResource:function(){return N},__assign:function(){return o},__asyncDelegator:function(){return P},__asyncGenerator:function(){return x},__asyncValues:function(){return S},__await:function(){return C},__awaiter:function(){return p},__classPrivateFieldGet:function(){return T},__classPrivateFieldIn:function(){return k},__classPrivateFieldSet:function(){return B},__createBinding:function(){return m},__decorate:function(){return s},__disposeResources:function(){return j},__esDecorate:function(){return c},__exportStar:function(){return v},__extends:function(){return i},__generator:function(){return g},__importDefault:function(){return R},__importStar:function(){return M}
vendor: 9,825 bytes, line 38
38,__makeTemplateObject:function(){return I},__metadata:function(){return h},__param:function(){return u},__propKey:function(){return f},__read:function(){return b},__rest:function(){return a},__runInitializers:function(){return l},__setFunctionName:function(){return d},__spread:function(){return w},__spreadArray:function(){return E},__spreadArrays:function(){return A},__values:function(){return y}});var r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)0>e.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function s(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){return function(n,r){e(n,r,t)}}function c(t,e,n,r,i,o){function a(t){if(void 0!==t&&"function"!=typeof t)throw TypeError("Function expected");return t}for(var s,u=r.kind,c="getter"===u?"get":"setter"===u?"set":"value",l=!e&&t?r.static?t:t.prototype:null,f=e||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),d=!1,h=n.length-1;h>=0;h--){var p={};for(var g in r)p[g]="access"===g?{}:r[g];for(var g in r.access)p.access[g]=r.access[g];p.addInitializer=function(t){if(d)throw TypeError("Cannot add initializers after decoration has completed");o.push(a(t||null))};var m=(0,n[h])("accessor"===u?{get:f.get,set:f.set}:f[c],p);if("accessor"===u){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=a(m.get))&&(f.get=s),(s=a(m.set))&&(f.set=s),(s=a(m.init))&&i.unshift(s)}else(s=a(m))&&("field"===u?i.unshift(s):f[c]=s)}l&&Object.defineProperty(l,r.name,f),d=!0}function l(t,e,n){for(var r=arguments.length>2,i=0;i<e.length;i++)n=r?e[i].call(t,n):e[i].call(t);return r?n:void 0}function f(t){return"symbol"==typeof t?t:"".concat(t)}function d(t,e,n){return"symbol"==typeof e&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:n?"".concat(n," ",e):e})}function h(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function p(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(a,s)}u((r=r.apply(t,e||[])).next())})}function g(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)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 a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}var m=Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]};function v(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||m(e,t,n)}function y(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function w(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(b(arguments[e]));return t}function A(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function E(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}function C(t){return this instanceof C?(this.v=t,this):new C(t)}function x(t,e,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),o=[];return r={},a("next"),a("throw"),a("return",function(t){return function(e){return Promise.resolve(e).then(t,c)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(t,e){i[t]&&(r[t]=function(e){return new Promise(function(n,r){o.push([t,e,n,r])>1||s(t,e)})},e&&(r[t]=e(r[t])))}function s(t,e){try{var n;(n=i[t](e)).value instanceof C?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(t){l(o[0][3],t)}}function u(t){s("next",t)}function c(t){s("throw",t)}function l(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function P(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:C(t[r](e)),done:!1}:i?i(e):e}:i}}function S(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=y(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,i,(e=t[n](e)).done,e.value)})}}}function I(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var O=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function M(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&m(e,t,n);return O(e,t),e}function R(t){return t&&t.__esModule?t:{default:t}}function T(t,e,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)}function B(t,e,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 e?t!==e||!i:!e.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(t,n):i?i.value=n:e.set(t,n),n}function k(t,e){if(null===e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)}function N(t,e,n){if(null!=e){var r,i;if("object"!=typeof e&&"function"!=typeof e)throw TypeError("Object expected.");if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}var D="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function j(t){function e(e){t.error=t.hasError?new D(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}return function n(){for(;t.stack.length;){var r=t.stack.pop();try{var i=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(i).then(n,function(t){return e(t),n()})}catch(t){e(t)}}if(t.hasError)throw t.error}()}e.default={__extends:i,__assign:o,__rest:a,__decorate:s,__param:u,__metadata:h,__awaiter:p,__generator:g,__createBinding:m,__exportStar:v,__values:y,__read:b,__spread:w,__spreadArrays:A,__spreadArray:E,__await:C,__asyncGenerator:x,__asyncDelegator:P,__asyncValues:S,__makeTemplateOb
38ject:I,__importStar:M,__importDefault:R,__classPrivateFieldGet:T,__classPrivateFieldSet:B,__classPrivateFieldIn:k,__addDisposableResource:N,__disposeResources:j}},6090:function(t,e,n){"use strict";function r(t){return"string"==typeof t?{address:t,type:"json-rpc"}:t}n.d(e,{T:function(){return r}})},37400:function(t,e,n){"use strict";n.d(e,{RE:function(){return E}});var r=n(6090),i=n(48209),o=n(28498),a=n(74334),s=n(53547),u=n(10330),c=n(18360),l=n(70015),f=n(70149),d=n(66451),h=n(58756),p=n(13537),g=n(67156),m=n(18851),v=n(33565),y=n(2294),b=n(38299),w=n(16343),A=n(78455);async function E(t,e){let{account:i=t.account,batch:c=!!t.batch?.multicall,blockNumber:f,blockTag:d="latest",accessList:p,blobs:w,data:E,gas:P,gasPrice:S,maxFeePerBlobGas:I,maxFeePerGas:O,maxPriorityFeePerGas:M,nonce:R,to:T,value:B,stateOverride:k,...N}=e,D=i?(0,r.T)(i):void 0;try{(0,A.F)(e);let n=(f?(0,g.eC)(f):void 0)||d,r=function(t){if(!t)return;let e={};for(let{address:n,...r}of t){if(!(0,h.U)(n,{strict:!1}))throw new o.b({address:n});if(e[n])throw new l.Nc({address:n});e[n]=function(t){let{balance:e,nonce:n,state:r,stateDiff:i,code:o}=t,a={};
38if(void 0!==o&&(a.code=o),void 0!==e&&(a.balance=(0,g.eC)(e,{size:32})),void 0!==n&&(a.nonce=(0,g.eC)(n,{size:8})),void 0!==r&&(a.state=x(r)),void 0!==i){if(a.state)throw new l.Z8;a.stateDiff=x(i)}return a}(r)}return e}(k),i=t.chain?.formatters?.transactionRequest?.format,a=(i||b.tG)({...(0,y.K)(N,{format:i}),from:D?.address,accessList:p,blobs:w,data:E,gas:P,gasPrice:S,maxFeePerBlobGas:I,maxFeePerGas:O,maxPriorityFeePerGas:M,nonce:R,to:T,value:B});if(c&&function({request:t}){let{data:e,to:n,...r}=t;return!(!e||e.startsWith("0x82ad56cb"))&&!!n&&!(Object.values(r).filter(t=>void 0!==t).length>0)}({request:a})&&!r)try{return await C(t,{...a,blockNumber:f,blockTag:d})}catch(t){if(!(t instanceof s.pZ)&&!(t instanceof s.mm))throw t}let u=await t.request({method:"eth_call",params:r?[a,n,r]:[a,n]});if("0x"===u)return{data:void 0};return{data:u}}catch(s){let r=function(t){if(!(t instanceof a.G))return;let e=t.walk();return"object"==typeof e?.data?e.data?.data:e.data}(s),{offchainLookup:i,offchainLookupSignature:o}=await n.e(33).then(n.bind(n,52033));if(r?.slice(0,10)===o&&T)return{data:await i(t,{data:r,to:T})};throw function(t,{docsPath:e,...n}){let r=(()=>{let e=(0,v.k)(t,n);return e instanceof m.cj?t:e})();return new u.cg(r,{docsPath:e,...n})}(s,{...e,account:D,chain:t.chain})}}async function C(t,e){let{batchSize:n=1024,wait:r=0}="object"==typeof t.batch?.multicall?t.batch.multicall:{},{blockNumber:o,blockTag:a="latest",data:c,multicallAddress:l,to:h}=e,m=l;if(!m){if(!t.chain)throw new s.pZ;m=(0,p.L)({blockNumber:o,chain:t.chain,contract:"multicall3"})}let v=(o?(0,g.eC)(o):void 0)||a,{schedule:y}=(0,w.S)({id:`${t.uid}.${v}`,wait:r,shouldSplitBatch:t=>t.reduce((t,{data:e})=>t+(e.length-2),0)>2*n,fn:async e=>{let n=e.map(t=>({allowFailure:!0,callData:t.data,target:t.to})),r=(0,d.R)({abi:i.F8,args:[n],functionName:"aggregate3"}),o=await t.request({method:"eth_call",params:[{data:r,to:m},v]});return(0,f.k)({abi:i.F8,args:[n],functionName:"aggregate3",data:o||"0x"})}}),[{returnData:b,success:A}]=await y({data:c,to:h});if(!A)throw new u.VQ({data:b});return"0x"===b?{data:void 0}:{data:b}}function x(t){if(t&&0!==t.length)return t.reduce((t,{slot:e,value:n})=>{if(66!==e.length)throw new c.W_({size:e.length,targetSize:66,type:"hex"});if(66!==n.length)throw new c.W_({size:n.length,targetSize:66,type:"hex"});return t[e]=n,t},{})}},36313:function(t,e,n){"use strict";n.d(e,{L:function(){return u}});var r=n(70149),i=n(66451),o=n(37694),a=n(30668),s=n(37400);async function u(t,e){let{abi:n,address:u,args:c,functionName:l,...f}=e,d=(0,i.R)({abi:n,args:c,functionName:l});try{let{data:e}=await (0,a.s)(t,s.RE,"call")({...f,data:d,to:u});return(0,r.k)({abi:n,args:c,functionName:l,data:e||"0x"})}catch(t){throw(0,o.S)(t,{abi:n,address:u,args:c,docsPath:"/docs/contract/readContract",functionName:l})}}},86121:function(t,e,n){"use strict";n.d(e,{y:function(){return r}});let r=(0,n(49535).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}}})},29716:function(t,e,n){"use strict";n.d(e,{R:function(){return r}});let r=(0,n(49535).a)({id:1,name:"Ethereum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://cloudflare-eth.com"]}},blockExplorers:{default:{name:"Etherscan",url:"https://etherscan.io",apiUrl:"https://api.etherscan.io/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0xce01f8eee7E479C928F8919abD53E553a36CeF67",blockCreated:19258213},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14353601}}})},5946:function(t,e,n){"use strict";n.d(e,{v:function(){return F}});var r=n(49535),i=n(1016),o=n(75269),a=n(17920),s=n(87234);let u={"0x0":"reverted","0x1":"success"},c=(0,s.$)("transactionReceipt",function(t){let e={...t,blockNumber:t.blockNumber?BigInt(t.blockNumber):null,contractAddress:t.contractAddress?t.contractAddress:null,cumulativeGasUsed:t.cumulativeGasUsed?BigInt(t.cumulativeGasUsed):null,effectiveGasPrice:t.effectiveGasPrice?BigInt(t.effectiveGasPrice):null,gasUsed:t.gasUsed?BigInt(t.gasUsed):null,logs:t.logs?t.logs.map(t=>(function(t,{args:e,eventName:n}={}){return{...t,blockHash:t.blockHash?t.blockHash:null,blockNumber:t.blockNumber?BigInt(t.blockNumber):null,logIndex:t.logIndex?Number(t.logIndex):null,transactionHash:t.transactionHash?t.transactionHash:null,transactionIndex:t.transactionIndex?Number(t.transactionIndex):null,...n?{args:e,eventName:n}:{}}})(t)):null,to:t.to?t.to:null,transactionIndex:t.transactionIndex?(0,i.ly)(t.transactionIndex):null,status:t.status?u[t.status]:null,type:t.type?a.c8[t.type]||t.type:null};return t.blobGasPrice&&(e.blobGasPrice=BigInt(t.blobGasPrice)),t.blobGasUsed&&(e.blobGasUsed=BigInt(t.blobGasUsed)),e}),l={block:(0,o.G)({format:t=>({transactions:t.transactions?.map(t=>{if("string"==typeof t)return t;let e=a.Tr(t);return"0x7e"===e.typeHex&&(e.isSystemTx=t.isSystemTx,e.mint=t.mint?i.y_(t.mint):void 0,e.sourceHash=t.sourceHash,e.type="deposit"),e}),stateRoot:t.stateRoot})}),transaction:(0,a.y_)({format(t){let e={};return"0x7e"===t.type&&(e.isSystemTx=t.isSystemTx,e.mint=t.mint?(0,i.y_)(t.mint):void 0,e.sourceHash=t.sourceHash,e.type="deposit"),e}}),transactionReceipt:c({format:t=>({l1GasPrice:t.l1GasPrice?(0,i.y_)(t.l1GasPrice):null,l1GasUsed:t.l1GasUsed?(0,i.y_)(t.l1GasUsed):null,l1Fee:t.l1Fee?(0,i.y_)(t.l1Fee):null,l1FeeScalar:t.l1FeeScalar?Number(t.l1FeeScalar):null})})};var f=n(28498),d=n(58756),h=n(10483),p=n(67156),g=n(74334),m=n(23485),v=n(24225);function y(t,e="hex"){let n=function t(e){return Array.isArray(e)?function(t){let e=t.reduce((t,e)=>t+e.length,0),n=b(e);return{length:e<=55?1+e:1+n+e,encode(r){for(let{encode:i}of(e<=55?r.pushByte(192+e):(r.pushByte(247+n),1===n?r.pushUint8(e):2===n?r.pushUint16(e):3
38===n?r.pushUint24(e):r.pushUint32(e)),t))i(r)}}}(e.map(e=>t(e))):function(t){let e="string"==typeof t?(0,v.nr)(t):t,n=b(e.length);return{length:1===e.length&&e[0]<128?1:e.length<=55?1+e.length:1+n+e.length,encode(t){1===e.length&&e[0]<128||(e.length<=55?t.pushByte(128+e.length):(t.pushByte(183+n),1===n?t.pushUint8(e.length):2===n?t.pushUint16(e.length):3===n?t.pushUint24(e.length):t.pushUint32(e.length))),t.pushBytes(e)}}}(e)}(t),r=(0,m.q)(new Uint8Array(n.length));return(n.encode(r),"hex"===e)?(0,p.ci)(r.bytes):r.bytes}function b(t){if(t<256)return 1;if(t<65536)return 2;if(t<16777216)return 3;if(t<4294967296)return 4;throw new g.G("Length is too large.")}var w=n(4159);function A(t){let{kzg:e}=t,n=t.to??("string"==typeof t.blobs[0]?"hex":"bytes"),r="string"==typeof t.blobs[0]?t.blobs.map(t=>(0,v.nr)(t)):t.blobs,i=[];for(let t of r)i.push(Uint8Array.from(e.blobToKzgCommitment(t)));return"bytes"===n?i:i.map(t=>(0,p.ci)(t))}function E(t){let{kzg:e}=t,n=t.to??("string"==typeof t.blobs[0]?"hex":"bytes"),r="string"==typeof t.blobs[0]?t.blobs.map(t=>(0,v.nr)(t)):t.blobs,i="string"==typeof t.commitments[0]?t.commitments.map(t=>(0,v.nr)(t)):t.commitments,o=[];for(let t=0;t<r.length;t++){let n=r[t],a=i[t];o.push(Uint8Array.from(e.computeBlobKzgProof(n,a)))}return"bytes"===n?o:o.map(t=>(0,p.ci)(t))}var C=n(7799),x=n(97245);class P extends g.G{constructor({maxSize:t,size:e}){super("Blob size is too large.",{metaMessages:[`Max: ${t} bytes`,`Given: ${e} bytes`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BlobSizeTooLargeError"})}}class S extends g.G{constructor(){super("Blob data must not be empty."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EmptyBlobError"})}}class I extends g.G{constructor({hash:t,size:e}){super(`Versioned hash "${t}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${e}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidVersionedHashSizeError"})}}class O extends g.G{constructor({hash:t,version:e}){super(`Versioned hash "${t}" version is invalid.`,{metaMessages:["Expected: 1",`Received: ${e}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidVersionedHashVersionError"})}}var M=n(51876),R=n(61733),T=n(53547),B=n(18851),k=n(86428);function N(t){let{chainId:e,maxPriorityFeePerGas:n,maxFeePerGas:r,to:i}=t;if(e<=0)throw new T.hJ({chainId:e});if(i&&!(0,d.U)(i))throw new f.b({address:i});if(r&&r>2n**256n-1n)throw new B.Hh({maxFeePerGas:r});if(n&&r&&n>r)throw new B.cs({maxFeePerGas:r,maxPriorityFeePerGas:n})}var D=n(41314);function j(t){if(!t||0===t.length)return[];let e=[];for(let n=0;n<t.length;n++){let{address:r,storageKeys:i}=t[n];for(let t=0;t<i.length;t++)if(i[t].length-2!=64)throw new w.JC({storageKey:i[t]});if(!(0,d.U)(r,{strict:!1}))throw new f.b({address:r});e.push([r,i])}return e}function U(t,e){let{r:n,s:r,v:i,yParity:o}=e??t;return void 0===n||void 0===r||void 0===i&&void 0===o?[]:["number"==typeof o?o?(0,p.NC)(1):"0x":0n===i?"0x":1n===i?(0,p.NC)(1):27n===i?"0x":(0,p.NC)(1),(0,R.f)(n),(0,R.f)(r)]}let L={contracts:{gasPriceOracle:{address:"0x420000000000000000000000000000000000000F"},l1Block:{address:"0x4200000000000000000000000000000000000015"},l2CrossDomainMessenger:{address:"0x4200000000000000000000000000000000000007"},l2Erc721Bridge:{address:"0x4200000000000000000000000000000000000014"},l2StandardBridge:{address:"0x4200000000000000000000000000000000000010"},l2ToL1MessagePasser:{address:"0x4200000000000000000000000000000000000016"}},formatters:l,serializers:{transaction:function(t,e){return"deposit"===t.type||void 0!==t.sourceHash?function(t){!function(t){let{from:e,to:n}=t;if(e&&!(0,d.U)(e))throw new f.b({address:e});if(n&&!(0,d.U)(n))throw new f.b({address:n})}(t);let{sourceHash:e,data:n,from:r,gas:i,isSystemTx:o,mint:a,to:s,value:u}=t,c=[e,r,s??"0x",a?(0,p.NC)(a):"0x",u?(0,p.NC)(u):"0x",i?(0,p.NC)(i):"0x",o?"0x1":"0x",n??"0x"];return(0,h.SM)(["0x7e",y(c)])}(t):function(t,e){let n=(0,D.l)(t);return"eip1559"===n?function(t,e){let{chainId:n,gas:r,nonce:i,to:o,value:a,maxFeePerGas:s,maxPriorityFeePerGas:u,accessList:c,data:l}=t;N(t);let f=j(c),d=[(0,p.NC)(n),i?(0,p.NC)(i):"0x",u?(0,p.NC)(u):"0x",s?(0,p.NC)(s):"0x",r?(0,p.NC)(r):"0x",o??"0x",a?(0,p.NC)(a):"0x",l??"0x",f,...U(t,e)];return(0,h.SM)(["0x02",y(d)])}(t,e):"eip2930"===n?function(t,e){let{chainId:n,gas:r,data:i,nonce:o,to:a,value:s,accessList:u,gasPrice:c}=t;!function(t){let{chainId:e,maxPriorityFeePerGas:n,gasPrice:r,maxFeePerGas:i,to:o}=t;if(e<=0)throw new T.hJ({chainId:e});if(o&&!(0,d.U)(o))throw new f.b({address:o});if(n||i)throw new g.G("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");if(r&&r>2n**256n-1n)throw new B.Hh({maxFeePerGas:r})}(t);let l=j(u),m=[(0,p.NC)(n),o?(0,p.NC)(o):"0x",c?(0,p.NC)(c):"0x",r?(0,p.NC)(r):"0x",a??"0x",s?(0,p.NC)(s):"0x",i??"0x",l,...U(t,e)];return(0,h.SM)(["0x01",y(m)])}(t,e):"eip4844"===n?function(t,e){let{chainId:n,gas:r,nonce:o,to:a,value:s,maxFeePerBlobGas:u,maxFeePerGas:c,maxPriorityFeePerGas:l,accessList:f,data:d}=t;!function(t){let{blobVersionedHashes:e}=t;if(e){if(0===e.length)throw new S;for(let t of e){let e=(0,M.d)(t),n=(0,i.ly)((0,k.tP)(t,0,1));if(32!==e)throw new I({hash:t,size:e});if(1!==n)throw new O({hash:t,version:n})}}N(t)}(t);let g=t.blobVersionedHashes,b=t.sidecars;if(t.blobs){let e="string"==typeof t.blobs[0]?t.blobs:t.blobs.map(t=>(0,p.ci)(t)),n=t.kzg,r=A({blobs:e,kzg:n}),i=E({blobs:e,commitments:r,kzg:n});g=function(t){let{commitments:e,version:n}=t,r=t.to??("string"==typeof e[0]?"hex":"bytes"),i=[];for(let t of e)i.push(function(t){let{commitment:e,version:n=1}=t,r=t.to??("string"==typeof e?"hex":"bytes"),i=function(t,e){let n=(0,C.J)((0,x.v)(t,{strict:!1})?(0,v.O0)(t):t);return"bytes"===(e||"hex")?n:(0,p.NC)(n)}(e,"bytes");return i.set([n],0),"bytes"===r?i:(0,p.ci)(i)}
38({commitment:t,to:r,version:n}));return i}({commitments:r}),!1!==b&&(b=function(t){let{data:e,kzg:n,to:r}=t,i=t.blobs??function(t){let e=t.to??("string"==typeof t.data?"hex":"bytes"),n="string"==typeof t.data?(0,v.nr)(t.data):t.data,r=(0,M.d)(n);if(!r)throw new S;if(r>253951)throw new P({maxSize:253951,size:r});let i=[],o=!0,a=0;for(;o;){let t=(0,m.q)(new Uint8Array(131072)),e=0;for(;e<4096;){let r=n.slice(a,a+31);if(t.pushByte(0),t.pushBytes(r),r.length<31){t.pushByte(128),o=!1;break}e++,a+=31}i.push(t)}return"bytes"===e?i.map(t=>t.bytes):i.map(t=>(0,p.ci)(t.bytes))}({data:e,to:r}),o=t.commitments??A({blobs:i,kzg:n,to:r}),a=t.proofs??E({blobs:i,commitments:o,kzg:n,to:r}),s=[];for(let t=0;t<i.length;t++)s.push({blob:i[t],commitment:o[t],proof:a[t]});return s}({blobs:e,commitments:r,proofs:i}))}let w=j(f),R=[(0,p.NC)(n),o?(0,p.NC)(o):"0x",l?(0,p.NC)(l):"0x",c?(0,p.NC)(c):"0x",r?(0,p.NC)(r):"0x",a??"0x",s?(0,p.NC)(s):"0x",d??"0x",w,u?(0,p.NC)(u):"0x",g??[],...U(t,e)],T=[],B=[],D=[];if(b)for(let t=0;t<b.length;t++){let{blob:e,commitment:n,proof:r}=b[t];T.push(e),B.push(n),D.push(r)}return(0,h.SM)(["0x03",b?y([R,T,B,D]):y(R)])}(t,e):function(t,e){let{chainId:n=0,gas:r,data:i,nonce:o,to:a,value:s,gasPrice:u}=t;!function(t){let{chainId:e,maxPriorityFeePerGas:n,gasPrice:r,maxFeePerGas:i,to:o,accessList:a}=t;if(o&&!(0,d.U)(o))throw new f.b({address:o});if(void 0!==e&&e<=0)throw new T.hJ({chainId:e});if(n||i)throw new g.G("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");if(r&&r>2n**256n-1n)throw new B.Hh({maxFeePerGas:r});if(a)throw new g.G("`accessList` is not a valid Legacy Transaction attribute.")}(t);let c=[o?(0,p.NC)(o):"0x",u?(0,p.NC)(u):"0x",r?(0,p.NC)(r):"0x",a??"0x",s?(0,p.NC)(s):"0x",i??"0x"];if(e){let t=(()=>{if(e.v>=35n)return(e.v-35n)/2n>0?e.v:27n+(35n===e.v?0n:1n);if(n>0)return BigInt(2*n)+BigInt(35n+e.v-27n);let t=27n+(27n===e.v?0n:1n);if(e.v!==t)throw new w.vl({v:e.v});return t})();c=[...c,(0,p.NC)(t),e.r,e.s]}else n>0&&(c=[...c,(0,p.NC)(n),"0x","0x"]);return y(c)}(t,e)}(t,e)}}},F=(0,r.a)({...L,id:10,name:"OP Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://mainnet.optimism.io"]}},blockExplorers:{default:{name:"Optimism Explorer",url:"https://optimistic.etherscan.io",apiUrl:"https://api-optimistic.etherscan.io/api"}},contracts:{...L.contracts,l2OutputOracle:{1:{address:"0xdfe97868233d1aa22e815a266982f2cf17685a27"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:4286263},portal:{1:{address:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"}},l1StandardBridge:{1:{address:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"}}},sourceId:1})},88499:function(t,e,n){"use strict";n.d(e,{y:function(){return r}});let r=(0,n(49535).a)({id:137,name:"Polygon",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},rpcUrls:{default:{http:["https://polygon-rpc.com"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://polygonscan.com",apiUrl:"https://api.polygonscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:25770160}}})},8974:function(t,e,n){"use strict";let r;n.d(e,{e:function(){return a}});var i=n(6090);let o=256;function a(t){let{batch:e,cacheTime:n=t.pollingInterval??4e3,key:a="base",name:s="Base Client",pollingInterval:u=4e3,type:c="base"}=t,l=t.chain,f=t.account?(0,i.T)(t.account):void 0,{config:d,request:h,value:p}=t.transport({chain:l,pollingInterval:u}),g={account:f,batch:e,cacheTime:n,chain:l,key:a,name:s,pollingInterval:u,request:h,transport:{...d,...p},type:c,uid:function(t=11){if(!r||o+t>512){r="",o=0;for(let t=0;t<256;t++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(o,o+++t)}()};return Object.assign(g,{extend:function t(e){return n=>{let r=n(e);for(let t in g)delete r[t];let i={...e,...r};return Object.assign(i,{extend:t(i)})}}(g)})}},37216:function(t,e,n){"use strict";n.d(e,{q:function(){return s}});var r=n(74334),i=n(82199),o=n(66510),a=n(70222);function s({key:t,name:e,request:n,retryCount:s=3,retryDelay:u=150,timeout:c,type:l},f){return{config:{key:t,name:e,request:n,retryCount:s,retryDelay:u,timeout:c,type:l},request:function(t,e={}){return async(n,s={})=>{let{retryDelay:u=150,retryCount:c=3}={...e,...s};return(0,a.J)(async()=>{try{return await t(n)}catch(t){switch(t.code){case o.s7.code:throw new o.s7(t);case o.B.code:throw new o.B(t);case o.LX.code:throw new o.LX(t);case o.nY.code:throw new o.nY(t);case o.XS.code:throw new o.XS(t);case o.yR.code:throw new o.yR(t);case o.Og.code:throw new o.Og(t);case o.pT.code:throw new o.pT(t);case o.KB.code:throw new o.KB(t);case o.gS.code:throw new o.gS(t);case o.Pv.code:throw new o.Pv(t);
38case o.GD.code:throw new o.GD(t);case o.ab.code:throw new o.ab(t);case o.PE.code:throw new o.PE(t);case o.Ts.code:throw new o.Ts(t);case o.u5.code:throw new o.u5(t);case o.I0.code:throw new o.I0(t);case o.x3.code:throw new o.x3(t);case 5e3:throw new o.ab(t);default:if(t instanceof r.G)throw t;throw new o.ir(t)}}},{delay:({count:t,error:e})=>{if(e&&e instanceof i.Gg){let t=e?.headers?.get("Retry-After");if(t?.match(/\d/))return 1e3*parseInt(t)}return~~(1<<t)*u},retryCount:c,shouldRetry:({error:t})=>"code"in t&&"number"==typeof t.code?-1===t.code||t.code===o.Pv.code||t.code===o.XS.code:!(t instanceof i.Gg)||!t.status||403===t.status||408===t.status||413===t.status||429===t.status||500===t.status||502===t.status||503===t.status||504===t.status})}}(n,{retryCount:s,retryDelay:u}),value:f}}},18890:function(t,e,n){"use strict";n.d(e,{d:function(){return f}});var r=n(82199),i=n(74334);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"})}}var a=n(16343),s=n(54101),u=n(19467);let c={current:0,take(){return this.current++},reset(){this.current=0}};var l=n(37216);function f(t,e={}){let{batch:n,fetchOptions:i,key:f="http",name:d="HTTP JSON-RPC",onFetchResponse:h,retryDelay:p}=e;return({chain:g,retryCount:m,timeout:v})=>{let{batchSize:y=1e3,wait:b=0}="object"==typeof n?n:{},w=e.retryCount??m,A=v??e.timeout??1e4,E=t||g?.rpcUrls.default.http[0];if(!E)throw new o;let C=function(t,e={}){return{async request(n){let{body:i,fetchOptions:o={},onResponse:a=e.onResponse,timeout:l=e.timeout??1e4}=n,{headers:f,method:d,signal:h}={...e.fetchOptions,...o};try{let e;let n=await (0,s.F)(async({signal:e})=>await fetch(t,{...o,body:Array.isArray(i)?(0,u.P)(i.map(t=>({jsonrpc:"2.0",id:t.id??c.take(),...t}))):(0,u.P)({jsonrpc:"2.0",id:i.id??c.take(),...i}),headers:{...f,"Content-Type":"application/json"},method:d||"POST",signal:h||(l>0?e:null)}),{errorInstance:new r.W5({body:i,url:t}),timeout:l,signal:!0});if(a&&await a(n),e=n.headers.get("Content-Type")?.startsWith("application/json")?await n.json():await n.text(),!n.ok)throw new r.Gg({body:i,details:(0,u.P)(e.error)||n.statusText,headers:n.headers,status:n.status,url:t});return e}catch(e){if(e instanceof r.Gg||e instanceof r.W5)throw e;throw new r.Gg({body:i,details:e.message,url:t})}}}}(E,{fetchOptions:i,onResponse:h,timeout:A});return(0,l.q)({key:f,name:d,async request({method:e,params:i}){let o={method:e,params:i},{schedule:s}=(0,a.S)({id:`${t}`,wait:b,shouldSplitBatch:t=>t.length>y,fn:t=>C.request({body:t}),sort:(t,e)=>t.id-e.id}),u=async t=>n?s(t):[await C.request({body:t})],[{error:c,result:l}]=await u(o);if(c)throw new r.bs({body:o,error:c,url:E});return l},retryCount:w,retryDelay:p,timeout:A,type:"http"},{fetchOptions:i,url:E})}}},48209:function(t,e,n){"use strict";n.d(e,{F8:function(){return r},X$:function(){return u},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"}]}],u=[{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"}]}]},23385:function(t,e,n){"use strict";n.d(e,{$:function(){return r},Up:function(){return i},hZ:function(){return o}});
38let 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"}},32545:function(t,e,n){"use strict";n.d(e,{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}},83003:function(t,e,n){"use strict";n.d(e,{CI:function(){return m},M4:function(){return c},MX:function(){return h},S4:function(){return p},dh:function(){return g},fs:function(){return l},gr:function(){return u},hn:function(){return v},wM:function(){return y},wb:function(){return s},xB:function(){return a},xL:function(){return d},yP:function(){return f}});var r=n(32610),i=n(51876),o=n(74334);class a extends o.G{constructor({data:t,params:e,size:n}){super(`Data size of ${n} bytes is too small for given parameters.`,{metaMessages:[`Params: (${(0,r.h)(e,{includeName:!0})})`,`Data: ${t} (${n} bytes)`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiDecodingDataSizeTooSmallError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t,this.params=e,this.size=n}}class s extends o.G{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.'),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiDecodingZeroDataError"})}}class u extends o.G{constructor({expectedLength:t,givenLength:e,type:n}){super(`ABI encoding array length mismatch for type ${n}. 39Expected length: ${t} 40Given length: ${e}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEncodingArrayLengthMismatchError"})}}class c extends o.G{constructor({expectedSize:t,value:e}){super(`Size of bytes "${e}" (bytes${(0,i.d)(e)}) does not match expected size (bytes${t}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEncodingBytesSizeMismatchError"})}}class l extends o.G{constructor({expectedLength:t,givenLength:e}){super(`ABI encoding params/values length mismatch. 41Expected length (params): ${t} 42Given length (values): ${e}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEncodingLengthMismatchError"})}}class f extends o.G{constructor(t,{docsPath:e}){super(`Encoded error signature "${t}" not found on ABI. 43Make sure you are using the correct ABI and that the error exists on it. 44You can look up the decoded signature here: https://openchain.xyz/signatures?query=${t}.`,{docsPath:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiErrorSignatureNotFoundError"}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=t}}class d extends o.G{constructor(t,{docsPath:e}={}){super(`Function ${t?`"${t}" `:""}not found on ABI. 45Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiFunctionNotFoundError"})}}class h extends o.G{constructor(t,{docsPath:e}){super(`Function "${t}" does not contain any \`outputs\` on ABI. 46Cannot decode function result without knowing what the parameter types are. 47Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiFunctionOutputsNotFoundError"})}}class p extends o.G{constructor(t,e){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\`${t.type}\` in \`${(0,r.t)(t.abiItem)}\`, and`,`\`${e.type}\` in \`${(0,r.t)(e.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:"AbiItemAmbiguityError"})}}class g extends o.G{constructor(t,{docsPath:e}){super(`Type "${t}" is not a valid encoding type. 48Please provide a valid ABI type.`,{docsPath:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiEncodingType"})}}class m extends o.G{constructor(t,{docsPath:e}){super(`Type "${t}" is not a valid decoding type. 49Please provide a valid ABI type.`,{docsPath:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiDecodingType"})}}class v extends o.G{constructor(t){super(`Value "${t}" is not a valid array.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidArrayError"})}}class y extends o.G{constructor(t){super(`"${t}" is not a valid definition type. 50Valid types: "function", "event", "error"`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidDefinitionTypeError"})}}},53547:function(t,e,n){"use strict";n.d(e,{Bk:function(){return a},Yl:function(){return o},hJ:function(){return u},mm:function(){return i},pZ:function(){return s}});var r=n(74334);class i extends r.G{constructor({blockNumber:t,chain:e,contract:n}){super(`Chain "${e.name}" does not support contract "${n.name}".`,{metaMessages:["This could be due to any of the following:",...t&&n.blockCreated&&n.blockCreated>t?[`- The contract "${n.name}" was not deployed until block ${n.blockCreated} (current block ${t}).`]:[`- The chain does not have the contract "${n.name}" configured.`]]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainDoesNotSupportContract"})}}class o extends r.G{constructor({chain:t,currentChainId:e}){super(`The current chain of the wallet (id: ${e}) does not match the target chain for the transaction (id: ${t.id} â ${t.name}).`,{metaMessages:[`Current Chain ID: ${e}`,`Expected Chain ID: ${t.id} â ${t.name}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"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."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainNotFoundError"})}}class s extends r.G{constructor(){super("No chain was provided to the Client."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ClientChainNotConfiguredError"})}}class u extends r.G{constructor({chainId:t}){super("number"==typeof t?`Chain ID "${t}
50" is invalid.`:"Chain ID is invalid."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidChainIdError"})}}},10330:function(t,e,n){"use strict";n.d(e,{cg:function(){return v},uq:function(){return y},Lu:function(){return b},Dk:function(){return w},VQ:function(){return A}});var r=n(6090),i=n(23385),o=n(15619),a=n(32610),s=n(19467);function u({abiItem:t,args:e,includeFunctionName:n=!0,includeName:r=!1}){if("name"in t&&"inputs"in t&&t.inputs)return`${n?t.name:""}(${t.inputs.map((t,n)=>`${r&&t.name?`${t.name}: `:""}${"object"==typeof e[n]?(0,s.P)(e[n]):e[n]}`).join(", ")})`}var c=n(43206),l=n(94990),f=n(55325),d=n(83003),h=n(74334),p=n(70015),g=n(4159),m=n(10592);class v extends h.G{constructor(t,{account:e,docsPath:n,chain:i,data:o,gas:a,gasPrice:s,maxFeePerGas:u,maxPriorityFeePerGas:c,nonce:d,to:h,value:m,stateOverride:v}){let y=e?(0,r.T)(e):void 0,b=(0,g.xr)({from:y?.address,to:h,value:void 0!==m&&`${(0,l.d)(m)} ${i?.nativeCurrency?.symbol||"ETH"}`,data:o,gas:a,gasPrice:void 0!==s&&`${(0,f.o)(s)} gwei`,maxFeePerGas:void 0!==u&&`${(0,f.o)(u)} gwei`,maxPriorityFeePerGas:void 0!==c&&`${(0,f.o)(c)} gwei`,nonce:d});v&&(b+=` 51${(0,p.Bj)(v)}`),super(t.shortMessage,{cause:t,docsPath:n,metaMessages:[...t.metaMessages?[...t.metaMessages," "]:[],"Raw Call Arguments:",b].filter(Boolean)}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CallExecutionError"}),this.cause=t}}class y extends h.G{constructor(t,{abi:e,args:n,contractAddress:r,docsPath:i,functionName:o,sender:s}){let l=(0,c.mE)({abi:e,args:n,name:o}),f=l?u({abiItem:l,args:n,includeFunctionName:!1,includeName:!1}):void 0;super(t.shortMessage||`An unknown error occurred while executing the contract function "${o}".`,{cause:t,docsPath:i,metaMessages:[...t.metaMessages?[...t.metaMessages," "]:[],"Contract Call:",(0,g.xr)({address:r&&(0,m.CR)(r),function:l?(0,a.t)(l,{includeName:!0}):void 0,args:f&&"()"!==f&&`${[...Array(o?.length??0).keys()].map(()=>" ").join("")}${f}`,sender:s})].filter(Boolean)}),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}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ContractFunctionExecutionError"}),this.abi=e,this.args=n,this.cause=t,this.contractAddress=r,this.functionName=o,this.sender=s}}class b extends h.G{constructor({abi:t,data:e,functionName:n,message:r}){let s,c,l,f,h;if(e&&"0x"!==e)try{let{abiItem:n,errorName:r,args:s}=h=(0,o.p)({abi:t,data:e});if("Error"===r)l=s[0];else if("Panic"===r){let[t]=s;l=i.$[t]}else{let t=n?(0,a.t)(n,{includeName:!0}):void 0,e=n&&s?u({abiItem:n,args:s,includeFunctionName:!1,includeName:!1}):void 0;c=[t?`Error: ${t}`:"",e&&"()"!==e?` ${[...Array(r?.length??0).keys()].map(()=>" ").join("")}${e}`:""]}}catch(t){s=t}else r&&(l=r);s instanceof d.yP&&(f=s.signature,c=[`Unable to decode signature "${f}" 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=${f}.`]),super(l&&"execution reverted"!==l||f?[`The contract function "${n}" reverted with the following ${f?"signature":"reason"}:`,l||f].join("\n"):`The contract function "${n}" reverted.`,{cause:s,metaMessages:c}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ContractFunctionRevertedError"}),Object.defineProperty(this,"data",{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.reason=l,this.signature=f}}class w extends h.G{constructor({functionName:t}){super(`The contract function "${t}" returned no data ("0x").`,{metaMessages:["This could be due to any of the following:",` - The contract does not have the function "${t}",`," - The parameters passed to the contract function may be invalid, or"," - The address is not a contract."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ContractFunctionZeroDataError"})}}class A extends h.G{constructor({data:t,message:e}){super(e||""),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RawContractError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t}}},18851:function(t,e,n){"use strict";n.d(e,{C_:function(){return f},G$:function(){return s},Hh:function(){return a},M_:function(){return o},WF:function(){return d},ZI:function(){return u},cj:function(){return m},cs:function(){return g},dR:function(){return h},pZ:function(){return p},se:function(){return l},vU:function(){return c}});var r=n(55325),i=n(74334);class o extends i.G{constructor({cause:t,message:e}={}){let n=e?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${n?`with reason: ${n}`:"for an unknown reason"}.`,{cause:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"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:t,maxFeePerGas:e}={}){super(`The fee cap (\`maxFeePerGas\`${e?` = ${(0,r.o)(e)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"FeeCapTooHigh"})}}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:t,maxFeePerGas:e}={}){super(`The fee cap (\`maxFeePerGas\`${e?` = ${(0,r.o)(e)}`:""} gwei) cannot be lower than the block base fee.`,{cause:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"FeeCapTooLow"})}}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 u extends i.G{constructor({cause:t,nonce:e}={}){super(`Nonce provided for the transaction ${e?`(${e}) `:""}is higher than the next one expected.`,{cause:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"NonceTooHighError"})}}Object.defineProperty(u,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class c extends i.G{constructor({cause:t,nonce:e}={}){super(`Nonce provided for the transaction ${e?`(${e}) `:""}is lower than the current nonce of the account.
52Try increasing the nonce or find the latest nonce with \`getTransactionCount\`.`,{cause:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"NonceTooLowError"})}}Object.defineProperty(c,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class l extends i.G{constructor({cause:t,nonce:e}={}){super(`Nonce provided for the transaction ${e?`(${e}) `:""}exceeds the maximum allowed nonce.`,{cause:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"NonceMaxValueError"})}}Object.defineProperty(l,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class f extends i.G{constructor({cause:t}={}){super("The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.",{cause:t,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."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InsufficientFundsError"})}}Object.defineProperty(f,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds/});class d extends i.G{constructor({cause:t,gas:e}={}){super(`The amount of gas ${e?`(${e}) `:""}provided for the transaction exceeds the limit allowed for the block.`,{cause:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"IntrinsicGasTooHighError"})}}Object.defineProperty(d,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class h extends i.G{constructor({cause:t,gas:e}={}){super(`The amount of gas ${e?`(${e}) `:""}provided for the transaction is too low.`,{cause:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"IntrinsicGasTooLowError"})}}Object.defineProperty(h,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class p extends i.G{constructor({cause:t}){super("The transaction type is not supported for this chain.",{cause:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionTypeNotSupportedError"})}}Object.defineProperty(p,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class g extends i.G{constructor({cause:t,maxPriorityFeePerGas:e,maxFeePerGas:n}={}){super(`The provided tip (\`maxPriorityFeePerGas\`${e?` = ${(0,r.o)(e)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${n?` = ${(0,r.o)(n)} gwei`:""}).`,{cause:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TipAboveFeeCapError"})}}Object.defineProperty(g,"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 m extends i.G{constructor({cause:t}){super(`An error occurred while executing: ${t?.shortMessage}`,{cause:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownNodeError"})}}},82199:function(t,e,n){"use strict";n.d(e,{Gg:function(){return a},W5:function(){return u},bs:function(){return s}});var r=n(19467),i=n(74334),o=n(10592);class a extends i.G{constructor({body:t,details:e,headers:n,status:i,url:a}){super("HTTP request failed.",{details:e,metaMessages:[i&&`Status: ${i}`,`URL: ${(0,o.Gr)(a)}`,t&&`Request body: ${(0,r.P)(t)}`].filter(Boolean)}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"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=t,this.headers=n,this.status=i,this.url=a}}class s extends i.G{constructor({body:t,error:e,url:n}){super("RPC Request failed.",{cause:e,details:e.message,metaMessages:[`URL: ${(0,o.Gr)(n)}`,`Request body: ${(0,r.P)(t)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=e.code}}class u extends i.G{constructor({body:t,url:e}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,o.Gr)(e)}`,`Request body: ${(0,r.P)(t)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TimeoutError"})}}},66510:function(t,e,n){"use strict";n.d(e,{B:function(){return u},GD:function(){return y},I0:function(){return C},KB:function(){return g},LX:function(){return c},Og:function(){return h},PE:function(){return w},Pv:function(){return v},Ts:function(){return A},XS:function(){return f},ab:function(){return b},gS:function(){return m},ir:function(){return P},nY:function(){return l},pT:function(){return p},s7:function(){return s},u5:function(){return E},x3:function(){return x},yR:function(){return d}});var r=n(74334),i=n(82199);class o extends r.G{constructor(t,{code:e,docsPath:n,metaMessages:r,shortMessage:o}
52){super(o,{cause:t,docsPath:n,metaMessages:r||t?.metaMessages}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=t.name,this.code=t instanceof i.bs?t.code:e??-1}}class a extends o{constructor(t,e){super(t,e),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderRpcError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=e.data}}class s extends o{constructor(t){super(t,{code:s.code,shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ParseRpcError"})}}Object.defineProperty(s,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class u extends o{constructor(t){super(t,{code:u.code,shortMessage:"JSON is not a valid request object."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidRequestRpcError"})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class c extends o{constructor(t){super(t,{code:c.code,shortMessage:"The method does not exist / is not available."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"MethodNotFoundRpcError"})}}Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class l extends o{constructor(t){super(t,{code:l.code,shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParamsRpcError"})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class f extends o{constructor(t){super(t,{code:f.code,shortMessage:"An internal error was received."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InternalRpcError"})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class d extends o{constructor(t){super(t,{code:d.code,shortMessage:"Missing or invalid parameters.\nDouble check you have provided the correct parameters."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidInputRpcError"})}}Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class h extends o{constructor(t){super(t,{code:h.code,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(t){super(t,{code:p.code,shortMessage:"Requested resource not available."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceUnavailableRpcError"})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class g extends o{constructor(t){super(t,{code:g.code,shortMessage:"Transaction creation failed."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionRejectedRpcError"})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class m extends o{constructor(t){super(t,{code:m.code,shortMessage:"Method is not implemented."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"MethodNotSupportedRpcError"})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class v extends o{constructor(t){super(t,{code:v.code,shortMessage:"Request exceeds defined limit."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"LimitExceededRpcError"})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class y extends o{constructor(t){super(t,{code:y.code,shortMessage:"Version of JSON-RPC protocol is not supported."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"JsonRpcVersionUnsupportedError"})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class b extends a{constructor(t){super(t,{code:b.code,shortMessage:"User rejected the request."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UserRejectedRequestError"})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class w extends a{constructor(t){super(t,{code:w.code,shortMessage:"The requested method and/or account has not been authorized by the user."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnauthorizedProviderError"})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class A extends a{constructor(t){super(t,{code:A.code,shortMessage:"The Provider does not support the requested method."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnsupportedProviderMethodError"})}}Object.defineProperty(A,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class E extends a{constructor(t){super(t,{code:E.code,shortMessage:"The Provider is disconnected from all chains."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderDisconnectedError"})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class C extends a{constructor(t){super(t,{code:C.code,shortMessage:"The Provider is not connected to the requested chain."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainDisconnectedError"})}}Object.defineProperty(C,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class x extends a{constructor(t){super(t,{code:x.code,shortMessage:"An error occurred when attempting to switch chain."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SwitchChainError"})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class P extends o{constructor(t){super(t,{shortMessage:"An unknown RPC error occurred."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownRpcError"})}}},70015:function(t,e,n){"use strict";n.d(e,{Bj:function(){return s},Nc:function(){return i},Z8:function(){return o}});var r=n(74334);class i extends r.G{constructor({address:t}){super(`State for account "${t}" is set multiple times.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AccountStateConflictError"})}}class o extends r.G{constructor(){super("state and stateDiff are set on the same account."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"StateAssignmentC
52onflictError"})}}function a(t){return t.reduce((t,{slot:e,value:n})=>`${t} ${e}: ${n} 53`,"")}function s(t){return t.reduce((t,{address:e,...n})=>{let r=`${t} ${e}: 54`;return n.nonce&&(r+=` nonce: ${n.nonce} 55`),n.balance&&(r+=` balance: ${n.balance} 56`),n.code&&(r+=` code: ${n.code} 57`),n.state&&(r+=" state:\n"+a(n.state)),n.stateDiff&&(r+=" stateDiff:\n"+a(n.stateDiff)),r}," State Override:\n").slice(0,-1)}},4159:function(t,e,n){"use strict";n.d(e,{JC:function(){return l},j3:function(){return c},mk:function(){return f},vl:function(){return u},xY:function(){return s},xr:function(){return a}});var r=n(94990),i=n(55325),o=n(74334);function a(t){let e=Object.entries(t).map(([t,e])=>void 0===e||!1===e?null:[t,e]).filter(Boolean),n=e.reduce((t,[e])=>Math.max(t,e.length),0);return e.map(([t,e])=>` ${`${t}:`.padEnd(n+1)} ${e}`).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."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"FeeConflictError"})}}class u extends o.G{constructor({v:t}){super(`Invalid \`v\` value "${t}". Expected 27 or 28.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidLegacyVError"})}}class c extends o.G{constructor({transaction:t}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",a(t),"}","","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","- a Legacy Transaction with `gasPrice`"]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSerializableTransactionError"})}}class l extends o.G{constructor({storageKey:t}){super(`Size for storage key "${t}" is invalid. Expected 32 bytes. Got ${Math.floor((t.length-2)/2)} bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStorageKeySizeError"})}}class f extends o.G{constructor(t,{account:e,docsPath:n,chain:o,data:s,gas:u,gasPrice:c,maxFeePerGas:l,maxPriorityFeePerGas:f,nonce:d,to:h,value:p}){super(t.shortMessage,{cause:t,docsPath:n,metaMessages:[...t.metaMessages?[...t.metaMessages," "]:[],"Request Arguments:",a({chain:o&&`${o?.name} (id: ${o?.id})`,from:e?.address,to:h,value:void 0!==p&&`${(0,r.d)(p)} ${o?.nativeCurrency?.symbol||"ETH"}`,data:s,gas:u,gasPrice:void 0!==c&&`${(0,i.o)(c)} gwei`,maxFeePerGas:void 0!==l&&`${(0,i.o)(l)} gwei`,maxPriorityFeePerGas:void 0!==f&&`${(0,i.o)(f)} gwei`,nonce:d})].filter(Boolean)}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionExecutionError"}),this.cause=t}}},18679:function(t,e,n){"use strict";n.d(e,{r:function(){return g}});var r=n(83003),i=n(31554),o=n(23485),a=n(51876),s=n(86428),u=n(61733),c=n(4795),l=n(1016),f=n(67156);function d(t,e={}){void 0!==e.size&&(0,l.Yf)(t,{size:e.size});let n=(0,f.ci)(t,e);return(0,l.ly)(n,e)}var h=n(24225),p=n(30702);function g(t,e){let n="string"==typeof e?(0,h.nr)(e):e,g=(0,o.q)(n);if(0===(0,a.d)(n)&&t.length>0)throw new r.wb;if((0,a.d)(e)&&32>(0,a.d)(e))throw new r.xB({data:"string"==typeof e?e:(0,f.ci)(e),params:t,size:(0,a.d)(e)});let v=0,y=[];for(let e=0;e<t.length;++e){let n=t[e];g.setPosition(v);let[o,a]=function t(e,n,{staticPosition:o}){let a=(0,p.S)(n.type);if(a){let[r,i]=a;return function(e,n,{length:r,staticPosition:i}){if(!r){let r=i+d(e.readBytes(32)),o=r+32;e.setPosition(r);let a=d(e.readBytes(32)),s=m(n),u=0,c=[];for(let r=0;r<a;++r){e.setPosition(o+(s?32*r:u));let[i,a]=t(e,n,{staticPosition:o});u+=a,c.push(i)}return e.setPosition(i+32),[c,32]}if(m(n)){let o=i+d(e.readBytes(32)),a=[];for(let i=0;i<r;++i){e.setPosition(o+32*i);let[r]=t(e,n,{staticPosition:o});a.push(r)}return e.setPosition(i+32),[a,32]}let o=0,a=[];for(let s=0;s<r;++s){let[r,s]=t(e,n,{staticPosition:i+o});o+=s,a.push(r)}return[a,o]}(e,{...n,type:i},{length:r,staticPosition:o})}if("tuple"===n.type)return function(e,n,{staticPosition:r}
57){let i=0===n.components.length||n.components.some(({name:t})=>!t),o=i?[]:{},a=0;if(m(n)){let s=r+d(e.readBytes(32));for(let r=0;r<n.components.length;++r){let u=n.components[r];e.setPosition(s+a);let[c,l]=t(e,u,{staticPosition:s});a+=l,o[i?r:u?.name]=c}return e.setPosition(r+32),[o,32]}for(let s=0;s<n.components.length;++s){let u=n.components[s],[c,l]=t(e,u,{staticPosition:r});o[i?s:u?.name]=c,a+=l}return[o,a]}(e,n,{staticPosition:o});if("address"===n.type)return function(t){let e=t.readBytes(32);return[(0,i.x)((0,f.ci)((0,s.T4)(e,-20))),32]}(e);if("bool"===n.type)return[function(t,e={}){let n=t;if(void 0!==e.size&&((0,l.Yf)(n,{size:e.size}),n=(0,u.f)(n)),n.length>1||n[0]>1)throw new c.yr(n);return!!n[0]}(e.readBytes(32),{size:32}),32];if(n.type.startsWith("bytes"))return function(t,e,{staticPosition:n}){let[r,i]=e.type.split("bytes");if(!i){let e=d(t.readBytes(32));t.setPosition(n+e);let r=d(t.readBytes(32));if(0===r)return t.setPosition(n+32),["0x",32];let i=t.readBytes(r);return t.setPosition(n+32),[(0,f.ci)(i),32]}return[(0,f.ci)(t.readBytes(parseInt(i),32)),32]}(e,n,{staticPosition:o});if(n.type.startsWith("uint")||n.type.startsWith("int"))return function(t,e){let n=e.type.startsWith("int"),r=parseInt(e.type.split("int")[1]||"256"),i=t.readBytes(32);return[r>48?function(t,e={}){void 0!==e.size&&(0,l.Yf)(t,{size:e.size});let n=(0,f.ci)(t,e);return(0,l.y_)(n,e)}(i,{signed:n}):d(i,{signed:n}),32]}(e,n);if("string"===n.type)return function(t,{staticPosition:e}){let n=d(t.readBytes(32));t.setPosition(e+n);let r=d(t.readBytes(32));if(0===r)return t.setPosition(e+32),["",32];let i=t.readBytes(r,32),o=function(t,e={}){let n=t;return void 0!==e.size&&((0,l.Yf)(n,{size:e.size}),n=(0,u.f)(n,{dir:"right"})),new TextDecoder().decode(n)}((0,u.f)(i));return t.setPosition(e+32),[o,32]}(e,{staticPosition:o});throw new r.CI(n.type,{docsPath:"/docs/contract/decodeAbiParameters"})}(g,n,{staticPosition:0});v+=a,y.push(o)}return y}function m(t){let{type:e}=t;if("string"===e||"bytes"===e||e.endsWith("[]"))return!0;if("tuple"===e)return t.components?.some(m);let n=(0,p.S)(t.type);return!!(n&&m({...t,type:n[1]}))}},15619:function(t,e,n){"use strict";n.d(e,{p:function(){return c}});var r=n(23385),i=n(83003),o=n(86428),a=n(78300),s=n(18679),u=n(32610);function c(t){let{abi:e,data:n}=t,c=(0,o.tP)(n,0,4);if("0x"===c)throw new i.wb;let l=[...e||[],r.Up,r.hZ].find(t=>"error"===t.type&&c===(0,a.C)((0,u.t)(t)));if(!l)throw new i.yP(c,{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}}},70149:function(t,e,n){"use strict";n.d(e,{k:function(){return s}});var r=n(83003),i=n(18679),o=n(43206);let a="/docs/contract/decodeFunctionResult";function s(t){let{abi:e,args:n,functionName:s,data:u}=t,c=e[0];if(s){let t=(0,o.mE)({abi:e,args:n,name:s});if(!t)throw new r.xL(s,{docsPath:a});c=t}if("function"!==c.type)throw new r.xL(void 0,{docsPath:a});if(!c.outputs)throw new r.MX(c.name,{docsPath:a});let l=(0,i.r)(c.outputs,u);return l&&l.length>1?l:l&&1===l.length?l[0]:void 0}},30702:function(t,e,n){"use strict";n.d(e,{E:function(){return d},S:function(){return p}});var r=n(83003),i=n(28498),o=n(74334),a=n(58756),s=n(10483),u=n(7428),c=n(51876),l=n(86428),f=n(67156);function d(t,e){if(t.length!==e.length)throw new r.fs({expectedLength:t.length,givenLength:e.length});let n=h(function({params:t,values:e}){let n=[];for(let d=0;d<t.length;d++)n.push(function t({param:e,value:n}){let d=p(e.type);if(d){let[i,o]=d;return function(e,{length:n,param:i}){let o=null===n;if(!Array.isArray(e))throw new r.hn(e);if(!o&&e.length!==n)throw new r.gr({expectedLength:n,givenLength:e.length,type:`${i.type}[${n}]`});let a=!1,u=[];for(let n=0;n<e.length;n++){let r=t({param:i,value:e[n]});r.dynamic&&(a=!0),u.push(r)}if(o||a){let t=h(u);if(o){let e=(0,f.eC)(u.length,{size:32});return{dynamic:!0,encoded:u.length>0?(0,s.zo)([e,t]):e}}if(a)return{dynamic:!0,encoded:t}}return{dynamic:!1,encoded:(0,s.zo)(u.map(({encoded:t})=>t))}}(n,{length:i,param:{...e,type:o}})}if("tuple"===e.type)return function(e,{param:n}){let r=!1,i=[];for(let o=0;o<n.components.length;o++){let a=n.components[o],s=Array.isArray(e)?o:a.name,u=t({param:a,value:e[s]});i.push(u),u.dynamic&&(r=!0)}return{dynamic:r,encoded:r?h(i):(0,s.zo)(i.map(({encoded:t})=>t))}}(n,{param:e});if("address"===e.type)return function(t){if(!(0,a.U)(t))throw new i.b({address:t});return{dynamic:!1,encoded:(0,u.gc)(t.toLowerCase())}}(n);if("bool"===e.type)return function(t){if("boolean"!=typeof t)throw new o.G(`Invalid boolean value: "${t}" (type: ${typeof t}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:(0,u.gc)((0,f.C4)(t))}}(n);if(e.type.startsWith("uint")||e.type.startsWith("int"))return function(t,{signed:e}
57){return{dynamic:!1,encoded:(0,f.eC)(t,{size:32,signed:e})}}(n,{signed:e.type.startsWith("int")});if(e.type.startsWith("bytes"))return function(t,{param:e}){let[,n]=e.type.split("bytes"),i=(0,c.d)(t);if(!n){let e=t;return i%32!=0&&(e=(0,u.gc)(e,{dir:"right",size:32*Math.ceil((t.length-2)/2/32)})),{dynamic:!0,encoded:(0,s.zo)([(0,u.gc)((0,f.eC)(i,{size:32})),e])}}if(i!==parseInt(n))throw new r.M4({expectedSize:parseInt(n),value:t});return{dynamic:!1,encoded:(0,u.gc)(t,{dir:"right"})}}(n,{param:e});if("string"===e.type)return function(t){let e=(0,f.$G)(t),n=Math.ceil((0,c.d)(e)/32),r=[];for(let t=0;t<n;t++)r.push((0,u.gc)((0,l.tP)(e,32*t,(t+1)*32),{dir:"right"}));return{dynamic:!0,encoded:(0,s.zo)([(0,u.gc)((0,f.eC)((0,c.d)(e),{size:32})),...r])}}(n);throw new r.dh(e.type,{docsPath:"/docs/contract/encodeAbiParameters"})}({param:t[d],value:e[d]}));return n}({params:t,values:e}));return 0===n.length?"0x":n}function h(t){let e=0;for(let n=0;n<t.length;n++){let{dynamic:r,encoded:i}=t[n];r?e+=32:e+=(0,c.d)(i)}let n=[],r=[],i=0;for(let o=0;o<t.length;o++){let{dynamic:a,encoded:s}=t[o];a?(n.push((0,f.eC)(e+i,{size:32})),r.push(s),i+=(0,c.d)(s)):n.push(s)}return(0,s.zo)([...n,...r])}function p(t){let e=t.match(/^(.*)\[(\d+)?\]$/);return e?[e[2]?Number(e[2]):null,e[1]]:void 0}},66451:function(t,e,n){"use strict";n.d(e,{R:function(){return l}});var r=n(10483),i=n(30702),o=n(83003),a=n(78300),s=n(32610),u=n(43206);let c="/docs/contract/encodeFunctionData";function l(t){let{args:e}=t,{abi:n,functionName:l}=1===t.abi.length&&t.functionName?.startsWith("0x")?t:function(t){let{abi:e,args:n,functionName:r}=t,i=e[0];if(r){let t=(0,u.mE)({abi:e,args:n,name:r});if(!t)throw new o.xL(r,{docsPath:c});i=t}if("function"!==i.type)throw new o.xL(void 0,{docsPath:c});return{abi:[i],functionName:(0,a.C)((0,s.t)(i))}}
57(t),f=n[0],d="inputs"in f&&f.inputs?(0,i.E)(f.inputs,e??[]):void 0;return(0,r.SM)([l,d??"0x"])}},32610:function(t,e,n){"use strict";n.d(e,{h:function(){return o},t:function(){return i}});var r=n(83003);function i(t,{includeName:e=!1}={}){if("function"!==t.type&&"event"!==t.type&&"error"!==t.type)throw new r.wM(t.type);return`${t.name}(${o(t.inputs,{includeName:e})})`}function o(t,{includeName:e=!1}={}){return t?t.map(t=>(function(t,{includeName:e}){return t.type.startsWith("tuple")?`(${o(t.components,{includeName:e})})${t.type.slice(5)}`:t.type+(e&&t.name?` ${t.name}`:"")})(t,{includeName:e})).join(e?", ":","):""}},43206:function(t,e,n){"use strict";n.d(e,{mE:function(){return u}});var r=n(83003),i=n(97245),o=n(58756);let a=n(46744).r;var s=n(78300);function u(t){let e;let{abi:n,args:u=[],name:c}=t,l=(0,i.v)(c,{strict:!1}),f=n.filter(t=>l?"function"===t.type?(0,s.C)(t)===c:"event"===t.type&&a(t)===c:"name"in t&&t.name===c);if(0!==f.length){if(1===f.length)return f[0];for(let t of f)if("inputs"in t){if(!u||0===u.length){if(!t.inputs||0===t.inputs.length)return t;continue}
57if(t.inputs&&0!==t.inputs.length&&t.inputs.length===u.length&&u.every((e,n)=>{let r="inputs"in t&&t.inputs[n];return!!r&&function t(e,n){let r=typeof e,i=n.type;switch(i){case"address":return(0,o.U)(e,{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)=>t(Object.values(e)[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||e instanceof Uint8Array;if(/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(i))return Array.isArray(e)&&e.every(e=>t(e,{...n,type:i.replace(/(\[[0-9]{0,}\])$/,"")}));return!1}}(e,r)})){if(e&&"inputs"in e&&e.inputs){let n=function t(e,n,r){for(let i in e){let a=e[i],s=n[i];if("tuple"===a.type&&"tuple"===s.type&&"components"in a&&"components"in s)return t(a.components,s.components,r[i]);let u=[a.type,s.type];if(u.includes("address")&&u.includes("bytes20")||(u.includes("address")&&u.includes("string")||u.includes("address")&&u.includes("bytes"))&&(0,o.U)(r[i],{strict:!1}))return u}}(t.inputs,e.inputs,u);if(n)throw new r.S4({abiItem:t,type:n[0]},{abiItem:e,type:n[1]})}e=t}}return e||f[0]}}},49535:function(t,e,n){"use strict";function r(t){return{formatters:void 0,fees:void 0,serializers:void 0,...t}}n.d(e,{a:function(){return r}})},13537:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(53547);function i({blockNumber:t,chain:e,contract:n}){let i=e?.contracts?.[n];if(!i)throw new r.mm({chain:e,contract:{name:n}});if(t&&i.blockCreated&&i.blockCreated>t)throw new r.mm({blockNumber:t,chain:e,contract:{name:n,blockCreated:i.blockCreated}});return i.address}},23485:function(t,e,n){"use strict";n.d(e,{q:function(){return u}});var r=n(74334);class i extends r.G{constructor({offset:t}){super(`Offset \`${t}\` cannot be negative.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"NegativeOffsetError"})}}class o extends r.G{constructor({length:t,position:e}){super(`Position \`${e}\` is out of bounds (\`0 < position < ${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PositionOutOfBoundsError"})}}class a extends r.G{constructor({count:t,limit:e}){super(`Recursive read limit of \`${e}\` exceeded (recursive read count: \`${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RecursiveReadLimitExceededError"})}}let s={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:1/0,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new a({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(t){if(t<0||t>this.bytes.length-1)throw new o({length:this.bytes.length,position:t})},decrementPosition(t){if(t<0)throw new i({offset:t});let e=this.position-t;this.assertPosition(e),this.position=e},getReadCount(t){return this.positionReadCount.get(t||this.position)||0},incrementPosition(t){if(t<0)throw new i({offset:t});let e=this.position+t;this.assertPosition(e),this.position=e},inspectByte(t){let e=t??this.position;return this.assertPosition(e),this.bytes[e]},inspectBytes(t,e){let n=e??this.position;return this.assertPosition(n+t-1),this.bytes.subarray(n,n+t)},inspectUint8(t){let e=t??this.position;return this.assertPosition(e),this.bytes[e]},inspectUint16(t){let e=t??this.position;return this.assertPosition(e+1),this.dataView.getUint16(e)},inspectUint24(t){let e=t??this.position;return this.assertPosition(e+2),(this.dataView.getUint16(e)<<8)+this.dataView.getUint8(e+2)},inspectUint32(t){let e=t??this.position;return this.assertPosition(e+3),this.dataView.getUint32(e)},pushByte(t){this.assertPosition(this.position),this.bytes[this.position]=t,this.position++},pushBytes(t){this.assertPosition(this.position+t.length-1),this.bytes.set(t,this.position),this.position+=t.length},pushUint8(t){this.assertPosition(this.position),this.bytes[this.position]=t,this.position++},pushUint16(t){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,t),this.position+=2},pushUint24(t){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,t>>8),this.dataView.setUint8(this.position+2,255&t),this.position+=3},pushUint32(t){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,t),this.position+=4},readByte(){this.assertReadLimit(),this._touch();let t=this.inspectByte();return this.position++,t},readBytes(t,e){this.assertReadLimit(),this._touch();let n=this.inspectBytes(t);return this.position+=e??t,n},readUint8(){this.assertReadLimit(),this._touch();let t=this.inspectUint8();return this.position+=1,t},readUint16(){this.assertReadLimit(),this._touch();let t=this.inspectUint16();return this.position+=2,t},readUint24(){this.assertReadLimit(),this._touch();let t=this.inspectUint24();return this.position+=3,t},readUint32(){this.assertReadLimit(),this._touch();let t=this.inspectUint32();return this.position+=4,t},get remaining(){return this.bytes.length-this.position},setPosition(t){let e=this.position;return this.assertPosition(t),this.position=t,()=>this.position=e},_touch(){if(this.recursiveReadLimit===1/0)return;let t=this.getReadCount();this.positionReadCount.set(this.position,t+1),t>0&&this.recursiveReadCount++}};function u(t,{recursiveReadLimit:e=8192}={}){let n=Object.create(s);return n.bytes=t,n.dataView=new DataView(t.buffer,t.byteOffset,t.byteLength),n.positionReadCount=new Map,n.recursiveReadLimit=e,n}},10483:function(t,e,n){"use strict";function r(t){return"string"==typeof t[0]?i(t):function(t){let e=0;for(let n of t)e+=n.length;let n=new Uint8Array(e),r=0;for(let e of t)n.set(e,r),r+=e.length;return n}(t)}function i(t){return`0x${t.reduce((t,e)=>t+e.replace("0x",""),"")}`}n.d(e,{SM:function(){return i},zo:function(){return r}})},86428:function(t,e,n){"use strict";n.d(e,{T4:function(){return c},tP:function(){return a}});var r=n(18360),i=n(97245),o=n(51876);function a(t,e,n,{strict:r}={}){return(0,i.v)(t,{strict:!1})?function(t,e,n,{strict:r}={}){s(t,e);let i=`0x${t.replace("0x","").slice((e??0)*2,(n??t.length)*2)}`;return r&&u(i,e,n),i}(t,e,n,{strict:r}):c(t,e,n,{strict:r})}function s(t,e){if("number"==typeof e&&e>0&&e>(0,o.d)(t)-1)throw new r.mV({offset:e,position:"start",size:(0,o.d)(t)})}function u(t,e,n){if("number"==typeof e&&"number"==typeof n&&(0,o.d)(t)!==n-e)throw new r.mV({offset:n,position:"end",size:(0,o.d)(t)})}function c(t,e,n,{strict:r}={}){s(t,e);let i=t.slice(e,n);return r&&u(i,e,n),i}},70078:function(t,e,n){"use strict";n.d(e,{i:function(){return i}});var r=n(97245);function i(t){if(66!==t.length||0!==t.indexOf("[")||65!==t.indexOf("]"))return null;let e=`0x${t.slice(1,65)}`;return(0,r.v)(e)?e:null}},68642:function(t,e,n){"use strict";n.d(e,{c:function(){return a}});var r=n(23385),i=n(74334),o=n(10330);function a(t,e){if(!(t instanceof i.G))return!1;let n=t.walk(t=>t 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"===e&&n.reason===r.$[50])}},66475:function(t,e,n){"use strict";n.d(e,{V:function(){return u}});var r=n(10483),i=n(24225),o=n(67156),a=n(82535),s=n(70078);function u(t){let e=new Uint8Array(32).fill(0);if(!t)return(0,o.ci)(e);let n=t.split(".");for(let t=n.length-1;t>=0;t-=1){let o=(0,s.i)(n[t]),u=o?(0,i.O0)(o):(0,a.w)((0,i.qX)(n[t]),"bytes");e=(0,a.w)((0,r.zo)([e,u]),"bytes")}return(0,o.ci)(e)}},26239:function(t,e,n){"use strict";let r,i,o,a,s,u,c,l,f,d,h,p,g,m,v;n.d(e,{F:function(){return H}});let y=new Map([[8217,"apostrophe"],[8260,"fraction slash"],[12539,"middle dot"]]);function b(t){var e;let n;return e=function(t){let e=0;function n(){return t[e++]<<8|t[e++]}let r=n(),i=1,o=[0,1];for(let t=1;t<r;t++)o.push(i+=n());let a=n(),s=e;e+=a;let u=0,c=0;function l(){return 0==u&&(c=c<<8|t[e++],u=8),c>>--u&1}let f=2147483648-1,d=0;for(let t=0;t<31;
57t++)d=d<<1|l();let h=[],p=0,g=2147483648;for(;;){let t=Math.floor(((d-p+1)*i-1)/g),e=0,n=r;for(;n-e>1;){let r=e+n>>>1;t<o[r]?n=r:e=r}if(0==e)break;h.push(e);let a=p+Math.floor(g*o[e]/i),s=p+Math.floor(g*o[e+1]/i)-1;for(;((a^s)&1073741824)==0;)d=d<<1&f|l(),a=a<<1&f,s=s<<1&f|1;for(;a&~s&536870912;)d=1073741824&d|d<<1&f>>>1|l(),a=a<<1^1073741824,s=(1073741824^s)<<1|1073741825;p=a,g=1+s-a}let m=r-4;return h.map(e=>{switch(e-m){case 3:return m+65792+(t[s++]<<16|t[s++]<<8|t[s++]);case 2:return m+256+(t[s++]<<8|t[s++]);case 1:return m+t[s++];default:return e-1}})}(function(t){let e=[];[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"].forEach((t,n)=>e[t.charCodeAt(0)]=n);let n=t.length,r=new Uint8Array(6*n>>3);for(let i=0,o=0,a=0,s=0;i<n;i++)s=s<<6|e[t.charCodeAt(i)],(a+=6)>=8&&(r[o++]=s>>(a-=8));return r}(t)),n=0,()=>e[n++]}function w(t,e=0){let n=[];for(;;){let r=t(),i=t();if(!i)break;e+=r;for(let t=0;t<i;t++)n.push(e+t);e+=i+1}return n}function A(t){return C(()=>{let e=w(t);if(e.length)return e})}function E(t){let e=[];for(;;){let n=t();if(0==n)break;e.push(function(t,e){let n=1+e(),r=e(),i=C(e);return x(i.length,1+t,e).flatMap((t,e)=>{let[o,...a]=t;return Array(i[e]).fill().map((t,e)=>{let i=e*r;return[o+e*n,a.map(t=>t+i)]})})}(n,t))}for(;;){let n=t()-1;if(n<0)break;e.push(x(1+t(),1+n,t).map(t=>[t[0],t.slice(1)]))}return e.flat()}function C(t){let e=[];for(;;){let n=t(e.length);if(!n)break;e.push(n)}return e}function x(t,e,n){let r=Array(t).fill().map(()=>[]);for(let i=0;i<e;i++)(function(t,e){let n=Array(t);for(let i=0,o=0;i<t;i++){var r;n[i]=o+=1&(r=e())?~r>>1:r>>1}return n})(t,n).forEach((t,e)=>r[e].push(t));return r}function P(t){return`{${t.toString(16).toUpperCase().padStart(2,"0")}}`}function S(t){let e=t.length;if(e<4096)return String.fromCodePoint(...t);let n=[];for(let r=0;r<e;)n.push(String.fromCodePoint(...t.slice(r,r+=4096)));return n.join("")}function I(t,e){let n=t.length,r=n-e.length;for(let i=0;0==r&&i<n;i++)r=t[i]-e[i];return r}function O(t){return t>>24&255}function M(t){return 16777215&t}function R(t){return t>=44032&&t<55204}function T(t){r||function(){let t=b
vendor: 7,457 bytes, line 57
57("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");f
57or(let[e,n]of(r=new Map(A(t).flatMap((t,e)=>t.map(t=>[t,e+1<<24]))),i=new Set(w(t)),o=new Map,a=new Map,E(t))){if(!i.has(e)&&2==n.length){let[t,r]=n,i=a.get(t);i||(i=new Map,a.set(t,i)),i.set(r,e)}o.set(e,n.reverse())}}();let e=[],n=[],s=!1;function u(t){let n=r.get(t);n&&(s=!0,t|=n),e.push(t)}for(let r of t)for(;;){if(r<128)e.push(r);else if(R(r)){let t=r-44032,e=t/588|0,n=t%588/28|0,i=t%28;u(4352+e),u(4449+n),i>0&&u(4519+i)}else{let t=o.get(r);t?n.push(...t):u(r)}if(!n.length)break;r=n.pop()}if(s&&e.length>1){let t=O(e[0]);for(let n=1;n<e.length;n++){let r=O(e[n]);if(0==r||t<=r){t=r;continue}let i=n-1;for(;;){let n=e[i+1];if(e[i+1]=e[i],e[i]=n,!i||(t=O(e[--i]))<=r)break}t=O(e[n])}}return e}function B(t){return function(t){let e=[],n=[],r=-1,i=0;for(let o of t){let t=O(o),s=M(o);if(-1==r)0==t?r=s:e.push(s);else if(i>0&&i>=t)0==t?(e.push(r,...n),n.length=0,r=s):n.push(s),i=t;else{let o=function(t,e){if(t>=4352&&t<4371&&e>=4449&&e<4470)return 44032+(t-4352)*588+(e-4449)*28;if(R(t)&&e>4519&&e<4547&&(t-44032)%28==0)return t+(e-4519);{let n=a.get(t);return n&&(n=n.get(e))?n:-1}}(r,s);o>=0?r=o:0==i&&0==t?(e.push(r),r=s):(n.push(s),i=t)}}return r>=0&&e.push(r,...n),e}(T(t))}let k=t=>Array.from(t);function N(t,e){return t.P.has(e)||t.Q.has(e)}class D extends Array{get is_emoji(){return!0}}function j(){let t,e;if(s)return;let n=b("AEEUdwmgDS8BxQKKAP4BOgDjATAAngDUAIMAoABoAOAAagCOAEQAhABMAHIAOwA9ACsANgAmAGIAHgAuACgAJwAXAC0AGgAjAB8ALwAUACkAEgAeAAkAGwARABkAFgA5ACgALQArADcAFQApABAAHgAiABAAGgAeABMAGAUhBe8BFxREN8sF2wC5AK5HAW8ArQkDzQCuhzc3NzcBP68NEfMABQdHBuw5BV8FYAA9MzkI9r4ZBg7QyQAWA9CeOwLNCjcCjqkChuA/lm+RAsXTAoP6ASfnEQDytQFJAjWVCkeXAOsA6godAB/cwdAUE0WlBCN/AQUCQRjFD/MRBjHxDQSJbw0jBzUAswBxme+tnIcAYwabAysG8QAjAEMMmxcDqgPKQyDXCMMxA7kUQwD3NXOrAKmFIAAfBC0D3x4BJQDBGdUFAhEgVD8JnwmQJiNWYUzrg0oAGwAUAB0AFnNcACkAFgBP9h3gPfsDOWDKneY2ChglX1UDYD30ABsAFAAdABZzIGRAnwDD8wAjAEEMzRbDqgMB2sAFYwXqAtCnAsS4AwpUJKRtFHsadUz9AMMVbwLpABM1NJEX0ZkCgYMBEyMAxRVvAukAEzUBUFAtmUwSAy4DBTER33EftQHfSwB5MxJ/AjkWKQLzL8E/cwBB6QH9LQDPDtO9ASNriQC5DQANAwCK21EFI91zHwCoL9kBqQcHBwcHKzUDowBvAQohPvU3fAQgHwCyAc8CKQMA5zMSezr7ULgFmDp/LzVQBgEGAi8FYQVgt8AFcTtlQhpCWEmfe5tmZ6IAExsDzQ8t+X8rBKtTAltbAn0jsy8Bl6utPWMDTR8Ei2kRANkDBrNHNysDBzECQWUAcwFpJ3kAiyUhAJ0BUb8AL3EfAbfNAz81KUsFWwF3YQZtAm0A+VEfAzEJDQBRSQCzAQBlAHsAM70GD/v3IZWHBwARKQAxALsjTwHZAeMPEzmXgIHwABIAGQA8AEUAQDt3gdvIEGcQZAkGTRFMdEIVEwK0D64L7REdDNkq09PgADSxB/MDWwfzA1sDWwfzB/MDWwfzA1sDWwNbA1scEvAi28gQZw9QBHUFlgWTBN4IiyZREYkHMAjaVBV0JhxPA00BBCMtSSQ7mzMTJUpMFE0LCAQ2SmyvfUADTzGzVP2QqgPTMlc5dAkGHnkSqAAyD3skNb1OhnpPcagKU0+2tYdJak5vAsY6sEAACikJm2/Dd1YGRRAfJ6kQ+ww3AbkBPw3xS9wE9QY/BM0fgRkdD9GVoAipLeEM8SbnLqWAXiP5KocF8Uv4POELUVFsD10LaQnnOmeBUgMlAREijwrhDT0IcRD3Cs1vDekRSQc9A9lJngCpBwULFR05FbkmFGKwCw05ewb/GvoLkyazEy17AAXXGiUGUQEtGwMA0y7rhbRaNVwgT2MGBwspI8sUrFAkDSlAu3hMGh8HGSWtApVDdEqLUToelyH6PEENai4XUYAH+TwJGVMLhT
57yiRq9FEhHWPpE9TCJNTDAEOYMsMyePCdMPiQy9fHYBXQklCbUMdRM1ERs3yQg9Bx0xlygnGQglRplgngT7owP3E9UDDwVDCUUHFwO5HDETMhUtBRGBKNsC9zbZLrcCk1aEARsFzw8pH+MQVEfkDu0InwJpA4cl7wAxFSUAGyKfCEdnAGOP3FMJLs8Iy2pwI3gDaxTrZRF3B5UOWwerHDcVwxzlcMxeD4YMKKezCV8BeQmdAWME5wgNNV+MpCBFZ1eLXBifIGVBQ14AAjUMaRWjRMGHfAKPD28SHwE5AXcHPQ0FAnsR8RFvEJkI74YINbkz/DopBFMhhyAVCisDU2zSCysm/Qz8bQGnEmYDEDRBd/Jnr2C6KBgBBx0yyUFkIfULlk/RDKAaxRhGVDIZ6AfDA/ca9yfuQVsGAwOnBxc6UTPyBMELbQiPCUMATQ6nGwfbGG4KdYzUATWPAbudA1uVhwJzkwY7Bw8Aaw+LBX3pACECqwinAAkA0wNbAD0CsQehAB0AiUUBQQMrMwEl6QKTA5cINc8BmTMB9y0EH8cMGQD7O25OAsO1AoBuZqYF4VwCkgJNOQFRKQQJUktVA7N15QDfAE8GF+NLARmvTs8e50cB43MvAMsA/wAJOQcJRQHRAfdxALsBYws1Caa3uQFR7S0AhwAZbwHbAo0A4QA5AIP1AVcAUQVd/QXXAlNNARU1HC9bZQG/AyMBNwERAH0Gz5GpzQsjBHEH1wIQHxXlAu8yB7kFAyLjE9FCyQK94lkAMhoKPAqrCqpgX2Q3CjV2PVQAEh+sPss/UgVVO1c7XDtXO1w7VztcO1c7XDtXO1wDm8Pmw+YKcF9JYe8Mqg3YRMw6TRPfYFVgNhPMLbsUxRXSJVoZQRrAJwkl6FUNDwgt12Y0CDA0eRfAAEMpbINFY4oeNApPHOtTlVT8LR8AtUumM7MNsBsZREQFS3XxYi4WEgomAmSFAmJGX1GzAV83JAKh+wJonAJmDQKfiDgfDwJmPwJmKgRyBIMDfxcDfpY5Cjl7GzmGOicnAmwhAjI6OA4CbcsCbbLzjgM3a0kvAWsA4gDlAE4JB5wMkQECD8YAEbkCdzMCdqZDAnlPRwJ4viFg30WyRvcCfEMCeswCfQ0CfPRIBEiBZygALxlJXEpfGRtK0ALRBQLQ0EsrA4hTA4fqRMmRNgLypV0HAwOyS9JMMSkH001QTbMCi0MCitzFHwshR2sJuwKOOwKOYESbhQKO3QKOYHxRuFM5AQ5S2FSJApP/ApMQAO0AIFUiVbNV1AosHymZijLleGpFPz0Cl6MC77ZYJawAXSkClpMCloCgAK1ZsFoNhVEAPwKWuQKWUlxIXNUCmc8CmWhczl0LHQKcnznGOqECnBoCn58CnryOACETNS4TAp31Ap6WALlBYThh8wKe1wKgcgGtAp6jIwKeUqljzGQrKS8CJ7MCJoICoP8CoFDbAqYzAqXSAqgDAIECp/ZogGi1AAdNaiBq1QKs5wKssgKtawKtBgJXIQJV4AKx5dsDH1JsmwKywRECsuwbbORtZ21MYwMl0QK2YD9DbpQDKUkCuGICuUsZArkue3A6cOUCvR0DLbYDMhUCvoxyBgMzdQK+HnMmc1MCw88CwwhzhnRPOUl05AM8qwEDPJ4DPcMCxYACxksCxhSNAshtVQLISALJUwLJMgJkoQLd1nh9ZXiyeSlL1AMYp2cGAmH4GfeVKHsPXpZevxUCz28Cz3AzT1fW9xejAMqxAs93AS3uA04Wfk8JAtwrAtuOAtJTA1JgA1NjAQUDVZCAjUMEzxrxZEl5A4LSg5EC2ssC2eKEFIRNp0ADhqkAMwNkEoZ1Xf0AWQLfaQLevHd7AuIz7RgB8zQrAfSfAfLWiwLr9wLpdH0DAur9AuroAP1LAb0C7o0C66CWrpcHAu5DA4XkmH1w5HGlAvMHAG0DjhqZlwL3FwORcgOSiwL3nAL53QL4apogmq+/O5siA52HAv7+AR8APZ8gAZ+3AwWRA6ZuA6bdANXJAwZuoYyiCQ0DDE0BEwEjB3EGZb1rCQC/BG/DFY8etxEAG3k9ACcDNxJRA42DAWcrJQCM8wAlAOanC6OVCLsGI6fJBgCvBRnDBvElRUYFFoAFcD9GSDNCKUK8X3kZX8QAls0FOgCQVCGbwTsuYDoZutcONxjOGJHJ/gVfBWAFXwVgBWsFYAVfBWAFXwVgBV8FYAVfBWBOHQjfjW8KCgoKbF7xMwTRA7kGN8PDAMMEr8MA70gxFroFTj5xPnhCR0K+X30/X/AAWBkzswCNBsxzzASm70aCRS4rDDMeLz49fnXfcsH5GcoscQFz13Y4HwVnBXLJycnACNdRYwgICAqEXoWTxgA7P4kACxbZBu21Kw0AjMsTAwkVAOVtJUUsJ1JCuULESUArXy9gPi9AKwnJRQYKTD9LPoA+iT54PnkCkULEUUpDX9NWV3JVEjQAc1w3A3IBE3YnX+g7QiMJb6MKaiszRCUuQrNCxDPMCcwEX9EWJzYREBEEBwIHKn6l33JCNVIfybPJtAltydPUCmhBZw/tEKsZAJOVJU1CLRuxbUHOQAo7P0s+eEJHHA8SJVRPdGM0NVrpvBoKhfUlM0JHHGUQUhEWO1xLSj8MO0ucNAqJIzVCRxv9EFsqKyA4OQgNj2nwZgp5ZNFgE2A1K3YHS2AhQQojJmC7DgpzGG1WYFUZCQYHZO9gHWCdYIVgu2BTYJlwFh8GvRbcXbG8YgtDHrMBwzPVyQonHQgkCyYBgQJ0Ajc4nVqIAwGSCsBPIgDsK3SWEtIVBa5N8gGjAo+kVwVIZwD/AEUSCDweX4ITrRQsJ8K3TwBXFDwEAB0TvzVcAtoTS20RIwDgVgZ9BBImYgA5AL4Coi8LFnezOkCnIQFjAY4KBAPh9RcGsgZSBsEAJctdsWIRu2kTkQstRw7DAcMBKgpPBGIGMDAwKCYnKTQaLg4AKRSVAFwCdl+YUZ0JdicFD3lPAdt1F9ZZKCGxuE3yBxkFVGcA/wBFEgiCBwAOLHQSjxOtQDg1z7deFRMAZ8QTAGtKb1ApIiPHADkAvgKiLy1DFtYCmBiDAlDDWNB0eo7fpaMO/aEVRRv0ATEQZBIODyMEAc8JQhCbDRgzFD4TAEMAu9YBCgCsAOkAm5I3ABwAYxvONnR+MhXJAxgKQyxL2+kkJhMbhQKDBMkSsvF0AD9BNQ6uQC7WqSQHwxEAEEIu1hkhAH2z4iQPwyJPHNWpdyYBRSpnJALzoBAEVPPsH20MxA0CCEQKRgAFyAtFAlMNwwjEDUQJRArELtapMg7DDZgJIw+TGukEIwvDFkMAqAtDEMMMBhioe+QAO3MMRAACrgnEBSPY9Q0FDnbSBoMAB8MSYxkSxAEJAPIJAAB8FWMOFtMc/HcXwxhDAC7DAvOowwAewwJdKDKHAAHDAALrFUQVwwAbwyvzpWMWv8wA/ABpAy++bcYDUKPD0KhDCwKmJ1MAAmMA5+UZwxAagwipBRL/eADfw6fDGOMCGsOjk3l6BwOpo4sAEsMOGxMAA5sAbcMOAAvDp0MJGkMDwgipnNIPAwfIqUMGAOGDAAPzABXDAAcDAAnDAGmTABrDAA7DChjDjnEWAwABYwAOcwAuUyYABsMAF8MIKQANUgC6wy4AA8MADqMq8wCyYgAcIwAB8wqpAAXOCx0V4wAHowBCwwEKAGnDAAuDAB3DAAjDCakABdIAbqcZ3QCZCCkABdIAAAFDAAfjAB2jCCkABqIACYMAGzMAbSMA5sOIAAhjAAhDABTDBAkpAAbSAOOTAAlDC6kOzPtnAAdDAG6kQFAATwAKwwwAA0MACbUDPwAHIwAZgwACE6cDAAojAApDAAoDp/MGwwAJIwADEwAQQwgAFEMAEXMAD5MADfMADcMAGRMOFiMAFUMAbqMWuwHDAMIAE0MLAGkzEgDhUwACQwAEWgAXgwUjAAbYABjDBSYBgzBaAEFNALcQBxUMegAwMngBrA0IZgJ0KxQHBREPd1N0ZzKRJwaIHAZqNT4DqQq8BwngAB4DAwt2AX56T1ocKQNXAh1GATQGC3tOxYNagkgAMQA5CQADAQEAWxLjAIOYNAEzAH7tFRk6TglSAF8NAAlYAQ+S1ACAQwQorQBiAN4dAJ1wPyeTANVzuQDX3AIeEMp9ey
57MgXiUAEdkBkJizKltbVVAaRMqRAAEAhyQ/SDEz6BmfVwB6ATEsOClKIRcDOF0E/832AFNt5AByAnkCRxGCOs94NjXdAwINGBonDBwPALW2AwICAgAAAAAAAAYDBQMDARrUAwAtAAAAAgEGBgYGBgYFBQUFBQUEBQYHCAkEBQUFBQQAAAICAAAAIgCNAJAAlT0A6gC7ANwApEQAwgCyAK0AqADuAKYA2gCjAOcBCAEDAMcAgQBiANIA1AEDAN4A8gCQAKkBMQDqAN8A3AsBCQ8yO9ra2tq8xuLT1tRJOB0BUgFcNU0BWgFpAWgBWwFMUUlLbhMBUxsNEAs6PhMOACcUKy0vMj5AQENDQ0RFFEYGJFdXV1dZWVhZL1pbXVxcI2NnZ2ZoZypsbnZ1eHh4eHh4enp6enp6enp6enp8fH18e2IARPIASQCaAHgAMgBm+ACOAFcAVwA3AnbvAIsABfj4AGQAk/IAnwBPAGIAZP//sACFAIUAaQBWALEAJAC2AIMCQAJDAPwA5wD+AP4A6AD/AOkA6QDoAOYALwJ7AVEBQAE+AVQBPgE+AT4BOQE4ATgBOAEcAVgXADEQCAEAUx8SHgsdHhYAjgCWAKYAUQBqIAIxAHYAbwCXAxUDJzIDIUlGTzEAkQJPAMcCVwKkAMAClgKWApYClgKWApYCiwKWApYClgKWApYClgKVApUCmAKgApcClgKWApQClAKUApQCkgKVAnUB1AKXAp8ClgKWApUeAIETBQD+DQOfAmECOh8BVBg9AuIZEjMbAU4/G1WZAXusRAFpYQEFA0FPAQYAmTEeIJdyADFoAHEANgCRA5zMk/C2jGINwjMWygIZCaXdfDILBCs5dAE7YnQBugDlhoiHhoiGiYqKhouOjIaNkI6Ij4qQipGGkoaThpSSlYaWhpeKmIaZhpqGm4aci52QnoqfhuIC4XTpAt90AIp0LHSoAIsAdHQEQwRABEIERQRDBEkERgRBBEcESQRIBEQERgRJAJ5udACrA490ALxuAQ10ANFZdHQA13QCFHQA/mJ0AP4BIQD+APwA/AD9APwDhGZ03ASMK23HAP4A/AD8AP0A/CR0dACRYnQA/gCRASEA/gCRAvQA/gCRA4RmdNwEjCttxyR0AP9idAEhAP4A/gD8APwA/QD8AP8A/AD8AP0A/AOEZnTcBIwrbcckdHQAkWJ0ASEA/gCRAP4AkQL0AP4AkQOEZnTcBIwrbcckdAJLAT50AlIBQXQCU8l0dAJfdHQDpgL0A6YDpgOnA6cDpwOnA4RmdNwEjCttxyR0dACRYnQBIQOmAJEDpgCRAvQDpgCRA4RmdNwEjCttxyR0BDh0AJEEOQCRDpU5dSgCADR03gV2CwArdAEFAM5iCnR0AF1iAAYcOgp0dACRCnQAXAEIwWZ0CnRmdHQAkWZ0CnRmdEXgAFF03gp0dEY0tlT2u3SOAQTwscwhjZZKrhYcBSfFp9XNbKiVDOD2b+cpe4/Z17mQnbtzzhaeQtE2GGj0IDNTjRUSyTxxw/RPHW/+vS7d1NfRt9z9QPZg4X7QFfhCnkvgNPIItOsC2eV6hPannZNHlZ9xrwZXIMOlu3jSoQSq78WEjwLjw1ELSlF1aBvfzwk5ZX7AUvQzjPQKbDuQ+sm4wNOp4A6AdVuRS0t1y/DZpg4R6m7FNjM9HgvW7Bi88zaMjOo6lM8wtBBdj8LP4ylv3zCXPhebMKJc066o9sF71oFW/8JXu86HJbwDID5lzw5GWLR/LhT0Qqnp2JQxNZNfcbLIzPy+YypqRm/lBmGmex+82+PisxUumSeJkALIT6rJezxMH+CTJmQtt5uwTVbL3ptmjDUQzlSIvWi8Tl7ng1NpuRn1Ng4n14Qc+3Iil7OwkvNWogLSPkn3pihIFytyIGmMhOe3n1tWsuMy9BdKyqF4Z3v2SgggTL9KVvMXPnCbRe+oOuFFP3HejBG/w9gvmfNYvg6JuWia2lcSSN1uIjBktzoIazOHPJZ7kKHPz8mRWVdW3lA8WGF9dQF6Bm673boov3BUWDU2JNcahR23GtfHKLOz/viZ+rYnZFaIznXO67CYEJ1fXuTRpZhYZkKe54xeoagkNGLs+NTZHE0rX45/XvQ2RGADX6vcAvdxIUBV27wxGm2zjZo4X3ILgAlrOFheuZ6wtsvaIj4yLY7qqawlliaIcrz2G+c3vscAnCkCuMzMmZvMfu9lLwTvfX+3cVSyPdN9ZwgDZhfjRgNJcLiJ67b9xx8JHswprbiE3v9UphotAPIgnXVIN5KmMc0piXhc6cChPnN+MRhG9adtdttQTTwSIpl8I4/j//d3sz1326qTBTpPRM/Hgh3kzqEXs8ZAk4ErQhNO8hzrQ0DLkWMA/N+91tn2MdOJnWC2FCZehkQrwzwbKOjhvZsbM95QoeL9skYyMf4srVPVJSgg7pOLUtr/n9eT99oe9nLtFRpjA9okV2Kj8h9k5HaC0oivRD8VyXkJ81tcd4fHNXPCfloIQasxsuO18/46dR2jgul/UIet2G0kRvnyONMKhHs6J26FEoqSqd+rfYjeEGwHWVDpX1fh1jBBcKGMqRepju9Y00mDVHC+Xdij/j44rKfvfjGinNs1jO/0F3jB83XCDINN/HB84axlP+3E/klktRo+vl3U/aiyMJbIodE1XSsDn6UAzIoMtUObY2+k/4gY/l+AkZJ5Sj2vQrkyLm3FoxjhDX+31UXBFf9XrAH31fFqoBmDEZvhvvpnZ87N+oZEu7U9O/nnk+QWj3x8uyoRbEnf+O5UMr9i0nHP38IF5AvzrBW8YWBUR0mIAzIvndQq9N3v/Jto3aPjPXUPl8ASdPPyAp7jENf8bk7VMM9ol9XGmlBmeDMuGqt+WzuL6CXAxXjIhCPM5vACchgMJ/8XBGLO/D1isVvGhwwHHr1DLaI5mn2Jr/b1pUD90uciDaS8cXNDzCWvNmT/PhQe5e8nTnnnkt8Ds/SIjibcum/fqDhKopxAY8AkSrPn+IGDEKOO+U3XOP6djFs2H5N9+orhOahiQk5KnEUWa+CzkVzhp8bMHRbg81qhjjXuIKbHjSLSIBKWqockGtKinY+z4/RdBUF6pcc3JmnlxVcNgrI4SEzKUZSwcD2QCyxzKve+gAmg6ZuSRkpPFa6mfThu7LJNu3H5K42uCpNvPAsoedolKV/LHe/eJ+BbaG5MG0NaSGVPRUmNFMFFSSpXEcXwbVh7UETOZZtoVNRGOIbbkig3McEtR68cG0RZAoJevWYo7Dg/lZ1CQzblWeUvVHmr8fY4Nqd9JJiH/zEX24mJviH60fAyFr0A3c4bC1j3yZU60VgJxXn8JgJXLUIsiBnmKmMYz+7yBQFBvqb2eYnuW59joZBf56/wXvWIR4R8wTmV80i1mZy+S4+BUES+hzjk0uXpC///z/IlqHZ1monzlXp8aCfhGKMti73FI1KbL1q6IKO4fuBuZ59gagjn5xU79muMpHXg6S+e+gDM/U9BKLHbl9l6o8czQKl4RUkJJiqftQG2i3BMg/TQlUYFkJDYBOOvAugYuzYSDnZbDDd/aSd9x0Oe6F+bJcHfl9+gp6L5/TgA+BdFFovbfCrQ40s5vMPw8866pNX8zyFGeFWdxIpPVp9Rg1UPOVFbFZrvaFq/YAzHQgqMWpahMYfqHpmwXfHL1/kpYmGuHFwT55mQu0dylfNuq2Oq0hTMCPwqfxnuBIPLXfci4Y1ANy+1CUipQxld/izVh16WyG2Q0CQQ9NqtAnx1HCHwDj7sYxOSB0wopZSnOzxQOcExmxrVTF2BkOthVpGfuhaGECfCJpJKpjnihY+xOT2QJxN61+9K6QSqtv2Shr82I3jgJrqBg0wELFZPjvHpvzTtaJnLK6Vb97Yn933koO/saN7fsjwNKzp4l2lJVx2orjCGzC/4ZL4zCver6aQYtC5sdoychuFE6ufOiog+VWi5UDkbmvmtah/3aArEBIi39s5ILUnlFLgilcGuz9CQshEY7fw2ouoILAYPVT/gyAIq3TFAIwVsl+ktkRz/qGfnCDGrm5gsl/l9QdvCWGsjPz3dU7XuqKfdUrr/6XIgjp4rey6AJBmCmUJMjITHVdFb5m1p+dLMCL8t55zD42cmftmLEJC0Da04YiRCVUBLLa8D071/N5UBNBXDh0LFsmhV/5B5ExOB4j3WVG/S3lfK5o+V6ELHvy6RR9n4ac+VsK4VE4yphPvV+kG9FegTBH4ZRXL2HytUHCduJazB/KykjfetYxOXTLws267aGOd+I+JhKP//+VnXmS90OD/jvLcVu0asyqcuYN1mSb6XTlCkqv1vigZPIYwNF/zpWcT1GR/6aEIRjkh0yhg4LXJfaGobYJTY4JI58KiAKgmmgAKWdl5nYCeLqavRJGQNuYuZtZFGx+IkI4w4NS2xwbetNMunOjBu/hmKCI/w7tfiiyUd//4rbTeWt4izBY8YvGIN6vyKYmP/8X8wHKCeN+WRcKM70+tXKNGyevU9H2Dg5BsljnTf8YbsJ1TmMs74Ce2XlHisleguhyeg44rQOHZuw/6HTkhnnurK2d62q6yS7210SsAIaR+jXMQA+svkrLpsUY+F30Uw89uOdGAR6vo4FIME0EfVVeHTu6eKicfhSqOeXJhbftcd08sWEnNUL1C9fnprTgd83IMut8onVUF0hvqzZfHduP
57jbjwEXIcoYmy+P6tcJZHmeOv6VrvEdkHDJecjHuHeWANe79VG662qTjA/HCvumVv3qL+LrOcpqGps2ZGwQdFJ7PU4iuyRlBrwfO+xnPyr47s2cXVbWzAyznDiBGjCM3ksxjjqM62GE9C8f5U38kB3VjtabKp/nRdvMESPGDG90bWRLAt1Qk5DyLuazRR1YzdC1c+hZXvAWV8xA72S4A8B67vjVhbba3MMop293FeEXpe7zItMWrJG/LOH9ByOXmYnNJfjmfuX9KbrpgLOba4nZ+fl8Gbdv/ihv+6wFGKHCYrVwmhFC0J3V2bn2tIB1wCc1CST3d3X2OyxhguXcs4sm679UngzofuSeBewMFJboIQHbUh/m2JhW2hG9DIvG2t7yZIzKBTz9wBtnNC+2pCRYhSIuQ1j8xsz5VvqnyUIthvuoyyu7fNIrg/KQUVmGQaqkqZk/Vx5b33/gsEs8yX7SC1J+NV4icz6bvIE7C5G6McBaI8rVg56q5QBJWxn/87Q1sPK4+sQa8fLU5gXo4paaq4cOcQ4wR0VBHPGjKh+UlPCbA1nLXyEUX45qZ8J7/Ln4FPJE2TdzD0Z8MLSNQiykMMmSyOCiFfy84Rq60emYB2vD09KjYwsoIpeDcBDTElBbXxND72yhd9pC/1CMid/5HUMvAL27OtcIJDzNKpRPNqPOpyt2aPGz9QWIs9hQ9LiX5s8m9hjTUu/f7MyIatjjd+tSfQ3ufZxPpmJhTaBtZtKLUcfOCUqADuO+QoH8B9v6U+P0HV1GLQmtoNFTb3s74ivZgjES0qfK+8RdGgBbcCMSy8eBvh98+et1KIFqSe1KQPyXULBMTsIYnysIwiZBJYdI20vseV+wuJkcqGemehKjaAb9L57xZm3g2zX0bZ2xk/fU+bCo7TlnbW7JuF1YdURo/2Gw7VclDG1W7LOtas2LX4upifZ/23rzpsnY/ALfRgrcWP5hYmV9VxVOQA1fZvp9F2UNU+7d7xRyVm5wiLp3/0dlV7vdw1PMiZrbDAYzIVqEjRY2YU03sJhPnlwIPcZUG5ltL6S8XCxU1eYS5cjr34veBmXAvy7yN4ZjArIG0dfD/5UpBNlX1ZPoxJOwyqRi3wQWtOzd4oNKh0LkoTm8cwqgIfKhqqGOhwo71I+zXnMemTv2B2AUzABWyFztGgGULjDDzWYwJUVBTjKCn5K2QGMK1CQT7SzziOjo+BhAmqBjzuc3xYym2eedGeOIRJVyTwDw37iCMe4g5Vbnsb5ZBdxOAnMT7HU4DHpxWGuQ7GeiY30Cpbvzss55+5Km1YsbD5ea3NI9QNYIXol5apgSu9dZ8f8xS5dtHpido5BclDuLWY4lhik0tbJa07yJhH0BOyEut/GRbYTS6RfiTYWGMCkNpfSHi7HvdiTglEVHKZXaVhezH4kkXiIvKopYAlPusftpE4a5IZwvw1x/eLvoDIh/zpo9FiQInsTb2SAkKHV42XYBjpJDg4374XiVb3ws4qM0s9eSQ5HzsMU4OZJKuopFjBM+dAZEl8RUMx5uU2N486Kr141tVsGQfGjORYMCJAMsxELeNT4RmWjRcpdTGBwcx6XN9drWqPmJzcrGrH4+DRc7+n1w3kPZwu0BkNr6hQrqgo7JTB9A5kdJ/H7P4cWBMwsmuixAzJB3yrQpnGIq90lxAXLzDCdn1LPibsRt7rHNjgQBklRgPZ8vTbjXdgXrTWQsK5MdrXXQVPp0Rinq3frzZKJ0qD6Qhc40VzAraUXlob1gvkhK3vpmHgI6FRlQZNx6eRqkp0zy4AQlX813fAPtL3jMRaitGFFjo0zmErloC+h+YYdVQ6k4F/epxAoF0BmqEoKNTt6j4vQZNQ2BoqF9Vj53TOIoNmDiu9Xp15RkIgQIGcoLpfoIbenzpGUAtqFJp5W+LLnx38jHeECTJ/navKY1NWfN0sY1T8/pB8kIH3DU3DX+u6W3YwpypBMYOhbSxGjq84RZ84fWJow8pyHqn4S/9J15EcCMsXqrfwyd9mhiu3+rEo9pPpoJkdZqHjra4NvzFwuThNKy6hao/SlLw3ZADUcUp3w3SRVfW2rhl80zOgTYnKE0Hs2qp1J6H3xqPqIkvUDRMFDYyRbsFI3M9MEyovPk8rlw7/0a81cDVLmBsR2ze2pBuKb23fbeZC0uXoIvDppfTwIDxk1Oq2dGesGc+oJXWJLGkOha3CX+DUnzgAp9HGH9RsPZN63Hn4RMA5eSVhPHO+9RcRb/IOgtW31V1Q5IPGtoxPjC+MEJbVlIMYADd9aHYWUIQKopuPOHmoqSkubnAKnzgKHqgIOfW5RdAgotN6BN+O2ZYHkuemLnvQ8U9THVrS1RtLmKbcC7PeeDsYznvqzeg6VCNwmr0Yyx1wnLjyT84BZz3EJyCptD3yeueAyDWIs0L2qs/VQ3HUyqfrja0V1LdDzqAikeWuV4sc7RLIB69jEIBjCkyZedoUHqCrOvShVzyd73OdrJW0hPOuQv2qOoHDc9xVb6Yu6uq3Xqp2ZaH46A7lzevbxQEmfrzvAYSJuZ4WDk1Hz3QX1LVdiUK0EvlAGAYlG3Md30r7dcPN63yqBCIj25prpvZP0nI4+EgWoFG95V596CurXpKRBGRjQlHCvy5Ib/iW8nZJWwrET3mgd6mEhfP4KCuaLjopWs7h+MdXFdIv8dHQJgg1xi1eYqB0uDYjxwVmri0Sv5XKut/onqapC+FQiC2C1lvYJ9MVco6yDYsS3AANUfMtvtbYI2hfwZatiSsnoUeMZd34GVjkMMKA+XnjJpXgRW2SHTZplVowPmJsvXy6w3cfO1AK2dvtZEKTkC/TY9LFiKHCG0DnrMQdGm2lzlBHM9iEYynH2UcVMhUEjsc0oDBTgo2ZSQ1gzkAHeWeBXYFjYLuuf8yzTCy7/RFR81WDjXMbq2BOH5dURnxo6oivmxL3cKzKInlZkD31nvpHB9Kk7GfcfE1t+1V64b9LtgeJGlpRFxQCAqWJ5DoY77ski8gsOEOr2uywZaoO/NGa0X0y1pNQHBi3b2SUGNpcZxDT7rLbBf1FSnQ8guxGW3W+36BW0gBje4DOz6Ba6SVk0xiKgt+q2JOFyr4SYfnu+Ic1QZYIuwHBrgzr6UvOcSCzPTOo7D6IC4ISeS7zkl4h+2VoeHpnG/uWR3+ysNgPcOIXQbv0n4mr3BwQcdKJxgPSeyuP/z1Jjg4e9nUvoXegqQVIE30EHx5GHv+FAVUNTowYDJgyFhf5IvlYmEqRif6+WN1MkEJmDcQITx9FX23a4mxy1AQRsOHO/+eImX9l8EMJI3oPWzVXxSOeHU1dUWYr2uAA7AMb+vAEZSbU3qob9ibCyXeypEMpZ6863o6QPqlqGHZkuWABSTVNd4cOh9hv3qEpSx2Zy/DJMP6cItEmiBJ5PFqQnDEIt3NrA3COlOSgz43D7gpNFNJ5MBh4oFzhDPiglC2ypsNU4ISywY2erkyb1NC3Qh/IfWj0eDgZI4/ln8WPfBsT3meTjq1Uqt1E7Zl/qftqkx6aM9KueMCekSnMrcHj1CqTWWzEzPsZGcDe3Ue4Ws+XFYVxNbOFF8ezkvQGR6ZOtOLU2lQEnMBStx47vE6Pb7AYMBRj2OOfZXfisjJnpTfSNjo6sZ6qSvNxZNmDeS7Gk3yYyCk1HtKN2UnhMIjOXUzAqDv90lx9O/q/AT1ZMnit5XQe9wmQxnE/WSH0CqZ9/2Hy+Sfmpeg8RwsHI5Z8kC8H293m/LHVVM/BA7HaTJYg5Enk7M/xWpq0192ACfBai2LA/qrCjCr6Dh1BIMzMXINBmX96MJ5Hn2nxln/RXPFhwHxUmSV0EV2V0jm86/dxxuYSU1W7sVkEbN9EzkG0QFwPhyHKyb3t+Fj5WoUUTErcazE/N6EW6Lvp0d//SDPj7EV9UdJN+Amnf3Wwk3A0SlJ9Z00yvXZ7n3z70G47Hfsow8Wq1JXcfwnA+Yxa5mFsgV464KKP4T31wqIgzFPd3eCe3j5ory5fBF2hgCFyVFrLzI9eetNXvM7oQqyFgDo4CTp/hDV9NMX9JDHQ/nyHTLvZLNLF6ftn2OxjGm8+PqOwhxnPHWipkE/8wbtyri80Sr7pMNkQGMfo4ZYK9OcCC4ESV
57FFbLMIvlxSoRqWie0wxqnLfcLSXMSpMMQEJYDVObYsXIQNv4TGNwjq1kvT1UOkicTrG3IaBZ3XdScS3u8sgeZPVpOLkbiF940FjbCeNRINNvDbd01EPBrTCPpm12m43ze1bBB59Ia6Ovhnur/Nvx3IxwSWol+3H2qfCJR8df6aQf4v6WiONxkK+IqT4pKQrZK/LplgDI/PJZbOep8dtbV7oCr6CgfpWa8NczOkPx81iSHbsNhVSJBOtrLIMrL31LK9TqHqAbAHe0RLmmV806kRLDLNEhUEJfm9u0sxpkL93Zgd6rw+tqBfTMi59xqXHLXSHwSbSBl0EK0+loECOPtrl+/nsaFe197di4yUgoe4jKoAJDXc6DGDjrQOoFDWZJ9HXwt8xDrQP+7aRwWKWI1GF8s8O4KzxWBBcwnl3vnl1Oez3oh6Ea1vjR7/z7DDTrFtqU2W/KAEzAuXDNZ7MY73MF216dzdSbWmUp4lcm7keJfWaMHgut9x5C9mj66Z0lJ+yhsjVvyiWrfk1lzPOTdhG15Y7gQlXtacvI7qv/XNSscDwqkgwHT/gUsD5yB7LdRRvJxQGYINn9hTpodKFVSTPrtGvyQw+HlRFXIkodErAGu9Iy1YpfSPc3jkFh5CX3lPxv7aqjE/JAfTIpEjGb/H7MO0e2vsViSW1qa/Lmi4/n4DEI3g7lYrcanspDfEpKkdV1OjSLOy0BCUqVoECaB55vs06rXl4jqmLsPsFM/7vYJ0vrBhDCm/00A/H81l1uekJ/6Lml3Hb9+NKiLqATJmDpyzfYZFHumEjC662L0Bwkxi7E9U4cQA0XMVDuMYAIeLMPgQaMVOd8fmt5SflFIfuBoszeAw7ow5gXPE2Y/yBc/7jExARUf/BxIHQBF5Sn3i61w4z5xJdCyO1F1X3+3ax+JSvMeZ7S6QSKp1Fp/sjYz6Z+VgCZzibGeEoujryfMulH7Rai5kAft9ebcW50DyJr2uo2z97mTWIu45YsSnNSMrrNUuG1XsYBtD9TDYzQffKB87vWbkM4EbPAFgoBV4GQS+vtFDUqOFAoi1nTtmIOvg38N4hT2Sn8r8clmBCXspBlMBYTnrqFJGBT3wZOzAyJDre9dHH7+x7qaaKDOB4UQALD5ecS0DE4obubQEiuJZ0EpBVpLuYcce8Aa4PYd/V4DLDAJBYKQPCWTcrEaZ5HYbJi11Gd6hjGom1ii18VHYnG28NKpkz2UKVPxlhYSp8uZr367iOmoy7zsxehW9wzcy2zG0a80PBMCRQMb32hnaHeOR8fnNDzZhaNYhkOdDsBUZ3loDMa1YP0uS0cjUP3b/6DBlqmZOeNABDsLl5BI5QJups8uxAuWJdkUB/pO6Zax6tsg7fN5mjjDgMGngO+DPcKqiHIDbFIGudxtPTIyDi9SFMKBDcfdGQRv41q1AqmxgkVfJMnP8w/Bc7N9/TR6C7mGObFqFkIEom8sKi2xYqJLTCHK7cxzaZvqODo22c3wisBCP4HeAgcRbNPAsBkNRhSmD48dHupdBRw4mIvtS5oeF6zeT1KMCyhMnmhpkFAGWnGscoNkwvQ8ZM5lE/vgTHFYL99OuNxdFBxTEDd5v2qLR8y9WkXsWgG6kZNndFG+pO/UAkOCipqIhL3hq7cRSdrCq7YhUsTocEcnaFa6nVkhnSeRYUA1YO0z5itF9Sly3VlxYDw239TJJH6f3EUfYO5lb7bcFcz8Bp7Oo8QmnsUHOz/fagVUBtKEw1iT88j+aKkv8cscKNkMxjYr8344D1kFoZ7/td1W6LCNYN594301tUGRmFjAzeRg5vyoM1F6+bJZ/Q54jN/k8SFd3DxPTYaAUsivsBfgTn7Mx8H2SpPt4GOdYRnEJOH6jHM2p6SgB0gzIRq6fHxGMmSmqaPCmlfwxiuloaVIitLGN8wie2CDWhkzLoCJcODh7KIOAqbHEvXdUxaS4TTTs07Clzj/6GmVs9kiZDerMxEnhUB6QQPlcfqkG9882RqHoLiHGBoHfQuXIsAG8GTAtao2KVwRnvvam8jo1e312GQAKWEa4sUVEAMG4G6ckcONDwRcg1e2D3+ohXgY4UAWF8wHKQMrSnzCgfFpsxh+aHXMGtPQroQasRY4U6UdG0rz1Vjbka0MekOGRZQEvqQFlxseFor8zWFgHek3v29+WqN6gaK5gZOTOMZzpQIC1201LkMCXild3vWXSc5UX9xcFYfbRPzGFa1FDcPfPB/jUEq/FeGt419CI3YmBlVoHsa4KdcwQP5ZSwHHhFJ7/Ph/Rap/4vmG91eDwPP0lDfCDRCLszTqfzM71xpmiKi2HwS4WlqvGNwtvwF5Dqpn6KTq8ax00UMPkxDcZrEEEsIvHiUXXEphdb4GB4FymlPwBz4Gperqq5pW7TQ6/yNRhW8VT5NhuP0udlxo4gILq5ZxAZk8ZGh3g4CqxJlPKY7AQxupfUcVpWT5VItp1+30UqoyP4wWsRo3olRRgkWZZ2ZN6VC3OZFeXB8NbnUrSdikNptD1QiGuKkr8EmSR/AK9Rw+FF3s5uwuPbvHGiPeFOViltMK7AUaOsq9+x9cndk3iJEE5LKZRlWJbKOZweROzmPNVPkjE3K/TyA57Rs68TkZ3MR8akKpm7cFjnjPd/DdkWjgYoKHSr5Wu5ssoBYU4acRs5g2DHxUmdq8VXOXRbunD8QN0LhgkssgahcdoYsNvuXGUK/KXD/7oFb+VGdhqIn02veuM5bLudJOc2Ky0GMaG4W/xWBxIJcL7yliJOXOpx0AkBqUgzlDczmLT4iILXDxxtRR1oZa2JWFgiAb43obrJnG/TZC2KSK2wqOzRZTXavZZFMb1f3bXvVaNaK828w9TO610gk8JNf3gMfETzXXsbcvRGCG9JWQZ6+cDPqc4466Yo2RcKH+PILeKOqtnlbInR3MmBeGG3FH10yzkybuqEC2HSQwpA0An7d9+73BkDUTm30bZmoP/RGbgFN+GrCOfADgqr0WbI1a1okpFms8iHYw9hm0zUvlEMivBRxModrbJJ+9/p3jUdQQ9BCtQdxnOGrT5dzRUmw0593/mbRSdBg0nRvRZM5/E16m7ZHmDEtWhwvfdZCZ8J8M12W0yRMszXamWfQTwIZ4ayYktrnscQuWr8idp3PjT2eF/jmtdhIfcpMnb+IfZY2FebW6UY/AK3jP4u3Tu4zE4qlnQgLFbM19EBIsNf7KhjdbqQ/D6yiDb+NlEi2SKD+ivXVUK8ib0oBo366gXkR8ZxGjpJIDcEgZPa9TcYe0TIbiPl/rPUQDu3XBJ9X/GNq3FAUsKsll57DzaGMrjcT+gctp+9MLYXCq+sqP81eVQ0r9lt+gcQfZbACRbEjvlMskztZG8gbC8Qn9tt26Q7y7nDrbZq/LEz7kR6Jc6pg3N9rVX8Y5MJrGlML9p9lU4jbTkKqCveeZUJjHB03m2KRKR2TytoFkTXOLg7keU1s1lrPMQJpoOKLuAAC+y1HlJucU6ysB5hsXhvSPPLq5J7JtnqHKZ4vYjC4Vy8153QY+6780xDuGARsGbOs1WqzH0QS765rnSKEbbKlkO8oI/VDwUd0is13tKpqILu1mDJFNy/iJAWcvDgjxvusIT+PGz3ST/J9r9Mtfd0jpaGeiLYIqXc7DiHSS8TcjFVksi66PEkxW1z6ujbLLUGNNYnzOWpH8BZGK4bCK7iR+MbIv8ncDAz1u4StN3vTTzewr9IQjk9wxFxn+6N1ddKs0vffJiS08N3a4G1SVrlZ97Q/M+8G9fe5AP6d9/Qq4WRnORVhofPIKEdCr3llspUfE0oKIIYoByBRPh+bX1HLS3JWGJRhIvE1aW4NTd8ePi4Z+kXb+Z8snYfSNcqijhAgVsx4RCM54cXUiYkjeBmmC4ajOHrChoELscJJC7+9jjMjw5BagZKlgRMiSNYz7h7vvZIoQqbtQmspc0cUk1G/73iXtSpROl5wtLgQi0mW2Ex8i3WULhcggx6E1LMVHUsdc9GHI1PH3U2Ko0PyGdn9KdVOLm7FPBui0i9a0HpA60MsewVE4z8CAt5d401Gv6zXlIT5Ybit1VIA0FCs7wtvYreru1fUyW3oLAZ/+aTnZrOcYRNVA8spoRtlRoWflsRClFcgzkqiHOrf0/SVw+EpVaFlJ0g4Kxq1MMOmiQdpMNpte8lMMQqm6cIFXlnGbfJllysKDi+0JJMotkqgIxOSQgU9dn/lWkeVf8nUm3iwX2Nl3WDw9i6AUK3vBAbZZrcJpDQ/N64AVwjT07Jef30GSSmtNu2WlW7YoyW2FlWfZFQUwk867EdLYKk9VG6JgEnBiBxkY7LMo4YLQJJlAo9l/oTvJkSARDF/XtyAzM8O2t3eT/iXa6wDN3WewNmQHdPfsxChU/KtLG2Mn8i4ZqKdSlIaBZadxJmRzVS/o4yA65RTSViq60oa395Lqw0pzY4SipwE0SXXsKV+GZraGSkr/RW08wPRvqvSUkYBMA9lPx4m24az+IHmCbXA+0faxTRE9wuGeO06DIXa6QlKJ3puIyiuAVfPr736vzo2pBirS+Vxel3TMm3JKhz9o2ZoRvaFVpIkykb0Hcm4oHFBMcNSNj7/4GJt43ogonY2Vg4nsDQIWxAcorpXACzgBqQPjYsE/VUpXpwNManEru4NwMCFPkXvMoqvoeLN3qyu/N1eWEHttMD65v19l/0kH2mR35iv/FI+yjoHJ9gPMz67af3Mq/BoWXqu3rphiWMXVkmnPSEkpGpUI2h1MThideGFEOK6YZHPwYzMBvpNC7+ZHxPb7epfefGyIB4JzO9DTNEYnDLVVHdQyvOEVefrk6Uv5kTQYVYWWdqrdcIl7yljwwIWdfQ/y+2QB3eR/qxYObuYyB4gTbo2in4PzarU1sO9nETkmj9/AoxDA+JM3GMqQtJR4jtduHtnoCLxd1gQUscHRB/MoRYIEsP2pDZ9KvHgtlk1iTbWWbHhohwFEYX7y51fUV2nuUmnoUcqnWIQAAgl9LTVX+Bc0QGNEhChxHR4YjfE51PUdGfsSFE6ck7BL3/hTf9jLq4G1IafINxOLKeAtO7quulYvH5YOBc+zX7CrMgWnW47/jfRsWnJjYYoE7xMfWV2HN2iyIqLI"),r=()=>w(n),i=()=>new Set(r());s=new Map(E(n)),u=i(),c=r(),l=new Set(r().map(t=>c[t])),c=new Set(c),f=i(),i();let o=A(n),a=n(),y=()=>new Set(r().flatMap(t=>o[t]).concat(r()));d=C(t=>{let e=C(n).map(t=>t+96);if(e.length){let r=t>=a;return e[0]-=32,e=S(e),r&&(e=`Restricted[${e}]`),{N:e,P:y(),Q:y(),M:!n(),R:r}}}),h=i(),p=new Map;let x=r().concat(k(h)).sort((t,e)=>t-e);for(let{V:t,M:e}
57of(x.forEach((t,e)=>{let r=n(),i=x[e]=r?x[e-r]:{V:[],M:new Map};i.V.push(t),h.has(t)||p.set(t,i)}),new Set(p.values()))){let n=[];for(let e of t){let t=d.filter(t=>N(t,e)),r=n.find(({G:e})=>t.some(t=>e.has(t)));r||(r={G:new Set,V:[]},n.push(r)),r.V.push(e),t.forEach(t=>r.G.add(t))}let r=n.flatMap(t=>k(t.G));for(let{G:t,V:i}of n){let n=new Set(r.filter(e=>!t.has(e)));for(let t of i)e.set(t,n)}}let P=new Set,O=new Set,R=t=>P.has(t)?O.add(t):P.add(t);for(let t of d){for(let e of t.P)R(e);for(let e of t.Q)R(e)}for(let t of P)p.has(t)||O.has(t)||p.set(t,1);for(let r of(g=new Set(k(P).concat(k(T(P).map(M)))),m=(t=[],e=w(n),function e({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&&t.push(i),r))for(let t of a.Q)e(a,[...i,t],o)}(function t(r){return{S:n(),B:C(()=>{let r=w(n).map(t=>e[t]);if(r.length)return t(r)}),Q:r}}([]),[]),t).map(t=>D.from(t)).sort(I),v=new Map,m)){let t=[v];for(let e of r){let n=t.map(t=>{let n=t.get(e);return n||(n=new Map,t.set(e,n)),n});65039===e?t.push(...n):t=n}for(let e of t)e.V=r}}function U(t){return(_(t)?"":`${L(F([t]))} `)+P(t)}function L(t){return`"${t}"\u200E`}function F(t,e=P){var n;let r=[];n=t[0],j(),c.has(n)&&r.push("â");let i=0,o=t.length;for(let n=0;n<o;n++){let o=t[n];_(o)&&(r.push(S(t.slice(i,n))),r.push(e(o)),i=n+1)}return r.push(S(t.slice(i,o))),r.join("")}function _(t){return j(),f.has(t)}function V(t){return Error(`disallowed character: ${U(t)}`)}function G(t,e){let n=U(e),r=d.find(t=>t.P.has(e));return r&&(n=`${r.N} ${n}`),Error(`illegal mixture: ${t.N} + ${n}`)}function Q(t){return Error(`illegal placement: ${t}`)}function z(t){return t.filter(t=>65039!=t)}function H(t){var e;return(e=function(t,e,n){if(!t)return[];j();let r=0;return t.split(".").map(t=>{let i=function(t){let e=[];for(let n=0,r=t.length;n<r;){let r=t.codePointAt(n);n+=r<65536?1:2,e.push(r)}return e}(t),o={input:i,offset:r};r+=i.length+1;try{let t,r=o.tokens=function(t,e,n){let r=[],i=[];for(t=t.slice().reverse();t.length;){let o=function(t,e){let n,r=v,i=t.length;for(;i&&(r=r.get(t[--i]));){let{V:o}=r;o&&(n=o,e&&e.push(...t.slice(i).reverse()),t.length=i)}return n}(t);if(o)i.length&&(r.push(e(i)),i=[]),r.push(n(o));else{let e=t.pop();if(g.has(e))i.push(e);else{let t=s.get(e);if(t)i.push(...t);else if(!u.has(e))throw V(e)}}}return i.length&&r.push(e(i)),r}(i,e,n),a=r.length;if(!a)throw Error("empty label");let f=o.output=r.flat();if(!function(t){for(let e=t.lastIndexOf(95);e>0;)if(95!==t[--e])throw Error("underscore allowed only at start")}(f),!(o.emoji=a>1||r[0].is_emoji)&&f.every(t=>t<128))!function(t){if(t.length>=4&&45==t[2]&&45==t[3])throw Error(`invalid label extension: "${S(t.slice(0,4))}"`)}(f),t="ASCII";else{let e=r.flatMap(t=>t.is_emoji?[]:t);if(e.length){if(c.has(f[0]))throw Q("leading combining mark");for(let t=1;t<a;t++){let e=r[t];
57if(!e.is_emoji&&c.has(e[0]))throw Q(`emoji + combining mark: "${S(r[t-1])} + ${F([e[0]])}"`)}!function(t){let e=t[0],n=y.get(e);if(n)throw Q(`leading ${n}`);let r=t.length,i=-1;for(let o=1;o<r;o++){e=t[o];let r=y.get(e);if(r){if(i==o)throw Q(`${n} + ${r}`);i=o+1,n=r}}if(i==r)throw Q(`trailing ${n}`)}(f);let n=k(new Set(e)),[i]=function(t){let e=d;for(let n of t){let t=e.filter(t=>N(t,n));if(!t.length){if(d.some(t=>N(t,n)))throw G(e[0],n);throw V(n)}if(e=t,1==t.length)break}return e}(n);(function(t,e){for(let n of e)if(!N(t,n))throw G(t,n);if(t.M){let t=T(e).map(M);for(let e=1,n=t.length;e<n;e++)if(l.has(t[e])){let r=e+1;for(let i;r<n&&l.has(i=t[r]);r++)for(let n=e;n<r;n++)if(t[n]==i)throw Error(`duplicate non-spacing marks: ${U(i)}`);if(r-e>4)throw Error(`excessive non-spacing marks: ${L(F(t.slice(e-1,r)))} (${r-e}/4)`);e=r}}})(i,e),function(t,e){let n;let r=[];for(let t of e){let e=p.get(t);if(1===e)return;if(e){let r=e.M.get(t);if(!(n=n?n.filter(t=>r.has(t)):k(r)).length)return}else r.push(t)}if(n){for(let e of n)if(r.every(t=>N(e,t)))throw Error(`whole-script confusable: ${t.N}/${e.N}`)}}(i,n),t=i.N}else t="Emoji"}o.type=t}catch(t){o.error=t}return o})}(t,B,z)).map(({input:t,error:n,output:r})=>{if(n){let r=n.message;throw Error(1==e.length?r:`Invalid label ${L(F(t))}: ${r}`)}return S(r)}).join(".")}},27414:function(t,e,n){"use strict";n.d(e,{T:function(){return s}});var r=n(24225),i=n(67156),o=n(82535),a=n(70078);function s(t){let e=t.replace(/^\.|\.$/gm,"");if(0===e.length)return new Uint8Array(1);let n=new Uint8Array((0,r.qX)(e).byteLength+2),s=0,u=e.split(".");for(let t=0;t<u.length;t++){let e=(0,r.qX)(u[t]);if(e.byteLength>255){var c;e=(0,r.qX)((c=function(t){let e=new Uint8Array(32).fill(0);return t?(0,a.i)(t)||(0,o.w)((0,r.qX)(t)):(0,i.ci)(e)}(u[t]),`[${c.slice(2)}]`))}n[s]=e.length,n.set(e,s+1),s+=e.length+1}return n.byteLength!==s+1?n.slice(0,s+1):n}},37694:function(t,e,n){"use strict";n.d(e,{S:function(){return s}});var r=n(83003),i=n(74334),o=n(10330),a=n(66510);function s(t,{abi:e,address:n,args:s,docsPath:u,functionName:c,sender:l}){let{code:f,data:d,message:h,shortMessage:p}=t instanceof o.VQ?t:t instanceof i.G?t.walk(t=>"data"in t)||t.walk():{},g=t instanceof r.wb?new o.Dk({functionName:c}):[3,a.XS.code].includes(f)&&(d||h||p)?new o.Lu({abi:e,data:"object"==typeof d?d.data:d,functionName:c,message:p??h}):t;return new o.uq(g,{abi:e,args:s,contractAddress:n,docsPath:u,functionName:c,sender:l})}},33565:function(t,e,n){"use strict";n.d(e,{k:function(){return o}});var r=n(74334),i=n(18851);function o(t,e){let n=(t.details||"").toLowerCase(),o=t instanceof r.G?t.walk(t=>t.code===i.M_.code):t;return o instanceof r.G?new i.M_({cause:t,message:o.details}):i.M_.nodeMessage.test(n)?new i.M_({cause:t,message:t.details}):i.Hh.nodeMessage.test(n)?new i.Hh({cause:t,maxFeePerGas:e?.maxFeePerGas}):i.G$.nodeMessage.test(n)?new i.G$({cause:t,maxFeePerGas:e?.maxFeePerGas}):i.ZI.nodeMessage.test(n)?new i.ZI({cause:t,nonce:e?.nonce}):i.vU.nodeMessage.test(n)?new i.vU({cause:t,nonce:e?.nonce}):i.se.nodeMessage.test(n)?new i.se({cause:t,nonce:e?.nonce}):i.C_.nodeMessage.test(n)?new i.C_({cause:t}):i.WF.nodeMessage.test(n)?new i.WF({cause:t,gas:e?.gas}):i.dR.nodeMessage.test(n)?new i.dR({cause:t,gas:e?.gas}):i.pZ.nodeMessage.test(n)?new i.pZ({cause:t}):i.cs.nodeMessage.test(n)?new i.cs({cause:t,maxFeePerGas:e?.maxFeePerGas,maxPriorityFeePerGas:e?.maxPriorityFeePerGas}):new i.cj({cause:t})}},75269:function(t,e,n){"use strict";n.d(e,{G:function(){return a},Z:function(){return o}});var r=n(87234),i=n(17920);function o(t){let e=t.transactions?.map(t=>"string"==typeof t?t:i.Tr(t));return{...t,baseFeePerGas:t.baseFeePerGas?BigInt(t.baseFeePerGas):null,blobGasUsed:t.blobGasUsed?BigInt(t.blobGasUsed):void 0,difficulty:t.difficulty?BigInt(t.difficulty):void 0,excessBlobGas:t.excessBlobGas?BigInt(t.excessBlobGas):void 0,gasLimit:t.gasLimit?BigInt(t.gasLimit):void 0,gasUsed:t.gasUsed?BigInt(t.gasUsed):void 0,hash:t.hash?t.hash:null,logsBloom:t.logsBloom?t.logsBloom:null,nonce:t.nonce?t.nonce:null,number:t.number?BigInt(t.number):null,size:t.size?BigInt(t.size):void 0,timestamp:t.timestamp?BigInt(t.timestamp):void 0,transactions:e,totalDifficulty:t.totalDifficulty?BigInt(t.totalDifficulty):null}}let a=(0,r.$)("block",o)},2294:function(t,e,n){"use strict";function r(t,{format:e}){if(!e)return{};let n={};return!function e(r){for(let i of Object.keys(r))i in t&&(n[i]=t[i]),r[i]&&"object"==typeof r[i]&&!Array.isArray(r[i])&&e(r[i])}(e(t||{})),n}n.d(e,{K:function(){return r}})},87234:function(t,e,n){"use strict";function r(t,e){return({exclude:n,format:r})=>({exclude:n,format:t=>{let i=e(t);if(n)for(let t of n)delete i[t];return{...i,...r(t)}},type:t})}n.d(e,{$:function(){return r}})},17920:function(t,e,n){"use strict";n.d(e,{Tr:function(){return a},c8:function(){return o},y_:function(){return s}});var r=n(1016),i=n(87234);let o={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844"};function a(t){let e={...t,blockHash:t.blockHash?t.blockHash:null,blockNumber:t.blockNumber?BigInt(t.blockNumber):null,chainId:t.chainId?(0,r.ly)(t.chainId):void 0,gas:t.gas?BigInt(t.gas):void 0,gasPrice:t.gasPrice?BigInt(t.gasPrice):void 0,maxFeePerBlobGas:t.maxFeePerBlobGas?BigInt(t.maxFeePerBlobGas):void 0,maxFeePerGas:t.maxFeePerGas?BigInt(t.maxFeePerGas):void 0,maxPriorityFeePerGas:t.maxPriorityFeePerGas?BigInt(t.maxPriorityFeePerGas):void 0,nonce:t.nonce?(0,r.ly)(t.nonce):void 0,to:t.to?t.to:null,transactionIndex:t.transactionIndex?Number(t.transactionIndex):null,type:t.type?o[t.type]:void 0,typeHex:t.type?t.type:void 0,value:t.value?BigInt(t.value):void 0,v:t.v?BigInt(t.v):void 0};return e.yParity=(()=>
57{if(t.yParity)return Number(t.yParity);if("bigint"==typeof e.v){if(0n===e.v||27n===e.v)return 0;if(1n===e.v||28n===e.v)return 1;if(e.v>=35n)return e.v%2n===0n?1:0}})(),"legacy"===e.type&&(delete e.accessList,delete e.maxFeePerBlobGas,delete e.maxFeePerGas,delete e.maxPriorityFeePerGas,delete e.yParity),"eip2930"===e.type&&(delete e.maxFeePerBlobGas,delete e.maxFeePerGas,delete e.maxPriorityFeePerGas),"eip1559"===e.type&&delete e.maxFeePerBlobGas,e}let s=(0,i.$)("transaction",a)},38299:function(t,e,n){"use strict";n.d(e,{tG:function(){return o}});var r=n(67156);let i={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3"};function o(t){let e={...t};return void 0!==t.blobs&&"string"!=typeof t.blobs[0]&&(e.blobs=t.blobs.map(t=>(0,r.ci)(t))),void 0!==t.gas&&(e.gas=(0,r.eC)(t.gas)),void 0!==t.gasPrice&&(e.gasPrice=(0,r.eC)(t.gasPrice)),void 0!==t.maxFeePerBlobGas&&(e.maxFeePerBlobGas=(0,r.eC)(t.maxFeePerBlobGas)),void 0!==t.maxFeePerGas&&(e.maxFeePerGas=(0,r.eC)(t.maxFeePerGas)),void 0!==t.maxPriorityFeePerGas&&(e.maxPriorityFeePerGas=(0,r.eC)(t.maxPriorityFeePerGas)),void 0!==t.nonce&&(e.nonce=(0,r.eC)(t.nonce)),void 0!==t.type&&(e.type=i[t.type]),void 0!==t.value&&(e.value=(0,r.eC)(t.value)),e}},30668:function(t,e,n){"use strict";function r(t,e,n){return r=>t[e.name||n]?.(r)??e(t,r)}n.d(e,{s:function(){return r}})},78300:function(t,e,n){"use strict";n.d(e,{C:function(){return o}});var r=n(86428),i=n(46744);let o=t=>(0,r.tP)((0,i.r)(t),0,4)},46744:function(t,e,n){"use strict";n.d(e,{r:function(){return l}});var r=n(24225),i=n(82535);let o=t=>(0,i.w)((0,r.O0)(t)),a=/^tuple(?<array>(\[(\d*)\])*)$/;function s(t){let e="",n=t.length;for(let r=0;r<n;r++)e+=function t(e){let n=e.type;if(a.test(e.type)&&"components"in e){n="(";let r=e.components.length;for(let i=0;i<r;i++)n+=t(e.components[i]),i<r-1&&(n+=", ");let i=function(t,e){let n=t.exec(e);return n?.groups}(a,e.type);return n+=`)${i?.array??""}`,t({...e,type:n})}return("indexed"in e&&e.indexed&&(n=`${n} indexed`),e.name)?`${n} ${e.name}`:n}(t[r]),r!==n-1&&(e+=", ");return e}var u=n(74334);let c=t=>{var e;return function(t){let e=!0,n="",r=0,i="",o=!1;for(let a=0;a<t.length;a++){let s=t[a];if(["(",")",","].includes(s)&&(e=!0),"("===s&&r++,")"===s&&r--,e){if(0===r){if(" "===s&&["event","function",""].includes(i))i="";else if(i+=s,")"===s){o=!0;break}continue}if(" "===s){","!==t[a-1]&&","!==n&&",("!==n&&(n="",e=!1);continue}i+=s,n+=s}}if(!o)throw new u.G("Unable to normalize signature.");return i}("string"==typeof t?t:"function"===(e=t).type?`function ${e.name}(${s(e.inputs)})${e.stateMutability&&"nonpayable"!==e.stateMutability?` ${e.stateMutability}`:""}${e.outputs.length?` returns (${s(e.outputs)})`:""}`:"event"===e.type?`event ${e.name}(${s(e.inputs)})`:"error"===e.type?`error ${e.name}(${s(e.inputs)})`:"constructor"===e.type?`constructor(${s(e.inputs)})${"payable"===e.stateMutability?" payable":""}`:"fallback"===e.type?"fallback()":"receive() external payable")};function l(t){return o(c(t))}},16343:function(t,e,n){"use strict";n.d(e,{S:function(){return i}});let r=new Map;function i({fn:t,id:e,shouldSplitBatch:n,wait:i=0,sort:o}){let a=async()=>{let e=c();s();let n=e.map(({args:t})=>t);0!==n.length&&t(n).then(t=>{o&&Array.isArray(t)&&t.sort(o);for(let n=0;n<e.length;n++){let{pendingPromise:r}=e[n];r.resolve?.([t[n],t])}}).catch(t=>{for(let n=0;n<e.length;n++){let{pendingPromise:r}=e[n];r.reject?.(t)}})},s=()=>r.delete(e),u=()=>c().map(({args:t})=>t),c=()=>r.get(e)||[],l=t=>r.set(e,[...c(),t]);return{flush:s,async schedule(t){let e={},r=new Promise((t,n)=>{e.resolve=t,e.reject=n});return(n?.([...u(),t])&&a(),c().length>0)?l({args:t,pendingPromise:e}):(l({args:t,pendingPromise:e}),setTimeout(a,i)),r}}}},70222:function(t,e,n){"use strict";n.d(e,{J:function(){return i}});var r=n(18670);function i(t,{delay:e=100,retryCount:n=2,shouldRetry:i=()=>!0}={}){return new Promise((o,a)=>{let s=async({count:u=0}={})=>{let c=async({error:t})=>{let n="function"==typeof e?e({count:u,error:t}):e;n&&await (0,r.D)(n),s({count:u+1})};try{let e=await t();o(e)}catch(t){if(u<n&&await i({count:u,error:t}))return c({error:t});a(t)}};s()})}},54101:function(t,e,n){"use strict";function r(t,{errorInstance:e=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(e)},n)),i(await t({signal:s?.signal||null}))}catch(t){"AbortError"===t.name&&o(e),o(t)}finally{clearTimeout(a)}})()})}n.d(e,{F:function(){return r}})},19467:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});let r=(t,e,n)=>JSON.stringify(t,(t,n)=>{let r="bigint"==typeof n?n.toString():n;return"function"==typeof e?e(t,r):r},n)},78455:function(t,e,n){"use strict";n.d(e,{F:function(){return u}});
57var r=n(6090),i=n(28498),o=n(18851),a=n(4159),s=n(58756);function u(t){let{account:e,gasPrice:n,maxFeePerGas:u,maxPriorityFeePerGas:c,to:l}=t,f=e?(0,r.T)(e):void 0;if(f&&!(0,s.U)(f.address))throw new i.b({address:f.address});if(l&&!(0,s.U)(l))throw new i.b({address:l});if(void 0!==n&&(void 0!==u||void 0!==c))throw new a.xY;if(u&&u>2n**256n-1n)throw new o.Hh({maxFeePerGas:u});if(c&&u&&c>u)throw new o.cs({maxFeePerGas:u,maxPriorityFeePerGas:c})}},41314:function(t,e,n){"use strict";n.d(e,{l:function(){return i}});var r=n(4159);function i(t){if(t.type)return t.type;if(void 0!==t.blobs||void 0!==t.blobVersionedHashes||void 0!==t.maxFeePerBlobGas||void 0!==t.sidecars)return"eip4844";if(void 0!==t.maxFeePerGas||void 0!==t.maxPriorityFeePerGas)return"eip1559";if(void 0!==t.gasPrice)return void 0!==t.accessList?"eip2930":"legacy";throw new r.j3({transaction:t})}},94990:function(t,e,n){"use strict";n.d(e,{d:function(){return o}});var r=n(32545),i=n(30317);function o(t,e="wei"){return(0,i.b)(t,r.ez[e])}},55325:function(t,e,n){"use strict";n.d(e,{o:function(){return o}});var r=n(32545),i=n(30317);function o(t,e="wei"){return(0,i.b)(t,r.Zn[e])}},30317:function(t,e,n){"use strict";function r(t,e){let n=t.toString(),r=n.startsWith("-");r&&(n=n.slice(1));let[i,o]=[(n=n.padStart(e,"0")).slice(0,n.length-e),n.slice(n.length-e)];return o=o.replace(/(0+)$/,""),`${r?"-":""}${i||"0"}${o?`.${o}`:""}`}n.d(e,{b:function(){return r}})},18670:function(t,e,n){"use strict";async function r(t){return new Promise(e=>setTimeout(e,t))}n.d(e,{D:function(){return r}})},97513:function(t,e,n){"use strict";n.d(e,{V:function(){return s},F:function(){return u}});var r=n(19776);let i=!1;async function o(t,e={}){let n;if(i)return[];i=!0,t.setState(t=>({...t,status:t.current?"reconnecting":"connecting"}));let r=[];if(e.connectors?.length)for(let n of e.connectors){let e;e="function"==typeof n?t._internal.connectors.setup(n):n,r.push(e)}else r.push(...t.connectors);try{n=await t.storage?.getItem("recentConnectorId")}catch{}let o={};for(let[,e]of t.state.connections)o[e.connector.id]=1;n&&(o[n]=0);let a=Object.keys(o).length>0?[...r].sort((t,e)=>(o[t.id]??10)-(o[e.id]??10)):r,s=!1,u=[],c=[];for(let e of a){let n=await e.getProvider();if(!n||c.some(t=>t===n)||!await e.isAuthorized())continue;let r=await e.connect({isReconnecting:!0}).catch(()=>null);r&&(e.emitter.off("connect",t._internal.events.connect),e.emitter.on("change",t._internal.events.change),e.emitter.on("disconnect",t._internal.events.disconnect),t.setState(t=>{let n=new Map(s?t.connections:new Map).set(e.uid,{accounts:r.accounts,chainId:r.chainId,connector:e});return{...t,current:s?t.current:e.uid,connections:n}}),u.push({accounts:r.accounts,chainId:r.chainId,connector:e}),c.push(n),s=!0)}return("reconnecting"===t.state.status||"connecting"===t.state.status)&&(s?t.setState(t=>({...t,status:"connected"})):t.setState(t=>({...t,connections:new Map,current:void 0,status:"disconnected"}))),i=!1,u}function a(t){let{children:e,config:n,initialState:i,reconnectOnMount:a=!0}=t,{onMount:s}=function(t,e){let{initialState:n,reconnectOnMount:r}=e;return n&&!t._internal.store.persist.hasHydrated()&&t.setState({...n,connections:r?n.connections:new Map,status:r?"reconnecting":"disconnected"}),{async onMount(){if(t._internal.ssr){await t._internal.store.persist.rehydrate();let e=t._internal.mipd?.getProviders().map(t._internal.connectors.providerDetailToConnector).map(t._internal.connectors.setup);t._internal.connectors.setState(t=>[...t,...e??[]])}r?o(t):t.storage&&t.setState(t=>({...t,connections:new Map}))}}}(n,{initialState:i,reconnectOnMount:a});n._internal.ssr||s();let u=(0,r.useRef)(!0);return(0,r.useEffect)(()=>{if(u.current&&n._internal.ssr)return s(),()=>{u.current=!1}},[]),e}let s=(0,r.createContext)(void 0);function u(t){let{children:e,config:n}=t;return(0,r.createElement)(a,t,(0,r.createElement)(s.Provider,{value:n},e))}},20861:function(t,e,n){"use strict";n.d(e,{m:function(){return l}});var r=n(57447),i=n(80752),o=n(69244),a=n(24685),s=n(19776),u=n(93151);let c=t=>"object"==typeof t&&!Array.isArray(t);function l(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(0,o.Z)(t);return function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a.v,i=(0,s.useRef)([]),o=(0,u.useSyncExternalStoreWithSelector)(t,e,n,t=>t,(t,e)=>{if(c(t)&&c(e)&&i.current.length){for(let n of i.current)if(!r(t[n],e[n]))return!1;return!0}return r(t,e)});if(c(o)){let t={...o};return Object.defineProperties(t,Object.entries(t).reduce((t,e)=>
57{let[n,r]=e;return{...t,[n]:{configurable:!1,enumerable:!0,get:()=>(i.current.includes(n)||i.current.push(n),r)}}},{})),t}return o}(t=>(0,r.u)(e,{onChange:t}),()=>(0,i.D)(e))}},88309:function(t,e,n){"use strict";n.d(e,{E:function(){return a}});var r=n(57447),i=n(19776),o=n(69244);function a(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onConnect:e,onDisconnect:n}=t,a=(0,o.Z)(t);(0,i.useEffect)(()=>(0,r.u)(a,{onChange(t,r){if(("reconnecting"===r.status||"connecting"===r.status&&void 0===r.address)&&"connected"===t.status){let{address:n,addresses:i,chain:o,chainId:a,connector:s}=t,u="reconnecting"===r.status||void 0===r.status;null==e||e({address:n,addresses:i,chain:o,chainId:a,connector:s,isReconnected:u})}else"connected"===r.status&&"disconnected"===t.status&&(null==n||n())}}),[a,e,n])}},94678:function(t,e,n){"use strict";n.d(e,{K:function(){return R}});var r=n(10330),i=n(1016),o=n(61733),a=n(30317),s=n(67156);async function u(t,{address:e,blockNumber:n,blockTag:r="latest"}){let i=n?(0,s.eC)(n):void 0;return BigInt(await t.request({method:"eth_getBalance",params:[e,i||r]}))}var c=n(75998),l=n(32545);function f(t){return"number"==typeof t?t:"wei"===t?0:Math.abs(l.Bd[t])}var d=n(48209),h=n(83003),p=n(74334),g=n(70149),m=n(66451),v=n(13537),y=n(37694),b=n(30668),w=n(36313);async function A(t,e){let{allowFailure:n=!0,batchSize:i,blockNumber:o,blockTag:a,multicallAddress:s,stateOverride:u}=e,c=e.contracts,l=i??("object"==typeof t.batch?.multicall&&t.batch.multicall.batchSize||1024),f=s;if(!f){if(!t.chain)throw Error("client chain not configured. multicallAddress is required.");f=(0,v.L)({blockNumber:o,chain:t.chain,contract:"multicall3"})}let A=[[]],E=0,C=0;for(let t=0;t<c.length;t++){let{abi:e,address:r,args:i,functionName:o}=c[t];try{let t=(0,m.R)({abi:e,args:i,functionName:o});C+=(t.length-2)/2,l>0&&C>l&&A[E].length>0&&(E++,C=(t.length-2)/2,A[E]=[]),A[E]=[...A[E],{allowFailure:!0,callData:t,target:r}]}catch(a){let t=(0,y.S)(a,{abi:e,address:r,args:i,docsPath:"/docs/contract/multicall",functionName:o});if(!n)throw t;A[E]=[...A[E],{allowFailure:!0,callData:"0x",target:r}]}}let x=await Promise.allSettled(A.map(e=>(0,b.s)(t,w.L,"readContract")({abi:d.F8,address:f,args:[e],blockNumber:o,blockTag:a,functionName:"aggregate3",stateOverride:u}))),P=[];for(let t=0;t<x.length;t++){let e=x[t];if("rejected"===e.status){if(!n)throw e.reason;for(let n=0;n<A[t].length;n++)P.push({status:"failure",error:e.reason,result:void 0});continue}let i=e.value;for(let e=0;e<i.length;e++){let{returnData:o,success:a}=i[e],{callData:s}=A[t][e],{abi:u,address:l,functionName:f,args:d}=c[P.length];try{if("0x"===s)throw new h.wb;if(!a)throw new r.VQ({data:o});let t=(0,g.k)({abi:u,args:d,data:o,functionName:f});P.push(n?{result:t,status:"success"}:t)}catch(e){let t=(0,y.S)(e,{abi:u,address:l,args:d,docsPath:"/docs/contract/multicall",functionName:f});if(!n)throw t;P.push({error:t,result:void 0,status:"failure"})}}}if(P.length!==c.length)throw new p.G("multicall results mismatch");return P}async function E(t,e){let{allowFailure:n=!0,chainId:r,contracts:i,...o}=e,a=t.getClient({chainId:r});return(0,c.s)(a,A,"multicall")({allowFailure:n,contracts:i,...o})}async function C(t,e){let{allowFailure:n=!0,blockNumber:i,blockTag:o,...a}=e,s=e.contracts;try{let e=s.reduce((e,n,r)=>{let i=n.chainId??t.state.chainId;return{...e,[i]:[...e[i]||[],{contract:n,index:r}]}},{}),r=(await Promise.all(Object.entries(e).map(([e,r])=>E(t,{...a,allowFailure:n,blockNumber:i,blockTag:o,chainId:parseInt(e),contracts:r.map(({contract:t})=>t)})))).flat(),u=Object.values(e).flatMap(t=>t.map(({index:t})=>t));return r.reduce((t,e,n)=>(t&&(t[u[n]]=e),t),[])}catch(a){if(a instanceof r.uq)throw a;let e=()=>s.map(e=>(function(t,e){let{chainId:n,...r}=e,i=t.getClient({chainId:n});return(0,c.s)(i,w.L,"readContract")(r)})(t,{...e,blockNumber:i,blockTag:o}));if(n)return(await Promise.allSettled(e())).map(t=>"fulfilled"===t.status?{result:t.value,status:"success"}:{error:t.reason,result:void 0,status:"failure"});return await Promise.all(e())}}async function x(t,e){let{address:n,blockNumber:s,blockTag:l,chainId:d,token:h,unit:p="ether"}=e;if(h)try{return P(t,{balanceAddress:n,chainId:d,symbolType:"string",tokenAddress:h})}catch(e){if(e instanceof r.uq){let e=await P(t,{balanceAddress:n,chainId:d,symbolType:"bytes32",tokenAddress:h}),r=(0,i.rR)((0,o.f)(e.symbol,{dir:"right"}));return{...e,symbol:r}}throw e}let g=t.getClient({chainId:d}),m=(0,c.s)(g,u,"getBalance"),v=await m(s?{address:n,blockNumber:s}:{address:n,blockTag:l}),y=t.chains.find(t=>
57t.id===d)??g.chain;return{decimals:y.nativeCurrency.decimals,formatted:(0,a.b)(v,f(p)),symbol:y.nativeCurrency.symbol,value:v}}async function P(t,e){let{balanceAddress:n,chainId:r,symbolType:i,tokenAddress:o,unit:s}=e,u={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:o},[c,l,d]=await C(t,{allowFailure:!1,contracts:[{...u,functionName:"balanceOf",args:[n],chainId:r},{...u,functionName:"decimals",chainId:r},{...u,functionName:"symbol",chainId:r}]}),h=(0,a.b)(c??"0",f(s??l));return{decimals:l,formatted:h,symbol:d,value:c}}var S=n(11354),I=n(65813),O=n(75196),M=n(69244);function R(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{address:r,query:i={}}=n,o=(0,M.Z)(n),a=(0,O.x)(),s=function(t,e={}){return{async queryFn({queryKey:e}){let{address:n,scopeKey:r,...i}=e[1];if(!n)throw Error("address is required");return await x(t,{...i,address:n})??null},queryKey:function(t={}){return["balance",(0,S.O)(t)]}(e)}}(o,{...n,chainId:null!==(t=n.chainId)&&void 0!==t?t:a}),u=!!(r&&(null===(e=i.enabled)||void 0===e||e));return(0,I.aM)({...i,...s,enabled:u})}},1186:function(t,e,n){"use strict";n.d(e,{O:function(){return x}});var r=n(27357);let i=new Map,o=new Map;async function a(t,{cacheKey:e,cacheTime:n=1/0}){let r=function(t){let e=(t,e)=>({clear:()=>e.delete(t),get:()=>e.get(t),set:n=>e.set(t,n)}),n=e(t,i),r=e(t,o);return{clear:()=>{n.clear(),r.clear()},promise:n,response:r}}(e),a=r.response.get();if(a&&n>0&&new Date().getTime()-a.created.getTime()<n)return a.data;let s=r.promise.get();s||(s=t(),r.promise.set(s));try{let t=await s;return r.response.set({created:new Date,data:t}),t}finally{r.promise.clear()}}let s=t=>`blockNumber.${t}`;async function u(t,{cacheTime:e=t.cacheTime}={}){return BigInt(await a(()=>t.request({method:"eth_blockNumber"}),{cacheKey:s(t.uid),cacheTime:e}))}var c=n(75998),l=n(11354),f=n(65813),d=n(75196),h=n(69244),p=n(1016),g=n(30668);let m=new Map,v=new Map,y=0;function b(t,e,n){let r=++y,i=()=>m.get(t)||[],o=()=>{let e=i();m.set(t,e.filter(t=>t.id!==r))},a=()=>{let e=v.get(t);1===i().length&&e&&e(),o()},s=i();if(m.set(t,[...s,{id:r,fns:e}]),s&&s.length>0)return a;let u={};for(let t in e)u[t]=(...e)=>{let n=i();if(0!==n.length)for(let r of n)r.fns[t]?.(...e)};let c=n(u);return"function"==typeof c&&v.set(t,c),a}var w=n(18670),A=n(19467);function E(t,{emitOnBegin:e=!1,emitMissed:n=!1,onBlockNumber:r,onError:i,poll:o,pollingInterval:a=t.pollingInterval}){let s;return(void 0!==o?o:"webSocket"!==t.transport.type)?b((0,A.P)(["watchBlockNumber",t.uid,e,n,a]),{onBlockNumber:r,onError:i},r=>(function(t,{emitOnBegin:e,initialWaitTime:n,interval:r}){let i=!0,o=()=>i=!1;return(async()=>{let a;e&&(a=await t({unpoll:o}));let s=await n?.(a)??r;await (0,w.D)(s);let u=async()=>{i&&(await t({unpoll:o}),await (0,w.D)(r),u())};u()})(),o})(async()=>{try{let e=await (0,g.s)(t,u,"getBlockNumber")({cacheTime:0});if(s){if(e===s)return;if(e-s>1&&n)for(let t=s+1n;t<e;t++)r.onBlockNumber(t,s),s=t}(!s||e>s)&&(r.onBlockNumber(e,s),s=e)}catch(t){r.onError?.(t)}},{emitOnBegin:e,interval:a})):b((0,A.P)(["watchBlockNumber",t.uid,e,n]),{onBlockNumber:r,onError:i},e=>{let n=!0,r=()=>n=!1;return(async()=>{try{let{unsubscribe:i}=await t.transport.subscribe({params:["newHeads"],onData(t){if(!n)return;let r=(0,p.y_)(t.result?.number);e.onBlockNumber(r,s),s=r},onError(t){e.onError?.(t)}});r=i,n||r()}catch(t){i?.(t)}})(),()=>r()})}var C=n(19776);function x(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{query:i={},watch:o}=n,a=(0,h.Z)(n),s=(0,r.NL)(),p=(0,d.x)(),g=null!==(t=n.chainId)&&void 0!==t?t:p,m=function(t,e={}){return{gcTime:0,async queryFn({queryKey:e}){let{scopeKey:n,...r}=e[1];return await function(t,e={}){let{chainId:n,...r}=e,i=t.getClient({chainId:n});return(0,c.s)(i,u,"getBlockNumber")(r)}(t,r)??null},queryKey:function(t={}){return["blockNumber",(0,l.O)(t)]}(e)}}(a,{...n,chainId:g});return!function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{enabled:n=!0,onBlockNumber:r,config:i,...o}=e,a=(0,h.Z)(e),s=(0,d.x)(),u=null!==(t=e.chainId)&&void 0!==t?t:s;(0,C.useEffect)(()=>
57{if(n&&r)return function(t,e){let n,r;let{syncConnectedChain:i=t._internal.syncConnectedChain,...o}=e,a=e=>{n&&n();let r=t.getClient({chainId:e});return n=(0,c.s)(r,E,"watchBlockNumber")(o)},s=a(e.chainId);return i&&!e.chainId&&(r=t.subscribe(({chainId:t})=>t,async t=>a(t))),()=>{s?.(),r?.()}}(a,{...o,chainId:u,onBlockNumber:r})},[u,a,n,r,o])}({...{config:n.config,chainId:n.chainId,..."object"==typeof o?o:{}},enabled:!!((null===(e=i.enabled)||void 0===e||e)&&("object"==typeof o?o.enabled:o)),onBlockNumber(t){s.setQueryData(m.queryKey,t)}}),(0,f.aM)({...i,...m})}},75196:function(t,e,n){"use strict";function r(t){return t.state.chainId}n.d(e,{x:function(){return a}});var i=n(19776),o=n(69244);function a(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(0,o.Z)(t);return(0,i.useSyncExternalStore)(t=>(function(t,e){let{onChange:n}=e;return t.subscribe(t=>t.chainId,n)})(e,{onChange:t}),()=>r(e),()=>r(e))}},69244:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(19776),i=n(97513),o=n(66621);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 u extends s{constructor(){super("`useConfig` must be used within `WagmiProvider`.",{docsPath:"/api/WagmiProvider"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiProviderNotFoundError"})}}function c(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null!==(t=e.config)&&void 0!==t?t:(0,r.useContext)(i.V);if(!n)throw new u;return n}},29920:function(t,e,n){"use strict";n.d(e,{$:function(){return c}});var r=n(74171),i=n(99458);async function o(t,e){let n;if((n="function"==typeof e.connector?t._internal.connectors.setup(e.connector):e.connector).uid===t.state.current)throw new i.wi;try{t.setState(t=>({...t,status:"connecting"})),n.emitter.emit("message",{type:"connecting"});let r=await n.connect({chainId:e.chainId}),i=r.accounts;return n.emitter.off("connect",t._internal.events.connect),n.emitter.on("change",t._internal.events.change),n.emitter.on("disconnect",t._internal.events.disconnect),await t.storage?.setItem("recentConnectorId",n.id),t.setState(t=>({...t,connections:new Map(t.connections).set(n.uid,{accounts:i,chainId:r.chainId,connector:n}),current:n.uid,status:"connected"})),{accounts:i,chainId:r.chainId}}catch(e){throw t.setState(t=>({...t,status:t.current?"connected":"disconnected"})),e}}var a=n(19776),s=n(69244),u=n(40704);function c(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:e}=t,n=(0,s.Z)(t),i=(0,u.Y)({config:n}),{mutate:c,mutateAsync:l,...f}=(0,r.D)({...e,mutationFn:t=>o(n,t),mutationKey:["connect"]});return(0,a.useEffect)(()=>n.subscribe(t=>{let{status:e}=t;return e},(t,e)=>{"connected"===e&&"disconnected"===t&&f.reset()}),[n,f]),{...f,connect:c,connectAsync:l,connectors:i}}},40704:function(t,e,n){"use strict";n.d(e,{Y:function(){return u}});var r=n(24685);let i=[];function o(t){let e=t.connectors;
57return(0,r.v)(i,e)?i:(i=e,e)}var a=n(19776),s=n(69244);function u(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(0,s.Z)(t);return(0,a.useSyncExternalStore)(t=>(function(t,e){let{onChange:n}=e;return t._internal.connectors.subscribe((t,e)=>{n(Object.values(t),e)})})(e,{onChange:t}),()=>o(e),()=>o(e))}},70363:function(t,e,n){"use strict";n.d(e,{q:function(){return l}});var r=n(74171);async function i(t,e={}){let n;if(e.connector)n=e.connector;else{let{connections:e,current:r}=t.state,i=e.get(r);n=i?.connector}let r=t.state.connections;n&&(await n.disconnect(),n.emitter.off("change",t._internal.events.change),n.emitter.off("disconnect",t._internal.events.disconnect),n.emitter.on("connect",t._internal.events.connect),r.delete(n.uid)),t.setState(t=>{if(0===r.size)return{...t,connections:new Map,current:void 0,status:"disconnected"};let e=r.values().next().value;return{...t,connections:new Map(r),current:e.connector.uid}});{let e=t.state.current;if(!e)return;let n=t.state.connections.get(e)?.connector;if(!n)return;await t.storage?.setItem("recentConnectorId",n.id)}}var o=n(69244),a=n(24685);let s=[];function u(t){let e=[...t.state.connections.values()];return"reconnecting"===t.state.status||(0,a.v)(s,e)?s:(s=e,e)}var c=n(19776);function l(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:e}=t,n=(0,o.Z)(t),{mutate:s,mutateAsync:l,...f}=(0,r.D)({...e,mutationFn:t=>i(n,t),mutationKey:["disconnect"]});return{...f,connectors:(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(0,o.Z)(t);return(0,c.useSyncExternalStore)(t=>(function(t,e){let{onChange:n}=e;return t.subscribe(()=>u(t),n,{equalityFn:a.v})})(e,{onChange:t}),()=>u(e),()=>u(e))})({config:n}).map(t=>t.connector),disconnect:s,disconnectAsync:l}}},78035:function(t,e,n){"use strict";n.d(e,{S:function(){return w}});var r=n(48209),i=n(70149),o=n(66451),a=n(13537),s=n(61733),u=n(67156),c=n(68642),l=n(66475),f=n(27414),d=n(30668),h=n(36313);async function p(t,{blockNumber:e,blockTag:n,coinType:p,name:g,gatewayUrls:m,strict:v,universalResolverAddress:y}){let b=y;if(!b){if(!t.chain)throw Error("client chain not configured. universalResolverAddress is required.");b=(0,a.L)({blockNumber:e,chain:t.chain,contract:"ensUniversalResolver"})}try{let a=(0,o.R)({abi:r.X$,functionName:"addr",...null!=p?{args:[(0,l.V)(g),BigInt(p)]}:{args:[(0,l.V)(g)]}}),c={address:b,abi:r.k3,functionName:"resolve",args:[(0,u.NC)((0,f.T)(g)),a],blockNumber:e,blockTag:n},v=(0,d.s)(t,h.L,"readContract"),y=m?await v({...c,args:[...c.args,m]}):await v(c);if("0x"===y[0])return null;let w=(0,i.k)({abi:r.X$,args:null!=p?[(0,l.V)(g),BigInt(p)]:void 0,functionName:"addr",data:y[0]});if("0x"===w||"0x00"===(0,s.f)(w))return null;return w}catch(t){if(v)throw t;if((0,c.c)(t,"resolve"))return null;throw t}}var g=n(75998),m=n(11354),v=n(65813),y=n(75196),b=n(69244);function w(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{name:r,query:i={}}=n,o=(0,b.Z)(n),a=(0,y.x)(),s=function(t,e={}){return{async queryFn({queryKey:e}){let{name:n,scopeKey:r,...i}=e[1];if(!n)throw Error("name is required");return function(t,e){let{chainId:n,...r}=e,i=t.getClient({chainId:n});return(0,g.s)(i,p,"getEnsAddress")(r)}(t,{...i,name:n})},queryKey:function(t={}){return["ensAddress",(0,m.O)(t)]}(e)}}(o,{...n,chainId:null!==(t=n.chainId)&&void 0!==t?t:a}),u=!!(r&&(null===(e=i.enabled)||void 0===e||e));return(0,v.aM)({...i,...s,enabled:u})}},82886:function(t,e,n){"use strict";n.d(e,{c:function(){return L}});var r=n(36313),i=n(74334);class o extends i.G{constructor({data:t}){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(t)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarInvalidMetadataError"})}}class a extends i.G{constructor({reason:t}){super(`ENS NFT avatar URI is invalid. ${t}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarInvalidNftUriError"})}}class s extends i.G{constructor({uri:t}){super(`Unable to resolve ENS avatar URI "${t}". The URI may be malformed, invalid, or does not respond with a valid image.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarUriResolutionError"})}}class u extends i.G{constructor({namespace:t}){super(`ENS NFT avatar namespace "${t}" is not supported. Must be "erc721" or "erc1155".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarUnsupportedNamespaceError"})}}let c=/(?<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>\/.*)?$/,f=/^data:([a-zA-Z\-/+]*);base64,([^"].*)/,d=/^data:([a-zA-Z\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;async function h(t){try{let e=await fetch(t,{method:"HEAD"});if(200===e.status){let t=e.headers.get("content-type");return t?.startsWith("image/")}return!1}catch(e){if("object"==typeof e&&void 0!==e.response||!globalThis.hasOwnProperty("Image"))return!1;return new Promise(e=>{let n=new Image;n.onload=()=>{e(!0)},n.onerror=()=>{e(!1)},n.src=t})}}function p(t,e){return t?t.endsWith("/")?t.slice(0,-1):t:e}function g({uri:t,gatewayUrls:e}){let n=f.test(t);if(n)return{uri:t,isOnChain:!0,isEncoded:n};let r=p(e?.ipfs,"https://ipfs.io"),i=p(e?.arweave,"https://arweave.net"),o=t.match(c),{protocol:a,subpath:u,target:h,subtarget:g=""}=o?.groups||{},m="ipns:/"===a||"ipns/"===u,v="ipfs:/"===a||"ipfs/"===u||l.test(t);if(t.startsWith("http")&&!m&&!v){let n=t;return e?.arweave&&(n=t.replace(/https:\/\/arweave.net/g,e?.arweave)),{uri:n,isOnChain:!1,isEncoded:!1}}if((m||v)&&h)return{uri:`${r}/${m?"ipns":"ipfs"}/${h}${g}`,isOnChain:!1,isEncoded:!1};if("ar:/"===a&&h)return{uri:`${i}/${h}${g||""}`,isOnChain:!1,isEncoded:!1};let y=t.replace(d,"");if(y.startsWith("<svg")&&(y=`data:image/svg+xml;base64,${btoa(y)}`),y.startsWith("data:")||y.startsWith("{"))return{uri:y,isOnChain:!0,isEncoded:!1};throw new s({uri:t})}function m(t){if("object"!=typeof t||!("image"in t)&&!("image_url"in t)&&!("image_data"in t))throw new o({data:t});return t.image||t.image_url||t.image_data}async function v({gatewayUrls:t,uri:e}){try{let n=await fetch(e).then(t=>t.json());return await y({gatewayUrls:t,uri:m(n)})}catch{throw new s({uri:e})}}async function y({gatewayUrls:t,uri:e}){let{uri:n,isOnChain:r}=g({uri:e,gatewayUrls:t});if(r||await h(n))return n;throw new s({uri:e})}async function b(t,{nft:e}){if("erc721"===e.namespace)return(0,r.L)(t,{address:e.contractAddress,abi:[{name:"tokenURI",type:"function",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"string"}]}
57],functionName:"tokenURI",args:[BigInt(e.tokenID)]});if("erc1155"===e.namespace)return(0,r.L)(t,{address:e.contractAddress,abi:[{name:"uri",type:"function",stateMutability:"view",inputs:[{name:"_id",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"uri",args:[BigInt(e.tokenID)]});throw new u({namespace:e.namespace})}async function w(t,{gatewayUrls:e,record:n}){return/eip155:/i.test(n)?A(t,{gatewayUrls:e,record:n}):y({uri:n,gatewayUrls:e})}async function A(t,{gatewayUrls:e,record:n}){let r=function(t){let e=t;e.startsWith("did:nft:")&&(e=e.replace("did:nft:","").replace(/_/g,"/"));let[n,r,i]=e.split("/"),[o,s]=n.split(":"),[u,c]=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(!c)throw new a({reason:"Contract address not found"});if(!i)throw new a({reason:"Token ID not found"});if(!u)throw new a({reason:"ERC namespace not found"});return{chainID:parseInt(s),namespace:u.toLowerCase(),contractAddress:c,tokenID:i}}(n),{uri:i,isOnChain:o,isEncoded:s}=g({uri:await b(t,{nft:r}),gatewayUrls:e});if(o&&(i.includes("data:application/json;base64,")||i.startsWith("{")))return y({uri:m(JSON.parse(s?atob(i.replace("data:application/json;base64,","")):i)),gatewayUrls:e});let u=r.tokenID;return"erc1155"===r.namespace&&(u=u.replace("0x","").padStart(64,"0")),v({gatewayUrls:e,uri:i.replace(/(?:0x)?{id}/,u)})}var E=n(30668),C=n(48209),x=n(70149),P=n(66451),S=n(13537),I=n(67156),O=n(68642),M=n(66475),R=n(27414);async function T(t,{blockNumber:e,blockTag:n,name:i,key:o,gatewayUrls:a,strict:s,universalResolverAddress:u}){let c=u;if(!c){if(!t.chain)throw Error("client chain not configured. universalResolverAddress is required.");c=(0,S.L)({blockNumber:e,chain:t.chain,contract:"ensUniversalResolver"})}try{let s={address:c,abi:C.k3,functionName:"resolve",args:[(0,I.NC)((0,R.T)(i)),(0,P.R)({abi:C.nZ,functionName:"text",args:[(0,M.V)(i),o]})],blockNumber:e,blockTag:n},u=(0,E.s)(t,r.L,"readContract"),l=a?await u({...s,args:[...s.args,a]}):await u(s);if("0x"===l[0])return null;let f=(0,x.k)({abi:C.nZ,functionName:"text",data:l[0]});return""===f?null:f}catch(t){if(s)throw t;if((0,O.c)(t,"resolve"))return null;throw t}}async function B(t,{blockNumber:e,blockTag:n,assetGatewayUrls:r,name:i,gatewayUrls:o,strict:a,universalResolverAddress:s}){let u=await (0,E.s)(t,T,"getEnsText")({blockNumber:e,blockTag:n,key:"avatar",name:i,universalResolverAddress:s,gatewayUrls:o,strict:a});if(!u)return null;try{return await w(t,{record:u,gatewayUrls:r})}catch{return null}}var k=n(75998),N=n(11354),D=n(65813),j=n(75196),U=n(69244);function L(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{name:r,query:i={}}=n,o=(0,U.Z)(n),a=(0,j.x)(),s=function(t,e={}){return{async queryFn({queryKey:e}){let{name:n,scopeKey:r,...i}=e[1];if(!n)throw Error("name is required");return function(t,e){let{chainId:n,...r}=e,i=t.getClient({chainId:n});return(0,k.s)(i,B,"getEnsAvatar")(r)}(t,{...i,name:n})},queryKey:function(t={}){return["ensAvatar",(0,N.O)(t)]}(e)}}(o,{...n,chainId:null!==(t=n.chainId)&&void 0!==t?t:a}),u=!!(r&&(null===(e=i.enabled)||void 0===e||e));return(0,D.aM)({...i,...s,enabled:u})}},72120:function(t,e,n){"use strict";n.d(e,{F:function(){return m}});var r=n(48209),i=n(13537),o=n(67156),a=n(68642),s=n(27414),u=n(30668),c=n(36313);async function l(t,{address:e,blockNumber:n,blockTag:l,gatewayUrls:f,strict:d,universalResolverAddress:h}){let p=h;if(!p){if(!t.chain)throw Error("client chain not configured. universalResolverAddress is required.");p=(0,i.L)({blockNumber:n,chain:t.chain,contract:"ensUniversalResolver"})}let g=`${e.toLowerCase().substring(2)}.addr.reverse`;try{let i={address:p,abi:r.du,functionName:"reverse",args:[(0,o.NC)((0,s.T)(g))],blockNumber:n,blockTag:l},a=(0,u.s)(t,c.L,"readContract"),[d,h]=f?await a({...i,args:[...i.args,f]}):await a(i);if(e.toLowerCase()!==h.toLowerCase())return null;return d}catch(t){if(d)throw t;if((0,a.c)(t,"reverse"))return null;throw t}}var f=n(75998),d=n(11354),h=n(65813),p=n(75196),g=n(69244);function m(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{address:r,query:i={}}=n,o=(0,g.Z)(n),a=(0,p.x)(),s=function(t,e={}){return{async queryFn({queryKey:e}){let{address:n,scopeKey:r,...i}=e[1];if(!n)throw Error("address is required");return function(t,e){let{chainId:n,...r}=e,i=t.getClient({chainId:n});return(0,f.s)(i,l,"getEnsName")(r)}(t,{...i,address:n})},queryKey:function(t={}){return["ensName",(0,d.O)(t)]}(e)}}(o,{...n,chainId:null!==(t=n.chainId)&&void 0!==t?t:a}),u=!!(r&&(null===(e=i.enabled)||void 0===e||e));return(0,h.aM)({...i,...s,enabled:u})}},41183:function(t,e,n){"use strict";n.d(e,{o:function(){return d}});var r=n(74171),i=n(99458),o=n(58534);async function a(t,e){let{chainId:n}=e,r=t.state.connections.get(e.connector?.uid??t.state.current);if(r){let t=r.connector;if(!t.switchChain)throw new o.O({connector:t});return await t.switchChain({chainId:n})}let a=t.chains.find(t=>
57t.id===n);if(!a)throw new i.X4;return t.setState(t=>({...t,chainId:n})),a}var s=n(24685);let u=[];function c(t){let e=t.chains;return(0,s.v)(u,e)?u:(u=e,e)}var l=n(19776),f=n(69244);function d(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:e}=t,n=(0,f.Z)(t),{mutate:i,mutateAsync:o,...s}=(0,r.D)({...e,mutationFn:t=>a(n,t),mutationKey:["switchChain"]});return{...s,chains:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(0,f.Z)(t);return(0,l.useSyncExternalStore)(t=>(function(t,e){let{onChange:n}=e;return t._internal.chains.subscribe((t,e)=>{n(t,e)})})(e,{onChange:t}),()=>c(e),()=>c(e))}({config:n}),switchChain:i,switchChainAsync:o}}},65813:function(t,e,n){"use strict";let r;n.d(e,{aM:function(){return O}});var i=n(33180),o=n(253),a=n(14992),s=n(11666),u=n(85876),c=class extends s.l{constructor(t,e){super(),this.options=e,this.#p=t,this.#w=null,this.bindMethods(),this.setOptions(e)}#p;#A=void 0;#E=void 0;#g=void 0;#C;#x;#w;#P;#S;#I;#O;#M;#R;#T=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#A.addObserver(this),l(this.#A,this.options)?this.#B():this.updateResult(),this.#k())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return f(this.#A,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return f(this.#A,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#N(),this.#D(),this.#A.removeObserver(this)}setOptions(t,e){let n=this.options,r=this.#A;if(this.options=this.#p.defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.#j(),this.#A.setOptions(this.options),n._defaulted&&!(0,i.VS)(this.options,n)&&this.#p.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#A,observer:this});let o=this.hasListeners();o&&d(this.#A,r,this.options,n)&&this.#B(),this.updateResult(e),o&&(this.#A!==r||this.options.enabled!==n.enabled||this.options.staleTime!==n.staleTime)&&this.#U();let a=this.#L();o&&(this.#A!==r||this.options.enabled!==n.enabled||a!==this.#R)&&this.#F(a)}getOptimisticResult(t){let e=this.#p.getQueryCache().build(this.#p,t),n=this.createResult(e,t);return(0,i.VS)(this.getCurrentResult(),n)||(this.#g=n,this.#x=this.options,this.#C=this.#A.state),n}getCurrentResult(){return this.#g}trackResult(t,e){let n={};return Object.keys(t).forEach(r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(r),e?.(r),t[r])})}),n}trackProp(t){this.#T.add(t)}getCurrentQuery(){return this.#A}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){let e=this.#p.defaultQueryOptions(t),n=this.#p.getQueryCache().build(this.#p,e);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,e))}fetch(t){return this.#B({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#g))}#B(t){this.#j();let e=this.#A.fetch(this.options,t);return t?.throwOnError||(e=e.catch(i.ZT)),e}#U(){if(this.#N(),i.sk||this.#g.isStale||!(0,i.PN)(this.options.staleTime))return;let t=(0,i.Kp)(this.#g.dataUpdatedAt,this.options.staleTime);this.#O=setTimeout(()=>{this.#g.isStale||this.updateResult()},t+1)}#L(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#A):this.options.refetchInterval)??!1}#F(t){this.#D(),this.#R=t,!i.sk&&!1!==this.options.enabled&&(0,i.PN)(this.#R)&&0!==this.#R&&(this.#M=setInterval(()=>{(this.options.refetchIntervalInBackground||a.j.isFocused())&&this.#B()},this.#R))}#k(){this.#U(),this.#F(this.#L())}#N(){this.#O&&(clearTimeout(this.#O),this.#O=void 0)}#D(){this.#M&&(clearInterval(this.#M),this.#M=void 0)}createResult(t,e){let n;let r=this.#A,o=this.options,a=this.#g,s=this.#C,c=this.#x,f=t!==r?t.state:this.#E,{state:p}=t,g={...p},m=!1;if(e._optimisticResults){let n=this.hasListeners(),i=!n&&l(t,e),a=n&&d(t,r,e,o);(i||a)&&(g={...g,...(0,u.z)(p.data,t.options)}),"isRestoring"===e._optimisticResults&&(g.fetchStatus="idle")}let{error:v,errorUpdatedAt:y,status:b}=g;if(e.select&&void 0!==g.data){if(a&&g.data===s?.data&&e.select===this.#P)n=this.#S;else try{this.#P=e.select,n=e.select(g.data),n=(0,i.oE)(a?.data,n,e),this.#S=n,this.#w=null}catch(t){this.#w=t}}else n=g.data;if(void 0!==e.placeholderData&&void 0===n&&"pending"===b){let t;if(a?.isPlaceholderData&&e.placeholderData===c?.placeholderData)t=a.data;else if(t="function"==typeof e.placeholderData?e.placeholderData(this.#I?.state.data,this.#I):e.placeholderData,e.select&&void 0!==t)try{t=e.select(t),this.#w=null}catch(t){this.#w=t}void 0!==t&&(b="success",n=(0,i.oE)(a?.data,t,e),m=!0)}this.#w&&(v=this.#w,n=this.#S,y=Date.now(),b="error");let w="fetching"===g.fetchStatus,A="pending"===b,E="error"===b,C=A&&w,x=void 0!==n;return{status:b,fetchStatus:g.fetchStatus,isPending:A,isSuccess:"success"===b,isError:E,isInitialLoading:C,isLoading:C,data:n,dataUpdatedAt:g.dataUpdatedAt,error:v,errorUpdatedAt:y,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdate
57Count:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>f.dataUpdateCount||g.errorUpdateCount>f.errorUpdateCount,isFetching:w,isRefetching:w&&!A,isLoadingError:E&&!x,isPaused:"paused"===g.fetchStatus,isPlaceholderData:m,isRefetchError:E&&x,isStale:h(t,e),refetch:this.refetch}}updateResult(t){let e=this.#g,n=this.createResult(this.#A,this.options);if(this.#C=this.#A.state,this.#x=this.options,void 0!==this.#C.data&&(this.#I=this.#A),(0,i.VS)(n,e))return;this.#g=n;let r={};t?.listeners!==!1&&(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.#T.size)return!0;let r=new Set(n??this.#T);return this.options.throwOnError&&r.add("error"),Object.keys(this.#g).some(t=>this.#g[t]!==e[t]&&r.has(t))})()&&(r.listeners=!0),this.#b({...r,...t})}#j(){let t=this.#p.getQueryCache().build(this.#p,this.options);if(t===this.#A)return;let e=this.#A;this.#A=t,this.#E=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#k()}#b(t){o.V.batch(()=>{t.listeners&&this.listeners.forEach(t=>{t(this.#g)}),this.#p.getQueryCache().notify({query:this.#A,type:"observerResultsUpdated"})})}};function l(t,e){return!1!==e.enabled&&void 0===t.state.data&&!("error"===t.state.status&&!1===e.retryOnMount)||void 0!==t.state.data&&f(t,e,e.refetchOnMount)}function f(t,e,n){if(!1!==e.enabled){let r="function"==typeof n?n(t):n;return"always"===r||!1!==r&&h(t,e)}return!1}function d(t,e,n,r){return(t!==e||!1===r.enabled)&&(!n.suspense||"error"!==t.state.status)&&h(t,n)}function h(t,e){return!1!==e.enabled&&t.isStaleByTime(e.staleTime)}var p=n(19776);n(51379);var g=p.createContext((r=!1,{clearReset:()=>{r=!1},reset:()=>{r=!0},isReset:()=>r})),m=()=>p.useContext(g),v=n(27357),y=p.createContext(!1),b=()=>p.useContext(y);y.Provider;var w=n(3677),A=(t,e)=>{(t.suspense||t.throwOnError)&&!e.isReset()&&(t.retryOnMount=!1)},E=t=>{p.useEffect(()=>{t.clearReset()},[t])},C=t=>{let{result:e,errorResetBoundary:n,throwOnError:r,query:i}=t;return e.isError&&!n.isReset()&&!e.isFetching&&i&&(0,w.L)(r,[e.error,i])},x=t=>{t.suspense&&"number"!=typeof t.staleTime&&(t.staleTime=1e3)},P=(t,e)=>t?.suspense&&e.isPending,S=(t,e,n)=>e.fetchOptimistic(t).catch(()=>{n.clearReset()}),I=n(11354);function O(t){let e=function(t,e,n){let r=(0,v.NL)(n),i=b(),a=m(),s=r.defaultQueryOptions(t);s._optimisticResults=i?"isRestoring":"optimistic",x(s),A(s,a),E(a);let[u]=p.useState(()=>new e(r,s)),c=u.getOptimisticResult(s);if(p.useSyncExternalStore(p.useCallback(t=>{let e=i?()=>void 0:u.subscribe(o.V.batchCalls(t));return u.updateResult(),e},[u,i]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),p.useEffect(()=>{u.setOptions(s,{listeners:!1})},[s,u]),P(s,c))throw S(s,u,a);if(C({result:c,errorResetBoundary:a,throwOnError:s.throwOnError,query:r.getQueryCache().get(s.queryHash)}))throw c.error;return s.notifyOnChangeProps?c:u.trackResult(c)}({...t,queryKeyHashFn:I.k},c,void 0);return e.queryKey=t.queryKey,e}}}]);
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.