varn=r(32),o=r(33),i=r(34);functions(){returnc.TYPED_ARRAY_SUPPORT?2147483647:1073741823}functiona(t,e){if(s()<e)thrownewRangeError("Invalid typed array length");returnc.TYPED_ARRAY_SUPPORT?(t=newUint8Array(e)).__proto__=c.prototype:(null===t&&(t=newc(e)),t.length=e),t}functionc(t,e,r){if(!(c.TYPED_ARRAY_SUPPORT||thisinstanceofc))returnnewc(t,e,r);if("number"==typeoft){if("string"==typeofe)thrownewError("If encoding is specified then the first argument must be a string");returnf(this,t)}returnu(this,t,e,r)}functionu(t,e,r,n){if("number"==typeofe)thrownewTypeError('"value" argument must not be a number');return"undefined"!=typeofArrayBuffer&&einstanceofArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)thrownewRangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))thrownewRangeError("'length' is out of bounds");e=void0===r&&void0===n?newUint8Array(e):void0===n?newUint8Array(e,r):newUint8Array(e,r,n);c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=p(t,e);returnt}(t,e,r,n):"string"==typeofe?function(t,e,r){"string"==typeofr&&""!==r||(r="utf8");if(!c.isEncoding(r))thrownewTypeError('"encoding" must be a valid string encoding');varn=0|d(e,r),o=(t=a(t,n)).write(e,r);o!==n&&(t=t.slice(0,o));returnt}(t,e,r):function(t,e){if(c.isBuffer(e)){varr=0|l(e.length);return0===(t=a(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeofArrayBuffer&&e.bufferinstanceofArrayBuffer||"length"ine)return"number"!=typeofe.length||(n=e.length)!=n?a(t,0):p(t,e);if("Buffer"===e.type&&i(e.data))returnp(t,e.data)}varn;thrownewTypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}functionh(t){if("number"!=typeoft)thrownewTypeError('"size" argument must be a number');if(t<0)thrownewRangeError('"size" argument must not be negative')}functionf(t,e){if(h(e),t=a(t,e<0?0:0|l(e)),!c.TYPED_ARRAY_SUPPORT)for(varr=0;r<e;++r)t[r]=0;returnt}functionp(t,e){varr=e.length<0?0:0|l(e.length);t=a(t,r);for(varn=0;n<r;n+=1)t[n]=255&e[n];returnt}functionl(t){if(t>=s())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return0|t}functiond(t,e){if(c.isBuffer(t))returnt.length;if("undefined"!=typeofArrayBuffer&&"function"==typeofArrayBuffer.isView&&(ArrayBuffer.isView(t)||tinstanceofArrayBuffer))returnt.byteLength;"string"!=typeoft&&(t=""+t);varr=t.length;if(0===r)return0;for(varn=!1;;)switch(e){case"ascii":case"latin1":case"binary":returnr;case"utf8":case"utf-8":casevoid0:returnM(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*r;case"hex":returnr>>>1;case"base64":returnq(t).length;default:if(n)returnM(t).length;e=(""+e).toLowerCase(),n=!0}}functiony(t,e,r){varn=!1;if((void0===e||e<0)&&(e=0),e>this.length)return"";if((void0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":returnT(this,e,r);case"utf8":case"utf-8":returnB(this,e,r);case"ascii":returnR(this,e,r);case"latin1":case"binary":returnS(this,e,r);case"base64":returnx(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnP(this,e,r);default:if(n)thrownewTypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}functiong(t,e,r){varn=t[e];t[e]=t[r],t[r]=n}functionm(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeofr?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}elseif(r<0){if(!o)return-1;r=0}if("string"==typeofe&&(e=c.from(e,n)),c.isBuffer(e))return0===e.length?-1:v(t,e,r,n,o);if("number"==typeofe)returne&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeofUint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):v(t,[e],r,n,o);thrownewTypeError("val must be string, number or Buffer")}functionv(t,e,r,n,o){vari,s=1,a=t.length,c=e.length;if(void0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs