|
|
|
i.read=function(e,t,i,A,r){var n,o,a=8*r-A-1,s=(1<<a)-1,c=s>>1,I=-7,f=i?r-1:0,h=i?-1:1,g=e[t+f];for(f+=h,n=g&(1<<-I)-1,g>>=-I,I+=a;I>0;n=256*n+e[t+f],f+=h,I-=8);for(o=n&(1<<-I)-1,n>>=-I,I+=A;I>0;o=256*o+e[t+f],f+=h,I-=8);if(0===n)n=1-c;else{if(n===s)return o?NaN:1/0*(g?-1:1);o+=Math.pow(2,A),n-=c}return(g?-1:1)*o*Math.pow(2,n-A)},i.write=function(e,t,i,A,r,n){var o,a,s,c=8*n-r-1,I=(1<<c)-1,f=I>>1,h=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,g=A?0:n-1,u=A?1:-1,d=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=I):(o=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-o))<1&&(o--,s*=2),(t+=o+f>=1?h/s:h*Math.pow(2,1-f))*s>=2&&(o++,s/=2),o+f>=I?(a=0,o=I):o+f>=1?(a=(t*s-1)*Math.pow(2,r),o+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,r),o=0));r>=8;e[i+g]=255&a,g+=u,a/=256,r-=8);for(o=o<<r|a,c+=r;c>0;e[i+g]=255&o,g+=u,o/=256,c-=8);e[i+g-u]|=128*d}},{}],169:[function(e,t,i){"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}}},{}],170:[function(e,t,i){"use strict";t.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},{}],171:[function(e,t,i){"use strict";var A=e("inherits"),r=e("hash-base"),n=e("safe-buffer").Buffer,o=new Array(16);function a(){r.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function s(e,t){return e<<t|e>>>32-t}function c(e,t,i,A,r,n,o){return s(e+(t&i|~t&A)+r+n|0,o)+t|0}function I(e,t,i,A,r,n,o){return s(e+(t&A|i&~A)+r+n|0,o)+t|0}function f(e,t,i,A,r,n,o){return s(e+(t^i^A)+r+n|0,o)+t|0}function h(e,t,i,A,r,n,o){return s(e+(i^(t|~A))+r+n|0,o)+t|0}A(a,r),a.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var i=this._a,A=this._b,r=this._c,n=this._d;i=c(i,A,r,n,e[0],3614090360,7),n=c(n,i,A,r,e[1],3905402710,12),r=c(r,n,i,A,e[2],606105819,17),A=c(A,r,n,i,e[3],3250441966,22),i=c(i,A,r,n,e[4],4118548399,7),n=c(n,i,A,r,e[5],1200080426,12),r=c(r,n,i,A,e[6],2821735955,17),A=c(A,r,n,i,e[7],4249261313,22),i=c(i,A,r,n,e[8],1770035416,7),n=c(n,i,A,r,e[9],2336552879,12),r=c(r,n,i,A,e[10],4294925233,17),A=c(A,r,n,i,e[11],2304563134,22),i=c(i,A,r,n,e[12],1804603682,7),n=c(n,i,A,r,e[13],4254626195,12),r=c(r,n,i,A,e[14],2792965006,17),i=I(i,A=c(A,r,n,i,e[15],1236535329,22),r,n,e[1],4129170786,5),n=I(n,i,A,r,e[6],3225465664,9),r=I(r,n,i,A,e[11],643717713,14),A=I(A,r,n,i,e[0],3921069994,20),i=I(i,A,r,n,e[5],3593408605,5),n=I(n,i,A,r,e[10],38016083,9),r=I(r,n,i,A,e[15],3634488961,14),A=I(A,r,n,i,e[4],3889429448,20),i=I(i,A,r,n,e[9],568446438,5),n=I(n,i,A,r,e[14],3275163606,9),r=I(r,n,i,A,e[3],4107603335,14),A=I(A,r,n,i,e[8],1163531501,20),i=I(i,A,r,n,e[13],2850285829,5),n=I(n,i,A,r,e[2],4243563512,9),r=I(r,n,i,A,e[7],1735328473,14),i=f(i,A=I(A,r,n,i,e[12],2368359562,20),r,n,e[5],4294588738,4),n=f(n,i,A,r,e[8],2272392833,11),r=f(r,n,i,A,e[11],1839030562,16),A=f(A,r,n,i,e[14],4259657740,23),i=f(i,A,r,n,e[1],2763975236,4),n=f(n,i,A,r,e[4],1272893353,11),r=f(r,n,i,A,e[7],4139469664,16),A=f(A,r,n,i,e[10],3200236656,23),i=f(i,A,r,n,e[13],681279174,4),n=f(n,i,A,r,e[0],3936430074,11),r=f(r,n,i,A,e[3],3572445317,16),A=f(A,r,n,i,e[6],76029189,23),i=f(i,A,r,n,e[9],3654602809,4),n=f(n,i,A,r,e[12],3873151461,11),r=f(r,n,i,A,e[15],530742520,16),i=h(i,A=f(A,r,n,i,e[2],3299628645,23),r,n,e[0],4096336452,6),n=h(n,i,A,r,e[7],1126891415,10),r=h(r,n,i,A,e[14],2878612391,15),A=h(A,r,n,i,e[5],4237533241,21),i=h(i,A,r,n,e[12],1700485571,6),n=h(n,i,A,r,e[3],2399980690,10),r=h(r,n,i,A,e[10],4293915773,15),A=h(A,r,n,i,e[1],2240044497,21),i=h(i,A,r,n,e[8],1873313359,6),n=h(n,i,A,r,e[15],4264355552,10),r=h(r,n,i,A,e[6],2734768916,15),A=h(A,r,n,i,e[13],1309151649,21),i=h(i,A,r,n,e[4],4149444226,6),n=h(n,i,A,r,e[11],3174756917,10),r=h(r,n,i,A,e[2],718787259,15),A=h(A,r,n,i,e[9],3951481745,21),this._a=this._a+i|0,this.
|
|
|
|
var A=e("buffer"),r=A.Buffer;function n(e,t){for(var i in e)t[i]=e[i]}function o(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=A:(n(A,i),i.Buffer=o),o.prototype=Object.create(r.prototype),n(r,o),o.from=function(e,t,i){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,i)},o.alloc=function(e,t,i){if("number"!=typeof e)throw new TypeError("Argument must be a number");var A=r(e);return void 0!==t?"string"==typeof i?A.fill(t,i):A.fill(t):A.fill(0),A},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return A.SlowBuffer(e)}},{buffer:99}],199:[function(e,t,i){(function(i){(function(){"use strict";var A,r=e("buffer"),n=r.Buffer,o={};for(A in r)r.hasOwnProperty(A)&&"SlowBuffer"!==A&&"Buffer"!==A&&(o[A]=r[A]);var a=o.Buffer={};for(A in n)n.hasOwnProperty(A)&&"allocUnsafe"!==A&&"allocUnsafeSlow"!==A&&(a[A]=n[A]);if(o.Buffer.prototype=n.prototype,a.from&&a.from!==Uint8Array.from||(a.from=function(e,t,i){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return n(e,t,i)}),a.alloc||(a.alloc=function(e,t,i){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var A=n(e);return t&&0!==t.length?"string"==typeof i?A.fill(t,i):A.fill(t):A.fill(0),A}),!o.kStringMaxLength)try{o.kStringMaxLength=i.binding("buffer").kStringMaxLength}catch(e){}o.constants||(o.constants={MAX_LENGTH:o.kMaxLength},o.kStringMaxLength&&(o.constants.MAX_STRING_LENGTH=o.kStringMaxLength)),t.exports=o}).call(this)}).call(this,e("_process"))},{_process:187,buffer:99}],200:[function(e,t,i){var A=e("safe-buffer").Buffer;function r(e,t){this._block=A.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}r.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=A.from(e,t));for(var i=this._block,r=this._blockSize,n=e.length,o=this._len,a=0;a<n;){for(var s=o%r,c=Math.min(n-a,r-s),I=0;I<c;I++)i[s+I]=e[a+I];a+=c,(o+=c)%r==0&&this._update(i)}return this._len+=n,this},r.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var i=8*this._len;if(i<=4294967295)this._block.writeUInt32BE(i,this._blockSize-4);else{var A=(4294967295&i)>>>0,r=(i-A)/4294967296;this._block.writeUInt32BE(r,this._blockSize-8),this._block.writeUInt32BE(A,this._blockSize-4)}this._update(this._block);var n=this._hash();return e?n.toString(e):n},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=r},{"safe-buffer":198}],201:[function(e,t,i){(i=t.exports=function(e){e=e.toLowerCase();var t=i[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t}).sha=e("./sha"),i.sha1=e("./sha1"),i.sha224=e("./sha224"),i.sha256=e("./sha256"),i.sha384=e("./sha384"),i.sha512=e("./sha512")},{"./sha":202,"./sha1":203,"./sha224":204,"./sha256":205,"./sha384":206,"./sha512":207}],202:[function(e,t,i){var A=e("inherits"),r=e("./hash"),n=e("safe-buffer").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function s(){this.init(),this._w=a,r.call(this,64,56)}function c(e){return e<<30|e>>>2}function I(e,t,i,A){return 0===e?t&i|~t&A:2===e?t&i|t&A|i&A:t^i^A}A(s,r),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(e){for(var t,i=this._w,A=0|this._a,r=0|this._b,n=0|this._c,a=0|this._d,s=0|this._e,f=0;f<16;++f)i[f]=e.readInt32BE(4*f);for(;f<80;++f)i[f]=i[f-3]^i[f-8]^i[f-14]^i[f-16];for(var
|