1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{5415: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,o=u(e),s=o[0],a=o[1],c=new i((s+a)*3/4-a),l=0,f=a>0?s-4:s;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)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;return 2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[l++]=255&t),1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],s=0,a=n-i;s<a;s+=16383)o.push(function(e,t,n){for(var i,o=[],s=t;s<n;s+=3)o.push(r[(i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,s,s+16383>a?a:s+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s<a;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;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},5872:function(e,t,r){"use strict";let n=r(5415),i=r(551),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(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 l(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"),!a.isEncoding(t))throw TypeError("Unknown encoding: "+t);let r=0|d(e,t),n=s(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(U(e,Uint8Array)){let t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(U(e,ArrayBuffer)||e&&U(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(U(e,SharedArrayBuffer)||e&&U(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return a.from(n,t,r);let i=function(e){var t;if(a.isBuffer(e)){let t=0|p(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?s(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.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 c(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 l(e){return c(e),s(e<0?0:0|p(e))}function f(e){let t=e.length<0?0:0|p(e.length),r=s(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(e,t,r){let 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),a.prototype),n}function p(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||U(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return P(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return k(e).length;default:if(i)return n?-1:P(e).length;t=(""+t).toLowerCase(),i=!0}}function y(e,t,r){let i=!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){let n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=t;n<r;++n)i+=L[e[n]];return i}(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":var o,s;return o=t,s=r,0===o&&s===this.length?n.fromByteArray(this):n.fromByteArray(this.slice(o,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){let n=e.slice(t,r),i="";for(let e=0;e<n.length-1;
vendor: 4,506 bytes, line 1
1e+=2)i+=String.fromCharCode(n[e]+256*n[e+1]);return i}(this,t,r);default:if(i)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function g(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}function b(e,t,r,n,i){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(o=r=+r)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return -1;r=e.length-1}else if(r<0){if(!i)return -1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:m(e,t,r,n,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):m(e,[t],r,n,i);throw TypeError("val must be string, number or Buffer")}function m(e,t,r,n,i){let o,s=1,a=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;s=2,a/=2,u/=2,r/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){let n=-1;for(o=r;o<a;o++)if(c(e,o)===c(t,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===u)return n*s}else -1!==n&&(o-=o-n),n=-1}else for(r+u>a&&(r=a-u),o=r;o>=0;o--){let r=!0;for(let n=0;n<u;n++)if(c(e,o+n)!==c(t,n)){r=!1;break}if(r)return o}return -1}function v(e,t,r){r=Math.min(e.length,r);let n=[],i=t;for(;i<r;){let t=e[i],o=null,s=t>239?4:t>223?3:t>191?2:1;if(i+s<=r){let r,n,a,u;switch(s){case 1:t<128&&(o=t);break;case 2:(192&(r=e[i+1]))==128&&(u=(31&t)<<6|63&r)>127&&(o=u);break;case 3:r=e[i+1],n=e[i+2],(192&r)==128&&(192&n)==128&&(u=(15&t)<<12|(63&r)<<6|63&n)>2047&&(u<55296||u>57343)&&(o=u);break;case 4:r=e[i+1],n=e[i+2],a=e[i+3],(192&r)==128&&(192&n)==128&&(192&a)==128&&(u=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&a)>65535&&u<1114112&&(o=u)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=s}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let r="",n=0;for(;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 _(e,t,r,n,i,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function E(e,t,r,n,i){j(t,n,i,e,r,7);let o=Number(t&BigInt(4294967295));e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s,r}function C(e,t,r,n,i){j(t,n,i,e,r,7);let o=Number(t&BigInt(4294967295));e[r+7]=o,o>>=8,e[r+6]=o,o>>=8,e[r+5]=o,o>>=8,e[r+4]=o;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=s,s>>=8,e[r+2]=s,s>>=8,e[r+1]=s,s>>=8,e[r]=s,r+8}function I(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function R(e,t,r,n,o){return t=+t,r>>>=0,o||I(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function x(e,t,r,n,o){return t=+t,r>>>=0,o||I(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.lW=a,t.h2=50,a.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.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(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return(c(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return l(e)},a.allocUnsafeSlow=function(e){return l(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(U(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),U(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!
vendor: 12,506 bytes, line 1
1a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},a.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}},a.concat=function(e,t){let r;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;let n=a.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){let t=e[r];if(U(t,Uint8Array))i+t.length>n.length?(a.isBuffer(t)||(t=a.from(t)),t.copy(n,i)):Uint8Array.prototype.set.call(n,t,i);else if(a.isBuffer(t))t.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return n},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)g(this,t,t+1);return this},a.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},a.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},a.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):y.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){let e="",r=t.h2;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,i){if(U(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.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===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;let o=i-n,s=r-t,u=Math.min(o,s),c=this.slice(n,i),l=e.slice(t,r);for(let e=0;e<u;++e)if(c[e]!==l[e]){o=c[e],s=l[e];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return b(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return b(this,e,t,r,!1)},a.prototype.write=function(e,t,r,n){var i,o,s,a,u,c,l,f;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");let h=this.length-t;if((void 0===r||r>h)&&(r=h),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let p=!1;for(;;)switch(n){case"hex":return function(e,t,r,n){let i;r=Number(r)||0;let o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;let s=t.length;for(n>s/2&&(n=s/2),i=0;i<n;++i){let n=parseInt(t.substr(2*i,2),16);if(n!=n)break;e[r+i]=n}return i}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,B(P(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return s=t,a=r,B(function(e){let t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,s,a);case"base64":return u=t,c=r,B(k(e),this,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=t,f=r,B(function(e,t){let r,n;let i=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-l),this,l,f);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){let 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);let n=this.subarray(e,t);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUintLE=a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e],i=1,o=0;for(;++o<t&&(i*=256);)n+=this[e+o]*i;return n},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e+--t],i=1;for(;t>0&&(i*=256);)n+=this[e+--t]*i;return n},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.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]},a.prototype.readUint32BE=a.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])},a.prototype.readBigUInt64LE=F(function(e){$(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&S(e,this.length-8);let n=t+256*this[++e]+65536*this[++e]+16777216*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+16777216*r;return BigInt(n)+(BigInt(i)<<BigInt(32))}),a.prototype.readBigUInt64BE=F(function(e){$(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&S(e,this.length-8);let n=16777216*t+65536*this[++e]+256*this[++e]+this[++e],i=16777216*this[++e]+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)}),a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e],i=1,o=0;for(;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=t,i=1,o=this[e+--n];for(;n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.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},a.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]},a.prototype.readBigInt64LE=F(function(e){$(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&S(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+16777216*this[++e])}),a.prototype.readBigInt64BE=F(function(e){$(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&S(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(16777216*this[++e]+65536*this[++e]+256*this[++e]+r)}),a.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;_(this,e,t,r,n,0)}let i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;_(this,e,t,r,n,0)}let i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||_(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},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||_(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},a.prototype.writeBigUInt64LE=F(function(e,t=0){return E(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=F(function(e,t=0){return C(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){let n=Math.pow(2,8*r-1);_(this,e,t,r,n-1,-n)}let i=0,o=1,s=0;for(this[t]=255&e;++i<r&&(o*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/o>>0)-s&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){let n=Math.pow(2,8*r-1);_(this,e,t,r,n-1,-n)}let i=r-1,o=1,s=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/o>>0)-s&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||_(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},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||_(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},a.prototype.writeBigInt64LE=F(function(e,t=0){return E(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=F(function(e,t=0){return C(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeFloatLE=function(e,t,r){return R(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return R(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return x(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return x(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.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);let i=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),i},a.prototype.fill=function(e,t,r,n){let i;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&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){let t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}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(i=t;i<r;++i)this[i]=e;else{let o=a.isBuffer(e)?e:a.from(e,n),s=o.length;
1if(0===s)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=o[i%s]}return this};let A={};function O(e,t,r){A[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function T(e){let t="",r=e.length,n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function j(e,t,r,n,i,o){if(e>r||e<t){let n;let i="bigint"==typeof t?"n":"";throw n=o>3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${t}${i} and <= ${r}${i}`,new A.ERR_OUT_OF_RANGE("value",n,e)}$(i,"offset"),(void 0===n[i]||void 0===n[i+o])&&S(i,n.length-(o+1))}function $(e,t){if("number"!=typeof e)throw new A.ERR_INVALID_ARG_TYPE(t,"number",e)}function S(e,t,r){if(Math.floor(e)!==e)throw $(e,r),new A.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new A.ERR_BUFFER_OUT_OF_BOUNDS;throw new A.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}O("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),O("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),O("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>4294967296?i=T(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=T(i)),i+="n"),n+=` It must be ${t}. Received ${i}`},RangeError);let q=/[^+/0-9A-Za-z-_]/g;function P(e,t){let r;t=t||1/0;let n=e.length,i=null,o=[];for(let s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319||s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function k(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(q,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function B(e,t,r,n){let i;for(i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function U(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let L=function(){let e="0123456789abcdef",t=Array(256);for(let r=0;r<16;++r){let n=16*r;for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t}();function F(e){return"undefined"==typeof BigInt?D:e}function D(){throw Error("BigInt not supported")}},551:function(e,t){t.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,u=(1<<a)-1,c=u>>1,l=-7,f=r?i-1:0,h=r?-1:1,p=e[t+f];for(f+=h,o=p&(1<<-l)-1,p>>=-l,l+=a;l>0;o=256*o+e[t+f],f+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+e[t+f],f+=h,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=c}return(p?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,h=23===i?5960464477539062e-23:0,p=n?0:o-1,d=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+f>=1?t+=h/u:t+=h*Math.pow(2,1-f),t*u>=2&&(s++,u/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*u-1)*Math.pow(2,i),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[r+p]=255&a,p+=d,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;e[r+p]=255&s,p+=d,s/=256,c-=8);e[r+p-d]|=128*y}},1099:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(902)}])},990:function(e,t,r){"use strict";r.d(t,{h:function(){return n}});let n={dataset:"prod",projectId:"w7ss4wik",useCdn:"true"===r(4224).env.SANITY_FORCE_CDN,apiVersion:"2025-01-09"}},902:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return nA},reportWebVitals:function(){return nx}});var n,i,o,s=r(2676),a=r(8133),u=r(5271),c=r(3288);r(8584);let l=(0,u.lazy)(()=>r.e(646).then(r.bind(r,3646))),f=!(typeof navigator>"u")&&"ReactNative"===navigator.product,h={timeout:f?6e4:12e4},p=function(e){let t={...h,..."string"==typeof e?{url:e}:e};if(t.timeout=function e(t){if(!1===t||0===t)return!1;if(t.connect||t.socket)return t;let r=Number(t);return isNaN(r)?e(h.timeout):{connect:r,socket:r}}(t.timeout),t.query){let{url:e,searchParams:r}=function(e){let t=e.indexOf("?");if(-1===t)return{url:e,searchParams:new URLSearchParams};let r=e.slice(0,t),n=e.slice(t+1);if(!f)return{url:r,searchParams:new URLSearchParams(n)};if("function"!=typeof decodeURIComponent)throw Error("Broken `URLSearchParams` implementation, and `decodeURIComponent` is not defined");let i=new URLSearchParams;for(let e of n.split("&")){let[t,r]=e.split("=");t&&i.append(d(t),d(r||""))}return{url:r,searchParams:i}}(t.url);for(let[n,i]of Object.entries(t.query)){if(void 0!==i){if(Array.isArray(i))for(let e of i)r.append(n,e);else r.append(n,i)}let o=r.toString();o&&(t.url=`${e}?${o}`)}}return t.method=t.body&&!t.method?"POST":(t.method||"GET").toUpperCase(),t};function d(e){return decodeURIComponent(e.replace(/\+/g," "))}let y=/^https?:\/\//i,g=function(e){if(!y.test(e.url))throw Error(`"${e.url}" is not a valid URL`)},b=["request","response","progress","error","abort"],m=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];var v,w,_,E=(v=function(){if(_)return w;_=1;var e=function(e){return e.replace(/^\s+|\s+$/g,"")};return w=function(t){if(!t)return{};for(var r=Object.create(null),n=e(t).split("\n"),i=0;i<n.length;i++){var o,s=n[i],a=s.indexOf(":"),u=e(s.slice(0,a)).toLowerCase(),c=e(s.slice(a+1));typeof r[u]>"u"?r[u]=c:(o=r[u],"[object Array]"===Object.prototype.toString.call(o))?r[u].push(c):r[u]=[r[u],c]}return r}}
1())&&v.__esModule&&Object.prototype.hasOwnProperty.call(v,"default")?v.default:v;class C{onabort;onerror;onreadystatechange;ontimeout;readyState=0;response;responseText="";responseType="";status;statusText;withCredentials;#e;#t;#r;#n={};#i;#o={};#s;open(e,t,r){this.#e=e,this.#t=t,this.#r="",this.readyState=1,this.onreadystatechange?.(),this.#i=void 0}abort(){this.#i&&this.#i.abort()}getAllResponseHeaders(){return this.#r}setRequestHeader(e,t){this.#n[e]=t}setInit(e,t=!0){this.#o=e,this.#s=t}send(e){let t="arraybuffer"!==this.responseType,r={...this.#o,method:this.#e,headers:this.#n,body:e};"function"==typeof AbortController&&this.#s&&(this.#i=new AbortController,"u">typeof EventTarget&&this.#i.signal instanceof EventTarget&&(r.signal=this.#i.signal)),"u">typeof document&&(r.credentials=this.withCredentials?"include":"omit"),fetch(this.#t,r).then(e=>(e.headers.forEach((e,t)=>{this.#r+=`${t}: ${e}\r 2`}),this.status=e.status,this.statusText=e.statusText,this.readyState=3,this.onreadystatechange?.(),t?e.text():e.arrayBuffer())).then(e=>{"string"==typeof e?this.responseText=e:this.response=e,this.readyState=4,this.onreadystatechange?.()}).catch(e=>{"AbortError"!==e.name?this.onerror?.(e):this.onabort?.()})}}let I="function"==typeof XMLHttpRequest?"xhr":"fetch",R="xhr"===I?XMLHttpRequest:C,x=(e,t)=>{let r=e.options,n=e.applyMiddleware("finalizeOptions",r),i={},o=e.applyMiddleware("interceptRequest",void 0,{adapter:I,context:e});if(o){let e=setTimeout(t,0,null,o);return{abort:()=>clearTimeout(e)}}let s=new R;s instanceof C&&"object"==typeof n.fetch&&s.setInit(n.fetch,n.useAbortSignal??!0);let a=n.headers,u=n.timeout,c=!1,l=!1,f=!1;if(s.onerror=e=>{d(s instanceof C?e instanceof Error?e:Error(`Request error while attempting to reach is ${n.url}`,{cause:e}):Error(`Request error while attempting to reach is ${n.url}${e.lengthComputable?`(${e.loaded} of ${e.total} bytes transferred)`:""}`))},s.ontimeout=e=>{d(Error(`Request timeout while attempting to reach ${n.url}${e.lengthComputable?`(${e.loaded} of ${e.total} bytes transferred)`:""}`))},s.onabort=()=>{p(!0),c=!0},s.onreadystatechange=function(){u&&(p(),i.socket=setTimeout(()=>h("ESOCKETTIMEDOUT"),u.socket)),!c&&s&&4===s.readyState&&0!==s.status&&function(){if(!(c||l||f)){if(0===s.status)return void d(Error("Unknown XHR error"));p(),l=!0,t(null,{body:s.response||(""===s.responseType||"text"===s.responseType?s.responseText:""),url:n.url,method:n.method,headers:E(s.getAllResponseHeaders()),statusCode:s.status,statusMessage:s.statusText})}}()},s.open(n.method,n.url,!0),s.withCredentials=!!n.withCredentials,a&&s.setRequestHeader)for(let e in a)a.hasOwnProperty(e)&&s.setRequestHeader(e,a[e]);return n.rawBody&&(s.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:n,adapter:I,request:s,context:e}),s.send(n.body||null),u&&(i.connect=setTimeout(()=>h("ETIMEDOUT"),u.connect)),{abort:function(){c=!0,s&&s.abort()}};function h(t){f=!0,s.abort();let r=Error("ESOCKETTIMEDOUT"===t?`Socket timed out on request to ${n.url}`:`Connection timed out on request to ${n.url}`);r.code=t,e.channels.error.publish(r)}function p(e){(e||c||s&&s.readyState>=2&&i.connect)&&clearTimeout(i.connect),i.socket&&clearTimeout(i.socket)}function d(e){if(l)return;p(!0),l=!0,s=null;let r=e||Error(`Network error while attempting to reach ${n.url}`);r.isNetworkError=!0,r.request=n,t(r)}},A=(e=[],t=x)=>(function e(t,r){let n=[],i=m.reduce((e,t)=>(e[t]=e[t]||[],e),{processOptions:[p],validateOptions:[g]});function o(e){let t;let n=b.reduce((e,t)=>(e[t]=function(){let e=Object.create(null),t=0;return{publish:function(t){for(let r in e)e[r](t)},subscribe:function(r){let n=t++;return e[n]=r,function(){delete e[n]}}}}(),e),{}),o=function(e,t,...r){let n="onError"===e,o=t;for(let t=0;t<i[e].length&&(o=(0,i[e][t])(o,...r),!n||o);t++);return o},s=o("processOptions",e);o("validateOptions",s);let a={options:s,channels:n,applyMiddleware:o},u=n.request.subscribe(e=>{t=r(e,(t,r)=>((e,t,r)=>{let i=e,s=t;if(!i)try{s=o("onResponse",t,r)}catch(e){s=null,i=e}(i=i&&o("onError",i,r))?n.error.publish(i):s&&n.response.publish(s)})(t,r,e))});n.abort.subscribe(()=>{u(),t&&t.abort()});let c=o("onReturn",n,a);return c===n&&n.request.publish(a),c}return o.use=function(e){if(!e)throw Error("Tried to add middleware that resolved to fal
2sey value");if("function"==typeof e)throw Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(e.onReturn&&i.onReturn.length>0)throw Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return m.forEach(t=>{e[t]&&i[t].push(e[t])}),n.push(e),o},o.clone=()=>e(n,r),t.forEach(o.use),o})(e,t);var O,T,j,$,S,q=r(4224),P=r(5872).lW,k={exports:{}};S||(S=1,function(e,t){let r;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch{}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!e&&"u">typeof q&&"env"in q&&(e=q.env.DEBUG),e},t.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch{}}(),t.destroy=(r=!1,()=>{r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=($?j:($=1,j=function(e){function t(e){let n,i,o,s=null;function a(...e){if(!a.enabled)return;let r=Number(new Date),i=r-(n||r);a.diff=i,a.prev=n,a.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,n)=>{if("%%"===r)return"%";o++;let i=t.formatters[n];if("function"==typeof i){let t=e[o];r=i.call(a,t),e.splice(o,1),o--}return r}),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,r){let n=t(this.namespace+(typeof r>"u"?":":r)+e);return n.log=this.log,n}function n(e,t){let r=0,n=0,i=-1,o=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(i=n,o=r):r++,n++;else{if(-1===i)return!1;n=i+1,r=++o}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(
2Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(n(e,r))return!1;for(let r of t.names)if(n(e,r))return!0;return!1},t.humanize=function(){if(T)return O;function e(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}return T=1,O=function(t,r){r=r||{};var n,i,o=typeof t;if("string"===o&&t.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*r;case"weeks":case"week":case"w":return 6048e5*r;case"days":case"day":case"d":return 864e5*r;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*r;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*r;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}(t);if("number"===o&&isFinite(t))return r.long?(i=Math.abs(t))>=864e5?e(t,i,864e5,"day"):i>=36e5?e(t,i,36e5,"hour"):i>=6e4?e(t,i,6e4,"minute"):i>=1e3?e(t,i,1e3,"second"):t+" ms":(n=Math.abs(t))>=864e5?Math.round(t/864e5)+"d":n>=36e5?Math.round(t/36e5)+"h":n>=6e4?Math.round(t/6e4)+"m":n>=1e3?Math.round(t/1e3)+"s":t+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}}(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}))(t);let{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(k,k.exports)),k.exports,Object.prototype.hasOwnProperty;let B=typeof P>"u"?()=>!1:e=>P.isBuffer(e);function U(e){return"[object Object]"===Object.prototype.toString.call(e)}let L=["boolean","string","number"],F={};"u">typeof globalThis?F=globalThis:"u">typeof window?F=window:"u">typeof global?F=global:"u">typeof self&&(F=self);var D=F;let M=(e={})=>{let t=e.implementation||Promise;if(!t)throw Error("`Promise` is not available in global scope, and no implementation was passed");return{onReturn:(r,n)=>new t((t,i)=>{let o=n.options.cancelToken;o&&o.promise.then(e=>{r.abort.publish(e),i(e)}),r.error.subscribe(i),r.response.subscribe(r=>{t(e.onlyBody?r.body:r)}),setTimeout(()=>{try{r.request.publish(n)}catch(e){i(e)}},0)})}};class N{__CANCEL__=!0;message;constructor(e){this.message=e}toString(){return"Cancel"+(this.message?`: ${this.message}`:"")}}class V{promise;reason;constructor(e){if("function"!=typeof e)throw TypeError("executor must be a function.");let t=null;this.promise=new Promise(e=>{t=e}),e(e=>{this.reason||(this.reason=new N(e),t(this.reason))})}static source=()=>{let e;return{token:new V(t=>{e=t}),cancel:e}}}M.Cancel=N,M.CancelToken=V,M.isCancel=e=>!(!e||!e?.__CANCEL__);var z=(e,t,r)=>("GET"===r.method||"HEAD"===r.method)&&(e.isNetworkError||!1);function G(e){return 100*Math.pow(2,e)+100*Math.random()}let H=(e={})=>(e=>{let t=e.maxRetries||5,r=e.retryDelay||G,n=e.shouldRetry;return{onError:(e,i)=>{var o;let s=i.options,a=s.maxRetries||t,u=s.retryDelay||r,c=s.shouldRetry||n,l=s.attemptNumber||0;if(null!==(o=s.body)&&"object"==typeof o&&"function"==typeof o.pipe||!c(e,l,s)||l>=a)return e;let f=Object.assign({},i,{options:Object.assign({},s,{attemptNumber:l+1})});return setTimeout(()=>i.channels.request.publish(f),u(l)),null}}})({shouldRetry:z,...e});H.shouldRetry=z;var W=r(5767);function Y(e){return"function"==typeof e}function J(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var X=J(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function K(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Q=function(){var e;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,t,r,n,i,o=this._parentage;if(o){if(this._parentage=null,Array.isArray(o))try{for(var s=(0,W.__values)(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this)}var u=this.initialTeardown;
2if(Y(u))try{u()}catch(e){i=e instanceof X?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var l=(0,W.__values)(c),f=l.next();!f.done;f=l.next()){var h=f.value;try{et(h)}catch(e){i=null!=i?i:[],e instanceof X?i=(0,W.__spreadArray)((0,W.__spreadArray)([],(0,W.__read)(i)),(0,W.__read)(e.errors)):i.push(e)}}}catch(e){r={error:e}}finally{try{f&&!f.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}if(i)throw new X(i)}},t.prototype.add=function(e){var r;if(e&&e!==this){if(this.closed)et(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}}},t.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},t.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},t.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&K(t,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&K(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),Z=Q.EMPTY;
2function ee(e){return e instanceof Q||e&&"closed"in e&&Y(e.remove)&&Y(e.add)&&Y(e.unsubscribe)}function et(e){Y(e)?e():e.unsubscribe()}var er={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},en={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=en.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,(0,W.__spreadArray)([e,t],(0,W.__read)(r))):setTimeout.apply(void 0,(0,W.__spreadArray)([e,t],(0,W.__read)(r)))},clearTimeout:function(e){var t=en.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ei(e){en.setTimeout(function(){var t=er.onUnhandledError;if(t)t(e);else throw e})}function eo(){}var es=ea("C",void 0,void 0);function ea(e,t,r){return{kind:e,value:t,error:r}}var eu=null;function ec(e){if(er.useDeprecatedSynchronousErrorHandling){var t=!eu;if(t&&(eu={errorThrown:!1,error:null}),e(),t){var r=eu,n=r.errorThrown,i=r.error;if(eu=null,n)throw i}}else e()}var el=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,ee(t)&&t.add(r)):r.destination=eb,r}return(0,W.__extends)(t,e),t.create=function(e,t,r){return new ed(e,t,r)},t.prototype.next=function(e){this.isStopped?eg(ea("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?eg(ea("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?eg(es,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Q),ef=Function.prototype.bind;function eh(e,t){return ef.call(e,t)}var ep=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){ey(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){ey(e)}else ey(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){ey(e)}},e}(),ed=function(e){function t(t,r,n){var i,o,s=e.call(this)||this;return Y(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&er.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&eh(t.next,o),error:t.error&&eh(t.error,o),complete:t.complete&&eh(t.complete,o)}):i=t,s.destination=new ep(i),s}return(0,W.__extends)(t,e),t}(el);function ey(e){er.useDeprecatedSynchronousErrorHandling?er.useDeprecatedSynchronousErrorHandling&&eu&&(eu.errorThrown=!0,eu.error=e):ei(e)}function eg(e,t){var r=er.onStoppedNotification;r&&en.setTimeout(function(){return r(e,t)})}var eb={closed:!0,next:eo,error:function(e){throw e},complete:eo},em="function"==typeof Symbol&&Symbol.observable||"@@observable";function ev(e){return e}function ew(e){return 0===e.length?ev:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}var e_=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n,i=this,o=(n=e)&&n instanceof el||n&&Y(n.next)&&Y(n.error)&&Y(n.complete)&&ee(n)?e:new ed(e,t,r);return ec(function(){var e=i.operator,t=i.source;o.add(e?e.call(o,t):t?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=eE(t))(function(t,n){var i=new ed({next:function(t){try{e(t)}catch(e){n(e),i.unsubscribe()}},error:n,complete:t});r.subscribe(i)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[em]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ew(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=eE(e))(function(e,r){var n;t.subscribe(function(e){return n=e},function(e){return r(e)},function(){return e(n)})})},e.create=function(t){return new e(t)},e}();function eE(e){var t;return null!==(t=null!=e?e:er.Promise)&&void 0!==t?t:Promise}var eC=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function eI(e){return Y(null==e?void 0:e.then)}function eR(e){return Symbol.asyncIterator&&Y(null==e?void 0:e[Symbol.asyncIterator])}function ex(e){return TypeError("You provided "+(null!==e&&"object"==typeof e?"an invali
2d object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var eA="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function eO(e){return Y(null==e?void 0:e[eA])}function eT(e){return(0,W.__asyncGenerator)(this,arguments,function(){var t,r,n;return(0,W.__generator)(this,function(i){switch(i.label){case 0:t=e.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,(0,W.__await)(t.read())];case 3:if(n=(r=i.sent()).value,!r.done)return[3,5];return[4,(0,W.__await)(void 0)];case 4:return[2,i.sent()];case 5:return[4,(0,W.__await)(n)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function ej(e){return Y(null==e?void 0:e.getReader)}function e$(e){if(e instanceof e_)return e;if(null!=e){if(Y(e[em]))return new e_(function(t){var r=e[em]();if(Y(r.subscribe))return r.subscribe(t);throw TypeError("Provided object does not correctly implement Symbol.observable")});if(eC(e))return new e_(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()});if(eI(e))return new e_(function(t){e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,ei)});if(eR(e))return eS(e);if(eO(e))return new e_(function(t){var r,n;try{for(var i=(0,W.__values)(e),o=i.next();!o.done;o=i.next()){var s=o.value;if(t.next(s),t.closed)return}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}t.complete()});if(ej(e))return eS(eT(e))}throw ex(e)}function eS(e){return new e_(function(t){(function(e,t){var r,n,i,o;return(0,W.__awaiter)(this,void 0,void 0,function(){var s;return(0,W.__generator)(this,function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),r=(0,W.__asyncValues)(e),a.label=1;case 1:return[4,r.next()];case 2:if((n=a.sent()).done)return[3,4];if(s=n.value,t.next(s),t.closed)return[2];a.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return i={error:a.sent()},[3,11];case 6:if(a.trys.push([6,,9,10]),!(n&&!n.done&&(o=r.return)))return[3,8];return[4,o.call(r)];case 7:a.sent(),a.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}function eq(e){return new e_(function(t){e$(e()).subscribe(t)})}function eP(e){return e[e.length-1]}function ek(e){var t;return(t=eP(e))&&Y(t.schedule)?e.pop():void 0}function eB(e,t,r,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=t.schedule(function(){r(),i?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(o),!i)return o}function eU(e){return function(t){if(Y(null==t?void 0:t.lift))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}function eL(e,t,r,n,i){return new eF(e,t,r,n,i)}var eF=function(e){function t(t,r,n,i,o,s){var a=e.call(this,t)||this;return a.onFinalize=o,a.shouldUnsubscribe=s,a._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return(0,W.__extends)(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),r||null===(t=this.onFinalize)||void 0===t||t.call(this)}},t}(el);function eD(e,t){return void 0===t&&(t=0),eU(function(r,n){r.subscribe(eL(n,function(r){return eB(n,e,function(){return n.next(r)},t)},function(){return eB(n,e,function(){return n.complete()},t)},function(r){return eB(n,e,function(){return n.error(r)},t)}))})}function eM(e,t){return void 0===t&&(t=0),eU(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}function eN(e,t){if(!e)throw Error("Iterable cannot be null");return new e_(function(r){eB(r,t,function(){var n=e[Symbol.asyncIterator]();eB(r,t,function(){n.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}function eV(e,t){return t?function(e,t){if(null!=e){if(Y(e[em]))return e$(e).pipe(eM(t),eD(t));if(eC(e))return new e_(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[
2n++]),r.closed||this.schedule())})});if(eI(e))return e$(e).pipe(eM(t),eD(t));if(eR(e))return eN(e,t);if(eO(e))return new e_(function(r){var n;return eB(r,t,function(){n=e[eA](),eB(r,t,function(){var e,t,i;try{t=(e=n.next()).value,i=e.done}catch(e){r.error(e);return}i?r.complete():r.next(t)},0,!0)}),function(){return Y(null==n?void 0:n.return)&&n.return()}});if(ej(e))return eN(eT(e),t)}throw ex(e)}(e,t):e$(e)}function ez(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=ek(e);return eV(e,r)}function eG(e,t){return eU(function(r,n){var i=0;r.subscribe(eL(n,function(r){n.next(e.call(t,r,i++))}))})}function eH(e,t,r){return(void 0===r&&(r=1/0),Y(t))?eH(function(r,n){return eG(function(e,i){return t(r,e,n,i)})(e$(e(r,n)))},r):("number"==typeof t&&(r=t),eU(function(t,n){var i,o,s,a,u,c,l,f,h;return i=r,s=[],a=0,u=0,c=!1,l=function(){!c||s.length||a||n.complete()},f=function(e){return a<i?h(e):s.push(e)},h=function(t){a++;var r=!1;e$(e(t,u++)).subscribe(eL(n,function(e){o?f(e):n.next(e)},function(){r=!0},void 0,function(){if(r)try{for(a--;s.length&&a<i;)!function(){var e=s.shift();h(e)}();l()}catch(e){n.error(e)}}))},t.subscribe(eL(n,f,function(){c=!0,l()})),function(){}}))}var eW=J(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function eY(e,t){var r="object"==typeof t;return new Promise(function(n,i){var o,s=!1;e.subscribe({next:function(e){o=e,s=!0},error:i,complete:function(){s?n(o):r?n(t.defaultValue):i(new eW)}})})}var eJ=J(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),eX=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return(0,W.__extends)(t,e),t.prototype.lift=function(e){var t=new eK(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new eJ},t.prototype.next=function(e){var t=this;ec(function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=(0,W.__values)(t.currentObservers),o=i.next();!o.done;o=i.next())o.value.next(e)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var t=this;ec(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;ec(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,n=this.isStopped,i=this.observers;return r||n?Z:(this.currentObservers=null,i.push(e),new Q(function(){t.currentObservers=null,K(i,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},t.prototype.asObservable=function(){var e=new e_;return e.source=this,e},t.create=function(e,t){return new eK(e,t)},t}(e_),eK=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return(0,W.__extends)(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:Z},t}(eX),eQ={now:function(){return(eQ.delegate||Date).now()},delegate:void 0},eZ=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=eQ);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,r),i}return(0,W.__extends)(t,e),t.prototype.next=function(t){var r=this.isStopped,n=this._buffer,i=this._infiniteTimeWindow,o=this._timestampProvider,s=this._windowTime;!r&&(n.push(t),i||n.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!e.closed;i+=r?1:2)e.next(n[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,i=(n?1:2)*e;if(e<1/0&&i<r.length&&r.splice(0,r.length-i),!n){for(var o=t.now(),s=0,a=1;a<r.length&&r[a]<=o;a+=2)s=a;s&&r.splice(0,s+1)}},t}(eX);function e0(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new eX}:t,n=e.resetOnError,i=void 0===n||n,o=e.resetOnComplete,s=void 0===o||o,a=e.resetOnRefCountZero,u=void 0===a||a;return function(e){var t,n,o,a=0,c=!1,l=!1,f=function(){null==n||n.unsubscribe(),n=void 0},h=function(){f(),t=o=void 0,c=l=!1},p=function(){var e=t;h(),null==e||e.unsubscribe()};return eU(function(e,d){a++,l||c||f();var y=o=null!=o?o:r();
2d.add(function(){0!=--a||l||c||(n=e1(p,u))}),y.subscribe(d),!t&&a>0&&(t=new ed({next:function(e){return y.next(e)},error:function(e){l=!0,f(),n=e1(h,i,e),y.error(e)},complete:function(){c=!0,f(),n=e1(h,s),y.complete()}}),e$(e).subscribe(t))})(e)}}function e1(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];if(!0===t){e();return}if(!1!==t){var i=new ed({next:function(){i.unsubscribe(),e()}});return e$(t.apply(void 0,(0,W.__spreadArray)([],(0,W.__read)(r)))).subscribe(i)}}function e2(e){return eU(function(t,r){var n,i=null,o=!1;i=t.subscribe(eL(r,void 0,void 0,function(s){n=e$(e(s,e2(e)(t))),i?(i.unsubscribe(),i=null,n.subscribe(r)):o=!0})),o&&(i.unsubscribe(),i=null,n.subscribe(r))})}function e3(e){return void 0===e&&(e=1/0),eH(ev,e)}var e6=function(e){function t(t,r){return e.call(this)||this}return(0,W.__extends)(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(Q),e5={setInterval:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=e5.delegate;return(null==i?void 0:i.setInterval)?i.setInterval.apply(i,(0,W.__spreadArray)([e,t],(0,W.__read)(r))):setInterval.apply(void 0,(0,W.__spreadArray)([e,t],(0,W.__read)(r)))},clearInterval:function(e){var t=e5.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},e8=function(e){function t(t,r){var n=e.call(this,t,r)||this;
2return n.scheduler=t,n.work=r,n.pending=!1,n}return(0,W.__extends)(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r,n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),e5.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&e5.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,n=!1;try{this.work(e)}catch(e){n=!0,r=e||Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,K(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(e6),e4=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=eQ.now,e}(),e9=new(function(e){function t(t,r){void 0===r&&(r=e4.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n}return(0,W.__extends)(t,e),t.prototype.flush=function(e){var t,r=this.actions;if(this._active){r.push(e);return}this._active=!0;do if(t=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,t){for(;e=r.shift();)e.unsubscribe();throw t}},t}(e4))(e8);function e7(e,t){var r=Y(e)?e:function(){return e},n=function(e){return e.error(r())};return new e_(t?function(e){return t.schedule(n,0,e)}:n)}function te(e){return eU(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}var tt=new e_(function(e){return e.complete()});function tr(e,t){var r="object"==typeof t;return new Promise(function(n,i){var o=new ed({next:function(e){n(e),o.unsubscribe()},error:i,complete:function(){r?n(t.defaultValue):i(new eW)}});e.subscribe(o)})}var tn=r(6343),ti=Array.isArray,to=Array.isArray;function ts(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Y(eP(e))?e.pop():void 0;return r?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ew(e)}(ts.apply(void 0,(0,W.__spreadArray)([],(0,W.__read)(e))),eG(function(e){return to(e)?r.apply(void 0,(0,W.__spreadArray)([],(0,W.__read)(e))):r(e)})):eU(function(t,r){var n,i,o;(n=(0,W.__spreadArray)([t],(0,W.__read)(1===e.length&&ti(e[0])?e[0]:e)),void 0===o&&(o=ev),function(e){var t,r;t=void 0,r=function(){for(var t=n.length,r=Array(t),s=t,a=t,u=function(t){var u;u=function(){var u=eV(n[t],i),c=!1;u.subscribe(eL(e,function(n){r[t]=n,!c&&(c=!0,a--),a||e.next(o(r.slice()))},function(){--s||e.complete()}))},i?eB(e,i,u):u()},c=0;c<t;c++)u(c)},t?eB(e,t,r):r()})(r)})}function ta(e,t){return eU(function(r,n){var i=0;r.subscribe(eL(n,function(r){return e.call(t,r,i++)&&n.next(r)}))})}var tu=r(6886);let tc=e=>crypto.getRandomValues(new Uint8Array(e)),tl=(e,t,r)=>{let n=(2<<Math.log(e.length-1)/Math.LN2)-1,i=-~(1.6*n*t/e.length);return (o=t)=>{let s="";for(;;){let t=r(i),a=0|i;for(;a--;)if((s+=e[t[a]&n]||"").length===o)return s}}},tf=/\r\n|[\n\r\u2028\u2029]/;function th(e,t){let r=0;for(let n=0;n<t.length;n++){let i=t[n].length+1;if(r+i>e)return{line:n+1,column:e-r};r+=i}return{line:t.length,column:t[t.length-1]?.length??0}}
2class tp extends Error{response;statusCode=400;responseBody;details;constructor(e,t){let r=ty(e,t);super(r.message),Object.assign(this,r)}}class td extends Error{response;statusCode=500;responseBody;details;constructor(e){let t=ty(e);super(t.message),Object.assign(this,t)}}function ty(e,t){let r=e.body,n={response:e,statusCode:e.statusCode,responseBody:-1!==(e.headers["content-type"]||"").toLowerCase().indexOf("application/json")?JSON.stringify(r,null,2):r,message:"",details:void 0};if(!(0,tn.Uy)(r))return n.message=tm(e,r),n;let i=r.error;if("string"==typeof i&&"string"==typeof r.message)return n.message=`${i} - ${r.message}`,n;if("object"!=typeof i||null===i)return"string"==typeof i?n.message=i:"string"==typeof r.message?n.message=r.message:n.message=tm(e,r),n;if("type"in i&&"mutationError"===i.type&&"description"in i&&"string"==typeof i.description||"type"in i&&"actionError"===i.type&&"description"in i&&"string"==typeof i.description){let e=i.items||[],t=e.slice(0,5).map(e=>e.error?.description).filter(Boolean),o=t.length?`: 3- ${t.join(` 4- `)}`:"";return e.length>5&&(o+=` 5...and ${e.length-5} more`),n.message=`${i.description}${o}`,n.details=r.error,n}if(tg(i)){let e=t?.options?.query?.tag;return n.message=tb(i,e),n.details=r.error,n}return"description"in i&&"string"==typeof i.description?(n.message=i.description,n.details=i):n.message=tm(e,r),n}function tg(e){return(0,tn.Uy)(e)&&"queryParseError"===e.type&&"string"==typeof e.query&&"number"==typeof e.start&&"number"==typeof e.end}function tb(e,t){let{query:r,start:n,end:i,description:o}=e;if(!r||typeof n>"u")return`GROQ query parse error: ${o}`;let s=t?` 6 7Tag: ${t}`:"";return`GROQ query parse error: 8${function(e,t,r){let n=e.split(tf),{start:i,end:o,markerLines:s}=function(e,t){let r={...e.start},n={...r,...e.end},i=r.line??-1,o=r.column??0,s=n.line,a=n.column,u=Math.max(i-3,0),c=Math.min(t.length,s+3);-1===i&&(u=0),-1===s&&(c=t.length);let l=s-i,f={};if(l)for(let e=0;e<=l;e++){let r=e+i;if(o){if(0===e){let e=t[r-1].length;f[r]=[o,e-o+1]}else if(e===l)f[r]=[0,a];else{let n=t[r-e].length;f[r]=[0,n]}}else f[r]=!0}else o===a?o?f[i]=[o,0]:f[i]=!0:f[i]=[o,a-o];return{start:u,end:c,markerLines:f}}({start:th(t.start,n),end:t.end?th(t.end,n):void 0},n),a=`${o}`.length;return e.split(tf,o).slice(i,o).map((e,t)=>{let n=i+1+t,o=` ${` ${n}`.slice(-a)} |`,u=s[n],c=!s[n+1];if(!u)return` ${o}${e.length>0?` ${e}`:""}`;let l="";if(Array.isArray(u)){let t=e.slice(0,Math.max(u[0]-1,0)).replace(/[^\t]/g," "),n=u[1]||1;l=[` 9 `,o.replace(/\d/g," ")," ",t,"^".repeat(n)].join(""),c&&r&&(l+=" "+r)}return[">",o,e.length>0?` ${e}`:"",l].join("")}).join(` 10`)}(r,{start:n,end:i},o)}${s}`}function tm(e,t){let r="string"==typeof t?` (${t.length>100?`${t.slice(0,100)}\u2026`:t})`:"",n=e.statusMessage?` ${e.statusMessage}`:"";return`${e.method}-request to ${e.url} resulted in HTTP ${e.statusCode}${n}${r}`}class tv extends Error{projectId;addOriginUrl;constructor({projectId:e}){super("CorsOriginError"),this.name="CorsOriginError",this.projectId=e;let t=new URL(`https://sanity.io/manage/project/${e}/api`);if("u">typeof location){let{origin:e}=location;t.searchParams.set("cors","add"),t.searchParams.set("origin",e),this.addOriginUrl=t,this.message=`The current origin is not allowed to connect to the Live Content API. Add it here: ${t}`}else this.message=`The current origin is not allowed to connect to the Live Content API. Change your configuration here: ${t}`}}let tw={onResponse:(e,t)=>{if(e.statusCode>=500)throw new td(e);if(e.statusCode>=400)throw new tp(e,t);return e}};function t_(e,t={}){return A([H({shouldRetry:tE}),...e,function(e={}){let t={},r=t=>void 0!==e.ignoreWarnings&&(Array.isArray(e.ignoreWarnings)?e.ignoreWarnings:[e.ignoreWarnings]).some(e=>"string"==typeof e?t.includes(e):e instanceof RegExp&&e.test(t));return{onResponse:e=>{let n=e.headers["x-sanity-warning"];for(let e of Array.isArray(n)?n:[n])!e||t[e]||r(e)||(t[e]=!0,console.warn(e));return e}}}(t),{processOptions:e=>{let t=e.body;return!t||"function"==typeof t.pipe||B(t)||-1===L.indexOf(typeof t)&&!Array.isArray(t)&&!function(e){if(!1===U(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!(!1===U(r)||!1===r.hasOwnProperty("isPrototypeOf"))}(t)?e:Object.assign({},e,{body:JSON.stringify(e.body),headers:Object.assign({},e.headers,{"Content-Type":"application/json"})})}},{onResponse:e=>{let t=e.headers["content-type"]||"",r=-1!==t.indexOf("application/json");return e.body&&t&&r?Object.assign({},e,{body:function(e){try{return JSON.parse(e)}catch(e){throw e.message=`Failed to parsed response body as JSON: ${e.message}`,e}}(e.body)}):e},processOptions:e=>Object.assign({},e,{headers:Object.assign({Accept:"application/json"},e.headers)})},{onRequest:e=>{if("xhr"!==e.adapter)return;let t=e.request,r=e.context;function n(e){return t=>{let n=t.lengthComputable?t.loaded/t.total*100:-1;r.channels.progress.publish({stage:e,percent:n,total:t.total,loaded:t.loaded,lengthComputable:t.lengthComputable})}}"upload"in t&&"onprogress"in t.upload&&(t.upload.onprogress=n("upload")),"onprogress"in t&&(t.onprogress=n("download"))}},tw,function(e={}){let t=e.implementation||D.Observable;if(!t)throw Error("`Observable` is not available in global scope, and n
10o implementation was passed");return{onReturn:(e,r)=>new t(t=>(e.error.subscribe(e=>t.error(e)),e.progress.subscribe(e=>t.next(Object.assign({type:"progress"},e))),e.response.subscribe(e=>{t.next(Object.assign({type:"response"},e)),t.complete()}),e.request.publish(r),()=>e.abort.publish()))}}({implementation:e_})])}function tE(e,t,r){if(0===r.maxRetries)return!1;let n="GET"===r.method||"HEAD"===r.method,i=(r.uri||r.url).startsWith("/data/query"),o=e.response&&(429===e.response.statusCode||502===e.response.statusCode||503===e.response.statusCode);return(!!n||!!i)&&!!o||H.shouldRetry(e,t,r)}function tC(e){return"https://www.sanity.io/help/"+e}let tI=["image","file"],tR=["before","after","replace"],tx=e=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(e))throw Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},tA=e=>{if(!/^[-a-z0-9]+$/i.test(e))throw Error("`projectId` can only contain only a-z, 0-9 and dashes")},tO=e=>{if(-1===tI.indexOf(e))throw Error(`Invalid asset type: ${e}. Must be one of ${tI.join(", ")}`)},tT=(e,t)=>{if(null===t||"object"!=typeof t||Array.isArray(t))throw Error(`${e}() takes an object of properties`)},tj=(e,t)=>{if("string"!=typeof t||!/^[a-z0-9_][a-z0-9_.-]{0,127}$/i.test(t)||t.includes(".."))throw Error(`${e}(): "${t}" is not a valid document ID`)},t$=(e,t)=>{if(!t._id)throw Error(`${e}() requires that the document contains an ID ("_id" property)`);tj(e,t._id)},tS=(e,t)=>{if("string"!=typeof t)throw Error(`\`${e}()\`: \`${t}\` is not a valid document type`)},tq=(e,t)=>{if(!t._type)throw Error(`\`${e}()\` requires that the document contains a type (\`_type\` property)`);tS(e,t._type)},tP=(e,t)=>{if(t._id&&t._id!==e)throw Error(`The provided document ID (\`${t._id}\`) does not match the generated version ID (\`${e}\`)`)},tk=(e,t,r)=>{let n="insert(at, selector, items)";if(-1===tR.indexOf(e)){let e=tR.map(e=>`"${e}"`).join(", ");throw Error(`${n} takes an "at"-argument which is one of: ${e}`)}if("string"!=typeof t)throw Error(`${n} takes a "selector"-argument which must be a string`);if(!Array.isArray(r))throw Error(`${n} takes an "items"-argument which must be an array`)},tB=e=>{if(!e.dataset)throw Error("`dataset` must be provided to perform queries");return e.dataset||""},tU=e=>{if("string"!=typeof e||!/^[a-z0-9._-]{1,75}$/i.test(e))throw Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return e},tL=e=>{if(!e["~experimental_resource"])throw Error("`resource` must be provided to perform resource queries");let{type:t,id:r}=e["~experimental_resource"];switch(t){case"dataset":if(2!==r.split(".").length)throw Error('Dataset resource ID must be in the format "project.dataset"');return;case"dashboard":case"media-library":case"canvas":return;default:throw Error(`Unsupported resource type: ${t.toString()}`)}},tF=(e,t)=>{if(t["~experimental_resource"])throw Error(`\`${e}\` does not support resource-based operations`)},tD=e=>{var t;let r,n;return t=(...t)=>console.warn(e.join(" "),...t),r=!1,(...e)=>(r||(n=t(...e),r=!0),n)},tM=tD(["Because you set `withCredentials` to true, we will override your `useCdn`","setting to be false since (cookie-based) credentials are never set on the CDN"]),tN=tD(["Since you haven't set a value for `useCdn`, we will deliver content using our","global, edge-cached API-CDN. If you wish to have content delivered faster, set","`useCdn: false` to use the Live API. Note: You may incur higher costs using the live API."]),tV=tD(["The Sanity client is configured with the `perspective` set to `drafts` or `previewDrafts`, which doesn't support the API-CDN.","The Live API will be used instead. Set `useCdn: false` in your configuration to hide this warning."]),tz=tD(["The `previewDrafts` perspective has been renamed to `drafts` and will be removed in a future API version"]),tG=tD(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.",`See ${tC("js-client-browser-token")} for more information and how to hide this warning.`]),tH=tD(["You have configured Sanity client to use a token, but also provided `withCredentials: true`.","This is no longer supported - only token will be used - remove `withCredentials: true`."]),tW=tD(["Using the Sanity client without specifying an API version is deprecated.",`See ${tC("js-client-api-version")}`]),tY=(tD(["The default export of @sanity/client has been deprecated. Use the named export `createClient` instead."]),tD(["You have called `createVersion()` with a defined `document`. The recommended approach is to provide a `baseId` and `releaseId` instead."])),tJ={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,stega:{enabled:!1}},tX=["localhost","127.0.0.1","0.0.0.0"],tK=e=>-1!==tX.indexOf(e);function tQ(e){if(Array.isArray(e)&&e.length>1&&e.includes("raw"))throw TypeError('Invalid API perspective value: "raw". The raw-perspective can not be combined with other perspectives')}let tZ=(e,t)=>{let r={...t,...e,stega:{..."boolean"==typeof t.stega?{enabled:t.stega}:t.stega||tJ.stega,..."boolean"==typeof e.stega?{enabled:e.stega}:e.stega||{}}};r.apiVersion||tW();let n={...tJ,...r},i=n.useProjectHostname&&!n["~experimental_resource"];if(typeof Promise>"u"){let e=tC("js-client-promise-polyfill");throw Error(`No native Promise-implementation found, polyfill needed - see ${e}`)}if(i&&!n.projectId)throw Error("Configuration must contain `projectId`");if(n["~experimental_resource"]&&tL(n),"u">typeof n.perspective&&tQ(n.perspective),"encodeSourceMap"in n)throw Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMap' is not supported in '@sanity/client'. Did you mean 'stega.enabled'?");if("encodeSourceMapAtPath"in n)throw Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMapAtPath' is not supported in '@sanity/client'. Did you mean 'stega.filter'?");
10if("boolean"!=typeof n.stega.enabled)throw Error(`stega.enabled must be a boolean, received ${n.stega.enabled}`);if(n.stega.enabled&&void 0===n.stega.studioUrl)throw Error("stega.studioUrl must be defined when stega.enabled is true");if(n.stega.enabled&&"string"!=typeof n.stega.studioUrl&&"function"!=typeof n.stega.studioUrl)throw Error(`stega.studioUrl must be a string or a function, received ${n.stega.studioUrl}`);let o="u">typeof window&&window.location&&window.location.hostname,s=o&&tK(window.location.hostname),a=!!n.token;n.withCredentials&&a&&(tH(),n.withCredentials=!1),o&&s&&a&&!0!==n.ignoreBrowserTokenWarning?tG():typeof n.useCdn>"u"&&tN(),i&&tA(n.projectId),n.dataset&&tx(n.dataset),"requestTagPrefix"in n&&(n.requestTagPrefix=n.requestTagPrefix?tU(n.requestTagPrefix).replace(/\.+$/,""):void 0),n.apiVersion=`${n.apiVersion}`.replace(/^v/,""),n.isDefaultApi=n.apiHost===tJ.apiHost,!0===n.useCdn&&n.withCredentials&&tM(),n.useCdn=!1!==n.useCdn&&!n.withCredentials,function(e){if("1"===e||"X"===e)return;let t=new Date(e);if(!(/^\d{4}-\d{2}-\d{2}$/.test(e)&&t instanceof Date&&t.getTime()>0))throw Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}(n.apiVersion);let u=n.apiHost.split("://",2),c=u[0],l=u[1],f=n.isDefaultApi?"apicdn.sanity.io":l;return i?(n.url=`${c}://${n.projectId}.${l}/v${n.apiVersion}`,n.cdnUrl=`${c}://${n.projectId}.${f}/v${n.apiVersion}`):(n.url=`${n.apiHost}/v${n.apiVersion}`,n.cdnUrl=n.url),n};class t0 extends Error{name="ConnectionFailedError"}class t1 extends Error{name="DisconnectError";reason;constructor(e,t,r={}){super(e,r),this.reason=t}}class t2 extends Error{name="ChannelError";data;constructor(e,t){super(e),this.data=t}}class t3 extends Error{name="MessageError";data;constructor(e,t,r={}){super(e,r),this.data=t}}class t6 extends Error{name="MessageParseError"}let t5=["channelError","disconnect"];function t8(e,t){return eq(()=>{let t=e();return t&&(t instanceof e_||Y(t.lift)&&Y(t.subscribe))?t:ez(t)}).pipe(eH(e=>new e_(r=>{let n=t.includes("open"),i=t.includes("reconnect");function o(t){if("data"in t){let[e,n]=t4(t);r.error(e?new t6("Unable to parse EventSource error message",{cause:n}):new t3((n?.data).message,n));return}e.readyState===e.CLOSED?r.error(new t0("EventSource connection failed")):i&&r.next({type:"reconnect"})}function s(){r.next({type:"open"})}function a(t){let[n,i]=t4(t);if(n){r.error(new t6("Unable to parse EventSource message",{cause:n}));return}if("channelError"===t.type){let t=new URL(e.url).searchParams.get("tag");r.error(new t2(function(e,t){let r=e.error;return r?tg(r)?tb(r,t):r.description?r.description:"string"==typeof r?r:JSON.stringify(r,null,2):e.message||"Unknown listener error"}(i?.data,t),i.data));return}if("disconnect"===t.type){r.error(new t1(`Server disconnected client: ${i.data?.reason||"unknown error"}`));return}r.next({type:t.type,id:t.lastEventId,...i.data?{data:i.data}:{}})}e.addEventListener("error",o),n&&e.addEventListener("open",s);let u=[...new Set([...t5,...t])].filter(e=>"error"!==e&&"open"!==e&&"reconnect"!==e);return u.forEach(t=>e.addEventListener(t,a)),()=>{e.removeEventListener("error",o),n&&e.removeEventListener("open",s),u.forEach(t=>e.removeEventListener(t,a)),e.close()}})))}function t4(e){try{let t="string"==typeof e.data&&JSON.parse(e.data);return[null,{type:e.type,id:e.lastEventId,...!function(e){for(let t in e)return!1;return!0}(t)?{data:t}:{}}]}catch(e){return[e,null]}}function t9(e){if("string"==typeof e)return{id:e};if(Array.isArray(e))return{query:"*[_id in $ids]",params:{ids:e}};if("object"==typeof e&&null!==e&&"query"in e&&"string"==typeof e.query)return"params"in e&&"object"==typeof e.params&&null!==e.params?{query:e.query,params:e.params}:{query:e.query};let t=["* Document ID (<docId>)","* Array of document IDs","* Object containing `query`"].join(` 11`);throw Error(`Unknown selection - must be one of: 12 13${t}`)}class t7{selection;operations;constructor(e,t={}){this.selection=e,this.operations=t}set(e){return this._assign("set",e)}setIfMissing(e){return this._assign("setIfMissing",e)}diffMatchPatch(e){return tT("diffMatchPatch",e),this._assign("diffMatchPatch",e)}unset(e){if(!Array.isArray(e))throw Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:e}),this}inc(e){return this._assign("inc",e)}dec(e){return this._assign("dec",e)}insert(e,t,r){return tk(e,t,r),this._assign("insert",{[e]:t,items:r})}append(e,t){return this.insert("after",`${e}[-1]`,t)}prepend(e,t){return this.insert("before",`${e}[0]`,t)}splice(e,t,r,n){let i=t<0?t-1:t,o=typeof r>"u"||-1===r?-1:Math.max(0,t+r),s=`${e}[${i}:${i<0&&o>=0?"":o}]`;return this.insert("replace",s,n||[])}ifRevisionId(e){return this.operations.ifRevisionID=e,this}serialize(){return{...t9(this.selection),...this.operations}}toJSON(){return this.serialize()}reset(){return this.operations={},this}_assign(e,t,r=!0){return tT(e,t),this.operations=Object.assign({},this.operations,{[e]:Object.assign({},r&&this.operations[e]||{},t)}),this}_set(e,t){return this._assign(e,t,!1)}}class re extends t7{#a;constructor(e,t,r){super(e,t),this.#a=r}clone(){return new re(this.selection,{...this.operations},this.#a)}commit(e){if(!this.#a)throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let t=Object.assign({returnFirst:"string"==typeof this.selection,returnDocuments:!0},e);return this.#a.mutate({patch:this.serialize()},t)}}class rt extends t7{#a;constructor(e,t,r){super(e,t),this.#a=r}clone(){return new rt(this.selection,{...this.operations},this.#a)}commit(e){if(!this.#a)throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let t=Object.assign({returnFirst:"string"==typeof this.selection,returnDocuments:!0},e);return this.#a.mutate({patch:this.serialize()},t)}}let rr={returnDocuments:!1};class rn{operations;trxId;constructor(e=[],t){this.operations=e,this.trxId=t}create(e){return tT("create",e),this._add({create:e})}createIfNotExists(e){let t="createIfNotExists";return tT(t,e),t$(t,e),this._add({[t]:e})}createOrReplace(e){let t="createOrReplace";return tT(t,e),t$(t,e),this._add({[t]:e})}delete(e){return tj("delete",e),this._add({delete:{id:e}})}transactionId(e){return e?(this.trxId=e,this):this.trxId}serialize(){return[...this.operations]}toJSON(){return this.serialize()}reset(){return this.operations=[],this}_add(e){return this.operations.push(e),this}}class ri extends rn{#a;constructor(e,t,r){super(e,r),this.#a=t}clone(){return new ri([...this.operations],this.#a,this.trxId)}commit(e){if(!this.#a)throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.#a.mutate(this.serialize(),Object.assign({transactionId:this.trxId},rr,e||{}))}patch(e,t){let r="function"==typeof t,n="string"!=typeof e&&e instanceof rt,i="object"==typeof e&&("query"in e||"id"in e);if(n)return this._add({patch:e.serialize()});if(r){let r=t(new rt(e,{},this.#a));if(!(r instanceof rt))throw Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}if(i){let r=new rt(e,t||{},this.#a);return this._add({patch:r.serialize()})}return this._add({patch:{id:e,...t}})}}class ro extends rn{#a;constructor(e,t,r){super(e,r),this.#a=t}clone(){return new ro([...this.operations],this.#a,this.trxId)}commit(e){if(!this.#a)throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.#a.mutate(this.serialize(),Object.assign({transactionId:this.trxId},rr,e||{}))}patch(e,t){let r="function"==typeof t;if("string"!=typeof e&&e instanceof re)return this._add({patch:e.serialize()});if(r){let r=t(new re(e,{},this.#a));if(!(r instanceof re))throw Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}return this._add({patch:{id:e,...t}})}}let rs=({query:e,params:t={},options:r={}})=>{let n=new URLSearchParams,{tag:i,includeMutations:o,returnQuery:s,...a}=r;for(let[r,o]of(i&&n.append("tag",i),n.append("query",e),Object.entries(t)))void 0!==o&&n.append(`$${r}`,JSON.stringify(o));for(let[e,t]of Object.entries(a))t&&n.append(e,`${t}`);return!1===s&&n.append("returnQuery","false"),!1===o&&n.append("includeMutations","fal
13se"),`?${n}`},ra=(e,t)=>!1===e?void 0:typeof e>"u"?t:e,ru=(e={})=>({dryRun:e.dryRun,returnIds:!0,returnDocuments:ra(e.returnDocuments,!0),visibility:e.visibility||"sync",autoGenerateArrayKeys:e.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:e.skipCrossDatasetReferenceValidation}),rc=e=>"response"===e.type,rl=e=>e.body,rf=(e,t)=>e.reduce((e,r)=>(e[t(r)]=r,e),Object.create(null));function rh(e,t,n,i,o={},s={}){let a="stega"in s?{...n||{},..."boolean"==typeof s.stega?{enabled:s.stega}:s.stega||{}}:n,u=a.enabled?(0,tn.NG)(o):o,c=!1===s.filterResponse?e=>e:e=>e.result,{cache:l,next:f,...h}={useAbortSignal:"u">typeof s.signal,resultSourceMap:a.enabled?"withKeyArraySelector":s.resultSourceMap,...s,returnQuery:!1===s.filterResponse&&!1!==s.returnQuery},p=rx(e,t,"query",{query:i,params:u},"u">typeof l||"u">typeof f?{...h,fetch:{cache:l,next:f}}:h);return a.enabled?p.pipe(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ts.apply(void 0,(0,W.__spreadArray)([],(0,W.__read)(e)))}(eV(r.e(139).then(r.bind(r,8139)).then(function(e){return e.stegaEncodeSourceMap$1}).then(({stegaEncodeSourceMap:e})=>e))),eG(([e,t])=>{let r=t(e.result,e.resultSourceMap,a);return c({...e,result:r})})):p.pipe(eG(c))}function rp(e,t,r,n={}){let i={uri:rU(e,"doc",(()=>{if(!n.releaseId)return r;let e=(0,tu.eB)(r);if(!e){if((0,tu.Cb)(r))throw Error(`The document ID (\`${r}\`) is a draft, but \`options.releaseId\` is set as \`${n.releaseId}\``);return(0,tu.XL)(r,n.releaseId)}if(e!==n.releaseId)throw Error(`The document ID (\`${r}\`) is already a version of \`${e}\` release, but this does not match the provided \`options.releaseId\` (\`${n.releaseId}\`)`);return r})()),json:!0,tag:n.tag,signal:n.signal,query:void 0!==n.includeAllVersions?{includeAllVersions:n.includeAllVersions}:void 0};return rk(e,t,i).pipe(ta(rc),eG(e=>{let t=e.body.documents;return t?n.includeAllVersions?t:t[0]:n.includeAllVersions?[]:void 0}))}function rd(e,t,r,n={}){let i={uri:rU(e,"doc",r.join(",")),json:!0,tag:n.tag,signal:n.signal};return rk(e,t,i).pipe(ta(rc),eG(e=>{let t=rf(e.body.documents||[],e=>e._id);return r.map(e=>t[e]||null)}))}function ry(e,t,r,n={}){return rx(e,t,"query",{query:"*[sanity::partOfRelease($releaseId)]",params:{releaseId:r}},n)}function rg(e,t,r,n){return t$("createIfNotExists",r),rA(e,t,r,"createIfNotExists",n)}function rb(e,t,r,n){return t$("createOrReplace",r),rA(e,t,r,"createOrReplace",n)}function rm(e,t,r,n,i){return t$("createVersion",r),tq("createVersion",r),tY(),rR(e,t,{actionType:"sanity.action.document.version.create",publishedId:n,document:r},i)}function rv(e,t,r,n,i,o,s){if(!n)throw Error("`createVersion()` requires `baseId` when no `document` is provided");if(!r)throw Error("`createVersion()` requires `publishedId` when `baseId` is provided");return tj("createVersion",n),tj("createVersion",r),rR(e,t,{actionType:"sanity.action.document.version.create",publishedId:r,baseId:n,versionId:i?(0,tu.XL)(r,i):(0,tu.qy)(r),ifBaseRevisionId:o},s)}function rw(e,t,r,n){return rx(e,t,"mutate",{mutations:[{delete:t9(r)}]},n)}function r_(e,t,r,n=!1,i){return rR(e,t,{actionType:"sanity.action.document.version.discard",versionId:r,purge:n},i)}function rE(e,t,r,n){return t$("replaceVersion",r),tq("replaceVersion",r),rR(e,t,{actionType:"sanity.action.document.version.replace",document:r},n)}function rC(e,t,r,n,i){return rR(e,t,{actionType:"sanity.action.document.version.unpublish",versionId:r,publishedId:n},i)}function rI(e,t,r,n){let i;return rx(e,t,"mutate",{mutations:Array.isArray(i=r instanceof rt||r instanceof re?{patch:r.serialize()}:r instanceof ri||r instanceof ro?r.serialize():r)?i:[i],transactionId:n&&n.transactionId||void 0},n)}function rR(e,t,r,n){let i=Array.isArray(r)?r:[r];return rx(e,t,"actions",{actions:i,transactionId:n&&n.transactionId||void 0,skipCrossDatasetReferenceValidation:n&&n.skipCrossDatasetReferenceValidation||void 0,dryRun:n&&n.dryRun||void 0},n)}function rx(e,t,r,n,i={}){let o="mutate"===r,s="actions"===r,a=o||s?"":rs(n),u=!o&&!s&&a.length<11264,c=i.returnFirst,{timeout:l,token:f,tag:h,headers:p,returnQuery:d,lastLiveEventId:y,cacheMode:g}=i,b=rU(e,r,u?a:"");return rk(e,t,{method:u?"GET":"POST",uri:b,json:!0,body:u?void 0:n,query:o&&ru(i),timeout:l,headers:p,token:f,tag:h,returnQuery:d,perspective:i.perspective,resultSourceMap:i.resultSourceMap,lastLiveEventId:Array.isArray(y)?y[0]:y,cacheMode:g,canUseCdn:"query"===r,signal:i.signal,fetch:i.fetch,useAbortSignal:i.useAbortSignal,useCdn:i.useCdn}).pipe(ta(rc),eG(rl),eG(e=>{if(!o)return e;let t=e.results||[];if(i.returnDocuments)return c?t[0]&&t[0].document:t.map(e=>e.document);let r=c?t[0]&&t[0].id:t.map(e=>e.id);return{transactionId:e.transactionId,results:t,[c?"documentId":"documentIds"]:r}}))}function rA(e,t,r,n,i={}){return rx(e,t,"mutate",{mutations:[{[n]:r}]},Object.assign({returnFirst:!0,returnDocuments:!0},i))}let rO=e=>void 0!==e.config().dataset&&void 0!==e.config().projectId||void 0!==e.config()["~experimental_resource"],rT=(e,t)=>
13rO(e)&&t.startsWith(rU(e,"query")),rj=(e,t)=>rO(e)&&t.startsWith(rU(e,"mutate")),r$=(e,t)=>rO(e)&&t.startsWith(rU(e,"doc","")),rS=(e,t)=>rO(e)&&t.startsWith(rU(e,"listen")),rq=(e,t)=>rO(e)&&t.startsWith(rU(e,"history","")),rP=(e,t)=>t.startsWith("/data/")||rT(e,t)||rj(e,t)||r$(e,t)||rS(e,t)||rq(e,t);function rk(e,t,r){var n;let i=r.url||r.uri,o=e.config(),s=typeof r.canUseCdn>"u"?["GET","HEAD"].indexOf(r.method||"GET")>=0&&rP(e,i):r.canUseCdn,a=(r.useCdn??o.useCdn)&&s,u=r.tag&&o.requestTagPrefix?[o.requestTagPrefix,r.tag].join("."):r.tag||o.requestTagPrefix;if(u&&null!==r.tag&&(r.query={tag:tU(u),...r.query}),["GET","HEAD","POST"].indexOf(r.method||"GET")>=0&&rT(e,i)){let e=r.resultSourceMap??o.resultSourceMap;void 0!==e&&!1!==e&&(r.query={resultSourceMap:e,...r.query});let t=r.perspective||o.perspective;"u">typeof t&&("previewDrafts"===t&&tz(),tQ(t),r.query={perspective:Array.isArray(t)?t.join(","):t,...r.query},(Array.isArray(t)&&t.length>0||"previewDrafts"===t||"drafts"===t)&&a&&(a=!1,tV())),r.lastLiveEventId&&(r.query={...r.query,lastLiveEventId:r.lastLiveEventId}),!1===r.returnQuery&&(r.query={returnQuery:"false",...r.query}),a&&"noStale"==r.cacheMode&&(r.query={cacheMode:"noStale",...r.query})}let c=function(e,t={}){let r={};e.headers&&Object.assign(r,e.headers);let n=t.token||e.token;n&&(r.Authorization=`Bearer ${n}`),t.useGlobalApi||e.useProjectHostname||!e.projectId||(r["X-Sanity-Project-ID"]=e.projectId);let i=!!(typeof t.withCredentials>"u"?e.withCredentials:t.withCredentials),o=typeof t.timeout>"u"?e.timeout:t.timeout;return Object.assign({},t,{headers:Object.assign({},r,t.headers||{}),timeout:typeof o>"u"?3e5:o,proxy:t.proxy||e.proxy,json:!0,withCredentials:i,fetch:"object"==typeof t.fetch&&"object"==typeof e.fetch?{...e.fetch,...t.fetch}:t.fetch||e.fetch})}(o,Object.assign({},r,{url:rL(e,i,a)})),l=new e_(e=>t(c,o.requester).subscribe(e));return r.signal?l.pipe((n=r.signal,e=>new e_(t=>{let r=()=>t.error(function(e){if(rF)return new DOMException(e?.reason??"The operation was aborted.","AbortError");let t=Error(e?.reason??"The operation was aborted.");return t.name="AbortError",t}(n));if(n&&n.aborted){r();return}let i=e.subscribe(t);return n.addEventListener("abort",r),()=>{n.removeEventListener("abort",r),i.unsubscribe()}}))):l}function rB(e,t,r){return rk(e,t,r).pipe(ta(e=>"response"===e.type),eG(e=>e.body))}function rU(e,t,r){let n=e.config();if(n["~experimental_resource"]){tL(n);let e=rD(n),i=void 0!==r?`${t}/${r}`:t;return`${e}/${i}`.replace(/\/($|\?)/,"$1")}let i=tB(n),o=`/${t}/${i}`;return`/data${void 0!==r?`${o}/${r}`:o}`.replace(/\/($|\?)/,"$1")}function rL(e,t,r=!1){let{url:n,cdnUrl:i}=e.config();return`${r?i:n}/${t.replace(/^\//,"")}`}let rF=!!globalThis.DOMException,rD=e=>{if(!e["~experimental_resource"])throw Error("`resource` must be provided to perform resource queries");let{type:t,id:r}=e["~experimental_resource"];switch(t){case"dataset":{let e=r.split(".");if(2!==e.length)throw Error('Dataset ID must be in the format "project.dataset"');return`/projects/${e[0]}/datasets/${e[1]}`}case"canvas":return`/canvases/${r}`;case"media-library":return`/media-libraries/${r}`;case"dashboard":return`/dashboards/${r}`;default:throw Error(`Unsupported resource type: ${t.toString()}`)}};function rM(e,t,r){let n=tB(e.config());return rB(e,t,{method:"POST",uri:`/agent/action/generate/${n}`,body:r})}function rN(e,t,r){let n=tB(e.config());return rB(e,t,{method:"POST",uri:`/agent/action/transform/${n}`,body:r})}function rV(e,t,r){let n=tB(e.config());return rB(e,t,{method:"POST",uri:`/agent/action/translate/${n}`,body:r})}class rz{#a;#u;constructor(e,t){this.#a=e,this.#u=t}generate(e){return rM(this.#a,this.#u,e)}transform(e){return rN(this.#a,this.#u,e)}translate(e){return rV(this.#a,this.#u,e)}}class rG{#a;#u;constructor(e,t){this.#a=e,this.#u=t}generate(e){return eY(rM(this.#a,this.#u,e))}transform(e){return eY(rN(this.#a,this.#u,e))}translate(e){return eY(rV(this.#a,this.#u,e))}prompt(e){return eY(function(e,t,r){let n=tB(e.config());return rB(e,t,{method:"POST",uri:`/agent/action/prompt/${n}`,body:r})}(this.#a,this.#u,e))}patch(e){return eY(function(e,t,r){let n=tB(e.config());return rB(e,t,{method:"POST",uri:`/agent/action/patch/${n}`,body:r})}(this.#a,this.#u,e))}}class rH{#a;#u;
13constructor(e,t){this.#a=e,this.#u=t}upload(e,t,r){return rY(this.#a,this.#u,e,t,r)}}class rW{#a;#u;constructor(e,t){this.#a=e,this.#u=t}upload(e,t,r){return eY(rY(this.#a,this.#u,e,t,r).pipe(ta(e=>"response"===e.type),eG(e=>e.body.document)))}}function rY(e,t,r,n,i={}){tO(r);let o=i.extract||void 0;o&&!o.length&&(o=["none"]);let s=e.config(),a=!(typeof File>"u")&&n instanceof File?Object.assign({filename:!1===i.preserveFilename?void 0:n.name,contentType:n.type},i):i,{tag:u,label:c,title:l,description:f,creditLine:h,filename:p,source:d}=a,y={label:c,title:l,description:f,filename:p,meta:o,creditLine:h};return d&&(y.sourceId=d.id,y.sourceName=d.name,y.sourceUrl=d.url),rk(e,t,{tag:u,method:"POST",timeout:a.timeout||0,uri:function(e,t){let r="image"===t?"images":"files";if(e["~experimental_resource"]){let{type:t,id:n}=e["~experimental_resource"];switch(t){case"dataset":throw Error("Assets are not supported for dataset resources, yet. Configure the client with `{projectId: <projectId>, dataset: <datasetId>}` instead.");case"canvas":return`/canvases/${n}/assets/${r}`;case"media-library":return`/media-libraries/${n}/upload`;case"dashboard":return`/dashboards/${n}/assets/${r}`;default:throw Error(`Unsupported resource type: ${t.toString()}`)}}let n=tB(e);return`assets/${r}/${n}`}(s,r),headers:a.contentType?{"Content-Type":a.contentType}:{},query:y,body:n})}var rJ=(e,t)=>Object.keys(t).concat(Object.keys(e)).reduce((r,n)=>(r[n]=typeof e[n]>"u"?t[n]:e[n],r),{});let rX=(e,t)=>t.reduce((t,r)=>(typeof e[r]>"u"||(t[r]=e[r]),t),{}),rK=eq(()=>r.e(785).then(r.t.bind(r,9785,19))).pipe(eG(({default:e})=>e),e0({connector:function(){return new eZ(1,n,i)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1}));function rQ(){return function(e){return e.pipe(e2((e,t)=>{var r;return e instanceof t0?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e3(1)(eV(e,ek(e)))}(ez({type:"reconnect"}),(void 0===r&&(r=e9),new e_(function(e){var t=1e3,n=0;return r.schedule(function(){e.closed||(e.next(n++),e.complete())},t)})).pipe(eH(()=>t))):e7(()=>e)}))}}let rZ=["includePreviousRevision","includeResult","includeMutations","includeAllVersions","visibility","effectFormat","tag"],r0={includeResult:!0};function r1(e,t,r={}){let{url:n,token:i,withCredentials:o,requestTagPrefix:s,headers:a}=this.config(),u=r.tag&&s?[s,r.tag].join("."):r.tag,c={...rJ(r,r0),tag:u},l=rs({query:e,params:t,options:{tag:u,...rX(c,rZ)}}),f=`${n}${rU(this,"listen",l)}`;if(f.length>14800)return e7(()=>Error("Query too large for listener"));let h=c.events?c.events:["mutation"],p={};return o&&(p.withCredentials=!0),(i||a)&&(p.headers={},i&&(p.headers.Authorization=`Bearer ${i}`),a&&Object.assign(p.headers,a)),t8(()=>(typeof EventSource>"u"||p.headers?rK:ez(EventSource)).pipe(eG(e=>new e(f,p))),h).pipe(rQ(),ta(e=>h.includes(e.type)),eG(e=>({type:e.type,..."data"in e?e.data:{}})))}let r2="2021-03-25";class r3{#a;constructor(e){this.#a=e}events({includeDrafts:e=!1,tag:t}={}){var r,n,i;tF("live",this.#a.config());let{projectId:o,apiVersion:s,token:a,withCredentials:u,requestTagPrefix:c,headers:l}=this.#a.config(),f=s.replace(/^v/,"");if("X"!==f&&f<r2)throw Error(`The live events API requires API version ${r2} or later. The current API version is ${f}. Please update your API version to use this feature.`);if(e&&!a&&!u)throw Error("The live events API requires a token or withCredentials when 'includeDrafts: true'. Please update your client configuration. The token should have the lowest possible access role.");let h=rU(this.#a,"live/events"),p=new URL(this.#a.getUrl(h,!1)),d=t&&c?[c,t].join("."):t;d&&p.searchParams.set("tag",d),e&&p.searchParams.set("includeDrafts","true");let y={};e&&u&&(y.withCredentials=!0),(e&&a||l)&&(y.headers={},e&&a&&(y.headers.Authorization=`Bearer ${a}`),l&&Object.assign(y.headers,l));let g=`${p.href}::${JSON.stringify(y)}`,b=r6.get(g);if(b)return b;let m=t8(()=>(typeof EventSource>"u"||y.headers?rK:ez(EventSource)).pipe(eG(e=>new e(p.href,y))),["message","restart","welcome","reconnect","goaway"]),v=(n={method:"OPTIONS",mode:"cors",credentials:y.withCredentials?"include":"omit",headers:y.headers},new e_(e=>{let t=new AbortController,r=t.signal;return fetch(p,{...n,signal:t.signal}).then(t=>{e.next(t),e.complete()},t=>{r.aborted||e.error(t)}),()=>t.abort()})).pipe(e2(()=>{throw new tv({projectId:o})})),w=m.pipe(rQ(),eH(e=>"reconnect"===e.type?v.pipe(eH(()=>ez(e))):ez(e)),e2(e=>v.pipe(eH(()=>{throw e}))),eG(e=>{if("message"===e.type){let{data:t,...r}=e;return{...r,tags:t.tags}}return e})).pipe(te(()=>r6.delete(g)),(i="function"==typeof(r={predicate:e=>"welcome"===e.type})?{predicate:r}:r,e=>{var t,r,n,o;let s,a=!1,{predicate:u,...c}=i;return function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=ek(t),i=(e=1/0,"number"==typeof eP(t)?t.pop():e);return t.length?1===t.length?e$(t[0]):e3(i)(eV(t,n)):tt}(e.pipe((o=Y(t=e=>{i.predicate(e)&&(a=!0,s=e)})?{next:t,error:r,complete:n}:t)?eU(function(e,t){null===(r=o.subscribe)||void 0===r||r.call(o);var r,n=!0;e.subscribe(eL(t,function(e){var r;null===(r=o.next)||void 0===r||r.call(o,e),t.next(e)},function(){var e;n=!1,null===(e=o.complete)||void 0===e||e.call(o),t.complete()},function(e){var r;n=!1,null===(r=o.error)||void 0===r||r.call(o,e),t.error(e)},function(){var e,t;n&&(null===(e=o.unsubscribe)||void 0===e||e.call(o)),null===(t=o.finalize)||void 0===t||t.call(o)}
13))}):ev,te(()=>{a=!1,s=void 0}),e0(c)),new e_(e=>{a&&e.next(s),e.complete()}))}));return r6.set(g,w),w}}let r6=new Map;class r5{#a;#u;constructor(e,t){this.#a=e,this.#u=t}create(e,t){return r4(this.#a,this.#u,"PUT",e,t)}edit(e,t){return r4(this.#a,this.#u,"PATCH",e,t)}delete(e){return r4(this.#a,this.#u,"DELETE",e)}list(){tF("dataset",this.#a.config());let e=this.#a.config(),t=e.projectId,r="/datasets";return!1===e.useProjectHostname&&(r=`/projects/${t}/datasets`),rB(this.#a,this.#u,{uri:r,tag:null})}}class r8{#a;#u;constructor(e,t){this.#a=e,this.#u=t}create(e,t){return tF("dataset",this.#a.config()),eY(r4(this.#a,this.#u,"PUT",e,t))}edit(e,t){return tF("dataset",this.#a.config()),eY(r4(this.#a,this.#u,"PATCH",e,t))}delete(e){return tF("dataset",this.#a.config()),eY(r4(this.#a,this.#u,"DELETE",e))}list(){tF("dataset",this.#a.config());let e=this.#a.config(),t=e.projectId,r="/datasets";return!1===e.useProjectHostname&&(r=`/projects/${t}/datasets`),eY(rB(this.#a,this.#u,{uri:r,tag:null}))}}function r4(e,t,r,n,i){return tF("dataset",e.config()),tx(n),rB(e,t,{method:r,uri:`/datasets/${n}`,body:i,tag:null})}class r9{#a;#u;constructor(e,t){this.#a=e,this.#u=t}getPlaybackInfo(e,t={}){let r=this.#a.config()["~experimental_resource"]?.id,{instanceId:n,library
13Id:i}=function(e){let t="object"==typeof e&&"_ref"in e?e._ref:e,r=ne.exec(t);if(r){let[,e,t]=r;return{libraryId:e,instanceId:t}}if("string"==typeof e&&e.startsWith("video-"))return{instanceId:e};throw Error(`Invalid video asset instance identifier "${t}": must be a valid video instance id or a Global Dataset Reference (GDR) to the video asset in the Media Library`)}(e),o=i||r;if(!o)throw Error("Could not determine Media Library ID - you need to provide a valid Media Library ID in the client config or a Media Library GDR");let s=`/media-libraries/${o}/video/${n}/playback-info`,a=function(e){let t={};if(e.transformations){let{thumbnail:r,animated:n,storyboard:i}=e.transformations;r&&(r.width&&(t.thumbnailWidth=r.width),r.height&&(t.thumbnailHeight=r.height),void 0!==r.time&&(t.thumbnailTime=r.time),r.fit&&(t.thumbnailFit=r.fit),r.format&&(t.thumbnailFormat=r.format)),n&&(n.width&&(t.animatedWidth=n.width),n.height&&(t.animatedHeight=n.height),void 0!==n.start&&(t.animatedStart=n.start),void 0!==n.end&&(t.animatedEnd=n.end),n.fps&&(t.animatedFps=n.fps),n.format&&(t.animatedFormat=n.format)),i&&i.format&&(t.storyboardFormat=i.format)}return e.expiration&&(t.expiration=e.expiration),t}(t);return rB(this.#a,this.#u,{method:"GET",uri:s,query:a})}}class r7{#a;#u;constructor(e,t){this.#a=e,this.#u=t}getPlaybackInfo(e,t={}){return eY(new r9(this.#a.observable,this.#u).getPlaybackInfo(e,t))}}let ne=/^media-library:(ml[^:]+):([^:]+)$/;class nt{#a;#u;constructor(e,t){this.#a=e,this.#u=t}list(e){let t={};return e?.includeMembers===!1&&(t.includeMembers="false"),e?.organizationId&&(t.organizationId=e.organizationId),rB(this.#a,this.#u,{uri:"/projects",query:t})}getById(e){return rB(this.#a,this.#u,{uri:`/projects/${e}`})}}class nr{#a;#u;constructor(e,t){this.#a=e,this.#u=t}list(e){let t={};return e?.includeMembers===!1&&(t.includeMembers="false"),e?.organizationId&&(t.organizationId=e.organizationId),eY(rB(this.#a,this.#u,{uri:"/projects",query:t}))}getById(e){return eY(rB(this.#a,this.#u,{uri:`/projects/${e}`}))}}let nn=((e,t=21)=>tl(e,t,tc))("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",8),ni=(e,t)=>t?(0,tu.XL)(e,t):(0,tu.qy)(e);function no(e,{releaseId:t,publishedId:r,document:n}){if(r&&n._id){let e=ni(r,t);return tP(e,n),e}if(n._id){let r=(0,tu.Cb)(n._id),i=(0,tu.Y_)(n._id);if(!r&&!i)throw Error(`\`${e}()\` requires a document with an \`_id\` that is a version or draft ID`);if(t){if(r)throw Error(`\`${e}()\` was called with a document ID (\`${n._id}\`) that is a draft ID, but a release ID (\`${t}\`) was also provided.`);let i=(0,tu.eB)(n._id);if(i!==t)throw Error(`\`${e}()\` was called with a document ID (\`${n._id}\`) that is a version ID, but the release ID (\`${t}\`) does not match the document's version ID (\`${i}\`).`)}return n._id}if(r)return ni(r,t);throw Error(`\`${e}()\` requires either a publishedId or a document with an \`_id\``)}let ns=(e,t)=>{if("object"==typeof e&&null!==e&&("releaseId"in e||"metadata"in e)){let{releaseId:r=nn(),metadata:n={}}=e;return[r,n,t]}return[nn(),{},e]},na=(e,t)=>{let[r,n,i]=ns(e,t);return{action:{actionType:"sanity.action.release.create",releaseId:r,metadata:{...n,releaseType:n.releaseType||"undecided"}},options:i}};class nu{#a;#u;constructor(e,t){this.#a=e,this.#u=t}get({releaseId:e},t){return rp(this.#a,this.#u,`_.releases.${e}`,t)}create(e,t){let{action:r,options:n}=na(e,t),{releaseId:i,metadata:o}=r;return rR(this.#a,this.#u,r,n).pipe(eG(e=>({...e,releaseId:i,metadata:o})))}edit({releaseId:e,patch:t},r){return rR(this.#a,this.#u,{actionType:"sanity.action.release.edit",releaseId:e,patch:t},r)}publish({releaseId:e},t){return rR(this.#a,this.#u,{actionType:"sanity.action.release.publish",releaseId:e},t)}archive({releaseId:e},t){return rR(this.#a,this.#u,{actionType:"sanity.action.release.archive",releaseId:e},t)}unarchive({releaseId:e},t){return rR(this.#a,this.#u,{actionType:"sanity.action.release.unarchive",releaseId:e},t)}schedule({releaseId:e,publishAt:t},r){return rR(this.#a,this.#u,{actionType:"sanity.action.release.schedule",releaseId:e,publishAt:t},r)}unschedule({releaseId:e},t){return rR(this.#a,this.#u,{actionType:"sanity.action.release.unschedule",releaseId:e},t)}delete({releaseId:e},t){return rR(this.#a,this.#u,{actionType:"sanity.action.release.delete",releaseId:e},t)}fetchDocuments({releaseId:e},t){return ry(this.#a,this.#u,e,t)}}class nc{#a;#u;
13constructor(e,t){this.#a=e,this.#u=t}get({releaseId:e},t){return eY(rp(this.#a,this.#u,`_.releases.${e}`,t))}async create(e,t){let{action:r,options:n}=na(e,t),{releaseId:i,metadata:o}=r;return{...await eY(rR(this.#a,this.#u,r,n)),releaseId:i,metadata:o}}edit({releaseId:e,patch:t},r){return eY(rR(this.#a,this.#u,{actionType:"sanity.action.release.edit",releaseId:e,patch:t},r))}publish({releaseId:e},t){return eY(rR(this.#a,this.#u,{actionType:"sanity.action.release.publish",releaseId:e},t))}archive({releaseId:e},t){return eY(rR(this.#a,this.#u,{actionType:"sanity.action.release.archive",releaseId:e},t))}unarchive({releaseId:e},t){return eY(rR(this.#a,this.#u,{actionType:"sanity.action.release.unarchive",releaseId:e},t))}schedule({releaseId:e,publishAt:t},r){return eY(rR(this.#a,this.#u,{actionType:"sanity.action.release.schedule",releaseId:e,publishAt:t},r))}unschedule({releaseId:e},t){return eY(rR(this.#a,this.#u,{actionType:"sanity.action.release.unschedule",releaseId:e},t))}delete({releaseId:e},t){return eY(rR(this.#a,this.#u,{actionType:"sanity.action.release.delete",releaseId:e},t))}fetchDocuments({releaseId:e},t){return eY(ry(this.#a,this.#u,e,t))}}class nl{#a;#u;constructor(e,t){this.#a=e,this.#u=t}getById(e){return rB(this.#a,this.#u,{uri:`/users/${e}`})}}class nf{#a;#u;constructor(e,t){this.#a=e,this.#u=t}getById(e){return eY(rB(this.#a,this.#u,{uri:`/users/${e}`}))}}class nh{assets;datasets;live;mediaLibrary;projects;users;agent;releases;#c;#u;listen=r1;constructor(e,t=tJ){this.config(t),this.#u=e,this.assets=new rH(this,this.#u),this.datasets=new r5(this,this.#u),this.live=new r3(this),this.mediaLibrary={video:new r9(this,this.#u)},this.projects=new nt(this,this.#u),this.users=new nl(this,this.#u),this.agent={action:new rz(this,this.#u)},this.releases=new nu(this,this.#u)}clone(){return new nh(this.#u,this.config())}config(e){if(void 0===e)return{...this.#c};if(this.#c&&!1===this.#c.allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.#c=tZ(e,this.#c||{}),this}withConfig(e){let t=this.config();return new nh(this.#u,{...t,...e,stega:{...t.stega||{},..."boolean"==typeof e?.stega?{enabled:e.stega}:e?.stega||{}}})}fetch(e,t,r){return rh(this,this.#u,this.#c.stega,e,t,r)}getDocument(e,t){if(t?.includeAllVersions===!0)return rp(this,this.#u,e,{...t,includeAllVersions:!0});let r={signal:t?.signal,tag:t?.tag,releaseId:t?.releaseId,...t&&"includeAllVersions"in t?{includeAllVersions:!1}:{}};return rp(this,this.#u,e,r)}getDocuments(e,t){return rd(this,this.#u,e,t)}create(e,t){return rA(this,this.#u,e,"create",t)}createIfNotExists(e,t){return rg(this,this.#u,e,t)}createOrReplace(e,t){return rb(this,this.#u,e,t)}createVersion({document:e,publishedId:t,releaseId:r,baseId:n,ifBaseRevisionId:i},o){if(!e)return rv(this,this.#u,t,n,r,i,o);let s=no("createVersion",{document:e,publishedId:t,releaseId:r}),a={...e,_id:s},u=t||(0,tu.vs)(e._id);return rm(this,this.#u,a,u,o)}delete(e,t){return rw(this,this.#u,e,t)}discardVersion({releaseId:e,publishedId:t},r,n){let i=ni(t,e);return r_(this,this.#u,i,r,n)}replaceVersion({document:e,publishedId:t,releaseId:r},n){let i=no("replaceVersion",{document:e,publishedId:t,releaseId:r}),o={...e,_id:i};return rE(this,this.#u,o,n)}unpublishVersion({releaseId:e,publishedId:t},r){let n=(0,tu.XL)(t,e);return rC(this,this.#u,n,t,r)}mutate(e,t){return rI(this,this.#u,e,t)}patch(e,t){return new re(e,t,this)}transaction(e){return new ro(e,this)}action(e,t){return rR(this,this.#u,e,t)}request(e){return rB(this,this.#u,e)}getUrl(e,t){return rL(this,e,t)}getDataUrl(e,t){return rU(this,e,t)}}class np{assets;datasets;live;mediaLibrary;projects;users;agent;releases;observable;#c;#u;listen=r1;constructor(e,t=tJ){this.config(t),this.#u=e,this.assets=new rW(this,this.#u),this.datasets=new r8(this,this.#u),this.live=new r3(this),this.mediaLibrary={video:new r7(this,this.#u)},this.projects=new nr(this,this.#u),this.users=new nf(this,this.#u),this.agent={action:new rG(this,this.#u)},this.releases=new nc(this,this.#u),this.observable=new nh(e,t)}clone(){return new np(this.#u,this.config())}config(e){if(void 0===e)return{...this.#c};if(this.#c&&!1===this.#c.allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.observable&&this.observable.config(e),this.#c=tZ(e,this.#c||{}),this}withConfig(e){let t=this.config();return new np(this.#u,{...t,...e,stega:{...t.stega||{},..."boolean"==typeof e?.stega?{enabled:e.stega}:e?.stega||{}}})}fetch(e,t,r){return eY(rh(this,this.#u,this.#c.stega,e,t,r))}getDocument(e,t){if(t?.includeAllVersions===!0)return eY(rp(this,this.#u,e,{...t,includeAllVersions:!0}));let r={signal:t?.signal,tag:t?.tag,releaseId:t?.releaseId,...t&&"includeAllVersions"in t?{includeAllVersions:!1}:{}};return eY(rp(this,this.#u,e,r))}getDocuments(e,t){return eY(rd(this,this.#u,e,t))}create(e,t){return eY(rA(this,this.#u,e,"create",t))}createIfNotExists(e,t){return eY(rg(this,this.#u,e,t))}createOrReplace(e,t){return eY(rb(this,this.#u,e,t))}createVersion({document:e,publishedId:t,releaseId:r,baseId:n,ifBaseRevisionId:i},o){if(!e)return tr(rv(this,this.#u,t,n,r,i,o));let s=no("createVersion",{document:e,publishedId:t,releaseId:r}),a={...e,_id:s},u=t||(0,tu.vs)(e._id);return tr(rm(this,this.#u,a,u,o))}delete(e,t){return eY(rw(this,this.#u,e,t))}discardVersion({releaseId:e,publishedId:t},r,n){let i=ni(t,e);return eY(r_(this,this.#u,i,r,n))}replaceVersion({document:e,publishedId:t,releaseId:r},n){let i=no("replaceVersion",{document:e,publishedId:t,releaseId:r}),o={...e,_id:i};return tr(rE(this,this.#u,o,n))}unpublishVersion({releaseId:e,publishedId:t},r){let n=(0,tu.XL)(t,e);return eY(rC(this,this.#u,n,t,r))}mutate(e,t){return eY(rI(this,this.#u,e,t))}patch(e,t){return new rt(e,t,this)}transaction(e){return new ri(e,this)}action(e,t){return eY(rR(this,this.#u,e,t))}request(e){return eY(rB(this,this.#u,e))}dataRequest(e,t,r){return eY(rx(this,this.#u,e,t,r))}getUrl(e,t){return rL(this,e,t)}getDataUrl(e,t){return rU(this,e,t)}}let nd={requester:t_(o=[]),createClient:e=>{let t=t_(o,{ignoreWarnings:e.ignoreWarnings});return new np((r,n)=>(n||t)({maxRedirects:0,maxRetries:e.maxRetries,retryDelay:e.retryDelay,lineage:e.lineage,...r}),e)}},ny=(nd.requester,nd.createClient);var ng=r(990);let nb='\n markDefs[] {\n ...,\n _type == "link" && linkType == "internal" && internalLink->_type == "post" => {\n "href": "/play-space/" + @.internalLink->slug.current,\n },\n _type == "link" && linkType == "internal" && internalLink->_type != "post" => {\n "href": "/" + @.internalLink->slug.current,\n },\n _type == "fileLink" => {\n "href": @.file.asset->url + "?dl=",\n },\n },\n _type == "carousel" => {\n ...,\n items[] {\n ...,\n linkType == "internal" && internalLink->_type == "post" => {\n "href": "/play-space/" + @.internalLink->slug.current,\n },\n linkType == "internal" && internalLink->_type != "post" => {\n "href": "/" + @.internalLink->slug.current,\n },\n },\n },\n _type == "livestreamCard" => {\n ...,\n items[] {\n ...,\n linkType == "internal" && internalLink->_type == "post" => {\n "href": "/play-space/" + @.internalLink->slug.current,\n },\n linkType == "internal" && internalLink->_type != "post" => {\n "href": "/" + @.internalLink->slug.current,\n },\n },\n },\n _type == "funZoneCard" => {\n ...,\n post->{\n title,\n coverImage,\n excerpt,\n callToAction,\n category,\n "slug": slug.current,\n },\n cardType == "latest" =>
13 {\n "post": *[_type == "post"] | order(orderRank)[0] {\n title,\n coverImage,\n excerpt,\n callToAction,\n "slug": slug.current,\n },\n },\n },\n',nm='\n _id,\n name,\n title,\n date,\n excerpt,\n coverImage,\n callToAction,\n category,\n "slug": slug.current,\n';'\n{\n "post": *[_type == "post" && slug.current == $slug] | order(_updatedAt desc) [0] {\n content[] {\n ...,\n '.concat(nb,"\n },\n ").concat(nm,"\n }\n}"),'\n{\n "page": *[_type == "page" && slug.current == $slug] | order(_updatedAt desc) [0] {\n content[] {\n ...,\n '.concat(nb,"\n },\n ").concat(nm,"\n pageHeaderStyle,\n pageHeaderText,\n pageHeaderSign,\n }\n}");let nv=new Date;nv.setMinutes(nv.getMinutes()-nv.getTimezoneOffset());let nw=nv.toISOString().slice(0,10),n_='\n _id,\n name,\n description,\n image,\n linkText,\n time,\n date,\n href,\n blank,\n linkType == "internal" && internalLink->_type == "post" => {\n "href": "/play-space/" + @.internalLink->slug.current,\n },\n linkType == "internal" && internalLink->_type != "post" => {\n "href": "/" + @.internalLink->slug.current,\n },\n';"\n{\n 'repeatingEvents': *[_type == \"livestreamEvent\" && isRepeating == true] {\n ...,\n ".concat(n_,"\n },\n 'oneOffEvents': *[_type == 'livestreamEvent' && date >= \"").concat(nw,'"] | order(date asc)[0...3] {\n ...,\n ').concat(n_,"\n },\n}\n"),r(4224).env.SANITY_API_TOKEN;let nE=ny(ng.h);function nC(e){let{children:t,token:r}=e;if(!r)throw TypeError("Missing token");return(0,s.jsx)(l,{client:nE,token:r,logger:console,children:t})}var nI=r(1064),nR=r.n(nI);function nx(e){let{id:t,name:r,label:n,value:i}=e;(0,a.B)(r,{category:"web-vital"===n?"Web Vitals":"Next.js custom metric",value:Math.round("CLS"===r?1e3*i:i),label:t,nonInteraction:!0})}var nA=function(e){let{Component:t,pageProps:n}=e,{draftMode:i,token:o}=n,[l,f]=(0,u.useState)(!1),h=(0,c.useRouter)();(0,u.useEffect)(()=>{r.e(579).then(r.t.bind(r,8579,23)).then(e=>e.default).then(e=>{e.init("733853991530632"),e.pageView(),h.events.on("routeChangeComplete",()=>{e.pageView()})})},[h.events]),(0,u.useEffect)(()=>{var e,t,r,n;f("".concat(null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.href).includes("planetstarlight.org.au")||"".concat(null===(n=window)||void 0===n?void 0:null===(r=n.location)||void 0===r?void 0:r.href).includes("captainstarlight.org.au"))},[]);let p=t.getLayout||(e=>e);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.Wi,{trackPageViews:!0}),(0,s.jsx)(nR(),{id:"clarity-script",strategy:"afterInteractive",children:'\n (function(c,l,a,r,i,t,y){\n c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};\n t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;\n y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);\n })(window, document, "clarity", "script", "'.concat("rpef9paw9o",'");\n ')}),p(i?(0,s.jsx)(nC,{token:o,children:(0,s.jsx)(t,{...n})}):(0,s.jsx)(t,{...n}))]})}},8584:function(){},3288:function(e,t,r){e.exports=r(8448)},1064:function(e,t,r){e.exports=r(7379)},9534:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=void 0;let n=r(5767),i=n.__importDefault(r(5271)),o=n.__importDefault(r(1064)),s=r(7942);t.GoogleAnalytics=function({debugMode:e=!1,gaMeasurementId:t,gtagUrl:r="https://www.googletagmanager.com/gtag/js",strategy:n="afterInteractive",defaultConsent:a="granted",trackPageViews:u,nonce:c}){let l="G-33TPBV16HK";return((0,s.usePageViews)({gaMeasurementId:l,ignoreHashChange:"object"==typeof u&&(null==u?void 0:u.ignoreHashChange),disabled:!u}),l)?i.default.createElement(i.default.Fragment,null,i.default.createElement(o.default,{src:`${r}?id=${l}`,strategy:n}),i.default.createElement(o.default,{id:"nextjs-google-analytics",nonce:c},` 14 window.dataLayer = window.dataLayer || []; 15 function gtag(){dataLayer.push(arguments);} 16 gtag('js', new Date()); 17 ${"denied"===a?`gtag('consent', 'default', { 18 'ad_storage': 'denied',
19 'analytics_storage': 'denied', 20 'ad_user_data': 'denied', 21 'ad_personalization': 'denied' 22 });`:""} 23 gtag('config', '${l}', { 24 page_path: window.location.pathname, 25 ${e?`debug_mode: ${e},`:""} 26 }); 27 `)):null}},8939:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=void 0;var n=r(9534);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return n.GoogleAnalytics}})},7942:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePageViews=t.usePagesViews=void 0;var n=r(8701);Object.defineProperty(t,"usePagesViews",{enumerable:!0,get:function(){return n.usePagesViews}});var i=r(4881);Object.defineProperty(t,"usePageViews",{enumerable:!0,get:function(){return i.usePageViews}})},4881:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePageViews=void 0;let n=r(5271),i=r(3288),o=r(6920);t.usePageViews=function({gaMeasurementId:e,ignoreHashChange:t,disabled:r}={}){(0,n.useEffect)(()=>{if(r)return;let e=e=>{(0,o.pageView)({path:e.toString()},"G-33TPBV16HK")};return i.Router.events.on("routeChangeComplete",e),t||i.Router.events.on("hashChangeComplete",e),()=>{i.Router.events.off("routeChangeComplete",e),t||i.Router.events.off("hashChangeComplete",e)}},[i.Router.events,e,t])}},8701:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePagesViews=void 0;let n=r(4881);t.usePagesViews=function(e){console.warn("Nextjs Google Analytics: The 'usePagesViews' hook is deprecated. Please use 'usePageViews' hook instead. https://github.com/MauricioRobayo/nextjs-google-analytics#readme"),(0,n.usePageViews)(e)}},8133:function(e,t,r){"use strict";t.B=t.Wi=void 0;var n=r(8939);Object.defineProperty(t,"Wi",{enumerable:!0,get:function(){return n.GoogleAnalytics}}),r(7942);var i=r(6920);Object.defineProperty(t,"B",{enumerable:!0,get:function(){return i.event}})},5468:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.consent=void 0,t.consent=function({arg:e,params:t}){window.gtag&&window.gtag("consent",e,t)}},7501:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.event=void 0;let n=r(5767);t.event=function(e,t={}){var{category:r,label:i,value:o,nonInteraction:s,userId:a}=t,u=n.__rest(t,["category","label","value","nonInteraction","userId"]);if(!window.gtag)return;let c=Object.assign({},u);void 0!==r&&(c.event_category=r),void 0!==i&&(c.event_label=i),void 0!==o&&(c.value=o),void 0!==s&&(c.non_interaction=s),void 0!==a&&(c.user_id=a),window.gtag("event",e,c)}},6920:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.consent=t.event=t.pageView=void 0;var n=r(4011);Object.defineProperty(t,"pageView",{enumerable:!0,get:function(){return n.pageView}});var i=r(7501);Object.defineProperty(t,"event",{enumerable:!0,get:function(){return i.event}});var o=r(5468);Object.defineProperty(t,"consent",{enumerable:!0,get:function(){return o.consent}})},4011:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pageView=void 0,t.pageView=function({title:e,location:t,path:r,sendPageView:n,userId:i}={},o){let s="G-33TPBV16HK";if(!s||!window.gtag)return;let a={};void 0!==e&&(a.page_title=e),void 0!==t&&(a.page_location=t),void 0!==r&&(a.page_path=r),void 0!==n&&(a.send_page_view=n),void 0!==i&&(a.user_id=i),window.gtag("config",s,a)}},4224:function(e){var t,r,n,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u=[],c=!1,l=-1;function f(){c&&n&&(c=!1,n.length?u=n.concat(u):l=-1,u.length&&h())}function h(){if(!c){var e=a(f);c=!0;for(var t=u.length;t;){for(n=u,u=[];++l<t;)n&&n[l].run();l=-1,t=u.length}n=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!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 p(e,t){this.fun=e,this.array=t}function d(){}i.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 p(e,t)),1!==u.length||c||a(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=d,i.addListener=d,i.once=d,i.off=d,i.removeListener=d,i.removeAllListeners=d,i.emit=d,i.prependListener=d,i.prependOnceListener=d,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},6886:function(e,t,r){"use strict";function n(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}r.d(t,{U2:function(){return c},qy:function(){return g},vs:function(){return v},eB:function(){return m},XL:function(){return b},Cb:function(){return d},Y_:function(){return y},F5:function(){return E},Mx:function(){return I},BB:function(){return l},lV:function(){return function e(t,r,i=[]){if(null!==t&&Array.isArray(t))return t.map((t,o)=>{if(n(t)){let n=t._key;if("string"==typeof n)return e(t,r,i.concat({_key:n,_index:o}))}return e(t,r,i.concat(o))});if(n(t)){if("block"===t._type||"span"===t._type){let n={...t};return"block"===t._type?n.children=e(t.children,r,i.concat("children")):"span"===t._type&&(n.text=e(t.text,r,i.concat("text"))),n}return Object.fromEntries(Object.entries(t).map(([t,n])=>[t,e(n,r,i.concat(t))]))}return r(t,i)}}});let i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/_key\s*==\s*['"](.*)['"]/,s=/^\d*:\d*$/;function a(e){return"number"==typeof e||"string"==typeof e&&/^\[\d+\]$/.test(e)}function u(e){return"string"==typeof e?o.test(e.trim()):"object"==typeof e&&"_key"in e}function c(e,t,r){let n="string"==typeof t?function(e){if("string"!=typeof e)throw Error("Path is not a string");let t=e.match(i);if(!t)throw Error("Invalid path string");return t.map(f)}(t):t;if(!Array.isArray(n))throw Error("Path must be an array or a string");let o=e;for(let e=0;e<n.length;e++){let t=n[e];if(a(t)){if(!Array.isArray(o))return r;o=o[t]}if(u(t)){if(!Array.isArray(o))return r;o=o.find(e=>e._key===t._key)}if("string"==typeof t&&(o="object"==typeof o&&null!==o?o[t]:void 0),typeof o>"u")return r}return o}function l(e){if(!Array.isArray(e))throw Error("Path is not an array");return e.reduce((e,t,r)=>{let n=typeof t;if("number"===n)return`${e}[${t}]`;if("string"===n)return`${e}${0===r?"":"."}${t}`;if(u(t)&&t._key)return`${e}[_key=="${t._key}"]`;if(Array.isArray(t)){let[r,n]=t;return`${e}[${r}:${n}]`}throw Error(`Unsupported path segment \`${JSON.stringify(t)}\``)},"")}function f(e){return a(e)?Number(e.replace(/[^\d]/g,"")):u(e)?{_key:e.match(o)[
271]}:!function(e){if("string"==typeof e&&s.test(e))return!0;if(!Array.isArray(e)||2!==e.length)return!1;let[t,r]=e;return("number"==typeof t||""===t)&&("number"==typeof r||""===r)}(e)?e:function(e){let[t,r]=e.split(":").map(e=>""===e?e:Number(e));return[t,r]}(e)}let h="drafts.",p="versions.";function d(e){return e.startsWith(h)}function y(e){return e.startsWith(p)}function g(e){return y(e)?h+v(e):d(e)?e:h+e}function b(e,t){if("drafts"===t||"published"===t)throw Error('Version can not be "published" or "drafts"');return`${p}${t}.${v(e)}`}function m(e){if(!y(e))return;let[t,r,...n]=e.split(".");return r}function v(e){return y(e)?e.split(".").slice(2).join("."):d(e)?e.slice(h.length):e}let w={"\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","'":"\\'","\\":"\\\\"},_={"\\f":"\f","\\n":` 28`,"\\r":"\r","\\t":" ","\\'":"'","\\\\":"\\"};function E(e){let t;let r=[],n=/\['(.*?)'\]|\[(\d+)\]|\[\?\(@\._key=='(.*?)'\)\]/g;for(;null!==(t=n.exec(e));){if(void 0!==t[1]){let e=t[1].replace(/\\(\\|f|n|r|t|')/g,e=>_[e]);r.push(e);continue}if(void 0!==t[2]){r.push(parseInt(t[2],10));continue}if(void 0!==t[3]){let e=t[3].replace(/\\(\\')/g,e=>_[e]);r.push({_key:e,_index:-1});continue}}return r}function C(e){return e.map(e=>{if("string"==typeof e||"number"==typeof e)return e;if(-1!==e._index)return e._index;throw Error(`invalid segment:${JSON.stringify(e)}`)})}function I(e,t){var r;if(!t?.mappings)return;let n=(r=C(e),`$${r.map(e=>"string"==typeof e?`['${e.replace(/[\f\n\r\t'\\]/g,e=>w[e])}']`:"number"==typeof e?`[${e}]`:""!==e._key?`[?(@._key=='${e._key.replace(/['\\]/g,e=>w[e])}')]`:`[${e._index}]`).join("")}`);if(void 0!==t.mappings[n])return{mapping:t.mappings[n],matchedPath:n,pathSuffix:""};let i=C(e).map(e=>"string"==typeof e?`['${e.replace(/[\f\n\r\t'\\]/g,e=>w[e])}']`:"number"==typeof e?`[${e}]`:""!==e._key?`[?(@._key=='${e._key.replace(/['\\]/g,e=>w[e])}')]`:`[${e._index}]`);for(let e=i.length-1;e>=0;e--){let r=`$${i.slice(0,e).join("")}`,o=t.mappings[r];if(o){let e=n.substring(r.length);return{mapping:o,matchedPath:r,pathSuffix:e}}}}},6343:function(e,t,r){"use strict";function n(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}r.d(t,{NG:function(){return u},Uy:function(){return n}});var i={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},o={0:8203,1:8204,2:8205,3:65279};[,,,,].fill(String.fromCodePoint(o[0])).join(""),Object.fromEntries(Object.entries(o).map(e=>e.reverse())),Object.fromEntries(Object.entries(i).map(e=>e.reverse()));var s=`${Object.values(i).map(e=>`\\u{${e.toString(16)}}`).join("")}`,a=RegExp(`[${s}]{4,}`,"gu");function u(e){var t,r;return e&&JSON.parse({cleaned:(t=JSON.stringify(e)).replace(a,""),encoded:(null==(r=t.match(a))?void 0:r[0])||""}.cleaned)}},5767:function(e,t,r){"use strict";r.r(t),r.d(t,{__addDisposableResource:function(){return k},__assign:function(){return o},__asyncDelegator:function(){return R},__asyncGenerator:function(){return I},__asyncValues:function(){return x},__await:function(){return C},__awaiter:function(){return d},__classPrivateFieldGet:function(){return S},__classPrivateFieldIn:function(){return P},__classPrivateFieldSet:function(){return q},__createBinding:function(){return g},__decorate:function(){return a},__disposeResources:function(){return U},__esDecorate:function(){return c},__exportStar:function(){return b},__extends:function(){return i},__generator:function(){return y},__importDefault:function(){return $},__importStar:function(){return j}
28,__makeTemplateObject:function(){return A},__metadata:function(){return p},__param:function(){return u},__propKey:function(){return f},__read:function(){return v},__rest:function(){return s},__rewriteRelativeImportExtension:function(){return L},__runInitializers:function(){return l},__setFunctionName:function(){return h},__spread:function(){return w},__spreadArray:function(){return E},__spreadArrays:function(){return _},__values:function(){return m}});var 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 i(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)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function a(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s}function u(e,t){return function(r,n){t(r,n,e)}}function c(e,t,r,n,i,o){function s(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var a,u=n.kind,c="getter"===u?"get":"setter"===u?"set":"value",l=!t&&e?n.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),h=!1,p=r.length-1;p>=0;p--){var d={};for(var y in n)d[y]="access"===y?{}:n[y];for(var y in n.access)d.access[y]=n.access[y];d.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");o.push(s(e||null))};var g=(0,r[p])("accessor"===u?{get:f.get,set:f.set}:f[c],d);if("accessor"===u){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(a=s(g.get))&&(f.get=a),(a=s(g.set))&&(f.set=a),(a=s(g.init))&&i.unshift(a)}else(a=s(g))&&("field"===u?i.unshift(a):f[c]=a)}l&&Object.defineProperty(l,n.name,f),h=!0}function l(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function h(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function d(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(s,a)}u((n=n.apply(e,t||[])).next())})}function y(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}var g=Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);
vendor: 4,274 bytes, line 28
28(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function b(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||g(t,e,r)}function m(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function _(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)n[i]=o[s];return n}function E(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function C(e){return this instanceof C?(this.v=e,this):new C(e)}function I(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",function(e){return function(t){return Promise.resolve(t).then(e,c)}}),n[Symbol.asyncIterator]=function(){return this},n;function s(e,t){i[e]&&(n[e]=function(t){return new Promise(function(r,n){o.push([e,t,r,n])>1||a(e,t)})},t&&(n[e]=t(n[e])))}function a(e,t){try{var r;(r=i[e](t)).value instanceof C?Promise.resolve(r.value.v).then(u,c):l(o[0][2],r)}catch(e){l(o[0][3],e)}}function u(e){a("next",e)}function c(e){a("throw",e)}function l(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function R(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:C(e[n](t)),done:!1}:i?i(t):t}:i}}function x(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=m(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){!function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)}(n,i,(t=e[r](t)).done,t.value)})}}}function A(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},T=function(e){return(T=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)};function j(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=T(e),n=0;n<r.length;n++)"default"!==r[n]&&g(t,e,r[n]);return O(t,e),t}function $(e){return e&&e.__esModule?e:{default:e}}function S(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function q(e,t,r,n,i){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r}function P(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function k(e,t,r){if(null!=t){var n,i;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");
28if(r){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var B="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function U(e){function t(t){e.error=e.hasError?new B(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function i(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,function(e){return t(e),i()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function L(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,r,n,i,o){return r?t?".jsx":".js":!n||i&&o?n+i+"."+o.toLowerCase()+"js":e}):e}t.default={__extends:i,__assign:o,__rest:s,__decorate:a,__param:u,__esDecorate:c,__runInitializers:l,__propKey:f,__setFunctionName:h,__metadata:p,__awaiter:d,__generator:y,__createBinding:g,__exportStar:b,__values:m,__read:v,__spread:w,__spreadArrays:_,__spreadArray:E,__await:C,__asyncGenerator:I,__asyncDelegator:R,__asyncValues:x,__makeTemplateOb
28ject:A,__importStar:j,__importDefault:$,__classPrivateFieldGet:S,__classPrivateFieldSet:q,__classPrivateFieldIn:P,__addDisposableResource:k,__disposeResources:U,__rewriteRelativeImportExtension:L}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(1099),t(8448)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.