1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{11444:function(e,t,n){let r=n(67294),i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zM2 10a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 10zm0 5.25a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75a.75.75 0 01-.75-.75z",clipRule:"evenodd"}))});e.exports=i},24819:function(e,t,n){let r=n(67294),i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z",clipRule:"evenodd"}))});e.exports=i},38505:function(e,t,n){let r=n(67294),i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"}))});e.exports=i},79742:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,o=l(e),a=o[0],s=o[1],u=new i((a+s)*3/4-s),c=0,f=s>0?a-4:a;for(n=0;n<f;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=0,s=r-i;a<s;a+=16383)o.push(function(e,t,r){for(var i,o=[],a=t;a<r;a+=3)o.push(n[(i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]))>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&o.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<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 l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},48764:function(e,t,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(79742),i=n(80645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);let n=0|p(e,t),r=a(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(U(e,Uint8Array)){let t=new Uint8Array(e);return d(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(U(e,ArrayBuffer)||e&&U(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(U(e,SharedArrayBuffer)||e&&U(e.buffer,SharedArrayBuffer)))return d(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,t,n);let i=function(e){var t;if(s.isBuffer(e)){let t=0|h(e.length),n=a(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');
vendor: 19,340 bytes, line 6
6if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),a(e<0?0:0|h(e))}function f(e){let t=e.length<0?0:0|h(e.length),n=a(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function d(e,t,n){let r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),s.prototype),r}function h(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||U(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return k(e).length;default:if(i)return r?-1:B(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,n){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r<n;++r)i+=L[e[r]];return i}(this,t,n);case"utf8":case"utf-8":return v(this,t,n);case"ascii":return function(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}(this,t,n);case"latin1":case"binary":return function(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}(this,t,n);case"base64":var o,a;return o=t,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(e,t,n){let r=e.slice(t,n),i="";for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+256*r[e+1]);return i}(this,t,n);default:if(i)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function y(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function m(e,t,n,r,i){var o;if(0===e.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:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return -1;n=e.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw TypeError("val must be string, number or Buffer")}function b(e,t,n,r,i){let o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=n;o<s;o++)if(u(e,o)===u(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===l)return r*a}else -1!==r&&(o-=o-r),r=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){let n=!0;for(let r=0;r<l;r++)if(u(e,o+r)!==u(t,r)){n=!1;break}if(n)return o}return -1}function v(e,t,n){n=Math.min(e.length,n);let r=[],i=t;for(;i<n;){let t=e[i],o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,s,l;switch(a){case 1:t<128&&(o=t);break;case 2:(192&(n=e[i+1]))==128&&(l=(31&t)<<6|63&n)>127&&(o=l);break;case 3:n=e[i+1],r=e[i+2],(192&n)==128&&(192&r)==128&&(l=(15&t)<<12|(63&n)<<6|63&r)>2047&&(l<55296||l>57343)&&(o=l);break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],(192&n)==128&&(192&r)==128&&(192&s)==128&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s)>65535&&l<1114112&&(o=l)}}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(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}function w(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function C(e,t,n,r,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(n+r>e.length)throw RangeError("Index out of range")}function S(e,t,n,r,i){R(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function P(e,t,n,r,i){R(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function E(e,t,n,r,i,o){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function I(e,t,n,r,o){return t=+t,n>>>=0,o||E(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function O(e,t,n,r,o){return t=+t,n>>>=0,o||E(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}t.Buffer=s,t.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){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(e,t,n){return l(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,n){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(U(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),U(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},s.isEncoding=function(e){switch(String(e).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(e,t){let n;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;let r=s.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){let t=e[n];if(U(t,Uint8Array))i+t.length>r.length?(s.isBuffer(t)||(t=s.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(s.isBuffer(t))t.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return r},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)y(this,t,t+1);return this},s.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},s.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},s.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):g.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){let e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,i){if(U(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let o=i-r,a=n-t,l=Math.min(o,a),u=this.slice(r,i),c=e.slice(t,n);for(let e=0;e<l;++e)if(u[e]!==c[e]){o=u[e],a=c[e];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},s.prototype.indexOf=function(e,t,n){return m(this,e,t,n,!0)},s.prototype.lastIndexOf=function(e,t,n){return m(this,e,t,n,!1)},s.prototype.write=function(e,t,n,r){var i,o,a,s,l,u,c,f;if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=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-t;if((void 0===n||n>d)&&(n=d),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let h=!1;for(;;)switch(r){case"hex":return function(e,t,n,r){let i;n=Number(n)||0;let o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;let a=t.length;for(r>a/2&&(r=a/2),i=0;i<r;++i){let r=parseInt(t.substr(2*i,2),16);if(r!=r)break;e[n+i]=r}return i}(this,e,t,n);case"utf8":case"utf-8":return i=t,o=n,M(B(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=t,s=n,M(function(e){let t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(e),this,a,s);case"base64":return l=t,u=n,M(k(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,f=n,M(function(e,t){let n,r;let i=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(e,this.length-c),this,c,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(e,t){let n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);let r=this.subarray(e,t);return Object.setPrototypeOf(r,s.prototype),r},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=F(function(e){j(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&N(e,this.length-8);let r=t+256*this[++e]+65536*this[++e]+16777216*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+16777216*n;return BigInt(r)+(BigInt(i)<<BigInt(32))}),s.prototype.readBigUInt64BE=F(function(e){j(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&N(e,this.length-8);let r=16777216*t+65536*this[++e]+256*this[++e]+this[++e],i=16777216*this[++e]+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),s.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);let n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);let n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=F(function(e){j(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&N(e,this.length-8);let r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+16777216*this[++e])}),s.prototype.readBigInt64BE=F(function(e){j(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&N(e,this.length-8);let r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(16777216*this[++e]+65536*this[++e]+256*this[++e]+n)}),s.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;C(this,e,t,n,r,0)}let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;C(this,e,t,n,r,0)}let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||C(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||C(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||C(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||C(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||C(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigUInt64LE=F(function(e,t=0){return S(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=F(function(e,t=0){return P(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);C(this,e,t,n,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);C(this,e,t,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||C(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||C(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||C(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||C(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||C(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigInt64LE=F(function(e,t=0){return S(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=F(function(e,t=0){return P(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(e,t,n){return I(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return I(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return O(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return O(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||0===e.length||0===this.length)return 0;if(t<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),e.length-t<r-n&&(r=e.length-t+n);let i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},s.prototype.fill=function(e,t,n,r){let i;if("string"==typeof e){if("string"==typeof t?(r=t,t=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===e.length){let t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{let o=s.isBuffer(e)?e:s.from(e,r),a=o.length;
6if(0===a)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%a]}return this};let x={};function A(e,t,n){x[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function T(e){let t="",n=e.length,r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function R(e,t,n,r,i,o){if(e>n||e<t){let r;let i="bigint"==typeof t?"n":"";throw r=o>3?0===t||t===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}`:`>= ${t}${i} and <= ${n}${i}`,new x.ERR_OUT_OF_RANGE("value",r,e)}j(i,"offset"),(void 0===r[i]||void 0===r[i+o])&&N(i,r.length-(o+1))}function j(e,t){if("number"!=typeof e)throw new x.ERR_INVALID_ARG_TYPE(t,"number",e)}function N(e,t,n){if(Math.floor(e)!==e)throw j(e,n),new x.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new x.ERR_BUFFER_OUT_OF_BOUNDS;throw new x.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}A("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),A("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),A("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>4294967296?i=T(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=T(i)),i+="n"),r+=` It must be ${t}. Received ${i}`},RangeError);let _=/[^+/0-9A-Za-z-_]/g;function B(e,t){let n;t=t||1/0;let r=e.length,i=null,o=[];for(let a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319||a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=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 k(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(_,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function M(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function U(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let L=function(){let e="0123456789abcdef",t=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function F(e){return"undefined"==typeof BigInt?D:e}function D(){throw Error("BigInt not supported")}},80645:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:(h?-1:1)*(1/0);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,f=c>>1,d=23===i?5960464477539062e-23:0,h=r?0:o-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+f>=1?t+=d/l:t+=d*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+h]=255&a,h+=p,a/=256,u-=8);e[n+h-p]|=128*g}},6840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(68247)}])},42799:function(e,t,n){"use strict";var r,i,o,a,s,l,u,c,f,d,h,p,g,y,m,b,v,w,C,S,P;n.d(t,{v:function(){return E}}),function(e){class t{async Get(e){let t=await this.baseClient.callAPI("POST","/artscript.Get",JSON.stringify(e));return await t.json()}async GetAvailableDependencies(e){let t=await this.baseClient.callAPI("POST","/artscript.GetAvailableDependencies");return await t.json()}
6async GetCodeUploadSignature(e){let t=await this.baseClient.callAPI("POST","/artscript.GetCodeUploadSignature",JSON.stringify(e));return await t.json()}async GetDependenciesByIDs(e){let t=await this.baseClient.callAPI("POST","/artscript.GetDependenciesByIDs",JSON.stringify(e));return await t.json()}async IsCodeOnChain(e){let t=await this.baseClient.callAPI("POST","/artscript.IsCodeOnChain",JSON.stringify(e));return await t.json()}async PrepareCodeForUpload(e){let t=await this.baseClient.callAPI("POST","/artscript.PrepareCodeForUpload",JSON.stringify(e));return await t.json()}async UpdateScript(e){let t=await this.baseClient.callAPI("POST","/artscript.UpdateScript",JSON.stringify(e));return await t.json()}constructor(e){this.baseClient=e}}e.ServiceClient=t}(o||(o={})),function(e){class t{async Authenticate(e){let t=await this.baseClient.callAPI("POST","/auth.Authenticate",JSON.stringify(e));return await t.json()}async InBetaProgram(e){let t=await this.baseClient.callAPI("POST","/auth.InBetaProgram");return await t.json()}async Me(e){let t=await this.baseClient.callAPI("POST","/auth.Me");return await t.json()}async RequestNonce(e){let t=await this.baseClient.callAPI("POST","/auth.RequestNonce",JSON.stringify(e));return await t.json()}constructor(e){this.baseClient=e}}e.ServiceClient=t}(a||(a={})),function(e){class t{async ReadChecks(e){let t=await this.baseClient.callAPI("POST","/checks.ReadChecks",JSON.stringify(e));return await t.json()}async WriteCheckResult(e){let t=await this.baseClient.callAPI("POST","/checks.WriteCheckResult",JSON.stringify(e));return await t.json()}constructor(e){this.baseClient=e}}e.ServiceClient=t}(s||(s={})),function(e){class t{async CanBeDeployed(e){let t=await this.baseClient.callAPI("POST","/collections.CanBeDeployed",JSON.stringify(e));return await t.json()}async Create(e){let t=await this.baseClient.callAPI("POST","/collections.Create",JSON.stringify(e));return await t.json()}async CreateRoyaltyConfig(e){let t=await this.baseClient.callAPI("POST","/collections.CreateRoyaltyConfig",JSON.stringify(e));return await t.json()}async CreateSaleConfig(e){let t=await this.baseClient.callAPI("POST","/collections.CreateSaleConfig",JSON.stringify(e));return await t.json()}async Delete(e){await this.baseClient.callAPI("POST","/collections.Delete",JSON.stringify(e))}async GetByArtistPublic(e){let t=await this.baseClient.callAPI("POST","/collections.GetByArtistPublic",JSON.stringify(e));return await t.json()}async GetBySlug(e){let t=await this.baseClient.callAPI("POST","/collections.GetBySlug",JSON.stringify(e));return await t.json()}async GetBySlugPublic(e){let t=await this.baseClient.callAPI("GET","/collections/".concat(encodeURIComponent(e)));return await t.json()}async GetMintSignature(e){let t=await this.baseClient.callAPI("POST","/collections.GetMintSignature",JSON.stringify(e));return await t.json()}async GetMyCollections(){let e=await this.baseClient.callAPI("POST","/collections.GetMyCollections");return await e.json()}async IsValidName(e){let t=await this.baseClient.callAPI("POST","/collections.IsValidName",JSON.stringify(e));return await t.json()}async UpdateCollection(e){let t=await this.baseClient.callAPI("POST","/collections.UpdateCollection",JSON.stringify(e));return await t.json()}async UpdatePreviewVariations(e){let t=await this.baseClient.callAPI("POST","/collections.UpdatePreviewVariations",JSON.stringify(e));return await t.json()}async UpdateRoyaltyConfig(e){let t=await this.baseClient.callAPI("POST","/collections.UpdateRoyaltyConfig",JSON.stringify(e));return await t.json()}async UpdateSaleConfig(e){let t=await this.baseClient.callAPI("POST","/collections.UpdateSaleConfig",JSON.stringify(e));return await t.json()}constructor(e){this.baseClient=e}}e.ServiceClient=t}(l||(l={})),function(e){class t{async AddHomepagePick(e){await this.baseClient.callAPI("POST","/curation.AddHomepagePick",JSON.stringify(e))}async CountDraftProjects(e){let t=await this.baseClient.callAPI("POST","/curation.CountDraftProjects");return await t.json()}async GetCollections(e){let t=await this.baseClient.callAPI("POST","/curation.GetCollections",JSON.stringify(e));return await t.json()}async GetDetailedCollection(e){let t=await this.baseClient.callAPI("POST","/curation.GetDetailedCollection",JSON.stringify(e));return await t.json()}async GetDetailedCollectionBySlug(e){let t=await this.baseClient.callAPI("POST","/curation.GetDetailedCollectionBySlug",JSON.stringify(e));return await t.json()}async GetDetailedCollectionsByAddress(e){let t=await this.baseClient.callAPI("POST","/curation.GetDetailedCollectionsByAddress",JSON.stringify(e));return await t.json()}async GetFeatured(e){let t=await this.baseClient.callAPI("POST","/curation.GetFeatured",JSON.stringify(e));return await t.json()}async GetHomepagePicks(e){let t=await this.baseClient.callAPI("POST","/curation.GetHomepagePicks",JSON.stringify(e));return await t.json()}async MyCollectionsDetailed(e){let t=await this.baseClient.callAPI("POST","/curation.MyCollectionsDetailed",JSON.stringify(e));return await t.json()}async RemoveHomepagePick(e){await this.baseClient.callAPI("POST","/curation.RemoveHomepagePick",JSON.stringify(e))}async SetFeaturedCollection(e){await this.baseClient.callAPI("POST","/curation.SetFeaturedCollection",JSON.stringify(e))}constructor(e){this.baseClient=e}}e.ServiceClient=t}(u||(u={})),function(e){class t{async AdminCollections(e){let t=await this.baseClient.callAPI("POST","/dashboard.AdminCollections",JSON.stringify(e));return await t.json()}async MyCollections(e){let t=await this.baseClient.callAPI("POST","/dashboard.MyCollections",JSON.stringify(e));return await t.json()}constructor(e){this.baseClient=e}}e.ServiceClient=t}(c||(c={})),function(e){class t{async CreateDeployment(e){let t=await this.baseClient.callAPI("POST","/deployments.CreateDeployment",JSON.stringify(e));return await t.json()}async EstimateCost(e){let t=await this.baseClient.callAPI("POST","/deployments.EstimateCost",JSON.stringify(e));return await t.json()}async GenerateSignature(e){let t=await this.baseClient.callAPI("POST","/deployments.GenerateSignature",JSON.stringify(e));return await t.json()}async GetByCollection(e){let t=await this.baseClient.callAPI("POST","/deployments.GetByCollection",JSON.stringify(e));return await t.json()}async GetByCollections(e){let t=await this.baseClient.callAPI("POST","/deployments.GetByCollections",JSON.stringify(e));return await t.json()}constructor(e){this.baseClient=e}}e.ServiceClient=t}(f||(f={})),function(e){class t{async CreateExhibition(e){let t=await this.baseClient.callAPI("POST","/galleries.CreateExhibition",JSON.stringify(e));return await t.json()}async ListArtistsByGallery(e){let t=await this.baseClient.callAPI("POST","/galleries.ListArtistsByGallery",JSON.stringify(e));return await t.json()}async ListCollectionsByGallery(e){let t=await this.baseClient.callAPI("POST","/galleries.ListCollectionsByGallery",JSON.stringify(e));return await t.json()}async ListExhibitionsByGallery(e){let t=await this.baseClient.callAPI("POST","/galleries.ListExhibitionsByGallery",JSON.stringify(e));return await t.json()}async ListGalleries(e){let t=await this.baseClient.callAPI("POST","/galleries.ListGalleries");return await t.json()}async ReadGalleryBySlug(e){let t=await this.baseClient.callAPI("POST","/galleries.ReadGalleryBySlug",JSON.stringify(e));return await t.json()}async UpdateExhibition(e){let t=await this.baseClient.callAPI("POST","/galleries.UpdateExhibition",JSON.stringify(e));return await t.json()}constructor(e){this.baseClient=e}}e.ServiceClient=t}(d||(d={})),function(e){class t{async GetMetadata(e,t,n){let r=await this.baseClient.callAPI("POST","/collections/".concat(encodeURIComponent(e),"/chain/").concat(encodeURIComponent(t),"/token/").concat(encodeURIComponent(n)));return await r.json()}async GetMetadataPaged(e,t,n){let r=await this.baseClient.callAPI("POST","/collections/".concat(encodeURIComponent(e),"/chain/").concat(encodeURIComponent(t),"/page/").concat(encodeURIComponent(n)));return await r.json()}constructor(e){this.baseClient=e}}e.ServiceClient=t}(h||(h={})),function(e){class t{async GetSaleData(e){let t=await this.baseClient.callAPI("POST","/mints.Get
6SaleData",JSON.stringify(e));return await t.json()}async GetSeedFromChain(e){let t=await this.baseClient.callAPI("POST","/mints.GetSeedFromChain",JSON.stringify(e));return await t.json()}async SyncSalesConfig(e){await this.baseClient.callAPI("POST","/mints.SyncSalesConfig",JSON.stringify(e))}constructor(e){this.baseClient=e}}e.ServiceClient=t}(p||(p={})),function(e){class t{async CreateSubscription(e){await this.baseClient.callAPI("POST","/newsletter.CreateSubscription",JSON.stringify(e))}async UpdateSubscription(e){await this.baseClient.callAPI("POST","/newsletter.UpdateSubscription",JSON.stringify(e))}constructor(e){this.baseClient=e}}e.ServiceClient=t}(g||(g={})),function(e){class t{async CreatePreviewImageJob(e){await this.baseClient.callAPI("POST","/previewimages.CreatePreviewImageJob",JSON.stringify(e))}async GetPreviewImages(e){let t=await this.baseClient.callAPI("POST","/previewimages.GetPreviewImages",JSON.stringify(e));return await t.json()}async SetPreviewImages(e){await this.baseClient.callAPI("POST","/previewimages.SetPreviewImages",JSON.stringify(e))}constructor(e){this.baseClient=e}}e.ServiceClient=t}(y||(y={})),function(e){class t{async CreateProfile(e){let t=await this.baseClient.callAPI("POST","/profiles.CreateProfile",JSON.stringify(e));return await t.json()}async MyProfile(){let e=await this.baseClient.callAPI("POST","/profiles.MyProfile");return await e.json()}async ReadPublicProfile(e){let t=await this.baseClient.callAPI("POST","/profiles.ReadPublicProfile",JSON.stringify(e));return await t.json()}async UpdateProfile(e){let t=await this.baseClient.callAPI("POST","/profiles.UpdateProfile",JSON.stringify(e));return await t.json()}constructor(e){this.baseClient=e}}e.ServiceClient=t}(m||(m={})),function(e){class t{async CanEditAlbaCuration(e){let t=await this.baseClient.callAPI("POST","/rbac.CanEditAlbaCuration");return await t.json()}async CanEditGallery(e){let t=await this.baseClient.callAPI("POST","/rbac.CanEditGallery",JSON.stringify(e));return await t.json()}async CanReadCollection(e){let t=await this.baseClient.callAPI("POST","/rbac.CanReadCollection",JSON.stringify(e));return await t.json()}async CanWriteCollection(e){let t=await this.baseClient.callAPI("POST","/rbac.CanWriteCollection",JSON.stringify(e));return await t.json()}constructor(e){this.baseClient=e}}e.ServiceClient=t}(b||(b={})),function(e){class t{async Preview(e,t,n,r,i,o,a){return this.baseClient.callAPI(e,"/render-preview/".concat(encodeURIComponent(t),"/seed/").concat(encodeURIComponent(n),"/token/").concat(encodeURIComponent(r),"/res/").concat(encodeURIComponent(i)),o,a)}async PreviewNoRes(e,t,n,r,i,o){return this.baseClient.callAPI(e,"/render-preview/".concat(encodeURIComponent(t),"/seed/").concat(encodeURIComponent(n),"/token/").concat(encodeURIComponent(r)),i,o)}async Render(e,t,n,r,i,o){return this.baseClient.callAPI(e,"/render/".concat(encodeURIComponent(t),"/seed/").concat(encodeURIComponent(n),"/token/").concat(encodeURIComponent(r)),i,o)}async RenderWithRes(e,t,n,r,i,o,a){return this.baseClient.callAPI(e,"/render/".concat(encodeURIComponent(t),"/seed/").concat(encodeURIComponent(n),"/token/").concat(encodeURIComponent(r),"/res/").concat(encodeURIComponent(i)),o,a)}constructor(e){this.baseClient=e}}e.ServiceClient=t}(v||(v={})),function(e){class t{async PreviewRender(e){let t=await this.baseClient.callAPI("POST","/renderworker.PreviewRender",JSON.stringify(e));return await t.json()}constructor(e){this.baseClient=e}}e.ServiceClient=t}(w||(w={})),function(e){class t{async ClearReservesList(e){await this.baseClient.callAPI("POST","/reserves.ClearReservesList",JSON.stringify(e))}async CreateReservesList(e){let t=await this.baseClient.callAPI("POST","/reserves.CreateReservesList",JSON.stringify(e));return await t.json()}async GetReserveSignature(e){let t=await this.baseClient.callAPI("POST","/reserves.GetReserveSignature",JSON.stringify(e));return await t.json()}async GetReservesByCollection(e){let t=await this.baseClient.callAPI("POST","/reserves.GetReservesByCollection",JSON.stringify(e));return await t.json()}async HasReserve(e){let t=await this.baseClient.callAPI("POST","/reserves.HasReserve",JSON.stringify(e));return await t.json()}async Release(e){await this.baseClient.callAPI("POST","/reserves.Release",JSON.stringify(e))}async ReplaceReservesList(e){let t=await this.baseClient.callAPI("POST","/reserves.ReplaceReservesList",JSON.stringify(e));return await t.json()}constructor(e){this.baseClient=e}}e.ServiceClient=t}(C||(C={})),fetch.bind(void 0),(i=S||(S={})).OK="ok",i.Canceled="canceled",i.Unknown="unknown",i.InvalidArgument="invalid_argument",i.DeadlineExceeded="deadline_exceeded",i.NotFound="not_found",i.AlreadyExists="already_exists",i.PermissionDenied="permission_denied",i.ResourceExhausted="resource_exhausted",i.FailedPrecondition="failed_precondition",i.Aborted="aborted",i.OutOfRange="out_of_range",i.Unimplemented="unimplemented",i.Internal="internal",i.Unavailable="unavailable",i.DataLoss="data_loss",i.Unauthenticated="unauthenticated",n(34155),(r=P||(P={}))[r.MAINNET=1]="MAINNET",r[r.GOERLI=5]="GOERLI",r[r.LOCAL=31337]="LOCAL";let E={appEnv:"production",chainId:1,encoreAPITarget:"prod",docsLink:"https://www.notion.so/alba-art/Alba-Documentation-9f94b54c638e4451a59a395c4bc4ad11"}},46473:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}n.d(t,{AK:function(){return r}}),n(42799),n(48764).Buffer},97498:function(e,t){"use strict";var n,r;
6Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PrefetchKind:function(){return n},ACTION_REFRESH:function(){return i},ACTION_NAVIGATE:function(){return o},ACTION_RESTORE:function(){return a},ACTION_SERVER_PATCH:function(){return s},ACTION_PREFETCH:function(){return l},ACTION_FAST_REFRESH:function(){return u},ACTION_SERVER_ACTION:function(){return c},isThenable:function(){return f}});let i="refresh",o="navigate",a="restore",s="server-patch",l="prefetch",u="fast-refresh",c="server-action";function f(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(r=n||(n={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},10030:function(e,t,n){"use strict";function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(22866),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},23271:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return Image}});let r=n(38754),i=n(61757),o=i._(n(67294)),a=r._(n(73935)),s=r._(n(79201)),l=n(53914),u=n(85494),c=n(30869);n(81905);let f=n(11823),d=r._(n(74545)),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function p(e,t,n,r,i,o){let a=null==e?void 0:e.src;if(!e||e["data-loaded-src"]===a)return;e["data-loaded-src"]=a;let s="decode"in e?e.decode():Promise.resolve();s.catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}})}function g(e){let[t,n]=o.version.split(".",2),r=parseInt(t,10),i=parseInt(n,10);return r>18||18===r&&i>=3?{fetchPriority:e}:{fetchpriority:e}}let y=(0,o.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:a,width:s,decoding:l,className:u,style:c,fetchPriority:f,placeholder:d,loading:h,unoptimized:y,fill:m,onLoadRef:b,onLoadingCompleteRef:v,setBlurComplete:w,setShowAltText:C,onLoad:S,onError:P,...E}=e;return o.default.createElement("img",{...E,...g(f),loading:h,width:s,height:a,decoding:l,"data-nimg":m?"fill":"1",className:u,style:c,sizes:i,srcSet:r,src:n,ref:(0,o.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(P&&(e.src=e.src),e.complete&&p(e,d,b,v,w,y))},[n,d,b,v,w,P,y,t]),onLoad:e=>{let t=e.currentTarget;p(t,d,b,v,w,y)},onError:e=>{C(!0),"empty"!==d&&w(!0),P&&P(e)}})});function m(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...g(n.fetchPriority)};return t&&a.default.preload?(a.default.preload(n.src,r),null):o.default.createElement(s.default,null,o.default.createElement("link",{key:"__nimg-"+n.src+n.srcSet+n.sizes,rel:"preload",href:n.srcSet?void 0:n.src,...r}))}let Image=(0,o.forwardRef)((e,t)=>{let n=(0,o.useContext)(f.RouterContext),r=(0,o.useContext)(c.ImageConfigContext),i=(0,o.useMemo)(()=>{let e=h||r||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[r]),{onLoad:a,onLoadingComplete:s}=e,p=(0,o.useRef)(a);(0,o.useEffect)(()=>{p.current=a},[a]);let g=(0,o.useRef)(s);(0,o.useEffect)(()=>{g.current=s},[s]);let[b,v]=(0,o.useState)(!1),[w,C]=(0,o.useState)(!1),{props:S,meta:P}=(0,l.getImgProps)(e,{defaultLoader:d.default,imgConf:i,blurComplete:b,showAltText:w});return o.default.createElement(o.default.Fragment,null,o.default.createElement(y,{...S,unoptimized:P.unoptimized,placeholder:P.placeholder,fill:P.fill,onLoadRef:p,onLoadingCompleteRef:g,setBlurComplete:v,setShowAltText:C,ref:t}),P.priority?o.default.createElement(m,{isAppRouter:!n,imgAttributes:S}):null)});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
6dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65170:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});let r=n(38754),i=r._(n(67294)),o=n(74450),a=n(92227),s=n(64364),l=n(10109),u=n(73607),c=n(11823),f=n(89031),d=n(40920),h=n(10030),p=n(77192),g=n(97498),y=new Set;function m(e,t,n,r,i,o){if(!o&&!(0,a.isLocalURL)(t))return;if(!r.bypassPrefetchedCheck){let i=void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0,o=t+"%"+n+"%"+i;if(y.has(o))return;y.add(o)}let s=o?e.prefetch(t,i):e.prefetch(t,n,r);Promise.resolve(s).catch(e=>{})}function b(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}let v=i.default.forwardRef(function(e,t){let n,r;let{href:s,as:y,children:v,prefetch:w=null,passHref:C,replace:S,shallow:P,scroll:E,locale:I,onClick:O,onMouseEnter:x,onTouchStart:A,legacyBehavior:T=!1,...R}=e;n=v,T&&("string"==typeof n||"number"==typeof n)&&(n=i.default.createElement("a",null,n));let j=i.default.useContext(c.RouterContext),N=i.default.useContext(f.AppRouterContext),_=null!=j?j:N,B=!j,k=!1!==w,M=null===w?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:U,as:L}=i.default.useMemo(()=>{if(!j){let e=b(s);return{href:e,as:y?b(y):e}}let[e,t]=(0,o.resolveHref)(j,s,!0);return{href:e,as:y?(0,o.resolveHref)(j,y):t||e}},[j,s,y]),F=i.default.useRef(U),D=i.default.useRef(L);T&&(r=i.default.Children.only(n));let G=T?r&&"object"==typeof r&&r.ref:t,[J,z,H]=(0,d.useIntersection)({rootMargin:"200px"}),$=i.default.useCallback(e=>{(D.current!==L||F.current!==U)&&(H(),D.current=L,F.current=U),J(e),G&&("function"==typeof G?G(e):"object"==typeof G&&(G.current=e))},[L,G,U,H,J]);i.default.useEffect(()=>{_&&z&&k&&m(_,U,L,{locale:I},{kind:M},B)},[L,U,z,I,k,null==j?void 0:j.locale,_,B,M]);let V={ref:$,onClick(e){T||"function"!=typeof O||O(e),T&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),_&&!e.defaultPrevented&&function(e,t,n,r,o,s,l,u,c){let{nodeName:f}=e.currentTarget,d="A"===f.toUpperCase();if(d&&(function(e){let t=e.currentTarget,n=t.getAttribute("target");return n&&"_self"!==n||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,a.isLocalURL)(n)))return;e.preventDefault();let h=()=>{let e=null==l||l;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:s,locale:u,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};c?i.default.startTransition(h):h()}(e,_,U,L,S,P,E,I,B)},onMouseEnter(e){T||"function"!=typeof x||x(e),T&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),_&&(k||!B)&&m(_,U,L,{locale:I,priority:!0,bypassPrefetchedCheck:!0},{kind:M},B)},onTouchStart(e){T||"function"!=typeof A||A(e),T&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),_&&(k||!B)&&m(_,U,L,{locale:I,priority:!0,bypassPrefetchedCheck:!0},{kind:M},B)}};if((0,l.isAbsoluteUrl)(L))V.href=L;else if(!T||C||"a"===r.type&&!("href"in r.props)){let e=void 0!==I?I:null==j?void 0:j.locale,t=(null==j?void 0:j.isLocaleDomain)&&(0,h.getDomainLocale)(L,e,null==j?void 0:j.locales,null==j?void 0:j.domainLocales);V.href=t||(0,p.addBasePath)((0,u.addLocale)(L,e,null==j?void 0:j.defaultLocale))}return T?i.default.cloneElement(r,V):i.default.createElement("a",{...R,...V},n)}),w=v;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40920:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(67294),i=n(63436),o="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!o,[c,f]=(0,r.useState)(!1),d=(0,r.useRef)(null),h=(0,r.useCallback)(e=>{d.current=e},[]);(0,r.useEffect)(()=>{if(o){if(u||c)return;let e=d.current;if(e&&e.tagName){let r=function(e,t,n){let{id:r,observer:i,elements:o}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let i=new Map,o=new IntersectionObserver(e=>
6{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e);return t={id:n,observer:o,elements:i},s.push(n),a.set(n,t),t}(n);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n});return r}}else if(!c){let e=(0,i.requestIdleCallback)(()=>f(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,n,t,c,d.current]);let p=(0,r.useCallback)(()=>{f(!1)},[]);return[h,c,p]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1342:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{noSSR:function(){return a},default:function(){return s}});let r=n(38754),i=(n(67294),r._(n(24304)));function o(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let n=i.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e}),r={...r,...t};let s=r.loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=s?s().then(o):Promise.resolve(o(()=>null))}):(delete r.webpack,delete r.modules,a(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53914:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),n(81905);let r=n(32393),i=n(85494);function o(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var n;let s,l,u,{src:c,sizes:f,unoptimized:d=!1,priority:h=!1,loading:p,className:g,quality:y,width:m,height:b,fill:v=!1,style:w,onLoad:C,onLoadingComplete:S,placeholder:P="empty",blurDataURL:E,fetchPriority:I,layout:O,objectFit:x,objectPosition:A,lazyBoundary:T,lazyRoot:R,...j}=e,{imgConf:N,showAltText:_,blurComplete:B,defaultLoader:k}=t,M=N||i.imageConfigDefault;if("allSizes"in M)s=M;else{let e=[...M.deviceSizes,...M.imageSizes].sort((e,t)=>e-t),t=M.deviceSizes.sort((e,t)=>e-t);s={...M,allSizes:e,deviceSizes:t}}let U=j.loader||k;delete j.loader,delete j.srcSet;let L="__next_img_default"in U;if(L){if("custom"===s.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=U;U=t=>{let{config:n,...r}=t;return e(r)}}if(O){"fill"===O&&(v=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[O];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[O];t&&!f&&(f=t)}let F="",D=a(m),G=a(b);if("object"==typeof(n=c)&&(o(n)||void 0!==n.src)){let e=o(c)?c.default:c;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(l=e.blurWidth,u=e.blurHeight,E=E||e.blurDataURL,F=e.src,!v){if(D||G){if(D&&!G){let t=D/e.width;G=Math.round(e.height*t)}else if(!D&&G){let t=G/e.height;D=Math.round(e.width*t)}}else D=e.width,G=e.height}}let J=!h&&("lazy"===p||void 0===p);(!(c="string"==typeof c?c:F)||c.startsWith("data:")||c.startsWith("blob:"))&&(d=!0,J=!1),s.unoptimized&&(d=!0),L&&c.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(d=!0),h&&(I="high");let z=a(y),H=Object.assign(v?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:x,objectPosition:A}:{},_?{}:{color:"transparent"},w),$=B||"empty"===P?null:"blur"===P?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:D,heightInt:G,blurWidth:l,blurHeight:u,blurDataURL:E||"",objectFit:H.objectFit})+'")':'url("'+P+'")',V=$?{backgroundSize:H.objectFit||"cover",backgroundPosition:H.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:$}:{}
6,Y=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:o,sizes:a,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}if("number"!=typeof t)return{widths:r,kind:"w"};let o=[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))];return{widths:o,kind:"x"}}(t,i,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:o,width:e})+" "+("w"===u?e:r+1)+u).join(", "),src:s({config:t,src:n,quality:o,width:l[c]})}}({config:s,src:c,unoptimized:d,width:D,quality:z,sizes:f,loader:U}),q={...j,loading:J?"lazy":p,fetchPriority:I,width:D,height:G,decoding:"async",className:g,style:{...H,...V},sizes:Y.sizes,srcSet:Y.srcSet,src:Y.src},W={unoptimized:d,priority:h,placeholder:P,fill:v};return{props:q,meta:W}}},32393:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=r?40*r:t,l=i?40*i:n,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},645:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{unstable_getImgProps:function(){return l},default:function(){return u}});let r=n(38754),i=n(53914),o=n(81905),a=n(23271),s=r._(n(74545)),l=e=>{(0,o.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:t}=(0,i.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}},u=a.Image},74545:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:i}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},30043:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return o}});let r=n(38754),i=r._(n(67294)),o=i.default.createContext(null)},24304:function(e,t,n){"use strict";/** 7@copyright (c) 2017-present James Kyle <[email protected]> 8 MIT License 9 Permission is hereby granted, free of charge, to any person obtaining 10a copy of this software and associated documentation files (the 11"Software"), to deal in the Software without restriction, including 12without limitation the rights to use, copy, modify, merge, publish, 13distribute, sublicense, and/or sell copies of the Software, and to 14permit persons to whom the Software is furnished to do so, subject to 15the following conditions: 16 The above copyright notice and this permission notice shall be 17included in all copies or substantial portions of the Software. 18 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 19EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 20MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 21NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 22LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 23OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 24WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
25*/Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});let r=n(38754),i=r._(n(67294)),o=n(30043),a=[],s=[],l=!1;function u(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function f(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),r=null;function a(){if(!r){let t=new c(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!l){let e=n.webpack?n.webpack():n.modules;e&&s.push(t=>{for(let n of e)if(t.includes(n))return a()})}function u(e,t){!function(){a();let e=i.default.useContext(o.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let s=i.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return i.default.useImperativeHandle(t,()=>({retry:r.retry}),[]),i.default.useMemo(()=>{var t;return s.loading||s.error?i.default.createElement(n.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:r.retry}):s.loaded?i.default.createElement((t=s.loaded)&&t.default?t.default:t,e):null},[e,s])}return u.preload=()=>a(),u.displayName="LoadableComponent",i.default.forwardRef(u)}(u,e)}function d(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}f.preloadAll=()=>new Promise((e,t)=>{d(a).then(e,t)}),f.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(l=!0,t());d(s,e).then(n,n)})),window.__NEXT_PRELOADREADY=f.preloadReady;let h=f},68247:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return eq}});var r,i,o,a,s,l,u,c,f=n(85893),d=n(47367),h=n.n(d),p=n(67294),g=()=>{window.va||(window.va=function(...e){(window.vaq=window.vaq||[]).push(e)})};function y(){return"development"===(window.vam||"production")}function m({beforeSend:e,debug:t=!0,mode:n="auto"}){return(0,p.useEffect)(()=>{!function(e={debug:!0}){var t;if(!("undefined"!=typeof window))return;(function(e="auto"){if("auto"===e){window.vam="production";return}window.vam=e})(e.mode),g(),e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend));let n=y()?"https://va.vercel-scripts.com/v1/script.debug.js":"/_vercel/insights/script.js";if(document.head.querySelector(`script[src*="${n}"]`))return;let r=document.createElement("script");r.src=n,r.defer=!0,r.setAttribute("data-sdkn","@vercel/analytics"),r.setAttribute("data-sdkv","1.0.1"),y()&&!1===e.debug&&r.setAttribute("data-debug","false"),document.head.appendChild(r)}({beforeSend:e,debug:t,mode:n})},[e,t,n]),null}var b=n(5152),v=n.n(b),w=n(9008),C=n.n(w),S=n(11163),P=n(41664),E=n.n(P),I=n(25675),O=n.n(I),x=n(32984),A=n(12351),T=n(23784),R=n(19946),j=n(61363),N=n(64103),_=n(16567),B=n(16723);function k(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}function M(e,t){let[n,r]=(0,p.useState)(()=>k(e));return(0,B.e)(()=>{r(k(e))},[e.type,e.as]),(0,B.e)(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}var U=n(15466),L=n(73781);let F=null!=(c=p.startTransition)?c:function(e){e()};var D=((r=D||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),G=((i=G||{})[i.ToggleDisclosure=0]="ToggleDisclosure",i[i.CloseDisclosure=1]="CloseDisclosure",i[i.SetButtonId=2]="SetButtonId",i[i.SetPanelId=3]="SetPanelId",i[i.LinkPanel=4]="LinkPanel",i[i.UnlinkPanel=5]="UnlinkPanel",i);let J={0:e=>({...e,disclosureState:(0,x.E)(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},4:e=>!0===e.linkedPanel?e:{...e,linkedPanel:!0},5:e=>!1===e.linkedPanel?e:{...e,linkedPanel:!1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>
25e.panelId===t.panelId?e:{...e,panelId:t.panelId}},z=(0,p.createContext)(null);function H(e){let t=(0,p.useContext)(z);if(null===t){let t=Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,H),t}return t}z.displayName="DisclosureContext";let $=(0,p.createContext)(null);$.displayName="DisclosureAPIContext";let V=(0,p.createContext)(null);function Y(e,t){return(0,x.E)(t.type,J,e,t)}V.displayName="DisclosurePanelContext";let q=p.Fragment,W=A.AN.RenderStrategy|A.AN.Static,K=Object.assign((0,A.yV)(function(e,t){let{defaultOpen:n=!1,...r}=e,i=(0,p.useRef)(null),o=(0,T.T)(t,(0,T.h)(e=>{i.current=e},void 0===e.as||e.as===p.Fragment)),a=(0,p.useRef)(null),s=(0,p.useRef)(null),l=(0,p.useReducer)(Y,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:s,panelRef:a,buttonId:null,panelId:null}),[{disclosureState:u,buttonId:c},f]=l,d=(0,L.z)(e=>{f({type:1});let t=(0,U.r)(i);if(!t||!c)return;let n=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:t.getElementById(c):t.getElementById(c);null==n||n.focus()}),h=(0,p.useMemo)(()=>({close:d}),[d]),g=(0,p.useMemo)(()=>({open:0===u,close:d}),[u,d]);return p.createElement(z.Provider,{value:l},p.createElement($.Provider,{value:h},p.createElement(_.up,{value:(0,x.E)(u,{0:_.ZM.Open,1:_.ZM.Closed})},(0,A.sY)({ourProps:{ref:o},theirProps:r,slot:g,defaultTag:q,name:"Disclosure"}))))}),{Button:(0,A.yV)(function(e,t){let n=(0,R.M)(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[o,a]=H("Disclosure.Button"),s=(0,p.useContext)(V),l=null!==s&&s===o.panelId,u=(0,p.useRef)(null),c=(0,T.T)(u,t,l?null:o.buttonRef);(0,p.useEffect)(()=>{if(!l)return a({type:2,buttonId:r}),()=>{a({type:2,buttonId:null})}},[r,a,l]);let f=(0,L.z)(e=>{var t;if(l){if(1===o.disclosureState)return;switch(e.key){case j.R.Space:case j.R.Enter:e.preventDefault(),e.stopPropagation(),a({type:0}),null==(t=o.buttonRef.current)||t.focus()}}else switch(e.key){case j.R.Space:case j.R.Enter:e.preventDefault(),e.stopPropagation(),a({type:0})}}),d=(0,L.z)(e=>{e.key===j.R.Space&&e.preventDefault()}),h=(0,L.z)(t=>{var n;(0,N.P)(t.currentTarget)||e.disabled||(l?(a({type:0}),null==(n=o.buttonRef.current)||n.focus()):a({type:0}))}),g=(0,p.useMemo)(()=>({open:0===o.disclosureState}),[o]),y=M(e,u),m=l?{ref:c,type:y,onKeyDown:f,onClick:h}:{ref:c,id:r,type:y,"aria-expanded":e.disabled?void 0:0===o.disclosureState,"aria-controls":o.linkedPanel?o.panelId:void 0,onKeyDown:f,onKeyUp:d,onClick:h};return(0,A.sY)({ourProps:m,theirProps:i,slot:g,defaultTag:"button",name:"Disclosure.Button"})}),Panel:(0,A.yV)(function(e,t){let n=(0,R.M)(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[o,a]=H("Disclosure.Panel"),{close:s}=function e(t){let n=(0,p.useContext)($);if(null===n){let n=Error(`<${t} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,e),n}return n}("Disclosure.Panel"),l=(0,T.T)(t,o.panelRef,e=>{F(()=>a({type:e?4:5}))});(0,p.useEffect)(()=>(a({type:3,panelId:r}),()=>{a({type:3,panelId:null})}),[r,a]);let u=(0,_.oJ)(),c=null!==u?(u&_.ZM.Open)===_.ZM.Open:0===o.disclosureState,f=(0,p.useMemo)(()=>({open:0===o.disclosureState,close:s}),[o,s]);return p.createElement(V.Provider,{value:o.panelId},(0,A.sY)({ourProps:{ref:l,id:r},theirProps:i,slot:f,defaultTag:"div",features:W,visible:c,name:"Disclosure.Panel"}))})});var Z=n(9362),Q=n(94192),X=((o=X||{})[o.First=0]="First",o[o.Previous=1]="Previous",o[o.Next=2]="Next",o[o.Last=3]="Last",o[o.Specific=4]="Specific",o[o.Nothing=5]="Nothing",o),ee=n(84575),et=n(39650),en=n(51074);function er(e){return[e.screenX,e.screenY]}var ei=((a=ei||{})[a.Open=0]="Open",a[a.Closed=1]="Closed",a),eo=((s=eo||{})[s.Pointer=0]="Pointer",s[s.Other=1]="Other",s),ea=((l=ea||{})[l.OpenMenu=0]="OpenMenu",l[l.CloseMenu=1]="CloseMenu",l[l.GoToItem=2]="GoToItem",l[l.Search=3]="Search",l[l.ClearSearch=4]="ClearSearch",l[l.RegisterItem=5]="RegisterItem",l[l.UnregisterItem=6]="UnregisterItem",l);function es(e,t=e=>e){let n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,ee.z2)(t(e.items.slice()),e=>e.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return -1===i&&(i=null),{items:r,activeItemIndex:i}}let el={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,menuState:0},2:(e,t)=>{var n;let r=es(e),i=function(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=null!=r?r:-1,o=(()=>{switch(e.focus){case 0:return n.findIndex(e=>!t.resolveDisabled(e));case 1:{let e=n.slice().reverse().findIndex((e,n,r)=>(-1===i||!(r.length-n-1>=i))&&!t.resolveDisabled(e));return -1===e?e:n.length-1-e}case 2:return n.findIndex((e,n)=>!(n<=i)&&!t.resolveDisabled(e));case 3:{let e=n.slice().reverse().findIndex(e=>!t.resolveDisabled(e));return -1===e?e:n.length-1-e}case 4:return n.findIndex(n=>t.resolveId(n)===e.id);case 5:return null;default:!function(e){throw Error("Unexpected object: "+e)}(e)}})();return -1===o?r:o}(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:i,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>
25{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled}),o=i?e.items.indexOf(i):-1;return -1===o||o===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:o,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=es(e,e=>[...e,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=es(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}}},eu=(0,p.createContext)(null);function ec(e){let t=(0,p.useContext)(eu);if(null===t){let t=Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ec),t}return t}function ef(e,t){return(0,x.E)(t.type,el,e,t)}eu.displayName="MenuContext";let ed=p.Fragment,eh=A.AN.RenderStrategy|A.AN.Static,ep=p.Fragment,eg=Object.assign((0,A.yV)(function(e,t){let n=(0,p.useReducer)(ef,{menuState:1,buttonRef:(0,p.createRef)(),itemsRef:(0,p.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:r,itemsRef:i,buttonRef:o},a]=n,s=(0,T.T)(t);(0,et.O)([o,i],(e,t)=>{var n;a({type:1}),(0,ee.sP)(t,ee.tJ.Loose)||(e.preventDefault(),null==(n=o.current)||n.focus())},0===r);let l=(0,L.z)(()=>{a({type:1})}),u=(0,p.useMemo)(()=>({open:0===r,close:l}),[r,l]);return p.createElement(eu.Provider,{value:n},p.createElement(_.up,{value:(0,x.E)(r,{0:_.ZM.Open,1:_.ZM.Closed})},(0,A.sY)({ourProps:{ref:s},theirProps:e,slot:u,defaultTag:ed,name:"Menu"})))}),{Button:(0,A.yV)(function(e,t){var n;let r=(0,R.M)(),{id:i=`headlessui-menu-button-${r}`,...o}=e,[a,s]=ec("Menu.Button"),l=(0,T.T)(a.buttonRef,t),u=(0,Q.G)(),c=(0,L.z)(e=>{switch(e.key){case j.R.Space:case j.R.Enter:case j.R.ArrowDown:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:X.First}));break;case j.R.ArrowUp:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:X.Last}))}}),f=(0,L.z)(e=>{e.key===j.R.Space&&e.preventDefault()}),d=(0,L.z)(t=>{if((0,N.P)(t.currentTarget))return t.preventDefault();e.disabled||(0===a.menuState?(s({type:1}),u.nextFrame(()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
25)):(t.preventDefault(),s({type:0})))}),h=(0,p.useMemo)(()=>({open:0===a.menuState}),[a]),g={ref:l,id:i,type:M(e,a.buttonRef),"aria-haspopup":"menu","aria-controls":null==(n=a.itemsRef.current)?void 0:n.id,"aria-expanded":e.disabled?void 0:0===a.menuState,onKeyDown:c,onKeyUp:f,onClick:d};return(0,A.sY)({ourProps:g,theirProps:o,slot:h,defaultTag:"button",name:"Menu.Button"})}),Items:(0,A.yV)(function(e,t){var n,r;let i=(0,R.M)(),{id:o=`headlessui-menu-items-${i}`,...a}=e,[s,l]=ec("Menu.Items"),u=(0,T.T)(s.itemsRef,t),c=(0,en.i)(s.itemsRef),f=(0,Q.G)(),d=(0,_.oJ)(),h=null!==d?(d&_.ZM.Open)===_.ZM.Open:0===s.menuState;(0,p.useEffect)(()=>{let e=s.itemsRef.current;e&&0===s.menuState&&e!==(null==c?void 0:c.activeElement)&&e.focus({preventScroll:!0})},[s.menuState,s.itemsRef,c]),function({container:e,accept:t,walk:n,enabled:r=!0}){let i=(0,p.useRef)(t),o=(0,p.useRef)(n);(0,p.useEffect)(()=>{i.current=t,o.current=n},[t,n]),(0,B.e)(()=>{if(!e||!r)return;let t=(0,U.r)(e);if(!t)return;let n=i.current,a=o.current,s=Object.assign(e=>n(e),{acceptNode:n}),l=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s,!1);for(;l.nextNode();)a(l.currentNode)},[e,r,i,o])}({container:s.itemsRef.current,enabled:0===s.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let g=(0,L.z)(e=>{var t,n;switch(f.dispose(),e.key){case j.R.Space:if(""!==s.searchQuery)return e.preventDefault(),e.stopPropagation(),l({type:3,value:e.key});case j.R.Enter:if(e.preventDefault(),e.stopPropagation(),l({type:1}),null!==s.activeItemIndex){let{dataRef:e}=s.items[s.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}(0,ee.wI)(s.buttonRef.current);break;case j.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:X.Next});case j.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:X.Previous});case j.R.Home:case j.R.PageUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:X.First});case j.R.End:case j.R.PageDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:X.Last});case j.R.Escape:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,Z.k)().nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})});break;case j.R.Tab:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,Z.k)().nextFrame(()=>{(0,ee.EO)(s.buttonRef.current,e.shiftKey?ee.TO.Previous:ee.TO.Next)});break;default:1===e.key.length&&(l({type:3,value:e.key}),f.setTimeout(()=>l({type:4}),350))}}),y=(0,L.z)(e=>{e.key===j.R.Space&&e.preventDefault()}),m=(0,p.useMemo)(()=>({open:0===s.menuState}),[s]),b={"aria-activedescendant":null===s.activeItemIndex||null==(n=s.items[s.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(r=s.buttonRef.current)?void 0:r.id,id:o,onKeyDown:g,onKeyUp:y,role:"menu",tabIndex:0,ref:u};return(0,A.sY)({ourProps:b,theirProps:a,slot:m,defaultTag:"div",features:eh,visible:h,name:"Menu.Items"})}),Item:(0,A.yV)(function(e,t){let n,r=(0,R.M)(),{id:i=`headlessui-menu-item-${r}`,disabled:o=!1,...a}=e,[s,l]=ec("Menu.Item"),u=null!==s.activeItemIndex&&s.items[s.activeItemIndex].id===i,c=(0,p.useRef)(null),f=(0,T.T)(t,c);(0,B.e)(()=>{if(0!==s.menuState||!u||0===s.activationTrigger)return;let e=(0,Z.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=c.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[c,u,s.menuState,s.activationTrigger,s.activeItemIndex]);let d=(0,p.useRef)({disabled:o,domRef:c});(0,B.e)(()=>{d.current.disabled=o},[d,o]),(0,B.e)(()=>{var e,t;d.current.textValue=null==(t=null==(e=c.current)?void 0:e.textContent)?void 0:t.toLowerCase()},[d,c]),(0,B.e)(()=>(l({type:5,id:i,dataRef:d}),()=>l({type:6,id:i})),[d,i]);let h=(0,L.z)(()=>{l({type:1})}),g=(0,L.z)(e=>{if(o)return e.preventDefault();l({type:1}),(0,ee.wI)(s.buttonRef.current)}),y=(0,L.z)(()=>{if(o)return l({type:2,focus:X.Nothing});l({type:2,focus:X.Specific,id:i})}),m=(n=(0,p.useRef)([-1,-1]),{wasMoved(e){let t=er(e);return(n.current[0]!==t[0]||n.current[1]!==t[1])&&(n.current=t,!0)},update(e){n.current=er(e)}}),b=(0,L.z)(e=>m.update(e)),v=(0,L.z)(e=>{m.wasMoved(e)&&(o||u||l({type:2,focus:X.Specific,id:i,trigger:0}))}),w=(0,L.z)(e=>{m.wasMoved(e)&&(o||u&&l({type:2,focus:X.Nothing}))}),C=(0,p.useMemo)(()=>({active:u,disabled:o,close:h}),[u,o,h]);return(0,A.sY)({ourProps:{id:i,ref:f,role:"menuitem",tabIndex:!0===o?void 0:-1,"aria-disabled":!0===o||void 0,disabled:void 0,onClick:g,onFocus:y,onPointerEnter:b,onMouseEnter:b,onPointerMove:v,onMouseMove:v,onPointerLeave:w,onMouseLeave:w},theirProps:a,slot:C,defaultTag:ep,name:"Menu.Item"})})});var ey=n(14879),em=n(3855),eb=n(82180);function ev(e,...t){e&&t.length>0&&e.classList.add(...t)}function ew(e,...t){e&&t.length>0&&e.classList.remove(...t)}var eC=n(44067),eS=n(77896);function eP(e=""){return e.split(" ").filter(e=>e.trim().length>1)}let eE=(0,p.createContext)(null);eE.displayName="TransitionContext";var eI=((u=eI||{}).Visible="visible",u.Hidden="hidden",u);let eO=(0,p.createContext)(null);function ex(e){return"children"in e?ex(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function eA(e,t){let n=(0,em.E)(e),r=(0,p.useRef)([]),i=(0,ey.t)(),o=(0,Q.G)(),a=(0,L.z)((e,t=A.l4.Hidden)=>{let a=r.current.findIndex(({el:t})=>t===e);-1!==a&&((0,x.E)(t,{[A.l4.Unmount](){r.current.splice(a,1)},[A.l4.Hidden](){r.current[a].state="hidden"}}),o.microTask(()=>{var e;!ex(r)&&i.current&&(null==(e=n.current)||e.call(n))}))}),s=(0,L.z)(e=>{let t=r.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>a(e,A.l4.Unmount)}),l=(0,p.useRef)([]),u=(0,p.useRef)(Promise.resolve()),c=(0,p.useRef)({enter:[],leave:[],idle:[]}),f=(0,L.z)((e,n,r)=>{l.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(([t])=>t!==e)),null==t||t.chains.current[n].push([e,new Promise(e=>{l.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(c.current[n].map(([e,t])=>t)).then(()=>e())}
25)]),"enter"===n?u.current=u.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),d=(0,L.z)((e,t,n)=>{Promise.all(c.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=l.current.shift())||e()}).then(()=>n(t))});return(0,p.useMemo)(()=>({children:r,register:s,unregister:a,onStart:f,onStop:d,wait:u,chains:c}),[s,a,r,f,d,c,u])}function eT(){}eO.displayName="NestingContext";let eR=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function ej(e){var t;let n={};for(let r of eR)n[r]=null!=(t=e[r])?t:eT;return n}let eN=A.AN.RenderStrategy,e_=(0,A.yV)(function(e,t){let{show:n,appear:r=!1,unmount:i,...o}=e,a=(0,p.useRef)(null),s=(0,T.T)(a,t);(0,eb.H)();let l=(0,_.oJ)();if(void 0===n&&null!==l&&(n=(l&_.ZM.Open)===_.ZM.Open),![!0,!1].includes(n))throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,c]=(0,p.useState)(n?"visible":"hidden"),f=eA(()=>{c("hidden")}),[d,h]=(0,p.useState)(!0),g=(0,p.useRef)([n]);(0,B.e)(()=>{!1!==d&&g.current[g.current.length-1]!==n&&(g.current.push(n),h(!1))},[g,n]);let y=(0,p.useMemo)(()=>({show:n,appear:r,initial:d}),[n,r,d]);(0,p.useEffect)(()=>{if(n)c("visible");else if(ex(f)){let e=a.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&c("hidden")}else c("hidden")},[n,f]);let m={unmount:i};return p.createElement(eO.Provider,{value:f},p.createElement(eE.Provider,{value:y},(0,A.sY)({ourProps:{...m,as:p.Fragment,children:p.createElement(eB,{ref:s,...m,...o})},theirProps:{},defaultTag:p.Fragment,features:eN,visible:"visible"===u,name:"Transition"})))}),eB=(0,A.yV)(function(e,t){var n;let r,{beforeEnter:i,afterEnter:o,beforeLeave:a,afterLeave:s,enter:l,enterFrom:u,enterTo:c,entered:f,leave:d,leaveFrom:h,leaveTo:g,...y}=e,m=(0,p.useRef)(null),b=(0,T.T)(m,t),v=y.unmount?A.l4.Unmount:A.l4.Hidden,{show:w,appear:C,initial:S}=function(){let e=(0,p.useContext)(eE);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[P,E]=(0,p.useState)(w?"visible":"hidden"),I=function(){let e=(0,p.useContext)(eO);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:O,unregister:R}=I,j=(0,p.useRef)(null);(0,p.useEffect)(()=>O(m),[O,m]),(0,p.useEffect)(()=>{if(v===A.l4.Hidden&&m.current){if(w&&"visible"!==P){E("visible");return}return(0,x.E)(P,{hidden:()=>R(m),visible:()=>O(m)})}},[P,m,O,R,w,v]);let N=(0,em.E)({enter:eP(l),enterFrom:eP(u),enterTo:eP(c),entered:eP(f),leave:eP(d),leaveFrom:eP(h),leaveTo:eP(g)}),k=(n={beforeEnter:i,afterEnter:o,beforeLeave:a,afterLeave:s},r=(0,p.useRef)(ej(n)),(0,p.useEffect)(()=>{r.current=ej(n)},[n]),r),M=(0,eb.H)();(0,p.useEffect)(()=>{if(M&&"visible"===P&&null===m.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[m,P,M]);let U=S&&!C,F=!M||U||j.current===w?"idle":w?"enter":"leave",D=function(e=0){let[t,n]=(0,p.useState)(e),r=(0,p.useCallback)(e=>n(t=>t|e),[t]),i=(0,p.useCallback)(e=>!!(t&e),[t]);return{flags:t,addFlag:r,hasFlag:i,removeFlag:(0,p.useCallback)(e=>n(t=>t&~e),[n]),toggleFlag:(0,p.useCallback)(e=>n(t=>t^e),[n])}}(0),G=(0,L.z)(e=>(0,x.E)(e,{enter:()=>{D.addFlag(_.ZM.Opening),k.current.beforeEnter()},leave:()=>{D.addFlag(_.ZM.Closing),k.current.beforeLeave()},idle:()=>{}})),J=(0,L.z)(e=>(0,x.E)(e,{enter:()=>{D.removeFlag(_.ZM.Opening),k.current.afterEnter()},leave:()=>{D.removeFlag(_.ZM.Closing),k.current.afterLeave()},idle:()=>{}})),z=eA(()=>{E("hidden"),R(m)},I);(function({container:e,direction:t,classes:n,onStart:r,onStop:i}){let o=(0,ey.t)(),a=(0,Q.G)(),s=(0,em.E)(t);(0,B.e)(()=>{let t=(0,Z.k)();a.add(t.dispose);let l=e.current;if(l&&"idle"!==s.current&&o.current){var u,c,f;let e,o,a,d,h,p,g;return t.dispose(),r.current(s.current),t.add((u=n.current,c="enter"===s.current,f=()=>{t.dispose(),i.current(s.current)},o=c?"enter":"leave",a=(0,Z.k)(),d=void 0!==f?(e={called:!1},(...t)=>{if(!e.called)return e.called=!0,f(...t)}):()=>{},"enter"===o&&(l.removeAttribute("hidden"),l.style.display=""),h=(0,x.E)(o,{enter
25:()=>u.enter,leave:()=>u.leave}),p=(0,x.E)(o,{enter:()=>u.enterTo,leave:()=>u.leaveTo}),g=(0,x.E)(o,{enter:()=>u.enterFrom,leave:()=>u.leaveFrom}),ew(l,...u.enter,...u.enterTo,...u.enterFrom,...u.leave,...u.leaveFrom,...u.leaveTo,...u.entered),ev(l,...h,...g),a.nextFrame(()=>{ew(l,...g),ev(l,...p),function(e,t){let n=(0,Z.k)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[o,a]=[r,i].map(e=>{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t}),s=o+a;if(0!==s){n.group(n=>{n.setTimeout(()=>{t(),n.dispose()},s),n.addEventListener(e,"transitionrun",e=>{e.target===e.currentTarget&&n.dispose()})});let r=n.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t(),r())})}else t();n.add(()=>t()),n.dispose}(l,()=>(ew(l,...h),ev(l,...u.entered),d()))}),a.dispose)),t.dispose}},[t])})({container:m,classes:N,direction:F,onStart:(0,em.E)(e=>{z.onStart(m,e,G)}),onStop:(0,em.E)(e=>{z.onStop(m,e,J),"leave"!==e||ex(z)||(E("hidden"),R(m))})}),(0,p.useEffect)(()=>{U&&(v===A.l4.Hidden?j.current=null:j.current=w)},[w,U,P]);let H=y;return C&&w&&eS.O.isServer&&(H={...H,className:(0,eC.A)(y.className,...N.current.enter,...N.current.enterFrom)}),p.createElement(eO.Provider,{value:z},p.createElement(_.up,{value:(0,x.E)(P,{visible:_.ZM.Open,hidden:_.ZM.Closed})|D.flags},(0,A.sY)({ourProps:{ref:b},theirProps:H,defaultTag:"div",features:eN,visible:"visible"===P,name:"Transition.Child"})))}),ek=(0,A.yV)(function(e,t){let n=null!==(0,p.useContext)(eE),r=null!==(0,_.oJ)();return p.createElement(p.Fragment,null,!n&&r?p.createElement(e_,{ref:t,...e}):p.createElement(eB,{ref:t,...e}))}),eM=Object.assign(e_,{Child:ek,Root:e_});var eU=n(24819),eL=n(38505),eF=n(11444),eD=n(46473);let eG=[{name:"Collections",href:"/projects",target:"_self"},{name:"Artists",href:"/artists",target:"_self"},{name:"Earnings",href:"/artists/earnings",target:"_self"}];var eJ=function(){return(0,f.jsx)(K,{as:"nav",className:"site-header",children:e=>{let{open:t}=e;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"mx-auto alba-container px-4 sm:px-8",children:(0,f.jsxs)("div",{className:"relative flex justify-between h-[56px]",children:[(0,f.jsx)("div",{className:"flex items-center sm:min-w-[150px] lg:min-w-[300px]",children:(0,f.jsx)(E(),{href:"/",children:(0,f.jsx)(O(),{src:"/images/alba.svg",width:60.3,height:16,alt:"Alba logo"})})}),(0,f.jsx)("div",{className:"flex flex-grow justify-center",children:(0,f.jsx)("div",{className:"hidden md:flex gap-8 justify-start xl:justify-center items-center text-sm font-semibold text-gray-900",children:eG.map(e=>{var t;return e.dropdown?(0,f.jsxs)(eg,{as:"div",className:"relative inline-block text-left",children:[(0,f.jsx)("div",{children:(0,f.jsxs)(eg.Button,{className:"inline-flex w-full justify-center items-center gap-x-1.5",children:[e.name,(0,f.jsx)(eU,{className:"-mr-1 h-3 w-3 text-gray-400","aria-hidden":"true"})]})}),(0,f.jsx)(eM,{as:p.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,f.jsx)(eg.Items,{className:"absolute left-0 z-10 mt-2 w-56 origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,f.jsx)("div",{className:"py-1",children:null===(t=e.dropdownItems)||void 0===t?void 0:t.map(e=>(0,f.jsx)(eg.Item,{children:t=>{let{active:n}=t;return(0,f.jsx)(E(),{href:e.href,className:(0,eD.AK)(n?"bg-gray-100 text-gray-900":"text-gray-700","block px-4 py-2 text-sm"),children:e.name})}},"item_"+e.name))})})})]},e.name):(0,f.jsx)(E(),{href:e.href,target:e.target,children:(0,f.jsx)("div",{className:"hover:text-gray-900",children:e.name})},e.name)})})}),(0,f.jsx)("div",{className:"hidden lg:block lg:min-w-[300px]","aria-hidden":"true"}),(0,f.jsx)("div",{className:"flex items-center md:hidden",children:(0,f.jsxs)(K.Button,{className:"inline-flex items-center justify-center rounded-md ml-4 text-gray-900 hover:bg-gray-100 hover:text-gray-500 focus:outline-none",children:[(0,f.jsx)("span",{className:"sr-only",children:"Open main menu"}),t?(0,f.jsx)(eL,{className:"block h-5 w-5","aria-hidden":"true"}):(0,f.jsx)(eF,{className:"block h-5 w-5","aria-hidden":"true"})]})})]})}),(0,f.jsx)(K.Panel,{className:"sm:hidden",children:(0,f.jsx)("div",{className:"space-y-1 pb-4 pt-2",children:eG.map(e=>{var t;return e.dropdown?null===(t=e.dropdownItems)||void 0===t?void 0:t.map(e=>(0,f.jsx)(K.Button,{as:"a",href:e.href,target:e.target,className:"block border-l-4 border-transparent py-4 pl-3 pr-4 text-base text-gray-900 text-center hover:border-gray-300 hover:bg-gray-50 hover:text-gray-700",children:e.name},e.name)):(0,f.jsx)(K.Button,{as:"a",href:e.href,target:e.target,className:"block border-l-4 border-transparent py-4 pl-3 pr-4 text-base text-gray-900 text-center hover:border-gray-300 hover:bg-gray-50 hover:text-gray-700",children:e.name},e.name)})})})]})}})};let ez={social:[{name:"Twitter",href:"https://twitter.com/albadotart"},{name:"GitHub",href:"https://github.com/albaart"},{name:"Discord",href:"https://discord.gg/NUXmVWNKG6"}]};function eH(){return(0,f.jsx)("footer",{className:"w-full flex justify-center border-t border-gray-100 bg-gray-50","aria-labelledby":"footer-heading",children:(0,f.jsxs)("div",{className:"alba-container w-full px-8",children:[(0,f.jsx)("h2",{id:"footer-heading",className:"sr-only",children:"Footer"}),(0,f.jsx)("div",{children:(0,f.jsxs)("div",{className:"flex flex-col md:flex-row gap-6 justify-between items-center py-8",children:[(0,f.jsx)("p",{className:"text-gray-500 text-sm mb-0",children:"Alba historical archive"}),(0,f.jsx)("ul",{role:"list",className:"flex gap-6",children:ez.social.map(e=>(0,f.jsx)("li",{children:(0,f.jsx)("a",{href:e.href,className:"text-sm leading-6 text-gray-900 hover:underline",children:e.name})},e.name))})]})})]})})}n(70415);let e$=v()(()=>Promise.all([n.e(9598),n.e(6424),n.e(5824),n.e(6997),n.e(9526)]).then(n.bind(n,69526)),{loadableGenerated:{webpack:()=>[69526]},ssr:!1,loading:()=>(0,f.jsx)("div",{className:"py-16 text-center text-sm text-gray-500",children:"Preparing wallet connectionâ¦"})}),eV=()=>(0,f.jsxs)(C(),{children:[(0,f.jsx)("title",{children:"Alba.art archive"}),(0,f.jsx)("meta",{name:"description",content:"The historical archive of Alba generative art on Ethereum"}),(0,f.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"}),(0,f.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"}),(0,f.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"}),(0,f.jsx)("link",{rel:"manifest",href:"/site.webmanifest"}),(0,f.jsx)("link",{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#5bbad5"}),(0,f.jsx)("meta",{name:"msapplication-TileColor",content:"#da532c"}),(0,f.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,f.jsx)("meta",{property:"og:title",content:"Alba.art archive"},"og:title"),(0,f.jsx)("meta",{property:"og:description",content:"The historical archive of Alba generative art on Ethereum"},"og:description"),(0,f.jsx)("meta",{property:"og:image",content:"https://www.alba.art/images/alba-dark.jpg"},"og:image")]}),eY=e=>{let{Component:t,pageProps:n}=e;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(eV,{}),(0,f.jsx)(eJ,{}),(0,f.jsx)("div",{className:"".concat(h().variable," alba-container px-4 sm:px-8 max-h-full w-full min-h-[calc(100vh-64px)]"),children:(0,f.jsx)(t,{...n})}),(0,f.jsx)(eH,{}),(0,f.jsx)(m,{})]})};function eq(e){let{Component:t,pageProps:n}=e,r=(0,S.useRouter)();return"/render"===r.pathname?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(eV,{}),(0,f.jsx)(t,{...n}),(0,f.jsx)(m,{})]}):"/artists/earnings"===r.pathname?(0,f.jsx)(e$,{children:(0,f.jsx)(eY,{Component:t,pageProps:n})}):(0,f.jsx)(eY,{Component:t,pageProps:n})}},70415:function(){},47367:function(e){e.exports={style:{fontFamily:"'__labAntiqua_b6a239', '__labAntiqua_Fallback_b6a239'"},className:"__className_b6a239",variable:"__variable_b6a239"}},5152:function(e,t,n){e.exports=n(1342)},9008:function(e,t,n){e.exports=n(79201)},25675:function(e,t,n){e.exports=n(645)},41664:function(e,t,n){e.exports=n(65170)},11163:function(e,t,n){e.exports=n(59974)},34155:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l=[],u=!1,c=-1;function f(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&d())}function d(){if(!u){var e=s(f);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c<t;)r&&r[c].run();c=-1,t=l.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new h(e,t)),1!==l.length||u||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(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},61363:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});var r,i=((r=i||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},94192:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var r=n(67294),i=n(9362);function o(){let[e]=(0,r.useState)(i.k);return(0,r.useEffect)(()=>()=>
25e.dispose(),[e]),e}},73781:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(67294),i=n(3855);let o=function(e){let t=(0,i.E)(e);return r.useCallback((...e)=>t.current(...e),[t])}},19946:function(e,t,n){"use strict";n.d(t,{M:function(){return l}});var r,i=n(67294),o=n(16723),a=n(82180),s=n(77896);let l=null!=(r=i.useId)?r:function(){let e=(0,a.H)(),[t,n]=i.useState(e?()=>s.O.nextId():null);return(0,o.e)(()=>{null===t&&n(s.O.nextId())},[t]),null!=t?""+t:void 0}},14879:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(67294),i=n(16723);function o(){let e=(0,r.useRef)(!1);return(0,i.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},16723:function(e,t,n){"use strict";n.d(t,{e:function(){return o}});var r=n(67294),i=n(77896);let o=(e,t)=>{i.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},3855:function(e,t,n){"use strict";n.d(t,{E:function(){return o}});var r=n(67294),i=n(16723);function o(e){let t=(0,r.useRef)(e);return(0,i.e)(()=>{t.current=e},[e]),t}},39650:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});var r=n(67294),i=n(84575),o=n(3855);function a(e,t,n){let i=(0,o.E)(t);(0,r.useEffect)(()=>{function t(e){i.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}function s(e,t,n=!0){let o=(0,r.useRef)(!1);function s(n,r){if(!o.current||n.defaultPrevented)return;let a=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),s=r(n);if(null!==s&&s.getRootNode().contains(s)){for(let e of a){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(s)||n.composed&&n.composedPath().includes(t))return}return(0,i.sP)(s,i.tJ.Loose)||-1===s.tabIndex||n.preventDefault(),t(n,s)}}(0,r.useEffect)(()=>{requestAnimationFrame(()=>{o.current=n})},[n]);let l=(0,r.useRef)(null);a("mousedown",e=>{var t,n;o.current&&(l.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),a("click",e=>{l.current&&(s(e,()=>l.current),l.current=null)},!0),a("blur",e=>s(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},51074:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(67294),i=n(15466);function o(...e){return(0,r.useMemo)(()=>(0,i.r)(...e),[...e])}},82180:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(67294),i=n(77896);function o(){let[e,t]=(0,r.useState)(i.O.isHandoffComplete);return e&&!1===i.O.isHandoffComplete&&t(!1),(0,r.useEffect)(()=>{!0!==e&&t(!0)},[e]),(0,r.useEffect)(()=>i.O.handoff(),[]),e}},23784:function(e,t,n){"use strict";n.d(t,{T:function(){return s},h:function(){return a}});var r=n(67294),i=n(73781);let o=Symbol();function a(e,t=!0){return Object.assign(e,{[o]:t})}function s(...e){let t=(0,r.useRef)(e);(0,r.useEffect)(()=>{t.current=e},[e]);let n=(0,i.z)(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[o]))?void 0:n}},16567:function(e,t,n){"use strict";n.d(t,{ZM:function(){return a},oJ:function(){return s},up:function(){return l}});var r,i=n(67294);let o=(0,i.createContext)(null);o.displayName="OpenClosedContext";var a=((r=a||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function s(){return(0,i.useContext)(o)}function l({value:e,children:t}){return i.createElement(o.Provider,{value:e},t)}},64103:function(e,t,n){"use strict";function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}n.d(t,{P:function(){return r}})},44067:function(e,t,n){"use strict";function r(...e){return e.filter(Boolean).join(" ")}n.d(t,{A:function(){return r}})},9362:function(e,t,n){"use strict";n.d(t,{k:function(){return function e(){let t=[],n={addEventListener:(e,t,r,i)=>(e.addEventListener(t,r,i),n.add(()=>e.removeEventListener(t,r,i))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>n.requestAnimationFrame(()=>n.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return n.add(()=>clearTimeout(t))},microTask(...e){let t={current:!0};return(0,r.Y)(()=>{t.current&&e[0]()}),n.add(()=>{t.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(t.push(e),()=>{let n=t.indexOf(e);if(n>=0)for(let e of t.splice(n,1))e()}),dispose(){for(let e of t.splice(0))e()}};return n}}});var r=n(81021)},77896:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});var r=Object.defineProperty,i=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,o=(e,t,n)=>(i(e,"symbol"!=typeof t?t+"":t,n),n);class a{constructor(){o(this,"current",this.detect()),o(this,"handoffState","pending"),o(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server"
25:"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}let s=new a},84575:function(e,t,n){"use strict";n.d(t,{C5:function(){return b},EO:function(){return w},TO:function(){return f},fE:function(){return d},jA:function(){return C},sP:function(){return y},tJ:function(){return g},wI:function(){return m},z2:function(){return v}});var r,i,o,a,s=n(9362),l=n(32984),u=n(15466);let c=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var f=((r=f||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r),d=((i=d||{})[i.Error=0]="Error",i[i.Overflow=1]="Overflow",i[i.Success=2]="Success",i[i.Underflow=3]="Underflow",i),h=((o=h||{})[o.Previous=-1]="Previous",o[o.Next=1]="Next",o);function p(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(c)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var g=((a=g||{})[a.Strict=0]="Strict",a[a.Loose=1]="Loose",a);function y(e,t=0){var n;return e!==(null==(n=(0,u.r)(e))?void 0:n.body)&&(0,l.E)(t,{0:()=>e.matches(c),1(){let t=e;for(;null!==t;){if(t.matches(c))return!0;t=t.parentElement}return!1}})}function m(e){let t=(0,u.r)(e);(0,s.k)().nextFrame(()=>{t&&!y(t.activeElement,0)&&b(e)})}function b(e){null==e||e.focus({preventScroll:!0})}function v(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let o=r.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function w(e,t){return C(p(),t,{relativeTo:e})}function C(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){var o,a,s;let l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?n?v(e):e:p(e);i.length>0&&u.length>1&&(u=u.filter(e=>!i.includes(e))),r=null!=r?r:l.activeElement;let c=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,u.indexOf(r))-1;if(4&t)return Math.max(0,u.indexOf(r))+1;if(8&t)return u.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=32&t?{preventScroll:!0}:{},h=0,g=u.length,y;do{if(h>=g||h+g<=0)return 0;let e=f+h;if(16&t)e=(e+g)%g;else{if(e<0)return 3;if(e>=g)return 1}null==(y=u[e])||y.focus(d),h+=c}while(y!==l.activeElement);return 6&t&&null!=(s=null==(a=null==(o=y)?void 0:o.matches)?void 0:a.call(o,"textarea,input"))&&s&&y.select(),y.hasAttribute("tabindex")||y.setAttribute("tabindex","0"),2}},32984:function(e,t,n){"use strict";function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let i=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,r),i}n.d(t,{E:function(){return r}})},81021:function(e,t,n){"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}n.d(t,{Y:function(){return r}})},15466:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(77896);function i(e){return r.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},12351:function(e,t,n){"use strict";n.d(t,{AN:function(){return l},l4:function(){return u},sY:function(){return c},yV:function(){return h}});var r,i,o=n(67294),a=n(44067),s=n(32984),l=((r=l||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),u=((i=u||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function c({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:a}){let l=d(t,e);if(o)return f(l,n,r,a);let u=null!=i?i:0;if(2&u){let{static:e=!1,...t}=l;if(e)return f(t,n,r,a)}if(1&u){let{unmount:e=!0,...t}=l;return(0,s.E)(e?0:1,{0:()=>null,1:()=>f({...t,hidden:!0,style:{display:"none"}},n,r,a)})}return f(l,n,r,a)}function f(e,t={},n,r){var i;let{as:s=n,children:l,refName:u="ref",...c}=g(e,["unmount","static"]),f=void 0!==e.ref?{[u]:e.ref}:{},h="function"==typeof l?l(t):l;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t));let y={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r);e&&(y["data-headlessui-state"]=n.join(" "))}if(s===o.Fragment&&Object.keys(p(c)).length>0){if(!(0,o.isValidElement)(h)||Array.isArray(h)&&h.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map(e=>` - ${e}`).join(` 26`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` 27`)].join(` 28`));let e=(0,a.A)(null==(i=h.props)?void 0:i.className,c.className);return(0,o.cloneElement)(h,Object.assign({},d(h.props,p(g(c,["ref"]))),y,f,function(...e){return{ref:e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(h.ref,f.ref),e?{className:e}:{}))}return(0,o.createElement)(s,Object.assign({},g(c,["ref"]),s!==o.Fragment&&f,s!==o.Fragment&&y),h)}function d(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){for(let i of n[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;i(t,...r)}}});return t}function h(e){var t;return Object.assign((0,o.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function p(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function g(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(59974)}),_N_E=e.O()}]);
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.