-
Notifications
You must be signed in to change notification settings - Fork 0
/
833.c6e2d8ae80ea1a34b509.js
1 lines (1 loc) · 20.3 KB
/
833.c6e2d8ae80ea1a34b509.js
1
"use strict";(self.webpackChunksparkworks_console=self.webpackChunksparkworks_console||[]).push([[833],{23833:function(yr,A,C){var g=C(26698),m=C(42390),D="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;A.lW=u,A.h2=50;var F=2147483647;function x(t){if(t>F)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,u.prototype),r}function u(t,r,i){if("number"==typeof t){if("string"==typeof r)throw new TypeError('The "string" argument must be of type string. Received type number');return I(t)}return b(t,r,i)}function b(t,r,i){if("string"==typeof t)return function(t,r){if(("string"!=typeof r||""===r)&&(r="utf8"),!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var i=0|M(t,r),n=x(i),e=n.write(t,r);return e!==i&&(n=n.slice(0,e)),n}(t,r);if(ArrayBuffer.isView(t))return function(t){if(y(t,Uint8Array)){var r=new Uint8Array(t);return v(r.buffer,r.byteOffset,r.byteLength)}return T(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(y(t,ArrayBuffer)||t&&y(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(y(t,SharedArrayBuffer)||t&&y(t.buffer,SharedArrayBuffer)))return v(t,r,i);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return u.from(n,r,i);var e=function(t){if(u.isBuffer(t)){var r=0|k(t.length),i=x(r);return 0===i.length||t.copy(i,0,0,r),i}return void 0!==t.length?"number"!=typeof t.length||S(t.length)?x(0):T(t):"Buffer"===t.type&&Array.isArray(t.data)?T(t.data):void 0}(t);if(e)return e;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive]("string"),r,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function _(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function I(t){return _(t),x(t<0?0:0|k(t))}function T(t){for(var r=t.length<0?0:0|k(t.length),i=x(r),n=0;n<r;n+=1)i[n]=255&t[n];return i}function v(t,r,i){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(i||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===r&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,r):new Uint8Array(t,r,i),Object.setPrototypeOf(n,u.prototype),n}function k(t){if(t>=F)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+F.toString(16)+" bytes");return 0|t}function M(t,r){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||y(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var i=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===i)return 0;for(var e=!1;;)switch(r){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return R(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return J(t).length;default:if(e)return n?-1:R(t).length;r=(""+r).toLowerCase(),e=!0}}function j(t,r,i){var n=!1;if((void 0===r||r<0)&&(r=0),r>this.length||((void 0===i||i>this.length)&&(i=this.length),i<=0)||(i>>>=0)<=(r>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return fr(this,r,i);case"utf8":case"utf-8":return W(this,r,i);case"ascii":return or(this,r,i);case"latin1":case"binary":return hr(this,r,i);case"base64":return er(this,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pr(this,r,i);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function E(t,r,i){var n=t[r];t[r]=t[i],t[i]=n}function d(t,r,i,n,e){if(0===t.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),S(i=+i)&&(i=e?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(e)return-1;i=t.length-1}else if(i<0){if(!e)return-1;i=0}if("string"==typeof r&&(r=u.from(r,n)),u.isBuffer(r))return 0===r.length?-1:N(t,r,i,n,e);if("number"==typeof r)return r&=255,"function"==typeof Uint8Array.prototype.indexOf?e?Uint8Array.prototype.indexOf.call(t,r,i):Uint8Array.prototype.lastIndexOf.call(t,r,i):N(t,[r],i,n,e);throw new TypeError("val must be string, number or Buffer")}function N(t,r,i,n,e){var a,o=1,h=t.length,f=r.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||r.length<2)return-1;o=2,h/=2,f/=2,i/=2}function p(V,X){return 1===o?V[X]:V.readUInt16BE(X*o)}if(e){var w=-1;for(a=i;a<h;a++)if(p(t,a)===p(r,-1===w?0:a-w)){if(-1===w&&(w=a),a-w+1===f)return w*o}else-1!==w&&(a-=a-w),w=-1}else for(i+f>h&&(i=h-f),a=i;a>=0;a--){for(var c=!0,U=0;U<f;U++)if(p(t,a+U)!==p(r,U)){c=!1;break}if(c)return a}return-1}function P(t,r,i,n){i=Number(i)||0;var e=t.length-i;n?(n=Number(n))>e&&(n=e):n=e;var o=r.length;n>o/2&&(n=o/2);for(var h=0;h<n;++h){var f=parseInt(r.substr(2*h,2),16);if(S(f))return h;t[i+h]=f}return h}function rr(t,r,i,n){return B(R(r,t.length-i),t,i,n)}function ir(t,r,i,n){return B(function(t){for(var r=[],i=0;i<t.length;++i)r.push(255&t.charCodeAt(i));return r}(r),t,i,n)}function tr(t,r,i,n){return B(J(r),t,i,n)}function nr(t,r,i,n){return B(function(t,r){for(var i,n,o=[],h=0;h<t.length&&!((r-=2)<0);++h)n=(i=t.charCodeAt(h))>>8,o.push(i%256),o.push(n);return o}(r,t.length-i),t,i,n)}function er(t,r,i){return g.fromByteArray(0===r&&i===t.length?t:t.slice(r,i))}function W(t,r,i){i=Math.min(t.length,i);for(var n=[],e=r;e<i;){var p,a,w,c,o=t[e],h=null,f=o>239?4:o>223?3:o>191?2:1;if(e+f<=i)switch(f){case 1:o<128&&(h=o);break;case 2:128==(192&(p=t[e+1]))&&(c=(31&o)<<6|63&p)>127&&(h=c);break;case 3:a=t[e+2],128==(192&(p=t[e+1]))&&128==(192&a)&&(c=(15&o)<<12|(63&p)<<6|63&a)>2047&&(c<55296||c>57343)&&(h=c);break;case 4:a=t[e+2],w=t[e+3],128==(192&(p=t[e+1]))&&128==(192&a)&&128==(192&w)&&(c=(15&o)<<18|(63&p)<<12|(63&a)<<6|63&w)>65535&&c<1114112&&(h=c)}null===h?(h=65533,f=1):h>65535&&(n.push((h-=65536)>>>10&1023|55296),h=56320|1023&h),n.push(h),e+=f}return function(t){var r=t.length;if(r<=Y)return String.fromCharCode.apply(String,t);for(var i="",n=0;n<r;)i+=String.fromCharCode.apply(String,t.slice(n,n+=Y));return i}(n)}!(u.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),42===t.foo()}catch(i){return!1}}())&&"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(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(t,r,i){return b(t,r,i)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(t,r,i){return function(t,r,i){return _(t),t<=0?x(t):void 0!==r?"string"==typeof i?x(t).fill(r,i):x(t).fill(r):x(t)}(t,r,i)},u.allocUnsafe=function(t){return I(t)},u.allocUnsafeSlow=function(t){return I(t)},u.isBuffer=function(r){return null!=r&&!0===r._isBuffer&&r!==u.prototype},u.compare=function(r,i){if(y(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),y(i,Uint8Array)&&(i=u.from(i,i.offset,i.byteLength)),!u.isBuffer(r)||!u.isBuffer(i))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===i)return 0;for(var n=r.length,e=i.length,o=0,h=Math.min(n,e);o<h;++o)if(r[o]!==i[o]){n=r[o],e=i[o];break}return n<e?-1:e<n?1:0},u.isEncoding=function(r){switch(String(r).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}},u.concat=function(r,i){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(0===r.length)return u.alloc(0);var n;if(void 0===i)for(i=0,n=0;n<r.length;++n)i+=r[n].length;var e=u.allocUnsafe(i),o=0;for(n=0;n<r.length;++n){var h=r[n];if(y(h,Uint8Array))o+h.length>e.length?u.from(h).copy(e,o):Uint8Array.prototype.set.call(e,h,o);else{if(!u.isBuffer(h))throw new TypeError('"list" argument must be an Array of Buffers');h.copy(e,o)}o+=h.length}return e},u.byteLength=M,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var r=this.length;if(r%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<r;i+=2)E(this,i,i+1);return this},u.prototype.swap32=function(){var r=this.length;if(r%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<r;i+=4)E(this,i,i+3),E(this,i+1,i+2);return this},u.prototype.swap64=function(){var r=this.length;if(r%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<r;i+=8)E(this,i,i+7),E(this,i+1,i+6),E(this,i+2,i+5),E(this,i+3,i+4);return this},u.prototype.toLocaleString=u.prototype.toString=function(){var r=this.length;return 0===r?"":0===arguments.length?W(this,0,r):j.apply(this,arguments)},u.prototype.equals=function(r){if(!u.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r||0===u.compare(this,r)},u.prototype.inspect=function(){var r="",i=A.h2;return r=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(r+=" ... "),"<Buffer "+r+">"},D&&(u.prototype[D]=u.prototype.inspect),u.prototype.compare=function(r,i,n,e,o){if(y(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(void 0===i&&(i=0),void 0===n&&(n=r?r.length:0),void 0===e&&(e=0),void 0===o&&(o=this.length),i<0||n>r.length||e<0||o>this.length)throw new RangeError("out of range index");if(e>=o&&i>=n)return 0;if(e>=o)return-1;if(i>=n)return 1;if(this===r)return 0;for(var h=(o>>>=0)-(e>>>=0),f=(n>>>=0)-(i>>>=0),p=Math.min(h,f),a=this.slice(e,o),w=r.slice(i,n),c=0;c<p;++c)if(a[c]!==w[c]){h=a[c],f=w[c];break}return h<f?-1:f<h?1:0},u.prototype.includes=function(r,i,n){return-1!==this.indexOf(r,i,n)},u.prototype.indexOf=function(r,i,n){return d(this,r,i,n,!0)},u.prototype.lastIndexOf=function(r,i,n){return d(this,r,i,n,!1)},u.prototype.write=function(r,i,n,e){if(void 0===i)e="utf8",n=this.length,i=0;else if(void 0===n&&"string"==typeof i)e=i,n=this.length,i=0;else{if(!isFinite(i))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");i>>>=0,isFinite(n)?(n>>>=0,void 0===e&&(e="utf8")):(e=n,n=void 0)}var o=this.length-i;if((void 0===n||n>o)&&(n=o),r.length>0&&(n<0||i<0)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");e||(e="utf8");for(var h=!1;;)switch(e){case"hex":return P(this,r,i,n);case"utf8":case"utf-8":return rr(this,r,i,n);case"ascii":case"latin1":case"binary":return ir(this,r,i,n);case"base64":return tr(this,r,i,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return nr(this,r,i,n);default:if(h)throw new TypeError("Unknown encoding: "+e);e=(""+e).toLowerCase(),h=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Y=4096;function or(t,r,i){var n="";i=Math.min(t.length,i);for(var e=r;e<i;++e)n+=String.fromCharCode(127&t[e]);return n}function hr(t,r,i){var n="";i=Math.min(t.length,i);for(var e=r;e<i;++e)n+=String.fromCharCode(t[e]);return n}function fr(t,r,i){var n=t.length;(!r||r<0)&&(r=0),(!i||i<0||i>n)&&(i=n);for(var e="",o=r;o<i;++o)e+=sr[t[o]];return e}function pr(t,r,i){for(var n=t.slice(r,i),e="",o=0;o<n.length-1;o+=2)e+=String.fromCharCode(n[o]+256*n[o+1]);return e}function l(t,r,i){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+r>i)throw new RangeError("Trying to access beyond buffer length")}function s(t,r,i,n,e,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>e||r<o)throw new RangeError('"value" argument is out of bounds');if(i+n>t.length)throw new RangeError("Index out of range")}function G(t,r,i,n,e,o){if(i+n>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function z(t,r,i,n,e){return r=+r,i>>>=0,e||G(t,0,i,4),m.write(t,r,i,n,23,4),i+4}function H(t,r,i,n,e){return r=+r,i>>>=0,e||G(t,0,i,8),m.write(t,r,i,n,52,8),i+8}u.prototype.slice=function(r,i){var n=this.length;(r=~~r)<0?(r+=n)<0&&(r=0):r>n&&(r=n),(i=void 0===i?n:~~i)<0?(i+=n)<0&&(i=0):i>n&&(i=n),i<r&&(i=r);var e=this.subarray(r,i);return Object.setPrototypeOf(e,u.prototype),e},u.prototype.readUintLE=u.prototype.readUIntLE=function(r,i,n){r>>>=0,i>>>=0,n||l(r,i,this.length);for(var e=this[r],o=1,h=0;++h<i&&(o*=256);)e+=this[r+h]*o;return e},u.prototype.readUintBE=u.prototype.readUIntBE=function(r,i,n){r>>>=0,i>>>=0,n||l(r,i,this.length);for(var e=this[r+--i],o=1;i>0&&(o*=256);)e+=this[r+--i]*o;return e},u.prototype.readUint8=u.prototype.readUInt8=function(r,i){return r>>>=0,i||l(r,1,this.length),this[r]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(r,i){return r>>>=0,i||l(r,2,this.length),this[r]|this[r+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(r,i){return r>>>=0,i||l(r,2,this.length),this[r]<<8|this[r+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(r,i){return r>>>=0,i||l(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+16777216*this[r+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(r,i){return r>>>=0,i||l(r,4,this.length),16777216*this[r]+(this[r+1]<<16|this[r+2]<<8|this[r+3])},u.prototype.readIntLE=function(r,i,n){r>>>=0,i>>>=0,n||l(r,i,this.length);for(var e=this[r],o=1,h=0;++h<i&&(o*=256);)e+=this[r+h]*o;return e>=(o*=128)&&(e-=Math.pow(2,8*i)),e},u.prototype.readIntBE=function(r,i,n){r>>>=0,i>>>=0,n||l(r,i,this.length);for(var e=i,o=1,h=this[r+--e];e>0&&(o*=256);)h+=this[r+--e]*o;return h>=(o*=128)&&(h-=Math.pow(2,8*i)),h},u.prototype.readInt8=function(r,i){return r>>>=0,i||l(r,1,this.length),128&this[r]?-1*(255-this[r]+1):this[r]},u.prototype.readInt16LE=function(r,i){r>>>=0,i||l(r,2,this.length);var n=this[r]|this[r+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(r,i){r>>>=0,i||l(r,2,this.length);var n=this[r+1]|this[r]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(r,i){return r>>>=0,i||l(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},u.prototype.readInt32BE=function(r,i){return r>>>=0,i||l(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},u.prototype.readFloatLE=function(r,i){return r>>>=0,i||l(r,4,this.length),m.read(this,r,!0,23,4)},u.prototype.readFloatBE=function(r,i){return r>>>=0,i||l(r,4,this.length),m.read(this,r,!1,23,4)},u.prototype.readDoubleLE=function(r,i){return r>>>=0,i||l(r,8,this.length),m.read(this,r,!0,52,8)},u.prototype.readDoubleBE=function(r,i){return r>>>=0,i||l(r,8,this.length),m.read(this,r,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(r,i,n,e){r=+r,i>>>=0,n>>>=0,e||s(this,r,i,n,Math.pow(2,8*n)-1,0);var h=1,f=0;for(this[i]=255&r;++f<n&&(h*=256);)this[i+f]=r/h&255;return i+n},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(r,i,n,e){r=+r,i>>>=0,n>>>=0,e||s(this,r,i,n,Math.pow(2,8*n)-1,0);var h=n-1,f=1;for(this[i+h]=255&r;--h>=0&&(f*=256);)this[i+h]=r/f&255;return i+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(r,i,n){return r=+r,i>>>=0,n||s(this,r,i,1,255,0),this[i]=255&r,i+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(r,i,n){return r=+r,i>>>=0,n||s(this,r,i,2,65535,0),this[i]=255&r,this[i+1]=r>>>8,i+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(r,i,n){return r=+r,i>>>=0,n||s(this,r,i,2,65535,0),this[i]=r>>>8,this[i+1]=255&r,i+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(r,i,n){return r=+r,i>>>=0,n||s(this,r,i,4,4294967295,0),this[i+3]=r>>>24,this[i+2]=r>>>16,this[i+1]=r>>>8,this[i]=255&r,i+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(r,i,n){return r=+r,i>>>=0,n||s(this,r,i,4,4294967295,0),this[i]=r>>>24,this[i+1]=r>>>16,this[i+2]=r>>>8,this[i+3]=255&r,i+4},u.prototype.writeIntLE=function(r,i,n,e){if(r=+r,i>>>=0,!e){var o=Math.pow(2,8*n-1);s(this,r,i,n,o-1,-o)}var h=0,f=1,p=0;for(this[i]=255&r;++h<n&&(f*=256);)r<0&&0===p&&0!==this[i+h-1]&&(p=1),this[i+h]=(r/f>>0)-p&255;return i+n},u.prototype.writeIntBE=function(r,i,n,e){if(r=+r,i>>>=0,!e){var o=Math.pow(2,8*n-1);s(this,r,i,n,o-1,-o)}var h=n-1,f=1,p=0;for(this[i+h]=255&r;--h>=0&&(f*=256);)r<0&&0===p&&0!==this[i+h+1]&&(p=1),this[i+h]=(r/f>>0)-p&255;return i+n},u.prototype.writeInt8=function(r,i,n){return r=+r,i>>>=0,n||s(this,r,i,1,127,-128),r<0&&(r=255+r+1),this[i]=255&r,i+1},u.prototype.writeInt16LE=function(r,i,n){return r=+r,i>>>=0,n||s(this,r,i,2,32767,-32768),this[i]=255&r,this[i+1]=r>>>8,i+2},u.prototype.writeInt16BE=function(r,i,n){return r=+r,i>>>=0,n||s(this,r,i,2,32767,-32768),this[i]=r>>>8,this[i+1]=255&r,i+2},u.prototype.writeInt32LE=function(r,i,n){return r=+r,i>>>=0,n||s(this,r,i,4,2147483647,-2147483648),this[i]=255&r,this[i+1]=r>>>8,this[i+2]=r>>>16,this[i+3]=r>>>24,i+4},u.prototype.writeInt32BE=function(r,i,n){return r=+r,i>>>=0,n||s(this,r,i,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[i]=r>>>24,this[i+1]=r>>>16,this[i+2]=r>>>8,this[i+3]=255&r,i+4},u.prototype.writeFloatLE=function(r,i,n){return z(this,r,i,!0,n)},u.prototype.writeFloatBE=function(r,i,n){return z(this,r,i,!1,n)},u.prototype.writeDoubleLE=function(r,i,n){return H(this,r,i,!0,n)},u.prototype.writeDoubleBE=function(r,i,n){return H(this,r,i,!1,n)},u.prototype.copy=function(r,i,n,e){if(!u.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!e&&0!==e&&(e=this.length),i>=r.length&&(i=r.length),i||(i=0),e>0&&e<n&&(e=n),e===n||0===r.length||0===this.length)return 0;if(i<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length),r.length-i<e-n&&(e=r.length-i+n);var o=e-n;return this===r&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(i,n,e):Uint8Array.prototype.set.call(r,this.subarray(n,e),i),o},u.prototype.fill=function(r,i,n,e){if("string"==typeof r){if("string"==typeof i?(e=i,i=0,n=this.length):"string"==typeof n&&(e=n,n=this.length),void 0!==e&&"string"!=typeof e)throw new TypeError("encoding must be a string");if("string"==typeof e&&!u.isEncoding(e))throw new TypeError("Unknown encoding: "+e);if(1===r.length){var o=r.charCodeAt(0);("utf8"===e&&o<128||"latin1"===e)&&(r=o)}}else"number"==typeof r?r&=255:"boolean"==typeof r&&(r=Number(r));if(i<0||this.length<i||this.length<n)throw new RangeError("Out of range index");if(n<=i)return this;var h;if(i>>>=0,n=void 0===n?this.length:n>>>0,r||(r=0),"number"==typeof r)for(h=i;h<n;++h)this[h]=r;else{var f=u.isBuffer(r)?r:u.from(r,e),p=f.length;if(0===p)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(h=0;h<n-i;++h)this[h+i]=f[h%p]}return this};var ar=/[^+/0-9A-Za-z-_]/g;function R(t,r){r=r||1/0;for(var i,n=t.length,e=null,o=[],h=0;h<n;++h){if((i=t.charCodeAt(h))>55295&&i<57344){if(!e){if(i>56319){(r-=3)>-1&&o.push(239,191,189);continue}if(h+1===n){(r-=3)>-1&&o.push(239,191,189);continue}e=i;continue}if(i<56320){(r-=3)>-1&&o.push(239,191,189),e=i;continue}i=65536+(e-55296<<10|i-56320)}else e&&(r-=3)>-1&&o.push(239,191,189);if(e=null,i<128){if((r-=1)<0)break;o.push(i)}else if(i<2048){if((r-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((r-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((r-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return o}function J(t){return g.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(ar,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function B(t,r,i,n){for(var e=0;e<n&&!(e+i>=r.length||e>=t.length);++e)r[e+i]=t[e];return e}function y(t,r){return t instanceof r||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===r.name}function S(t){return t!=t}var sr=function(){for(var t="0123456789abcdef",r=new Array(256),i=0;i<16;++i)for(var n=16*i,e=0;e<16;++e)r[n+e]=t[i]+t[e];return r}()}}]);