(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{79742:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,i=u(e),a=i[0],s=i[1],l=new o((a+s)*3/4-s),c=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,s=n-o;a<s;a+=16383)i.push(function(e,t,n){for(var o,i=[],a=t;a<n;a+=3)i.push(r[(o=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]))>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,a,a+16383>s?s:a+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:function(e,t,r){"use strict";/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */var n=r(79742),o=r(80645),i="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"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){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 u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|p(e,t),n=a(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(N(e,Uint8Array)){var 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(N(e,ArrayBuffer)||e&&N(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(N(e,SharedArrayBuffer)||e&&N(e.buffer,SharedArrayBuffer)))return d(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return s.from(n,t,r);var o=function(e){if(s.isBuffer(e)){var t,r=0|h(e.length),n=a(r);return 0===n.length||e.copy(n,0,0,r),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(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return l(e),a(e<0?0:0|h(e))}function f(e){for(var t=e.length<0?0:0|h(e.length),r=a(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function d(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),n}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)||N(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);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return O(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return A(e).length;default:if(o)return n?-1:O(e).length;t=(""+t).toLowerCase(),o=!0}}function v(e,t,r){var o,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=T[e[i]];return o}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":return o=t,i=r,0===o&&i===this.length?n.fromByteArray(this):n.fromByteArray(this.slice(o,i));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,t,r);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function y(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,o){var i;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(i=r=+r)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return -1;r=e.length-1}else if(r<0){if(!o)return -1;r=0}if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:m(e,t,r,n,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):m(e,[t],r,n,o);throw TypeError("val must be string, number or Buffer")}function m(e,t,r,n,o){var i,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,s/=2,u/=2,r/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var c=-1;for(i=r;i<s;i++)if(l(e,i)===l(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===u)return c*a}else -1!==c&&(i-=i-c),c=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var f=!0,d=0;d<u;d++)if(l(e,i+d)!==l(t,d)){f=!1;break}if(f)return i}return -1}function b(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,u,l=e[o],c=null,f=l>239?4:l>223?3:l>191?2:1;if(o+f<=r)switch(f){case 1:l<128&&(c=l);break;case 2:(192&(i=e[o+1]))==128&&(u=(31&l)<<6|63&i)>127&&(c=u);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(u=(15&l)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(u=(15&l)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function w(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function x(e,t,r,n,o,i){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function _(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function S(e,t,r,n,i){return t=+t,r>>>=0,i||_(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function E(e,t,r,n,i){return t=+t,r>>>=0,i||_(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}t.lW=s,t.h2=50,s.TYPED_ARRAY_SUPPORT=function(){try{var 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,r){return u(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(l(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):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(N(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),N(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;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?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){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(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=s.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(N(i,Uint8Array))o+i.length>n.length?s.from(i).copy(n,o):Uint8Array.prototype.set.call(n,i,o);else if(s.isBuffer(i))i.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=i.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var 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(){var e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):v.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(){var e="",r=t.h2;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,o){if(N(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===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,a=r-t,u=Math.min(i,a),l=this.slice(n,o),c=e.slice(t,r),f=0;f<u;++f)if(l[f]!==c[f]){i=l[f],a=c[f];break}return i<a?-1:a<i?1:0},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,s,u,l,c,f,d=this.length-t;if((void 0===r||r>d)&&(r=d),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var h=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(s!=s)break;e[r+a]=s}return a}(this,e,t,r);case"utf8":case"utf-8":return o=t,i=r,I(O(e,this.length-o),this,o,i);case"ascii":case"latin1":case"binary":return a=t,s=r,I(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,a,s);case"base64":return u=t,l=r,I(A(e),this,u,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,f=r,I(function(e,t){for(var r,n,o=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(e,this.length-c),this,c,f);default:if(h)throw TypeError("Unknown encoding: "+n);n=(""+n).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){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},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.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},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);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},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.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;x(this,e,t,r,o,0)}var i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;x(this,e,t,r,o,0)}var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||x(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,r){return e=+e,t>>>=0,r||x(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,r){return e=+e,t>>>=0,r||x(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,r){return e=+e,t>>>=0,r||x(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.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);x(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);x(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||x(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,r){return e=+e,t>>>=0,r||x(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.writeFloatLE=function(e,t,r){return S(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return S(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return E(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return E(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),o},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=s.isBuffer(e)?e:s.from(e,n),u=a.length;if(0===u)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=a[o%u]}return this};var k=/[^+/0-9A-Za-z-_]/g;function O(e,t){t=t||1/0;for(var r,n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319||a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function A(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(k,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function I(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function N(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var T=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},2350:function(){},80645:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,l=u>>1,c=-7,f=r?o-1:0,d=r?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-c)-1,h>>=-c,c+=s;c>0;i=256*i+e[t+f],f+=d,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===i)i=1-l;else{if(i===u)return a?NaN:(h?-1:1)*(1/0);a+=Math.pow(2,n),i-=l}return(h?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,u,l=8*i-o-1,c=(1<<l)-1,f=c>>1,d=23===o?5960464477539062e-23:0,h=n?0:i-1,p=n?1:-1,v=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*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+f>=1?t+=d/u:t+=d*Math.pow(2,1-f),t*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&s,h+=p,s/=256,o-=8);for(a=a<<o|s,l+=o;l>0;e[r+h]=255&a,h+=p,a/=256,l-=8);e[r+h-p]|=128*v}},36808:function(e,t,r){var n,o;void 0!==(n="function"==typeof(o=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function r(n){function o(){}function i(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(new Date*1+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(r);/^[\{\[]/.test(a)&&(r=a)}catch(e){}r=n.write?n.write(r,t):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var u in i)i[u]&&(s+="; "+u,!0!==i[u]&&(s+="="+i[u].split(";")[0]));return document.cookie=t+"="+r+s}}function a(e,r){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var s=i[a].split("="),u=s.slice(1).join("=");r||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var l=t(s[0]);if(u=(n.read||n)(u,l)||t(u),r)try{u=JSON.parse(u)}catch(e){}if(o[l]=u,e===l)break}catch(e){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(t,r){i(t,"",e(r,{expires:-1}))},o.defaults={},o.withConverter=r,o}(function(){})})?o.call(t,r,t,e):o)&&(e.exports=n),e.exports=o()},82254:function(e,t,r){"use strict";var n=r(34155),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.isNetlify=t.isVercel=t.Version=void 0;var i=o(r(48271)),a=o(r(74243)),s=o(r(23679));t.Version=r(19122).version,t.isVercel=n.env.AXIOM_INGEST_ENDPOINT||n.env.NEXT_PUBLIC_AXIOM_INGEST_ENDPOINT,t.isNetlify="true"==n.env.NETLIFY;var u=new i.default;t.isVercel?u=new a.default:t.isNetlify&&(u=new s.default),t.default=u},42029:function(e,t,r){"use strict";t.cM=t.U9=void 0;var n=r(20921);Object.defineProperty(t,"U9",{enumerable:!0,get:function(){return n.reportWebVitals}});var o=r(55709);Object.defineProperty(t,"cM",{enumerable:!0,get:function(){return o.log}}),r(42726)},55709:function(e,t,r){"use strict";var n,o,i=r(34155),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},s=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),u=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&s(t,e,r);return u(t,e),t},c=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})},f=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},d=this&&this.__spreadArray||function(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.prettyPrint=t.log=t.Logger=t.LogLevel=void 0;var h=l(r(82254)),p=r(19690),v=h.default.getLogsEndpoint(),y=i.env.AXIOM_LOG_LEVEL||"debug";(n=o=t.LogLevel||(t.LogLevel={}))[n.debug=0]="debug",n[n.info=1]="info",n[n.warn=2]="warn",n[n.error=3]="error",n[n.off=100]="off";var g=function(){function e(t,r,n,i,s){void 0===t&&(t={}),void 0===r&&(r=null),void 0===n&&(n=!0),void 0===i&&(i="frontend");var u=this;this.args=t,this.req=r,this.autoFlush=n,this.source=i,this.logEvents=[],this.throttledSendLogs=(0,p.throttle)(this.sendLogs,1e3),this.children=[],this.debug=function(e,t){void 0===t&&(t={}),u._log("debug",e,t)},this.info=function(e,t){void 0===t&&(t={}),u._log("info",e,t)},this.warn=function(e,t){void 0===t&&(t={}),u._log("warn",e,t)},this.error=function(e,t){void 0===t&&(t={}),u._log("error",e,t)},this.with=function(t){var r=new e(a(a({},u.args),t),u.req,u.autoFlush,u.source);return u.children.push(r),r},this.withRequest=function(t){return new e(a({},u.args),t,u.autoFlush,u.source)},this._log=function(e,t,r){if(void 0===r&&(r={}),!(o[e]<o[u.logLevel])){var n={level:e,message:t,_time:new Date(Date.now()).toISOString(),fields:u.args||{}};if(r instanceof Error)n.fields=a(a({},n.fields),{message:r.message,stack:r.stack,name:r.name});else if("object"==typeof r&&null!==r&&Object.keys(r).length>0){var i=JSON.parse(JSON.stringify(r,w));n.fields=a(a({},n.fields),i)}else r&&r.length&&(n.fields=a(a({},n.fields),{args:r}));h.default.injectPlatformMetadata(n,u.source),null!=u.req&&(n.request=u.req,n.platform?n.platform.route=u.req.path:n.vercel&&(n.vercel.route=u.req.path)),u.logEvents.push(n),u.autoFlush&&u.throttledSendLogs()}},this.attachResponseStatus=function(e){u.logEvents=u.logEvents.map(function(t){return t.request&&(t.request.statusCode=e),t})},this.flush=function(){return c(u,void 0,void 0,function(){return f(this,function(e){switch(e.label){case 0:return[4,Promise.all(d([this.sendLogs()],this.children.map(function(e){return e.flush()}),!0))];case 1:return e.sent(),[2]}})})},this.logLevel=s||y||"debug"}return e.prototype.sendLogs=function(){return c(this,void 0,void 0,function(){var e,t,n,o;return f(this,function(i){switch(i.label){case 0:if(!this.logEvents.length)return[2];if(!h.default.isEnvVarsSet())return this.logEvents.forEach(function(e){return b(e)}),this.logEvents=[],[2];e=JSON.stringify(this.logEvents),this.logEvents=[],t={"Content-Type":"application/json","User-Agent":"next-axiom/v"+h.Version},h.default.token&&(t.Authorization="Bearer ".concat(h.default.token)),n={body:e,method:"POST",keepalive:!0,headers:t},i.label=1;case 1:if(i.trys.push([1,5,,6]),"undefined"!=typeof fetch)return[3,3];return[4,r(66477)];case 2:return i.sent()(v,n).catch(console.error),[3,4];case 3:h.default.isBrowser&&h.isVercel&&navigator.sendBeacon&&navigator.sendBeacon(v,e)||fetch(v,n).catch(console.error),i.label=4;case 4:return[3,6];case 5:return o=i.sent(),console.error("Failed to send logs to Axiom: ".concat(o)),[3,6];case 6:return[2]}})})},e}();t.Logger=g,t.log=new g;var m={info:{terminal:"32",browser:"lightgreen"},debug:{terminal:"36",browser:"lightblue"},warn:{terminal:"33",browser:"yellow"},error:{terminal:"31",browser:"red"}};function b(e){var t=Object.keys(e.fields).length>0;if(p.isNoPrettyPrint){var r="".concat(e.level," - ").concat(e.message);t&&(r+=" "+JSON.stringify(e.fields)),console.log(r);return}var n="",o=[e.level,e.message];h.default.isBrowser?(n="%c%s - %s",o=d(["color: ".concat(m[e.level].browser,";")],o,!0)):n="\x1b[".concat(m[e.level].terminal,"m%s\x1b[0m - %s"),t&&(n+=" %o",o.push(e.fields)),e.request&&(n+=" %o",o.push(e.request)),console.log.apply(console,d([n],o,!0))}function w(e,t){return t instanceof Error?a(a({},t),{name:t.name,message:t.message,stack:t.stack}):t}t.prettyPrint=b},48271:function(e,t,r){"use strict";var n=r(34155);Object.defineProperty(t,"__esModule",{value:!0});var o=r(19690),i=function(){function e(){this.proxyPath="/_axiom",this.isBrowser="undefined"!=typeof window,this.shoudSendEdgeReport=!1,this.token=n.env.AXIOM_TOKEN,this.dataset=n.env.AXIOM_DATASET,this.environment="production",this.axiomUrl=n.env.AXIOM_URL||"https://cloud.axiom.co",this.region=n.env.REGION||void 0}return e.prototype.isEnvVarsSet=function(){return!!(this.axiomUrl&&n.env.AXIOM_DATASET&&n.env.AXIOM_TOKEN)},e.prototype.getIngestURL=function(e){return"".concat(this.axiomUrl,"/api/v1/datasets/").concat(this.dataset,"/ingest")},e.prototype.getLogsEndpoint=function(){return this.isBrowser?"".concat(this.proxyPath,"/logs"):this.getIngestURL(o.EndpointType.logs)},e.prototype.getWebVitalsEndpoint=function(){return this.isBrowser?"".concat(this.proxyPath,"/logs"):this.getIngestURL(o.EndpointType.webVitals)},e.prototype.wrapWebVitalsObject=function(e){var t=this;return e.map(function(e){return{webVital:e,_time:new Date().getTime(),platform:{environment:t.environment,source:"web-vital"}}})},e.prototype.injectPlatformMetadata=function(e,t){e.platform={environment:this.environment,region:this.region,source:t+"-log"}},e.prototype.generateRequestMeta=function(e){return{startTime:new Date().getTime(),path:e.url,method:e.method,host:this.getHeaderOrDefault(e,"host",""),userAgent:this.getHeaderOrDefault(e,"user-agent",""),scheme:"https",ip:this.getHeaderOrDefault(e,"x-forwarded-for",""),region:this.region}},e.prototype.getHeaderOrDefault=function(e,t,r){return e.headers[t]?e.headers[t]:r},e}();t.default=i},23679:function(e,t,r){"use strict";var n,o=r(34155),i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=a(r(48271)),u=o.env.SITE_ID,l=o.env.BUILD_ID,c=o.env.CONTEXT,f=o.env.DEPLOYMENT_URL,d=o.env.DEPLOYMENT_ID,h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.wrapWebVitalsObject=function(e){var t=this;return e.map(function(e){return{webVital:e,_time:new Date().getTime(),netlify:{environment:t.environment,source:"web-vital",siteId:u,buildId:l,context:c,deploymentUrl:f,deploymentId:d}}})},t.prototype.injectPlatformMetadata=function(e,t){e.netlify={environment:this.environment,region:"edge"===t?o.env.DENO_REGION:o.env.AWS_REGION,source:t+"-log",siteId:u,buildId:l,context:c,deploymentUrl:f,deploymentId:"edge"===t?o.env.DENO_DEPLOYMENT_ID:d}},t}(s.default);t.default=h},74243:function(e,t,r){"use strict";var n,o=r(34155),i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=a(r(48271)),u=o.env.NEXT_PUBLIC_AXIOM_INGEST_ENDPOINT||o.env.AXIOM_INGEST_ENDPOINT||"",l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.provider="vercel",t.shoudSendEdgeReport=!0,t.region=o.env.VERCEL_REGION||void 0,t.environment=o.env.VERCEL_ENV||"production",t.token=void 0,t.axiomUrl=u,t}return i(t,e),t.prototype.isEnvVarsSet=function(){return void 0!=u&&""!=u},t.prototype.getIngestURL=function(e){var t=new URL(this.axiomUrl);return t.searchParams.set("type",e.toString()),t.toString()},t.prototype.getWebVitalsEndpoint=function(){return"".concat(this.proxyPath,"/web-vitals")},t.prototype.wrapWebVitalsObject=function(e){return{webVitals:e,environment:this.environment}},t.prototype.injectPlatformMetadata=function(e,t){e.vercel={environment:this.environment,region:this.region,source:t}},t}(s.default);t.default=l},19690:function(e,t,r){"use strict";var n,o=r(34155);Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=t.EndpointType=t.isNoPrettyPrint=void 0,t.isNoPrettyPrint="true"==o.env.AXIOM_NO_PRETTY_PRINT,(n=t.EndpointType||(t.EndpointType={})).webVitals="web-vitals",n.logs="logs",t.throttle=function(e,t){var r,n;return function(){var o=this,i=arguments;null==n&&(n=Date.now()),clearTimeout(r),r=setTimeout(function(){Date.now()-n>=t&&(e.apply(o,i),n=Date.now())},Math.max(t-(Date.now()-n),0))}}},20921:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.reportWebVitalsWithPath=t.reportWebVitals=void 0;var s=r(19690),u=a(r(82254)),l=u.default.getWebVitalsEndpoint(),c=(0,s.throttle)(function(){var e=JSON.stringify(u.default.wrapWebVitalsObject(f)),t={"Content-Type":"application/json","User-Agent":"next-axiom/v"+u.Version};u.default.token&&(t.Authorization="Bearer ".concat(u.default.token));var r={body:e,method:"POST",keepalive:!0,headers:t};function n(){fetch(l,r).catch(console.error)}if(u.default.isBrowser&&u.isVercel&&navigator.sendBeacon)try{navigator.sendBeacon.bind(navigator)(l,e)}catch(e){n()}else n();f=[]},1e3),f=[];function d(e,t){var r,o=t||(null===(r=window.__NEXT_DATA__)||void 0===r?void 0:r.page);f.push(n({route:o},e)),u.default.isEnvVarsSet()&&c()}t.reportWebVitals=function(e){d(e)},t.reportWebVitalsWithPath=d},42726:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.withAxiomGetServerSideProps=t.withAxiom=t.withAxiomNextEdgeFunction=t.withAxiomNextServerSidePropsHandler=t.withAxiomNextApiHandler=t.withAxiomNextConfig=void 0;var s=r(55709),u=r(19690),l=a(r(82254));function c(e){var t=this;return n(n({},e),{rewrites:function(){return o(t,void 0,void 0,function(){var t,r,n,o,a,c;return i(this,function(i){switch(i.label){case 0:return[4,null===(c=e.rewrites)||void 0===c?void 0:c.call(e)];case 1:if(t=i.sent(),r=l.default.getIngestURL(u.EndpointType.webVitals),n=l.default.getIngestURL(u.EndpointType.logs),!r&&!n)return(o=new s.Logger).warn("axiom: Envvars not detected. If this is production please see https://github.com/axiomhq/next-axiom for help"),o.warn("axiom: Sending Web Vitals to /dev/null"),o.warn("axiom: Sending logs to console"),[2,t||[]];if(a=[{source:"".concat(l.default.proxyPath,"/web-vitals"),destination:r,basePath:!1},{source:"".concat(l.default.proxyPath,"/logs"),destination:n,basePath:!1}],!t)return[2,a];if(Array.isArray(t))return[2,t.concat(a)];return t.afterFiles=(t.afterFiles||[]).concat(a),[2,t]}})})}})}function f(e){var t=this;return function(r,n){return o(t,void 0,void 0,function(){var t,a,u,c,f,d,h;return i(this,function(p){switch(p.label){case 0:t=l.default.generateRequestMeta(r),a=new s.Logger({},t,!1,"lambda"),(u=r).log=a,f=(c=function(e,t){var r=this,n=[],a=t.send;t.send=function(s){n.push(o(r,void 0,void 0,function(){return i(this,function(r){switch(r.label){case 0:return e.log.attachResponseStatus(t.statusCode),[4,e.log.flush()];case 1:return r.sent(),a(s),[2]}})}))};var s=t.json;t.json=function(a){n.push(o(r,void 0,void 0,function(){return i(this,function(r){switch(r.label){case 0:return e.log.attachResponseStatus(t.statusCode),[4,e.log.flush()];case 1:return r.sent(),s(a),[2]}})}))};var u=t.end;return t.end=function(a){return n.push(o(r,void 0,void 0,function(){return i(this,function(r){switch(r.label){case 0:return e.log.attachResponseStatus(t.statusCode),[4,e.log.flush()];case 1:return r.sent(),u(a),[2]}})})),t},[t,n]}(u,n))[0],d=c[1],p.label=1;case 1:return p.trys.push([1,5,,8]),[4,e(u,f)];case 2:return p.sent(),[4,a.flush()];case 3:case 6:return p.sent(),[4,Promise.all(d)];case 4:return p.sent(),[3,8];case 5:return h=p.sent(),a.error("Error in API handler",{error:h}),a.attachResponseStatus(500),[4,a.flush()];case 7:throw p.sent(),h;case 8:return[2]}})})}}function d(e){var t=this;return function(r){return o(t,void 0,void 0,function(){var t,n,o,a,u;return i(this,function(i){switch(i.label){case 0:t=l.default.generateRequestMeta(r.req),n=new s.Logger({},t,!1,"lambda"),(o=r).log=n,i.label=1;case 1:return i.trys.push([1,4,,6]),[4,e(o)];case 2:return a=i.sent(),[4,n.flush()];case 3:return i.sent(),[2,a];case 4:return u=i.sent(),n.error("Error in getServerSideProps handler",{error:u}),n.attachResponseStatus(500),[4,n.flush()];case 5:throw i.sent(),u;case 6:return[2]}})})}}function h(e){var t=this;return function(r,n){return o(t,void 0,void 0,function(){var t,o,a,u,l,c;return i(this,function(i){switch(i.label){case 0:t={startTime:new Date().getTime(),ip:r.ip,region:null===(c=r.geo)||void 0===c?void 0:c.region,host:r.nextUrl.host,method:r.method,path:r.nextUrl.pathname,scheme:r.nextUrl.protocol.replace(":",""),userAgent:r.headers.get("user-agent")},o=new s.Logger({},t,!1,"edge"),(a=r).log=o,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,e(a,n)];case 2:return(u=i.sent())&&o.attachResponseStatus(u.status),n.waitUntil(o.flush()),p(t),[2,u];case 3:throw l=i.sent(),o.error("Error in edge function",{error:l}),o.attachResponseStatus(500),n.waitUntil(o.flush()),p(t),l;case 4:return[2]}})})}}function p(e){l.default.shoudSendEdgeReport&&console.log("AXIOM_EDGE_REPORT::".concat(JSON.stringify(e)))}t.withAxiomNextConfig=c,t.withAxiomNextApiHandler=f,t.withAxiomNextServerSidePropsHandler=d,t.withAxiomNextEdgeFunction=h,t.withAxiom=function(e){return"object"==typeof e?c(e):"function"==typeof e&&void 0===globalThis.EdgeRuntime?f(e):h(e)},t.withAxiomGetServerSideProps=d},66477:function(e,t){"use strict";t.Headers=self.Headers,t.Request=self.Request,t.Response=self.Response,t.fetch=self.fetch},6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(75774)}])},52310:function(e,t,r){"use strict";r.d(t,{MS:function(){return eK},d4:function(){return eY}}),r(93314);var n,o=r(86138),i=r(26997),a=r(36155),s=r(63496);function u(e,t,r){if(!e){var n=Error((t||"Minfied Error #"+r+"\n")+"\nhttps://bit.ly/2XbVrpR#"+r);throw n.name="Graphcache Error",n}}var l={},c=e=>e._directives||l,f=e=>e.name.value,d=e=>e.typeCondition.name.value,h=e=>e.alias?e.alias.value:e.name.value,p=[],v=e=>e.selectionSet?e.selectionSet.selections:p,y=e=>e.typeCondition?e.typeCondition.name.value:null,g=(e,t)=>{var r=null;if(e.arguments)for(var n=0,o=e.arguments.length;n<o;n++){var i=e.arguments[n],s=(0,a.Mq)(i.value,t);null!=s&&(r||(r={}),r[f(i)]=s)}return r},m=(e,t)=>{if(t&&e.variableDefinitions){for(var r={},n=0,o=e.variableDefinitions.length;n<o;n++){var i=f(e.variableDefinitions[n].variable);r[i]=t[i]}return r}},b=(e,t)=>{var r={};if(!t)return r;if(e.variableDefinitions)for(var n=0,o=e.variableDefinitions.length;n<o;n++){var i=e.variableDefinitions[n],s=f(i.variable);r[s]=void 0===t[s]&&i.defaultValue?(0,a.Mq)(i.defaultValue,t):t[s]}for(var u in t)u in r||(r[u]=t[u]);return r};function w(e){for(var t=0;t<e.definitions.length;t++)if(e.definitions[t].kind===a.hY.OPERATION_DEFINITION)return e.definitions[t];u(!1,"",1)}var x=e=>{for(var t={},r=0;r<e.definitions.length;r++){var n=e.definitions[r];n.kind===a.hY.FRAGMENT_DEFINITION&&(t[f(n)]=n)}return t},_=(e,t)=>{var r=c(e);if(r.include||r.skip)for(var n in r){var o=r[n];if(o&&("include"===n||"skip"===n)&&o.arguments&&o.arguments[0]&&"if"===f(o.arguments[0])){var i=(0,a.Mq)(o.arguments[0].value,t);return"include"===n?!!i:!i}}return!0},S=(e,t)=>{var{defer:r}=c(e);if(r){for(var n of r.arguments||[])if("if"===f(n))return!!(0,a.Mq)(n.value,t);return!0}return!1},E=(e,t,r)=>{var n=A(e,t,r);return!!n&&"NON_NULL"!==n.type.kind},k=(e,t,r)=>{var n=A(e,t,r);if(!n)return!1;var o="NON_NULL"===n.type.kind?n.type.ofType:n.type;return"LIST"===o.kind&&"NON_NULL"!==o.ofType.kind},O=(e,t,r)=>{if(!r)return!1;var n=y(t);return!n||r===n||(e.types.has(n)&&"OBJECT"===e.types.get(n).kind?n===r:(u(e.types.has(n)&&("INTERFACE"===e.types.get(n).kind||"UNION"===e.types.get(n).kind),"",5),I(e,r),e.isSubType(n,r)))},A=(e,t,r)=>{if(0!==r.indexOf("__")&&0!==t.indexOf("__"))return I(e,t),e.types.get(t).fields()[r]};function I(e,t){u(e.types.has(t)&&"OBJECT"===e.types.get(t).kind,"",3)}var N=(e,t)=>t?`${e}(${(0,o.i)(t)})`:e,T=(e,t)=>`${e}.${t}`,C=e=>{var t=e.indexOf("(");return t>-1?{fieldKey:e,fieldName:e.slice(0,t),arguments:JSON.parse(e.slice(t+1,-1))}:{fieldKey:e,fieldName:e,arguments:null}},P=e=>{var t=e.indexOf(".");return{entityKey:e.slice(0,t).replace(/%2e/g,"."),fieldKey:e.slice(t+1)}},j=null,R=null,M=null,L=null,D=null,q=null,U=!1,F=!1;function B(e,t){var r;if(e){if(j.has(e))return e;r=R.get(e)}return null==r&&(r=t?[]:{}),e&&R.set(e,r),j.add(r),r}var V=e=>!!e&&j.has(e),z=(e,t,r,n,o)=>{j=new WeakSet,R=new WeakMap,D=e,M=t,q=new Set,F=!!n,U=!!o,r?"read"===D?L=r:n||t.hydrating||t.optimisticOrder.length>1?(n||t.commutativeKeys.has(r)?n&&(-1===t.optimisticOrder.indexOf(r)||t.commutativeKeys.has(r)||t.optimisticOrder.splice(t.optimisticOrder.indexOf(r),1),t.commutativeKeys.delete(r)):ei(t,r),L=r,ea(t,r)):(L=null,eu(t,r)):L=null},W=()=>{var e=M,t=L;if(F=!1,L=null,!e.hydrating&&t&&e.optimisticOrder.indexOf(t)>-1)for(var r=e.optimisticOrder.length;--r>=0&&e.dirtyKeys.has(e.optimisticOrder[r])&&e.commutativeKeys.has(e.optimisticOrder[r]);)el(e.optimisticOrder[r]);j=null,R=null,D=null,M=null,q=null,e.defer||!e.storage&&e.optimisticOrder.length||(e.defer=!0,setTimeout(()=>{z("read",e,null),H(),ef(),W(),e.defer=!1}))},X=(e,t,r)=>{t&&!r&&e.deferredKeys.delete(t),z("write",e,t,r),W()},Y=(e,t,r,n)=>{var o=L?e.optimistic.get(L):e.base,i=o.get(t);void 0===i&&o.set(t,i=Object.create(null)),void 0!==n||L?i[r]=n:delete i[r]},$=(e,t,r)=>{for(var n,o=!F&&"read"===D&&L&&M.commutativeKeys.has(L),i=0,a=M.optimisticOrder.length;i<a;i++){var s=M.optimisticOrder[i],u=e.optimistic.get(s);if(o=o&&s!==L,u&&(!o||!M.commutativeKeys.has(s))&&(!F||"write"===D||M.commutativeKeys.has(s))&&void 0!==(n=u.get(t))&&r in n)return n[r]}return void 0!==(n=e.base.get(t))?n[r]:void 0},K=(e,t)=>{if(Array.isArray(e))for(var r,n,o=0,i=e.length;o<i;o++)K(e[o],t);else"string"==typeof e&&(n=(r=M.refCount.get(e)||0)+t>0?r+t:0,M.refCount.set(e,n),n?!r&&n&&M.gc.delete(e):M.gc.add(e))},J=(e,t,r)=>{if(void 0!==r)for(var n in r)t.has(n)||(e.push(C(n)),t.add(n))},G=(e,t,r,n)=>{J(e,t,n.base.get(r));for(var o=0,i=M.optimisticOrder.length;o<i;o++){var a=n.optimistic.get(M.optimisticOrder[o]);void 0!==a&&J(e,t,a.get(r))}},H=()=>{if(!M.optimisticOrder.length){for(var e of M.gc.keys())if(M.gc.delete(e),!((M.refCount.get(e)||0)>0)){M.refCount.delete(e),M.records.base.delete(e);var t=M.links.base.get(e);if(t)for(var r in M.links.base.delete(e),t)K(t[r],-1)}}},Q=(e,t)=>{e!==M.queryRootKey?q.add(e):void 0!==t&&"__typename"!==t&&q.add(T(e,t))},Z=(e,t)=>{!F&&M.storage&&M.persist.add(`${e.replace(/\./g,"%2e")}.${t}`)},ee=(e,t)=>(Q(e,t),$(M.records,e,t)),et=(e,t)=>(Q(e,t),$(M.links,e,t)),er=(e,t,r)=>{Q(e,t),Z(e,t),Y(M.records,e,t,r)},en=(e,t)=>void 0!==ee(e,t)||void 0!==et(e,t),eo=(e,t,r)=>{var n=L?M.links.optimistic.get(L):M.links.base;if(!L){var o=n&&n.get(e);K(o&&o[t],-1),K(r,1)}Q(e,t),Z(e,t),Y(M.links,e,t,r)},ei=(e,t,r)=>{var n=e.optimisticOrder.indexOf(t);if(n>-1&&e.optimisticOrder.splice(n,1),r)for(e.deferredKeys.add(t),n=n>-1?n:0;n<e.optimisticOrder.length&&!e.deferredKeys.has(e.optimisticOrder[n])&&(!e.dirtyKeys.has(e.optimisticOrder[n])||!e.commutativeKeys.has(e.optimisticOrder[n]));n++);else e.deferredKeys.delete(t),n>-1&&!e.commutativeKeys.has(t)&&es(e,t),n=0;e.optimisticOrder.splice(n,0,t),e.commutativeKeys.add(t)},ea=(e,t)=>{-1===e.optimisticOrder.indexOf(t)&&e.optimisticOrder.unshift(t),e.dirtyKeys.has(t)||(e.dirtyKeys.add(t),e.links.optimistic.set(t,new Map),e.records.optimistic.set(t,new Map))},es=(e,t)=>{e.dirtyKeys.has(t)&&(e.dirtyKeys.delete(t),e.records.optimistic.delete(t),e.links.optimistic.delete(t),e.deferredKeys.delete(t))},eu=(e,t)=>{var r=e.optimisticOrder.indexOf(t);r>-1&&(e.optimisticOrder.splice(r,1),e.commutativeKeys.delete(t)),es(e,t)},el=e=>{var t=q;q=new Set,D="write";var r=M.links.optimistic.get(e);if(r)for(var n of r.entries()){var o=n[0],i=n[1];for(var a in i)eo(o,a,i[a])}var s=M.records.optimistic.get(e);if(s)for(var u of s.entries()){var l=u[0],c=u[1];for(var f in c)er(l,f,c[f])}q=t,eu(M,e)},ec=e=>{var{links:t,records:r}=M,n=[],o=new Set;return Q(e),G(n,o,e,t),G(n,o,e,r),n},ef=()=>{if(M.storage){F=!0,D="read";var e={};for(var t of M.persist.keys()){var{entityKey:r,fieldKey:n}=P(t),i=void 0;void 0!==(i=et(r,n))?e[t]=`:${(0,o.i)(i)}`:void 0!==(i=ee(r,n))?e[t]=(0,o.i)(i):e[t]=void 0}F=!1,M.storage.writeData(e),M.persist.clear()}},ed=null,eh=!1,ep=e=>e.__internal.path.length>0&&e.__internal.errorMap?e.__internal.errorMap[e.__internal.path.join(".")]:void 0,ev=(e,t,r,n,o,i)=>{var a={store:e,variables:t,fragments:r,parent:{__typename:n},parentTypeName:n,parentKey:o,parentFieldKey:"",fieldName:"",error:void 0,partial:!1,hasNext:!1,optimistic:F,__internal:{path:[],errorMap:void 0}};if(i&&i.graphQLErrors)for(var s=0;s<i.graphQLErrors.length;s++){var u=i.graphQLErrors[s];u.path&&u.path.length&&(a.__internal.errorMap||(a.__internal.errorMap=Object.create(null)),a.__internal.errorMap[u.path.join(".")]=u)}return a},ey=(e,t,r,n,o,i)=>{ed=e,e.parent=t,e.parentTypeName=r,e.parentKey=n,e.parentFieldKey=o,e.fieldName=i,e.error=ep(e)},eg=(e,t,r,n)=>{if(!t)return!1;var o=y(e);return!o||t===o||"write"===D||!v(e).some(e=>e.kind===a.hY.FIELD&&!en(r,N(f(e),g(e,n))))},em=(e,t,r,n,o)=>{var i,s=0;return function(){for(var u;i||s<n.length;)if(u=void 0,eh=r,i){if(u=i())return u;i=void 0}else{var l=n[s++];if(_(l,o.variables)){if(l.kind!==a.hY.FIELD){var c=l.kind!==a.hY.INLINE_FRAGMENT?o.fragments[f(l)]:l;c&&(!c.typeCondition||(o.store.schema?O(o.store.schema,c,e):eg(c,e,t,o.variables)))&&(i=em(e,t,r||S(l,o.variables),v(c),o))}else if("write"===D||!l._generated)return l}}}},eb=e=>null==e?null:e,ew=(e,t)=>{if(!t)return t||null;if(Array.isArray(t)){for(var r=Array(t.length),n=0,o=r.length;n<o;n++)r[n]=ew(e,t[n]);return r}return e.keyOfEntity(t)},ex=(e,t,r,n)=>{var o=(0,i.nZ)(t.query),a=w(o),s=e.rootFields[a.operation],u=v(a),l=ev(e,b(a,t.variables),x(o),s,s,n),c=s!==l.store.rootFields.query?e_(l,s,u,r||B()):eE(l,s,u,r||B());return{dependencies:q,partial:l.partial||!c,hasNext:l.hasNext,data:c||null}},e_=(e,t,r,n)=>{if("string"!=typeof(e.store.rootNames[t]?t:n.__typename))return n;for(var o,i=em(t,t,eh,r,e),a=U,s=B(n);o=i();){var u=h(o),l=n[u];e.__internal.path.push(u);var c=void 0;c=o.selectionSet&&null!==l?eS(e,v(o),eb(l)):l,a=a||c!==l,void 0!==c&&(s[u]=c),e.__internal.path.pop()}return a?s:n},eS=(e,t,r)=>{if(Array.isArray(r)){for(var n=Array(r.length),o=U,i=0,a=r.length;i<a;i++)e.__internal.path.push(i),n[i]=eS(e,t,r[i]),o=o||n[i]!==r[i],e.__internal.path.pop();return o?n:r}if(null===r)return null;var s=e.store.keyOfEntity(r);return null!==s?eE(e,s,t,r)||null:e_(e,r.__typename,t,r)},eE=(e,t,r,n,o)=>{var i,{store:a}=e,s=t===a.rootFields.query,u=o&&a.keyOfEntity(o)||t,l=s?t:ee(u,"__typename")||o&&o.__typename;if("string"==typeof l&&(!o||l===o.__typename)){for(var d=em(l,u,eh,r,e),p=!1,y=!1,m=U,b=e.partial,w=B(n);void 0!==(i=d());){var x=f(i),_=g(i,e.variables),S=h(i),k=c(i),O=function(e,t,r,n){var o,i=n.store.resolvers[t],a=i&&i[r];for(var s in e){var u=e[s];if(u&&"include"!==s&&"skip"!==s&&n.store.directives[s])return n.store.directives[s](g(u,n.variables))}return o||a}(k,l,x,e),A=N(x,_),I=T(u,A),C=ee(u,A),P=o?o[x]:void 0;e.__internal.path.push(S);var j=void 0;if("__typename"===x)j=l;else if(void 0!==P&&void 0===i.selectionSet)j=P;else if("read"===D&&O){var R=w;if(void 0===i.selectionSet&&void 0!==C&&(R={...w,[S]:C,[x]:C}),ey(e,R,l,u,A,x),j=O(R,_||{},a,e),i.selectionSet&&(j=ek(e,l,x,I,v(i),void 0!==w[S]?w[S]:n[S],j,V(n))),a.schema&&null===j&&!E(a.schema,l,x))return}else if(i.selectionSet){if(void 0!==P)j=ek(e,l,x,I,v(i),void 0!==w[S]?w[S]:n[S],P,V(n));else{var M=et(u,A);void 0!==M?j=eO(e,M,l,x,v(i),void 0!==w[S]?w[S]:n[S],V(n)):"object"==typeof C&&null!==C&&(j=C)}}else j=C;if(!eh&&void 0===j&&(k.optional||ep(e)||a.schema&&E(a.schema,l,x))?(e.partial=!0,j=null):null===j&&k.required?j=void 0:p=p||"__typename"!==x,e.__internal.path.pop(),m=m||j!==n[S],void 0!==j)w[S]=j;else if(eh)y=!0;else{e.partial=b;return}}return e.partial=e.partial||b,e.hasNext=e.hasNext||y,s&&e.partial&&!p?void 0:m?w:n}},ek=(e,t,r,n,o,i,a,s)=>{if(Array.isArray(a)){for(var{store:u}=e,l=!!u.schema&&k(u.schema,t,r),c=e.partial,f=B(i,!0),d=U||!Array.isArray(i)||a.length!==i.length,h=0,p=a.length;h<p;h++){e.__internal.path.push(h);var v=ek(e,t,r,T(n,`${h}`),o,null!=i?i[h]:void 0,a[h],s);if(e.__internal.path.pop(),void 0!==v||l)e.partial=e.partial||void 0===v&&l,f[h]=null!=v?v:null,d=d||f[h]!==i[h];else{e.partial=c;return}}return d?f:i}if(null==a)return a;if(s&&null===i)return null;if(eA(a)){var y=i||B(i);return"string"==typeof a?eE(e,a,o,y):eE(e,n,o,y,a)}},eO=(e,t,r,n,o,i,a)=>{if(Array.isArray(t)){for(var{store:s}=e,u=!!s.schema&&k(s.schema,r,n),l=B(i,!0),c=e.partial,f=U||!Array.isArray(i)||t.length!==i.length,d=0,h=t.length;d<h;d++){e.__internal.path.push(d);var p=eO(e,t[d],r,n,o,null!=i?i[d]:void 0,a);if(e.__internal.path.pop(),void 0!==p||u)e.partial=e.partial||void 0===p&&u,l[d]=p||null,f=f||l[d]!==i[d];else{e.partial=c;return}}return f?l:i}return null===t||null===i&&a?null:eE(e,t,o,i||B(i))},eA=e=>"string"==typeof e||"object"==typeof e&&"string"==typeof e.__typename,eI=(e,t,r,n)=>{var o=(0,i.nZ)(t.query),a=w(o),s={data:r||B(),dependencies:q},u=e.rootFields[a.operation];return eN(ev(e,b(a,t.variables),x(o),u,u,n),u,v(a),s.data),s},eN=(e,t,r,n)=>{var o,i=e.store.rootNames[t]||"query",a=!!e.store.rootNames[t],s=a?t:n.__typename;if(!s&&t&&e.optimistic&&(s=ee(t,"__typename")),s){!a&&t&&er(t,"__typename",s);for(var u=e.store.updates[s],l=em(s,t||s,eh,r,e);o=l();){var c=f(o),d=g(o,e.variables),p=N(c,d),y=h(o),m=n[e.optimistic?c:y];if("__typename"!==c&&(void 0!==m||!eh&&(!e.optimistic||"query"!==i))){e.__internal.path.push(y);var b=void 0;if(e.optimistic&&"mutation"===i){if(!(b=e.store.optimisticMutations[c]))continue}else e.optimistic&&"function"==typeof m&&(b=m);if(b&&(ey(e,n,s,t||s,p,c),m=eb(b(d||{},e.store,e))),void 0!==m){if(o.selectionSet){if(t&&"query"===i){var w=T(t,p),x=eT(e,v(o),eb(m),w,e.optimistic?et(t||s,p):void 0);eo(t||s,p,x)}else eT(e,v(o),eb(m))}else t&&"query"===i&&er(t||s,p,null===m&&ep(e)?void 0:m);var _=u&&u[c];_&&(ey(e,n,s,t||s,p,c),n[c]=m,_(n,d||{},e.store,e)),e.__internal.path.pop()}}}}},eT=(e,t,r,n,o)=>{if(Array.isArray(r)){for(var i=Array(r.length),a=0,s=r.length;a<s;a++){e.__internal.path.push(a);var u=n?T(n,`${a}`):void 0,l=eT(e,t,r[a],u,null!=o?o[a]:void 0);i[a]=l,e.__internal.path.pop()}return i}if(null===r)return ep(e)?void 0:null;var c=e.store.keyOfEntity(r)||("string"==typeof o?o:null);r.__typename;var f=c||n;return eN(e,f,t,r),f||null};class eC{constructor(e){e||(e={}),this.resolvers=e.resolvers||{},this.directives=e.directives||{},this.optimisticMutations=e.optimistic||{},this.keys=e.keys||{},this.globalIDs=Array.isArray(e.globalIDs)?new Set(e.globalIDs):!!e.globalIDs;var t,r="Query",n="Mutation",o="Subscription";if(e.schema){var i=(({__schema:e})=>{var t=new Map,r=e=>{var t;return()=>{if(!t){t={};for(var r=0;r<e.length;r++)t[e[r].name]=e[r]}return t}},n=e=>{switch(e.kind){case"OBJECT":case"INTERFACE":return{name:e.name,kind:e.kind,interfaces:r(e.interfaces||[]),fields:r(e.fields.map(e=>({name:e.name,type:e.type,args:r(e.args)})))};case"UNION":return{name:e.name,kind:e.kind,types:r(e.possibleTypes||[])}}},o={query:e.queryType?e.queryType.name:null,mutation:e.mutationType?e.mutationType.name:null,subscription:e.subscriptionType?e.subscriptionType.name:null,types:void 0,isSubType(e,r){var n=t.get(e),o=t.get(r);return!!n&&!!o&&("UNION"===n.kind?!!n.types()[r]:"OBJECT"!==n.kind&&"OBJECT"===o.kind?!!o.interfaces()[e]:e===r)}};if(e.types){o.types=t;for(var i=0;i<e.types.length;i++){var a=e.types[i];if(a&&a.name){var s=n(a);s&&t.set(a.name,s)}}}return o})(e.schema);r=i.query||r,n=i.mutation||n,o=i.subscription||o,i.types&&(this.schema=i)}this.updates=e.updates||{},this.rootFields={query:r,mutation:n,subscription:o},this.rootNames={[r]:"query",[n]:"mutation",[o]:"subscription"},this.data=(t=r,{hydrating:!1,defer:!1,gc:new Set,persist:new Set,queryRootKey:t,refCount:new Map,links:{optimistic:new Map,base:new Map},records:{optimistic:new Map,base:new Map},deferredKeys:new Set,commutativeKeys:new Set,dirtyKeys:new Set,optimisticOrder:[],storage:null}),this.schema}keyOfField(e,t){return N(e,t)}keyOfEntity(e){if(ed&&e===ed.parent)return ed.parentKey;if(null==e||"string"==typeof e)return e||null;if(!e.__typename)return null;if(this.rootNames[e.__typename])return e.__typename;var t=null;this.keys[e.__typename]?t=this.keys[e.__typename](e)||null:null!=e.id?t=`${e.id}`:null!=e._id&&(t=`${e._id}`);var r=e.__typename;return!0===this.globalIDs||this.globalIDs&&this.globalIDs.has(r)||!t?t:`${r}:${t}`}resolve(e,t,r){var n=null,o=this.keyOfEntity(e);if(o){var i=N(t,r);void 0===(n=ee(o,i))&&(n=et(o,i))}return n}resolveFieldByKey(e,t,r){return this.resolve(e,t,r)}invalidate(e,t,r){var n=this.keyOfEntity(e);u(n,"",19),((e,t,r)=>{for(var n=t?[{fieldKey:N(t,r)}]:ec(e),o=0,i=n.length;o<i;o++){var{fieldKey:a}=n[o];void 0!==et(e,a)?eo(e,a,void 0):er(e,a,void 0)}})(n,t,r)}inspectFields(e){var t=this.keyOfEntity(e);return t?ec(t):[]}updateQuery(e,t){var r=(0,o.h)(e.query,e.variables),n=t(this.readQuery(r));null!==n&&eI(this,r,n,void 0)}readQuery(e){return ex(this,(0,o.h)(e.query,e.variables),void 0,void 0).data}readFragment(e,t,r,n){return((e,t,r,n,o)=>{var i,a=x(t);if(o){if(!(i=a[o]))return null}else if(!(i=a[Object.keys(a)[0]]))return null;var s=d(i);"string"==typeof r||r.__typename||(r.__typename=s);var u=e.keyOfEntity(r);return u&&eE(ev(e,n||{},a,s,u,void 0),u,v(i),B())||null})(this,(0,i.nZ)(e),t,r,n)}writeFragment(e,t,r,n){((e,t,r,n,o)=>{var i,a=x(t);if(o){if(!(i=a[o]))return}else if(!(i=a[Object.keys(a)[0]]))return;var s=d(i),u={__typename:s,...r},l=e.keyOfEntity(u);l&&eN(ev(e,n||{},a,s,l,void 0),l,v(i),u)})(this,(0,i.nZ)(e),t,r,n)}link(e,t,...r){var n=2===r.length?r[0]:null,o=2===r.length?r[1]:r[0],i=this.keyOfEntity(e);i&&eo(i,N(t,n),ew(this,o))}}var eP=(e,t)=>(0,i.vx)(e.kind,e,{...e.context,requestPolicy:t}),ej=e=>({forward:t,client:r,dispatchDebug:n})=>{var o=new eC(e);e&&e.storage&&(o.data.hydrating=!0,e.storage.readData().then(t=>{((e,t,r)=>{for(var n in z("write",e,null),r){var o=r[n];if(void 0!==o){var{entityKey:i,fieldKey:a}=P(n);":"===o[0]?void 0===et(i,a)&&eo(i,a,JSON.parse(o.slice(1))):void 0===ee(i,a)&&er(i,a,JSON.parse(o))}}e.storage=t,e.hydrating=!1,W()})(o.data,e.storage,t)}));var a=new Map,u=[],l=new Map,c=new Map,f=new Set,d=new Set,h=new Map,p=new Set,v=new Set,y=e=>{for(var t of e.values())if(f.has(t))return!0;return!1},g=(e,t)=>{if(t)for(var r of t.values()){var n=h.get(r);if(n)for(var o of n.values())e.add(o)}},b=(e,t,n)=>{for(var o of t.values())if(o!==e.key){var i=l.get(o);if(i){"query"===e.kind&&v.add(o);var a="cache-first";d.has(o)&&(d.delete(o),a="cache-and-network"),r.reexecuteOperation(eP(i,a))}}if(!n){var s=p;"query"===e.kind&&(p=v).add(e.key),(v=s).clear()}},x=e=>{var t=!1;if("query"===e.kind)ei(o.data,e.key),l.set(e.key,e);else if("teardown"===e.kind)return l.delete(e.key),c.delete(e.key),p.delete(e.key),X(o.data,e.key),e;else if("mutation"===e.kind&&"network-only"!==e.context.requestPolicy){l.set(e.key,e),z("write",o.data,e.key,!0,!1);var{dependencies:r}=eI(o,e,void 0,void 0);if(W(),r.size){for(var n of r.values())f.add(n);a.set(e.key,r);var s=new Set;g(s,r),b(e,s,!0),t=!0}}return(0,i.vx)(e.kind,{key:e.key,query:(0,i.nZ)(e.query),variables:e.variables?m(w(e.query),e.variables):e.variables},{...e.context,optimistic:t})},_=(e,t)=>{for(var r of t.values()){var n=h.get(r);n||h.set(r,n=new Set),n.add(e.key)}},S=e=>{z("read",o.data,void 0,!1,!1);var t=ex(o,e,c.get(e.key),void 0);W();var r=t.data?t.partial||t.hasNext?"partial":"hit":"miss";return c.set(e.key,t.data),l.set(e.key,e),_(e,t.dependencies),{outcome:r,operation:e,data:t.data,dependencies:t.dependencies,hasNext:t.hasNext}},E=(e,t)=>{var r,n=l.get(e.operation.key)||e.operation;"mutation"===n.kind&&(g(t,a.get(n.key)),a.delete(n.key)),("subscription"===n.kind||e.hasNext)&&ei(o.data,n.key,!0);var i=e.data;if(i){z("write",o.data,n.key,!1,!1);var s=eI(o,n,i,e.error).dependencies;W(),g(t,s);var u="query"===n.kind?c.get(n.key):null;z("read",o.data,n.key,!1,u!==i);var f=ex(o,n,u||i,e.error);W(),i=f.data,"query"===n.kind&&(g(t,r=f.dependencies),c.set(n.key,i))}else X(o.data,n.key);return r&&_(e.operation,r),{operation:n,data:i,error:e.error,extensions:e.extensions,hasNext:e.hasNext,stale:e.stale}};return e=>{var n=(0,s.BN)((0,s.UI)(S)((0,s.hX)(e=>"query"===e.kind&&"network-only"!==e.context.requestPolicy)(e))),i=(0,s.hX)(e=>"query"!==e.kind||"network-only"===e.context.requestPolicy)(e),c=(0,s.UI)(e=>e.operation)((0,s.hX)(e=>"miss"===e.outcome&&"cache-only"!==e.operation.context.requestPolicy&&!y(e.dependencies)&&!p.has(e.operation.key))(n)),h=(0,s.UI)(e=>{var{requestPolicy:t}=e.operation.context,n="cache-only"!==t&&(e.hasNext||"cache-and-network"===t||"cache-first"===t&&"partial"===e.outcome&&!p.has(e.operation.key)),o={operation:e.operation,data:e.data,error:e.error,extensions:e.extensions,stale:n&&!e.hasNext,hasNext:n&&e.hasNext};return n&&(y(e.dependencies)?"cache-and-network"===t&&d.add(e.operation.key):r.reexecuteOperation(eP(l.get(e.operation.key)||e.operation,"network-only"))),o})((0,s.hX)(e=>"miss"!==e.outcome||"cache-only"===e.operation.context.requestPolicy)(n)),v=t((0,s.UI)(x)((0,s.TS)([i,c]))),g=(0,s.UI)(e=>{var t=new Set,r=E(e,t);return b(e.operation,t,!1),r})((0,s.hX)(e=>!a.has(e.operation.key))(v)),m=(0,s.zg)(e=>{if(u.push(e)<a.size)return s.cS;for(var t,r=0;r<u.length;r++)ei(o.data,u[r].operation.key);f.clear();for(var n=[],i=new Set;t=u.shift();)n.push(E(t,i));return b(e.operation,i,!1),(0,s.nI)(n)})((0,s.hX)(e=>a.has(e.operation.key))(v));return(0,s.TS)([g,m,h])}},eR={__typename:"PageInfo",endCursor:null,startCursor:null,hasNextPage:!1,hasPreviousPage:!1},eM=e=>"string"==typeof e?e:null,eL=(e,t,r)=>{for(var n=new Set,o=0,i=t.length;o<i;o++){var a=e.resolve(t[o],"node");"string"==typeof a&&n.add(a)}for(var s=t.slice(),u=0,l=r.length;u<l;u++){var c=r[u],f=e.resolve(c,"node");"string"!=typeof f||n.has(f)||(n.add(f),s.push(c))}return s},eD=(e,t)=>{for(var r=new Set,n=0,o=e.length;n<o;n++){var i=e[n];"string"==typeof i&&r.add(i)}for(var a=e.slice(),s=0,u=t.length;s<u;s++){var l=t[s];"string"!=typeof l||r.has(l)||(r.add(l),a.push(l))}return a},eq=(e,t)=>{for(var r in t)if("first"!==r&&"last"!==r&&"after"!==r&&"before"!==r){if(!(r in e))return!1;var n=e[r],i=t[r];if(typeof n!=typeof i||"object"!=typeof n?n!==i:(0,o.i)(n)!==(0,o.i)(i))return!1}for(var a in e)if("first"!==a&&"last"!==a&&"after"!==a&&"before"!==a&&!(a in t))return!1;return!0},eU=(e,t,r)=>{var n=eM(e.resolve(t,r));if(!n)return null;var o=e.resolve(n,"__typename"),i=e.resolve(n,"edges")||[],a=e.resolve(n,"nodes")||[];if("string"!=typeof o)return null;var s={__typename:o,edges:i,nodes:a,pageInfo:eR},u=e.resolve(n,"pageInfo");if("string"==typeof u){var l=eM(e.resolve(u,"__typename")),c=eM(e.resolve(u,"endCursor")),f=eM(e.resolve(u,"startCursor")),d=e.resolve(u,"hasNextPage"),h=e.resolve(u,"hasPreviousPage"),p=s.pageInfo={__typename:"string"==typeof l?l:"PageInfo",hasNextPage:"boolean"==typeof d?d:!!c,hasPreviousPage:"boolean"==typeof h?h:!!f,endCursor:c,startCursor:f};if(null===p.endCursor){var v=i[i.length-1];if(v){var y=e.resolve(v,"cursor");p.endCursor=eM(y)}}if(null===p.startCursor){var g=i[0];if(g){var m=e.resolve(g,"cursor");p.startCursor=eM(m)}}}return s},eF=(e={})=>{var t=e.mergeMode||"inwards";return(e,r,n,o)=>{var{parentKey:i,fieldName:a}=o,s=n.inspectFields(i).filter(e=>e.fieldName===a),u=s.length;if(0!==u){for(var l=null,c=[],f=[],d=[],h=[],p={...eR},v=0;v<u;v++){var{fieldKey:y,arguments:g}=s[v];if(null!==g&&eq(r,g)){var m=eU(n,i,y);if(null!==m&&(0!==m.nodes.length||0!==m.edges.length||!l)){if("inwards"===t&&"number"==typeof g.last&&"number"==typeof g.first){var b=m.edges.slice(0,g.first+1),w=m.edges.slice(-g.last),x=m.nodes.slice(0,g.first+1),_=m.nodes.slice(-g.last);c=eL(n,c,b),f=eL(n,w,f),d=eD(d,x),h=eD(_,h),p=m.pageInfo}else g.after?(c=eL(n,c,m.edges),d=eD(d,m.nodes),p.endCursor=m.pageInfo.endCursor,p.hasNextPage=m.pageInfo.hasNextPage):g.before?(f=eL(n,m.edges,f),h=eD(m.nodes,h),p.startCursor=m.pageInfo.startCursor,p.hasPreviousPage=m.pageInfo.hasPreviousPage):"number"==typeof g.last?(f=eL(n,m.edges,f),h=eD(m.nodes,h),p=m.pageInfo):(c=eL(n,c,m.edges),d=eD(d,m.nodes),p=m.pageInfo);m.pageInfo.__typename!==p.__typename&&(p.__typename=m.pageInfo.__typename),l!==m.__typename&&(l=m.__typename)}}}if("string"==typeof l){if(!eM(n.resolve(i,a,r))){if(!o.store.schema)return;o.partial=!0}return{__typename:l,edges:"inwards"===t?eL(n,c,f):eL(n,f,c),nodes:"inwards"===t?eD(d,h):eD(h,d),pageInfo:{__typename:p.__typename,endCursor:p.endCursor,startCursor:p.startCursor,hasNextPage:p.hasNextPage,hasPreviousPage:p.hasPreviousPage}}}}}},eB=r(42029),eV=r(34155);let{STELLATE_SHARED_SECRET:ez}=eV.env;function eW(e){let t={"hn-trace-app":"blogs","x-graphql-client-name":"blogs","x-graphql-client-version":"client"};return(null==e?void 0:e.byPassCache)&&(t["hn-stellate-bypass-cache"]="1"),t}let eX=["DarkModePreferences","Preferences","CustomCSSPreferences","PostCoverImage","DomainStatus","PublicationNavbarItem","PublicationIntegrations","PublicationLinks","DomainInfo","PagesPreferences","PublicationFeatures","OpenGraphMetaData","PresignedPost","AboutPublication","NewsletterFeature","ViewCountFeature","ReadTimeFeature","Content","AudioUrls","TextSelectionSharerFeature","CustomCSSFeature","CustomCSS","StripeConfiguration","RedirectionRule","TableOfContentsFeature","PostBadgesFeature","PostFeatures","PostPreferences","SEO","PublicationSponsorship","SocialMediaLinks"],eY=(e,t,r)=>({url:function(e){let{enforceProxy:t=!1}=null!=e?e:{};return"/api/graphql"}({enforceProxy:null!==(n=null==r?void 0:r.useProxy)&&void 0!==n&&n}),exchanges:[ej({resolvers:{Publication:{posts:eF()},Series:{posts:eF()},Query:{searchPostsOfPublication:eF()}},keys:eX.reduce((e,t)=>(e[t]=()=>null,e),{})}),e,(0,i.Dk)({onError(e){eB.cM.error("GQL error occurred",{error:e})}}),i.Ek],fetchOptions:{headers:eW()}}),e$=(0,i.$Y)({isClient:!0,initialState:window.__URQL_DATA__}),eK=e=>{let{cookies:t,byPassCache:r}=e||{};return(0,i.eI)({...eY(e$),fetchOptions:{credentials:"include",headers:eW({cookies:t,byPassCache:r})}})}},69578:function(e,t,r){var n=r(34155);r(2350);var o=r(67294),i=o&&"object"==typeof o&&"default"in o?o:{default:o};function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var s=void 0!==n&&n.env&&!0,u=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,o=t.optimizeForSpeed,i=void 0===o?s:o;c(u(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",c("boolean"==typeof i,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=i,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var a=document.querySelector('meta[property="csp-nonce"]');this._nonce=a?a.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(s||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(c(u(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return s||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed){var r=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(n){s||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];c(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},r.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},r.cssRules=function(){var e=this;return this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&c(u(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var o=document.head||document.getElementsByTagName("head")[0];return r?o.insertBefore(n,r):o.appendChild(n),n},a(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),t&&a(e,t),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var f=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},d={};function h(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;return d[n]||(d[n]="jsx-"+f(e+"-"+r)),d[n]}function p(e,t){var r=e+t;return d[r]||(d[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[r]}var v=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,o=t.optimizeForSpeed,i=void 0!==o&&o;this._sheet=n||new l({name:"styled-jsx",optimizeForSpeed:i}),this._sheet.inject(),n&&"boolean"==typeof i&&(this._sheet.setOptimizeForSpeed(i),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),n=r.styleId,o=r.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var i=o.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=i,this._instancesCounts[n]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var n=this._fromServer&&this._fromServer[r];n?(n.parentNode.removeChild(n),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],n=e[1];return i.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var o=h(n,r);return{styleId:o,rules:Array.isArray(t)?t.map(function(e){return p(o,e)}):[p(o,t)]}}return{styleId:h(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),y=o.createContext(null);y.displayName="StyleSheetContext";var g=i.default.useInsertionEffect||i.default.useLayoutEffect,m=new v;function b(e){var t=m||o.useContext(y);return t&&g(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}b.dynamic=function(e){return e.map(function(e){return h(e[0],e[1])}).join(" ")},t.style=b},36465:function(e,t,r){"use strict";e.exports=r(69578).style},75774:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return tn},reportWebVitals:function(){return tt.U9}});var n,o,i,a=r(85893);r(55488);var s=r(8100),u=r(36808),l=r.n(u),c=r(67294),f=r(74865),d=r.n(f),h=r(11163),p=r(64712),v=r(85550),y=r(9008),g=r.n(y);function m(e){let t="\n    !function(f,b,e,v,n,t,s)\n    {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n    n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n    if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n    n.queue=[];t=b.createElement(e);t.async=!0;t.defer=!0;\n    t.src=v;s=b.getElementsByTagName(e)[0];\n    s.parentNode.insertBefore(t,s)}(window,document,'script',\n    'https://connect.facebook.net/en_US/fbevents.js');\n    ";e.fbPixelID&&(t+="fbq('init', '".concat(encodeURI(e.fbPixelID),"');"));let r=e.hotjarSiteID&&"\n      (function(h,o,t,j,a,r){\n          h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};\n          h._hjSettings={hjid:".concat(encodeURI(e.hotjarSiteID),",hjsv:6};\n          a=o.getElementsByTagName('head')[0];\n          r=o.createElement('script');r.async=1;r.defer=1;\n          r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;\n          a.appendChild(r);\n      })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');\n  "),n="\n      var _paq = window._paq = window._paq || [];\n      _paq.push(['trackPageView']);\n      _paq.push(['enableLinkTracking']);\n      (function() {\n        var u=\"https://".concat(encodeURI(e.matomoURL||""),"/\";\n        _paq.push(['setTrackerUrl', u+'matomo.php']);\n        _paq.push(['setSiteId', '").concat(encodeURI(e.matomoSiteID||""),"']);\n        var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];\n        g.type='text/javascript'; g.async=true; g.defer=true; g.src='//cdn.matomo.cloud/").concat(encodeURI(e.matomoURL||""),"/matomo.js'; s.parentNode.insertBefore(g,s);\n      })();\n  "),o="\n	(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n	new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n	j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n	'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n	})(window,document,'script','dataLayer', '".concat(e.gTagManagerID,"');");return(0,a.jsxs)(a.Fragment,{children:[e.fbPixelID?(0,a.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:t}}):null,e.fathomSiteID&&(0,a.jsx)("script",{src:e.fathomCustomDomainEnabled?"https://".concat(e.fathomCustomDomain,"/script.js"):"https://cdn.usefathom.com/script.js",spa:"auto",site:e.fathomSiteID,defer:!0}),e.hotjarSiteID&&r&&(0,a.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:r}}),e.matomoURL&&(0,a.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:n}}),e.gTagManagerID&&(0,a.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:o}}),(0,a.jsx)(g(),{children:e.plausibleAnalyticsEnabled&&(0,a.jsx)("script",{async:!0,defer:!0,"data-domain":e.domainURL,src:"https://plausible.io/js/plausible.js"})})]})}var b=r(26997),w=r(92432);function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var _=60103,S=60106,E=60107,k=60108,O=60114,A=60109,I=60110,N=60111,T=60112,C=60113,P=60115,j=60116;if("function"==typeof Symbol&&Symbol.for){var R=Symbol.for;_=R("react.element"),S=R("react.portal"),E=R("react.fragment"),k=R("react.strict_mode"),O=R("react.profiler"),A=R("react.provider"),I=R("react.context"),N=Symbol.for("react.concurrent_mode"),T=R("react.forward_ref"),C=R("react.suspense"),P=R("react.memo"),j=R("react.lazy")}var M=_,L=S,D=E,q=k,U=O,F=A,B=I,V=N,z=T,W=C,X=P,Y=j,$=c.Children.toArray,K=function(e){return null!==e&&"object"==typeof e},J=function(e){return $(e).filter(K)},G=function(e,t){return"object"==typeof t?x({},t,e):e},H=new Map,Q={},Z=void 0,ee=void 0,et=function(){return x({},Q)},er=function(){return new Map(H)},en=function(){var e=Z;return Z=void 0,e},eo=function(){var e=ee;return ee=void 0,e},ei=function(e){void 0!==e&&x(Q,e)},ea=function(e){void 0!==e&&H.set(e[0],e[1])},es=function(e){Z=void 0,Q=e},eu=function(e){ee=void 0,H=e},el=function(e){var t=H.get(e);return void 0!==t?t:e._currentValue},ec={},ef=function(e){var t=e.contextType,r=e.contextTypes;if(t)return el(t);if(!r)return ec;var n={};for(var o in r)n[o]=Q[o];return n},ed=null,eh=function(){return ed},ep=function(e){ed=e||null},ev={current:{uniqueID:0}},ey="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},eg=null,em=function(e){eg=e},eb=function(){if(null===eg)throw Error("[react-ssr-prepass] Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call)");return eg},ew=null,ex=null,e_=!1,eS=null,eE=0,ek=function(e){ew=e};function eO(){return null===ex?null===ew?ew=ex={memoizedState:null,queue:null,next:null}:ex=ew:ex=null===ex.next?ex.next={memoizedState:null,queue:null,next:null}:ex.next}function eA(e,t){return"function"==typeof t?t(e):t}function eI(e,t,r){var n,o=eb();null===(ex=eO()).queue&&(n=e===eA?"function"==typeof t?t():t:void 0!==r?r(t):t,ex.memoizedState=n);var i=ex.queue||(ex.queue={last:null,dispatch:null}),a=i.dispatch||(i.dispatch=eC.bind(null,o,i));if(null!==eS){var s=eS.get(i);if(void 0!==s){eS.delete(i);var u=ex.memoizedState,l=s;do u=e(u,l.action),l=l.next;while(null!==l);ex.memoizedState=u}}return[ex.memoizedState,a]}function eN(e,t){eb();var r=void 0===t?null:t,n=(ex=eO()).memoizedState;if(null!==n&&null!==r&&function(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!ey(e[r],t[r]))return!1;return!0}(r,n[1]))return n[0];var o=e();return ex.memoizedState=[o,r],o}function eT(){return eb(),(ex=eO()).memoizedState||(ex.memoizedState="R:"+(ev.current.uniqueID++).toString(36)),ex.memoizedState}function eC(e,t,r){if(e===eg){e_=!0;var n={action:r,next:null};null===eS&&(eS=new Map);var o=eS.get(t);if(void 0===o)eS.set(t,n);else{for(var i=o;null!==i.next;)i=i.next;i.next=n}}}function eP(){}function ej(e){e()}var eR={readContext:function(e,t){return el(e)},useSyncExternalStore:function(e,t,r){return t()},useContext:function(e,t){return eb(),el(e)},useMemo:eN,useReducer:eI,useRef:function(e){eb();var t=(ex=eO()).memoizedState;if(null!==t)return t;var r={current:e};return ex.memoizedState=r,r},useState:function(e){return eI(eA,e)},useCallback:function(e,t){return eN(function(){return e},t)},useMutableSource:function(e,t,r){return eb(),t(e._source)},useTransition:function(){return[ej,!1]},useDeferredValue:function(e){return e},useOpaqueIdentifier:eT,useId:eT,unstable_useId:eT,unstable_useOpaqueIdentifier:eT,useLayoutEffect:eP,useImperativeHandle:eP,useEffect:eP,useDebugValue:eP},eM=function(e){var t=e._payload||e;return 0===t._status?t._result:1===t._status?Promise.resolve(t._result):2===t._status?Promise.reject(t._result):(t._status=0,t._result=(t._ctor||t._result)().then(function(e){t._result=e,"function"==typeof e?t._status=1:null!==e&&"object"==typeof e&&"function"==typeof e.default?(t._result=e.default,t._status=1):t._status=2}).catch(function(e){return t._status=2,t._result=e,Promise.reject(e)}))},eL=function(e,t,r){var n=e._payload||e;return 1===n._status?(0,c.createElement)(n._result,t):null},eD=function(e,t,r){return{contextMap:et(),contextStore:er(),id:eb(),hook:ew,kind:"frame.hooks",errorFrame:eh(),thenable:r,props:t,type:e}},eq=function(e,t,r){try{return function(e,t,r){ex=null;for(var n=e(t,r);eE<25&&e_;)e_=!1,eE+=1,ex=null,n=e(t,r);return eE=0,eS=null,ex=null,n}(e,G(t,e.defaultProps),ef(e))}catch(n){if("function"!=typeof n.then)throw n;return r.push(eD(e,t,n)),null}};function eU(){return!1}function eF(){return null}var eB=function(e,t){var r,n={_thrown:0,queue:r=[],isMounted:eU,enqueueForceUpdate:eF,enqueueReplaceState:function(e,t){e._isMounted&&(r.length=0,r.push(t))},enqueueSetState:function(e,t){e._isMounted&&r.push(t)}},o=G(t,e.defaultProps),i=ef(e),a=new e(o,i,n);if(a.props=o,a.context=i,a.updater=n,a._isMounted=!0,void 0===a.state&&(a.state=null),"function"==typeof a.componentDidCatch||"function"==typeof e.getDerivedStateFromError){var s=eV(e,a,null);s.errorFrame=s,ep(s)}if("function"==typeof e.getDerivedStateFromProps){var u=(0,e.getDerivedStateFromProps)(a.props,a.state);null!=u&&(a.state=x({},a.state,u))}else"function"==typeof a.componentWillMount?a.componentWillMount():"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount();return a},eV=function(e,t,r){return{contextMap:et(),contextStore:er(),errorFrame:eh(),thenable:r,kind:"frame.class",error:null,instance:t,type:e}},ez=function(e,t,r){!function(e){var t=e.updater.queue;if(t.length>0){for(var r=x({},e.state),n=0,o=t.length;n<o;n++){var i=t[n],a="function"==typeof i?i.call(e,r,e.props,e.context):i;null!==a&&x(r,a)}e.state=r,t.length=0}}(t);var n=null;try{n=t.render()}catch(n){if("function"!=typeof n.then)throw n;return r.push(eV(e,t,n)),null}if(void 0!==e.childContextTypes&&"function"==typeof t.getChildContext){var o=t.getChildContext();null!==o&&"object"==typeof o&&function(e){for(var t in Z={},e)Z[t]=Q[t],Q[t]=e[t]}(o)}if("function"!=typeof t.getDerivedStateFromProps&&("function"==typeof t.componentWillMount||"function"==typeof t.UNSAFE_componentWillMount)&&"function"==typeof t.componentWillUnmount)try{t.componentWillUnmount()}catch(e){}return t._isMounted=!1,n},eW=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,eX="function"==typeof setImmediate,eY=function(e,t,r,n,o){var i,a,s;return e.prototype&&e.prototype.isReactComponent?(em(null),(a=n(o,i=eB(e,t)))?(r.push(eV(e,i,a)),null):ez(e,i,r)):(ek(null),em({}),(s=n(o))?(r.push(eD(e,t,s)),null):eq(e,t,r))},e$=function(e,t,r){switch(function(e){switch(e.$$typeof){case L:return L;case M:switch(e.type){case V:return V;case D:return D;case U:return U;case q:return q;case W:return W;default:switch(e.type&&e.type.$$typeof){case Y:return Y;case X:return X;case B:return B;case F:return F;case z:return z;default:return M}}default:return}}(e)){case W:case q:case V:case U:case D:return J(e.props.children);case F:var n,o,i,a,s=e.props,u=s.children;return i=e.type._context,a=s.value,ee=[i,H.get(i)],H.set(i,a),J(u);case B:var l=e.props.children;if("function"!=typeof l)return[];var f=e.type;return J(l(el("object"==typeof f._context?f._context:f)));case Y:return J((n=e.type,o=e.props,(n._payload||n)._status<=0?(t.push({kind:"frame.lazy",contextMap:et(),contextStore:er(),errorFrame:eh(),thenable:eM(n),props:o,type:n}),null):eL(n,o)));case X:return J((0,c.createElement)(e.type.type,e.props));case z:var d=e.type,h=d.render,p=G(e.props,d.defaultProps);return J((0,c.createElement)(h,p));case M:if("string"==typeof e.type)return J(e.props.children);return J(eY(e.type,e.props,t,r,e));default:return[]}},eK=function(e,t,r,n,o,i){var a=eW.current,s=Date.now();try{for(eW.current=eR;e.length>0;){var u=e[e.length-1].shift();if(void 0!==u){var l=e$(u,o,i);e.push(l),t.push(en()),r.push(eo()),n.push(eh())}else e.pop(),ei(t.pop()),ea(r.pop()),ep(n.pop());if(eX&&Date.now()-s>5)return!0}return!1}catch(e){var c=eh();if(!c)throw e;return c.error=e,o.unshift(c),!1}finally{eW.current=a}},eJ=function(e,t,r,n){return{contextMap:et(),contextStore:er(),errorFrame:eh(),thenable:null,kind:"frame.yield",traversalChildren:e,traversalMap:t,traversalStore:r,traversalErrorFrame:n}},eG=function(e,t,r){var n=[e],o=[en()],i=[eo()],a=[eh()];eK(n,o,i,a,t,r)&&t.unshift(eJ(n,o,i,a))},eH=function(e,t,r){if("frame.yield"===e.kind)em(null),es(e.contextMap),eu(e.contextStore),ep(e.errorFrame),eK(e.traversalChildren,e.traversalMap,e.traversalStore,e.traversalErrorFrame,t,r)&&t.unshift(eJ(e.traversalChildren,e.traversalMap,e.traversalStore,e.traversalErrorFrame));else{var n=eW.current,o=null;eW.current=eR;try{"frame.class"===e.kind?o=function(e,t){if(em(null),es(t.contextMap),eu(t.contextStore),ep(t.errorFrame),t.error){if(++t.instance.updater._thrown>=25)return null;t.instance._isMounted=!0,"function"==typeof t.instance.componentDidCatch&&t.instance.componentDidCatch(t.error),"function"==typeof t.type.getDerivedStateFromError&&t.instance.updater.enqueueSetState(t.instance,t.type.getDerivedStateFromError(t.error))}return ez(t.type,t.instance,e)}(t,e):"frame.hooks"===e.kind?(ek(e.hook),em(e.id),es(e.contextMap),eu(e.contextStore),ep(e.errorFrame),o=eq(e.type,e.props,t)):"frame.lazy"===e.kind&&(em(null),es(e.contextMap),eu(e.contextStore),ep(e.errorFrame),o=eL(e.type,e.props))}catch(e){var i=eh();if(!i)throw e;i.error=e,t.unshift(i),o=null}finally{eW.current=n}eG(J(o),t,r)}};function eQ(e,t){setImmediate(e)}var eZ=function(e,t,r){var n=e.shift();return n?(eX&&"frame.yield"===n.kind&&(n.thenable=new Promise(eQ)),Promise.resolve(n.thenable).then(function(){return ev.current=r,eH(n,e,t),eZ(e,t,r)},function(r){if(!n.errorFrame)throw r;n.errorFrame.error=r,eH(n.errorFrame,e,t)})):Promise.resolve()},e0=function(){},e1=function(e,t){t||(t=e0);var r=[],n=ev.current={uniqueID:0};es({}),eu(new Map),ep(null);try{eG(J(e),r,t)}catch(e){return Promise.reject(e)}return eZ(r,t,n)},e2=null;function e5(e,t){var r="undefined"==typeof window;return(r||!e2)&&((e2=(0,b.eI)({...e,suspense:t&&(r||e.suspense)})).toJSON=()=>null),e2}var e6=r(52310),e3=r(27339),e4=r.n(e3),e8=r(36465),e7=r.n(e8);let e9=e4().variable.replace("variable","Inter"),te=()=>(0,a.jsx)(e7(),{id:"a0ec21d537b91a4b",dynamic:[e9],children:'@font-face{font-family:"Suisse Intl";src:url("/fonts/SuisseIntl-Book-WebXL.woff2")format("woff2"),url("/fonts/SuisseIntl-Book-WebXL.woff")format("woff");font-weight:450;font-style:normal;font-display:block}@font-face{font-family:"Suisse Intl";src:url("/fonts/SuisseIntl-Medium-WebXL.woff2")format("woff2"),url("/fonts/SuisseIntl-Medium-WebXL.woff")format("woff");font-weight:500;font-style:normal;font-display:block}@font-face{font-family:"Suisse Intl";src:url("/fonts/SuisseIntl-SemiBold-WebXL.woff2")format("woff2"),url("/fonts/SuisseIntl-SemiBold-WebXL.woff")format("woff");font-weight:600;font-style:normal;font-display:block}@font-face{font-family:"Suisse Intl";src:url("/fonts/SuisseIntl-Bold-WebXL.woff2")format("woff2"),url("/fonts/SuisseIntl-Bold-WebXL.woff")format("woff");font-weight:700;font-style:normal;font-display:block}html{--font-inter:'.concat(e9,";--font-suisse-intl:'Suisse Intl';--font-mermaid:var(--font-inter)}")});var tt=r(42029);d().configure({showSpinner:!1});let tr=async(e,t)=>{var r;let n=new v.Z(e,{credentials:"same-origin",...t});await n.exec();let o=await (null===(r=n.rawResponse)||void 0===r?void 0:r.json());return o};var tn=(n=e6.d4,(o={neverSuspend:!0})||(o={}),e=>{var t=!!((e.getInitialProps||o.ssr)&&!o.neverSuspend),r=({pageProps:r,urqlClient:a,urqlState:s,...u})=>{var[l,f]=c.useReducer(e=>e+1,0),d=r&&r.urqlState||s,h=c.useMemo(()=>{if(a&&!l)return a;i&&"undefined"!=typeof window?l||i.restoreData(d):i=(0,b.$Y)({initialState:d,isClient:!0,staleWhileRevalidate:"undefined"!=typeof window?o.staleWhileRevalidate:void 0});var e=n(i);return e.exchanges||(e.exchanges=[b.HG,i,b.Ek]),e5(e,t)},[a,d,l]),p=c.useCallback(()=>{e2=null,i=(0,b.$Y)({initialState:void 0}),f()},[]);return c.createElement(w.zt,{value:h},c.createElement(e,{...u,pageProps:r,urqlClient:h,resetUrqlClient:p}))};return r.displayName=`withUrqlClient(${e.displayName||e.name||"Component"})`,e.getLayout&&(r.getLayout=e.getLayout),(e.getInitialProps||o.ssr)&&(r.getInitialProps=async t=>{var r=t.AppTree,i=!!t.Component,a=i?t.ctx:t,s=(0,b.$Y)({initialState:void 0}),u=n(s,a);u.exchanges||(u.exchanges=[b.HG,s,b.Ek]);var l=e5(u,!o.neverSuspend);l&&(a.urqlClient=l);var f={};if(e.getInitialProps&&(f=await e.getInitialProps(t),a.res&&(a.res.writableEnded||a.res.finished))||"undefined"!=typeof window)return{...f,urqlClient:l};var d={...f,urqlClient:l},h=i?{pageProps:{},...d}:{pageProps:d};return o.neverSuspend||await e1(c.createElement(r,h)),{...f,urqlState:s?s.extractData():void 0,urqlClient:l}}),r})(function(e){let t,{Component:r,pageProps:n,urqlClient:o}=e,i=n.integrations||{},u=(0,h.useRouter)(),f=e=>{let t=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),r=new RegExp("[\\?&]".concat(t,"=([^&#]*)")),n=r.exec(window.location.search);return null===n?"":decodeURIComponent(n[1].replace(/\+/g," "))};return(0,c.useEffect)(()=>{if(u.events.on("routeChangeStart",()=>{t=setTimeout(()=>{d().start()},800)}),u.events.on("routeChangeComplete",()=>{t&&clearTimeout(t),d().done()}),window.innerWidth>768){let e=document.getElementsByClassName("body-main");e&&e.length>0&&(e[0].tabIndex=0,e[0].focus())}let e=f("source")||document.referrer;e&&"/onboard"!==window.location.pathname&&l().set("__acquisitionSource",e,{expires:1}),window.adjustIframeSize=(e,t)=>{let r=document.getElementById(e);r&&(r.style.height="".concat(parseInt(t),"px"))},window.transitionPage=e=>{window.location.href=e};let r=l().get("hn-user"),n=document.getElementById("hn-user").value;n&&(r&&r===n||l().set("hn-user",n,{expires:365}))},[]),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(s.J$,{value:{fetcher:tr},children:[(0,a.jsx)(te,{}),(0,a.jsx)(r,{...n,urqlClient:o}),(0,a.jsx)(m,{...i}),(0,a.jsx)(p.x,{})]})})})},85550:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(75766);class o{get hasError(){var e;return!!(null===(e=this.responseObj)||void 0===e?void 0:e.hasError)}set hasError(e){this.responseObj.hasError=e}constructor(e,t){(0,n._)(this,"url",void 0),(0,n._)(this,"rawResponse",void 0),(0,n._)(this,"requestObj",{}),(0,n._)(this,"responseObj",{hasError:!1}),(0,n._)(this,"prepare",e=>{let{headers:t,body:r,...n}=e;this.requestObj={...t,body:JSON.stringify(r),...n}}),(0,n._)(this,"exec",async()=>{try{this.rawResponse=await fetch(this.url,this.requestObj)}catch(e){this.responseObj.error=e,this.hasError=!0}}),(0,n._)(this,"json",async()=>{if(this.hasError)return this.responseObj;try{var e;let t=await (null===(e=this.rawResponse)||void 0===e?void 0:e.json()),{data:r,message:n,error:o}=t;this.responseObj={data:r,message:n,error:o,hasError:this.hasError}}catch(e){this.hasError=!0,this.responseObj.error=e}return this.responseObj}),(0,n._)(this,"text",async()=>{if(this.hasError)return this.responseObj;try{var e;let t=await (null===(e=this.rawResponse)||void 0===e?void 0:e.text());this.responseObj.data=t}catch(e){this.hasError=!0,this.responseObj.error=e}return this.responseObj}),this.url=e;let{headers:r={},...o}=t;this.requestObj={method:"GET",headers:{Accept:"application/json","Content-Type":"application/json",...r},...o}}}},93314:function(e,t,r){"use strict";r.d(t,{x0:function(){return k},U_:function(){return E},Z8:function(){return S},lL:function(){return _},Gz:function(){return O},TI:function(){return x},Ly:function(){return w},$f:function(){return A},TF:function(){return m}}),r(3885);let n=/^xn--/,o=/[^\0-\x7E]/,i=/[\x2E\u3002\uFF0E\uFF61]/g,a={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},s=Math.floor,u=String.fromCharCode;function l(e){throw RangeError(a[e])}function c(e,t){let r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(i,".");let o=e.split("."),a=(function(e,t){let r=[],n=e.length;for(;n--;)r[n]=t(e[n]);return r})(o,t).join(".");return n+a}function f(e){let t=[],r=0,n=e.length;for(;r<n;){let o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){let n=e.charCodeAt(r++);(64512&n)==56320?t.push(((1023&o)<<10)+(1023&n)+65536):(t.push(o),r--)}else t.push(o)}return t}let d=e=>String.fromCodePoint(...e),h=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},p=function(e,t,r){let n=0;for(e=r?s(e/700):e>>1,e+=s(e/t);e>455;n+=36)e=s(e/35);return s(n+36*e/(e+38))},v=function(e){let t=[],r=e.length,n=0,o=128,i=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let r=0;r<a;++r)e.charCodeAt(r)>=128&&l("not-basic"),t.push(e.charCodeAt(r));for(let c=a>0?a+1:0;c<r;){let a=n;for(let t=1,o=36;;o+=36){var u;c>=r&&l("invalid-input");let a=(u=e.charCodeAt(c++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:36;(a>=36||a>s((2147483647-n)/t))&&l("overflow"),n+=a*t;let f=o<=i?1:o>=i+26?26:o-i;if(a<f)break;let d=36-f;t>s(2147483647/d)&&l("overflow"),t*=d}let f=t.length+1;i=p(n-a,f,0==a),s(n/f)>2147483647-o&&l("overflow"),o+=s(n/f),n%=f,t.splice(n++,0,o)}return String.fromCodePoint(...t)},y=function(e){let t=[],r=(e=f(e)).length,n=128,o=0,i=72;for(let r of e)r<128&&t.push(u(r));let a=t.length,c=a;for(a&&t.push("-");c<r;){let r=2147483647;for(let t of e)t>=n&&t<r&&(r=t);let f=c+1;for(let d of(r-n>s((2147483647-o)/f)&&l("overflow"),o+=(r-n)*f,n=r,e))if(d<n&&++o>2147483647&&l("overflow"),d==n){let e=o;for(let r=36;;r+=36){let n=r<=i?1:r>=i+26?26:r-i;if(e<n)break;let o=e-n,a=36-n;t.push(u(h(n+o%a,0))),e=s(o/a)}t.push(u(h(e,0))),i=p(o,f,c==a),o=0,++c}++o,++n}return t.join("")};var g={version:"2.1.0",ucs2:{decode:f,encode:d},decode:v,encode:y,toASCII:function(e){return c(e,function(e){return o.test(e)?"xn--"+y(e):e})},toUnicode:function(e){return c(e,function(e){return n.test(e)?v(e.slice(4).toLowerCase()):e})}};let m="https://",b={development:"app.localhost",staging:"hashnode.net",test:"hashnode.net",production:"hashnode.dev"};function w(e){let{hostname:t}=new URL(e);return g.toUnicode(t)}let x=()=>{let e;e="https://hashnode.com";return e},_=e=>{if(!e||!e.domain&&!e.username)return x();let{domain:t,username:r,domainStatus:n}=e,o=!!t&&!!(null==n?void 0:n.ready),i=o?t:b.production;return"".concat(m).concat(o?"":"".concat(r,".")).concat(i)},S=e=>{let t=_(e),{hostname:r}=new URL(t);return g.toUnicode(r)};function E(e,t){let{slug:r,cuid:n,partOfPublication:o}=e,i=t;if(i&&i.domainInfo){var a,s,u;i={urlPattern:"SIMPLE"===i.urlPattern?"simple":"",domain:null===(a=i.domainInfo.domain)||void 0===a?void 0:a.host,domainStatus:{ready:null===(s=i.domainInfo.domain)||void 0===s?void 0:s.ready},username:null!==(u=i.domainInfo.hashnodeSubdomain)&&void 0!==u?u:void 0}}if(!o||!i)return"".concat(x(),"/post/").concat(r,"-").concat(n);let l=_(i),c="simple"===i.urlPattern,f=c?"/".concat(r):"/".concat(r,"-").concat(n);return"".concat(l).concat(f)}let k=e=>"".concat(x(),"/preview/").concat(e),O=(e,t)=>{let{slug:r,cuid:n}=e;if(!t){if(!r||!n)throw Error("Series slug and cuid must be provided if series is not part of publication");return"".concat(x(),"/series/").concat(r,"-").concat(n)}let o=_(t);return"".concat(o,"/series/").concat(r)},A=e=>"https://hashnode.com/@".concat(e)},55488:function(){},27339:function(e){e.exports={style:{fontFamily:"'__Inter_a184c8', '__Inter_Fallback_a184c8'",fontStyle:"normal"},className:"__className_a184c8",variable:"__variable_a184c8"}},9008:function(e,t,r){e.exports=r(42636)},11163:function(e,t,r){e.exports=r(96885)},74865:function(e,t,r){var n,o;void 0!==(n="function"==typeof(o=function(){var e,t,r,n={};n.version="0.2.0";var o=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function i(e,t,r){return e<t?t:e>r?r:e}n.configure=function(e){var t,r;for(t in e)void 0!==(r=e[t])&&e.hasOwnProperty(t)&&(o[t]=r);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=i(e,o.minimum,1),n.status=1===e?null:e;var r=n.render(!t),u=r.querySelector(o.barSelector),l=o.speed,c=o.easing;return r.offsetWidth,a(function(t){var i,a;""===o.positionUsing&&(o.positionUsing=n.getPositioningCSS()),s(u,(i=e,(a="translate3d"===o.positionUsing?{transform:"translate3d("+(-1+i)*100+"%,0,0)"}:"translate"===o.positionUsing?{transform:"translate("+(-1+i)*100+"%,0)"}:{"margin-left":(-1+i)*100+"%"}).transition="all "+l+"ms "+c,a)),1===e?(s(r,{transition:"none",opacity:1}),r.offsetWidth,setTimeout(function(){s(r,{transition:"all "+l+"ms linear",opacity:0}),setTimeout(function(){n.remove(),t()},l)},l)):setTimeout(t,l)}),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout(function(){n.status&&(n.trickle(),e())},o.trickleSpeed)};return o.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*i(Math.random()*t,.1,.95)),t=i(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*o.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()&&(0===t&&n.start(),e++,t++,r.always(function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=o.template;var r,i,a=t.querySelector(o.barSelector),u=e?"-100":(-1+(n.status||0))*100,c=document.querySelector(o.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+u+"%,0,0)"}),!o.showSpinner&&(i=t.querySelector(o.spinnerSelector))&&d(i),c!=document.body&&l(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(o.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective" in e?"translate3d":t+"Transform" in e?"translate":"margin"};var a=(r=[],function(e){r.push(e),1==r.length&&function e(){var t=r.shift();t&&t(e)}()}),s=function(){var e=["Webkit","O","Moz","ms"],t={};function r(r,n,o){var i;n=t[i=(i=n).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[i]=function(t){var r=document.body.style;if(t in r)return t;for(var n,o=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((n=e[o]+i)in r)return n;return t}(i)),r.style[n]=o}return function(e,t){var n,o,i=arguments;if(2==i.length)for(n in t)void 0!==(o=t[n])&&t.hasOwnProperty(n)&&r(e,n,o);else r(e,i[1],i[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function l(e,t){var r=f(e);u(r,t)||(e.className=(r+t).substring(1))}function c(e,t){var r,n=f(e);u(e,t)&&(r=n.replace(" "+t+" "," "),e.className=r.substring(1,r.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n})?o.call(t,r,t,e):o)&&(e.exports=n)},34155:function(e){var t,r,n,o=e.exports={};function i(){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===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u=[],l=!1,c=-1;function f(){l&&n&&(l=!1,n.length?u=n.concat(u):c=-1,u.length&&d())}function d(){if(!l){var e=s(f);l=!0;for(var t=u.length;t;){for(n=u,u=[];++c<t;)n&&n[c].run();c=-1,t=u.length}n=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||l||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=p,o.addListener=p,o.once=p,o.off=p,o.removeListener=p,o.removeAllListeners=p,o.emit=p,o.prependListener=p,o.prependOnceListener=p,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}},92432:function(e,t,r){"use strict";r.d(t,{Db:function(){return h},aM:function(){return y},m8:function(){return u},zt:function(){return s}});var n=r(86138),o=r(67294),i=r(63496),a=o.createContext({}),s=a.Provider;a.Consumer,a.displayName="UrqlContext";var u=()=>o.useContext(a),l={fetching:!1,stale:!1,error:void 0,data:void 0,extensions:void 0,operation:void 0},c=(e,t)=>e===t||!(!e||!t||e.key!==t.key),f=(e,t)=>{var r={...e,...t,data:void 0!==t.data||t.error?t.data:e.data,fetching:!!t.fetching,stale:!!t.stale};return((e,t)=>{for(var r in e)if(!(r in t))return!0;for(var n in t)if("operation"===n?!c(e[n],t[n]):e[n]!==t[n])return!0;return!1})(e,r)?r:e},d=(e,t)=>{for(var r=0,n=t.length;r<n;r++)if(e[r]!==t[r])return!0;return!1};function h(e){var t=o.useRef(!0),r=u(),[a,s]=o.useState(l),c=o.useCallback((o,a)=>(s({...l,fetching:!0}),(0,i.Vi)((0,i.qn)(1)((0,i.hX)(e=>!e.hasNext)((0,i.Mq)(e=>{t.current&&s({fetching:!1,stale:e.stale,data:e.data,error:e.error,extensions:e.extensions,operation:e.operation})})(r.executeMutation((0,n.h)(e,o),a||{})))))),[r,e,s]);return o.useEffect(()=>(t.current=!0,()=>{t.current=!1}),[]),[a,c]}o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;var p=e=>{if(!e._react){var t=new Set,r=new Map;e.operations$&&(0,i.Ld)(e=>{"teardown"===e.kind&&t.has(e.key)&&(t.delete(e.key),r.delete(e.key))})(e.operations$),e._react={get:e=>r.get(e),set(e,n){t.delete(e),r.set(e,n)},dispose(e){t.add(e)}}}return e._react},v=(e,t)=>e.suspense&&(!t||!1!==t.suspense);function y(e){var t,r,a,s=u(),c=p(s),h=v(s,e.context),y=(t=e.query,r=e.variables,a=o.useRef(void 0),o.useMemo(()=>{var e=(0,n.h)(t,r);return void 0!==a.current&&a.current.key===e.key?a.current:(a.current=e,e)},[t,r])),g=o.useMemo(()=>{if(e.pause)return null;var t=s.executeQuery(y,{requestPolicy:e.requestPolicy,...e.context});return h?(0,i.Mq)(e=>{c.set(y.key,e)})(t):t},[c,s,y,h,e.pause,e.requestPolicy,e.context]),m=o.useCallback((e,t)=>{if(!e)return{fetching:!1};var r=c.get(y.key);if(r){if(t&&null!=r&&"then"in r)throw r}else{var n,o=(0,i.Ld)(e=>{r=e,n&&n(r)})((0,i.oE)(()=>t&&!n||!r)(e));if(null==r&&t){var a=new Promise(e=>{n=e});throw c.set(y.key,a),a}o.unsubscribe()}return r||{fetching:!0}},[c,y]),b=[s,y,e.requestPolicy,e.context,e.pause],[w,x]=o.useState(()=>[g,f(l,m(g,h)),b]),_=w[1];return g!==w[0]&&d(w[2],b)&&x([g,_=f(w[1],m(g,h)),b]),o.useEffect(()=>{var e=w[0],t=w[2][1],r=!1,n=e=>{r=!0,x(t=>{var r=f(t[1],e);return t[1]!==r?[t[0],r,t[2]]:t})};if(e){var o=(0,i.Ld)(n)((0,i.ok)(()=>{n({fetching:!1})})(e));return r||n({fetching:!0}),()=>{c.dispose(t.key),o.unsubscribe()}}n({fetching:!1})},[c,w[0],w[2][1]]),[_,o.useCallback(t=>{var r={requestPolicy:e.requestPolicy,...e.context,...t};x(e=>[h?(0,i.Mq)(e=>{c.set(y.key,e)})(s.executeQuery(y,r)):s.executeQuery(y,r),e[1],b])},[s,c,y,h,e.requestPolicy,e.context,e.pause])]}},36155:function(e,t,r){"use strict";r.d(t,{Mq:function(){return function e(t,r){switch(t.kind){case"NullValue":return null;case"IntValue":return parseInt(t.value,10);case"FloatValue":return parseFloat(t.value);case"StringValue":case"EnumValue":case"BooleanValue":return t.value;case"ListValue":for(var n=[],o=0,i=t.values;o<i.length;o+=1)n.push(e(i[o],r));return n;case"ObjectValue":for(var a=Object.create(null),s=0,u=t.fields;s<u.length;s+=1){var l=u[s];a[l.name.value]=e(l.value,r)}return a;case"Variable":return r&&r[t.name.value]}}},Qc:function(){return N},S0:function(){return P},__:function(){return a},hY:function(){return i}});var n,o,i={NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType"};class a extends Error{constructor(e,t,r,n,o,i,a){super(e),this.name="GraphQLError",this.message=e,o&&(this.path=o),t&&(this.nodes=Array.isArray(t)?t:[t]),r&&(this.source=r),n&&(this.positions=n),i&&(this.originalError=i);var s=a;if(!s&&i){var u=i.extensions;u&&"object"==typeof u&&(s=u)}this.extensions=s||{}}toJSON(){return{...this,message:this.message}}toString(){return this.message}get[Symbol.toStringTag](){return"GraphQLError"}}function s(e){return new a(`Syntax Error: Unexpected token at ${o} in ${e}`)}function u(e){if(e.lastIndex=o,e.test(n))return n.slice(o,o=e.lastIndex)}var l=/ +(?=[^\s])/y;function c(){for(var e=0|n.charCodeAt(o++);9===e||10===e||13===e||32===e||35===e||44===e||65279===e;e=0|n.charCodeAt(o++))if(35===e)for(;10!==(e=n.charCodeAt(o++))&&13!==e;);o--}var f=/[_A-Za-z]\w*/y;function d(){var e;if(e=u(f))return{kind:"Name",value:e}}var h=/(?:null|true|false)/y,p=/\$[_A-Za-z]\w*/y,v=/-?\d+/y,y=/(?:\.\d+)?[eE][+-]?\d+|\.\d+/y,g=/\\/g,m=/"""(?:"""|(?:[\s\S]*?[^\\])""")/y,b=/"(?:"|[^\r\n]*?[^\\]")/y;function w(e){if(r=u(h))t="null"===r?{kind:"NullValue"}:{kind:"BooleanValue",value:"true"===r};else if(!e&&(r=u(p)))t={kind:"Variable",name:{kind:"Name",value:r.slice(1)}};else if(r=u(v)){var t,r,i=r;t=(r=u(y))?{kind:"FloatValue",value:i+r}:{kind:"IntValue",value:i}}else if(r=u(f))t={kind:"EnumValue",value:r};else if(r=u(m))t={kind:"StringValue",value:function(e){for(var t=e.split("\n"),r="",n=0,o=0,i=t.length-1,a=0;a<t.length;a++)l.lastIndex=0,l.test(t[a])&&(a&&(!n||l.lastIndex<n)&&(n=l.lastIndex),o=o||a,i=a);for(var s=o;s<=i;s++)s!==o&&(r+="\n"),r+=t[s].slice(n).replace(/\\"""/g,'"""');return r}(r.slice(3,-3)),block:!0};else if(r=u(b))t={kind:"StringValue",value:g.test(r)?JSON.parse(r):r.slice(1,-1),block:!1};else if(t=function(e){var t;if(91===n.charCodeAt(o)){o++,c();for(var r=[];t=w(e);)r.push(t);if(93!==n.charCodeAt(o++))throw s("ListValue");return c(),{kind:"ListValue",values:r}}}(e)||function(e){if(123===n.charCodeAt(o)){o++,c();for(var t,r=[];t=d();){if(c(),58!==n.charCodeAt(o++))throw s("ObjectField");c();var i=w(e);if(!i)throw s("ObjectField");r.push({kind:"ObjectField",name:t,value:i})}if(125!==n.charCodeAt(o++))throw s("ObjectValue");return c(),{kind:"ObjectValue",fields:r}}}(e))return t;return c(),t}function x(e){var t=[];if(c(),40===n.charCodeAt(o)){for(o++,c();r=d();){if(c(),58!==n.charCodeAt(o++))throw s("Argument");c();var r,i=w(e);if(!i)throw s("Argument");t.push({kind:"Argument",name:r,value:i})}if(!t.length||41!==n.charCodeAt(o++))throw s("Argument");c()}return t}function _(e){var t=[];for(c();64===n.charCodeAt(o);){o++;var r=d();if(!r)throw s("Directive");c(),t.push({kind:"Directive",name:r,arguments:x(e)})}return t}var S=/on/y;function E(){if(u(S)){c();var e=d();if(!e)throw s("NamedType");return c(),{kind:"NamedType",name:e}}}var k=/\.\.\./y;function O(){var e;if(c(),123===n.charCodeAt(o)){o++,c();for(var t=[];e=function(){if(u(k)){c();var e,t=o;if((e=d())&&"on"!==e.value)return{kind:"FragmentSpread",name:e,directives:_(!1)};o=t;var r=E(),n=_(!1),i=O();if(!i)throw s("InlineFragment");return{kind:"InlineFragment",typeCondition:r,directives:n,selectionSet:i}}}()||function(){var e,t=d();if(t){if(c(),58===n.charCodeAt(o)){if(o++,c(),e=t,!(t=d()))throw s("Field");c()}return{kind:"Field",alias:e,name:t,arguments:x(!1),directives:_(!1),selectionSet:O()}}}();)t.push(e);if(!t.length||125!==n.charCodeAt(o++))throw s("SelectionSet");return c(),{kind:"SelectionSet",selections:t}}}var A=/fragment/y,I=/(?:query|mutation|subscription)/y;function N(e,t){return n="string"==typeof e.body?e.body:e,o=0,function(){c();for(var e,t=[];e=function(){if(u(A)){c();var e=d();if(!e)throw s("FragmentDefinition");c();var t=E();if(!t)throw s("FragmentDefinition");var r=_(!1),n=O();if(!n)throw s("FragmentDefinition");return{kind:"FragmentDefinition",name:e,typeCondition:t,directives:r,selectionSet:n}}}()||function(){var e,t,r=[],i=[];(e=u(I))&&(c(),t=d(),r=function(){var e,t=[];if(c(),40===n.charCodeAt(o)){for(o++,c();e=u(p);){if(c(),58!==n.charCodeAt(o++))throw s("VariableDefinition");var r=function e(){var t;if(c(),91===n.charCodeAt(o)){o++,c();var r=e();if(!r||93!==n.charCodeAt(o++))throw s("ListType");t={kind:"ListType",type:r}}else if(t=d())t={kind:"NamedType",name:t};else throw s("NamedType");return(c(),33===n.charCodeAt(o))?(o++,c(),{kind:"NonNullType",type:t}):t}(),i=void 0;if(61===n.charCodeAt(o)&&(o++,c(),!(i=w(!0))))throw s("VariableDefinition");c(),t.push({kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:e.slice(1)}},type:r,defaultValue:i,directives:_(!0)})}if(41!==n.charCodeAt(o++))throw s("VariableDefinition");c()}return t}(),i=_(!1));var a=O();if(a)return{kind:"OperationDefinition",operation:e||"query",name:t,variableDefinitions:r,directives:i,selectionSet:a}}();)t.push(e);return{kind:"Document",definitions:t}}()}var T=e=>!(!e||!e.length),C={OperationDefinition(e){if("query"===e.operation&&!e.name&&!T(e.variableDefinitions)&&!T(e.directives))return C.SelectionSet(e.selectionSet);var t=e.operation;return e.name&&(t+=" "+e.name.value),T(e.variableDefinitions)&&(e.name||(t+=" "),t+="("+e.variableDefinitions.map(C.VariableDefinition).join(", ")+")"),T(e.directives)&&(t+=" "+e.directives.map(C.Directive).join(" ")),t+" "+C.SelectionSet(e.selectionSet)},VariableDefinition(e){var t=C.Variable(e.variable)+": "+P(e.type);return e.defaultValue&&(t+=" = "+P(e.defaultValue)),T(e.directives)&&(t+=" "+e.directives.map(C.Directive).join(" ")),t},Field(e){var t=(e.alias?e.alias.value+": ":"")+e.name.value;if(T(e.arguments)){var r=e.arguments.map(C.Argument),n=t+"("+r.join(", ")+")";t=n.length>80?t+"(\n  "+r.join("\n").replace(/\n/g,"\n  ")+"\n)":n}return T(e.directives)&&(t+=" "+e.directives.map(C.Directive).join(" ")),e.selectionSet?t+" "+C.SelectionSet(e.selectionSet):t},StringValue:e=>e.block?'"""\n'+e.value.replace(/"""/g,'\\"""')+'\n"""':JSON.stringify(e.value),BooleanValue:e=>""+e.value,NullValue:e=>"null",IntValue:e=>e.value,FloatValue:e=>e.value,EnumValue:e=>e.value,Name:e=>e.value,Variable:e=>"$"+e.name.value,ListValue:e=>"["+e.values.map(P).join(", ")+"]",ObjectValue:e=>"{"+e.fields.map(C.ObjectField).join(", ")+"}",ObjectField:e=>e.name.value+": "+P(e.value),Document:e=>T(e.definitions)?e.definitions.map(P).join("\n\n"):"",SelectionSet:e=>"{\n  "+e.selections.map(P).join("\n").replace(/\n/g,"\n  ")+"\n}",Argument:e=>e.name.value+": "+P(e.value),FragmentSpread(e){var t="..."+e.name.value;return T(e.directives)&&(t+=" "+e.directives.map(C.Directive).join(" ")),t},InlineFragment(e){var t="...";return e.typeCondition&&(t+=" on "+e.typeCondition.name.value),T(e.directives)&&(t+=" "+e.directives.map(C.Directive).join(" ")),t+" "+P(e.selectionSet)},FragmentDefinition(e){var t="fragment "+e.name.value;return t+=" on "+e.typeCondition.name.value,T(e.directives)&&(t+=" "+e.directives.map(C.Directive).join(" ")),t+" "+P(e.selectionSet)},Directive(e){var t="@"+e.name.value;return T(e.arguments)&&(t+="("+e.arguments.map(C.Argument).join(", ")+")"),t},NamedType:e=>e.name.value,ListType:e=>"["+P(e.type)+"]",NonNullType:e=>P(e.type)+"!"};function P(e){return C[e.kind]?C[e.kind](e):""}},75766:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{_:function(){return n}})},86138:function(e,t,r){"use strict";r.d(t,{C:function(){return a},d:function(){return P},e:function(){return R},f:function(){return V},h:function(){return k},i:function(){return d},k:function(){return E},m:function(){return C}});var n=r(36155),o=r(63496),i=e=>e&&e.message&&(e.extensions||"GraphQLError"===e.name)?e:"object"==typeof e&&e.message?new n.__(e.message,e.nodes,e.source,e.positions,e.path,e,e.extensions||{}):new n.__(e);class a extends Error{constructor(e){var t=(e.graphQLErrors||[]).map(i),r=((e,t)=>{var r="";if(e)return`[Network] ${e.message}`;if(t)for(var n of t)r&&(r+="\n"),r+=`[GraphQL] ${n.message}`;return r})(e.networkError,t);super(r),this.name="CombinedError",this.message=r,this.graphQLErrors=t,this.networkError=e.networkError,this.response=e.response}toString(){return this.message}}var s=(e,t)=>{for(var r=0|(t||5381),n=0,o=0|e.length;n<o;n++)r=(r<<5)+r+e.charCodeAt(n);return r},u=new Set,l=new WeakMap,c=e=>{if(null===e||u.has(e))return"null";if("object"!=typeof e)return JSON.stringify(e)||"";if(e.toJSON)return c(e.toJSON());if(Array.isArray(e)){var t="[";for(var r of e)t.length>1&&(t+=","),t+=c(r)||"null";return t+"]"}if(p!==h&&e instanceof p||v!==h&&e instanceof v)return"null";var n=Object.keys(e).sort();if(!n.length&&e.constructor&&e.constructor!==Object){var o=l.get(e)||Math.random().toString(36).slice(2);return l.set(e,o),c({__key:o})}u.add(e);var i="{";for(var a of n){var s=c(e[a]);s&&(i.length>1&&(i+=","),i+=c(a)+":"+s)}return u.delete(e),i+"}"},f=(e,t,r)=>{if(null==r||"object"!=typeof r||r.toJSON||u.has(r));else if(Array.isArray(r))for(var n=0,o=r.length;n<o;n++)f(e,`${t}.${n}`,r[n]);else if(r instanceof p||r instanceof v)e.set(t,r);else for(var i of(u.add(r),Object.keys(r)))f(e,`${t}.${i}`,r[i])},d=e=>(u.clear(),c(e));class h{}var p="undefined"!=typeof File?File:h,v="undefined"!=typeof Blob?Blob:h,y=/("{3}[\s\S]*"{3}|"(?:\\.|[^"])*")/g,g=/(?:#[^\n\r]+)?(?:[\r\n]+|$)/g,m=(e,t)=>t%2==0?e.replace(g,"\n"):e,b=e=>e.split(y).map(m).join("").trim(),w=new Map,x=new Map,_=e=>{var t;return"string"==typeof e?t=b(e):e.loc&&x.get(e.__key)===e?t=e.loc.source.body:(t=w.get(e)||b((0,n.S0)(e)),w.set(e,t)),"string"==typeof e||e.loc||(e.loc={start:0,end:t.length,source:{body:t,name:"gql",locationOffset:{line:1,column:1}}}),t},S=e=>{var t=s(_(e));if(e.definitions){var r=O(e);r&&(t=s(`
# ${r}`,t))}return t},E=e=>{var t,r;return"string"==typeof e?(t=S(e),r=x.get(t)||(0,n.Qc)(e,{noLocation:!0})):(t=e.__key||S(e),r=x.get(t)||e),r.loc||_(r),r.__key=t,x.set(t,r),r},k=(e,t,r)=>{var n=t||{},o=E(e),i=d(n),a=o.__key;return"{}"!==i&&(a=s(i,a)),{key:a,query:o,variables:n,extensions:r}},O=e=>{for(var t of e.definitions)if(t.kind===n.hY.OPERATION_DEFINITION)return t.name?t.name.value:void 0},A=(e,t,r)=>{if(!("data"in t||"errors"in t&&Array.isArray(t.errors)))throw Error("No Content");var n="subscription"===e.kind;return{operation:e,data:t.data,error:Array.isArray(t.errors)?new a({graphQLErrors:t.errors,response:r}):void 0,extensions:t.extensions?{...t.extensions}:void 0,hasNext:null==t.hasNext?n:t.hasNext,stale:!1}},I=(e,t)=>{if("object"==typeof e&&null!=e&&(!e.constructor||e.constructor===Object||Array.isArray(e))){for(var r of(e=Array.isArray(e)?[...e]:{...e},Object.keys(t)))e[r]=I(e[r],t[r]);return e}return t},N=(e,t,r,n)=>{var o=e.error?e.error.graphQLErrors:[],i=!!e.extensions||!!t.extensions,s={...e.extensions,...t.extensions},u=t.incremental;"path"in t&&(u=[t]);var l={data:e.data};if(u){var c=function(e){Array.isArray(e.errors)&&o.push(...e.errors),e.extensions&&(Object.assign(s,e.extensions),i=!0);var t="data",r=l,a=[];if(e.path)a=e.path;else if(n){var u=n.find(t=>t.id===e.id);a=e.subPath?[...u.path,...e.subPath]:u.path}for(var c=0,f=a.length;c<f;t=a[c++])r=r[t]=Array.isArray(r[t])?[...r[t]]:{...r[t]};if(e.items)for(var d=+t>=0?t:0,h=0,p=e.items.length;h<p;h++)r[d+h]=I(r[d+h],e.items[h]);else void 0!==e.data&&(r[t]=I(r[t],e.data))};for(var f of u)c(f)}else l.data=t.data||e.data,o=t.errors||o;return{operation:e.operation,data:l.data,error:o.length?new a({graphQLErrors:o,response:r}):void 0,extensions:i?s:void 0,hasNext:null!=t.hasNext?t.hasNext:e.hasNext,stale:!1}},T=(e,t,r)=>({operation:e,data:void 0,error:new a({networkError:t,response:r}),extensions:void 0,hasNext:!1,stale:!1});function C(e){return{query:e.extensions&&e.extensions.persistedQuery&&!e.extensions.persistedQuery.miss?void 0:_(e.query),operationName:O(e.query),variables:e.variables||void 0,extensions:e.extensions}}var P=(e,t)=>{var r="query"===e.kind&&e.context.preferGetMethod;if(!r||!t)return e.context.url;var n=new URL(e.context.url);for(var o in t){var i=t[o];i&&n.searchParams.set(o,"object"==typeof i?d(i):i)}var a=n.toString();return a.length>2047&&"force"!==r?(e.context.preferGetMethod=!1,e.context.url):a},j=(e,t)=>{if(t&&!("query"===e.kind&&e.context.preferGetMethod)){var r,n,o=d(t),i=(r=t.variables,n=new Map,(p!==h||v!==h)&&(u.clear(),f(n,"variables",r)),n);if(i.size){var a=new FormData;a.append("operations",o),a.append("map",d({...[...i.keys()].map(e=>[e])}));var s=0;for(var l of i.values())a.append(""+s++,l);return a}return o}},R=(e,t)=>{var r={accept:"subscription"===e.kind?"text/event-stream, multipart/mixed":"application/graphql-response+json, application/graphql+json, application/json, text/event-stream, multipart/mixed"},n=("function"==typeof e.context.fetchOptions?e.context.fetchOptions():e.context.fetchOptions)||{};if(n.headers)for(var o in n.headers)r[o.toLowerCase()]=n.headers[o];var i=j(e,t);return"string"!=typeof i||r["content-type"]||(r["content-type"]="application/json"),{...n,method:i?"POST":"GET",body:i,headers:r}},M="undefined"!=typeof TextDecoder?new TextDecoder:null,L=/boundary="?([^=";]+)"?/i,D=/data: ?([^\n]+)/,q=e=>"Buffer"===e.constructor.name?e.toString():M.decode(e);async function*U(e){if(e.body[Symbol.asyncIterator])for await(var t of e.body)yield q(t);else{var r,n=e.body.getReader();try{for(;!(r=await n.read()).done;)yield q(r.value)}finally{n.cancel()}}}async function*F(e,t){var r,n="";for await(var o of e)for(n+=o;(r=n.indexOf(t))>-1;)yield n.slice(0,r),n=n.slice(r+t.length)}async function*B(e,t,r){var n=!0,o=null;try{yield await Promise.resolve();var i,a,s,u=(i=await (e.context.fetch||fetch)(t,r)).headers.get("Content-Type")||"";if(/multipart\/mixed/i.test(u))a=async function*(e,t){var r,n=e.match(L),o="--"+(n?n[1]:"-"),i=!0;for await(var a of F(U(t),"\r\n"+o)){if(i){i=!1;var s=a.indexOf(o);if(!(s>-1))continue;a=a.slice(s+o.length)}try{yield r=JSON.parse(a.slice(a.indexOf("\r\n\r\n")+4))}catch(e){if(!r)throw e}if(r&&!1===r.hasNext)break}r&&!1!==r.hasNext&&(yield{hasNext:!1})}(u,i);else if(/text\/event-stream/i.test(u))a=async function*(e){var t;for await(var r of F(U(e),"\n\n")){var n=r.match(D);if(n){var o=n[1];try{yield t=JSON.parse(o)}catch(e){if(!t)throw e}if(t&&!1===t.hasNext)break}}t&&!1!==t.hasNext&&(yield{hasNext:!1})}(i);else if(/text\//i.test(u))throw Error(await i.text());else a=async function*(e){yield JSON.parse(await e.text())}(i);for await(var l of a)l.pending&&!o?s=l.pending:l.pending&&(s=[...s,...l.pending]),o=o?N(o,l,i,s):A(e,l,i),n=!1,yield o,n=!0;o||(yield o=A(e,{},i))}catch(t){if(!n)throw t;yield T(e,i&&(i.status<200||i.status>=300)&&i.statusText?Error(i.statusText):t,i)}}function V(e,t,r){var n;return"undefined"!=typeof AbortController&&(r.signal=(n=new AbortController).signal),(0,o.ok)(()=>{n&&n.abort()})((0,o.hX)(e=>!!e)((0,o.fY)(B(e,t,r))))}},26997:function(e,t,r){"use strict";r.d(t,{$Y:function(){return b},Dk:function(){return _},Ek:function(){return w},HG:function(){return y},eI:function(){return E},nZ:function(){return l},vx:function(){return d}});var n=r(36155),o=r(86138),i=r(63496),a=(e,t)=>{if(Array.isArray(e))for(var r of e)a(r,t);else if("object"==typeof e&&null!==e)for(var n in e)"__typename"===n&&"string"==typeof e[n]?t.add(e[n]):a(e[n],t);return t},s=e=>{if("definitions"in e){var t=[];for(var r of e.definitions){var o=s(r);t.push(o)}return{...e,definitions:t}}if("directives"in e&&e.directives&&e.directives.length){var i=[],a={};for(var u of e.directives){var l=u.name.value;"_"!==l[0]?i.push(u):l=l.slice(1),a[l]=u}e={...e,directives:i,_directives:a}}if("selectionSet"in e){var c=[],f=e.kind===n.hY.OPERATION_DEFINITION;if(e.selectionSet){for(var d of e.selectionSet.selections||[]){f=f||d.kind===n.hY.FIELD&&"__typename"===d.name.value&&!d.alias;var h=s(d);c.push(h)}return f||c.push({kind:n.hY.FIELD,name:{kind:n.hY.NAME,value:"__typename"},_generated:!0}),{...e,selectionSet:{...e.selectionSet,selections:c}}}}return e},u=new Map,l=e=>{var t=(0,o.k)(e),r=u.get(t.__key);return r||(u.set(t.__key,r=s(t)),Object.defineProperty(r,"__key",{value:t.__key,enumerable:!1})),r},c=(e,t)=>{if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(e=>c(e));if(!e||"object"!=typeof e||!t&&!("__typename"in e))return e;var r={};for(var n in e)"__typename"===n?Object.defineProperty(r,"__typename",{enumerable:!1,value:e.__typename}):r[n]=c(e[n]);return r};function f(e){var t=t=>e(t);return t.toPromise=()=>(0,i.Vi)((0,i.qn)(1)((0,i.hX)(e=>!e.stale&&!e.hasNext)(t))),t.then=(e,r)=>t.toPromise().then(e,r),t.subscribe=e=>(0,i.Ld)(e)(t),t}function d(e,t,r){return{...t,kind:e,context:t.context?{...t.context,...r}:r||t.context}}var h=()=>{},p=({kind:e})=>"mutation"!==e&&"query"!==e,v=e=>{var t=l(e.query);if(t===e.query)return e;var r=d(e.kind,e);return r.query=t,r},y=({forward:e,client:t,dispatchDebug:r})=>{var n=new Map,o=new Map,s=e=>"query"===e.kind&&"network-only"!==e.context.requestPolicy&&("cache-only"===e.context.requestPolicy||n.has(e.key));return r=>{var u=(0,i.UI)(e=>{var r=n.get(e.key);return"cache-and-network"===e.context.requestPolicy&&(r.stale=!0,g(t,e)),r})((0,i.hX)(e=>!p(e)&&s(e))(r)),l=(0,i.bw)(e=>{var{operation:r}=e;if(r){var i=r.context.additionalTypenames||[];if("subscription"!==e.operation.kind&&(i=[...a(e.data,new Set)].concat(i)),"mutation"===e.operation.kind||"subscription"===e.operation.kind){for(var s=new Set,u=0;u<i.length;u++){var l=i[u],c=o.get(l);for(var f of(c||o.set(l,c=new Set),c.values()))s.add(f);c.clear()}for(var d of s.values())n.has(d)&&(r=n.get(d).operation,n.delete(d),g(t,r))}else if("query"===r.kind&&e.data){n.set(r.key,e);for(var h=0;h<i.length;h++){var p=i[h],v=o.get(p);v||o.set(p,v=new Set),v.add(r.key)}}}})(e((0,i.hX)(e=>"query"!==e.kind||"cache-only"!==e.context.requestPolicy)((0,i.UI)(e=>e)((0,i.TS)([(0,i.UI)(v)((0,i.hX)(e=>!p(e)&&!s(e))(r)),(0,i.hX)(e=>p(e))(r)])))));return(0,i.TS)([u,l])}},g=(e,t)=>e.reexecuteOperation(d(t.kind,t,{requestPolicy:"network-only"})),m=new Set,b=(e={})=>{var t=!!e.staleWhileRevalidate,r=!!e.includeExtensions,n={},a=[],s=e=>{a.push(e.operation.key),1===a.length&&Promise.resolve().then(()=>{for(var e;e=a.shift();)n[e]=null})},u=({client:a,forward:u})=>l=>{var c=e&&"boolean"==typeof e.isClient?!!e.isClient:!a.suspense,f=u((0,i.UI)(v)((0,i.hX)(e=>"teardown"===e.kind||!n[e.key]||!!n[e.key].hasNext||"network-only"===e.context.requestPolicy)(l))),d=(0,i.UI)(e=>{var i,s=(i=n[e.key],{operation:e,data:i.data?JSON.parse(i.data):void 0,extensions:r&&i.extensions?JSON.parse(i.extensions):void 0,error:i.error?new o.C({networkError:i.error.networkError?Error(i.error.networkError):void 0,graphQLErrors:i.error.graphQLErrors}):void 0,stale:!1,hasNext:!!i.hasNext});return t&&!m.has(e.key)&&(s.stale=!0,m.add(e.key),g(a,e)),{...s,operation:e}})((0,i.hX)(e=>"teardown"!==e.kind&&!!n[e.key]&&"network-only"!==e.context.requestPolicy)(l));return c?d=(0,i.bw)(s)(d):f=(0,i.bw)(e=>{var{operation:t}=e;if("mutation"!==t.kind){var o,i=(o={data:JSON.stringify(e.data),hasNext:e.hasNext},void 0!==e.data&&(o.data=JSON.stringify(e.data)),r&&void 0!==e.extensions&&(o.extensions=JSON.stringify(e.extensions)),e.error&&(o.error={graphQLErrors:e.error.graphQLErrors.map(e=>e.path||e.extensions?{message:e.message,path:e.path,extensions:e.extensions}:e.message)},e.error.networkError&&(o.error.networkError=""+e.error.networkError)),o);n[t.key]=i}})(f),(0,i.TS)([f,d])};return u.restoreData=e=>{for(var t in e)null!==n[t]&&(n[t]=e[t])},u.extractData=()=>{var e={};for(var t in n)null!=n[t]&&(e[t]=n[t]);return e},e&&e.initialState&&u.restoreData(e.initialState),u},w=({forward:e,dispatchDebug:t})=>t=>{var r=(0,i.zg)(e=>{var r=(0,o.m)(e),n=(0,o.d)(e,r),a=(0,o.e)(e,r);return(0,i.Rs)((0,i.hX)(t=>"teardown"===t.kind&&t.key===e.key)(t))((0,o.f)(e,n,a))})((0,i.hX)(e=>"teardown"!==e.kind&&("subscription"!==e.kind||!!e.context.fetchSubscriptions))(t)),n=e((0,i.hX)(e=>"teardown"===e.kind||"subscription"===e.kind&&!e.context.fetchSubscriptions)(t));return(0,i.TS)([r,n])},x=e=>({client:t,forward:r,dispatchDebug:n})=>e.reduceRight((e,r)=>r({client:t,forward:t=>(0,i.BN)(e((0,i.BN)(t))),dispatchDebug(e){}}),r),_=({onOperation:e,onResult:t,onError:r})=>({forward:n})=>o=>(0,i.zg)(e=>{r&&e.error&&r(e.error,e.operation);var n=t&&t(e)||e;return"then"in n?(0,i.p4)(n):(0,i._A)(n)})(n((0,i.zg)(t=>{var r=e&&e(t)||t;return"then"in r?(0,i.p4)(r):(0,i._A)(r)})(o))),S=({dispatchDebug:e})=>e=>(0,i.hX)(e=>!1)(e),E=function e(t){var r=0,n=new Map,a=new Map,s=new Set,u=[],l={url:t.url,fetchSubscriptions:t.fetchSubscriptions,fetchOptions:t.fetchOptions,fetch:t.fetch,preferGetMethod:t.preferGetMethod,requestPolicy:t.requestPolicy||"cache-first"},p=(0,i.nN)();function v(e){"mutation"!==e.kind&&"teardown"!==e.kind&&s.has(e.key)||("teardown"===e.kind?s.delete(e.key):"mutation"!==e.kind&&s.add(e.key),p.next(e))}var y=!1;function g(e){if(e&&v(e),!y){for(y=!0;y&&(e=u.shift());)v(e);y=!1}}var m=e=>{var r=(0,i.Rs)((0,i.hX)(t=>"teardown"===t.kind&&t.key===e.key)(p.source))((0,i.hX)(t=>t.operation.kind===e.kind&&t.operation.key===e.key&&(!t.operation.context._instance||t.operation.context._instance===e.context._instance))(_));return t.maskTypename&&(r=(0,i.UI)(e=>({...e,data:c(e.data,!0)}))(r)),r="query"!==e.kind?(0,i.oE)(e=>!!e.hasNext,!0)(r):(0,i.wt)(t=>{var r=(0,i._A)(t);return t.stale||t.hasNext?r:(0,i.TS)([r,(0,i.UI)(()=>(t.stale=!0,t))((0,i.qn)(1)((0,i.hX)(t=>t.key===e.key)(p.source)))])})(r),r="mutation"!==e.kind?(0,i.ok)(()=>{s.delete(e.key),n.delete(e.key),a.delete(e.key),y=!1;for(var t=u.length-1;t>=0;t--)u[t].key===e.key&&u.splice(t,1);v(d("teardown",e,e.context))})((0,i.Mq)(t=>{if(t.stale){for(var r of u)if(r.key===t.operation.key){s.delete(r.key);break}}else t.hasNext||s.delete(e.key);n.set(e.key,t)})(r)):(0,i.Hr)(()=>{v(e)})(r),(0,i.BN)(r)},b=Object.assign(this instanceof e?this:Object.create(e.prototype),{suspense:!!t.suspense,operations$:p.source,reexecuteOperation(e){if("teardown"===e.kind)g(e);else if("mutation"===e.kind||a.has(e.key)){for(var t=!1,r=0;r<u.length;r++)t=t||u[r].key===e.key;t||s.delete(e.key),u.push(e),Promise.resolve().then(g)}},createRequestOperation:(e,t,n)=>(n||(n={}),d(e,t,{_instance:"mutation"===e?r=r+1|0:void 0,...l,...n,requestPolicy:n.requestPolicy||l.requestPolicy,suspense:n.suspense||!1!==n.suspense&&b.suspense})),executeRequestOperation:e=>"mutation"===e.kind?f(m(e)):f((0,i.Vo)(()=>{var t=a.get(e.key);t||a.set(e.key,t=m(e)),t=(0,i.Hr)(()=>{g(e)})(t);var r=n.get(e.key);return"query"===e.kind&&r&&(r.stale||r.hasNext)?(0,i.wt)(i._A)((0,i.TS)([t,(0,i.hX)(t=>t===n.get(e.key))((0,i._A)(r))])):t})),executeQuery(e,t){var r=b.createRequestOperation("query",e,t);return b.executeRequestOperation(r)},executeSubscription(e,t){var r=b.createRequestOperation("subscription",e,t);return b.executeRequestOperation(r)},executeMutation(e,t){var r=b.createRequestOperation("mutation",e,t);return b.executeRequestOperation(r)},readQuery(e,t,r){var n=null;return(0,i.Ld)(e=>{n=e})(b.query(e,t,r)).unsubscribe(),n},query:(e,t,r)=>b.executeQuery((0,o.h)(e,t),r),subscription:(e,t,r)=>b.executeSubscription((0,o.h)(e,t),r),mutation:(e,t,r)=>b.executeMutation((0,o.h)(e,t),r)}),w=x(t.exchanges),_=(0,i.BN)(w({client:b,dispatchDebug:h,forward:S({dispatchDebug:h})})(p.source));return(0,i.nY)(_),b}},3885:function(e,t,r){"use strict";let n;r.d(t,{DS:function(){return z}});var o=r(48764).lW;let i="3.6.0",a="function"==typeof atob,s="function"==typeof btoa,u="function"==typeof o,l="function"==typeof TextDecoder?new TextDecoder:void 0,c="function"==typeof TextEncoder?new TextEncoder:void 0,f=[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],d=(n={},f.forEach((e,t)=>n[e]=t),n),h=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,p=String.fromCharCode.bind(String),v="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return new Uint8Array(Array.prototype.slice.call(e,0).map(t))},y=e=>e.replace(/[+\/]/g,e=>"+"==e?"-":"_").replace(/=+$/m,""),g=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),m=e=>{let t,r,n,o,i="",a=e.length%3;for(let a=0;a<e.length;){if((r=e.charCodeAt(a++))>255||(n=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw TypeError("invalid character found");i+=f[(t=r<<16|n<<8|o)>>18&63]+f[t>>12&63]+f[t>>6&63]+f[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},b=s?e=>btoa(e):u?e=>o.from(e,"binary").toString("base64"):m,w=u?e=>o.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(p.apply(null,e.subarray(r,r+4096)));return b(t.join(""))},x=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?y(w(e)):w(e)},_=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?p(192|t>>>6)+p(128|63&t):p(224|t>>>12&15)+p(128|t>>>6&63)+p(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return p(240|t>>>18&7)+p(128|t>>>12&63)+p(128|t>>>6&63)+p(128|63&t)},S=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,E=e=>e.replace(S,_),k=u?e=>o.from(e,"utf8").toString("base64"):c?e=>w(c.encode(e)):e=>b(E(e)),O=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?y(k(e)):k(e)},A=e=>O(e,!0),I=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,N=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return p((t>>>10)+55296)+p((1023&t)+56320);case 3:return p((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return p((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},T=e=>e.replace(I,N),C=e=>{if(e=e.replace(/\s+/g,""),!h.test(e))throw TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,r="",n,o;for(let i=0;i<e.length;)t=d[e.charAt(i++)]<<18|d[e.charAt(i++)]<<12|(n=d[e.charAt(i++)])<<6|(o=d[e.charAt(i++)]),r+=64===n?p(t>>16&255):64===o?p(t>>16&255,t>>8&255):p(t>>16&255,t>>8&255,255&t);return r},P=a?e=>atob(g(e)):u?e=>o.from(e,"base64").toString("binary"):C,j=u?e=>v(o.from(e,"base64")):e=>v(P(e),e=>e.charCodeAt(0)),R=e=>j(L(e)),M=u?e=>o.from(e,"base64").toString("utf8"):l?e=>l.decode(j(e)):e=>T(P(e)),L=e=>g(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),D=e=>M(L(e)),q=e=>{if("string"!=typeof e)return!1;let t=e.replace(/\s+/g,"").replace(/=+$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},U=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),F=function(){let e=(e,t)=>Object.defineProperty(String.prototype,e,U(t));e("fromBase64",function(){return D(this)}),e("toBase64",function(e){return O(this,e)}),e("toBase64URI",function(){return O(this,!0)}),e("toBase64URL",function(){return O(this,!0)}),e("toUint8Array",function(){return R(this)})},B=function(){let e=(e,t)=>Object.defineProperty(Uint8Array.prototype,e,U(t));e("toBase64",function(e){return x(this,e)}),e("toBase64URI",function(){return x(this,!0)}),e("toBase64URL",function(){return x(this,!0)})},V=()=>{F(),B()},z={version:i,VERSION:i,atob:P,atobPolyfill:C,btoa:b,btoaPolyfill:m,fromBase64:D,toBase64:O,encode:O,encodeURI:A,encodeURL:A,utob:E,btou:T,decode:D,isValid:q,fromUint8Array:x,toUint8Array:R,extendString:F,extendUint8Array:B,extendBuiltins:V}},64712:function(e,t,r){"use strict";r.d(t,{A:function(){return p},x:function(){return g}});var n=r(67294),o=r(73935);!function(e,{insertAt:t}={}){if(!e||"undefined"==typeof document)return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===t&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(`html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}html[dir=rtl],[data-sonner-toaster][dir=rtl]{--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}[data-sonner-toaster][data-x-position=right]{right:max(var(--offset),env(safe-area-inset-right))}[data-sonner-toaster][data-x-position=left]{left:max(var(--offset),env(safe-area-inset-left))}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translate(-50%)}[data-sonner-toaster][data-y-position=top]{top:max(var(--offset),env(safe-area-inset-top))}[data-sonner-toaster][data-y-position=bottom]{bottom:max(var(--offset),env(safe-area-inset-bottom))}[data-sonner-toast]{--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;will-change:transform,opacity,height;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}[data-sonner-toast][data-y-position=top]{top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}[data-sonner-toast] [data-description]{font-weight:400;line-height:1.4;color:inherit}[data-sonner-toast] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast] [data-icon]>*{flex-shrink:0}[data-sonner-toast] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;transition:opacity .4s,box-shadow .2s}[data-sonner-toast] [data-button]:focus-visible{box-shadow:0 0 0 2px #0006}[data-sonner-toast] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toast][data-theme=dark] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;opacity:0;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]:focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}[data-sonner-toast] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]{opacity:1}[data-sonner-toast]:focus [data-close-button]{opacity:1}[data-sonner-toast]:focus-within [data-close-button]{opacity:1}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]:before{content:"";position:absolute;left:0;right:0;height:100%}[data-sonner-toast][data-y-position=top][data-swiping=true]:before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]:before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]:before{content:"";position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast]:after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y: translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale: var(--toasts-before) * .05 + 1;--y: translateY( calc(var(--lift-amount) * var(--toasts-before)) ) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y: translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y: translateY( calc(var(--lift) * var(--offset) + var(--lift) * -100%) );opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]:before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - 32px)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success],[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info],[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning],[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error],[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}
`);var i=e=>{switch(e){case"success":return u;case"info":return c;case"warning":return l;case"error":return f;default:return null}},a=Array(12).fill(0),s=({visible:e})=>n.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},n.createElement("div",{className:"sonner-spinner"},a.map((e,t)=>n.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),u=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),l=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),c=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),f=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),d=1,h=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:r,...n}=e,o="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:d++,i=this.toasts.find(e=>e.id===o),a=void 0===e.dismissible||e.dismissible;return i?this.toasts=this.toasts.map(t=>t.id===o?(this.publish({...t,...e,id:o,title:r}),{...t,...e,id:o,dismissible:a,title:r}):t):this.addToast({title:r,...n,dismissible:a,id:o}),o},this.dismiss=e=>(e||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{let r;if(!t)return;void 0!==t.loading&&(r=this.create({...t,promise:e,type:"loading",message:t.loading}));let n=e instanceof Promise?e:e(),o=void 0!==r;return n.then(e=>{if(void 0!==t.success){o=!1;let n="function"==typeof t.success?t.success(e):t.success;this.create({id:r,type:"success",message:n})}}).catch(e=>{if(void 0!==t.error){o=!1;let n="function"==typeof t.error?t.error(e):t.error;this.create({id:r,type:"error",message:n})}}).finally(()=>{var e;o&&(this.dismiss(r),r=void 0),null==(e=t.finally)||e.call(t)}),r},this.custom=(e,t)=>{let r=(null==t?void 0:t.id)||d++;return this.publish({jsx:e(r),id:r,...t}),r},this.subscribers=[],this.toasts=[]}},p=Object.assign((e,t)=>{let r=(null==t?void 0:t.id)||d++;return h.addToast({title:e,...t,id:r}),r},{success:h.success,info:h.info,warning:h.warning,error:h.error,custom:h.custom,message:h.message,promise:h.promise,dismiss:h.dismiss,loading:h.loading}),v=e=>{let{invert:t,toast:r,interacting:o,setHeights:a,visibleToasts:u,heights:l,index:c,toasts:f,expanded:d,removeToast:h,closeButton:p,style:v,className:y="",descriptionClassName:g="",duration:m,position:b,gap:w=14,expandByDefault:x}=e,[_,S]=n.useState(!1),[E,k]=n.useState(!1),[O,A]=n.useState(!1),[I,N]=n.useState(!1),[T,C]=n.useState(0),[P,j]=n.useState(0),R=n.useRef(null),M=n.useRef(null),L=r.type,D=!1!==r.dismissible,q=r.className||"",U=r.descriptionClassName||"",F=n.useMemo(()=>l.findIndex(e=>e.toastId===r.id)||0,[l,r.id]),B=n.useMemo(()=>r.duration||m||4e3,[r.duration,m]),V=n.useRef(0),z=n.useRef(0),W=(n.useRef(B),n.useRef(0)),X=n.useRef(null),[Y,$]=b.split("-"),K=n.useMemo(()=>l.reduce((e,t,r)=>r>=F?e:e+t.height,0),[l,F]),J=r.invert||t,G="loading"===L;z.current=n.useMemo(()=>F*w+K,[F,K]),n.useEffect(()=>{S(!0)},[]),n.useLayoutEffect(()=>{if(!_)return;let e=M.current,t=e.style.height;e.style.height="auto";let n=e.getBoundingClientRect().height;e.style.height=t,j(n),a(e=>e.find(e=>e.toastId===r.id)?e.map(e=>e.toastId===r.id?{...e,height:n}:e):[{toastId:r.id,height:n},...e])},[_,r.title,r.description,a,r.id]);let H=n.useCallback(()=>{k(!0),C(z.current),a(e=>e.filter(e=>e.toastId!==r.id)),setTimeout(()=>{h(r)},200)},[r,h,a,z]);return n.useEffect(()=>{if(r.promise&&"loading"===L||r.duration===1/0)return;let e,t=B;return d||o?(W.current<V.current&&(t-=new Date().getTime()-V.current),W.current=new Date().getTime()):(V.current=new Date().getTime(),e=setTimeout(()=>{var e;null==(e=r.onAutoClose)||e.call(r,r),H()},t)),()=>clearTimeout(e)},[d,o,x,r,B,H,r.promise,L]),n.useEffect(()=>{let e=M.current;if(e){let t=e.getBoundingClientRect().height;return j(t),a(e=>[{toastId:r.id,height:t},...e]),()=>a(e=>e.filter(e=>e.toastId!==r.id))}},[a,r.id]),n.useEffect(()=>{r.delete&&H()},[H,r.delete]),n.createElement("li",{"aria-live":r.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:M,className:y+" "+q,"data-sonner-toast":"","data-styled":!(r.jsx||r.unstyled),"data-mounted":_,"data-promise":!!r.promise,"data-removed":E,"data-visible":c+1<=u,"data-y-position":Y,"data-x-position":$,"data-index":c,"data-front":0===c,"data-swiping":O,"data-dismissible":D,"data-type":L,"data-invert":J,"data-swipe-out":I,"data-expanded":!!(d||x&&_),style:{"--index":c,"--toasts-before":c,"--z-index":f.length-c,"--offset":`${E?T:z.current}px`,"--initial-height":x?"auto":`${P}px`,...v,...r.style},onPointerDown:e=>{G||!D||(R.current=new Date,C(z.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(A(!0),X.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n,o;if(I||!D)return;X.current=null;let i=Number((null==(e=M.current)?void 0:e.style.getPropertyValue("--swipe-amount").replace("px",""))||0),a=new Date().getTime()-(null==(t=R.current)?void 0:t.getTime());if(Math.abs(i)>=20||Math.abs(i)/a>.11){C(z.current),null==(n=r.onDismiss)||n.call(r,r),H(),N(!0);return}null==(o=M.current)||o.style.setProperty("--swipe-amount","0px"),A(!1)},onPointerMove:e=>{var t;if(!X.current||!D)return;let r=e.clientY-X.current.y,n=e.clientX-X.current.x,o=("top"===Y?Math.min:Math.max)(0,r),i="touch"===e.pointerType?10:2;Math.abs(o)>i?null==(t=M.current)||t.style.setProperty("--swipe-amount",`${r}px`):Math.abs(n)>i&&(X.current=null)}},p&&!r.jsx?n.createElement("button",{"aria-label":"Close toast","data-disabled":G,"data-close-button":!0,onClick:G||!D?()=>{}:()=>{var e;H(),null==(e=r.onDismiss)||e.call(r,r)}},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},n.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),n.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,r.jsx||n.isValidElement(r.title)?r.jsx||r.title:n.createElement(n.Fragment,null,L||r.icon||r.promise?n.createElement("div",{"data-icon":""},(r.promise||"loading"===r.type)&&!r.icon?n.createElement(s,{visible:"loading"===L}):null,r.icon||i(L)):null,n.createElement("div",{"data-content":""},n.createElement("div",{"data-title":""},r.title),r.description?n.createElement("div",{"data-description":"",className:g+U},r.description):null),r.cancel?n.createElement("button",{"data-button":!0,"data-cancel":!0,onClick:()=>{var e;D&&(H(),null!=(e=r.cancel)&&e.onClick&&r.cancel.onClick())}},r.cancel.label):null,r.action?n.createElement("button",{"data-button":"",onClick:e=>{var t;null==(t=r.action)||t.onClick(e),e.defaultPrevented||H()}},r.action.label):null))};function y(){if("undefined"==typeof window)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}var g=e=>{let{invert:t,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:a,closeButton:s,className:u,offset:l,theme:c="light",richColors:f,duration:d,style:p,visibleToasts:g=3,toastOptions:m,dir:b=y(),gap:w}=e,[x,_]=n.useState([]),S=n.useMemo(()=>Array.from(new Set([r].concat(x.filter(e=>e.position).map(e=>e.position)))),[x,r]),[E,k]=n.useState([]),[O,A]=n.useState(!1),[I,N]=n.useState(!1),[T,C]=n.useState("system"!==c?c:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),P=n.useRef(null),j=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=n.useRef(null),M=n.useRef(!1),L=n.useCallback(e=>_(t=>t.filter(({id:t})=>t!==e.id)),[]);return n.useEffect(()=>h.subscribe(e=>{if(e.dismiss){_(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t));return}setTimeout(()=>{o.flushSync(()=>{_(t=>{let r=t.findIndex(t=>t.id===e.id);return -1!==r?[...t.slice(0,r),{...t[r],...e},...t.slice(r+1)]:[e,...t]})})})}),[]),n.useEffect(()=>{if("system"!==c){C(c);return}"system"===c&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?C("dark"):C("light")),"undefined"!=typeof window&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:e})=>{C(e?"dark":"light")})},[c]),n.useEffect(()=>{x.length<=1&&A(!1)},[x]),n.useEffect(()=>{let e=e=>{var t,r;i.every(t=>e[t]||e.code===t)&&(A(!0),null==(t=P.current)||t.focus()),"Escape"===e.code&&(document.activeElement===P.current||null!=(r=P.current)&&r.contains(document.activeElement))&&A(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[i]),n.useEffect(()=>{if(P.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,M.current=!1)}},[P.current]),x.length?n.createElement("section",{"aria-label":`Notifications ${j}`,tabIndex:-1},S.map((e,r)=>{var o;let[i,c]=e.split("-");return n.createElement("ol",{key:e,dir:"auto"===b?y():b,tabIndex:-1,ref:P,className:u,"data-sonner-toaster":!0,"data-theme":T,"data-rich-colors":f,"data-y-position":i,"data-x-position":c,style:{"--front-toast-height":`${null==(o=E[0])?void 0:o.height}px`,"--offset":"number"==typeof l?`${l}px`:l||"32px","--width":"356px","--gap":"14px",...p},onBlur:e=>{M.current&&!e.currentTarget.contains(e.relatedTarget)&&(M.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||M.current||(M.current=!0,R.current=e.relatedTarget)},onMouseEnter:()=>A(!0),onMouseMove:()=>A(!0),onMouseLeave:()=>{I||A(!1)},onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||N(!0)},onPointerUp:()=>N(!1)},x.filter(t=>!t.position&&0===r||t.position===e).map((r,o)=>{var i;return n.createElement(v,{key:r.id,index:o,toast:r,duration:null!=(i=null==m?void 0:m.duration)?i:d,className:null==m?void 0:m.className,descriptionClassName:null==m?void 0:m.descriptionClassName,invert:t,visibleToasts:g,closeButton:s,interacting:I,position:e,style:null==m?void 0:m.style,removeToast:L,toasts:x,heights:E,setHeights:k,expandByDefault:a,gap:w,expanded:O})}))})):null}},8100:function(e,t,r){"use strict";r.d(t,{J$:function(){return Y},ZP:function(){return $}});var n,o=r(67294);/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function i(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})}function a(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var s=function(){},u=s(),l=Object,c=function(e){return e===u},f=function(e){return"function"==typeof e},d=function(e,t){return l.assign({},e,t)},h="undefined",p=function(){return typeof window!=h},v=new WeakMap,y=0,g=function(e){var t,r,n=typeof e,o=e&&e.constructor,i=o==Date;if(l(e)!==e||i||o==RegExp)t=i?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=v.get(e))return t;if(t=++y+"~",v.set(e,t),o==Array){for(r=0,t="@";r<e.length;r++)t+=g(e[r])+",";v.set(e,t)}if(o==l){t="#";for(var a=l.keys(e).sort();!c(r=a.pop());)c(e[r])||(t+=r+":"+g(e[r])+",");v.set(e,t)}}return t},m=!0,b=p(),w=typeof document!=h,x=b&&window.addEventListener?window.addEventListener.bind(window):s,_=w?document.addEventListener.bind(document):s,S=b&&window.removeEventListener?window.removeEventListener.bind(window):s,E=w?document.removeEventListener.bind(document):s,k={initFocus:function(e){return _("visibilitychange",e),x("focus",e),function(){E("visibilitychange",e),S("focus",e)}},initReconnect:function(e){var t=function(){m=!0,e()},r=function(){m=!1};return x("online",t),x("offline",r),function(){S("online",t),S("offline",r)}}},O=!p()||"Deno"in window,A=O?o.useEffect:o.useLayoutEffect,I="undefined"!=typeof navigator&&navigator.connection,N=!O&&I&&(["slow-2g","2g"].includes(I.effectiveType)||I.saveData),T=function(e){if(f(e))try{e=e()}catch(t){e=""}var t=[].concat(e),r=(e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?g(e):"")?"$swr$"+e:"";return[e,t,r]},C=new WeakMap,P=function(e,t,r,n,o,i,a){void 0===a&&(a=!0);var s=C.get(e),u=s[0],l=s[1],c=s[3],f=u[t],d=l[t];if(a&&d)for(var h=0;h<d.length;++h)d[h](r,n,o);return i&&(delete c[t],f&&f[0])?f[0](2).then(function(){return e.get(t)}):e.get(t)},j=0,R=function(){return++j},M=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(void 0,void 0,void 0,function(){var t,r,n,o,i,s,l,h,p,v,y,g,m,b,w,x,_,S,E,k;return a(this,function(a){switch(a.label){case 0:if(t=e[0],r=e[1],n=e[2],s=!!c((i="boolean"==typeof(o=e[3])?{revalidate:o}:o||{}).populateCache)||i.populateCache,l=!1!==i.revalidate,h=!1!==i.rollbackOnError,p=i.optimisticData,y=(v=T(r))[0],g=v[2],!y)return[2];if(m=C.get(t)[2],e.length<3)return[2,P(t,y,t.get(y),u,u,l,!0)];if(b=n,x=R(),m[y]=[x,0],_=!c(p),S=t.get(y),_&&(E=f(p)?p(S):p,t.set(y,E),P(t,y,E)),f(b))try{b=b(t.get(y))}catch(e){w=e}if(!(b&&f(b.then)))return[3,2];return[4,b.catch(function(e){w=e})];case 1:if(b=a.sent(),x!==m[y][0]){if(w)throw w;return[2,b]}w&&_&&h&&(s=!0,b=S,t.set(y,S)),a.label=2;case 2:return s&&(w||(f(s)&&(b=s(b,S)),t.set(y,b)),t.set(g,d(t.get(g),{error:w}))),m[y][1]=R(),[4,P(t,y,b,w,u,l,!!s)];case 3:if(k=a.sent(),w)throw w;return[2,s?k:b]}})})},L=function(e,t){for(var r in e)e[r][0]&&e[r][0](t)},D=function(e,t){if(!C.has(e)){var r=d(k,t),n={},o=M.bind(u,e),i=s;if(C.set(e,[n,{},{},{},o]),!O){var a=r.initFocus(setTimeout.bind(u,L.bind(u,n,0))),l=r.initReconnect(setTimeout.bind(u,L.bind(u,n,1)));i=function(){a&&a(),l&&l(),C.delete(e)}}return[e,o,i]}return[e,C.get(e)[4]]},q=D(new Map),U=q[0],F=d({onLoadingSlow:s,onSuccess:s,onError:s,onErrorRetry:function(e,t,r,n,o){var i=r.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;(c(i)||!(a>i))&&setTimeout(n,s,o)},onDiscarded:s,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:N?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:N?5e3:3e3,compare:function(e,t){return g(e)==g(t)},isPaused:function(){return!1},cache:U,mutate:q[1],fallback:{}},{isOnline:function(){return m},isVisible:function(){var e=w&&document.visibilityState;return c(e)||"hidden"!==e}}),B=function(e,t){var r=d(e,t);if(t){var n=e.use,o=e.fallback,i=t.use,a=t.fallback;n&&i&&(r.use=n.concat(i)),o&&a&&(r.fallback=d(o,a))}return r},V=(0,o.createContext)({}),z=function(e,t){var r=(0,o.useState)({})[1],n=(0,o.useRef)(e),i=(0,o.useRef)({data:!1,error:!1,isValidating:!1}),a=(0,o.useCallback)(function(e){var o=!1,a=n.current;for(var s in e){var u=s;a[u]!==e[u]&&(a[u]=e[u],i.current[u]&&(o=!0))}o&&!t.current&&r({})},[]);return A(function(){n.current=e}),[n,i.current,a]},W=function(e,t,r){var n=t[e]||(t[e]=[]);return n.push(r),function(){var e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}},X={dedupe:!0},Y=l.defineProperty(function(e){var t=e.value,r=B((0,o.useContext)(V),t),n=t&&t.provider,i=(0,o.useState)(function(){return n?D(n(r.cache||U),t):u})[0];return i&&(r.cache=i[0],r.mutate=i[1]),A(function(){return i?i[2]:u},[]),(0,o.createElement)(V.Provider,d(e,{value:r}))},"default",{value:F}),$=(n=function(e,t,r){var n=r.cache,s=r.compare,l=r.fallbackData,v=r.suspense,y=r.revalidateOnMount,g=r.refreshInterval,m=r.refreshWhenHidden,b=r.refreshWhenOffline,w=C.get(n),x=w[0],_=w[1],S=w[2],E=w[3],k=T(e),I=k[0],N=k[1],j=k[2],L=(0,o.useRef)(!1),D=(0,o.useRef)(!1),q=(0,o.useRef)(I),U=(0,o.useRef)(t),F=(0,o.useRef)(r),B=function(){return F.current},V=function(){return B().isVisible()&&B().isOnline()},Y=function(e){return n.set(j,d(n.get(j),e))},$=n.get(I),K=c(l)?r.fallback[I]:l,J=c($)?K:$,G=n.get(j)||{},H=G.error,Q=!L.current,Z=function(){return Q&&!c(y)?y:!B().isPaused()&&(v?!c(J)&&r.revalidateIfStale:c(J)||r.revalidateIfStale)},ee=!!I&&!!t&&(!!G.isValidating||Q&&Z()),et=z({data:J,error:H,isValidating:ee},D),er=et[0],en=et[1],eo=et[2],ei=(0,o.useCallback)(function(e){return i(void 0,void 0,void 0,function(){var t,o,i,l,d,h,p,v,y,g,m,b,w;return a(this,function(a){switch(a.label){case 0:if(t=U.current,!I||!t||D.current||B().isPaused())return[2,!1];l=!0,d=e||{},h=!E[I]||!d.dedupe,p=function(){return!D.current&&I===q.current&&L.current},v=function(){var e=E[I];e&&e[1]===i&&delete E[I]},y={isValidating:!1},g=function(){Y({isValidating:!1}),p()&&eo(y)},Y({isValidating:!0}),eo({isValidating:!0}),a.label=1;case 1:return a.trys.push([1,3,,4]),h&&(P(n,I,er.current.data,er.current.error,!0),r.loadingTimeout&&!n.get(I)&&setTimeout(function(){l&&p()&&B().onLoadingSlow(I,r)},r.loadingTimeout),E[I]=[t.apply(void 0,N),R()]),o=(w=E[I])[0],i=w[1],[4,o];case 2:if(o=a.sent(),h&&setTimeout(v,r.dedupingInterval),!E[I]||E[I][1]!==i)return h&&p()&&B().onDiscarded(I),[2,!1];if(Y({error:u}),y.error=u,!c(m=S[I])&&(i<=m[0]||i<=m[1]||0===m[1]))return g(),h&&p()&&B().onDiscarded(I),[2,!1];return s(er.current.data,o)?y.data=er.current.data:y.data=o,s(n.get(I),o)||n.set(I,o),h&&p()&&B().onSuccess(o,I,r),[3,4];case 3:return b=a.sent(),v(),!B().isPaused()&&(Y({error:b}),y.error=b,h&&p()&&(B().onError(b,I,r),("boolean"==typeof r.shouldRetryOnError&&r.shouldRetryOnError||f(r.shouldRetryOnError)&&r.shouldRetryOnError(b))&&V()&&B().onErrorRetry(b,I,r,ei,{retryCount:(d.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return l=!1,g(),p()&&h&&P(n,I,y.data,y.error,!1),[2,!0]}})})},[I]),ea=(0,o.useCallback)(M.bind(u,n,function(){return q.current}),[]);if(A(function(){U.current=t,F.current=r}),A(function(){if(I){var e=I!==q.current,t=ei.bind(u,X),r=0,n=W(I,_,function(e,t,r){eo(d({error:t,isValidating:r},s(er.current.data,e)?u:{data:e}))}),o=W(I,x,function(e){if(0==e){var n=Date.now();B().revalidateOnFocus&&n>r&&V()&&(r=n+B().focusThrottleInterval,t())}else if(1==e)B().revalidateOnReconnect&&V()&&t();else if(2==e)return ei()});return D.current=!1,q.current=I,L.current=!0,e&&eo({data:J,error:H,isValidating:ee}),Z()&&(c(J)||O?t():p()&&typeof window.requestAnimationFrame!=h?window.requestAnimationFrame(t):setTimeout(t,1)),function(){D.current=!0,n(),o()}}},[I,ei]),A(function(){var e;function t(){var t=f(g)?g(J):g;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!er.current.error&&(m||B().isVisible())&&(b||B().isOnline())?ei(X).then(t):t()}return t(),function(){e&&(clearTimeout(e),e=-1)}},[g,m,b,ei]),(0,o.useDebugValue)(J),v&&c(J)&&I)throw U.current=t,F.current=r,D.current=!1,c(H)?ei(X):H;return{mutate:ea,get data(){return en.data=!0,J},get error(){return en.error=!0,H},get isValidating(){return en.isValidating=!0,ee}}},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=d(F,(0,o.useContext)(V)),i=f(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],a=i[0],s=i[1],u=B(r,i[2]),l=n,c=u.use;if(c)for(var h=c.length;h-- >0;)l=c[h](l);return l(a,s||u.fetcher,u)})},63496:function(e,t,r){"use strict";r.d(t,{BN:function(){return p},Hr:function(){return h},Ld:function(){return A},Mq:function(){return d},Rs:function(){return g},TS:function(){return c},UI:function(){return u},Vi:function(){return N},Vo:function(){return b},_A:function(){return _},bw:function(){return d},cS:function(){return k},fY:function(){return w},hX:function(){return s},nI:function(){return x},nN:function(){return E},nY:function(){return I},oE:function(){return m},ok:function(){return f},p4:function(){return O},qn:function(){return y},wt:function(){return v},zg:function(){return l}});var n=()=>{};function o(e){return{tag:0,0:e}}function i(e){return{tag:1,0:e}}var a=e=>e;function s(e){return t=>r=>{var o=n;t(t=>{0===t?r(0):0===t.tag?(o=t[0],r(t)):e(t[0])?r(t):o(0)})}}function u(e){return t=>r=>t(t=>{0===t||0===t.tag?r(t):r(i(e(t[0])))})}function l(e){return t=>r=>{var i=[],a=n,s=!1,u=!1;t(t=>{if(u);else if(0===t)u=!0,i.length||r(0);else if(0===t.tag)a=t[0];else{var o,l;s=!1,o=e(t[0]),l=n,o(e=>{if(0===e){if(i.length){var t=i.indexOf(l);t>-1&&(i=i.slice()).splice(t,1),i.length||(u?r(0):s||(s=!0,a(0)))}}else 0===e.tag?(i.push(l=e[0]),l(0)):i.length&&(r(e),l(0))}),s||(s=!0,a(0))}}),r(o(e=>{if(1===e){u||(u=!0,a(1));for(var t=0,r=i,n=i.length;t<n;t++)r[t](1);i.length=0}else{u||s?s=!1:(s=!0,a(0));for(var o=0,l=i,c=i.length;o<c;o++)l[o](0)}}))}}function c(e){var t;return t=x(e),l(a)(t)}function f(e){return t=>r=>{var n=!1;t(t=>{if(n);else if(0===t)n=!0,r(0),e();else if(0===t.tag){var i=t[0];r(o(t=>{1===t?(n=!0,i(1),e()):i(t)}))}else r(t)})}}function d(e){return t=>r=>{var n=!1;t(t=>{if(n);else if(0===t)n=!0,r(0);else if(0===t.tag){var i=t[0];r(o(e=>{1===e&&(n=!0),i(e)}))}else e(t[0]),r(t)})}}function h(e){return t=>r=>t(t=>{0===t?r(0):0===t.tag?(r(t),e()):r(t)})}function p(e){var t=[],r=n,i=!1;return n=>{t.push(n),1===t.length&&e(e=>{if(0===e){for(var n=0,o=t,a=t.length;n<a;n++)o[n](0);t.length=0}else if(0===e.tag)r=e[0];else{i=!1;for(var s=0,u=t,l=t.length;s<l;s++)u[s](e)}}),n(o(e=>{if(1===e){var o=t.indexOf(n);o>-1&&(t=t.slice()).splice(o,1),t.length||r(1)}else i||(i=!0,r(0))}))}}function v(e){return t=>r=>{var i=n,a=n,s=!1,u=!1,l=!1,c=!1;t(t=>{c||(0===t?(c=!0,l||r(0)):0===t.tag?i=t[0]:(l&&(a(1),a=n),s?s=!1:(s=!0,i(0)),l=!0,e(t[0])(e=>{l&&(0===e?(l=!1,c?r(0):s||(s=!0,i(0))):0===e.tag?(u=!1,(a=e[0])(0)):(r(e),u?u=!1:a(0)))})))}),r(o(e=>{1===e?(c||(c=!0,i(1)),l&&(l=!1,a(1))):(c||s||(s=!0,i(0)),l&&!u&&(u=!0,a(0)))}))}}function y(e){return t=>r=>{var i=n,a=!1,s=0;t(t=>{a||(0===t?(a=!0,r(0)):0===t.tag?e<=0?(a=!0,r(0),t[0](1)):i=t[0]:s++<e?(r(t),!a&&s>=e&&(a=!0,r(0),i(1))):r(t))}),r(o(t=>{1!==t||a?0===t&&!a&&s<e&&i(0):(a=!0,i(1))}))}}function g(e){return t=>r=>{var i=n,a=n,s=!1;t(t=>{s||(0===t?(s=!0,a(1),r(0)):0===t.tag?(i=t[0],e(e=>{0===e||(0===e.tag?(a=e[0])(0):(s=!0,a(1),i(1),r(0)))})):r(t))}),r(o(e=>{1!==e||s?s||i(0):(s=!0,i(1),a(1))}))}}function m(e,t){return r=>o=>{var i=n,a=!1;r(r=>{a||(0===r?(a=!0,o(0)):0===r.tag?(i=r[0],o(r)):e(r[0])?o(r):(a=!0,t&&o(r),o(0),i(1)))})}}function b(e){return t=>e()(t)}function w(e){return t=>{var r,n=e[Symbol.asyncIterator](),a=!1,s=!1,u=!1;t(o(async e=>{if(1===e)a=!0,n.return&&n.return();else if(s)u=!0;else{for(u=s=!0;u&&!a;)if((r=await n.next()).done)a=!0,n.return&&await n.return(),t(0);else try{u=!1,t(i(r.value))}catch(e){if(n.throw)(a=!!(await n.throw(e)).done)&&t(0);else throw e}s=!1}}))}}var x=function(e){return e[Symbol.asyncIterator]?w(e):t=>{var r,n=e[Symbol.iterator](),a=!1,s=!1,u=!1;t(o(e=>{if(1===e)a=!0,n.return&&n.return();else if(s)u=!0;else{for(u=s=!0;u&&!a;)if((r=n.next()).done)a=!0,n.return&&n.return(),t(0);else try{u=!1,t(i(r.value))}catch(e){if(n.throw)(a=!!n.throw(e).done)&&t(0);else throw e}s=!1}}))}};function _(e){return t=>{var r=!1;t(o(n=>{1===n?r=!0:r||(r=!0,t(i(e)),t(0))}))}}function S(e){return t=>{var r=!1,n=e({next(e){r||t(i(e))},complete(){r||(r=!0,t(0))}});t(o(e=>{1!==e||r||(r=!0,n())}))}}function E(){var e,t;return{source:p(S(r=>(e=r.next,t=r.complete,n))),next(t){e&&e(t)},complete(){t&&t()}}}var k=e=>{var t=!1;e(o(r=>{1===r?t=!0:t||(t=!0,e(0))}))};function O(e){return S(t=>(e.then(e=>{Promise.resolve(e).then(()=>{t.next(e),t.complete()})}),n))}function A(e){return t=>{var r=n,o=!1;return t(t=>{0===t?o=!0:0===t.tag?(r=t[0])(0):o||(e(t[0]),r(0))}),{unsubscribe(){o||(o=!0,r(1))}}}}function I(e){A(e=>{})(e)}function N(e){return new Promise(t=>{var r,o=n;e(e=>{0===e?Promise.resolve(r).then(t):0===e.tag?(o=e[0])(0):(r=e[0],o(0))})})}},19122:function(e){"use strict";e.exports={version:"0.18.0"}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(96885)}),_N_E=e.O()}]);