PageSourceSearch

https://www.makingsfinekitchens.com.au/_next/static/chunks/715-50e695a199070bfb.js

js makingsfinekitchens.com.au collected 2026-10-08 17:00:57 UTC 77,129 bytes, 11 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[715],{79742:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,i=u(t),s=i[0],a=i[1],c=new o((s+a)*3/4-a),h=0,f=a>0?s-4:s;for(r=0;r<f;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],c[h++]=e>>16&255,c[h++]=e>>8&255,c[h++]=255&e;return 2===a&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[h++]=255&e),1===a&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[h++]=e>>8&255,c[h++]=255&e),c},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],s=0,a=n-o;s<a;s+=16383)i.push(function(t,e,n){for(var o,i=[],s=e;s<n;s+=3)i.push(r[(o=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]))>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(t,s,s+16383>a?a:s+16383));return 1===o?i.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===o&&i.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=i.length;s<a;++s)r[s]=i[s],n[i.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:function(t,e,r){"use strict";/*!
2 * The buffer module from node.js, for the browser.
3 *
4 * @author   Feross Aboukhadijeh <https://feross.org>
5 * @license  MIT
6 */var n=r(79742),o=r(80645),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,a.prototype),e}function a(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return h(t)}return u(t,e,r)}function u(t,e,r){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!a.isEncoding(e))throw TypeError("Unknown encoding: "+e);var r=0|d(t,e),n=s(r),o=n.write(t,e);return o!==r&&(n=n.slice(0,o)),n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(I(t,Uint8Array)){var e=new Uint8Array(t);return l(e.buffer,e.byteOffset,e.byteLength)}return f(t)}(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return l(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return a.from(n,e,r);var o=function(t){if(a.isBuffer(t)){var e,r=0|p(t.length),n=s(r);return 0===n.length||t.copy(n,0,0,r),n}return void 0!==t.length?"number"!=typeof t.length||(e=t.length)!=e?s(0):f(t):"Buffer"===t.type&&Array.isArray(t.data)?f(t.data):void 0}(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return a.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function c(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function h(t){return c(t),s(t<0?0:0|p(t))}function f(t){for(var e=t.length<0?0:0|p(t.length),r=s(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}function l(t,e,r){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),a.prototype),n}function p(t){if(t>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function d(t,e){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return O(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return j(t).length;default:if(o)return n?-1:O(t).length;e=(""+e).toLowerCase(),o=!0}}function y(t,e,r){var o,i,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=U[t[i]];return o}(this,e,r);case"utf8":case"utf-8":return b(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}(this,e,r);case"base64":return o=e,i=r,0===o&&i===this.length?n.fromByteArray(this):n.fromByteArray(this.slice(o,i));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,e,r);default:if(s)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}function g(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function m(t,e,r,n,o){var i;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(i=r=+r)!=i&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return -1;r=t.length-1}
6else if(r<0){if(!o)return -1;r=0}if("string"==typeof e&&(e=a.from(e,n)),a.isBuffer(e))return 0===e.length?-1:v(t,e,r,n,o);if("number"==typeof e)return(e&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):v(t,[e],r,n,o);throw TypeError("val must be string, number or Buffer")}function v(t,e,r,n,o){var i,s=1,a=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;s=2,a/=2,u/=2,r/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(o){var h=-1;for(i=r;i<a;i++)if(c(t,i)===c(e,-1===h?0:i-h)){if(-1===h&&(h=i),i-h+1===u)return h*s}else -1!==h&&(i-=i-h),h=-1}else for(r+u>a&&(r=a-u),i=r;i>=0;i--){for(var f=!0,l=0;l<u;l++)if(c(t,i+l)!==c(e,l)){f=!1;break}if(f)return i}return -1}function b(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,s,a,u,c=t[o],h=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(h=c);break;case 2:(192&(i=t[o+1]))==128&&(u=(31&c)<<6|63&i)>127&&(h=u);break;case 3:i=t[o+1],s=t[o+2],(192&i)==128&&(192&s)==128&&(u=(15&c)<<12|(63&i)<<6|63&s)>2047&&(u<55296||u>57343)&&(h=u);break;case 4:i=t[o+1],s=t[o+2],a=t[o+3],(192&i)==128&&(192&s)==128&&(192&a)==128&&(u=(15&c)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(h=u)}null===h?(h=65533,f=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|1023&h),n.push(h),o+=f}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}function w(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function E(t,e,r,n,o,i){if(!a.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function C(t,e,r,n,o,i){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function A(t,e,r,n,i){return e=+e,r>>>=0,i||C(t,e,r,4,34028234663852886e22,-34028234663852886e22),o.write(t,e,r,n,23,4),r+4}function T(t,e,r,n,i){return e=+e,r>>>=0,i||C(t,e,r,8,17976931348623157e292,-17976931348623157e292),o.write(t,e,r,n,52,8),r+8}e.lW=a,e.h2=50,a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),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(t,e,r){return u(t,e,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(t,e,r){return(c(t),t<=0)?s(t):void 0!==e?"string"==typeof r?s(t).fill(e,r):s(t).fill(e):s(t)},a.allocUnsafe=function(t){return h(t)},a.allocUnsafeSlow=function(t){return h(t)},a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,e){if(I(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),I(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(t)||!a.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=a.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];
vendor: 9,447 bytes, line 6
6if(I(i,Uint8Array))o+i.length>n.length?a.from(i).copy(n,o):Uint8Array.prototype.set.call(n,i,o);else if(a.isBuffer(i))i.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=i.length}return n},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},a.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?b(this,0,t):y.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(t){if(!a.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",r=e.h2;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},i&&(a.prototype[i]=a.prototype.inspect),a.prototype.compare=function(t,e,r,n,o){if(I(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,s=r-e,u=Math.min(i,s),c=this.slice(n,o),h=t.slice(e,r),f=0;f<u;++f)if(c[f]!==h[f]){i=c[f],s=h[f];break}return i<s?-1:s<i?1:0},a.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},a.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},a.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},a.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,s,a,u,c,h,f,l=this.length-e;if((void 0===r||r>l)&&(r=l),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;n>i/2&&(n=i/2);for(var s=0;s<n;++s){var a=parseInt(e.substr(2*s,2),16);if(a!=a)break;t[r+s]=a}return s}(this,t,e,r);case"utf8":case"utf-8":return o=e,i=r,k(O(t,this.length-o),this,o,i);case"ascii":case"latin1":case"binary":return s=e,a=r,k(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(t),this,s,a);case"base64":return u=e,c=r,k(j(t),this,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h=e,f=r,k(function(t,e){for(var r,n,o=[],i=0;i<t.length&&!((e-=2)<0);++i)n=(r=t.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(t,this.length-h),this,h,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(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUintLE=a.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||w(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},a.prototype.readUintBE=a.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||w(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},a.prototype.readUint8=a.prototype.readUInt8=function(t,e){return t>>>=0,e||w(t,1,this.length),this[t]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(t,e){return t>>>=0,e||w(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(t,e){return t>>>=0,e||w(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(t,e){return t>>>=0,e||w(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(t,e){return t>>>=0,e||w(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||w(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},a.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||w(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},a.prototype.readInt8=function(t,e){return(t>>>=0,e||w(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},a.prototype.readInt16LE=function(t,e){t>>>=0,e||w(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(t,e){t>>>=0,e||w(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(t,e){return t>>>=0,e||w(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return t>>>=0,e||w(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return t>>>=0,e||w(t,4,this.length),o.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return t>>>=0,e||w(t,4,this.length),o.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return t>>>=0,e||w(t,8,this.length),o.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return t>>>=0,e||w(t,8,this.length),o.read(this,t,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;E(this,t,e,r,o,0)}var i=1,s=0;for(this[e]=255&t;++s<r&&(i*=256);)this[e+s]=t/i&255;return e+r},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;E(this,t,e,r,o,0)}var i=r-1,s=1;for(this[e+i]=255&t;--i>=0&&(s*=256);)this[e+i]=t/s&255;return e+r},a.prototype.writeUint8=a.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,1,255,0),this[e]=255&t,e+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var o=Math.pow(2,8*r-1);E(this,t,e,r,o-1,-o)}var i=0,s=1,a=0;for(this[e]=255&t;++i<r&&(s*=256);)t<0&&0===a&&0!==this[e+i-1]&&(a=1),this[e+i]=(t/s>>0)-a&255;return e+r},a.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var o=Math.pow(2,8*r-1);E(this,t,e,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[e+i]=255&t;--i>=0&&(s*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/s>>0)-a&255;return e+r},a.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},a.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeFloatLE=function(t,e,r){return A(this,t,e,!0,r)},a.prototype.writeFloatBE=function(t,e,r){return A(this,t,e,!1,r)},a.prototype.writeDoubleLE=function(t,e,r){return T(this,t,e,!0,r)},a.prototype.writeDoubleBE=function(t,e,r){return T(this,t,e,!1,r)},a.prototype.copy=function(t,e,r,n){if(!a.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<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),t.length-e<n-r&&(n=t.length-e+r);var o=n-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),o}
6,a.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=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===t.length){var o,i=t.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(t=i)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var s=a.isBuffer(t)?t:a.from(t,n),u=s.length;if(0===u)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<r-e;++o)this[o+e]=s[o%u]}return this};var x=/[^+/0-9A-Za-z-_]/g;function O(t,e){e=e||1/0;for(var r,n=t.length,o=null,i=[],s=0;s<n;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!o){if(r>56319||s+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function j(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(x,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function k(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length)&&!(o>=t.length);++o)e[o+r]=t[o];return o}function I(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var U=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()},11227:function(t,e,r){let n;var o=r(34155);e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;e.splice(1,0,r,"color: inherit");let n=0,o=0;e[0].replace(/%[a-zA-Z%]/g,t=>{"%%"!==t&&(n++,"%c"===t&&(o=n))}),e.splice(o,0,r)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}return!t&&void 0!==o&&"env"in o&&(t=o.env.DEBUG),t},e.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(n=!1,()=>{n||(n=!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`."))}),e.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","#F
6F6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=r(82447)(e);let{formatters:i}=t.exports;i.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},82447:function(t,e,r){t.exports=function(t){function e(t){let r,o,i;let s=null;function a(...t){if(!a.enabled)return;let n=a,o=Number(new Date),i=o-(r||o);n.diff=i,n.prev=r,n.curr=o,r=o,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let s=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(r,o)=>{if("%%"===r)return"%";s++;let i=e.formatters[o];if("function"==typeof i){let e=t[s];r=i.call(n,e),t.splice(s,1),s--}return r}),e.formatArgs.call(n,t);let u=n.log||e.log;u.apply(n,t)}return a.namespace=t,a.useColors=e.useColors(),a.color=e.selectColor(t),a.extend=n,a.destroy=e.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(o!==e.namespaces&&(o=e.namespaces,i=e.enabled(t)),i),set:t=>{s=t}}),"function"==typeof e.init&&e.init(a),a}function n(t,r){let n=e(this.namespace+(void 0===r?":":r)+t);return n.log=this.log,n}function o(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){let t=[...e.names.map(o),...e.skips.map(o).map(t=>"-"+t)].join(",");return e.enable(""),t},e.enable=function(t){let r;e.save(t),e.namespaces=t,e.names=[],e.skips=[];let n=("string"==typeof t?t:"").split(/[\s,]+/),o=n.length;for(r=0;r<o;r++)n[r]&&("-"===(t=n[r].replace(/\*/g,".*?"))[0]?e.skips.push(RegExp("^"+t.slice(1)+"$")):e.names.push(RegExp("^"+t+"$")))},e.enabled=function(t){let r,n;if("*"===t[t.length-1])return!0;for(r=0,n=e.skips.length;r<n;r++)if(e.skips[r].test(t))return!1;for(r=0,n=e.names.length;r<n;r++)if(e.names[r].test(t))return!0;return!1},e.humanize=r(57824),e.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(t).forEach(r=>{e[r]=t[r]}),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let r=0;for(let e=0;e<t.length;e++)r=(r<<5)-r+t.charCodeAt(e)|0;return e.colors[Math.abs(r)%e.colors.length]},e.enable(e.load()),e}},80645:function(t,e){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */e.read=function(t,e,r,n,o){var i,s,a=8*o-n-1,u=(1<<a)-1,c=u>>1,h=-7,f=r?o-1:0,l=r?-1:1,p=t[e+f];for(f+=l,i=p&(1<<-h)-1,p>>=-h,h+=a;h>0;i=256*i+t[e+f],f+=l,h-=8);for(s=i&(1<<-h)-1,i>>=-h,h+=n;h>0;s=256*s+t[e+f],f+=l,h-=8);if(0===i)i=1-c;else{if(i===u)return s?NaN:(p?-1:1)*(1/0);s+=Math.pow(2,n),i-=c}return(p?-1:1)*s*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var s,a,u,c=8*i-o-1,h=(1<<c)-1,f=h>>1,l=23===o?5960464477539062e-23:0,p=n?0:i-1,d=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(isNaN(e=Math.abs(e))||e===1/0?(a=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+f>=1?e+=l/u:e+=l*Math.pow(2,1-f),e*u>=2&&(s++,u/=2),s+f>=h?(a=0,s=h):s+f>=1?(a=(e*u-1)*Math.pow(2,o),s+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,o),s=0));o>=8;t[r+p]=255&a,p+=d,a/=256,o-=8);for(s=s<<o|a,c+=o;c>0;t[r+p]=255&s,p+=d,s/=256,c-=8);t[r+p-d]|=128*y}},57824:function(t){function e(t,e,r,n){return Math.round(t/r)+" "+n+(e>=1.5*r?"s":"")}t.exports=function(t,r){r=r||{};var n,o,i=typeof t;if("string"===i&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]);switch((e[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"===i&&isFinite(t))return r.long?(n=Math.abs(t))>=864e5?e(t,n,864e5,"day"):n>=36e5?e(t,n,36e5,"hour"):n>=6e4?e(t,n,6e4,"minute"):n>
6=1e3?e(t,n,1e3,"second"):t+" ms":(o=Math.abs(t))>=864e5?Math.round(t/864e5)+"d":o>=36e5?Math.round(t/36e5)+"h":o>=6e4?Math.round(t/6e4)+"m":o>=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))}},4947:function(t){var e=function(t){return t.replace(/^\s+|\s+$/g,"")};t.exports=function(t){if(!t)return{};for(var r={},n=e(t).split("\n"),o=0;o<n.length;o++){var i,s=n[o],a=s.indexOf(":"),u=e(s.slice(0,a)).toLowerCase(),c=e(s.slice(a+1));void 0===r[u]?r[u]=c:(i=r[u],"[object Array]"===Object.prototype.toString.call(i))?r[u].push(c):r[u]=[r[u],c]}return r}},19293:function(t,e,r){"use strict";r.d(e,{y:function(){return h}});var n=r(65044),o=r(4222),i=r(46766),s=r(90278),a=r(53912),u=r(58474),c=r(68846),h=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var i,s=this,a=(i=t)&&i instanceof n.Lv||i&&(0,u.m)(i.next)&&(0,u.m)(i.error)&&(0,u.m)(i.complete)&&(0,o.Nn)(i)?t:new n.Hp(t,e,r);return(0,c.x)(function(){var t=s.operator,e=s.source;a.add(t?t.call(a,e):e?s._subscribe(a):s._trySubscribe(a))}),a},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=f(e))(function(e,o){var i=new n.Hp({next:function(e){try{t(e)}catch(t){o(t),i.unsubscribe()}},error:o,complete:e});r.subscribe(i)})},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[i.L]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return(0===t.length?s.y:1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)})(this)},t.prototype.toPromise=function(t){var e=this;return new(t=f(t))(function(t,r){var n;e.subscribe(function(t){return n=t},function(t){return r(t)},function(){return t(n)})})},t.create=function(e){return new t(e)},t}();function f(t){var e;return null!==(e=null!=t?t:a.v.Promise)&&void 0!==e?e:Promise}},65044:function(t,e,r){"use strict";r.d(e,{Hp:function(){return m},Lv:function(){return p}});var n=r(70655),o=r(58474),i=r(4222),s=r(53912),a=r(40005),u=r(22967),c=h("C",void 0,void 0);function h(t,e,r){return{kind:t,value:e,error:r}}var f=r(68380),l=r(68846),p=function(t){function e(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,(0,i.Nn)(e)&&e.add(r)):r.destination=w,r}return(0,n.ZT)(e,t),e.create=function(t,e,r){return new m(t,e,r)},e.prototype.next=function(t){this.isStopped?b(h("N",t,void 0),this):this._next(t)},e.prototype.error=function(t){this.isStopped?b(h("E",void 0,t),this):(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped?b(c,this):(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(i.w0),d=Function.prototype.bind;function y(t,e){return d.call(t,e)}var g=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){v(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){v(t)}else v(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){v(t)}},t}(),m=function(t){function e(e,r,n){var i,a,u=t.call(this)||this;return(0,o.m)(e)||!e?i={next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:u&&s.v.useDeprecatedNextContext?((a=Object.create(e)).unsubscribe=function(){return u.unsubscribe()},i={next:e.next&&y(e.next,a),error:e.error&&y(e.error,a),complete:e.complete&&y(e.complete,a)}):i=e,u.destination=new g(i),u}return(0,n.ZT)(e,t),e}(p);function v(t){s.v.useDeprecatedSynchronousErrorHandling?(0,l.O)(t):(0,a.h)(t)}function b(t,e){var r=s.v.onStoppedNotification;r&&f.z.setTimeout(function(){return r(t,e)})}var w={closed:!0,next:u.Z,error:function(t){throw t},complete:u.Z}},4222:function(t,e,r){"use strict";r.d(e,{Lc:function(){return u},w0:function(){return a},Nn:function(){return c}});var n=r(70655),o=r(58474),i=(0,r(1819).d)(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e}}),s=r(3699),a=function(){var t;function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t,e,r,s,a,u=this._parentage;if(u){if(this._parentage=null,Array.isArray(u))try{for(var c=(0,n.XA)(u),f=c.next();!f.done;f=c.next())f.value.remove(this)}catch(e){t={error:e}}finally{try{f&&!f.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}else u.remove(this)}var l=this.initialTeardown;
6if((0,o.m)(l))try{l()}catch(t){a=t instanceof i?t.errors:[t]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var d=(0,n.XA)(p),y=d.next();!y.done;y=d.next()){var g=y.value;try{h(g)}catch(t){a=null!=a?a:[],t instanceof i?a=(0,n.ev)((0,n.ev)([],(0,n.CR)(a)),(0,n.CR)(t.errors)):a.push(t)}}}catch(t){r={error:t}}finally{try{y&&!y.done&&(s=d.return)&&s.call(d)}finally{if(r)throw r.error}}}if(a)throw new i(a)}},e.prototype.add=function(t){var r;if(t&&t!==this){if(this.closed)h(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}}},e.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},e.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},e.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&(0,s.P)(e,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&(0,s.P)(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),u=a.EMPTY;function c(t){return t instanceof a||t&&"closed"in t&&(0,o.m)(t.remove)&&(0,o.m)(t.add)&&(0,o.m)(t.unsubscribe)}function h(t){(0,o.m)(t)?t():t.unsubscribe()}},53912:function(t,e,r){"use strict";r.d(e,{v:function(){return n}});var n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},36861:function(t,e,r){"use strict";r.d(e,{n:function(){return o}});var n=r(18084);function o(t,e){var r="object"==typeof e;return new Promise(function(o,i){var s,a=!1;t.subscribe({next:function(t){s=t,a=!0},error:i,complete:function(){a?o(s):r?o(e.defaultValue):i(new n.K)}})})}},2566:function(t,e,r){"use strict";r.d(e,{Q:function(){return i},x:function(){return o}});var n=r(70655);function o(t,e,r,n,o){return new i(t,e,r,n,o)}var i=function(t){function e(e,r,n,o,i,s){var a=t.call(this,e)||this;return a.onFinalize=i,a.shouldUnsubscribe=s,a._next=r?function(t){try{r(t)}catch(t){e.error(t)}}:t.prototype._next,a._error=o?function(t){try{o(t)}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._error,a._complete=n?function(){try{n()}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._complete,a}return(0,n.ZT)(e,t),e.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;t.prototype.unsubscribe.call(this),r||null===(e=this.onFinalize)||void 0===e||e.call(this)}},e}(r(65044).Lv)},94975:function(t,e,r){"use strict";r.d(e,{h:function(){return i}});var n=r(96798),o=r(2566);function i(t,e){return(0,n.e)(function(r,n){var i=0;r.subscribe((0,o.x)(n,function(r){return t.call(e,r,i++)&&n.next(r)}))})}},29127:function(t,e,r){"use strict";r.d(e,{U:function(){return i}});var n=r(96798),o=r(2566);function i(t,e){return(0,n.e)(function(r,n){var i=0;r.subscribe((0,o.x)(n,function(r){n.next(t.call(e,r,i++))}))})}},68380:function(t,e,r){"use strict";r.d(e,{z:function(){return o}});var n=r(70655),o={setTimeout:function(t,e){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var s=o.delegate;return(null==s?void 0:s.setTimeout)?s.setTimeout.apply(s,(0,n.ev)([t,e],(0,n.CR)(r))):setTimeout.apply(void 0,(0,n.ev)([t,e],(0,n.CR)(r)))},clearTimeout:function(t){var e=o.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0}},46766:function(t,e,r){"use strict";r.d(e,{L:function(){return n}});var n="function"==typeof Symbol&&Symbol.observable||"@@observable"},18084:function(t,e,r){"use strict";r.d(e,{K:function(){return n}});var n=(0,r(1819).d)(function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}})},3699:function(t,e,r){"use strict";function n(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}r.d(e,{P:function(){return n}})},1819:function(t,e,r){"use strict";function n(t){var e=t(function(t){Error.call(t),t.stack=Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}r.d(e,{d:function(){return n}})},68846:function(t,e,r){"use strict";r.d(e,{O:function(){return s},x:function(){return i}});var n=r(53912),o=null;function i(t){if(n.v.useDeprecatedSynchronousErrorHandling){var e=!o;if(e&&(o={errorThrown:!1,error:null}),t(),e){var r=o,i=r.errorThrown,s=r.error;if(o=null,i)throw s}}else t()}function s(t){n.v.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=t)}},90278:function(t,e,r){"use strict";function n(t){return t}r.d(e,{y:function(){return n}})},58474:function(t,e,r){"use strict";function n(t){return"function"==typeof t}r.d(e,{m:function(){return n}})},96798:function(t,e,r){"use strict";r.d(e,{A:function(){return o},e:function(){return i}});var n=r(58474);function o(t){return(0,n.m)(null==t?void 0:t.lift)}function i(t){return function(e){if(o(e))return e.lift(function(e){try{return t(e,this)}catch(t){this.error(t)}});throw TypeError("Unable to lift unknown Observable type")}}},22967:function(t,e,r){"use strict";function n(){}r.d(e,{Z:function(){return n}})},40005:function(t,e,r){"use strict";r.d(e,{h:function(){return i}});var n=r(53912),o=r(68380);function i(t){o.z.setTimeout(function(){var e=n.v.onUnhandledError;if(e)e(t);else throw t})}},73469:function(t,e,r){"use strict";var n=r(67294).useLayoutEffect;e.Z=n},63366:function(t,e,r){"use strict";function n(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}r.d(e,{Z:function(){return n}})},61727:function(t,e,r){"use strict";r.d(e,{aN:function(){return ri},eI:function(){return ru},Lx:function(){return ra}});let n="undefined"!=typeof navigator&&"ReactNative"===navigator.product,o={timeout:n?6e4:12e4},i=function(t){let e={...o,..."string"==typeof t?{url:t}:t},r=new URL(e.url,"http://localhost");if(e.timeout=function t(e){if(!1===e||0===e)return!1;if(e.connect||e.socket)return e;let r=Number(e);return isNaN(r)?t(o.timeout):{connect:r,socket:r}}(e.timeout),e.query){for(let[t,n]of Object.entries(e.query))if(void 0!==n){
6if(Array.isArray(n))for(let e of n)r.searchParams.append(t,e);else r.searchParams.append(t,n)}}return e.method=e.body&&!e.method?"POST":(e.method||"GET").toUpperCase(),e.url="http://localhost"===r.origin?"".concat(r.pathname,"?").concat(r.searchParams):r.toString(),e},s=/^https?:\/\//i,a=function(t){if(!s.test(t.url))throw Error('"'.concat(t.url,'" is not a valid URL'))};var u,c,h,f,l,p,d,y,g,m,v,b,w,E,C,A,T,x,O,j,k,I,U,S,R,M,B,F,_,P,L=r(4947);let q=t=>function(e,r){let n="onError"===e,o=r;for(var i=arguments.length,s=Array(i>2?i-2:0),a=2;a<i;a++)s[a-2]=arguments[a];for(let r=0;r<t[e].length;r++){let i=t[e][r];if(o=i(o,...s),n&&!o)break}return o},N=["request","response","progress","error","abort"],D=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];var z=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},W=(t,e,r)=>(z(t,e,"read from private field"),r?r.call(t):e.get(t)),H=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},$=(t,e,r,n)=>(z(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);class J{constructor(){this.readyState=0,this.responseType="",H(this,u,void 0),H(this,c,void 0),H(this,h,void 0),H(this,f,{}),H(this,l,void 0),H(this,p,{})}open(t,e,r){$(this,u,t),$(this,c,e),$(this,h,""),this.readyState=1,this.onreadystatechange(),$(this,l,void 0)}abort(){W(this,l)&&W(this,l).abort()}getAllResponseHeaders(){return W(this,h)}setRequestHeader(t,e){W(this,f)[t]=e}setInit(t){$(this,p,t)}send(t){let e="arraybuffer"!==this.responseType,r={...W(this,p),method:W(this,u),headers:W(this,f),body:t};"function"==typeof AbortController&&($(this,l,new AbortController),"undefined"!=typeof EventTarget&&W(this,l).signal instanceof EventTarget&&(r.signal=W(this,l).signal)),"undefined"!=typeof document&&(r.credentials=this.withCredentials?"include":"omit"),fetch(W(this,c),r).then(t=>(t.headers.forEach((t,e)=>{$(this,h,W(this,h)+"".concat(e,": ").concat(t,"\r\n"))}),this.status=t.status,this.statusText=t.statusText,this.readyState=3,e?t.text():t.arrayBuffer())).then(t=>{"string"==typeof t?this.responseText=t:this.response=t,this.readyState=4,this.onreadystatechange()}).catch(t=>{var e;if("AbortError"===t.name){this.onabort();return}null==(e=this.onerror)||e.call(this,t)})}}u=new WeakMap,c=new WeakMap,h=new WeakMap,f=new WeakMap,l=new WeakMap,p=new WeakMap;let V="function"==typeof XMLHttpRequest?"xhr":"fetch",G="xhr"===V?XMLHttpRequest:J,Y=(t,e)=>{let r=t.options,n=t.applyMiddleware("finalizeOptions",r),o={},i=t.applyMiddleware("interceptRequest",void 0,{adapter:V,context:t});if(i){let t=setTimeout(e,0,null,i),r=()=>clearTimeout(t);return{abort:r}}let s=new G;s instanceof J&&"object"==typeof n.fetch&&s.setInit(n.fetch);let a=n.headers,u=n.timeout,c=!1,h=!1,f=!1;if(s.onerror=t=>{d(Error("Request error while attempting to reach ".concat(n.url).concat(t.lengthComputable?"(".concat(t.loaded," of ").concat(t.total," bytes transferred)"):"")))},s.ontimeout=t=>{d(Error("Request timeout while attempting to reach ".concat(n.url).concat(t.lengthComputable?"(".concat(t.loaded," of ").concat(t.total," bytes transferred)"):"")))},s.onabort=()=>{p(!0),c=!0},s.onreadystatechange=()=>{u&&(p(),o.socket=setTimeout(()=>l("ESOCKETTIMEDOUT"),u.socket)),c||4!==s.readyState||0===s.status||function(){if(!c&&!h&&!f){if(0===s.status){d(Error("Unknown XHR error"));return}p(),h=!0,e(null,{body:s.response||(""===s.responseType||"text"===s.responseType?s.responseText:""),url:n.url,method:n.method,headers:L(s.getAllResponseHeaders()),statusCode:s.status,statusMessage:s.statusText})}}()},s.open(n.method,n.url,!0),s.withCredentials=!!n.withCredentials,a&&s.setRequestHeader)for(let t in a)a.hasOwnProperty(t)&&s.setRequestHeader(t,a[t]);return n.rawBody&&(s.responseType="arraybuffer"),t.applyMiddleware("onRequest",{options:n,adapter:V,request:s,context:t}),s.send(n.body||null),u&&(o.connect=setTimeout(()=>l("ETIMEDOUT"),u.connect)),{abort:function(){c=!0,s&&s.abort()}};function l(e){f=!0,s.abort();let r=Error("ESOCKETTIMEDOUT"===e?"Socket timed out on request to ".concat(n.url):"Connection timed out on request to ".concat(n.url));r.code=e,t.channels.error.publish(r)}function p(t){(t||c||s.readyState>=2&&o.connect)&&clearTimeout(o.connect),o.socket&&clearTimeout(o.socket)}function d(t){if(h)return;p(!0),h=!0,s=null;let r=t||Error("Network error while attempting to reach ".concat(n.url));r.isNetworkError=!0,r.request=n,e(r)}},Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Y;return function t(e,r){let n=[],o=D.reduce((t,e)=>(t[e]=t[e]||[],t),{processOptions:[i],validateOptions:[a]});function s(t){let e;let n=(t,e,r)=>{let n=t,o=e;if(!n)try{o=s("onResponse",e,r)}catch(t){o=null,n=t}(n=n&&s("onError",n,r))?i.error.publish(n):o&&i.response.publish(o)},i=N.reduce((t,e)=>(t[e]=function(){let t=Object.create(null),e=0;return{publish:function(e){for(let r in t)t[r](e)},subscribe:function(r){let n=e++;return t[n]=r,function(){delete t[n]}}}}(),t),{}),s=q(o),a=s("processOptions",t);s("validateOptions",a);let u={options:a,channels:i,applyMiddleware:s},c=i.request.subscribe(t=>{e=r(t,(e,r)=>n(e,r,t))});i.abort.subscribe(()=>{c(),e&&e.abort()});let h=s("onReturn",i,u);return h===i&&i.request.publish(u),h}return s.use=function(t){if(!t)throw Error("Tried to add middleware that resolved to fal
6sey value");if("function"==typeof t)throw Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(t.onReturn&&o.onReturn.length>0)throw Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return D.forEach(e=>{t[e]&&o[e].push(t[e])}),n.push(t),s},s.clone=()=>t(n,r),e.forEach(s.use),s}(t,e)};r(11227);var X=r(90111),K=r(48764).lW;Object.prototype.hasOwnProperty;let Q=void 0===K?()=>!1:t=>K.isBuffer(t),tt=["boolean","string","number"],te={};"undefined"!=typeof globalThis?te=globalThis:"undefined"!=typeof window?te=window:"undefined"!=typeof global?te=global:"undefined"!=typeof self&&(te=self);var tr=te;let tn=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.implementation||Promise;if(!e)throw Error("`Promise` is not available in global scope, and no implementation was passed");return{onReturn:(r,n)=>new e((e,o)=>{let i=n.options.cancelToken;i&&i.promise.then(t=>{r.abort.publish(t),o(t)}),r.error.subscribe(o),r.response.subscribe(r=>{e(t.onlyBody?r.body:r)}),setTimeout(()=>{try{r.request.publish(n)}catch(t){o(t)}},0)})}};class to{constructor(t){this.__CANCEL__=!0,this.message=t}toString(){return"Cancel".concat(this.message?": ".concat(this.message):"")}}let ti=class{constructor(t){if("function"!=typeof t)throw TypeError("executor must be a function.");let e=null;this.promise=new Promise(t=>{e=t}),t(t=>{this.reason||(this.reason=new to(t),e(this.reason))})}},ts=ti;ts.source=()=>{let t;let e=new ti(e=>{t=e});return{token:e,cancel:t}};let ta=t=>!!(t&&(null==t?void 0:t.__CANCEL__));tn.Cancel=to,tn.CancelToken=ts,tn.isCancel=ta;var tu=(t,e,r)=>("GET"===r.method||"HEAD"===r.method)&&(t.isNetworkError||!1);let tc=t=>null!==t&&"object"==typeof t&&"function"==typeof t.pipe;var th=t=>{let e=t.maxRetries||5,r=t.retryDelay||tf,n=t.shouldRetry;return{onError:(t,o)=>{let i=o.options,s=i.maxRetries||e,a=i.shouldRetry||n,u=i.attemptNumber||0;if(tc(i.body)||!a(t,u,i)||u>=s)return t;let c=Object.assign({},o,{options:Object.assign({},i,{attemptNumber:u+1})});return setTimeout(()=>o.channels.request.publish(c),r(u)),null}}};function tf(t){return 100*Math.pow(2,t)+100*Math.random()}let tl=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return th({shouldRetry:tu,...t})};tl.shouldRetry=tu;var tp=r(19293),td=r(36861),ty=r(29127),tg=r(94975),tm=[],tv=Object.defineProperty,tb=(t,e,r)=>e in t?tv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,tw=(t,e,r)=>(tb(t,"symbol"!=typeof e?e+"":e,r),r);class tE extends Error{constructor(t){let e=tA(t);super(e.message),tw(this,"response"),tw(this,"statusCode",400),tw(this,"responseBody"),tw(this,"details"),Object.assign(this,e)}}class tC extends Error{constructor(t){let e=tA(t);super(e.message),tw(this,"response"),tw(this,"statusCode",500),tw(this,"responseBody"),tw(this,"details"),Object.assign(this,e)}}function tA(t){let e=t.body,r={response:t,statusCode:t.statusCode,responseBody:function(t,e){let r=(e.headers["content-type"]||"").toLowerCase(),n=-1!==r.indexOf("application/json");return n?JSON.stringify(t,null,2):t}(e,t),message:"",details:void 0};if(e.error&&e.message)return r.message="".concat(e.error," - ").concat(e.message),r;if(tT(e)&&tT(e.error)&&"mutationError"===e.error.type&&"string"==typeof e.error.description){let t=e.error.items||[],n=t.slice(0,5).map(t=>{var e;return null==(e=t.error)?void 0:e.description}).filter(Boolean),o=n.length?":\n- ".concat(n.join("\n- ")):"";return t.length>5&&(o+="\n...and ".concat(t.length-5," more")),r.message="".concat(e.error.description).concat(o),r.details=e.error,r}return e.error&&e.error.description?(r.message=e.error.description,r.details=e.error,r):(r.message=e.error||e.message||function(t){let e=t.statusMessage?" ".concat(t.statusMessage):"";return"".concat(t.method,"-request to ").concat(t.url," resulted in HTTP ").concat(t.statusCode).concat(e)}(t),r)}function tT(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}let tx={onResponse:t=>{if(t.statusCode>=500)throw new tC(t);if(t.statusCode>=400)throw new tE(t);return t}},tO={onResponse:t=>{let e=t.headers["x-sanity-warning"],r=Array.isArray(e)?e:[e];
6return r.filter(Boolean).forEach(t=>console.warn(t)),t}};function tj(t,e){var r;let{maxRetries:n=5,retryDelay:o}=e,i=Z([n>0?tl({retryDelay:o,maxRetries:n,shouldRetry:tk}):{},...t,tO,{processOptions:t=>{let e=t.body;if(!e)return t;let r="function"==typeof e.pipe,n=!r&&!Q(e)&&(-1!==tt.indexOf(typeof e)||Array.isArray(e)||(0,X.P)(e));return n?Object.assign({},t,{body:JSON.stringify(t.body),headers:Object.assign({},t.headers,{"Content-Type":"application/json"})}):t}},{onResponse:t=>{let e=t.headers["content-type"]||"",n=r&&r.force||-1!==e.indexOf("application/json");return t.body&&e&&n?Object.assign({},t,{body:function(t){try{return JSON.parse(t)}catch(t){throw t.message="Failed to parsed response body as JSON: ".concat(t.message),t}}(t.body)}):t},processOptions:t=>Object.assign({},t,{headers:Object.assign({Accept:"application/json"},t.headers)})},{onRequest:t=>{if("xhr"!==t.adapter)return;let e=t.request,r=t.context;function n(t){return e=>{let n=e.lengthComputable?e.loaded/e.total*100:-1;r.channels.progress.publish({stage:t,percent:n,total:e.total,loaded:e.loaded,lengthComputable:e.lengthComputable})}}"upload"in e&&"onprogress"in e.upload&&(e.upload.onprogress=n("upload")),"onprogress"in e&&(e.onprogress=n("download"))}},tx,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.implementation||tr.Observable;if(!e)throw Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:(t,r)=>new e(e=>(t.error.subscribe(t=>e.error(t)),t.progress.subscribe(t=>e.next(Object.assign({type:"progress"},t))),t.response.subscribe(t=>{e.next(Object.assign({type:"response"},t)),e.complete()}),t.request.publish(r),()=>t.abort.publish()))}}({implementation:tp.y})]);function s(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return e({maxRedirects:0,...t})}return s.defaultRequester=i,s}function tk(t,e,r){let n="GET"===r.method||"HEAD"===r.method,o=r.uri||r.url,i=o.startsWith("/data/query"),s=t.response&&(429===t.response.statusCode||502===t.response.statusCode||503===t.response.statusCode);return(!!n||!!i)&&!!s||tl.shouldRetry(t,e,r)}function tI(t){if("string"==typeof t||Array.isArray(t))return{id:t};if("object"==typeof t&&null!==t&&"query"in t&&"string"==typeof t.query)return"params"in t&&"object"==typeof t.params&&null!==t.params?{query:t.query,params:t.params}:{query:t.query};throw Error("Unknown selection - must be one of:\n\n".concat("* Document ID (<docId>)\n* Array of document IDs\n* Object containing `query`"))}let tU=["image","file"],tS=["before","after","replace"],tR=t=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(t))throw Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},tM=t=>{if(!/^[-a-z0-9]+$/i.test(t))throw Error("`projectId` can only contain only a-z, 0-9 and dashes")},tB=t=>{if(-1===tU.indexOf(t))throw Error("Invalid asset type: ".concat(t,". Must be one of ").concat(tU.join(", ")))},tF=(t,e)=>{if(null===e||"object"!=typeof e||Array.isArray(e))throw Error("".concat(t,"() takes an object of properties"))},t_=(t,e)=>{if("string"!=typeof e||!/^[a-z0-9_][a-z0-9_.-]{0,127}$/i.test(e)||e.includes(".."))throw Error("".concat(t,'(): "').concat(e,'" is not a valid document ID'))},tP=(t,e)=>{if(!e._id)throw Error("".concat(t,'() requires that the document contains an ID ("_id" property)'));t_(t,e._id)},tL=(t,e,r)=>{let n="insert(at, selector, items)";if(-1===tS.indexOf(t)){let t=tS.map(t=>'"'.concat(t,'"')).join(", ");throw Error("".concat(n,' takes an "at"-argument which is one of: ').concat(t))}if("string"!=typeof e)throw Error("".concat(n,' takes a "selector"-argument which must be a string'));if(!Array.isArray(r))throw Error("".concat(n,' takes an "items"-argument which must be an array'))},tq=t=>{if(!t.dataset)throw Error("`dataset` must be provided to perform queries");return t.dataset||""},tN=t=>{if("string"!=typeof t||!/^[a-z0-9._-]{1,75}$/i.test(t))throw Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return t},tD=t=>{let{query:e,params:r={},options:n={}}=t,o=new URLSearchParams,{tag:i,...s}=n;
6for(let[t,n]of(i&&o.set("tag",i),o.set("query",e),Object.entries(r)))o.set("$".concat(t),JSON.stringify(n));for(let[t,e]of Object.entries(s))e&&o.set(t,"".concat(e));return"?".concat(o)};var tz=Object.defineProperty,tW=(t,e,r)=>e in t?tz(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,tH=(t,e,r)=>(tW(t,"symbol"!=typeof e?e+"":e,r),r),t$=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},tJ=(t,e,r)=>(t$(t,e,"read from private field"),r?r.call(t):e.get(t)),tV=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},tG=(t,e,r,n)=>(t$(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);class tY{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};tH(this,"selection"),tH(this,"operations"),this.selection=t,this.operations=e}set(t){return this._assign("set",t)}setIfMissing(t){return this._assign("setIfMissing",t)}diffMatchPatch(t){return tF("diffMatchPatch",t),this._assign("diffMatchPatch",t)}unset(t){if(!Array.isArray(t))throw Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:t}),this}inc(t){return this._assign("inc",t)}dec(t){return this._assign("dec",t)}insert(t,e,r){return tL(t,e,r),this._assign("insert",{[t]:e,items:r})}append(t,e){return this.insert("after","".concat(t,"[-1]"),e)}prepend(t,e){return this.insert("before","".concat(t,"[0]"),e)}splice(t,e,r,n){let o=e<0?e-1:e,i=void 0===r||-1===r?-1:Math.max(0,e+r),s="".concat(t,"[").concat(o,":").concat(o<0&&i>=0?"":i,"]");return this.insert("replace",s,n||[])}ifRevisionId(t){return this.operations.ifRevisionID=t,this}serialize(){return{...tI(this.selection),...this.operations}}toJSON(){return this.serialize()}reset(){return this.operations={},this}_assign(t,e){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return tF(t,e),this.operations=Object.assign({},this.operations,{[t]:Object.assign({},r&&this.operations[t]||{},e)}),this}_set(t,e){return this._assign(t,e,!1)}}let tZ=class t extends tY{constructor(t,e,r){super(t,e),tV(this,d,void 0),tG(this,d,r)}clone(){return new t(this.selection,{...this.operations},tJ(this,d))}commit(t){if(!tJ(this,d))throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let e="string"==typeof this.selection,r=Object.assign({returnFirst:e,returnDocuments:!0},t);return tJ(this,d).mutate({patch:this.serialize()},r)}};d=new WeakMap;let tX=class t extends tY{constructor(t,e,r){super(t,e),tV(this,y,void 0),tG(this,y,r)}clone(){return new t(this.selection,{...this.operations},tJ(this,y))}commit(t){if(!tJ(this,y))throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let e="string"==typeof this.selection,r=Object.assign({returnFirst:e,returnDocuments:!0},t);return tJ(this,y).mutate({patch:this.serialize()},r)}};y=new WeakMap;var tK=Object.defineProperty,tQ=(t,e,r)=>e in t?tK(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,t0=(t,e,r)=>(tQ(t,"symbol"!=typeof e?e+"":e,r),r),t1=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},t2=(t,e,r)=>(t1(t,e,"read from private field"),r?r.call(t):e.get(t)),t6=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},t3=(t,e,r,n)=>(t1(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);let t5={returnDocuments:!1};class t4{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;t0(this,"operations"),t0(this,"trxId"),this.operations=t,this.trxId=e}create(t){return tF("create",t),this._add({create:t})}createIfNotExists(t){let e="createIfNotExists";return tF(e,t),tP(e,t),this._add({[e]:t})}createOrReplace(t){let e="createOrReplace";return tF(e,t),tP(e,t),this._add({[e]:t})}delete(t){return t_("delete",t),this._add({delete:{id:t}})}transactionId(t){return t?(this.trxId=t,this):this.trxId}serialize(){return[...this.operations]}toJSON(){return this.serialize()}reset(){return this.operations=[],this}_add(t){return this.operations.push(t),this}}let t8=class t extends t4{constructor(t,e,r){super(t,r),t6(this,g,void 0),t3(this,g,e)}clone(){return new t([...this.operations],t2(this,g),this.trxId)}commit(t){if(!t2(this,g))throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return t2(this,g).mutate(this.serialize(),Object.assign({transactionId:this.trxId},t5,t||{}))}patch(t,e){if("string"!=typeof t&&t instanceof tX)return this._add({patch:t.serialize()});if("function"==typeof e){let r=e(new tX(t,{},t2(this,g)));if(!(r instanceof tX))throw Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}return this._add({patch:{id:t,...e}})}};g=new WeakMap;let t9=class t extends t4{constructor(t,e,r){super(t,r),t6(this,m,void 0),t3(this,m,e)}clone(){return new t([...this.operations],t2(this,m),this.trxId)}commit(t){if(!t2(this,m))throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return t2(this,m).mutate(this.serialize(),Object.assign({transactionId:this.trxId},t5,t||{}))}patch(t,e){if("string"!=typeof t&&t instanceof tZ)return this._add({patch:t.serialize()});if("function"==typeof e){let r=e(new tZ(t,{},t2(this,m)));if(!(r instanceof tZ))throw Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}return this._add({patch:{id:t,...e}})}};
6m=new WeakMap;let t7=(t,e)=>!1===t?void 0:void 0===t?e:t,et=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{dryRun:t.dryRun,returnIds:!0,returnDocuments:t7(t.returnDocuments,!0),visibility:t.visibility||"sync",autoGenerateArrayKeys:t.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:t.skipCrossDatasetReferenceValidation}},ee=t=>"response"===t.type,er=t=>t.body,en=(t,e)=>t.reduce((t,r)=>(t[e(r)]=r,t),Object.create(null));function eo(t,e,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=!1===o.filterResponse?t=>t:t=>t.result;return ef(t,e,"query",{query:r,params:n},o).pipe((0,ty.U)(i))}function ei(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o={uri:ey(t,"doc",r),json:!0,tag:n.tag};return ep(t,e,o).pipe((0,tg.h)(ee),(0,ty.U)(t=>t.body.documents&&t.body.documents[0]))}function es(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o={uri:ey(t,"doc",r.join(",")),json:!0,tag:n.tag};return ep(t,e,o).pipe((0,tg.h)(ee),(0,ty.U)(t=>{let e=en(t.body.documents||[],t=>t._id);return r.map(t=>e[t]||null)}))}function ea(t,e,r,n){return tP("createIfNotExists",r),el(t,e,r,"createIfNotExists",n)}function eu(t,e,r,n){return tP("createOrReplace",r),el(t,e,r,"createOrReplace",n)}function ec(t,e,r,n){return ef(t,e,"mutate",{mutations:[{delete:tI(r)}]},n)}function eh(t,e,r,n){let o;o=r instanceof tX||r instanceof tZ?{patch:r.serialize()}:r instanceof t8||r instanceof t9?r.serialize():r;let i=Array.isArray(o)?o:[o],s=n&&n.transactionId||void 0;return ef(t,e,"mutate",{mutations:i,transactionId:s},n)}function ef(t,e,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i="mutate"===r,s=i?"":tD(n),a=!i&&s.length<11264,u=o.returnFirst,{timeout:c,token:h,tag:f,headers:l}=o,p=ey(t,r,a?s:""),d={method:a?"GET":"POST",uri:p,json:!0,body:a?void 0:n,query:i&&et(o),timeout:c,headers:l,token:h,tag:f,canUseCdn:"query"===r,signal:o.signal};return ep(t,e,d).pipe((0,tg.h)(ee),(0,ty.U)(er),(0,ty.U)(t=>{if(!i)return t;let e=t.results||[];if(o.returnDocuments)return u?e[0]&&e[0].document:e.map(t=>t.document);let r=u?e[0]&&e[0].id:e.map(t=>t.id);return{transactionId:t.transactionId,results:e,[u?"documentId":"documentIds"]:r}}))}function el(t,e,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=Object.assign({returnFirst:!0,returnDocuments:!0},o);return ef(t,e,"mutate",{mutations:[{[n]:r}]},i)}function ep(t,e,r){var n;let o=r.url||r.uri,i=t.config(),s=void 0===r.canUseCdn?["GET","HEAD"].indexOf(r.method||"GET")>=0&&0===o.indexOf("/data/"):r.canUseCdn,a=i.useCdn&&s,u=r.tag&&i.requestTagPrefix?[i.requestTagPrefix,r.tag].join("."):r.tag||i.requestTagPrefix;u&&(r.query={tag:tN(u),...r.query}),["GET","HEAD"].indexOf(r.method||"GET")>=0&&0===o.indexOf("/data/query/")&&(i.resultSourceMap&&(r.query={resultSourceMap:!0,...r.query}),"string"==typeof i.perspective&&"raw"!==i.perspective&&(r.query={perspective:i.perspective,...r.query}));let c=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n=e.token||t.token;n&&(r.Authorization="Bearer ".concat(n)),e.useGlobalApi||t.useProjectHostname||!t.projectId||(r["X-Sanity-Project-ID"]=t.projectId);let o=!!(void 0===e.withCredentials?t.token||t.withCredentials:e.withCredentials),i=void 0===e.timeout?t.timeout:e.timeout;return Object.assign({},e,{headers:Object.assign({},r,e.headers||{}),timeout:void 0===i?3e5:i,proxy:e.proxy||t.proxy,json:!0,withCredentials:o})}(i,Object.assign({},r,{url:eg(t,o,a)})),h=new tp.y(t=>e(c,i.requester).subscribe(t));return r.signal?h.pipe((n=r.signal,t=>new tp.y(e=>{let r=()=>e.error(function(t){var e,r;if(em)return new DOMException(null!=(e=null==t?void 0:t.reason)?e:"The operation was aborted.","AbortError");let n=Error(null!=(r=null==t?void 0:t.reason)?r:"The operation was aborted.");return n.name="AbortError",n}(n));if(n&&n.aborted){r();return}let o=t.subscribe(e);return n.addEventListener("abort",r),()=>{n.removeEventListener("abort",r),o.unsubscribe()}}))):h}function ed(t,e,r){let n=ep(t,e,r).pipe((0,tg.h)(t=>"response"===t.type),(0,ty.U)(t=>t.body));return n}function ey(t,e,r){let n=t.config(),o=tq(n),i="/".concat(e,"/").concat(o),s=r?"".concat(i,"/").concat(r):i;return"/data".concat(s).replace(/\/($|\?)/,"$1")}function eg(t,e){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{url:n,cdnUrl:o}=t.config();return"".concat(r?o:n,"/").concat(e.replace(/^\//,""))}let em=!!globalThis.DOMException;var ev=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},eb=(t,e,r)=>(ev(t,e,"read from private field"),r?r.call(t):e.get(t)),ew=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},eE=(t,e,r,n)=>(ev(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);class eC{constructor(t,e){ew(this,v,void 0),ew(this,b,void 0),eE(this,v,t),eE(this,b,e)}upload(t,e,r){return eT(eb(this,v),eb(this,b),t,e,r)}}v=new WeakMap,b=new WeakMap;class eA{constructor(t,e){ew(this,w,void 0),ew(this,E,void 0),eE(this,w,t),eE(this,E,e)}upload(t,e,r){let n=eT(eb(this,w),eb(this,E),t,e,r);return(0,td.n)(n.pipe((0,tg.h)(t=>"response"===t.type),(0,ty.U)(t=>t.body.document)))}}function eT(t,e,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};tB(r);let i=o.extract||void 0;i&&!i.length&&(i=["none"]);let s=tq(t.config()),a="undefined"!=typeof File&&n instanceof File?Object.assign({filename:!1===o.preserveFilename?void 0:n.name,contentType:n.type},o):o,{tag:u,label:c,title:h,description:f,creditLine:l,filename:p,source:d}=a,y={label:c,title:h,description:f,filename:p,meta:i,creditLine:l};return d&&(y.sourceId=d.id,y.sourceName=d.name,y.sourceUrl=d.url),ep(t,e,{tag:u,method:"POST",timeout:a.timeout||0,uri:"/assets/".concat("image"===r?"images":"files","/").concat(s),headers:a.contentType?{"Content-Type":a.contentType}:{},query:y,body:n})}function ex(t){return"https://www.sanity.io/help/"+t}w=new WeakMap,E=new WeakMap;let eO=t=>{var e;let r,n;return e=function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return console.warn(t.join(" "),...r)},n=!1,function(){return n||(r=e(...arguments),n=!0),r}},ej=eO(["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."]),ek=eO(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.","See ".concat(ex("js-cl
6ient-browser-token")," for more information and how to hide this warning.")]),eI=eO(["Using the Sanity client without specifying an API version is deprecated.","See ".concat(ex("js-client-api-version"))]);eO(["The default export of @sanity/client has been deprecated. Use the named export `createClient` instead."]);let eU={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0},eS=["localhost","127.0.0.1","0.0.0.0"],eR=t=>-1!==eS.indexOf(t),eM=function(t){if("1"===t||"X"===t)return;let e=new Date(t),r=/^\d{4}-\d{2}-\d{2}$/.test(t)&&e instanceof Date&&e.getTime()>0;if(!r)throw Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")},eB=(t,e)=>{let r=Object.assign({},e,t);r.apiVersion||eI();let n=Object.assign({},eU,r),o=n.useProjectHostname;if("undefined"==typeof Promise){let t=ex("js-client-promise-polyfill");throw Error("No native Promise-implementation found, polyfill needed - see ".concat(t))}if(o&&!n.projectId)throw Error("Configuration must contain `projectId`");if("encodeSourceMapAtPath"in n||"encodeSourceMap"in n||"studioUrl"in n||"logger"in n)throw Error("It looks like you're using options meant for '@sanity/preview-kit/client', such as 'encodeSourceMapAtPath', 'encodeSourceMap', 'studioUrl' and 'logger'. Make sure you're using the right import.");let i="undefined"!=typeof window&&window.location&&window.location.hostname,s=i&&eR(window.location.hostname);i&&s&&n.token&&!0!==n.ignoreBrowserTokenWarning?ek():void 0===n.useCdn&&ej(),o&&tM(n.projectId),n.dataset&&tR(n.dataset),"requestTagPrefix"in n&&(n.requestTagPrefix=n.requestTagPrefix?tN(n.requestTagPrefix).replace(/\.+$/,""):void 0),n.apiVersion="".concat(n.apiVersion).replace(/^v/,""),n.isDefaultApi=n.apiHost===eU.apiHost,n.useCdn=!1!==n.useCdn&&!n.withCredentials,eM(n.apiVersion);let a=n.apiHost.split("://",2),u=a[0],c=a[1],h=n.isDefaultApi?"apicdn.sanity.io":c;return n.useProjectHostname?(n.url="".concat(u,"://").concat(n.projectId,".").concat(c,"/v").concat(n.apiVersion),n.cdnUrl="".concat(u,"://").concat(n.projectId,".").concat(h,"/v").concat(n.apiVersion)):(n.url="".concat(n.apiHost,"/v").concat(n.apiVersion),n.cdnUrl=n.url),n};var eF=(t,e)=>Object.keys(e).concat(Object.keys(t)).reduce((r,n)=>(r[n]=void 0===t[n]?e[n]:t[n],r),{});let e_=(t,e)=>e.reduce((e,r)=>(void 0===t[r]||(e[r]=t[r]),e),{}),eP=["includePreviousRevision","includeResult","visibility","effectFormat","tag"],eL={includeResult:!0};function eq(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{url:o,token:i,withCredentials:s,requestTagPrefix:a}=this.config(),u=n.tag&&a?[a,n.tag].join("."):n.tag,c={...eF(n,eL),tag:u},h=e_(c,eP),f=tD({query:t,params:e,options:{tag:u,...h}}),l="".concat(o).concat(ey(this,"listen",f));if(l.length>14800)return new tp.y(t=>t.error(Error("Query too large for listener")));let p=c.events?c.events:["mutation"],d=-1!==p.indexOf("reconnect"),y={};return(i||s)&&(y.withCredentials=!0),i&&(y.headers={Authorization:"Bearer ".concat(i)}),new tp.y(t=>{let e,n;h().then(t=>{e=t}).catch(e=>{t.error(e),g()});let o=!1;function i(){!o&&(d&&t.next({type:"reconnect"}),o||e.readyState!==e.CLOSED||(c(),clearTimeout(n),n=setTimeout(f,100)))}function s(e){t.error(function(t){if(t instanceof Error)return t;let e=eN(t);return e instanceof Error?e:Error(e.error?e.error.description?e.error.description:"string"==typeof e.error?e.error:JSON.stringify(e.error,null,2):e.message||"Unknown listener error")}(e))}function a(e){let r=eN(e);return r instanceof Error?t.error(r):t.next(r)}function u(){o=!0,c(),t.complete()}function c(){e&&(e.removeEventListener("error",i),e.removeEventListener("channelError",s),e.removeEventListener("disconnect",u),p.forEach(t=>e.removeEventListener(t,a)),e.close())}async function h(){let{default:t}=await r.e(699).then(r.t.bind(r,33699,19)),e=new t(l,y);return e.addEventListener("error",i),e.addEventListener("channelError",s),e.addEventListener("disconnect",u),p.forEach(t=>e.addEventListener(t,a)),e}function f(){h().then(t=>{e=t}).catch(e=>{t.error(e),g()})}function g(){o=!0,c()}return g})}function eN(t){try{let e=t.data&&JSON.parse(t.data)||{};return Object.assign({type:t.type},e)}catch(t){return t}}var eD=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},ez=(t,e,r)=>(eD(t,e,"read from private field"),r?r.call(t):e.get(t)),eW=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},eH=(t,e,r,n)=>(eD(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);class e${constructor(t,e){eW(this,C,void 0),eW(this,A,void 0),eH(this,C,t),eH(this,A,e)}create(t,e){return eV(ez(this,C),ez(this,A),"PUT",t,e)}edit(t,e){return eV(ez(this,C),ez(this,A),"PATCH",t,e)}delete(t){return eV(ez(this,C),ez(this,A),"DELETE",t)}list(){return ed(ez(this,C),ez(this,A),{uri:"/datasets"})}}C=new WeakMap,A=new WeakMap;class eJ{constructor(t,e){eW(this,T,void 0),eW(this,x,void 0),eH(this,T,t),eH(this,x,e)}create(t,e){return(0,td.n)(eV(ez(this,T),ez(this,x),"PUT",t,e))}edit(t,e){return(0,td.n)(eV(ez(this,T),ez(this,x),"PATCH",t,e))}
6delete(t){return(0,td.n)(eV(ez(this,T),ez(this,x),"DELETE",t))}list(){return(0,td.n)(ed(ez(this,T),ez(this,x),{uri:"/datasets"}))}}function eV(t,e,r,n,o){return tR(n),ed(t,e,{method:r,uri:"/datasets/".concat(n),body:o})}T=new WeakMap,x=new WeakMap;var eG=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},eY=(t,e,r)=>(eG(t,e,"read from private field"),r?r.call(t):e.get(t)),eZ=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},eX=(t,e,r,n)=>(eG(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);class eK{constructor(t,e){eZ(this,O,void 0),eZ(this,j,void 0),eX(this,O,t),eX(this,j,e)}list(){return ed(eY(this,O),eY(this,j),{uri:"/projects"})}getById(t){return ed(eY(this,O),eY(this,j),{uri:"/projects/".concat(t)})}}O=new WeakMap,j=new WeakMap;class eQ{constructor(t,e){eZ(this,k,void 0),eZ(this,I,void 0),eX(this,k,t),eX(this,I,e)}list(){return(0,td.n)(ed(eY(this,k),eY(this,I),{uri:"/projects"}))}getById(t){return(0,td.n)(ed(eY(this,k),eY(this,I),{uri:"/projects/".concat(t)}))}}k=new WeakMap,I=new WeakMap;var e0=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},e1=(t,e,r)=>(e0(t,e,"read from private field"),r?r.call(t):e.get(t)),e2=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},e6=(t,e,r,n)=>(e0(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);class e3{constructor(t,e){e2(this,U,void 0),e2(this,S,void 0),e6(this,U,t),e6(this,S,e)}getById(t){return ed(e1(this,U),e1(this,S),{uri:"/users/".concat(t)})}}U=new WeakMap,S=new WeakMap;class e5{constructor(t,e){e2(this,R,void 0),e2(this,M,void 0),e6(this,R,t),e6(this,M,e)}getById(t){return(0,td.n)(ed(e1(this,R),e1(this,M),{uri:"/users/".concat(t)}))}}R=new WeakMap,M=new WeakMap;var e4=Object.defineProperty,e8=(t,e,r)=>e in t?e4(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,e9=(t,e,r)=>(e8(t,"symbol"!=typeof e?e+"":e,r),r),e7=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},rt=(t,e,r)=>(e7(t,e,"read from private field"),r?r.call(t):e.get(t)),re=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},rr=(t,e,r,n)=>(e7(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);let rn=class t{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eU;e9(this,"assets"),e9(this,"datasets"),e9(this,"projects"),e9(this,"users"),re(this,B,void 0),re(this,F,void 0),e9(this,"listen",eq),this.config(e),rr(this,F,t),this.assets=new eC(this,rt(this,F)),this.datasets=new e$(this,rt(this,F)),this.projects=new eK(this,rt(this,F)),this.users=new e3(this,rt(this,F))}clone(){return new t(rt(this,F),this.config())}config(t){if(void 0===t)return{...rt(this,B)};if(rt(this,B)&&!1===rt(this,B).allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return rr(this,B,eB(t,rt(this,B)||{})),this}withConfig(e){return new t(rt(this,F),{...this.config(),...e})}fetch(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return eo(this,rt(this,F),t,e,r)}getDocument(t,e){return ei(this,rt(this,F),t,e)}getDocuments(t,e){return es(this,rt(this,F),t,e)}create(t,e){return el(this,rt(this,F),t,"create",e)}createIfNotExists(t,e){return ea(this,rt(this,F),t,e)}createOrReplace(t,e){return eu(this,rt(this,F),t,e)}delete(t,e){return ec(this,rt(this,F),t,e)}mutate(t,e){return eh(this,rt(this,F),t,e)}patch(t,e){return new tZ(t,e,this)}transaction(t){return new t9(t,this)}request(t){return ed(this,rt(this,F),t)}getUrl(t,e){return eg(this,t,e)}getDataUrl(t,e){return ey(this,t,e)}};B=new WeakMap,F=new WeakMap;let ro=class t{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eU;e9(this,"assets"),e9(this,"datasets"),e9(this,"projects"),e9(this,"users"),e9(this,"observable"),re(this,_,void 0),re(this,P,void 0),e9(this,"listen",eq),this.config(e),rr(this,P,t),this.assets=new eA(this,rt(this,P)),this.datasets=new eJ(this,rt(this,P)),this.projects=new eQ(this,rt(this,P)),this.users=new e5(this,rt(this,P)),this.observable=new rn(t,e)}clone(){return new t(rt(this,P),this.config())}config(t){if(void 0===t)return{...rt(this,_)};if(rt(this,_)&&!1===rt(this,_).allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.observable&&this.observable.config(t),rr(this,_,eB(t,rt(this,_)||{})),this}withConfig(e){return new t(rt(this,P),{...this.config(),...e})}fetch(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,td.n)(eo(this,rt(this,P),t,e,r))}getDocument(t,e){return(0,td.n)(ei(this,rt(this,P),t,e))}getDocuments(t,e){return(0,td.n)(es(this,rt(this,P),t,e))}create(t,e){return(0,td.n)(el(this,rt(this,P),t,"create",e))}createIfNotExists(t,e){return(0,td.n)(ea(this,rt(this,P),t,e))}createOrReplace(t,e){return(0,td.n)(eu(this,rt(this,P),t,e))}delete(t,e){return(0,td.n)(ec(this,rt(this,P),t,e))}mutate(t,e){return(0,td.n)(eh(this,rt(this,P),t,e))}patch(t,e){return new tX(t,e,this)}transaction(t){return new t8(t,this)}request(t){return(0,td.n)(ed(this,rt(this,P),t))}dataRequest(t,e,r){return(0,td.n)(ef(this,rt(this,P),t,e,r))}getUrl(t,e){return eg(this,t,e)}getDataUrl(t,e){return ey(this,t,e)}};_=new WeakMap,P=new WeakMap;let ri=ro,rs=tj(tm,{}),ra=rs.defaultRequester,ru=t=>new ri(tj(tm,{maxRetries:t.maxRetries,retryDelay:t.retryDelay}),t)},90111:function(t,e,r){"use strict";/*!
7 * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
8 *
9 * Copyright (c) 2014-2017, Jon Schlinkert.
10 * Released under the MIT License.
11 */function n(t){return"[object Object]"===Object.prototype.toString.call(t)}function o(t){var e,r;return!1!==n(t)&&(void 0===(e=t.constructor)||!1!==n(r=e.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}r.d(e,{P:function(){return 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.