-
Notifications
You must be signed in to change notification settings - Fork 1
/
content.js
2 lines (2 loc) · 169 KB
/
content.js
1
2
/*! For license information please see content.js.LICENSE.txt */
!function(){var e={7547:function(e){"use strict";var t="undefined"!==typeof self?self:"undefined"!==typeof window?window:void 0,r=t.AbortController,n=t.AbortSignal;e.exports=r,e.exports.AbortSignal=n,e.exports.default=r},2470:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,i=u(e),a=i[0],s=i[1],l=new o(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),c=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[c++]=255&t);1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=16383,s=0,u=n-o;s<u;s+=a)i.push(l(e,s,s+a>u?u:s+a));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],n=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,n){for(var o,i,a=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},918:function(e,t,r){"use strict";var n=r(6690).default,o=r(9728).default,i=r(6115).default,a=r(1655).default,s=r(6389).default,u=r(2470),l=r(545),c="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=h,t.SlowBuffer=function(e){+e!=e&&(e=0);return h.alloc(+e)},t.INSPECT_MAX_BYTES=50;var f=2147483647;function d(e){if(e>f)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,h.prototype),t}function h(e,t,r){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return b(e)}return p(e,t,r)}function p(e,t,r){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!h.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|w(e,t),n=d(r),o=n.write(e,t);o!==r&&(n=n.slice(0,o));return n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(ee(e,Uint8Array)){var t=new Uint8Array(e);return y(t.buffer,t.byteOffset,t.byteLength)}return v(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(ee(e,ArrayBuffer)||e&&ee(e.buffer,ArrayBuffer))return y(e,t,r);if("undefined"!==typeof SharedArrayBuffer&&(ee(e,SharedArrayBuffer)||e&&ee(e.buffer,SharedArrayBuffer)))return y(e,t,r);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return h.from(n,t,r);var o=function(e){if(h.isBuffer(e)){var t=0|m(e.length),r=d(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!==typeof e.length||te(e.length)?d(0):v(e);if("Buffer"===e.type&&Array.isArray(e.data))return v(e.data)}(e);if(o)return o;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return h.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function g(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function b(e){return g(e),d(e<0?0:0|m(e))}function v(e){for(var t=e.length<0?0:0|m(e.length),r=d(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function y(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,h.prototype),n}function m(e){if(e>=f)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+f.toString(16)+" bytes");return 0|e}function w(e,t){if(h.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ee(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return J(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return $(e).length;default:if(o)return n?-1:J(e).length;t=(""+t).toLowerCase(),o=!0}}function _(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return N(this,t,r);case"utf8":case"utf-8":return M(this,t,r);case"ascii":return j(this,t,r);case"latin1":case"binary":return P(this,t,r);case"base64":return L(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function x(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function A(e,t,r,n,o){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),te(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"===typeof t&&(t=h.from(t,n)),h.isBuffer(t))return 0===t.length?-1:E(e,t,r,n,o);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):E(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function E(e,t,r,n,o){var i,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var c=-1;for(i=r;i<s;i++)if(l(e,i)===l(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===u)return c*a}else-1!==c&&(i-=i-c),c=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var f=!0,d=0;d<u;d++)if(l(e,i+d)!==l(t,d)){f=!1;break}if(f)return i}return-1}function S(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i,a=t.length;for(n>a/2&&(n=a/2),i=0;i<n;++i){var s=parseInt(t.substr(2*i,2),16);if(te(s))return i;e[r+i]=s}return i}function k(e,t,r,n){return Q(J(t,e.length-r),e,r,n)}function R(e,t,r,n){return Q(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function T(e,t,r,n){return Q($(t),e,r,n)}function O(e,t,r,n){return Q(function(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function L(e,t,r){return 0===t&&r===e.length?u.fromByteArray(e):u.fromByteArray(e.slice(t,r))}function M(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i=e[o],a=null,s=i>239?4:i>223?3:i>191?2:1;if(o+s<=r){var u=void 0,l=void 0,c=void 0,f=void 0;switch(s){case 1:i<128&&(a=i);break;case 2:128===(192&(u=e[o+1]))&&(f=(31&i)<<6|63&u)>127&&(a=f);break;case 3:u=e[o+1],l=e[o+2],128===(192&u)&&128===(192&l)&&(f=(15&i)<<12|(63&u)<<6|63&l)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:u=e[o+1],l=e[o+2],c=e[o+3],128===(192&u)&&128===(192&l)&&128===(192&c)&&(f=(15&i)<<18|(63&u)<<12|(63&l)<<6|63&c)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),o+=s}return function(e){var t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=I));return r}(n)}t.kMaxLength=f,h.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(r){return!1}}(),h.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(h.prototype,"parent",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.buffer}}),Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.byteOffset}}),h.poolSize=8192,h.from=function(e,t,r){return p(e,t,r)},Object.setPrototypeOf(h.prototype,Uint8Array.prototype),Object.setPrototypeOf(h,Uint8Array),h.alloc=function(e,t,r){return function(e,t,r){return g(e),e<=0?d(e):void 0!==t?"string"===typeof r?d(e).fill(t,r):d(e).fill(t):d(e)}(e,t,r)},h.allocUnsafe=function(e){return b(e)},h.allocUnsafeSlow=function(e){return b(e)},h.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==h.prototype},h.compare=function(e,t){if(ee(e,Uint8Array)&&(e=h.from(e,e.offset,e.byteLength)),ee(t,Uint8Array)&&(t=h.from(t,t.offset,t.byteLength)),!h.isBuffer(e)||!h.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},h.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}},h.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return h.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=h.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(ee(i,Uint8Array))o+i.length>n.length?(h.isBuffer(i)||(i=h.from(i)),i.copy(n,o)):Uint8Array.prototype.set.call(n,i,o);else{if(!h.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o)}o+=i.length}return n},h.byteLength=w,h.prototype._isBuffer=!0,h.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)x(this,t,t+1);return this},h.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)x(this,t,t+3),x(this,t+1,t+2);return this},h.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)x(this,t,t+7),x(this,t+1,t+6),x(this,t+2,t+5),x(this,t+3,t+4);return this},h.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?M(this,0,e):_.apply(this,arguments)},h.prototype.toLocaleString=h.prototype.toString,h.prototype.equals=function(e){if(!h.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===h.compare(this,e)},h.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},c&&(h.prototype[c]=h.prototype.inspect),h.prototype.compare=function(e,t,r,n,o){if(ee(e,Uint8Array)&&(e=h.from(e,e.offset,e.byteLength)),!h.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(i,a),u=this.slice(n,o),l=e.slice(t,r),c=0;c<s;++c)if(u[c]!==l[c]){i=u[c],a=l[c];break}return i<a?-1:a<i?1:0},h.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},h.prototype.indexOf=function(e,t,r){return A(this,e,t,r,!0)},h.prototype.lastIndexOf=function(e,t,r){return A(this,e,t,r,!1)},h.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return S(this,e,t,r);case"utf8":case"utf-8":return k(this,e,t,r);case"ascii":case"latin1":case"binary":return R(this,e,t,r);case"base64":return T(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function j(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function P(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function N(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=re[e[i]];return o}function B(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function C(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,r,n,o,i){if(!h.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function U(e,t,r,n,o){z(t,n,o,e,r,7);var i=Number(t&BigInt(4294967295));e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,r}function F(e,t,r,n,o){z(t,n,o,e,r,7);var i=Number(t&BigInt(4294967295));e[r+7]=i,i>>=8,e[r+6]=i,i>>=8,e[r+5]=i,i>>=8,e[r+4]=i;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=a,a>>=8,e[r+2]=a,a>>=8,e[r+1]=a,a>>=8,e[r]=a,r+8}function W(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function G(e,t,r,n,o){return t=+t,r>>>=0,o||W(e,0,r,4),l.write(e,t,r,n,23,4),r+4}function V(e,t,r,n,o){return t=+t,r>>>=0,o||W(e,0,r,8),l.write(e,t,r,n,52,8),r+8}h.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,h.prototype),n},h.prototype.readUintLE=h.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},h.prototype.readUintBE=h.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},h.prototype.readUint8=h.prototype.readUInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),this[e]},h.prototype.readUint16LE=h.prototype.readUInt16LE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]|this[e+1]<<8},h.prototype.readUint16BE=h.prototype.readUInt16BE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]<<8|this[e+1]},h.prototype.readUint32LE=h.prototype.readUInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},h.prototype.readUint32BE=h.prototype.readUInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},h.prototype.readBigUInt64LE=ne((function(e){K(e>>>=0,"offset");var t=this[e],r=this[e+7];void 0!==t&&void 0!==r||Z(e,this.length-8);var n=t+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,24),o=this[++e]+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+r*Math.pow(2,24);return BigInt(n)+(BigInt(o)<<BigInt(32))})),h.prototype.readBigUInt64BE=ne((function(e){K(e>>>=0,"offset");var t=this[e],r=this[e+7];void 0!==t&&void 0!==r||Z(e,this.length-8);var n=t*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+this[++e],o=this[++e]*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+r;return(BigInt(n)<<BigInt(32))+BigInt(o)})),h.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},h.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},h.prototype.readInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},h.prototype.readInt16LE=function(e,t){e>>>=0,t||C(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},h.prototype.readInt16BE=function(e,t){e>>>=0,t||C(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},h.prototype.readInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},h.prototype.readInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},h.prototype.readBigInt64LE=ne((function(e){K(e>>>=0,"offset");var t=this[e],r=this[e+7];void 0!==t&&void 0!==r||Z(e,this.length-8);var n=this[e+4]+this[e+5]*Math.pow(2,8)+this[e+6]*Math.pow(2,16)+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(t+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,24))})),h.prototype.readBigInt64BE=ne((function(e){K(e>>>=0,"offset");var t=this[e],r=this[e+7];void 0!==t&&void 0!==r||Z(e,this.length-8);var n=(t<<24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+this[++e];return(BigInt(n)<<BigInt(32))+BigInt(this[++e]*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+r)})),h.prototype.readFloatLE=function(e,t){return e>>>=0,t||C(e,4,this.length),l.read(this,e,!0,23,4)},h.prototype.readFloatBE=function(e,t){return e>>>=0,t||C(e,4,this.length),l.read(this,e,!1,23,4)},h.prototype.readDoubleLE=function(e,t){return e>>>=0,t||C(e,8,this.length),l.read(this,e,!0,52,8)},h.prototype.readDoubleBE=function(e,t){return e>>>=0,t||C(e,8,this.length),l.read(this,e,!1,52,8)},h.prototype.writeUintLE=h.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||D(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},h.prototype.writeUintBE=h.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||D(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},h.prototype.writeUint8=h.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,1,255,0),this[t]=255&e,t+1},h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||D(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},h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||D(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},h.prototype.writeBigUInt64LE=ne((function(e){return U(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),h.prototype.writeBigUInt64BE=ne((function(e){return F(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),h.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);D(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},h.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);D(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},h.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},h.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},h.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},h.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||D(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},h.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||D(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},h.prototype.writeBigInt64LE=ne((function(e){return U(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),h.prototype.writeBigInt64BE=ne((function(e){return F(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),h.prototype.writeFloatLE=function(e,t,r){return G(this,e,t,!0,r)},h.prototype.writeFloatBE=function(e,t,r){return G(this,e,t,!1,r)},h.prototype.writeDoubleLE=function(e,t,r){return V(this,e,t,!0,r)},h.prototype.writeDoubleBE=function(e,t,r){return V(this,e,t,!1,r)},h.prototype.copy=function(e,t,r,n){if(!h.isBuffer(e))throw new 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)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;return this===e&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),o},h.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!h.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"===typeof e?e&=255:"boolean"===typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;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{var a=h.isBuffer(e)?e:h.from(e,n),s=a.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var H={};function Y(e,t,r){H[e]=function(r){a(l,r);var u=s(l);function l(){var r;return n(this,l),r=u.call(this),Object.defineProperty(i(r),"message",{value:t.apply(i(r),arguments),writable:!0,configurable:!0}),r.name="".concat(r.name," [").concat(e,"]"),r.stack,delete r.name,r}return o(l,[{key:"code",get:function(){return e},set:function(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(e,"]: ").concat(this.message)}}]),l}(r)}function q(e){for(var t="",r=e.length,n="-"===e[0]?1:0;r>=n+4;r-=3)t="_".concat(e.slice(r-3,r)).concat(t);return"".concat(e.slice(0,r)).concat(t)}function z(e,t,r,n,o,i){if(e>r||e<t){var a,s="bigint"===typeof t?"n":"";throw a=i>3?0===t||t===BigInt(0)?">= 0".concat(s," and < 2").concat(s," ** ").concat(8*(i+1)).concat(s):">= -(2".concat(s," ** ").concat(8*(i+1)-1).concat(s,") and < 2 ** ")+"".concat(8*(i+1)-1).concat(s):">= ".concat(t).concat(s," and <= ").concat(r).concat(s),new H.ERR_OUT_OF_RANGE("value",a,e)}!function(e,t,r){K(t,"offset"),void 0!==e[t]&&void 0!==e[t+r]||Z(t,e.length-(r+1))}(n,o,i)}function K(e,t){if("number"!==typeof e)throw new H.ERR_INVALID_ARG_TYPE(t,"number",e)}function Z(e,t,r){if(Math.floor(e)!==e)throw K(e,r),new H.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new H.ERR_BUFFER_OUT_OF_BOUNDS;throw new H.ERR_OUT_OF_RANGE(r||"offset",">= ".concat(r?1:0," and <= ").concat(t),e)}Y("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),Y("ERR_INVALID_ARG_TYPE",(function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(typeof t)}),TypeError),Y("ERR_OUT_OF_RANGE",(function(e,t,r){var n='The value of "'.concat(e,'" is out of range.'),o=r;return Number.isInteger(r)&&Math.abs(r)>Math.pow(2,32)?o=q(String(r)):"bigint"===typeof r&&(o=String(r),(r>Math.pow(BigInt(2),BigInt(32))||r<-Math.pow(BigInt(2),BigInt(32)))&&(o=q(o)),o+="n"),n+=" It must be ".concat(t,". Received ").concat(o)}),RangeError);var X=/[^+/0-9A-Za-z-_]/g;function J(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function $(e){return u.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(X,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function Q(e,t,r,n){var o;for(o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function ee(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function te(e){return e!==e}var re=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}();function ne(e){return"undefined"===typeof BigInt?oe:e}function oe(){throw new Error("BigInt not supported")}},8041:function(e){"use strict";var t,r="object"===typeof Reflect?Reflect:null,n=r&&"function"===typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"===typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!==e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(r,n){function o(r){e.removeListener(t,i),n(r)}function i(){"function"===typeof e.removeListener&&e.removeListener("error",o),r([].slice.call(arguments))}g(e,t,i,{once:!0}),"error"!==t&&function(e,t,r){"function"===typeof e.on&&g(e,"error",t,r)}(e,o,{once:!0})}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var o,i,a,l;if(s(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"===typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=u(e))>0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,l=c,console&&console.warn&&console.warn(l)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=c.bind(n);return o.listener=r,n.wrapFn=o,o}function d(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"===typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(o):p(o,o.length)}function h(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function p(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function g(e,t,r,n){if("function"===typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!==typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(i){n.once&&e.removeEventListener(t,o),r(i)}))}}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!==typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return u(this)},i.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var o="error"===e,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=i[e];if(void 0===u)return!1;if("function"===typeof u)n(u,this,t);else{var l=u.length,c=p(u,l);for(r=0;r<l;++r)n(c[r],this,t)}return!0},i.prototype.addListener=function(e,t){return l(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return l(this,e,t,!0)},i.prototype.once=function(e,t){return s(t),this.on(e,f(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,f(this,e,t)),this},i.prototype.removeListener=function(e,t){var r,n,o,i,a;if(s(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!==typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},i.prototype.listeners=function(e){return d(this,e,!0)},i.prototype.rawListeners=function(e){return d(this,e,!1)},i.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},i.prototype.listenerCount=h,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},545:function(e,t){t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,l=u>>1,c=-7,f=r?o-1:0,d=r?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-c)-1,h>>=-c,c+=s;c>0;i=256*i+e[t+f],f+=d,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===i)i=1-l;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=l}return(h?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,u,l=8*i-o-1,c=(1<<l)-1,f=c>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&s,h+=p,s/=256,o-=8);for(a=a<<o|s,l+=o;l>0;e[r+h]=255&a,h+=p,a/=256,l-=8);e[r+h-p]|=128*g}},7490:function(e){var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new 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:i}catch(e){r=i}}();var s,u=[],l=!1,c=-1;function f(){l&&s&&(l=!1,s.length?u=s.concat(u):c=-1,u.length&&d())}function d(){if(!l){var e=a(f);l=!0;for(var t=u.length;t;){for(s=u,u=[];++c<t;)s&&s[c].run();c=-1,t=u.length}s=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||l||a(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},1580:function(e,t,r){"use strict";var n=r(4706),o=n.AbortError,i=n.codes,a=r(4297),s=i.ERR_INVALID_ARG_TYPE;e.exports.addAbortSignal=function(t,r){if(function(e,t){if("object"!==typeof e||!("aborted"in e))throw new s(t,"AbortSignal",e)}(t,"signal"),!(n=r)||"function"!==typeof n.pipe)throw new s("stream","stream.Stream",r);var n;return e.exports.addAbortSignalNoValidate(t,r)},e.exports.addAbortSignalNoValidate=function(e,t){if("object"!==typeof e||!("aborted"in e))return t;var r=function(){t.destroy(new o(void 0,{cause:e.reason}))};return e.aborted?r():(e.addEventListener("abort",r),a(t,(function(){return e.removeEventListener("abort",r)}))),t}},5489:function(e,t,r){"use strict";var n=r(2122).default,o=r(7061).default,i=r(6690).default,a=r(9728).default,s=r(1070),u=s.StringPrototypeSlice,l=s.SymbolIterator,c=s.TypedArrayPrototypeSet,f=s.Uint8Array,d=r(918).Buffer,h=r(7067).inspect;e.exports=function(e){function t(){i(this,t),this.head=null,this.tail=null,this.length=0}return a(t,[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;null!==(t=t.next);)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return d.alloc(0);for(var t=d.allocUnsafe(e>>>0),r=this.head,n=0;r;)c(t,r.data,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r=this.head.data;if(e<r.length){var n=r.slice(0,e);return this.head.data=r.slice(e),n}return e===r.length?this.shift():t?this._getString(e):this._getBuffer(e)}},{key:"first",value:function(){return this.head.data}},{key:l,value:o().mark((function e(){var t;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.head;case 1:if(!t){e.next=7;break}return e.next=4,t.data;case 4:t=t.next,e.next=1;break;case 7:case"end":return e.stop()}}),e,this)}))},{key:"_getString",value:function(e){var t="",r=this.head,n=0;do{var o=r.data;if(!(e>o.length)){e===o.length?(t+=o,++n,r.next?this.head=r.next:this.head=this.tail=null):(t+=u(o,0,e),this.head=r,r.data=u(o,e));break}t+=o,e-=o.length,++n}while(null!==(r=r.next));return this.length-=n,t}},{key:"_getBuffer",value:function(e){var t=d.allocUnsafe(e),r=e,n=this.head,o=0;do{var i=n.data;if(!(e>i.length)){e===i.length?(c(t,i,r-e),++o,n.next?this.head=n.next:this.head=this.tail=null):(c(t,new f(i.buffer,i.byteOffset,e),r-e),this.head=n,n.data=i.slice(e));break}c(t,i,r-e),e-=i.length,++o}while(null!==(n=n.next));return this.length-=o,t}},{key:e,value:function(e,t){return h(this,n(n({},t),{},{depth:0,customInspect:!1}))}}]),t}(Symbol.for("nodejs.util.inspect.custom"))},8457:function(e,t,r){"use strict";var n=r(6545).pipeline,o=r(6637),i=r(6617).destroyer,a=r(6767),s=a.isNodeStream,u=a.isReadable,l=a.isWritable,c=r(4706),f=c.AbortError,d=c.codes,h=d.ERR_INVALID_ARG_VALUE,p=d.ERR_MISSING_ARGS;e.exports=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(0===t.length)throw new p("streams");if(1===t.length)return o.from(t[0]);var a,c,d,g,b,v=[].concat(t);if("function"===typeof t[0]&&(t[0]=o.from(t[0])),"function"===typeof t[t.length-1]){var y=t.length-1;t[y]=o.from(t[y])}for(var m=0;m<t.length;++m)if(s(t[m])){if(m<t.length-1&&!u(t[m]))throw new h("streams[".concat(m,"]"),v[m],"must be readable");if(m>0&&!l(t[m]))throw new h("streams[".concat(m,"]"),v[m],"must be writable")}var w=t[0],_=n(t,(function(e){var t=g;g=null,t?t(e):e?b.destroy(e):A||x||b.destroy()})),x=!!l(w),A=!!u(_);return b=new o({writableObjectMode:!(null===w||void 0===w||!w.writableObjectMode),readableObjectMode:!(null===_||void 0===_||!_.writableObjectMode),writable:x,readable:A}),x&&(b._write=function(e,t,r){w.write(e,t)?r():a=r},b._final=function(e){w.end(),c=e},w.on("drain",(function(){if(a){var e=a;a=null,e()}})),_.on("finish",(function(){if(c){var e=c;c=null,e()}}))),A&&(_.on("readable",(function(){if(d){var e=d;d=null,e()}})),_.on("end",(function(){b.push(null)})),b._read=function(){for(;;){var e=_.read();if(null===e)return void(d=b._read);if(!b.push(e))return}}),b._destroy=function(e,t){e||null===g||(e=new f),d=null,a=null,c=null,null===g?t(e):(g=t,i(_,e))},b}},6617:function(e,t,r){"use strict";var n=r(7490),o=r(4706),i=o.aggregateTwoErrors,a=o.codes.ERR_MULTIPLE_CALLBACK,s=o.AbortError,u=r(1070).Symbol,l=r(6767),c=l.kDestroyed,f=l.isDestroyed,d=l.isFinished,h=l.isServerRequest,p=u("kDestroy"),g=u("kConstruct");function b(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function v(e,t,r){var o=!1;function i(t){if(!o){o=!0;var i=e._readableState,a=e._writableState;b(t,a,i),a&&(a.closed=!0),i&&(i.closed=!0),"function"===typeof r&&r(t),t?n.nextTick(y,e,t):n.nextTick(m,e)}}try{e._destroy(t||null,i)}catch(t){i(t)}}function y(e,t){w(e,t),m(e)}function m(e){var t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(r&&r.emitClose||t&&t.emitClose)&&e.emit("close")}function w(e,t){var r=e._readableState,n=e._writableState;n&&n.errorEmitted||r&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function _(e,t,r){var o=e._readableState,i=e._writableState;if(i&&i.destroyed||o&&o.destroyed)return this;o&&o.autoDestroy||i&&i.autoDestroy?e.destroy(t):t&&(t.stack,i&&!i.errored&&(i.errored=t),o&&!o.errored&&(o.errored=t),r?n.nextTick(w,e,t):w(e,t))}function x(e){var t=!1;function r(r){if(t)_(e,null!==r&&void 0!==r?r:new a);else{t=!0;var o=e._readableState,i=e._writableState,s=i||o;o&&(o.constructed=!0),i&&(i.constructed=!0),s.destroyed?e.emit(p,r):r?_(e,r,!0):n.nextTick(A,e)}}try{e._construct(r)}catch(o){r(o)}}function A(e){e.emit(g)}function E(e){return e&&e.setHeader&&"function"===typeof e.abort}function S(e){e.emit("close")}function k(e,t){e.emit("error",t),n.nextTick(S,e)}e.exports={construct:function(e,t){if("function"===typeof e._construct){var r=e._readableState,o=e._writableState;r&&(r.constructed=!1),o&&(o.constructed=!1),e.once(g,t),e.listenerCount(g)>1||n.nextTick(x,e)}},destroyer:function(e,t){e&&!f(e)&&(t||d(e)||(t=new s),h(e)?(e.socket=null,e.destroy(t)):E(e)?e.abort():E(e.req)?e.req.abort():"function"===typeof e.destroy?e.destroy(t):"function"===typeof e.close?e.close():t?n.nextTick(k,e,t):n.nextTick(S,e),e.destroyed||(e[c]=!0))},destroy:function(e,t){var r=this._readableState,n=this._writableState,o=n||r;return n&&n.destroyed||r&&r.destroyed?("function"===typeof t&&t(),this):(b(e,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),o.constructed?v(this,e,t):this.once(p,(function(r){v(this,i(r,e),t)})),this)},undestroy:function(){var e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=!1===e.readable,e.endEmitted=!1===e.readable),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=!1===t.writable,t.ending=!1===t.writable,t.finished=!1===t.writable)},errorOrDestroy:_}},6637:function(e,t,r){"use strict";var n=r(2122).default,o=r(1070),i=o.ObjectDefineProperties,a=o.ObjectGetOwnPropertyDescriptor,s=o.ObjectKeys,u=o.ObjectSetPrototypeOf;e.exports=b;var l,c,f=r(8581),d=r(3613);u(b.prototype,f.prototype),u(b,f);for(var h=s(d.prototype),p=0;p<h.length;p++){var g=h[p];b.prototype[g]||(b.prototype[g]=d.prototype[g])}function b(e){if(!(this instanceof b))return new b(e);f.call(this,e),d.call(this,e),e?(this.allowHalfOpen=!1!==e.allowHalfOpen,!1===e.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===e.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}function v(){return void 0===l&&(l={}),l}i(b.prototype,{writable:n({__proto__:null},a(d.prototype,"writable")),writableHighWaterMark:n({__proto__:null},a(d.prototype,"writableHighWaterMark")),writableObjectMode:n({__proto__:null},a(d.prototype,"writableObjectMode")),writableBuffer:n({__proto__:null},a(d.prototype,"writableBuffer")),writableLength:n({__proto__:null},a(d.prototype,"writableLength")),writableFinished:n({__proto__:null},a(d.prototype,"writableFinished")),writableCorked:n({__proto__:null},a(d.prototype,"writableCorked")),writableEnded:n({__proto__:null},a(d.prototype,"writableEnded")),writableNeedDrain:n({__proto__:null},a(d.prototype,"writableNeedDrain")),destroyed:{__proto__:null,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){this._readableState&&this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}}),b.fromWeb=function(e,t){return v().newStreamDuplexFromReadableWritablePair(e,t)},b.toWeb=function(e){return v().newReadableWritablePairFromDuplex(e)},b.from=function(e){return c||(c=r(830)),c(e,"body")}},830:function(e,t,r){var n=r(7061).default,o=r(7156).default,i=r(9728).default,a=r(6690).default,s=r(1655).default,u=r(6389).default,l=r(6737).default,c=r(8186).default,f=r(7490),d=r(918),h=r(6767),p=h.isReadable,g=h.isWritable,b=h.isIterable,v=h.isNodeStream,y=h.isReadableNodeStream,m=h.isWritableNodeStream,w=h.isDuplexNodeStream,_=r(4297),x=r(4706),A=x.AbortError,E=x.codes,S=E.ERR_INVALID_ARG_TYPE,k=E.ERR_INVALID_RETURN_VALUE,R=r(6617).destroyer,T=r(6637),O=r(8581),L=r(7067).createDeferredPromise,M=r(6129),I=globalThis.Blob||d.Blob,j="undefined"!==typeof I?function(e){return e instanceof I}:function(e){return!1},P=globalThis.AbortController||r(7547).AbortController,N=r(1070).FunctionPrototypeCall,B=function(e){"use strict";s(r,e);var t=u(r);function r(e){var n;return a(this,r),n=t.call(this,e),!1===(null===e||void 0===e?void 0:e.readable)&&(n._readableState.readable=!1,n._readableState.ended=!0,n._readableState.endEmitted=!0),!1===(null===e||void 0===e?void 0:e.writable)&&(n._writableState.writable=!1,n._writableState.ending=!0,n._writableState.ended=!0,n._writableState.finished=!0),n}return i(r)}(T);function C(e){var t,r,n,o,i,a=e.readable&&"function"!==typeof e.readable.read?O.wrap(e.readable):e.readable,s=e.writable,u=!!p(a),l=!!g(s);function c(e){var t=o;o=null,t?t(e):e?i.destroy(e):u||l||i.destroy()}return i=new B({readableObjectMode:!(null===a||void 0===a||!a.readableObjectMode),writableObjectMode:!(null===s||void 0===s||!s.writableObjectMode),readable:u,writable:l}),l&&(_(s,(function(e){l=!1,e&&R(a,e),c(e)})),i._write=function(e,r,n){s.write(e,r)?n():t=n},i._final=function(e){s.end(),r=e},s.on("drain",(function(){if(t){var e=t;t=null,e()}})),s.on("finish",(function(){if(r){var e=r;r=null,e()}}))),u&&(_(a,(function(e){u=!1,e&&R(a,e),c(e)})),a.on("readable",(function(){if(n){var e=n;n=null,e()}})),a.on("end",(function(){i.push(null)})),i._read=function(){for(;;){var e=a.read();if(null===e)return void(n=i._read);if(!i.push(e))return}}),i._destroy=function(e,i){e||null===o||(e=new A),n=null,t=null,r=null,null===o?i(e):(o=i,R(s,e),R(a,e))},i}e.exports=function e(t,r){if(w(t))return t;if(y(t))return C({readable:t});if(m(t))return C({writable:t});if(v(t))return C({writable:!1,readable:!1});if("function"===typeof t){var i=function(e){var t=L(),r=t.promise,o=t.resolve,i=new P,a=i.signal,s=e(c(n().mark((function e(){var t,i,s,u,c,d;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r,r=null,e.next=5,l(t);case 5:if(i=e.sent,s=i.chunk,u=i.done,c=i.cb,f.nextTick(c),!u){e.next=12;break}return e.abrupt("return");case 12:if(!a.aborted){e.next=14;break}throw new A(void 0,{cause:a.reason});case 14:return d=L(),r=d.promise,o=d.resolve,e.next=19,s;case 19:e.next=0;break;case 21:case"end":return e.stop()}}),e)})))(),{signal:a});return{value:s,write:function(e,t,r){var n=o;o=null,n({chunk:e,done:!1,cb:r})},final:function(e){var t=o;o=null,t({done:!0,cb:e})},destroy:function(e,t){i.abort(),t(e)}}}(t),a=i.value,s=i.write,u=i.final,d=i.destroy;if(b(a))return M(B,a,{objectMode:!0,write:s,final:u,destroy:d});var h=null===a||void 0===a?void 0:a.then;if("function"===typeof h){var p,g=N(h,a,(function(e){if(null!=e)throw new k("nully","body",e)}),(function(e){R(p,e)}));return p=new B({objectMode:!0,readable:!1,write:s,final:function(e){u(o(n().mark((function t(){return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,g;case 3:f.nextTick(e,null),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),f.nextTick(e,t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])}))))},destroy:d})}throw new k("Iterable, AsyncIterable or AsyncFunction",r,a)}if(j(t))return e(t.arrayBuffer());if(b(t))return M(B,t,{objectMode:!0,writable:!1});if("object"===typeof(null===t||void 0===t?void 0:t.writable)||"object"===typeof(null===t||void 0===t?void 0:t.readable))return C({readable:null!==t&&void 0!==t&&t.readable?y(null===t||void 0===t?void 0:t.readable)?null===t||void 0===t?void 0:t.readable:e(t.readable):void 0,writable:null!==t&&void 0!==t&&t.writable?m(null===t||void 0===t?void 0:t.writable)?null===t||void 0===t?void 0:t.writable:e(t.writable):void 0});var _,x=null===t||void 0===t?void 0:t.then;if("function"===typeof x)return N(x,t,(function(e){null!=e&&_.push(e),_.push(null)}),(function(e){R(_,e)})),_=new B({objectMode:!0,writable:!1,read:function(){}});throw new S(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],t)}},4297:function(e,t,r){var n=r(7490),o=r(4706),i=o.AbortError,a=o.codes,s=a.ERR_INVALID_ARG_TYPE,u=a.ERR_STREAM_PREMATURE_CLOSE,l=r(7067),c=l.kEmptyObject,f=l.once,d=r(1066),h=d.validateAbortSignal,p=d.validateFunction,g=d.validateObject,b=r(1070).Promise,v=r(6767),y=v.isClosed,m=v.isReadable,w=v.isReadableNodeStream,_=v.isReadableFinished,x=v.isReadableErrored,A=v.isWritable,E=v.isWritableNodeStream,S=v.isWritableFinished,k=v.isWritableErrored,R=v.isNodeStream,T=v.willEmitClose;var O=function(){};function L(e,t,r){var o,a;2===arguments.length?(r=t,t=c):null==t?t=c:g(t,"options"),p(r,"callback"),h(t.signal,"options.signal"),r=f(r);var l=null!==(o=t.readable)&&void 0!==o?o:w(e),d=null!==(a=t.writable)&&void 0!==a?a:E(e);if(!R(e))throw new s("stream","Stream",e);var b=e._writableState,v=e._readableState,L=function(){e.writable||j()},M=T(e)&&w(e)===l&&E(e)===d,I=S(e,!1),j=function(){I=!0,e.destroyed&&(M=!1),(!M||e.readable&&!l)&&(l&&!P||r.call(e))},P=_(e,!1),N=function(){P=!0,e.destroyed&&(M=!1),(!M||e.writable&&!d)&&(d&&!I||r.call(e))},B=function(t){r.call(e,t)},C=y(e),D=function(){C=!0;var t=k(e)||x(e);return t&&"boolean"!==typeof t?r.call(e,t):l&&!P&&w(e,!0)&&!_(e,!1)?r.call(e,new u):!d||I||S(e,!1)?void r.call(e):r.call(e,new u)},U=function(){e.req.on("finish",j)};!function(e){return e.setHeader&&"function"===typeof e.abort}(e)?d&&!b&&(e.on("end",L),e.on("close",L)):(e.on("complete",j),M||e.on("abort",D),e.req?U():e.on("request",U)),M||"boolean"!==typeof e.aborted||e.on("aborted",D),e.on("end",N),e.on("finish",j),!1!==t.error&&e.on("error",B),e.on("close",D),C?n.nextTick(D):null!==b&&void 0!==b&&b.errorEmitted||null!==v&&void 0!==v&&v.errorEmitted?M||n.nextTick(D):(l||M&&!m(e)||!I&&!1!==A(e))&&(d||M&&!A(e)||!P&&!1!==m(e))?v&&e.req&&e.aborted&&n.nextTick(D):n.nextTick(D);var F=function(){r=O,e.removeListener("aborted",D),e.removeListener("complete",j),e.removeListener("abort",D),e.removeListener("request",U),e.req&&e.req.removeListener("finish",j),e.removeListener("end",L),e.removeListener("close",L),e.removeListener("finish",j),e.removeListener("end",N),e.removeListener("error",B),e.removeListener("close",D)};if(t.signal&&!C){var W=function(){var n=r;F(),n.call(e,new i(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)n.nextTick(W);else{var G=r;r=f((function(){t.signal.removeEventListener("abort",W);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];G.apply(e,n)})),t.signal.addEventListener("abort",W)}}return F}e.exports=L,e.exports.finished=function(e,t){return new b((function(r,n){L(e,t,(function(e){e?n(e):r()}))}))}},6129:function(e,t,r){"use strict";var n=r(7061).default,o=r(7156).default,i=r(2122).default,a=r(7490),s=r(1070),u=s.PromisePrototypeThen,l=s.SymbolAsyncIterator,c=s.SymbolIterator,f=r(918).Buffer,d=r(4706).codes,h=d.ERR_INVALID_ARG_TYPE,p=d.ERR_STREAM_NULL_VALUES;e.exports=function(e,t,r){var s,d;if("string"===typeof t||t instanceof f)return new e(i(i({objectMode:!0},r),{},{read:function(){this.push(t),this.push(null)}}));if(t&&t[l])d=!0,s=t[l]();else{if(!t||!t[c])throw new h("iterable",["Iterable"],t);d=!1,s=t[c]()}var g=new e(i({objectMode:!0,highWaterMark:1},r)),b=!1;function v(){return(v=o(n().mark((function e(t){var r,o,i,a,u,l,c;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=void 0!==t&&null!==t,o="function"===typeof s.throw,!r||!o){e.next=12;break}return e.next=5,s.throw(t);case 5:return i=e.sent,a=i.value,u=i.done,e.next=10,a;case 10:if(!u){e.next=12;break}return e.abrupt("return");case 12:if("function"!==typeof s.return){e.next=19;break}return e.next=15,s.return();case 15:return l=e.sent,c=l.value,e.next=19,c;case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(){return(y=o(n().mark((function e(){var t,r,o;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!d){e.next=7;break}return e.next=4,s.next();case 4:e.t0=e.sent,e.next=8;break;case 7:e.t0=s.next();case 8:if(t=e.t0,r=t.value,!t.done){e.next=15;break}g.push(null),e.next=33;break;case 15:if(!r||"function"!==typeof r.then){e.next=21;break}return e.next=18,r;case 18:e.t1=e.sent,e.next=22;break;case 21:e.t1=r;case 22:if(null!==(o=e.t1)){e.next=28;break}throw b=!1,new p;case 28:if(!g.push(o)){e.next=32;break}return e.abrupt("continue",39);case 32:b=!1;case 33:e.next=38;break;case 35:e.prev=35,e.t2=e.catch(0),g.destroy(e.t2);case 38:return e.abrupt("break",41);case 39:e.next=0;break;case 41:case"end":return e.stop()}}),e,null,[[0,35]])})))).apply(this,arguments)}return g._read=function(){b||(b=!0,function(){y.apply(this,arguments)}())},g._destroy=function(e,t){u(function(e){return v.apply(this,arguments)}(e),(function(){return a.nextTick(t,e)}),(function(r){return a.nextTick(t,r||e)}))},g}},4647:function(e,t,r){"use strict";var n=r(1070),o=n.ArrayIsArray,i=n.ObjectSetPrototypeOf,a=r(8041).EventEmitter;function s(e){a.call(this,e)}function u(e,t,r){if("function"===typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}i(s.prototype,a.prototype),i(s,a),s.prototype.pipe=function(e,t){var r=this;function n(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",n),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",l));var i=!1;function s(){i||(i=!0,e.end())}function l(){i||(i=!0,"function"===typeof e.destroy&&e.destroy())}function c(e){f(),0===a.listenerCount(this,"error")&&this.emit("error",e)}function f(){r.removeListener("data",n),e.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",l),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",f),r.removeListener("close",f),e.removeListener("close",f)}return u(r,"error",c),u(e,"error",c),r.on("end",f),r.on("close",f),e.on("close",f),e.emit("pipe",r),e},e.exports={Stream:s,prependListener:u}},3668:function(e,t,r){"use strict";var n=r(8416).default,o=r(9728).default,i=r(6690).default,a=r(1655).default,s=r(6389).default,u=r(7061).default,l=r(7156).default,c=r(8131).default,f=r(8237).default,d=r(6737).default,h=r(8186).default,p=globalThis.AbortController||r(7547).AbortController,g=r(4706),b=g.codes,v=b.ERR_INVALID_ARG_TYPE,y=b.ERR_MISSING_ARGS,m=b.ERR_OUT_OF_RANGE,w=g.AbortError,_=r(1066),x=_.validateAbortSignal,A=_.validateInteger,E=_.validateObject,S=r(1070).Symbol("kWeak"),k=r(4297).finished,R=r(1070),T=R.ArrayPrototypePush,O=R.MathFloor,L=R.Number,M=R.NumberIsNaN,I=R.Promise,j=R.PromiseReject,P=R.PromisePrototypeThen,N=R.Symbol,B=N("kEmpty"),C=N("kEof");function D(e,t){if("function"!==typeof e)throw new v("fn",["Function","AsyncFunction"],e);null!=t&&E(t,"options"),null!=(null===t||void 0===t?void 0:t.signal)&&x(t.signal,"options.signal");var r=1;return null!=(null===t||void 0===t?void 0:t.concurrency)&&(r=O(t.concurrency)),A(r,"concurrency",1),function(){var n=h(u().mark((function n(){var o,i,a,s,c,h,g,b,v,y,m,_,x,A,E;return u().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:A=function(){return(A=l(u().mark((function n(){var o,i,a,l,d,p,x,A,E;return u().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:n.prev=0,o=!1,i=!1,n.prev=3,l=f(s);case 5:return n.next=7,l.next();case 7:if(!(o=!(d=n.sent).done)){n.next=25;break}if(p=d.value,!m){n.next=11;break}return n.abrupt("return");case 11:if(!h.aborted){n.next=13;break}throw new w;case 13:try{p=e(p,g)}catch(u){p=j(u)}if(p!==B){n.next=16;break}return n.abrupt("continue",22);case 16:if("function"===typeof(null===(x=p)||void 0===x?void 0:x.catch)&&p.catch(_),c.push(p),v&&(v(),v=null),!(!m&&c.length&&c.length>=r)){n.next=22;break}return n.next=22,new I((function(e){y=e}));case 22:o=!1,n.next=5;break;case 25:n.next=31;break;case 27:n.prev=27,n.t0=n.catch(3),i=!0,a=n.t0;case 31:if(n.prev=31,n.prev=32,!o||null==l.return){n.next=36;break}return n.next=36,l.return();case 36:if(n.prev=36,!i){n.next=39;break}throw a;case 39:return n.finish(36);case 40:return n.finish(31);case 41:c.push(C),n.next=49;break;case 44:n.prev=44,n.t1=n.catch(0),A=j(n.t1),P(A,void 0,_),c.push(A);case 49:return n.prev=49,m=!0,v&&(v(),v=null),null===t||void 0===t||null===(E=t.signal)||void 0===E||E.removeEventListener("abort",b),n.finish(49);case 54:case"end":return n.stop()}}),n,null,[[0,44,49,54],[3,27,31,41],[32,,36,40]])})))).apply(this,arguments)},x=function(){return A.apply(this,arguments)},_=function(){m=!0},a=new p,s=this,c=[],h=a.signal,g={signal:h},b=function(){return a.abort()},null!==t&&void 0!==t&&null!==(o=t.signal)&&void 0!==o&&o.aborted&&b(),null===t||void 0===t||null===(i=t.signal)||void 0===i||i.addEventListener("abort",b),m=!1,x(),n.prev=13;case 14:0;case 15:if(!(c.length>0)){n.next=30;break}return n.next=18,d(c[0]);case 18:if((E=n.sent)!==C){n.next=21;break}return n.abrupt("return");case 21:if(!h.aborted){n.next=23;break}throw new w;case 23:if(E===B){n.next=26;break}return n.next=26,E;case 26:c.shift(),y&&(y(),y=null),n.next=15;break;case 30:return n.next=32,d(new I((function(e){v=e})));case 32:n.next=14;break;case 34:return n.prev=34,a.abort(),m=!0,y&&(y(),y=null),n.finish(34);case 39:case"end":return n.stop()}}),n,this,[[13,,34,39]])})));return function(){return n.apply(this,arguments)}}().call(this)}function U(e){return F.apply(this,arguments)}function F(){return F=l(u().mark((function e(t){var r,n,o,i,a,s,l=arguments;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=l.length>1&&void 0!==l[1]?l[1]:void 0,n=!1,o=!1,e.prev=3,a=f(H.call(this,t,r));case 5:return e.next=7,a.next();case 7:if(!(n=!(s=e.sent).done)){e.next=13;break}return s.value,e.abrupt("return",!0);case 10:n=!1,e.next=5;break;case 13:e.next=19;break;case 15:e.prev=15,e.t0=e.catch(3),o=!0,i=e.t0;case 19:if(e.prev=19,e.prev=20,!n||null==a.return){e.next=24;break}return e.next=24,a.return();case 24:if(e.prev=24,!o){e.next=27;break}throw i;case 27:return e.finish(24);case 28:return e.finish(19);case 29:return e.abrupt("return",!1);case 30:case"end":return e.stop()}}),e,this,[[3,15,19,29],[20,,24,28]])}))),F.apply(this,arguments)}function W(){return W=l(u().mark((function e(t){var r,n=arguments;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.length>1&&void 0!==n[1]?n[1]:void 0,"function"===typeof t){e.next=3;break}throw new v("fn",["Function","AsyncFunction"],t);case 3:return e.next=5,U.call(this,l(u().mark((function e(){var r=arguments;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.apply(void 0,r);case 2:return e.abrupt("return",!e.sent);case 3:case"end":return e.stop()}}),e)}))),r);case 5:return e.abrupt("return",!e.sent);case 6:case"end":return e.stop()}}),e,this)}))),W.apply(this,arguments)}function G(){return(G=l(u().mark((function e(t,r){var n,o,i,a,s,l;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=!1,o=!1,e.prev=2,a=f(H.call(this,t,r));case 4:return e.next=6,a.next();case 6:if(!(n=!(s=e.sent).done)){e.next=12;break}return l=s.value,e.abrupt("return",l);case 9:n=!1,e.next=4;break;case 12:e.next=18;break;case 14:e.prev=14,e.t0=e.catch(2),o=!0,i=e.t0;case 18:if(e.prev=18,e.prev=19,!n||null==a.return){e.next=23;break}return e.next=23,a.return();case 23:if(e.prev=23,!o){e.next=26;break}throw i;case 26:return e.finish(23);case 27:return e.finish(18);case 28:return e.abrupt("return",void 0);case 29:case"end":return e.stop()}}),e,this,[[2,14,18,28],[19,,23,27]])})))).apply(this,arguments)}function V(){return V=l(u().mark((function e(t,r){var n,o,i,a,s,c,d;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=function(){return o=l(u().mark((function e(r,n){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t(r,n);case 2:return e.abrupt("return",B);case 3:case"end":return e.stop()}}),e)}))),o.apply(this,arguments)},n=function(e,t){return o.apply(this,arguments)},"function"===typeof t){e.next=4;break}throw new v("fn",["Function","AsyncFunction"],t);case 4:i=!1,a=!1,e.prev=6,c=f(D.call(this,n,r));case 8:return e.next=10,c.next();case 10:if(!(i=!(d=e.sent).done)){e.next=16;break}d.value;case 13:i=!1,e.next=8;break;case 16:e.next=22;break;case 18:e.prev=18,e.t0=e.catch(6),a=!0,s=e.t0;case 22:if(e.prev=22,e.prev=23,!i||null==c.return){e.next=27;break}return e.next=27,c.return();case 27:if(e.prev=27,!a){e.next=30;break}throw s;case 30:return e.finish(27);case 31:return e.finish(22);case 32:case"end":return e.stop()}}),e,this,[[6,18,22,32],[23,,27,31]])}))),V.apply(this,arguments)}function H(e,t){if("function"!==typeof e)throw new v("fn",["Function","AsyncFunction"],e);function r(){return r=l(u().mark((function t(r,n){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e(r,n);case 2:if(!t.sent){t.next=4;break}return t.abrupt("return",r);case 4:return t.abrupt("return",B);case 5:case"end":return t.stop()}}),t)}))),r.apply(this,arguments)}return D.call(this,(function(e,t){return r.apply(this,arguments)}),t)}var Y=function(e){a(r,e);var t=s(r);function r(){var e;return i(this,r),(e=t.call(this,"reduce")).message="Reduce of an empty stream requires an initial value",e}return o(r)}(y);function q(){return q=l(u().mark((function e(t,r,o){var i,a,s,l,c,d,h,g,b,y,m,_,A,R,T=arguments;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"===typeof t){e.next=2;break}throw new v("reducer",["Function","AsyncFunction"],t);case 2:if(null!=o&&E(o,"options"),null!=(null===o||void 0===o?void 0:o.signal)&&x(o.signal,"options.signal"),a=T.length>1,null===o||void 0===o||null===(i=o.signal)||void 0===i||!i.aborted){e.next=11;break}return s=new w(void 0,{cause:o.signal.reason}),this.once("error",(function(){})),e.next=10,k(this.destroy(s));case 10:throw s;case 11:l=new p,c=l.signal,null!==o&&void 0!==o&&o.signal&&(d=n({once:!0},S,this),o.signal.addEventListener("abort",(function(){return l.abort()}),d)),h=!1,e.prev=15,g=!1,b=!1,e.prev=18,m=f(this);case 20:return e.next=22,m.next();case 22:if(!(g=!(_=e.sent).done)){e.next=38;break}if(A=_.value,h=!0,null===o||void 0===o||null===(R=o.signal)||void 0===R||!R.aborted){e.next=27;break}throw new w;case 27:if(a){e.next=32;break}r=A,a=!0,e.next=35;break;case 32:return e.next=34,t(r,A,{signal:c});case 34:r=e.sent;case 35:g=!1,e.next=20;break;case 38:e.next=44;break;case 40:e.prev=40,e.t0=e.catch(18),b=!0,y=e.t0;case 44:if(e.prev=44,e.prev=45,!g||null==m.return){e.next=49;break}return e.next=49,m.return();case 49:if(e.prev=49,!b){e.next=52;break}throw y;case 52:return e.finish(49);case 53:return e.finish(44);case 54:if(h||a){e.next=56;break}throw new Y;case 56:return e.prev=56,l.abort(),e.finish(56);case 59:return e.abrupt("return",r);case 60:case"end":return e.stop()}}),e,this,[[15,,56,59],[18,40,44,54],[45,,49,53]])}))),q.apply(this,arguments)}function z(){return(z=l(u().mark((function e(t){var r,n,o,i,a,s,l,c;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:null!=t&&E(t,"options"),null!=(null===t||void 0===t?void 0:t.signal)&&x(t.signal,"options.signal"),r=[],n=!1,o=!1,e.prev=5,a=f(this);case 7:return e.next=9,a.next();case 9:if(!(n=!(s=e.sent).done)){e.next=17;break}if(l=s.value,null===t||void 0===t||null===(c=t.signal)||void 0===c||!c.aborted){e.next=13;break}throw new w(void 0,{cause:t.signal.reason});case 13:T(r,l);case 14:n=!1,e.next=7;break;case 17:e.next=23;break;case 19:e.prev=19,e.t0=e.catch(5),o=!0,i=e.t0;case 23:if(e.prev=23,e.prev=24,!n||null==a.return){e.next=28;break}return e.next=28,a.return();case 28:if(e.prev=28,!o){e.next=31;break}throw i;case 31:return e.finish(28);case 32:return e.finish(23);case 33:return e.abrupt("return",r);case 34:case"end":return e.stop()}}),e,this,[[5,19,23,33],[24,,28,32]])})))).apply(this,arguments)}function K(e){if(e=L(e),M(e))return 0;if(e<0)throw new m("number",">= 0",e);return e}e.exports.streamReturningOperators={asIndexedPairs:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return null!=e&&E(e,"options"),null!=(null===e||void 0===e?void 0:e.signal)&&x(e.signal,"options.signal"),function(){var t=h(u().mark((function t(){var r,n,o,i,a,s,l,c;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=0,n=!1,o=!1,t.prev=3,a=f(this);case 5:return t.next=7,d(a.next());case 7:if(!(n=!(s=t.sent).done)){t.next=16;break}if(l=s.value,null===e||void 0===e||null===(c=e.signal)||void 0===c||!c.aborted){t.next=11;break}throw new w({cause:e.signal.reason});case 11:return t.next=13,[r++,l];case 13:n=!1,t.next=5;break;case 16:t.next=22;break;case 18:t.prev=18,t.t0=t.catch(3),o=!0,i=t.t0;case 22:if(t.prev=22,t.prev=23,!n||null==a.return){t.next=27;break}return t.next=27,d(a.return());case 27:if(t.prev=27,!o){t.next=30;break}throw i;case 30:return t.finish(27);case 31:return t.finish(22);case 32:case"end":return t.stop()}}),t,this,[[3,18,22,32],[23,,27,31]])})));return function(){return t.apply(this,arguments)}}().call(this)},drop:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return null!=t&&E(t,"options"),null!=(null===t||void 0===t?void 0:t.signal)&&x(t.signal,"options.signal"),e=K(e),function(){var r=h(u().mark((function r(){var n,o,i,a,s,l,c,h;return u().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(null===t||void 0===t||null===(n=t.signal)||void 0===n||!n.aborted){r.next=2;break}throw new w;case 2:o=!1,i=!1,r.prev=4,s=f(this);case 6:return r.next=8,d(s.next());case 8:if(!(o=!(l=r.sent).done)){r.next=18;break}if(c=l.value,null===t||void 0===t||null===(h=t.signal)||void 0===h||!h.aborted){r.next=12;break}throw new w;case 12:if(!(e--<=0)){r.next=15;break}return r.next=15,c;case 15:o=!1,r.next=6;break;case 18:r.next=24;break;case 20:r.prev=20,r.t0=r.catch(4),i=!0,a=r.t0;case 24:if(r.prev=24,r.prev=25,!o||null==s.return){r.next=29;break}return r.next=29,d(s.return());case 29:if(r.prev=29,!i){r.next=32;break}throw a;case 32:return r.finish(29);case 33:return r.finish(24);case 34:case"end":return r.stop()}}),r,this,[[4,20,24,34],[25,,29,33]])})));return function(){return r.apply(this,arguments)}}().call(this)},filter:H,flatMap:function(e,t){var r=D.call(this,e,t);return function(){var e=h(u().mark((function e(){var t,n,o,i,a,s;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=!1,n=!1,e.prev=2,i=f(r);case 4:return e.next=6,d(i.next());case 6:if(!(t=!(a=e.sent).done)){e.next=12;break}return s=a.value,e.delegateYield(c(f(s),d),"t0",9);case 9:t=!1,e.next=4;break;case 12:e.next=18;break;case 14:e.prev=14,e.t1=e.catch(2),n=!0,o=e.t1;case 18:if(e.prev=18,e.prev=19,!t||null==i.return){e.next=23;break}return e.next=23,d(i.return());case 23:if(e.prev=23,!n){e.next=26;break}throw o;case 26:return e.finish(23);case 27:return e.finish(18);case 28:case"end":return e.stop()}}),e,null,[[2,14,18,28],[19,,23,27]])})));return function(){return e.apply(this,arguments)}}().call(this)},map:D,take:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return null!=t&&E(t,"options"),null!=(null===t||void 0===t?void 0:t.signal)&&x(t.signal,"options.signal"),e=K(e),function(){var r=h(u().mark((function r(){var n,o,i,a,s,l,c,h;return u().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(null===t||void 0===t||null===(n=t.signal)||void 0===n||!n.aborted){r.next=2;break}throw new w;case 2:o=!1,i=!1,r.prev=4,s=f(this);case 6:return r.next=8,d(s.next());case 8:if(!(o=!(l=r.sent).done)){r.next=21;break}if(c=l.value,null===t||void 0===t||null===(h=t.signal)||void 0===h||!h.aborted){r.next=12;break}throw new w;case 12:if(!(e-- >0)){r.next=17;break}return r.next=15,c;case 15:r.next=18;break;case 17:return r.abrupt("return");case 18:o=!1,r.next=6;break;case 21:r.next=27;break;case 23:r.prev=23,r.t0=r.catch(4),i=!0,a=r.t0;case 27:if(r.prev=27,r.prev=28,!o||null==s.return){r.next=32;break}return r.next=32,d(s.return());case 32:if(r.prev=32,!i){r.next=35;break}throw a;case 35:return r.finish(32);case 36:return r.finish(27);case 37:case"end":return r.stop()}}),r,this,[[4,23,27,37],[28,,32,36]])})));return function(){return r.apply(this,arguments)}}().call(this)}},e.exports.promiseReturningOperators={every:function(e){return W.apply(this,arguments)},forEach:function(e,t){return V.apply(this,arguments)},reduce:function(e,t,r){return q.apply(this,arguments)},toArray:function(e){return z.apply(this,arguments)},some:U,find:function(e,t){return G.apply(this,arguments)}}},5329:function(e,t,r){"use strict";var n=r(1070).ObjectSetPrototypeOf;e.exports=i;var o=r(3575);function i(e){if(!(this instanceof i))return new i(e);o.call(this,e)}n(i.prototype,o.prototype),n(i,o),i.prototype._transform=function(e,t,r){r(null,e)}},6545:function(e,t,r){var n,o,i=r(7156).default,a=r(7061).default,s=r(8186).default,u=r(6737).default,l=r(8131).default,c=r(8237).default,f=r(7490),d=r(1070),h=d.ArrayIsArray,p=d.Promise,g=d.SymbolAsyncIterator,b=r(4297),v=r(7067).once,y=r(6617),m=r(6637),w=r(4706),_=w.aggregateTwoErrors,x=w.codes,A=x.ERR_INVALID_ARG_TYPE,E=x.ERR_INVALID_RETURN_VALUE,S=x.ERR_MISSING_ARGS,k=x.ERR_STREAM_DESTROYED,R=x.ERR_STREAM_PREMATURE_CLOSE,T=w.AbortError,O=r(1066),L=O.validateFunction,M=O.validateAbortSignal,I=r(6767),j=I.isIterable,P=I.isReadable,N=I.isReadableNodeStream,B=I.isNodeStream,C=globalThis.AbortController||r(7547).AbortController;function D(e,t,r){var n=!1;return e.on("close",(function(){n=!0})),{destroy:function(t){n||(n=!0,y.destroyer(e,t||new k("pipe")))},cleanup:b(e,{readable:t,writable:r},(function(e){n=!e}))}}function U(e){if(j(e))return e;if(N(e))return function(e){return F.apply(this,arguments)}(e);throw new A("val",["Readable","Iterable","AsyncIterable"],e)}function F(){return(F=s(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o||(o=r(8581)),e.delegateYield(l(c(o.prototype[g].call(t)),u),"t0",2);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function W(e,t,r,n){return G.apply(this,arguments)}function G(){return(G=i(a().mark((function e(t,r,n,o){var i,s,u,l,f,d,h,g,v,y,m,w;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=o.end,u=null,l=function(e){if(e&&(s=e),u){var t=u;u=null,t()}},f=function(){return new p((function(e,t){s?t(s):u=function(){s?t(s):e()}}))},r.on("drain",l),d=b(r,{readable:!1},l),e.prev=6,!r.writableNeedDrain){e.next=10;break}return e.next=10,f();case 10:h=!1,g=!1,e.prev=12,y=c(t);case 14:return e.next=16,y.next();case 16:if(!(h=!(m=e.sent).done)){e.next=24;break}if(w=m.value,r.write(w)){e.next=21;break}return e.next=21,f();case 21:h=!1,e.next=14;break;case 24:e.next=30;break;case 26:e.prev=26,e.t0=e.catch(12),g=!0,v=e.t0;case 30:if(e.prev=30,e.prev=31,!h||null==y.return){e.next=35;break}return e.next=35,y.return();case 35:if(e.prev=35,!g){e.next=38;break}throw v;case 38:return e.finish(35);case 39:return e.finish(30);case 40:return i&&r.end(),e.next=43,f();case 43:n(),e.next=49;break;case 46:e.prev=46,e.t1=e.catch(6),n(s!==e.t1?_(s,e.t1):e.t1);case 49:return e.prev=49,d(),r.off("drain",l),e.finish(49);case 53:case"end":return e.stop()}}),e,null,[[6,46,49,53],[12,26,30,40],[31,,35,39]])})))).apply(this,arguments)}function V(e,t,o){if(1===e.length&&h(e[0])&&(e=e[0]),e.length<2)throw new S("streams");var i,a,s=new C,u=s.signal,l=null===o||void 0===o?void 0:o.signal,c=[];function d(){w(new T)}M(l,"options.signal"),null===l||void 0===l||l.addEventListener("abort",d);var p,g=[],v=0;function y(e){w(e,0===--v)}function w(e,r){if(!e||i&&"ERR_STREAM_PREMATURE_CLOSE"!==i.code||(i=e),i||r){for(;g.length;)g.shift()(i);null===l||void 0===l||l.removeEventListener("abort",d),s.abort(),r&&(i||c.forEach((function(e){return e()})),f.nextTick(t,i,a))}}for(var _=function(){var t=e[x],i=x<e.length-1,s=x>0,l=i||!1!==(null===o||void 0===o?void 0:o.end),d=x===e.length-1;if(B(t)){var h=function(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&y(e)};if(l){var w=D(t,i,s),_=w.destroy,S=w.cleanup;g.push(_),P(t)&&d&&c.push(S)}t.on("error",h),P(t)&&d&&c.push((function(){t.removeListener("error",h)}))}if(0===x)if("function"===typeof t){if(p=t({signal:u}),!j(p))throw new E("Iterable, AsyncIterable or Stream","source",p)}else p=j(t)||N(t)?t:m.from(t);else if("function"===typeof t)if(p=U(p),p=t(p,{signal:u}),i){if(!j(p,!0))throw new E("AsyncIterable","transform[".concat(x-1,"]"),p)}else{n||(n=r(5329));var T=new n({objectMode:!0}),O=null===(k=p)||void 0===k?void 0:k.then;if("function"===typeof O)v++,O.call(p,(function(e){a=e,null!=e&&T.write(e),l&&T.end(),f.nextTick(y)}),(function(e){T.destroy(e),f.nextTick(y,e)}));else{if(!j(p,!0))throw new E("AsyncIterable or Promise","destination",p);v++,W(p,T,y,{end:l})}var L=D(p=T,!1,!0),M=L.destroy,I=L.cleanup;g.push(M),d&&c.push(I)}else if(B(t)){if(N(p)){v+=2;var C=function(e,t,r,n){var o=n.end,i=!1;t.on("close",(function(){i||r(new R)})),e.pipe(t,{end:o}),o?e.once("end",(function(){i=!0,t.end()})):r();return b(e,{readable:!0,writable:!1},(function(t){var n=e._readableState;t&&"ERR_STREAM_PREMATURE_CLOSE"===t.code&&n&&n.ended&&!n.errored&&!n.errorEmitted?e.once("end",r).once("error",r):r(t)})),b(t,{readable:!1,writable:!0},r)}(p,t,y,{end:l});P(t)&&d&&c.push(C)}else{if(!j(p))throw new A("val",["Readable","Iterable","AsyncIterable"],p);v++,W(p,t,y,{end:l})}p=t}else p=m.from(t)},x=0;x<e.length;x++){var k;_()}return(null!==u&&void 0!==u&&u.aborted||null!==l&&void 0!==l&&l.aborted)&&f.nextTick(d),p}e.exports={pipelineImpl:V,pipeline:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return V(t,v(function(e){return L(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(t)))}}},8581:function(e,t,r){var n=r(2122).default,o=r(7061).default,i=r(4704).default,a=r(6737).default,s=r(8186).default,u=r(7490),l=r(1070),c=l.ArrayPrototypeIndexOf,f=l.NumberIsInteger,d=l.NumberIsNaN,h=l.NumberParseInt,p=l.ObjectDefineProperties,g=l.ObjectKeys,b=l.ObjectSetPrototypeOf,v=l.Promise,y=l.SafeSet,m=l.SymbolAsyncIterator,w=l.Symbol;e.exports=Z,Z.ReadableState=K;var _=r(8041).EventEmitter,x=r(4647),A=x.Stream,E=x.prependListener,S=r(918).Buffer,k=r(1580).addAbortSignal,R=r(4297),T=r(7067).debuglog("stream",(function(e){T=e})),O=r(5489),L=r(6617),M=r(5999),I=M.getHighWaterMark,j=M.getDefaultHighWaterMark,P=r(4706),N=P.aggregateTwoErrors,B=P.codes,C=B.ERR_INVALID_ARG_TYPE,D=B.ERR_METHOD_NOT_IMPLEMENTED,U=B.ERR_OUT_OF_RANGE,F=B.ERR_STREAM_PUSH_AFTER_EOF,W=B.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,G=r(1066).validateObject,V=w("kPaused"),H=r(8570).StringDecoder,Y=r(6129);b(Z.prototype,A.prototype),b(Z,A);var q=function(){},z=L.errorOrDestroy;function K(e,t,n){"boolean"!==typeof n&&(n=t instanceof r(6637)),this.objectMode=!(!e||!e.objectMode),n&&(this.objectMode=this.objectMode||!(!e||!e.readableObjectMode)),this.highWaterMark=e?I(this,e,"readableHighWaterMark",n):j(!1),this.buffer=new O,this.length=0,this.pipes=[],this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.constructed=!0,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this[V]=null,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.destroyed=!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.multiAwaitDrain=!1,this.readingMore=!1,this.dataEmitted=!1,this.decoder=null,this.encoding=null,e&&e.encoding&&(this.decoder=new H(e.encoding),this.encoding=e.encoding)}function Z(e){var t=this;if(!(this instanceof Z))return new Z(e);var n=this instanceof r(6637);this._readableState=new K(e,this,n),e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.construct&&(this._construct=e.construct),e.signal&&!n&&k(e.signal,this)),A.call(this,e),L.construct(this,(function(){t._readableState.needReadable&&ne(t,t._readableState)}))}function X(e,t,r,n){T("readableAddChunk",t);var o,i=e._readableState;if(i.objectMode||("string"===typeof t?(r=r||i.defaultEncoding,i.encoding!==r&&(n&&i.encoding?t=S.from(t,r).toString(i.encoding):(t=S.from(t,r),r=""))):t instanceof S?r="":A._isUint8Array(t)?(t=A._uint8ArrayToBuffer(t),r=""):null!=t&&(o=new C("chunk",["string","Buffer","Uint8Array"],t))),o)z(e,o);else if(null===t)i.reading=!1,function(e,t){if(T("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?te(e):(t.needReadable=!1,t.emittedReadable=!0,re(e))}(e,i);else if(i.objectMode||t&&t.length>0)if(n)if(i.endEmitted)z(e,new W);else{if(i.destroyed||i.errored)return!1;J(e,i,t,!0)}else if(i.ended)z(e,new F);else{if(i.destroyed||i.errored)return!1;i.reading=!1,i.decoder&&!r?(t=i.decoder.write(t),i.objectMode||0!==t.length?J(e,i,t,!1):ne(e,i)):J(e,i,t,!1)}else n||(i.reading=!1,ne(e,i));return!i.ended&&(i.length<i.highWaterMark||0===i.length)}function J(e,t,r,n){t.flowing&&0===t.length&&!t.sync&&e.listenerCount("data")>0?(t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null,t.dataEmitted=!0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&te(e)),ne(e,t)}Z.prototype.destroy=L.destroy,Z.prototype._undestroy=L.undestroy,Z.prototype._destroy=function(e,t){t(e)},Z.prototype[_.captureRejectionSymbol]=function(e){this.destroy(e)},Z.prototype.push=function(e,t){return X(this,e,t,!1)},Z.prototype.unshift=function(e,t){return X(this,e,t,!0)},Z.prototype.isPaused=function(){var e=this._readableState;return!0===e[V]||!1===e.flowing},Z.prototype.setEncoding=function(e){var t=new H(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;var r,n=this._readableState.buffer,o="",a=i(n);try{for(a.s();!(r=a.n()).done;){var s=r.value;o+=t.write(s)}}catch(u){a.e(u)}finally{a.f()}return n.clear(),""!==o&&n.push(o),this._readableState.length=o.length,this};var $,Q=1073741824;function ee(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:d(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function te(e){var t=e._readableState;T("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(T("emitReadable",t.flowing),t.emittedReadable=!0,u.nextTick(re,e))}function re(e){var t=e._readableState;T("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||t.errored||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,ue(e)}function ne(e,t){!t.readingMore&&t.constructed&&(t.readingMore=!0,u.nextTick(oe,e,t))}function oe(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(T("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function ie(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!1===t[V]?t.flowing=!0:e.listenerCount("data")>0?e.resume():t.readableListening||(t.flowing=null)}function ae(e){T("readable nexttick read 0"),e.read(0)}function se(e,t){T("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),ue(e),t.flowing&&!t.reading&&e.read(0)}function ue(e){var t=e._readableState;for(T("flow",t.flowing);t.flowing&&null!==e.read(););}function le(e,t){"function"!==typeof e.read&&(e=Z.wrap(e,{objectMode:!0}));var r=function(e,t){return ce.apply(this,arguments)}(e,t);return r.stream=e,r}function ce(){return(ce=s(o().mark((function e(t,r){var n,i,s,u,l;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=function(e){this===t?(n(),n=q):n=e},n=q,t.on("readable",i),u=R(t,{writable:!1},(function(e){s=e?N(s,e):null,n(),n=q})),e.prev=4;case 5:if(null===(l=t.destroyed?null:t.read())){e.next=12;break}return e.next=10,l;case 10:e.next=22;break;case 12:if(!s){e.next=16;break}throw s;case 16:if(null!==s){e.next=20;break}return e.abrupt("return");case 20:return e.next=22,a(new v(i));case 22:e.next=5;break;case 24:e.next=30;break;case 26:throw e.prev=26,e.t0=e.catch(4),s=N(s,e.t0);case 30:return e.prev=30,!s&&!1===(null===r||void 0===r?void 0:r.destroyOnReturn)||void 0!==s&&!t._readableState.autoDestroy?(t.off("readable",i),u()):L.destroyer(t,null),e.finish(30);case 33:case"end":return e.stop()}}),e,null,[[4,26,30,33]])})))).apply(this,arguments)}function fe(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function de(e){var t=e._readableState;T("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,u.nextTick(he,t,e))}function he(e,t){if(T("endReadableNT",e.endEmitted,e.length),!e.errored&&!e.closeEmitted&&!e.endEmitted&&0===e.length)if(e.endEmitted=!0,t.emit("end"),t.writable&&!1===t.allowHalfOpen)u.nextTick(pe,t);else if(e.autoDestroy){var r=t._writableState;(!r||r.autoDestroy&&(r.finished||!1===r.writable))&&t.destroy()}}function pe(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}function ge(){return void 0===$&&($={}),$}Z.prototype.read=function(e){T("read",e),void 0===e?e=NaN:f(e)||(e=h(e,10));var t=this._readableState,r=e;if(e>t.highWaterMark&&(t.highWaterMark=function(e){if(e>Q)throw new U("size","<= 1GiB",e);return e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,++e}(e)),0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return T("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?de(this):te(this),null;if(0===(e=ee(e,t))&&t.ended)return 0===t.length&&de(this),null;var n,o=t.needReadable;if(T("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&T("length less than watermark",o=!0),t.ended||t.reading||t.destroyed||t.errored||!t.constructed)T("reading, ended or constructing",o=!1);else if(o){T("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0);try{this._read(t.highWaterMark)}catch(i){z(this,i)}t.sync=!1,t.reading||(e=ee(r,t))}return null===(n=e>0?fe(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&de(this)),null===n||t.errorEmitted||t.closeEmitted||(t.dataEmitted=!0,this.emit("data",n)),n},Z.prototype._read=function(e){throw new D("_read()")},Z.prototype.pipe=function(e,t){var r=this,n=this._readableState;1===n.pipes.length&&(n.multiAwaitDrain||(n.multiAwaitDrain=!0,n.awaitDrainWriters=new y(n.awaitDrainWriters?[n.awaitDrainWriters]:[]))),n.pipes.push(e),T("pipe count=%d opts=%j",n.pipes.length,t);var o,i=(!t||!1!==t.end)&&e!==u.stdout&&e!==u.stderr?s:g;function a(t,i){T("onunpipe"),t===r&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,function(){T("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),o&&e.removeListener("drain",o);e.removeListener("error",d),e.removeListener("unpipe",a),r.removeListener("end",s),r.removeListener("end",g),r.removeListener("data",f),l=!0,o&&n.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&o()}())}function s(){T("onend"),e.end()}n.endEmitted?u.nextTick(i):r.once("end",i),e.on("unpipe",a);var l=!1;function c(){l||(1===n.pipes.length&&n.pipes[0]===e?(T("false write response, pause",0),n.awaitDrainWriters=e,n.multiAwaitDrain=!1):n.pipes.length>1&&n.pipes.includes(e)&&(T("false write response, pause",n.awaitDrainWriters.size),n.awaitDrainWriters.add(e)),r.pause()),o||(o=function(e,t){return function(){var r=e._readableState;r.awaitDrainWriters===t?(T("pipeOnDrain",1),r.awaitDrainWriters=null):r.multiAwaitDrain&&(T("pipeOnDrain",r.awaitDrainWriters.size),r.awaitDrainWriters.delete(t)),r.awaitDrainWriters&&0!==r.awaitDrainWriters.size||!e.listenerCount("data")||e.resume()}}(r,e),e.on("drain",o))}function f(t){T("ondata");var r=e.write(t);T("dest.write",r),!1===r&&c()}function d(t){if(T("onerror",t),g(),e.removeListener("error",d),0===e.listenerCount("error")){var r=e._writableState||e._readableState;r&&!r.errorEmitted?z(e,t):e.emit("error",t)}}function h(){e.removeListener("finish",p),g()}function p(){T("onfinish"),e.removeListener("close",h),g()}function g(){T("unpipe"),r.unpipe(e)}return r.on("data",f),E(e,"error",d),e.once("close",h),e.once("finish",p),e.emit("pipe",r),!0===e.writableNeedDrain?n.flowing&&c():n.flowing||(T("pipe resume"),r.resume()),e},Z.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipes.length)return this;if(!e){var r=t.pipes;t.pipes=[],this.pause();for(var n=0;n<r.length;n++)r[n].emit("unpipe",this,{hasUnpiped:!1});return this}var o=c(t.pipes,e);return-1===o||(t.pipes.splice(o,1),0===t.pipes.length&&this.pause(),e.emit("unpipe",this,{hasUnpiped:!1})),this},Z.prototype.on=function(e,t){var r=A.prototype.on.call(this,e,t),n=this._readableState;return"data"===e?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"===e&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,T("on readable",n.length,n.reading),n.length?te(this):n.reading||u.nextTick(ae,this))),r},Z.prototype.addListener=Z.prototype.on,Z.prototype.removeListener=function(e,t){var r=A.prototype.removeListener.call(this,e,t);return"readable"===e&&u.nextTick(ie,this),r},Z.prototype.off=Z.prototype.removeListener,Z.prototype.removeAllListeners=function(e){var t=A.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||u.nextTick(ie,this),t},Z.prototype.resume=function(){var e=this._readableState;return e.flowing||(T("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,u.nextTick(se,e,t))}(this,e)),e[V]=!1,this},Z.prototype.pause=function(){return T("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(T("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[V]=!0,this},Z.prototype.wrap=function(e){var t=this,r=!1;e.on("data",(function(n){!t.push(n)&&e.pause&&(r=!0,e.pause())})),e.on("end",(function(){t.push(null)})),e.on("error",(function(e){z(t,e)})),e.on("close",(function(){t.destroy()})),e.on("destroy",(function(){t.destroy()})),this._read=function(){r&&e.resume&&(r=!1,e.resume())};for(var n=g(e),o=1;o<n.length;o++){var i=n[o];void 0===this[i]&&"function"===typeof e[i]&&(this[i]=e[i].bind(e))}return this},Z.prototype[m]=function(){return le(this)},Z.prototype.iterator=function(e){return void 0!==e&&G(e,"options"),le(this,e)},p(Z.prototype,{readable:{__proto__:null,get:function(){var e=this._readableState;return!!e&&!1!==e.readable&&!e.destroyed&&!e.errorEmitted&&!e.endEmitted},set:function(e){this._readableState&&(this._readableState.readable=!!e)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._readableState.readable||!this._readableState.destroyed&&!this._readableState.errored||this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}},readableLength:{__proto__:null,enumerable:!1,get:function(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get:function(){return!!this._readableState&&this._readableState.objectMode}},readableEncoding:{__proto__:null,enumerable:!1,get:function(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get:function(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get:function(){return!!this._readableState&&this._readableState.closed}},destroyed:{__proto__:null,enumerable:!1,get:function(){return!!this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}},readableEnded:{__proto__:null,enumerable:!1,get:function(){return!!this._readableState&&this._readableState.endEmitted}}}),p(K.prototype,{pipesCount:{__proto__:null,get:function(){return this.pipes.length}},paused:{__proto__:null,get:function(){return!1!==this[V]},set:function(e){this[V]=!!e}}}),Z._fromList=fe,Z.from=function(e,t){return Y(Z,e,t)},Z.fromWeb=function(e,t){return ge().newStreamReadableFromReadableStream(e,t)},Z.toWeb=function(e,t){return ge().newReadableStreamFromStreamReadable(e,t)},Z.wrap=function(e,t){var r,o;return new Z(n(n({objectMode:null===(r=null!==(o=e.readableObjectMode)&&void 0!==o?o:e.objectMode)||void 0===r||r},t),{},{destroy:function(t,r){L.destroyer(e,t),r(t)}})).wrap(e)}},5999:function(e,t,r){"use strict";var n=r(1070),o=n.MathFloor,i=n.NumberIsInteger,a=r(4706).codes.ERR_INVALID_ARG_VALUE;function s(e){return e?16:16384}e.exports={getHighWaterMark:function(e,t,r,n){var u=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,n,r);if(null!=u){if(!i(u)||u<0){var l=n?"options.".concat(r):"options.highWaterMark";throw new a(l,u)}return o(u)}return s(e.objectMode)},getDefaultHighWaterMark:s}},3575:function(e,t,r){"use strict";var n=r(2122).default,o=r(1070),i=o.ObjectSetPrototypeOf,a=o.Symbol;e.exports=f;var s=r(4706).codes.ERR_METHOD_NOT_IMPLEMENTED,u=r(6637),l=r(5999).getHighWaterMark;i(f.prototype,u.prototype),i(f,u);var c=a("kCallback");function f(e){if(!(this instanceof f))return new f(e);var t=e?l(this,e,"readableHighWaterMark",!0):null;0===t&&(e=n(n({},e),{},{highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0})),u.call(this,e),this._readableState.sync=!1,this[c]=null,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",h)}function d(e){var t=this;"function"!==typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush((function(r,n){r?e?e(r):t.destroy(r):(null!=n&&t.push(n),t.push(null),e&&e())}))}function h(){this._final!==d&&d.call(this)}f.prototype._final=d,f.prototype._transform=function(e,t,r){throw new s("_transform()")},f.prototype._write=function(e,t,r){var n=this,o=this._readableState,i=this._writableState,a=o.length;this._transform(e,t,(function(e,t){e?r(e):(null!=t&&n.push(t),i.ended||a===o.length||o.length<o.highWaterMark?r():n[c]=r)}))},f.prototype._read=function(){if(this[c]){var e=this[c];this[c]=null,e()}}},6767:function(e,t,r){"use strict";var n=r(1070),o=n.Symbol,i=n.SymbolAsyncIterator,a=n.SymbolIterator,s=o("kDestroyed"),u=o("kIsErrored"),l=o("kIsReadable"),c=o("kIsDisturbed");function f(e){var t,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(!e||"function"!==typeof e.pipe||"function"!==typeof e.on||r&&("function"!==typeof e.pause||"function"!==typeof e.resume)||e._writableState&&!1===(null===(t=e._readableState)||void 0===t?void 0:t.readable)||e._writableState&&!e._readableState)}function d(e){var t;return!(!e||"function"!==typeof e.write||"function"!==typeof e.on||e._readableState&&!1===(null===(t=e._writableState)||void 0===t?void 0:t.writable))}function h(e){return e&&(e._readableState||e._writableState||"function"===typeof e.write&&"function"===typeof e.on||"function"===typeof e.pipe&&"function"===typeof e.on)}function p(e){if(!h(e))return null;var t=e._writableState,r=e._readableState,n=t||r;return!!(e.destroyed||e[s]||null!==n&&void 0!==n&&n.destroyed)}function g(e){if(!d(e))return null;if(!0===e.writableEnded)return!0;var t=e._writableState;return(null===t||void 0===t||!t.errored)&&("boolean"!==typeof(null===t||void 0===t?void 0:t.ended)?null:t.ended)}function b(e,t){if(!f(e))return null;var r=e._readableState;return(null===r||void 0===r||!r.errored)&&("boolean"!==typeof(null===r||void 0===r?void 0:r.endEmitted)?null:!!(r.endEmitted||!1===t&&!0===r.ended&&0===r.length))}function v(e){return e&&null!=e[l]?e[l]:"boolean"!==typeof(null===e||void 0===e?void 0:e.readable)?null:!p(e)&&(f(e)&&e.readable&&!b(e))}function y(e){return"boolean"!==typeof(null===e||void 0===e?void 0:e.writable)?null:!p(e)&&(d(e)&&e.writable&&!g(e))}function m(e){return"boolean"===typeof e._closed&&"boolean"===typeof e._defaultKeepAlive&&"boolean"===typeof e._removedConnection&&"boolean"===typeof e._removedContLen}function w(e){return"boolean"===typeof e._sent100&&m(e)}e.exports={kDestroyed:s,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[c])&&void 0!==t?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:c,isErrored:function(e){var t,r,n,o,i,a,s,l,c,f;return!(!e||!(null!==(t=null!==(r=null!==(n=null!==(o=null!==(i=null!==(a=e[u])&&void 0!==a?a:e.readableErrored)&&void 0!==i?i:e.writableErrored)&&void 0!==o?o:null===(s=e._readableState)||void 0===s?void 0:s.errorEmitted)&&void 0!==n?n:null===(l=e._writableState)||void 0===l?void 0:l.errorEmitted)&&void 0!==r?r:null===(c=e._readableState)||void 0===c?void 0:c.errored)&&void 0!==t?t:null===(f=e._writableState)||void 0===f?void 0:f.errored))},kIsErrored:u,isReadable:v,kIsReadable:l,isClosed:function(e){if(!h(e))return null;if("boolean"===typeof e.closed)return e.closed;var t=e._writableState,r=e._readableState;return"boolean"===typeof(null===t||void 0===t?void 0:t.closed)||"boolean"===typeof(null===r||void 0===r?void 0:r.closed)?(null===t||void 0===t?void 0:t.closed)||(null===r||void 0===r?void 0:r.closed):"boolean"===typeof e._closed&&m(e)?e._closed:null},isDestroyed:p,isDuplexNodeStream:function(e){return!(!e||"function"!==typeof e.pipe||!e._readableState||"function"!==typeof e.on||"function"!==typeof e.write)},isFinished:function(e,t){return h(e)?!!p(e)||(!1===(null===t||void 0===t?void 0:t.readable)||!v(e))&&(!1===(null===t||void 0===t?void 0:t.writable)||!y(e)):null},isIterable:function(e,t){return null!=e&&(!0===t?"function"===typeof e[i]:!1===t?"function"===typeof e[a]:"function"===typeof e[i]||"function"===typeof e[a])},isReadableNodeStream:f,isReadableEnded:function(e){if(!f(e))return null;if(!0===e.readableEnded)return!0;var t=e._readableState;return!(!t||t.errored)&&("boolean"!==typeof(null===t||void 0===t?void 0:t.ended)?null:t.ended)},isReadableFinished:b,isReadableErrored:function(e){var t,r;return h(e)?e.readableErrored?e.readableErrored:null!==(t=null===(r=e._readableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isNodeStream:h,isWritable:y,isWritableNodeStream:d,isWritableEnded:g,isWritableFinished:function(e,t){if(!d(e))return null;if(!0===e.writableFinished)return!0;var r=e._writableState;return(null===r||void 0===r||!r.errored)&&("boolean"!==typeof(null===r||void 0===r?void 0:r.finished)?null:!!(r.finished||!1===t&&!0===r.ended&&0===r.length))},isWritableErrored:function(e){var t,r;return h(e)?e.writableErrored?e.writableErrored:null!==(t=null===(r=e._writableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isServerRequest:function(e){var t;return"boolean"===typeof e._consuming&&"boolean"===typeof e._dumped&&void 0===(null===(t=e.req)||void 0===t?void 0:t.upgradeOrConnect)},isServerResponse:w,willEmitClose:function(e){if(!h(e))return null;var t=e._writableState,r=e._readableState,n=t||r;return!n&&w(e)||!!(n&&n.autoDestroy&&n.emitClose&&!1===n.closed)}}},3613:function(e,t,r){var n=r(7490),o=r(1070),i=o.ArrayPrototypeSlice,a=o.Error,s=o.FunctionPrototypeSymbolHasInstance,u=o.ObjectDefineProperty,l=o.ObjectDefineProperties,c=o.ObjectSetPrototypeOf,f=o.StringPrototypeToLowerCase,d=o.Symbol,h=o.SymbolHasInstance;e.exports=C,C.WritableState=N;var p=r(8041).EventEmitter,g=r(4647).Stream,b=r(918).Buffer,v=r(6617),y=r(1580).addAbortSignal,m=r(5999),w=m.getHighWaterMark,_=m.getDefaultHighWaterMark,x=r(4706).codes,A=x.ERR_INVALID_ARG_TYPE,E=x.ERR_METHOD_NOT_IMPLEMENTED,S=x.ERR_MULTIPLE_CALLBACK,k=x.ERR_STREAM_CANNOT_PIPE,R=x.ERR_STREAM_DESTROYED,T=x.ERR_STREAM_ALREADY_FINISHED,O=x.ERR_STREAM_NULL_VALUES,L=x.ERR_STREAM_WRITE_AFTER_END,M=x.ERR_UNKNOWN_ENCODING,I=v.errorOrDestroy;function j(){}c(C.prototype,g.prototype),c(C,g);var P=d("kOnFinished");function N(e,t,n){"boolean"!==typeof n&&(n=t instanceof r(6637)),this.objectMode=!(!e||!e.objectMode),n&&(this.objectMode=this.objectMode||!(!e||!e.writableObjectMode)),this.highWaterMark=e?w(this,e,"writableHighWaterMark",n):_(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!(!e||!1!==e.decodeStrings);this.decodeStrings=!o,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=W.bind(void 0,t),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,B(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[P]=[]}function B(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function C(e){var t=this,n=this instanceof r(6637);if(!n&&!s(C,this))return new C(e);this._writableState=new N(e,this,n),e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final),"function"===typeof e.construct&&(this._construct=e.construct),e.signal&&y(e.signal,this)),g.call(this,e),v.construct(this,(function(){var e=t._writableState;e.writing||Y(t,e),K(t,e)}))}function D(e,t,r,o){var i,a=e._writableState;if("function"===typeof r)o=r,r=a.defaultEncoding;else{if(r){if("buffer"!==r&&!b.isEncoding(r))throw new M(r)}else r=a.defaultEncoding;"function"!==typeof o&&(o=j)}if(null===t)throw new O;if(!a.objectMode)if("string"===typeof t)!1!==a.decodeStrings&&(t=b.from(t,r),r="buffer");else if(t instanceof b)r="buffer";else{if(!g._isUint8Array(t))throw new A("chunk",["string","Buffer","Uint8Array"],t);t=g._uint8ArrayToBuffer(t),r="buffer"}return a.ending?i=new L:a.destroyed&&(i=new R("write")),i?(n.nextTick(o,i),I(e,i,!0),i):(a.pendingcb++,function(e,t,r,n,o){var i=t.objectMode?1:r.length;t.length+=i;var a=t.length<t.highWaterMark;a||(t.needDrain=!0);t.writing||t.corked||t.errored||!t.constructed?(t.buffered.push({chunk:r,encoding:n,callback:o}),t.allBuffers&&"buffer"!==n&&(t.allBuffers=!1),t.allNoop&&o!==j&&(t.allNoop=!1)):(t.writelen=i,t.writecb=o,t.writing=!0,t.sync=!0,e._write(r,n,t.onwrite),t.sync=!1);return a&&!t.errored&&!t.destroyed}(e,a,t,r,o))}function U(e,t,r,n,o,i,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new R("write")):r?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function F(e,t,r,n){--t.pendingcb,n(r),H(t),I(e,r)}function W(e,t){var r=e._writableState,o=r.sync,i=r.writecb;"function"===typeof i?(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t?(t.stack,r.errored||(r.errored=t),e._readableState&&!e._readableState.errored&&(e._readableState.errored=t),o?n.nextTick(F,e,r,t,i):F(e,r,t,i)):(r.buffered.length>r.bufferedIndex&&Y(e,r),o?null!==r.afterWriteTickInfo&&r.afterWriteTickInfo.cb===i?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:i,stream:e,state:r},n.nextTick(G,r.afterWriteTickInfo)):V(e,r,1,i))):I(e,new S)}function G(e){var t=e.stream,r=e.state,n=e.count,o=e.cb;return r.afterWriteTickInfo=null,V(t,r,n,o)}function V(e,t,r,n){for(!t.ending&&!e.destroyed&&0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"));r-- >0;)t.pendingcb--,n();t.destroyed&&H(t),K(e,t)}function H(e){if(!e.writing){for(var t=e.bufferedIndex;t<e.buffered.length;++t){var r,n=e.buffered[t],o=n.chunk,i=n.callback,a=e.objectMode?1:o.length;e.length-=a,i(null!==(r=e.errored)&&void 0!==r?r:new R("write"))}for(var s=e[P].splice(0),u=0;u<s.length;u++){var l;s[u](null!==(l=e.errored)&&void 0!==l?l:new R("end"))}B(e)}}function Y(e,t){if(!(t.corked||t.bufferProcessing||t.destroyed)&&t.constructed){var r=t.buffered,n=t.bufferedIndex,o=t.objectMode,a=r.length-n;if(a){var s=n;if(t.bufferProcessing=!0,a>1&&e._writev){t.pendingcb-=a-1;var u=t.allNoop?j:function(e){for(var t=s;t<r.length;++t)r[t].callback(e)},l=t.allNoop&&0===s?r:i(r,s);l.allBuffers=t.allBuffers,U(e,t,!0,t.length,l,"",u),B(t)}else{do{var c=r[s],f=c.chunk,d=c.encoding,h=c.callback;r[s++]=null,U(e,t,!1,o?1:f.length,f,d,h)}while(s<r.length&&!t.writing);s===r.length?B(t):s>256?(r.splice(0,s),t.bufferedIndex=0):t.bufferedIndex=s}t.bufferProcessing=!1}}}function q(e){return e.ending&&!e.destroyed&&e.constructed&&0===e.length&&!e.errored&&0===e.buffered.length&&!e.finished&&!e.writing&&!e.errorEmitted&&!e.closeEmitted}function z(e,t){t.prefinished||t.finalCalled||("function"!==typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.finalCalled=!0,function(e,t){var r=!1;function o(o){if(r)I(e,null!==o&&void 0!==o?o:S());else if(r=!0,t.pendingcb--,o){for(var i=t[P].splice(0),a=0;a<i.length;a++)i[a](o);I(e,o,t.sync)}else q(t)&&(t.prefinished=!0,e.emit("prefinish"),t.pendingcb++,n.nextTick(Z,e,t))}t.sync=!0,t.pendingcb++;try{e._final(o)}catch(i){o(i)}t.sync=!1}(e,t)))}function K(e,t,r){q(t)&&(z(e,t),0===t.pendingcb&&(r?(t.pendingcb++,n.nextTick((function(e,t){q(t)?Z(e,t):t.pendingcb--}),e,t)):q(t)&&(t.pendingcb++,Z(e,t))))}function Z(e,t){t.pendingcb--,t.finished=!0;for(var r=t[P].splice(0),n=0;n<r.length;n++)r[n]();if(e.emit("finish"),t.autoDestroy){var o=e._readableState;(!o||o.autoDestroy&&(o.endEmitted||!1===o.readable))&&e.destroy()}}N.prototype.getBuffer=function(){return i(this.buffered,this.bufferedIndex)},u(N.prototype,"bufferedRequestCount",{__proto__:null,get:function(){return this.buffered.length-this.bufferedIndex}}),u(C,h,{__proto__:null,value:function(e){return!!s(this,e)||this===C&&(e&&e._writableState instanceof N)}}),C.prototype.pipe=function(){I(this,new k)},C.prototype.write=function(e,t,r){return!0===D(this,e,t,r)},C.prototype.cork=function(){this._writableState.corked++},C.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||Y(this,e))},C.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=f(e)),!b.isEncoding(e))throw new M(e);return this._writableState.defaultEncoding=e,this},C.prototype._write=function(e,t,r){if(!this._writev)throw new E("_write()");this._writev([{chunk:e,encoding:t}],r)},C.prototype._writev=null,C.prototype.end=function(e,t,r){var o,i=this._writableState;if("function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e){var s=D(this,e,t);s instanceof a&&(o=s)}return i.corked&&(i.corked=1,this.uncork()),o||(i.errored||i.ending?i.finished?o=new T("end"):i.destroyed&&(o=new R("end")):(i.ending=!0,K(this,i,!0),i.ended=!0)),"function"===typeof r&&(o||i.finished?n.nextTick(r,o):i[P].push(r)),this},l(C.prototype,{closed:{__proto__:null,get:function(){return!!this._writableState&&this._writableState.closed}},destroyed:{__proto__:null,get:function(){return!!this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}},writable:{__proto__:null,get:function(){var e=this._writableState;return!!e&&!1!==e.writable&&!e.destroyed&&!e.errored&&!e.ending&&!e.ended},set:function(e){this._writableState&&(this._writableState.writable=!!e)}},writableFinished:{__proto__:null,get:function(){return!!this._writableState&&this._writableState.finished}},writableObjectMode:{__proto__:null,get:function(){return!!this._writableState&&this._writableState.objectMode}},writableBuffer:{__proto__:null,get:function(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get:function(){return!!this._writableState&&this._writableState.ending}},writableNeedDrain:{__proto__:null,get:function(){var e=this._writableState;return!!e&&(!e.destroyed&&!e.ending&&e.needDrain)}},writableHighWaterMark:{__proto__:null,get:function(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get:function(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get:function(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get:function(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._writableState.writable||!this._writableState.destroyed&&!this._writableState.errored||this._writableState.finished)}}});var X,J=v.destroy;function $(){return void 0===X&&(X={}),X}C.prototype.destroy=function(e,t){var r=this._writableState;return!r.destroyed&&(r.bufferedIndex<r.buffered.length||r[P].length)&&n.nextTick(H,r),J.call(this,e,t),this},C.prototype._undestroy=v.undestroy,C.prototype._destroy=function(e,t){t(e)},C.prototype[p.captureRejectionSymbol]=function(e){this.destroy(e)},C.fromWeb=function(e,t){return $().newStreamWritableFromWritableStream(e,t)},C.toWeb=function(e){return $().newWritableStreamFromStreamWritable(e)}},1066:function(e,t,r){"use strict";var n=r(1070),o=n.ArrayIsArray,i=n.ArrayPrototypeIncludes,a=n.ArrayPrototypeJoin,s=n.ArrayPrototypeMap,u=n.NumberIsInteger,l=n.NumberIsNaN,c=n.NumberMAX_SAFE_INTEGER,f=n.NumberMIN_SAFE_INTEGER,d=n.NumberParseInt,h=n.ObjectPrototypeHasOwnProperty,p=n.RegExpPrototypeExec,g=n.String,b=n.StringPrototypeToUpperCase,v=n.StringPrototypeTrim,y=r(4706),m=y.hideStackFrames,w=y.codes,_=w.ERR_SOCKET_BAD_PORT,x=w.ERR_INVALID_ARG_TYPE,A=w.ERR_INVALID_ARG_VALUE,E=w.ERR_OUT_OF_RANGE,S=w.ERR_UNKNOWN_SIGNAL,k=r(7067).normalizeEncoding,R=r(7067).types,T=R.isAsyncFunction,O=R.isArrayBufferView,L={};var M=/^[0-7]+$/,I="must be a 32-bit unsigned integer or an octal string";var j=m((function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:c;if("number"!==typeof e)throw new x(t,"number",e);if(!u(e))throw new E(t,"an integer",e);if(e<r||e>n)throw new E(t,">= ".concat(r," && <= ").concat(n),e)})),P=m((function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-2147483648,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2147483647;if("number"!==typeof e)throw new x(t,"number",e);if(!u(e))throw new E(t,"an integer",e);if(e<r||e>n)throw new E(t,">= ".concat(r," && <= ").concat(n),e)})),N=m((function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("number"!==typeof e)throw new x(t,"number",e);if(!u(e))throw new E(t,"an integer",e);var n=r?1:0,o=4294967295;if(e<n||e>o)throw new E(t,">= ".concat(n," && <= ").concat(o),e)}));function B(e,t){if("string"!==typeof e)throw new x(t,"string",e)}var C=m((function(e,t,r){if(!i(r,e)){var n=a(s(r,(function(e){return"string"===typeof e?"'".concat(e,"'"):g(e)})),", ");throw new A(t,e,"must be one of: "+n)}}));function D(e,t,r){return null!=e&&h(e,t)?e[t]:r}var U=m((function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=D(r,"allowArray",!1),i=D(r,"allowFunction",!1);if(!D(r,"nullable",!1)&&null===e||!n&&o(e)||"object"!==typeof e&&(!i||"function"!==typeof e))throw new x(t,"Object",e)})),F=m((function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!o(e))throw new x(t,"Array",e);if(e.length<r){var n="must be longer than ".concat(r);throw new A(t,e,n)}}));var W=m((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"buffer";if(!O(e))throw new x(t,["Buffer","TypedArray","DataView"],e)}));var G=m((function(e,t){if(void 0!==e&&(null===e||"object"!==typeof e||!("aborted"in e)))throw new x(t,"AbortSignal",e)})),V=m((function(e,t){if("function"!==typeof e)throw new x(t,"Function",e)})),H=m((function(e,t){if("function"!==typeof e||T(e))throw new x(t,"Function",e)})),Y=m((function(e,t){if(void 0!==e)throw new x(t,"undefined",e)}));e.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,t,r){if("undefined"===typeof e&&(e=r),"string"===typeof e){if(null===p(M,e))throw new A(t,e,I);e=d(e,8)}return N(e,t),e},validateArray:F,validateBoolean:function(e,t){if("boolean"!==typeof e)throw new x(t,"boolean",e)},validateBuffer:W,validateEncoding:function(e,t){var r=k(t),n=e.length;if("hex"===r&&n%2!==0)throw new A("encoding",t,"is invalid for data of length ".concat(n))},validateFunction:V,validateInt32:P,validateInteger:j,validateNumber:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;if("number"!==typeof e)throw new x(t,"number",e);if(null!=r&&e<r||null!=n&&e>n||(null!=r||null!=n)&&l(e))throw new E(t,"".concat(null!=r?">= ".concat(r):"").concat(null!=r&&null!=n?" && ":"").concat(null!=n?"<= ".concat(n):""),e)},validateObject:U,validateOneOf:C,validatePlainFunction:H,validatePort:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Port",r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if("number"!==typeof e&&"string"!==typeof e||"string"===typeof e&&0===v(e).length||+e!==+e>>>0||e>65535||0===e&&!r)throw new _(t,e,r);return 0|e},validateSignalName:function(e){if(B(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"signal"),void 0===L[e]){if(void 0!==L[b(e)])throw new S(e+" (signals must use all capital letters)");throw new S(e)}},validateString:B,validateUint32:N,validateUndefined:Y,validateUnion:function(e,t,r){if(!i(r,e))throw new x(t,"('".concat(a(r,"|"),"')"),e)},validateAbortSignal:G}},3284:function(e,t,r){"use strict";var n=r(8943),o=r(7511),i=n.Readable.destroy;e.exports=n.Readable,e.exports._uint8ArrayToBuffer=n._uint8ArrayToBuffer,e.exports._isUint8Array=n._isUint8Array,e.exports.isDisturbed=n.isDisturbed,e.exports.isErrored=n.isErrored,e.exports.isReadable=n.isReadable,e.exports.Readable=n.Readable,e.exports.Writable=n.Writable,e.exports.Duplex=n.Duplex,e.exports.Transform=n.Transform,e.exports.PassThrough=n.PassThrough,e.exports.addAbortSignal=n.addAbortSignal,e.exports.finished=n.finished,e.exports.destroy=n.destroy,e.exports.destroy=i,e.exports.pipeline=n.pipeline,e.exports.compose=n.compose,Object.defineProperty(n,"promises",{configurable:!0,enumerable:!0,get:function(){return o}}),e.exports.Stream=n.Stream,e.exports.default=e.exports},4706:function(e,t,r){"use strict";var n=r(4704).default,o=r(3496).default,i=r(6690).default,a=r(9728).default,s=r(1655).default,u=r(6389).default,l=r(861).default,c=r(7067),f=c.format,d=c.inspect,h=c.AggregateError,p=globalThis.AggregateError||h,g=Symbol("kIsNodeError"),b=["string","function","number","object","Function","Object","boolean","bigint","symbol"],v=/^([A-Z][a-z0-9]*)+$/,y="__node_internal_",m={};function w(e,t){if(!e)throw new m.ERR_INTERNAL_ASSERTION(t)}function _(e){for(var t="",r=e.length,n="-"===e[0]?1:0;r>=n+4;r-=3)t="_".concat(e.slice(r-3,r)).concat(t);return"".concat(e.slice(0,r)).concat(t)}function x(e,t,r){r||(r=Error);var n=function(r){s(o,r);var n=u(o);function o(){i(this,o);for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];return n.call(this,function(e,t,r){if("function"===typeof t)return w(t.length<=r.length,"Code: ".concat(e,"; The provided arguments length (").concat(r.length,") does not match the required ones (").concat(t.length,").")),t.apply(void 0,l(r));var n=(t.match(/%[dfijoOs]/g)||[]).length;return w(n===r.length,"Code: ".concat(e,"; The provided arguments length (").concat(r.length,") does not match the required ones (").concat(n,").")),0===r.length?t:f.apply(void 0,[t].concat(l(r)))}(e,t,a))}return a(o,[{key:"toString",value:function(){return"".concat(this.name," [").concat(e,"]: ").concat(this.message)}}]),o}(r);Object.defineProperties(n.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value:function(){return"".concat(this.name," [").concat(e,"]: ").concat(this.message)},writable:!0,enumerable:!1,configurable:!0}}),n.prototype.code=e,n.prototype[g]=!0,m[e]=n}function A(e){var t=y+e.name;return Object.defineProperty(e,"name",{value:t}),e}var E=function(e){s(r,e);var t=u(r);function r(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"The operation was aborted",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(i(this,r),void 0!==o&&"object"!==typeof o)throw new m.ERR_INVALID_ARG_TYPE("options","Object",o);return(e=t.call(this,n,o)).code="ABORT_ERR",e.name="AbortError",e}return a(r)}(o(Error));x("ERR_ASSERTION","%s",Error),x("ERR_INVALID_ARG_TYPE",(function(e,t,r){w("string"===typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);var o="The ";e.endsWith(" argument")?o+="".concat(e," "):o+='"'.concat(e,'" ').concat(e.includes(".")?"property":"argument"," "),o+="must be ";var i,a=[],s=[],u=[],l=n(t);try{for(l.s();!(i=l.n()).done;){var c=i.value;w("string"===typeof c,"All expected entries have to be of type string"),b.includes(c)?a.push(c.toLowerCase()):v.test(c)?s.push(c):(w("object"!==c,'The value "object" should be written as "Object"'),u.push(c))}}catch(x){l.e(x)}finally{l.f()}if(s.length>0){var f=a.indexOf("object");-1!==f&&(a.splice(a,f,1),s.push("Object"))}if(a.length>0){switch(a.length){case 1:o+="of type ".concat(a[0]);break;case 2:o+="one of type ".concat(a[0]," or ").concat(a[1]);break;default:var h=a.pop();o+="one of type ".concat(a.join(", "),", or ").concat(h)}(s.length>0||u.length>0)&&(o+=" or ")}if(s.length>0){switch(s.length){case 1:o+="an instance of ".concat(s[0]);break;case 2:o+="an instance of ".concat(s[0]," or ").concat(s[1]);break;default:var p=s.pop();o+="an instance of ".concat(s.join(", "),", or ").concat(p)}u.length>0&&(o+=" or ")}switch(u.length){case 0:break;case 1:u[0].toLowerCase()!==u[0]&&(o+="an "),o+="".concat(u[0]);break;case 2:o+="one of ".concat(u[0]," or ").concat(u[1]);break;default:var g=u.pop();o+="one of ".concat(u.join(", "),", or ").concat(g)}if(null==r)o+=". Received ".concat(r);else if("function"===typeof r&&r.name)o+=". Received function ".concat(r.name);else if("object"===typeof r){var y;if(null!==(y=r.constructor)&&void 0!==y&&y.name)o+=". Received an instance of ".concat(r.constructor.name);else{var m=d(r,{depth:-1});o+=". Received ".concat(m)}}else{var _=d(r,{colors:!1});_.length>25&&(_="".concat(_.slice(0,25),"...")),o+=". Received type ".concat(typeof r," (").concat(_,")")}return o}),TypeError),x("ERR_INVALID_ARG_VALUE",(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid",n=d(t);n.length>128&&(n=n.slice(0,128)+"...");var o=e.includes(".")?"property":"argument";return"The ".concat(o," '").concat(e,"' ").concat(r,". Received ").concat(n)}),TypeError),x("ERR_INVALID_RETURN_VALUE",(function(e,t,r){var n,o=null!==r&&void 0!==r&&null!==(n=r.constructor)&&void 0!==n&&n.name?"instance of ".concat(r.constructor.name):"type ".concat(typeof r);return"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(o,".")}),TypeError),x("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n;w(t.length>0,"At least one arg needs to be specified");var o=t.length;switch(t=(Array.isArray(t)?t:[t]).map((function(e){return'"'.concat(e,'"')})).join(" or "),o){case 1:n+="The ".concat(t[0]," argument");break;case 2:n+="The ".concat(t[0]," and ").concat(t[1]," arguments");break;default:var i=t.pop();n+="The ".concat(t.join(", "),", and ").concat(i," arguments")}return"".concat(n," must be specified")}),TypeError),x("ERR_OUT_OF_RANGE",(function(e,t,r){var n;return w(t,'Missing "range" argument'),Number.isInteger(r)&&Math.abs(r)>Math.pow(2,32)?n=_(String(r)):"bigint"===typeof r?(n=String(r),(r>Math.pow(2n,32n)||r<-Math.pow(2n,32n))&&(n=_(n)),n+="n"):n=d(r),'The value of "'.concat(e,'" is out of range. It must be ').concat(t,". Received ").concat(n)}),RangeError),x("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),x("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),x("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),x("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),x("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),x("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),x("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),x("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),x("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),x("ERR_STREAM_WRITE_AFTER_END","write after end",Error),x("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),e.exports={AbortError:E,aggregateTwoErrors:A((function(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;var r=new p([t,e],t.message);return r.code=t.code,r}return e||t})),hideStackFrames:A,codes:m}},1070:function(e){"use strict";e.exports={ArrayIsArray:function(e){return Array.isArray(e)},ArrayPrototypeIncludes:function(e,t){return e.includes(t)},ArrayPrototypeIndexOf:function(e,t){return e.indexOf(t)},ArrayPrototypeJoin:function(e,t){return e.join(t)},ArrayPrototypeMap:function(e,t){return e.map(t)},ArrayPrototypePop:function(e,t){return e.pop(t)},ArrayPrototypePush:function(e,t){return e.push(t)},ArrayPrototypeSlice:function(e,t,r){return e.slice(t,r)},Error:Error,FunctionPrototypeCall:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return e.call.apply(e,[t].concat(n))},FunctionPrototypeSymbolHasInstance:function(e,t){return Function.prototype[Symbol.hasInstance].call(e,t)},MathFloor:Math.floor,Number:Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:function(e,t){return Object.defineProperties(e,t)},ObjectDefineProperty:function(e,t,r){return Object.defineProperty(e,t,r)},ObjectGetOwnPropertyDescriptor:function(e,t){return Object.getOwnPropertyDescriptor(e,t)},ObjectKeys:function(e){return Object.keys(e)},ObjectSetPrototypeOf:function(e,t){return Object.setPrototypeOf(e,t)},Promise:Promise,PromisePrototypeCatch:function(e,t){return e.catch(t)},PromisePrototypeThen:function(e,t,r){return e.then(t,r)},PromiseReject:function(e){return Promise.reject(e)},ReflectApply:Reflect.apply,RegExpPrototypeTest:function(e,t){return e.test(t)},SafeSet:Set,String:String,StringPrototypeSlice:function(e,t,r){return e.slice(t,r)},StringPrototypeToLowerCase:function(e){return e.toLowerCase()},StringPrototypeToUpperCase:function(e){return e.toUpperCase()},StringPrototypeTrim:function(e){return e.trim()},Symbol:Symbol,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,TypedArrayPrototypeSet:function(e,t,r){return e.set(t,r)},Uint8Array:Uint8Array}},7067:function(e,t,r){"use strict";var n=r(9728).default,o=r(6690).default,i=r(1655).default,a=r(6389).default,s=r(3496).default,u=r(7061).default,l=r(7156).default,c=r(918),f=Object.getPrototypeOf(l(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))).constructor,d=globalThis.Blob||c.Blob,h="undefined"!==typeof d?function(e){return e instanceof d}:function(e){return!1},p=function(e){i(r,e);var t=a(r);function r(e){var n;if(o(this,r),!Array.isArray(e))throw new TypeError("Expected input to be an Array, got ".concat(typeof e));for(var i="",a=0;a<e.length;a++)i+=" ".concat(e[a].stack,"\n");return(n=t.call(this,i)).name="AggregateError",n.errors=e,n}return n(r)}(s(Error));e.exports={AggregateError:p,kEmptyObject:Object.freeze({}),once:function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e.apply(this,n)}}},createDeferredPromise:function(){var e,t;return{promise:new Promise((function(r,n){e=r,t=n})),resolve:e,reject:t}},promisify:function(e){return new Promise((function(t,r){e((function(e){if(e)return r(e);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return t.apply(void 0,o)}))}))},debuglog:function(){return function(){}},format:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e.replace(/%([sdifj])/g,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0];var o=t[1],i=r.shift();if("f"===o)return i.toFixed(6);if("j"===o)return JSON.stringify(i);if("s"===o&&"object"===typeof i){var a=i.constructor!==Object?i.constructor.name:"";return"".concat(a," {}").trim()}return i.toString()}))},inspect:function(e){switch(typeof e){case"string":if(e.includes("'")){if(!e.includes('"'))return'"'.concat(e,'"');if(!e.includes("`")&&!e.includes("${"))return"`".concat(e,"`")}return"'".concat(e,"'");case"number":return isNaN(e)?"NaN":Object.is(e,-0)?String(e):e;case"bigint":return"".concat(String(e),"n");case"boolean":case"undefined":return String(e);case"object":return"{}"}},types:{isAsyncFunction:function(e){return e instanceof f},isArrayBufferView:function(e){return ArrayBuffer.isView(e)}},isBlob:h},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},8943:function(e,t,r){var n=r(4704).default,o=r(918).Buffer,i=r(1070),a=i.ObjectDefineProperty,s=i.ObjectKeys,u=i.ReflectApply,l=r(7067).promisify.custom,c=r(3668),f=c.streamReturningOperators,d=c.promiseReturningOperators,h=r(4706).codes.ERR_ILLEGAL_CONSTRUCTOR,p=r(8457),g=r(6545).pipeline,b=r(6617).destroyer,v=r(4297),y=r(7511),m=r(6767),w=e.exports=r(4647).Stream;w.isDisturbed=m.isDisturbed,w.isErrored=m.isErrored,w.isReadable=m.isReadable,w.Readable=r(8581);var _,x=n(s(f));try{var A=function(){var e=_.value,t=f[e];function r(){if(this instanceof r?this.constructor:void 0)throw h();for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return w.Readable.from(u(t,this,n))}a(r,"name",{__proto__:null,value:t.name}),a(r,"length",{__proto__:null,value:t.length}),a(w.Readable.prototype,e,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})};for(x.s();!(_=x.n()).done;)A()}catch(T){x.e(T)}finally{x.f()}var E,S=n(s(d));try{var k=function(){var e=E.value,t=d[e];function r(){if(this instanceof r?this.constructor:void 0)throw h();for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return u(t,this,n)}a(r,"name",{__proto__:null,value:t.name}),a(r,"length",{__proto__:null,value:t.length}),a(w.Readable.prototype,e,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})};for(S.s();!(E=S.n()).done;)k()}catch(T){S.e(T)}finally{S.f()}w.Writable=r(3613),w.Duplex=r(6637),w.Transform=r(3575),w.PassThrough=r(5329),w.pipeline=g;var R=r(1580).addAbortSignal;w.addAbortSignal=R,w.finished=v,w.destroy=b,w.compose=p,a(w,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:function(){return y}}),a(g,l,{__proto__:null,enumerable:!0,get:function(){return y.pipeline}}),a(v,l,{__proto__:null,enumerable:!0,get:function(){return y.finished}}),w.Stream=w,w._isUint8Array=function(e){return e instanceof Uint8Array},w._uint8ArrayToBuffer=function(e){return o.from(e.buffer,e.byteOffset,e.byteLength)}},7511:function(e,t,r){"use strict";var n=r(1070),o=n.ArrayPrototypePop,i=n.Promise,a=r(6767),s=a.isIterable,u=a.isNodeStream,l=r(6545).pipelineImpl,c=r(4297).finished;e.exports={finished:c,pipeline:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new i((function(e,r){var n,i,a=t[t.length-1];if(a&&"object"===typeof a&&!u(a)&&!s(a)){var c=o(t);n=c.signal,i=c.end}l(t,(function(t,n){t?r(t):e(n)}),{signal:n,end:i})}))}}},5734:function(e,t,r){var n=r(918),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},a.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},8570:function(e,t,r){"use strict";var n=r(5734).Buffer,o=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!==typeof t&&(n.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!==(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"\ufffd"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\ufffd":t},i.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var o=a(t[n]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--n<r||-2===o)return 0;if(o=a(t[n]),o>=0)return o>0&&(e.lastNeed=o-2),o;if(--n<r||-2===o)return 0;if(o=a(t[n]),o>=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},930:function(e,t,r){var n,o,i,a=r(861).default,s=r(6690).default,u=r(9728).default,l=r(1588).default,c=r(3808).default,f=r(1655).default,d=r(6389).default,h=r(3496).default;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,o=[e],n=function(e){"use strict";var t,r;if(null===(t=globalThis.chrome)||void 0===t||null===(r=t.runtime)||void 0===r||!r.id)throw new Error("This script should only be loaded in a browser extension.");if("undefined"===typeof globalThis.browser||Object.getPrototypeOf(globalThis.browser)!==Object.prototype){var n="The message port closed before a response was received.",o=function(e){var t={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0},elements:{createSidebarPane:{minArgs:1,maxArgs:1}}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},goBack:{minArgs:0,maxArgs:1},goForward:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(t).length)throw new Error("api-metadata.json has not been included in browser-polyfill");var r=function(e){f(r,e);var t=d(r);function r(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return s(this,r),(n=t.call(this,o)).createItem=e,n}return u(r,[{key:"get",value:function(e){return this.has(e)||this.set(e,this.createItem(e)),l(c(r.prototype),"get",this).call(this,e)}}]),r}(h(WeakMap)),o=function(e){return e&&"object"===typeof e&&"function"===typeof e.then},i=function(t,r){return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];e.runtime.lastError?t.reject(new Error(e.runtime.lastError.message)):r.singleCallbackArg||o.length<=1&&!1!==r.singleCallbackArg?t.resolve(o[0]):t.resolve(o)}},p=function(e){return 1==e?"argument":"arguments"},g=function(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];if(o.length<t.minArgs)throw new Error("Expected at least ".concat(t.minArgs," ").concat(p(t.minArgs)," for ").concat(e,"(), got ").concat(o.length));if(o.length>t.maxArgs)throw new Error("Expected at most ".concat(t.maxArgs," ").concat(p(t.maxArgs)," for ").concat(e,"(), got ").concat(o.length));return new Promise((function(n,a){if(t.fallbackToNoCallback)try{r[e].apply(r,o.concat([i({resolve:n,reject:a},t)]))}catch(s){console.warn("".concat(e," API method doesn't seem to support the callback parameter, ")+"falling back to call it without a callback: ",s),r[e].apply(r,o),t.fallbackToNoCallback=!1,t.noCallback=!0,n()}else t.noCallback?(r[e].apply(r,o),n()):r[e].apply(r,o.concat([i({resolve:n,reject:a},t)]))}))}},b=function(e,t,r){return new Proxy(t,{apply:function(t,n,o){return r.call.apply(r,[n,e].concat(a(o)))}})},v=Function.call.bind(Object.prototype.hasOwnProperty),y=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=Object.create(null),i={has:function(e,r){return r in t||r in o},get:function(i,a,s){if(a in o)return o[a];if(a in t){var u=t[a];if("function"===typeof u)if("function"===typeof r[a])u=b(t,t[a],r[a]);else if(v(n,a)){var l=g(a,n[a]);u=b(t,t[a],l)}else u=u.bind(t);else if("object"===typeof u&&null!==u&&(v(r,a)||v(n,a)))u=e(u,r[a],n[a]);else{if(!v(n,"*"))return Object.defineProperty(o,a,{configurable:!0,enumerable:!0,get:function(){return t[a]},set:function(e){t[a]=e}}),u;u=e(u,r[a],n["*"])}return o[a]=u,u}},set:function(e,r,n,i){return r in o?o[r]=n:t[r]=n,!0},defineProperty:function(e,t,r){return Reflect.defineProperty(o,t,r)},deleteProperty:function(e,t){return Reflect.deleteProperty(o,t)}},a=Object.create(t);return new Proxy(a,i)},m=function(e){return{addListener:function(t,r){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];t.addListener.apply(t,[e.get(r)].concat(o))},hasListener:function(t,r){return t.hasListener(e.get(r))},removeListener:function(t,r){t.removeListener(e.get(r))}}},w=new r((function(e){return"function"!==typeof e?e:function(t){var r=y(t,{},{getContent:{minArgs:0,maxArgs:0}});e(r)}})),_=new r((function(e){return"function"!==typeof e?e:function(t,r,n){var i,a,s=!1,u=new Promise((function(e){i=function(t){s=!0,e(t)}}));try{a=e(t,r,i)}catch(f){a=Promise.reject(f)}var l=!0!==a&&o(a);if(!0!==a&&!l&&!s)return!1;var c=function(e){e.then((function(e){n(e)}),(function(e){var t;t=e&&(e instanceof Error||"string"===typeof e.message)?e.message:"An unexpected error occurred",n({__mozWebExtensionPolyfillReject__:!0,message:t})})).catch((function(e){console.error("Failed to send onMessage rejected reply",e)}))};return c(l?a:u),!0}})),x=function(t,r){var o=t.reject,i=t.resolve;e.runtime.lastError?e.runtime.lastError.message===n?i():o(new Error(e.runtime.lastError.message)):r&&r.__mozWebExtensionPolyfillReject__?o(new Error(r.message)):i(r)},A=function(e,t,r){for(var n=arguments.length,o=new Array(n>3?n-3:0),i=3;i<n;i++)o[i-3]=arguments[i];if(o.length<t.minArgs)throw new Error("Expected at least ".concat(t.minArgs," ").concat(p(t.minArgs)," for ").concat(e,"(), got ").concat(o.length));if(o.length>t.maxArgs)throw new Error("Expected at most ".concat(t.maxArgs," ").concat(p(t.maxArgs)," for ").concat(e,"(), got ").concat(o.length));return new Promise((function(e,t){var n=x.bind(null,{resolve:e,reject:t});o.push(n),r.sendMessage.apply(r,o)}))},E={devtools:{network:{onRequestFinished:m(w)}},runtime:{onMessage:m(_),onMessageExternal:m(_),sendMessage:A.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:A.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},S={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return t.privacy={network:{"*":S},services:{"*":S},websites:{"*":S}},y(e,E,t)};e.exports=o(chrome)}else e.exports=globalThis.browser},void 0===(i="function"===typeof n?n.apply(t,o):n)||(e.exports=i)},4642:function(e,t,r){var n=r(3801);function o(e){var t,r;function o(t,r){try{var a=e[t](r),s=a.value,u=s instanceof n;Promise.resolve(u?s.v:s).then((function(r){if(u){var n="return"===t?"return":"next";if(!s.k||r.done)return o(n,r);r=e[n](r).value}i(a.done?"return":"normal",r)}),(function(e){o("throw",e)}))}catch(l){i("throw",l)}}function i(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?o(t.key,t.arg):r=null}this._invoke=function(e,n){return new Promise((function(i,a){var s={key:e,arg:n,resolve:i,reject:a,next:null};r?r=r.next=s:(t=r=s,o(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}o.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},o.prototype.next=function(e){return this._invoke("next",e)},o.prototype.throw=function(e){return this._invoke("throw",e)},o.prototype.return=function(e){return this._invoke("return",e)},e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},3801:function(e){e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},3897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},3405:function(e,t,r){var n=r(3897);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},6115:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},8131:function(e,t,r){var n=r(3801);e.exports=function(e){var t={},r=!1;function o(t,o){return r=!0,o=new Promise((function(r){r(e[t](o))})),{done:!1,value:new n(o,1)}}return t["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return r?(r=!1,e):o("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(r)throw r=!1,e;return o("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return r?(r=!1,e):o("return",e)}),t},e.exports.__esModule=!0,e.exports.default=e.exports},8237:function(e){function t(e){function r(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return t=function(e){this.s=e,this.n=e.next},t.prototype={s:null,n:null,next:function(){return r(this.n.apply(this.s,arguments))},return:function(e){var t=this.s.return;return void 0===t?Promise.resolve({value:e,done:!0}):r(t.apply(this.s,arguments))},throw:function(e){var t=this.s.return;return void 0===t?Promise.reject(e):r(t.apply(this.s,arguments))}},new t(e)}e.exports=function(e){var r,n,o,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,o=Symbol.iterator);i--;){if(n&&null!=(r=e[n]))return r.call(e);if(o&&null!=(r=e[o]))return new t(r.call(e));n="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")},e.exports.__esModule=!0,e.exports.default=e.exports},7156:function(e){function t(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(l){return void r(l)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function s(e){t(a,o,i,s,u,"next",e)}function u(e){t(a,o,i,s,u,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},6737:function(e,t,r){var n=r(3801);e.exports=function(e){return new n(e,0)},e.exports.__esModule=!0,e.exports.default=e.exports},6690:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},3515:function(e,t,r){var n=r(6015),o=r(9617);function i(t,r,a){return o()?(e.exports=i=Reflect.construct.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=i=function(e,t,r){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return r&&n(i,r.prototype),i},e.exports.__esModule=!0,e.exports.default=e.exports),i.apply(null,arguments)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},9728:function(e,t,r){var n=r(4062);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},4704:function(e,t,r){var n=r(6116);e.exports=function(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=n(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}},e.exports.__esModule=!0,e.exports.default=e.exports},6389:function(e,t,r){var n=r(3808),o=r(9617),i=r(4993);e.exports=function(e){var t=o();return function(){var r,o=n(e);if(t){var a=n(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return i(this,r)}},e.exports.__esModule=!0,e.exports.default=e.exports},8416:function(e,t,r){var n=r(4062);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},1588:function(e,t,r){var n=r(1753);function o(){return"undefined"!==typeof Reflect&&Reflect.get?(e.exports=o=Reflect.get.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=o=function(e,t,r){var o=n(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},e.exports.__esModule=!0,e.exports.default=e.exports),o.apply(this,arguments)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},3808:function(e){function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},1655:function(e,t,r){var n=r(6015);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},6035:function(e){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")},e.exports.__esModule=!0,e.exports.default=e.exports},9617:function(e){e.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},9498:function(e){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},2281:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},2122:function(e,t,r){var n=r(8416);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}e.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e},e.exports.__esModule=!0,e.exports.default=e.exports},4993:function(e,t,r){var n=r(8698).default,o=r(6115);e.exports=function(e,t){if(t&&("object"===n(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},7061:function(e,t,r){var n=r(8698).default;function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(M){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),s=new T(n||[]);return a(i,"_invoke",{value:E(e,r,s)}),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(M){return{type:"throw",arg:M}}}t.wrap=d;var p={};function g(){}function b(){}function v(){}var y={};f(y,u,(function(){return this}));var m=Object.getPrototypeOf,w=m&&m(m(O([])));w&&w!==r&&i.call(w,u)&&(y=w);var _=v.prototype=g.prototype=Object.create(y);function x(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function r(o,a,s,u){var l=h(e[o],e,a);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==n(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(f).then((function(e){c.value=e,s(c)}),(function(e){return r("throw",e,s,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function E(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=S(a,r);if(s){if(s===p)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=h(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var o=h(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function O(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:L}}function L(){return{value:void 0,done:!0}}return b.prototype=v,a(_,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:b,configurable:!0}),b.displayName=f(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,f(e,c,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},x(A.prototype),f(A.prototype,l,(function(){return this})),t.AsyncIterator=A,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new A(d(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(_),f(_,c,"Generator"),f(_,u,(function(){return this})),f(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=O,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),R(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:O(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},6015:function(e){function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},1753:function(e,t,r){var n=r(3808);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=n(e)););return e},e.exports.__esModule=!0,e.exports.default=e.exports},861:function(e,t,r){var n=r(3405),o=r(9498),i=r(6116),a=r(2281);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},5036:function(e,t,r){var n=r(8698).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},4062:function(e,t,r){var n=r(8698).default,o=r(5036);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},8698:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},6116:function(e,t,r){var n=r(3897);e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},8186:function(e,t,r){var n=r(4642);e.exports=function(e){return function(){return new n(e.apply(this,arguments))}},e.exports.__esModule=!0,e.exports.default=e.exports},3496:function(e,t,r){var n=r(3808),o=r(6015),i=r(6035),a=r(3515);function s(t){var r="function"===typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!i(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return a(e,arguments,n(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(){t=function(){return r};var r={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(L){c=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof p?t:p,a=Object.create(o.prototype),s=new R(n||[]);return i(a,"_invoke",{value:A(e,r,s)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(L){return{type:"throw",arg:L}}}r.wrap=f;var h={};function p(){}function g(){}function b(){}var v={};c(v,s,(function(){return this}));var y=Object.getPrototypeOf,m=y&&y(y(T([])));m&&m!==n&&o.call(m,s)&&(v=m);var w=b.prototype=p.prototype=Object.create(v);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(t,r){function n(i,a,s,u){var l=d(t[i],t,a);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==e(f)&&o.call(f,"__await")?r.resolve(f.__await).then((function(e){n("next",e,s,u)}),(function(e){n("throw",e,s,u)})):r.resolve(f).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,u)}))}u(l.arg)}var a;i(this,"_invoke",{value:function(e,t){function o(){return new r((function(r,o){n(e,t,r,o)}))}return a=a?a.then(o,o):o()}})}function A(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=E(a,r);if(s){if(s===h)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=d(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function E(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=d(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,h;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function T(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(o.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:O}}function O(){return{value:void 0,done:!0}}return g.prototype=b,i(w,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:g,configurable:!0}),g.displayName=c(b,l,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},r.awrap=function(e){return{__await:e}},_(x.prototype),c(x.prototype,u,(function(){return this})),r.AsyncIterator=x,r.async=function(e,t,n,o,i){void 0===i&&(i=Promise);var a=new x(f(e,t,n,o),i);return r.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(w),c(w,l,"Generator"),c(w,s,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=T,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},r}function n(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(l){return void r(l)}s.done?t(u):Promise.resolve(u).then(n,o)}var o=r(930),i=r.n(o);function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(t){var r=function(t,r){if("object"!==e(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,r||"default");if("object"!==e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"===e(r)?r:String(r)}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function c(e,t,r){return t&&l(e.prototype,t),r&&l(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function p(t){var r=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=h(t);if(r){var i=h(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(t,r){if(r&&("object"===e(r)||"function"===typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}(this,n)}}var g=r(3284);var b=function(){},v="ACK",y=function(e){d(r,e);var t=p(r);function r(e){var n,o=e.name,i=e.target,u=e.targetOrigin,l=void 0===u?window.location.origin:u,c=e.targetWindow,f=void 0===c?window:c;if(s(this,r),n=t.call(this),"undefined"===typeof window||"function"!==typeof window.postMessage)throw new Error("window.postMessage is not a function. This class should only be instantiated in a Window.");return n._name=o,n._target=i,n._targetOrigin=l,n._targetWindow=f,n._onMessage=n._onMessage.bind(a(n)),window.addEventListener("message",n._onMessage,!1),n._handshake(),n}return c(r,[{key:"_postMessage",value:function(e){this._targetWindow.postMessage({target:this._target,data:e},this._targetOrigin)}},{key:"_onMessage",value:function(e){var t=e.data;"*"!==this._targetOrigin&&e.origin!==this._targetOrigin||e.source!==this._targetWindow||!function(e){return Object.entries(e).length>0&&Boolean(e.data)&&("number"===typeof e.data||"object"===typeof e.data||"string"===typeof e.data)}(t)||t.target!==this._name||this._onData(t.data)}},{key:"_destroy",value:function(){window.removeEventListener("message",this._onMessage,!1)}}]),r}(function(e){d(r,e);var t=p(r);function r(){var e;return s(this,r),(e=t.call(this,{objectMode:!0}))._init=!1,e._haveSyn=!1,e}return c(r,[{key:"_handshake",value:function(){this._write("SYN",null,b),this.cork()}},{key:"_onData",value:function(e){if(this._init)try{this.push(e)}catch(t){this.emit("error",t)}else"SYN"===e?(this._haveSyn=!0,this._write(v,null,b)):e===v&&(this._init=!0,this._haveSyn||this._write(v,null,b),this.uncork())}},{key:"_read",value:function(){}},{key:"_write",value:function(e,t,r){this._postMessage(e),r()}}]),r}(g.Duplex));var m=3===i().runtime.getManifest().manifest_version,w=new y({name:"fire-contentscript",target:"fire-inpage"});w.on("data",function(){var e,r=(e=t().mark((function e(r){var n;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.prev=0,e.t0=r.method,e.next="request"===e.t0?4:"connect"===e.t0||"eth_requestAccounts"===e.t0||"eth_accounts"===e.t0||"disconnect"===e.t0?6:"eth_sendTransaction"===e.t0?8:"get_endPoint"===e.t0||"native_add_nominator"===e.t0||"native_renominate"===e.t0||"native_nominator_payout"===e.t0||"native_validator_payout"===e.t0||"native_stop_validator"===e.t0||"native_stop_nominator"===e.t0||"native_unbond_validator"===e.t0||"native_unbond_nominator"===e.t0||"native_withdraw_nominator"===e.t0||"native_withdraw_validator"===e.t0||"native_withdraw_nominator_unbonded"===e.t0||"native_add_validator"===e.t0||"native_validator_bondmore"===e.t0||"native_restart_validator"===e.t0||"native_nominator_bondmore"===e.t0?10:"keepAlive"===e.t0?12:14;break;case 4:return w.write({id:r.id,response:"I return back result to you",error:null}),e.abrupt("break",15);case 6:return i().runtime.sendMessage(r),e.abrupt("break",15);case 8:return"eth_sendTransaction"!==r.method||(null===(n=r.message)||void 0===n?void 0:n.length)<0?w.write({id:r.id,error:"Invalid Transaction Request"}):i().runtime.sendMessage(r),e.abrupt("break",15);case 10:return i().runtime.sendMessage(r),e.abrupt("break",15);case 12:return setTimeout((function(){w.write({method:"keepAlive"})}),3e4),e.abrupt("break",15);case 14:w.write({id:r.id,error:"Invalid request method"});case 15:e.next=20;break;case 17:e.prev=17,e.t1=e.catch(0),console.log("Error under content script",e.t1);case 20:case"end":return e.stop()}}),e,null,[[0,17]])})),function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,u,"next",e)}function u(e){n(a,o,i,s,u,"throw",e)}s(void 0)}))});return function(e){return r.apply(this,arguments)}}());i().runtime.onMessage.addListener((function(e,t,r){null!==e&&void 0!==e&&e.id&&(w.write(e),r("I Recevie and ack"))})),m||function(){try{var e=document.head||document.documentElement,t=document.createElement("script");t.setAttribute("async","false"),t.setAttribute("src",i().runtime.getURL("static/js/injected.js")),e.insertBefore(t,e.children[0]),e.removeChild(t)}catch(r){console.error("MetaMask: Provider injection failed.",r)}}()}()}();