UNPKG

@dartess/multicoin-address-validator

Version:

Multicoin address validator for Bitcoin and other Altcoins ported to TypeScript.

1 lines 141 kB
(()=>{var sx=Object.create;var ze=Object.defineProperty,fx=Object.defineProperties,dx=Object.getOwnPropertyDescriptor,lx=Object.getOwnPropertyDescriptors,ux=Object.getOwnPropertyNames,Tt=Object.getOwnPropertySymbols,hx=Object.getPrototypeOf,kt=Object.prototype.hasOwnProperty,px=Object.prototype.propertyIsEnumerable;var Ut=(t,r,e)=>r in t?ze(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,k=(t,r)=>{for(var e in r||(r={}))kt.call(r,e)&&Ut(t,e,r[e]);if(Tt)for(var e of Tt(r))px.call(r,e)&&Ut(t,e,r[e]);return t},U=(t,r)=>fx(t,lx(r)),mx=t=>ze(t,"__esModule",{value:!0});var $r=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports);var yx=(t,r,e,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of ux(r))!kt.call(t,n)&&(e||n!=="default")&&ze(t,n,{get:()=>r[n],enumerable:!(a=dx(r,n))||a.enumerable});return t},br=(t,r)=>yx(mx(ze(t!=null?sx(hx(t)):{},"default",!r&&t&&t.__esModule?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var Dt=$r(Xe=>{"use strict";Xe.byteLength=bx;Xe.toByteArray=Ax;Xe.fromByteArray=wx;var Yr=[],Mr=[],Fx=typeof Uint8Array!="undefined"?Uint8Array:Array,x0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(te=0,Pt=x0.length;te<Pt;++te)Yr[te]=x0[te],Mr[x0.charCodeAt(te)]=te;var te,Pt;Mr["-".charCodeAt(0)]=62;Mr["_".charCodeAt(0)]=63;function St(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var a=e===r?0:4-e%4;return[e,a]}function bx(t){var r=St(t),e=r[0],a=r[1];return(e+a)*3/4-a}function Cx(t,r,e){return(r+e)*3/4-e}function Ax(t){var r,e=St(t),a=e[0],n=e[1],x=new Fx(Cx(t,a,n)),d=0,A=n>0?a-4:a,p;for(p=0;p<A;p+=4)r=Mr[t.charCodeAt(p)]<<18|Mr[t.charCodeAt(p+1)]<<12|Mr[t.charCodeAt(p+2)]<<6|Mr[t.charCodeAt(p+3)],x[d++]=r>>16&255,x[d++]=r>>8&255,x[d++]=r&255;return n===2&&(r=Mr[t.charCodeAt(p)]<<2|Mr[t.charCodeAt(p+1)]>>4,x[d++]=r&255),n===1&&(r=Mr[t.charCodeAt(p)]<<10|Mr[t.charCodeAt(p+1)]<<4|Mr[t.charCodeAt(p+2)]>>2,x[d++]=r>>8&255,x[d++]=r&255),x}function Vx(t){return Yr[t>>18&63]+Yr[t>>12&63]+Yr[t>>6&63]+Yr[t&63]}function gx(t,r,e){for(var a,n=[],x=r;x<e;x+=3)a=(t[x]<<16&16711680)+(t[x+1]<<8&65280)+(t[x+2]&255),n.push(Vx(a));return n.join("")}function wx(t){for(var r,e=t.length,a=e%3,n=[],x=16383,d=0,A=e-a;d<A;d+=x)n.push(gx(t,d,d+x>A?A:d+x));return a===1?(r=t[e-1],n.push(Yr[r>>2]+Yr[r<<4&63]+"==")):a===2&&(r=(t[e-2]<<8)+t[e-1],n.push(Yr[r>>10]+Yr[r>>4&63]+Yr[r<<2&63]+"=")),n.join("")}});var _t=$r(s0=>{s0.read=function(t,r,e,a,n){var x,d,A=n*8-a-1,p=(1<<A)-1,f=p>>1,H=-7,g=e?n-1:0,_=e?-1:1,X=t[r+g];for(g+=_,x=X&(1<<-H)-1,X>>=-H,H+=A;H>0;x=x*256+t[r+g],g+=_,H-=8);for(d=x&(1<<-H)-1,x>>=-H,H+=a;H>0;d=d*256+t[r+g],g+=_,H-=8);if(x===0)x=1-f;else{if(x===p)return d?NaN:(X?-1:1)*(1/0);d=d+Math.pow(2,a),x=x-f}return(X?-1:1)*d*Math.pow(2,x-a)};s0.write=function(t,r,e,a,n,x){var d,A,p,f=x*8-n-1,H=(1<<f)-1,g=H>>1,_=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,X=a?0:x-1,P=a?1:-1,rr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(A=isNaN(r)?1:0,d=H):(d=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-d))<1&&(d--,p*=2),d+g>=1?r+=_/p:r+=_*Math.pow(2,1-g),r*p>=2&&(d++,p/=2),d+g>=H?(A=0,d=H):d+g>=1?(A=(r*p-1)*Math.pow(2,n),d=d+g):(A=r*Math.pow(2,g-1)*Math.pow(2,n),d=0));n>=8;t[e+X]=A&255,X+=P,A/=256,n-=8);for(d=d<<n|A,f+=n;f>0;t[e+X]=d&255,X+=P,d/=256,f-=8);t[e+X-P]|=rr*128}});var Br=$r(se=>{"use strict";var f0=Dt(),xe=_t(),Nt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;se.Buffer=N;se.SlowBuffer=Ux;se.INSPECT_MAX_BYTES=50;var Ge=2147483647;se.kMaxLength=Ge;N.TYPED_ARRAY_SUPPORT=Ex();!N.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&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.");function Ex(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch{return!1}}Object.defineProperty(N.prototype,"parent",{enumerable:!0,get:function(){if(!!N.isBuffer(this))return this.buffer}});Object.defineProperty(N.prototype,"offset",{enumerable:!0,get:function(){if(!!N.isBuffer(this))return this.byteOffset}});function jr(t){if(t>Ge)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,N.prototype),r}function N(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d0(t)}return Rt(t,r,e)}N.poolSize=8192;function Rt(t,r,e){if(typeof t=="string")return vx(t,r);if(ArrayBuffer.isView(t))return Tx(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(Wr(t,ArrayBuffer)||t&&Wr(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Wr(t,SharedArrayBuffer)||t&&Wr(t.buffer,SharedArrayBuffer)))return u0(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var a=t.valueOf&&t.valueOf();if(a!=null&&a!==t)return N.from(a,r,e);var n=kx(t);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return N.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}N.from=function(t,r,e){return Rt(t,r,e)};Object.setPrototypeOf(N.prototype,Uint8Array.prototype);Object.setPrototypeOf(N,Uint8Array);function Lt(t){if(typeof t!="number")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 Bx(t,r,e){return Lt(t),t<=0?jr(t):r!==void 0?typeof e=="string"?jr(t).fill(r,e):jr(t).fill(r):jr(t)}N.alloc=function(t,r,e){return Bx(t,r,e)};function d0(t){return Lt(t),jr(t<0?0:h0(t)|0)}N.allocUnsafe=function(t){return d0(t)};N.allocUnsafeSlow=function(t){return d0(t)};function vx(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!N.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=Ot(t,r)|0,a=jr(e),n=a.write(t,r);return n!==e&&(a=a.slice(0,n)),a}function l0(t){for(var r=t.length<0?0:h0(t.length)|0,e=jr(r),a=0;a<r;a+=1)e[a]=t[a]&255;return e}function Tx(t){if(Wr(t,Uint8Array)){var r=new Uint8Array(t);return u0(r.buffer,r.byteOffset,r.byteLength)}return l0(t)}function u0(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var a;return r===void 0&&e===void 0?a=new Uint8Array(t):e===void 0?a=new Uint8Array(t,r):a=new Uint8Array(t,r,e),Object.setPrototypeOf(a,N.prototype),a}function kx(t){if(N.isBuffer(t)){var r=h0(t.length)|0,e=jr(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||m0(t.length)?jr(0):l0(t);if(t.type==="Buffer"&&Array.isArray(t.data))return l0(t.data)}function h0(t){if(t>=Ge)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ge.toString(16)+" bytes");return t|0}function Ux(t){return+t!=t&&(t=0),N.alloc(+t)}N.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==N.prototype};N.compare=function(r,e){if(Wr(r,Uint8Array)&&(r=N.from(r,r.offset,r.byteLength)),Wr(e,Uint8Array)&&(e=N.from(e,e.offset,e.byteLength)),!N.isBuffer(r)||!N.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var a=r.length,n=e.length,x=0,d=Math.min(a,n);x<d;++x)if(r[x]!==e[x]){a=r[x],n=e[x];break}return a<n?-1:n<a?1:0};N.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}};N.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return N.alloc(0);var a;if(e===void 0)for(e=0,a=0;a<r.length;++a)e+=r[a].length;var n=N.allocUnsafe(e),x=0;for(a=0;a<r.length;++a){var d=r[a];if(Wr(d,Uint8Array))x+d.length>n.length?N.from(d).copy(n,x):Uint8Array.prototype.set.call(n,d,x);else if(N.isBuffer(d))d.copy(n,x);else throw new TypeError('"list" argument must be an Array of Buffers');x+=d.length}return n};function Ot(t,r){if(N.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||Wr(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,a=arguments.length>2&&arguments[2]===!0;if(!a&&e===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return p0(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Wt(t).length;default:if(n)return a?-1:p0(t).length;r=(""+r).toLowerCase(),n=!0}}N.byteLength=Ot;function Px(t,r,e){var a=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return Mx(this,r,e);case"utf8":case"utf-8":return Mt(this,r,e);case"ascii":return Hx(this,r,e);case"latin1":case"binary":return Ix(this,r,e);case"base64":return Lx(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zx(this,r,e);default:if(a)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}N.prototype._isBuffer=!0;function ae(t,r,e){var a=t[r];t[r]=t[e],t[e]=a}N.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 e=0;e<r;e+=2)ae(this,e,e+1);return this};N.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 e=0;e<r;e+=4)ae(this,e,e+3),ae(this,e+1,e+2);return this};N.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 e=0;e<r;e+=8)ae(this,e,e+7),ae(this,e+1,e+6),ae(this,e+2,e+5),ae(this,e+3,e+4);return this};N.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?Mt(this,0,r):Px.apply(this,arguments)};N.prototype.toLocaleString=N.prototype.toString;N.prototype.equals=function(r){if(!N.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:N.compare(this,r)===0};N.prototype.inspect=function(){var r="",e=se.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};Nt&&(N.prototype[Nt]=N.prototype.inspect);N.prototype.compare=function(r,e,a,n,x){if(Wr(r,Uint8Array)&&(r=N.from(r,r.offset,r.byteLength)),!N.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),a===void 0&&(a=r?r.length:0),n===void 0&&(n=0),x===void 0&&(x=this.length),e<0||a>r.length||n<0||x>this.length)throw new RangeError("out of range index");if(n>=x&&e>=a)return 0;if(n>=x)return-1;if(e>=a)return 1;if(e>>>=0,a>>>=0,n>>>=0,x>>>=0,this===r)return 0;for(var d=x-n,A=a-e,p=Math.min(d,A),f=this.slice(n,x),H=r.slice(e,a),g=0;g<p;++g)if(f[g]!==H[g]){d=f[g],A=H[g];break}return d<A?-1:A<d?1:0};function Ht(t,r,e,a,n){if(t.length===0)return-1;if(typeof e=="string"?(a=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,m0(e)&&(e=n?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(n)return-1;e=t.length-1}else if(e<0)if(n)e=0;else return-1;if(typeof r=="string"&&(r=N.from(r,a)),N.isBuffer(r))return r.length===0?-1:It(t,r,e,a,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):It(t,[r],e,a,n);throw new TypeError("val must be string, number or Buffer")}function It(t,r,e,a,n){var x=1,d=t.length,A=r.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(t.length<2||r.length<2)return-1;x=2,d/=2,A/=2,e/=2}function p(X,P){return x===1?X[P]:X.readUInt16BE(P*x)}var f;if(n){var H=-1;for(f=e;f<d;f++)if(p(t,f)===p(r,H===-1?0:f-H)){if(H===-1&&(H=f),f-H+1===A)return H*x}else H!==-1&&(f-=f-H),H=-1}else for(e+A>d&&(e=d-A),f=e;f>=0;f--){for(var g=!0,_=0;_<A;_++)if(p(t,f+_)!==p(r,_)){g=!1;break}if(g)return f}return-1}N.prototype.includes=function(r,e,a){return this.indexOf(r,e,a)!==-1};N.prototype.indexOf=function(r,e,a){return Ht(this,r,e,a,!0)};N.prototype.lastIndexOf=function(r,e,a){return Ht(this,r,e,a,!1)};function Sx(t,r,e,a){e=Number(e)||0;var n=t.length-e;a?(a=Number(a),a>n&&(a=n)):a=n;var x=r.length;a>x/2&&(a=x/2);for(var d=0;d<a;++d){var A=parseInt(r.substr(d*2,2),16);if(m0(A))return d;t[e+d]=A}return d}function Dx(t,r,e,a){return Ye(p0(r,t.length-e),t,e,a)}function _x(t,r,e,a){return Ye(Yx(r),t,e,a)}function Nx(t,r,e,a){return Ye(Wt(r),t,e,a)}function Rx(t,r,e,a){return Ye(Wx(r,t.length-e),t,e,a)}N.prototype.write=function(r,e,a,n){if(e===void 0)n="utf8",a=this.length,e=0;else if(a===void 0&&typeof e=="string")n=e,a=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(a)?(a=a>>>0,n===void 0&&(n="utf8")):(n=a,a=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var x=this.length-e;if((a===void 0||a>x)&&(a=x),r.length>0&&(a<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var d=!1;;)switch(n){case"hex":return Sx(this,r,e,a);case"utf8":case"utf-8":return Dx(this,r,e,a);case"ascii":case"latin1":case"binary":return _x(this,r,e,a);case"base64":return Nx(this,r,e,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rx(this,r,e,a);default:if(d)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),d=!0}};N.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Lx(t,r,e){return r===0&&e===t.length?f0.fromByteArray(t):f0.fromByteArray(t.slice(r,e))}function Mt(t,r,e){e=Math.min(t.length,e);for(var a=[],n=r;n<e;){var x=t[n],d=null,A=x>239?4:x>223?3:x>191?2:1;if(n+A<=e){var p,f,H,g;switch(A){case 1:x<128&&(d=x);break;case 2:p=t[n+1],(p&192)==128&&(g=(x&31)<<6|p&63,g>127&&(d=g));break;case 3:p=t[n+1],f=t[n+2],(p&192)==128&&(f&192)==128&&(g=(x&15)<<12|(p&63)<<6|f&63,g>2047&&(g<55296||g>57343)&&(d=g));break;case 4:p=t[n+1],f=t[n+2],H=t[n+3],(p&192)==128&&(f&192)==128&&(H&192)==128&&(g=(x&15)<<18|(p&63)<<12|(f&63)<<6|H&63,g>65535&&g<1114112&&(d=g))}}d===null?(d=65533,A=1):d>65535&&(d-=65536,a.push(d>>>10&1023|55296),d=56320|d&1023),a.push(d),n+=A}return Ox(a)}var zt=4096;function Ox(t){var r=t.length;if(r<=zt)return String.fromCharCode.apply(String,t);for(var e="",a=0;a<r;)e+=String.fromCharCode.apply(String,t.slice(a,a+=zt));return e}function Hx(t,r,e){var a="";e=Math.min(t.length,e);for(var n=r;n<e;++n)a+=String.fromCharCode(t[n]&127);return a}function Ix(t,r,e){var a="";e=Math.min(t.length,e);for(var n=r;n<e;++n)a+=String.fromCharCode(t[n]);return a}function Mx(t,r,e){var a=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>a)&&(e=a);for(var n="",x=r;x<e;++x)n+=qx[t[x]];return n}function zx(t,r,e){for(var a=t.slice(r,e),n="",x=0;x<a.length-1;x+=2)n+=String.fromCharCode(a[x]+a[x+1]*256);return n}N.prototype.slice=function(r,e){var a=this.length;r=~~r,e=e===void 0?a:~~e,r<0?(r+=a,r<0&&(r=0)):r>a&&(r=a),e<0?(e+=a,e<0&&(e=0)):e>a&&(e=a),e<r&&(e=r);var n=this.subarray(r,e);return Object.setPrototypeOf(n,N.prototype),n};function Rr(t,r,e){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}N.prototype.readUintLE=N.prototype.readUIntLE=function(r,e,a){r=r>>>0,e=e>>>0,a||Rr(r,e,this.length);for(var n=this[r],x=1,d=0;++d<e&&(x*=256);)n+=this[r+d]*x;return n};N.prototype.readUintBE=N.prototype.readUIntBE=function(r,e,a){r=r>>>0,e=e>>>0,a||Rr(r,e,this.length);for(var n=this[r+--e],x=1;e>0&&(x*=256);)n+=this[r+--e]*x;return n};N.prototype.readUint8=N.prototype.readUInt8=function(r,e){return r=r>>>0,e||Rr(r,1,this.length),this[r]};N.prototype.readUint16LE=N.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||Rr(r,2,this.length),this[r]|this[r+1]<<8};N.prototype.readUint16BE=N.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||Rr(r,2,this.length),this[r]<<8|this[r+1]};N.prototype.readUint32LE=N.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||Rr(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};N.prototype.readUint32BE=N.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||Rr(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};N.prototype.readIntLE=function(r,e,a){r=r>>>0,e=e>>>0,a||Rr(r,e,this.length);for(var n=this[r],x=1,d=0;++d<e&&(x*=256);)n+=this[r+d]*x;return x*=128,n>=x&&(n-=Math.pow(2,8*e)),n};N.prototype.readIntBE=function(r,e,a){r=r>>>0,e=e>>>0,a||Rr(r,e,this.length);for(var n=e,x=1,d=this[r+--n];n>0&&(x*=256);)d+=this[r+--n]*x;return x*=128,d>=x&&(d-=Math.pow(2,8*e)),d};N.prototype.readInt8=function(r,e){return r=r>>>0,e||Rr(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};N.prototype.readInt16LE=function(r,e){r=r>>>0,e||Rr(r,2,this.length);var a=this[r]|this[r+1]<<8;return a&32768?a|4294901760:a};N.prototype.readInt16BE=function(r,e){r=r>>>0,e||Rr(r,2,this.length);var a=this[r+1]|this[r]<<8;return a&32768?a|4294901760:a};N.prototype.readInt32LE=function(r,e){return r=r>>>0,e||Rr(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};N.prototype.readInt32BE=function(r,e){return r=r>>>0,e||Rr(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};N.prototype.readFloatLE=function(r,e){return r=r>>>0,e||Rr(r,4,this.length),xe.read(this,r,!0,23,4)};N.prototype.readFloatBE=function(r,e){return r=r>>>0,e||Rr(r,4,this.length),xe.read(this,r,!1,23,4)};N.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||Rr(r,8,this.length),xe.read(this,r,!0,52,8)};N.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||Rr(r,8,this.length),xe.read(this,r,!1,52,8)};function Or(t,r,e,a,n,x){if(!N.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<x)throw new RangeError('"value" argument is out of bounds');if(e+a>t.length)throw new RangeError("Index out of range")}N.prototype.writeUintLE=N.prototype.writeUIntLE=function(r,e,a,n){if(r=+r,e=e>>>0,a=a>>>0,!n){var x=Math.pow(2,8*a)-1;Or(this,r,e,a,x,0)}var d=1,A=0;for(this[e]=r&255;++A<a&&(d*=256);)this[e+A]=r/d&255;return e+a};N.prototype.writeUintBE=N.prototype.writeUIntBE=function(r,e,a,n){if(r=+r,e=e>>>0,a=a>>>0,!n){var x=Math.pow(2,8*a)-1;Or(this,r,e,a,x,0)}var d=a-1,A=1;for(this[e+d]=r&255;--d>=0&&(A*=256);)this[e+d]=r/A&255;return e+a};N.prototype.writeUint8=N.prototype.writeUInt8=function(r,e,a){return r=+r,e=e>>>0,a||Or(this,r,e,1,255,0),this[e]=r&255,e+1};N.prototype.writeUint16LE=N.prototype.writeUInt16LE=function(r,e,a){return r=+r,e=e>>>0,a||Or(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};N.prototype.writeUint16BE=N.prototype.writeUInt16BE=function(r,e,a){return r=+r,e=e>>>0,a||Or(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};N.prototype.writeUint32LE=N.prototype.writeUInt32LE=function(r,e,a){return r=+r,e=e>>>0,a||Or(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};N.prototype.writeUint32BE=N.prototype.writeUInt32BE=function(r,e,a){return r=+r,e=e>>>0,a||Or(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};N.prototype.writeIntLE=function(r,e,a,n){if(r=+r,e=e>>>0,!n){var x=Math.pow(2,8*a-1);Or(this,r,e,a,x-1,-x)}var d=0,A=1,p=0;for(this[e]=r&255;++d<a&&(A*=256);)r<0&&p===0&&this[e+d-1]!==0&&(p=1),this[e+d]=(r/A>>0)-p&255;return e+a};N.prototype.writeIntBE=function(r,e,a,n){if(r=+r,e=e>>>0,!n){var x=Math.pow(2,8*a-1);Or(this,r,e,a,x-1,-x)}var d=a-1,A=1,p=0;for(this[e+d]=r&255;--d>=0&&(A*=256);)r<0&&p===0&&this[e+d+1]!==0&&(p=1),this[e+d]=(r/A>>0)-p&255;return e+a};N.prototype.writeInt8=function(r,e,a){return r=+r,e=e>>>0,a||Or(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};N.prototype.writeInt16LE=function(r,e,a){return r=+r,e=e>>>0,a||Or(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};N.prototype.writeInt16BE=function(r,e,a){return r=+r,e=e>>>0,a||Or(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};N.prototype.writeInt32LE=function(r,e,a){return r=+r,e=e>>>0,a||Or(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};N.prototype.writeInt32BE=function(r,e,a){return r=+r,e=e>>>0,a||Or(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Xt(t,r,e,a,n,x){if(e+a>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Gt(t,r,e,a,n){return r=+r,e=e>>>0,n||Xt(t,r,e,4,34028234663852886e22,-34028234663852886e22),xe.write(t,r,e,a,23,4),e+4}N.prototype.writeFloatLE=function(r,e,a){return Gt(this,r,e,!0,a)};N.prototype.writeFloatBE=function(r,e,a){return Gt(this,r,e,!1,a)};function Yt(t,r,e,a,n){return r=+r,e=e>>>0,n||Xt(t,r,e,8,17976931348623157e292,-17976931348623157e292),xe.write(t,r,e,a,52,8),e+8}N.prototype.writeDoubleLE=function(r,e,a){return Yt(this,r,e,!0,a)};N.prototype.writeDoubleBE=function(r,e,a){return Yt(this,r,e,!1,a)};N.prototype.copy=function(r,e,a,n){if(!N.isBuffer(r))throw new TypeError("argument should be a Buffer");if(a||(a=0),!n&&n!==0&&(n=this.length),e>=r.length&&(e=r.length),e||(e=0),n>0&&n<a&&(n=a),n===a||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(a<0||a>=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),r.length-e<n-a&&(n=r.length-e+a);var x=n-a;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,a,n):Uint8Array.prototype.set.call(r,this.subarray(a,n),e),x};N.prototype.fill=function(r,e,a,n){if(typeof r=="string"){if(typeof e=="string"?(n=e,e=0,a=this.length):typeof a=="string"&&(n=a,a=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!N.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var x=r.charCodeAt(0);(n==="utf8"&&x<128||n==="latin1")&&(r=x)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<a)throw new RangeError("Out of range index");if(a<=e)return this;e=e>>>0,a=a===void 0?this.length:a>>>0,r||(r=0);var d;if(typeof r=="number")for(d=e;d<a;++d)this[d]=r;else{var A=N.isBuffer(r)?r:N.from(r,n),p=A.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(d=0;d<a-e;++d)this[d+e]=A[d%p]}return this};var Xx=/[^+/0-9A-Za-z-_]/g;function Gx(t){if(t=t.split("=")[0],t=t.trim().replace(Xx,""),t.length<2)return"";for(;t.length%4!=0;)t=t+"=";return t}function p0(t,r){r=r||1/0;for(var e,a=t.length,n=null,x=[],d=0;d<a;++d){if(e=t.charCodeAt(d),e>55295&&e<57344){if(!n){if(e>56319){(r-=3)>-1&&x.push(239,191,189);continue}else if(d+1===a){(r-=3)>-1&&x.push(239,191,189);continue}n=e;continue}if(e<56320){(r-=3)>-1&&x.push(239,191,189),n=e;continue}e=(n-55296<<10|e-56320)+65536}else n&&(r-=3)>-1&&x.push(239,191,189);if(n=null,e<128){if((r-=1)<0)break;x.push(e)}else if(e<2048){if((r-=2)<0)break;x.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;x.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;x.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return x}function Yx(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Wx(t,r){for(var e,a,n,x=[],d=0;d<t.length&&!((r-=2)<0);++d)e=t.charCodeAt(d),a=e>>8,n=e%256,x.push(n),x.push(a);return x}function Wt(t){return f0.toByteArray(Gx(t))}function Ye(t,r,e,a){for(var n=0;n<a&&!(n+e>=r.length||n>=t.length);++n)r[n+e]=t[n];return n}function Wr(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function m0(t){return t!==t}var qx=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var a=e*16,n=0;n<16;++n)r[a+n]=t[e]+t[n];return r}()});var A0=$r((Of,$e)=>{(function(){"use strict";var t="input is invalid type",r="finalize already called",e=typeof window=="object",a=e?window:{};a.JS_SHA3_NO_WINDOW&&(e=!1);var n=!e&&typeof self=="object",x=!a.JS_SHA3_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;x?a=window:n&&(a=self);var d=!a.JS_SHA3_NO_COMMON_JS&&typeof $e=="object"&&$e.exports,A=typeof define=="function"&&define.amd,p=!a.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer!="undefined",f="0123456789abcdef".split(""),H=[31,7936,2031616,520093696],g=[4,1024,262144,67108864],_=[1,256,65536,16777216],X=[6,1536,393216,100663296],P=[0,8,16,24],rr=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],Z=[224,256,384,512],er=[128,256],xr=["hex","buffer","arrayBuffer","array","digest"],tr={"128":168,"256":136};(a.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(c){return Object.prototype.toString.call(c)==="[object Array]"}),p&&(a.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(c){return typeof c=="object"&&c.buffer&&c.buffer.constructor===ArrayBuffer});for(var or=function(c,O,D){return function(b){return new Q(c,O,c).update(b)[D]()}},W=function(c,O,D){return function(b,i){return new Q(c,O,i).update(b)[D]()}},m=function(c,O,D){return function(b,i,o,s){return q["cshake"+c].update(b,i,o,s)[D]()}},I=function(c,O,D){return function(b,i,o,s){return q["kmac"+c].update(b,i,o,s)[D]()}},G=function(c,O,D,b){for(var i=0;i<xr.length;++i){var o=xr[i];c[o]=O(D,b,o)}return c},T=function(c,O){var D=or(c,O,"hex");return D.create=function(){return new Q(c,O,c)},D.update=function(b){return D.create().update(b)},G(D,or,c,O)},L=function(c,O){var D=W(c,O,"hex");return D.create=function(b){return new Q(c,O,b)},D.update=function(b,i){return D.create(i).update(b)},G(D,W,c,O)},R=function(c,O){var D=tr[c],b=m(c,O,"hex");return b.create=function(i,o,s){return!o&&!s?q["shake"+c].create(i):new Q(c,O,i).bytepad([o,s],D)},b.update=function(i,o,s,l){return b.create(o,s,l).update(i)},G(b,m,c,O)},z=function(c,O){var D=tr[c],b=I(c,O,"hex");return b.create=function(i,o,s){return new B(c,O,o).bytepad(["KMAC",s],D).bytepad([i],D)},b.update=function(i,o,s,l){return b.create(i,s,l).update(o)},G(b,I,c,O)},E=[{name:"keccak",padding:_,bits:Z,createMethod:T},{name:"sha3",padding:X,bits:Z,createMethod:T},{name:"shake",padding:H,bits:er,createMethod:L},{name:"cshake",padding:g,bits:er,createMethod:R},{name:"kmac",padding:g,bits:er,createMethod:z}],q={},K=[],J=0;J<E.length;++J)for(var sr=E[J],pr=sr.bits,hr=0;hr<pr.length;++hr){var Cr=sr.name+"_"+pr[hr];if(K.push(Cr),q[Cr]=sr.createMethod(pr[hr],sr.padding),sr.name!=="sha3"){var yr=sr.name+pr[hr];K.push(yr),q[yr]=q[Cr]}}function Q(c,O,D){this.blocks=[],this.s=[],this.padding=O,this.outputBits=D,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(c<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=D>>5,this.extraBytes=(D&31)>>3;for(var b=0;b<50;++b)this.s[b]=0}Q.prototype.update=function(c){if(this.finalized)throw new Error(r);var O,D=typeof c;if(D!=="string"){if(D==="object"){if(c===null)throw new Error(t);if(p&&c.constructor===ArrayBuffer)c=new Uint8Array(c);else if(!Array.isArray(c)&&(!p||!ArrayBuffer.isView(c)))throw new Error(t)}else throw new Error(t);O=!0}for(var b=this.blocks,i=this.byteCount,o=c.length,s=this.blockCount,l=0,h=this.s,u,C;l<o;){if(this.reset)for(this.reset=!1,b[0]=this.block,u=1;u<s+1;++u)b[u]=0;if(O)for(u=this.start;l<o&&u<i;++l)b[u>>2]|=c[l]<<P[u++&3];else for(u=this.start;l<o&&u<i;++l)C=c.charCodeAt(l),C<128?b[u>>2]|=C<<P[u++&3]:C<2048?(b[u>>2]|=(192|C>>6)<<P[u++&3],b[u>>2]|=(128|C&63)<<P[u++&3]):C<55296||C>=57344?(b[u>>2]|=(224|C>>12)<<P[u++&3],b[u>>2]|=(128|C>>6&63)<<P[u++&3],b[u>>2]|=(128|C&63)<<P[u++&3]):(C=65536+((C&1023)<<10|c.charCodeAt(++l)&1023),b[u>>2]|=(240|C>>18)<<P[u++&3],b[u>>2]|=(128|C>>12&63)<<P[u++&3],b[u>>2]|=(128|C>>6&63)<<P[u++&3],b[u>>2]|=(128|C&63)<<P[u++&3]);if(this.lastByteIndex=u,u>=i){for(this.start=u-i,this.block=b[s],u=0;u<s;++u)h[u]^=b[u];Ar(h),this.reset=!0}else this.start=u}return this},Q.prototype.encode=function(c,O){var D=c&255,b=1,i=[D];for(c=c>>8,D=c&255;D>0;)i.unshift(D),c=c>>8,D=c&255,++b;return O?i.push(b):i.unshift(b),this.update(i),i.length},Q.prototype.encodeString=function(c){var O,D=typeof c;if(D!=="string"){if(D==="object"){if(c===null)throw new Error(t);if(p&&c.constructor===ArrayBuffer)c=new Uint8Array(c);else if(!Array.isArray(c)&&(!p||!ArrayBuffer.isView(c)))throw new Error(t)}else throw new Error(t);O=!0}var b=0,i=c.length;if(O)b=i;else for(var o=0;o<c.length;++o){var s=c.charCodeAt(o);s<128?b+=1:s<2048?b+=2:s<55296||s>=57344?b+=3:(s=65536+((s&1023)<<10|c.charCodeAt(++o)&1023),b+=4)}return b+=this.encode(b*8),this.update(c),b},Q.prototype.bytepad=function(c,O){for(var D=this.encode(O),b=0;b<c.length;++b)D+=this.encodeString(c[b]);var i=O-D%O,o=[];return o.length=i,this.update(o),this},Q.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var c=this.blocks,O=this.lastByteIndex,D=this.blockCount,b=this.s;if(c[O>>2]|=this.padding[O&3],this.lastByteIndex===this.byteCount)for(c[0]=c[D],O=1;O<D+1;++O)c[O]=0;for(c[D-1]|=2147483648,O=0;O<D;++O)b[O]^=c[O];Ar(b)}},Q.prototype.toString=Q.prototype.hex=function(){this.finalize();for(var c=this.blockCount,O=this.s,D=this.outputBlocks,b=this.extraBytes,i=0,o=0,s="",l;o<D;){for(i=0;i<c&&o<D;++i,++o)l=O[i],s+=f[l>>4&15]+f[l&15]+f[l>>12&15]+f[l>>8&15]+f[l>>20&15]+f[l>>16&15]+f[l>>28&15]+f[l>>24&15];o%c==0&&(Ar(O),i=0)}return b&&(l=O[i],s+=f[l>>4&15]+f[l&15],b>1&&(s+=f[l>>12&15]+f[l>>8&15]),b>2&&(s+=f[l>>20&15]+f[l>>16&15])),s},Q.prototype.arrayBuffer=function(){this.finalize();var c=this.blockCount,O=this.s,D=this.outputBlocks,b=this.extraBytes,i=0,o=0,s=this.outputBits>>3,l;b?l=new ArrayBuffer(D+1<<2):l=new ArrayBuffer(s);for(var h=new Uint32Array(l);o<D;){for(i=0;i<c&&o<D;++i,++o)h[o]=O[i];o%c==0&&Ar(O)}return b&&(h[i]=O[i],l=l.slice(0,s)),l},Q.prototype.buffer=Q.prototype.arrayBuffer,Q.prototype.digest=Q.prototype.array=function(){this.finalize();for(var c=this.blockCount,O=this.s,D=this.outputBlocks,b=this.extraBytes,i=0,o=0,s=[],l,h;o<D;){for(i=0;i<c&&o<D;++i,++o)l=o<<2,h=O[i],s[l]=h&255,s[l+1]=h>>8&255,s[l+2]=h>>16&255,s[l+3]=h>>24&255;o%c==0&&Ar(O)}return b&&(l=o<<2,h=O[i],s[l]=h&255,b>1&&(s[l+1]=h>>8&255),b>2&&(s[l+2]=h>>16&255)),s};function B(c,O,D){Q.call(this,c,O,D)}B.prototype=new Q,B.prototype.finalize=function(){return this.encode(this.outputBits,!0),Q.prototype.finalize.call(this)};var Ar=function(c){var O,D,b,i,o,s,l,h,u,C,y,F,w,V,S,j,M,Y,ar,nr,ir,cr,lr,gr,wr,Er,Fr,Vr,mr,ur,fr,kr,Ur,Pr,Sr,Dr,_r,Nr,ye,Fe,be,Ce,Ae,Ve,ge,we,Ee,Be,ve,Te,ke,Ue,Pe,Se,De,_e,Ne,Re,Le,Oe,He,Ie,Me;for(b=0;b<48;b+=2)i=c[0]^c[10]^c[20]^c[30]^c[40],o=c[1]^c[11]^c[21]^c[31]^c[41],s=c[2]^c[12]^c[22]^c[32]^c[42],l=c[3]^c[13]^c[23]^c[33]^c[43],h=c[4]^c[14]^c[24]^c[34]^c[44],u=c[5]^c[15]^c[25]^c[35]^c[45],C=c[6]^c[16]^c[26]^c[36]^c[46],y=c[7]^c[17]^c[27]^c[37]^c[47],F=c[8]^c[18]^c[28]^c[38]^c[48],w=c[9]^c[19]^c[29]^c[39]^c[49],O=F^(s<<1|l>>>31),D=w^(l<<1|s>>>31),c[0]^=O,c[1]^=D,c[10]^=O,c[11]^=D,c[20]^=O,c[21]^=D,c[30]^=O,c[31]^=D,c[40]^=O,c[41]^=D,O=i^(h<<1|u>>>31),D=o^(u<<1|h>>>31),c[2]^=O,c[3]^=D,c[12]^=O,c[13]^=D,c[22]^=O,c[23]^=D,c[32]^=O,c[33]^=D,c[42]^=O,c[43]^=D,O=s^(C<<1|y>>>31),D=l^(y<<1|C>>>31),c[4]^=O,c[5]^=D,c[14]^=O,c[15]^=D,c[24]^=O,c[25]^=D,c[34]^=O,c[35]^=D,c[44]^=O,c[45]^=D,O=h^(F<<1|w>>>31),D=u^(w<<1|F>>>31),c[6]^=O,c[7]^=D,c[16]^=O,c[17]^=D,c[26]^=O,c[27]^=D,c[36]^=O,c[37]^=D,c[46]^=O,c[47]^=D,O=C^(i<<1|o>>>31),D=y^(o<<1|i>>>31),c[8]^=O,c[9]^=D,c[18]^=O,c[19]^=D,c[28]^=O,c[29]^=D,c[38]^=O,c[39]^=D,c[48]^=O,c[49]^=D,V=c[0],S=c[1],we=c[11]<<4|c[10]>>>28,Ee=c[10]<<4|c[11]>>>28,Vr=c[20]<<3|c[21]>>>29,mr=c[21]<<3|c[20]>>>29,Oe=c[31]<<9|c[30]>>>23,He=c[30]<<9|c[31]>>>23,Ce=c[40]<<18|c[41]>>>14,Ae=c[41]<<18|c[40]>>>14,Pr=c[2]<<1|c[3]>>>31,Sr=c[3]<<1|c[2]>>>31,j=c[13]<<12|c[12]>>>20,M=c[12]<<12|c[13]>>>20,Be=c[22]<<10|c[23]>>>22,ve=c[23]<<10|c[22]>>>22,ur=c[33]<<13|c[32]>>>19,fr=c[32]<<13|c[33]>>>19,Ie=c[42]<<2|c[43]>>>30,Me=c[43]<<2|c[42]>>>30,Se=c[5]<<30|c[4]>>>2,De=c[4]<<30|c[5]>>>2,Dr=c[14]<<6|c[15]>>>26,_r=c[15]<<6|c[14]>>>26,Y=c[25]<<11|c[24]>>>21,ar=c[24]<<11|c[25]>>>21,Te=c[34]<<15|c[35]>>>17,ke=c[35]<<15|c[34]>>>17,kr=c[45]<<29|c[44]>>>3,Ur=c[44]<<29|c[45]>>>3,gr=c[6]<<28|c[7]>>>4,wr=c[7]<<28|c[6]>>>4,_e=c[17]<<23|c[16]>>>9,Ne=c[16]<<23|c[17]>>>9,Nr=c[26]<<25|c[27]>>>7,ye=c[27]<<25|c[26]>>>7,nr=c[36]<<21|c[37]>>>11,ir=c[37]<<21|c[36]>>>11,Ue=c[47]<<24|c[46]>>>8,Pe=c[46]<<24|c[47]>>>8,Ve=c[8]<<27|c[9]>>>5,ge=c[9]<<27|c[8]>>>5,Er=c[18]<<20|c[19]>>>12,Fr=c[19]<<20|c[18]>>>12,Re=c[29]<<7|c[28]>>>25,Le=c[28]<<7|c[29]>>>25,Fe=c[38]<<8|c[39]>>>24,be=c[39]<<8|c[38]>>>24,cr=c[48]<<14|c[49]>>>18,lr=c[49]<<14|c[48]>>>18,c[0]=V^~j&Y,c[1]=S^~M&ar,c[10]=gr^~Er&Vr,c[11]=wr^~Fr&mr,c[20]=Pr^~Dr&Nr,c[21]=Sr^~_r&ye,c[30]=Ve^~we&Be,c[31]=ge^~Ee&ve,c[40]=Se^~_e&Re,c[41]=De^~Ne&Le,c[2]=j^~Y&nr,c[3]=M^~ar&ir,c[12]=Er^~Vr&ur,c[13]=Fr^~mr&fr,c[22]=Dr^~Nr&Fe,c[23]=_r^~ye&be,c[32]=we^~Be&Te,c[33]=Ee^~ve&ke,c[42]=_e^~Re&Oe,c[43]=Ne^~Le&He,c[4]=Y^~nr&cr,c[5]=ar^~ir&lr,c[14]=Vr^~ur&kr,c[15]=mr^~fr&Ur,c[24]=Nr^~Fe&Ce,c[25]=ye^~be&Ae,c[34]=Be^~Te&Ue,c[35]=ve^~ke&Pe,c[44]=Re^~Oe&Ie,c[45]=Le^~He&Me,c[6]=nr^~cr&V,c[7]=ir^~lr&S,c[16]=ur^~kr&gr,c[17]=fr^~Ur&wr,c[26]=Fe^~Ce&Pr,c[27]=be^~Ae&Sr,c[36]=Te^~Ue&Ve,c[37]=ke^~Pe&ge,c[46]=Oe^~Ie&Se,c[47]=He^~Me&De,c[8]=cr^~V&j,c[9]=lr^~S&M,c[18]=kr^~gr&Er,c[19]=Ur^~wr&Fr,c[28]=Ce^~Pr&Dr,c[29]=Ae^~Sr&_r,c[38]=Ue^~Ve&we,c[39]=Pe^~ge&Ee,c[48]=Ie^~Se&_e,c[49]=Me^~De&Ne,c[0]^=rr[b],c[1]^=rr[b+1]};if(d)$e.exports=q;else{for(J=0;J<K.length;++J)a[K[J]]=q[K[J]];A&&define(function(){return q})}})()});var ba=$r((V0,Fa)=>{var je=Br(),Kr=je.Buffer;function ya(t,r){for(var e in t)r[e]=t[e]}Kr.from&&Kr.alloc&&Kr.allocUnsafe&&Kr.allocUnsafeSlow?Fa.exports=je:(ya(je,V0),V0.Buffer=oe);function oe(t,r,e){return Kr(t,r,e)}oe.prototype=Object.create(Kr.prototype);ya(Kr,oe);oe.from=function(t,r,e){if(typeof t=="number")throw new TypeError("Argument must not be a number");return Kr(t,r,e)};oe.alloc=function(t,r,e){if(typeof t!="number")throw new TypeError("Argument must be a number");var a=Kr(t);return r!==void 0?typeof e=="string"?a.fill(r,e):a.fill(r):a.fill(0),a};oe.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return Kr(t)};oe.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return je.SlowBuffer(t)}});var de=$r((Mf,Ca)=>{"use strict";var Je=ba().Buffer;function ms(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),e=0;e<r.length;e++)r[e]=255;for(var a=0;a<t.length;a++){var n=t.charAt(a),x=n.charCodeAt(0);if(r[x]!==255)throw new TypeError(n+" is ambiguous");r[x]=a}var d=t.length,A=t.charAt(0),p=Math.log(d)/Math.log(256),f=Math.log(256)/Math.log(d);function H(X){if((Array.isArray(X)||X instanceof Uint8Array)&&(X=Je.from(X)),!Je.isBuffer(X))throw new TypeError("Expected Buffer");if(X.length===0)return"";for(var P=0,rr=0,Z=0,er=X.length;Z!==er&&X[Z]===0;)Z++,P++;for(var xr=(er-Z)*f+1>>>0,tr=new Uint8Array(xr);Z!==er;){for(var or=X[Z],W=0,m=xr-1;(or!==0||W<rr)&&m!==-1;m--,W++)or+=256*tr[m]>>>0,tr[m]=or%d>>>0,or=or/d>>>0;if(or!==0)throw new Error("Non-zero carry");rr=W,Z++}for(var I=xr-rr;I!==xr&&tr[I]===0;)I++;for(var G=A.repeat(P);I<xr;++I)G+=t.charAt(tr[I]);return G}function g(X){if(typeof X!="string")throw new TypeError("Expected String");if(X.length===0)return Je.alloc(0);for(var P=0,rr=0,Z=0;X[P]===A;)rr++,P++;for(var er=(X.length-P)*p+1>>>0,xr=new Uint8Array(er);X[P];){var tr=r[X.charCodeAt(P)];if(tr===255)return;for(var or=0,W=er-1;(tr!==0||or<Z)&&W!==-1;W--,or++)tr+=d*xr[W]>>>0,xr[W]=tr%256>>>0,tr=tr/256>>>0;if(tr!==0)throw new Error("Non-zero carry");Z=or,P++}for(var m=er-Z;m!==er&&xr[m]===0;)m++;var I=Je.allocUnsafe(rr+(er-m));I.fill(0,0,rr);for(var G=rr;m!==er;)I[G++]=xr[m++];return I}function _(X){var P=g(X);if(P)return P;throw new Error("Non-base"+d+" character")}return{encode:H,decodeUnsafe:g,decode:_}}Ca.exports=ms});var Ga=$r((q1,e0)=>{(function(){"use strict";var t="input is invalid type",r="finalize already called",e=typeof window=="object",a=e?window:{};a.JS_SHA512_NO_WINDOW&&(e=!1);var n=!e&&typeof self=="object",x=!a.JS_SHA512_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;x?a=window:n&&(a=self);var d=!a.JS_SHA512_NO_COMMON_JS&&typeof e0=="object"&&e0.exports,A=typeof define=="function"&&define.amd,p=!a.JS_SHA512_NO_ARRAY_BUFFER&&typeof ArrayBuffer!="undefined",f="0123456789abcdef".split(""),H=[-2147483648,8388608,32768,128],g=[24,16,8,0],_=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],X=["hex","array","digest","arrayBuffer"],P=[];(a.JS_SHA512_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(m){return Object.prototype.toString.call(m)==="[object Array]"}),p&&(a.JS_SHA512_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(m){return typeof m=="object"&&m.buffer&&m.buffer.constructor===ArrayBuffer});var rr=function(m,I){return function(G){return new tr(I,!0).update(G)[m]()}},Z=function(m){var I=rr("hex",m);I.create=function(){return new tr(m)},I.update=function(L){return I.create().update(L)};for(var G=0;G<X.length;++G){var T=X[G];I[T]=rr(T,m)}return I},er=function(m,I){return function(G,T){return new or(G,I,!0).update(T)[m]()}},xr=function(m){var I=er("hex",m);I.create=function(L){return new or(L,m)},I.update=function(L,R){return I.create(L).update(R)};for(var G=0;G<X.length;++G){var T=X[G];I[T]=er(T,m)}return I};function tr(m,I){I?(P[0]=P[1]=P[2]=P[3]=P[4]=P[5]=P[6]=P[7]=P[8]=P[9]=P[10]=P[11]=P[12]=P[13]=P[14]=P[15]=P[16]=P[17]=P[18]=P[19]=P[20]=P[21]=P[22]=P[23]=P[24]=P[25]=P[26]=P[27]=P[28]=P[29]=P[30]=P[31]=P[32]=0,this.blocks=P):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],m==384?(this.h0h=3418070365,this.h0l=3238371032,this.h1h=1654270250,this.h1l=914150663,this.h2h=2438529370,this.h2l=812702999,this.h3h=355462360,this.h3l=4144912697,this.h4h=1731405415,this.h4l=4290775857,this.h5h=2394180231,this.h5l=1750603025,this.h6h=3675008525,this.h6l=1694076839,this.h7h=1203062813,this.h7l=3204075428):m==256?(this.h0h=573645204,this.h0l=4230739756,this.h1h=2673172387,this.h1l=3360449730,this.h2h=596883563,this.h2l=1867755857,this.h3h=2520282905,this.h3l=1497426621,this.h4h=2519219938,this.h4l=2827943907,this.h5h=3193839141,this.h5l=1401305490,this.h6h=721525244,this.h6l=746961066,this.h7h=246885852,this.h7l=2177182882):m==224?(this.h0h=2352822216,this.h0l=424955298,this.h1h=1944164710,this.h1l=2312950998,this.h2h=502970286,this.h2l=855612546,this.h3h=1738396948,this.h3l=1479516111,this.h4h=258812777,this.h4l=2077511080,this.h5h=2011393907,this.h5l=79989058,this.h6h=1067287976,this.h6l=1780299464,this.h7h=286451373,this.h7l=2446758561):(this.h0h=1779033703,this.h0l=4089235720,this.h1h=3144134277,this.h1l=2227873595,this.h2h=1013904242,this.h2l=4271175723,this.h3h=2773480762,this.h3l=1595750129,this.h4h=1359893119,this.h4l=2917565137,this.h5h=2600822924,this.h5l=725511199,this.h6h=528734635,this.h6l=4215389547,this.h7h=1541459225,this.h7l=327033209),this.bits=m,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1}tr.prototype.update=function(m){if(this.finalized)throw new Error(r);var I,G=typeof m;if(G!=="string"){if(G==="object"){if(m===null)throw new Error(t);if(p&&m.constructor===ArrayBuffer)m=new Uint8Array(m);else if(!Array.isArray(m)&&(!p||!ArrayBuffer.isView(m)))throw new Error(t)}else throw new Error(t);I=!0}for(var T,L=0,R,z=m.length,E=this.blocks;L<z;){if(this.hashed&&(this.hashed=!1,E[0]=this.block,E[1]=E[2]=E[3]=E[4]=E[5]=E[6]=E[7]=E[8]=E[9]=E[10]=E[11]=E[12]=E[13]=E[14]=E[15]=E[16]=E[17]=E[18]=E[19]=E[20]=E[21]=E[22]=E[23]=E[24]=E[25]=E[26]=E[27]=E[28]=E[29]=E[30]=E[31]=E[32]=0),I)for(R=this.start;L<z&&R<128;++L)E[R>>2]|=m[L]<<g[R++&3];else for(R=this.start;L<z&&R<128;++L)T=m.charCodeAt(L),T<128?E[R>>2]|=T<<g[R++&3]:T<2048?(E[R>>2]|=(192|T>>6)<<g[R++&3],E[R>>2]|=(128|T&63)<<g[R++&3]):T<55296||T>=57344?(E[R>>2]|=(224|T>>12)<<g[R++&3],E[R>>2]|=(128|T>>6&63)<<g[R++&3],E[R>>2]|=(128|T&63)<<g[R++&3]):(T=65536+((T&1023)<<10|m.charCodeAt(++L)&1023),E[R>>2]|=(240|T>>18)<<g[R++&3],E[R>>2]|=(128|T>>12&63)<<g[R++&3],E[R>>2]|=(128|T>>6&63)<<g[R++&3],E[R>>2]|=(128|T&63)<<g[R++&3]);this.lastByteIndex=R,this.bytes+=R-this.start,R>=128?(this.block=E[32],this.start=R-128,this.hash(),this.hashed=!0):this.start=R}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this},tr.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var m=this.blocks,I=this.lastByteIndex;m[32]=this.block,m[I>>2]|=H[I&3],this.block=m[32],I>=112&&(this.hashed||this.hash(),m[0]=this.block,m[1]=m[2]=m[3]=m[4]=m[5]=m[6]=m[7]=m[8]=m[9]=m[10]=m[11]=m[12]=m[13]=m[14]=m[15]=m[16]=m[17]=m[18]=m[19]=m[20]=m[21]=m[22]=m[23]=m[24]=m[25]=m[26]=m[27]=m[28]=m[29]=m[30]=m[31]=m[32]=0),m[30]=this.hBytes<<3|this.bytes>>>29,m[31]=this.bytes<<3,this.hash()}},tr.prototype.hash=function(){var m=this.h0h,I=this.h0l,G=this.h1h,T=this.h1l,L=this.h2h,R=this.h2l,z=this.h3h,E=this.h3l,q=this.h4h,K=this.h4l,J=this.h5h,sr=this.h5l,pr=this.h6h,hr=this.h6l,Cr=this.h7h,yr=this.h7l,Q=this.blocks,B,Ar,c,O,D,b,i,o,s,l,h,u,C,y,F,w,V,S,j,M,Y,ar,nr,ir,cr;for(B=32;B<160;B+=2)M=Q[B-30],Y=Q[B-29],Ar=(M>>>1|Y<<31)^(M>>>8|Y<<24)^M>>>7,c=(Y>>>1|M<<31)^(Y>>>8|M<<24)^(Y>>>7|M<<25),M=Q[B-4],Y=Q[B-3],O=(M>>>19|Y<<13)^(Y>>>29|M<<3)^M>>>6,D=(Y>>>19|M<<13)^(M>>>29|Y<<3)^(Y>>>6|M<<26),M=Q[B-32],Y=Q[B-31],ar=Q[B-14],nr=Q[B-13],b=(nr&65535)+(Y&65535)+(c&65535)+(D&65535),i=(nr>>>16)+(Y>>>16)+(c>>>16)+(D>>>16)+(b>>>16),o=(ar&65535)+(M&65535)+(Ar&65535)+(O&65535)+(i>>>16),s=(ar>>>16)+(M>>>16)+(Ar>>>16)+(O>>>16)+(o>>>16),Q[B]=s<<16|o&65535,Q[B+1]=i<<16|b&65535;var lr=m,gr=I,wr=G,Er=T,Fr=L,Vr=R,mr=z,ur=E,fr=q,kr=K,Ur=J,Pr=sr,Sr=pr,Dr=hr,_r=Cr,Nr=yr;for(w=wr&Fr,V=Er&Vr,B=0;B<160;B+=8)Ar=(lr>>>28|gr<<4)^(gr>>>2|lr<<30)^(gr>>>7|lr<<25),c=(gr>>>28|lr<<4)^(lr>>>2|gr<<30)^(lr>>>7|gr<<25),O=(fr>>>14|kr<<18)^(fr>>>18|kr<<14)^(kr>>>9|fr<<23),D=(kr>>>14|fr<<18)^(kr>>>18|fr<<14)^(fr>>>9|kr<<23),l=lr&wr,h=gr&Er,S=l^lr&Fr^w,j=h^gr&Vr^V,ir=fr&Ur^~fr&Sr,cr=kr&Pr^~kr&Dr,M=Q[B],Y=Q[B+1],ar=_[B],nr=_[B+1],b=(nr&65535)+(Y&65535)+(cr&65535)+(D&65535)+(Nr&65535),i=(nr>>>16)+(Y>>>16)+(cr>>>16)+(D>>>16)+(Nr>>>16)+(b>>>16),o=(ar&65535)+(M&65535)+(ir&65535)+(O&65535)+(_r&65535)+(i>>>16),s=(ar>>>16)+(M>>>16)+(ir>>>16)+(O>>>16)+(_r>>>16)+(o>>>16),M=s<<16|o&65535,Y=i<<16|b&65535,b=(j&65535)+(c&65535),i=(j>>>16)+(c>>>16)+(b>>>16),o=(S&65535)+(Ar&65535)+(i>>>16),s=(S>>>16)+(Ar>>>16)+(o>>>16),ar=s<<16|o&65535,nr=i<<16|b&65535,b=(ur&65535)+(Y&65535),i=(ur>>>16)+(Y>>>16)+(b>>>16),o=(mr&65535)+(M&65535)+(i>>>16),s=(mr>>>16)+(M>>>16)+(o>>>16),_r=s<<16|o&65535,Nr=i<<16|b&65535,b=(nr&65535)+(Y&65535),i=(nr>>>16)+(Y>>>16)+(b>>>16),o=(ar&65535)+(M&65535)+(i>>>16),s=(ar>>>16)+(M>>>16)+(o>>>16),mr=s<<16|o&65535,ur=i<<16|b&65535,Ar=(mr>>>28|ur<<4)^(ur>>>2|mr<<30)^(ur>>>7|mr<<25),c=(ur>>>28|mr<<4)^(mr>>>2|ur<<30)^(mr>>>7|ur<<25),O=(_r>>>14|Nr<<18)^(_r>>>18|Nr<<14)^(Nr>>>9|_r<<23),D=(Nr>>>14|_r<<18)^(Nr>>>18|_r<<14)^(_r>>>9|Nr<<23),u=mr&lr,C=ur&gr,S=u^mr&wr^l,j=C^ur&Er^h,ir=_r&fr^~_r&Ur,cr=Nr&kr^~Nr&Pr,M=Q[B+2],Y=Q[B+3],ar=_[B+2],nr=_[B+3],b=(nr&65535)+(Y&65535)+(cr&65535)+(D&65535)+(Dr&65535),i=(nr>>>16)+(Y>>>16)+(cr>>>16)+(D>>>16)+(Dr>>>16)+(b>>>16),o=(ar&65535)+(M&65535)+(ir&65535)+(O&65535)+(Sr&65535)+(i>>>16),s=(ar>>>16)+(M>>>16)+(ir>>>16)+(O>>>16)+(Sr>>>16)+(o>>>16),M=s<<16|o&65535,Y=i<<16|b&65535,b=(j&65535)+(c&65535),i=(j>>>16)+(c>>>16)+(b>>>16),o=(S&65535)+(Ar&65535)+(i>>>16),s=(S>>>16)+(Ar>>>16)+(o>>>16),ar=s<<16|o&65535,nr=i<<16|b&65535,b=(Vr&65535)+(Y&65535),i=(Vr>>>16)+(Y>>>16)+(b>>>16),o=(Fr&65535)+(M&65535)+(i>>>16),s=(Fr>>>16)+(M>>>16)+(o>>>16),Sr=s<<16|o&65535,Dr=i<<16|b&65535,b=(nr&65535)+(Y&65535),i=(nr>>>16)+(Y>>>16)+(b>>>16),o=(ar&65535)+(M&65535)+(i>>>16),s=(ar>>>16)+(M>>>16)+(o>>>16),Fr=s<<16|o&65535,Vr=i<<16|b&65535,Ar=(Fr>>>28|Vr<<4)^(Vr>>>2|Fr<<30)^(Vr>>>7|Fr<<25),c=(Vr>>>28|Fr<<4)^(Fr>>>2|Vr<<30)^(Fr>>>7|Vr<<25),O=(Sr>>>14|Dr<<18)^(Sr>>>18|Dr<<14)^(Dr>>>9|Sr<<23),D=(Dr>>>14|Sr<<18)^(Dr>>>18|Sr<<14)^(Sr>>>9|Dr<<23),y=Fr&mr,F=Vr&ur,S=y^Fr&lr^u,j=F^Vr&gr^C,ir=Sr&_r^~Sr&fr,cr=Dr&Nr^~Dr&kr,M=Q[B+4],Y=Q[B+5],ar=_[B+4],nr=_[B+5],b=(nr&65535)+(Y&65535)+(cr&65535)+(D&65535)+(Pr&65535),i=(nr>>>16)+(Y>>>16)+(cr>>>16)+(D>>>16)+(Pr>>>16)+(b>>>16),o=(ar&65535)+(M&65535)+(ir&65535)+(O&65535)+(Ur&65535)+(i>>>16),s=(ar>>>16)+(M>>>16)+(ir>>>16)+(O>>>16)+(Ur>>>16)+(o>>>16),M=s<<16|o&65535,Y=i<<16|b&65535,b=(j&65535)+(c&65535),i=(j>>>16)+(c>>>16)+(b>>>16),o=(S&65535)+(Ar&65535)+(i>>>16),s=(S>>>16)+(Ar>>>16)+(o>>>16),ar=s<<16|o&65535,nr=i<<16|b&65535,b=(Er&65535)+(Y&65535),i=(Er>>>16)+(Y>>>16)+(b>>>16),o=(wr&65535)+(M&65535)+(i>>>16),s=(wr>>>16)+(M>>>16)+(o>>>16),Ur=s<<16|o&65535,Pr=i<<16|b&65535,b=(nr&65535)+(Y&65535),i=(nr>>>16)+(Y>>>16)+(b>>>16),o=(ar&65535)+(M&65535)+(i>>>16),s=(ar>>>16)+(M>>>16)+(o>>>16),wr=s<<16|o&65535,Er=i<<16|b&65535,Ar=(wr>>>28|Er<<4)^(Er>>>2|wr<<30)^(Er>>>7|wr<<25),c=(Er>>>28|wr<<4)^(wr>>>2|Er<<30)^(wr>>>7|Er<<25),O=(Ur>>>14|Pr<<18)^(Ur>>>18|Pr<<14)^(Pr>>>9|Ur<<23),D=(Pr>>>14|Ur<<18)^(Pr>>>18|Ur<<14)^(Ur>>>9|Pr<<23),w=wr&Fr,V=Er&Vr,S=w^wr&mr^y,j=V^Er&ur^F,ir=Ur&Sr^~Ur&_r,cr=Pr&Dr^~Pr&Nr,M=Q[B+6],Y=Q[B+7],ar=_[B+6],nr=_[B+7],b=(nr&65535)+(Y&65535)+(cr&65535)+(D&65535)+(kr&65535),i=(nr>>>16)+(Y>>>16)+(cr>>>16)+(D>>>16)+(kr>>>16)+(b>>>16),o=(ar&65535)+(M&65535)+(ir&65535)+(O&65535)+(fr&65535)+(i>>>16),s=(ar>>>16)+(M>>>16)+(ir>>>16)+(O>>>16)+(fr>>>16)+(o>>>16),M=s<<16|o&65535,Y=i<<16|b&65535,b=(j&65535)+(c&65535),i=(j>>>16)+(c>>>16)+(b>>>16),o=(S&65535)+(Ar&65535)+(i>>>16),s=(S>>>16)+(Ar>>>16)+(o>>>16),ar=s<<16|o&65535,nr=i<<16|b&65535,b=(gr&65535)+(Y&65535),i=(gr>>>16)+(Y>>>16)+(b>>>16),o=(lr&65535)+(M&65535)+(i>>>16),s=(lr>>>16)+(M>>>16)+(o>>>16),fr=s<<16|o&65535,kr=i<<16|b&65535,b=(nr&65535)+(Y&65535),i=(nr>>>16)+(Y>>>16)+(b>>>16),o=(ar&65535)+(M&65535)+(i>>>16),s=(ar>>>16)+(M>>>16)+(o>>>16),lr=s<<16|o&65535,gr=i<<16|b&65535;b=(I&65535)+(gr&65535),i=(I>>>16)+(gr>>>16)+(b>>>16),o=(m&65535)+(lr&65535)+(i>>>16),s=(m>>>16)+(lr>>>16)+(o>>>16),this.h0h=s<<16|o&65535,this.h0l=i<<16|b&65535,b=(T&65535)+(Er&65535),i=(T>>>16)+(Er>>>16)+(b>>>16),o=(G&65535)+(wr&65535)+(i>>>16),s=(G>>>16)+(wr>>>16)+(o>>>16),this.h1h=s<<16|o&65535,this.h1l=i<<16|b&65535,b=(R&65535)+(Vr&65535),i=(R>>>16)+(Vr>>>16)+(b>>>16),o=(L&65535)+(Fr&65535)+(i>>>16),s=(L>>>16)+(Fr>>>16)+(o>>>16),this.h2h=s<<16|o&65535,this.h2l=i<<16|b&65535,b=(E&65535)+(ur&65535),i=(E>>>16)+(ur>>>16)+(b>>>16),o=(z&65535)+(mr&65535)+(i>>>16),s=(z>>>16)+(mr>>>16)+(o>>>16),this.h3h=s<<16|o&65535,this.h3l=i<<16|b&65535,b=(K&65535)+(kr&65535),i=(K>>>16)+(kr>>>16)+(b>>>16),o=(q&65535)+(fr&65535)+(i>>>16),s=(q>>>16)+(fr>>>16)+(o>>>16),this.h4h=s<<16|o&65535,this.h4l=i<<16|b&65535,b=(sr&65535)+(Pr&65535),i=(sr>>>16)+(Pr>>>16)+(b>>>16),o=(J&65535)+(Ur&65535)+(i>>>16),s=(J>>>16)+(Ur>>>16)+(o>>>16),this.h5h=s<<16|o&65535,this.h5l=i<<16|b&65535,b=(hr&65535)+(Dr&65535),i=(hr>>>16)+(Dr>>>16)+(b>>>16),o=(pr&65535)+(Sr&65535)+(i>>>16),s=(pr>>>16)+(Sr>>>16)+(o>>>16),this.h6h=s<<16|o&65535,this.h6l=i<<16|b&65535,b=(yr&65535)+(Nr&65535),i=(yr>>>16)+(Nr>>>16)+(b>>>16),o=(Cr&65535)+(_r&65535)+(i>>>16),s=(Cr>>>16)+(_r>>>16)+(o>>>16),this.h7h=s<<16|o&65535,this.h7l=i<<16|b&65535},tr.prototype.hex=function(){this.finalize(