!function(e,t,r,a,n){var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},s="function"==typeof o[a]&&o[a],i=s.cache||{},l="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function c(t,r){if(!i[t]){if(!e[t]){var n="function"==typeof o[a]&&o[a];if(!r&&n)return n(t,!0);if(s)return s(t,!0);if(l&&"string"==typeof t)return l(t);var u=new Error("Cannot find module '"+t+"'");throw u.code="MODULE_NOT_FOUND",u}p.resolve=function(r){var a=e[t][1][r];return null!=a?a:r},p.cache={};var d=i[t]=new c.Module(t);e[t][0].call(d.exports,p,d,d.exports,this)}return i[t].exports;function p(e){var t=p.resolve(e);return!1===t?{}:c(t)}}c.isParcelRequire=!0,c.Module=function(e){this.id=e,this.bundle=c,this.exports={}},c.modules=e,c.cache=i,c.parent=s,c.register=function(t,r){e[t]=[function(e,t){t.exports=r},{}]},Object.defineProperty(c,"root",{get:function(){return o[a]}}),o[a]=c;for(var u=0;u{"%%"!==e&&(a++,"%c"===e&&(n=a))})),e.splice(n,0,r)},r.save=function(e){try{e?r.storage.setItem("debug",e):r.storage.removeItem("debug")}catch(e){}},r.load=function(){let e;try{e=r.storage.getItem("debug")}catch(e){}!e&&void 0!==a&&"env"in a&&(e=void 0);return e},r.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},r.storage=function(){try{return localStorage}catch(e){}}(),r.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),r.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],r.log=console.debug||console.log||(()=>{}),t.exports=e("785c0af23c13cbe7")(r);const{formatters:n}=t.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},{"7ef33c51643061fd":"iRwsc","785c0af23c13cbe7":"b2sEY"}],iRwsc:[function(e,t,r){var a,n,o=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function l(e){if(a===setTimeout)return setTimeout(e,0);if((a===s||!a)&&setTimeout)return a=setTimeout,setTimeout(e,0);try{return a(e,0)}catch(t){try{return a.call(null,e,0)}catch(t){return a.call(this,e,0)}}}!function(){try{a="function"==typeof setTimeout?setTimeout:s}catch(e){a=s}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var c,u=[],d=!1,p=-1;function f(){d&&c&&(d=!1,c.length?u=c.concat(u):p=-1,u.length&&h())}function h(){if(!d){var e=l(f);d=!0;for(var t=u.length;t;){for(c=u,u=[];++p1)for(var r=1;r{if("%%"===t)return"%";s++;const o=r.formatters[n];if("function"==typeof o){const r=e[s];t=o.call(a,r),e.splice(s,1),s--}return t})),r.formatArgs.call(a,e);(a.log||r.log).apply(a,e)}return i.namespace=e,i.useColors=r.useColors(),i.color=r.selectColor(e),i.extend=a,i.destroy=r.destroy,Object.defineProperty(i,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(n!==r.namespaces&&(n=r.namespaces,o=r.enabled(e)),o),set:e=>{s=e}}),"function"==typeof r.init&&r.init(i),i}function a(e,t){const a=r(this.namespace+(void 0===t?":":t)+e);return a.log=this.log,a}function n(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return r.debug=r,r.default=r,r.coerce=function(e){return e instanceof Error?e.stack||e.message:e},r.disable=function(){const e=[...r.names.map(n),...r.skips.map(n).map((e=>"-"+e))].join(",");return r.enable(""),e},r.enable=function(e){let t;r.save(e),r.namespaces=e,r.names=[],r.skips=[];const a=("string"==typeof e?e:"").split(/[\s,]+/),n=a.length;for(t=0;t{r[e]=t[e]})),r.names=[],r.skips=[],r.formatters={},r.selectColor=function(e){let t=0;for(let r=0;r=1.5*r;return Math.round(e/r)+" "+a+(n?"s":"")}t.exports=function(e,t){t=t||{};var r,u,d=typeof e;if("string"===d&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return r*l;case"weeks":case"week":case"w":return r*i;case"days":case"day":case"d":return r*s;case"hours":case"hour":case"hrs":case"hr":case"h":return r*o;case"minutes":case"minute":case"mins":case"min":case"m":return r*n;case"seconds":case"second":case"secs":case"sec":case"s":return r*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}(e);if("number"===d&&isFinite(e))return t.long?(r=e,(u=Math.abs(r))>=s?c(r,u,s,"day"):u>=o?c(r,u,o,"hour"):u>=n?c(r,u,n,"minute"):u>=a?c(r,u,a,"second"):r+" ms"):function(e){var t=Math.abs(e);return t>=s?Math.round(e/s)+"d":t>=o?Math.round(e/o)+"h":t>=n?Math.round(e/n)+"m":t>=a?Math.round(e/a)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},{}],k6Ryx:[function(e,t,r){var a=e("db3bde5aa0d3015b"),n=e("84d612245f881855").Buffer;const o=e("b9dd874cdbacc715"),s=e("49090e2c746cf53c"),i=e("4aa54bad891dcdfb"),l=e("c5e7bd79ab9bf4ba"),c=e("64344622d53b2ea2").version,u=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;function d(e){console.log(`[dotenv@${c}][DEBUG] ${e}`)}function p(e){return e&&e.DOTENV_KEY&&e.DOTENV_KEY.length>0?e.DOTENV_KEY:""}function f(e,t){let r;try{r=new URL(t)}catch(e){if("ERR_INVALID_URL"===e.code){const e=new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");throw e.code="INVALID_DOTENV_KEY",e}throw e}const a=r.password;if(!a){const e=new Error("INVALID_DOTENV_KEY: Missing key part");throw e.code="INVALID_DOTENV_KEY",e}const n=r.searchParams.get("environment");if(!n){const e=new Error("INVALID_DOTENV_KEY: Missing environment part");throw e.code="INVALID_DOTENV_KEY",e}const o=`DOTENV_VAULT_${n.toUpperCase()}`,s=e.parsed[o];if(!s){const e=new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${o} in your .env.vault file.`);throw e.code="NOT_FOUND_DOTENV_ENVIRONMENT",e}return{ciphertext:s,key:a}}function h(e){let t=null;if(e&&e.path&&e.path.length>0)if(Array.isArray(e.path))for(const r of e.path)o.existsSync(r)&&(t=r.endsWith(".vault")?r:`${r}.vault`);else t=e.path.endsWith(".vault")?e.path:`${e.path}.vault`;else t=s.resolve(a.cwd(),".env.vault");return o.existsSync(t)?t:null}function m(e){return"~"===e[0]?s.join(i.homedir(),e.slice(1)):e}const v={configDotenv:function(e){const t=s.resolve(a.cwd(),".env");let r="utf8";const n=Boolean(e&&e.debug);e&&e.encoding?r=e.encoding:n&&d("No encoding is specified. UTF-8 is used by default");let i,l=[t];if(e&&e.path)if(Array.isArray(e.path)){l=[];for(const t of e.path)l.push(m(t))}else l=[m(e.path)];const c={};for(const t of l)try{const a=v.parse(o.readFileSync(t,{encoding:r}));v.populate(c,a,e)}catch(e){n&&d(`Failed to load ${t} ${e.message}`),i=e}let u={};return e&&null!=e.processEnv&&(u=e.processEnv),v.populate(u,c,e),i?{parsed:c,error:i}:{parsed:c}},_configVault:function(e){var t;t="Loading env from encrypted .env.vault",console.log(`[dotenv@${c}][INFO] ${t}`);const r=v._parseVault(e);let a={};return e&&null!=e.processEnv&&(a=e.processEnv),v.populate(a,r,e),{parsed:r}},_parseVault:function(e){const t=h(e),r=v.configDotenv({path:t});if(!r.parsed){const e=new Error(`MISSING_DATA: Cannot parse ${t} for an unknown reason`);throw e.code="MISSING_DATA",e}const a=p(e).split(","),n=a.length;let o;for(let e=0;e=n)throw t}return v.parse(o)},config:function(e){if(0===p(e).length)return v.configDotenv(e);const t=h(e);return t?v._configVault(e):(r=`You set DOTENV_KEY but you are missing a .env.vault file at ${t}. Did you forget to build it?`,console.log(`[dotenv@${c}][WARN] ${r}`),v.configDotenv(e));var r},decrypt:function(e,t){const r=n.from(t.slice(-64),"hex");let a=n.from(e,"base64");const o=a.subarray(0,12),s=a.subarray(-16);a=a.subarray(12,-16);try{const e=l.createDecipheriv("aes-256-gcm",r,o);return e.setAuthTag(s),`${e.update(a)}${e.final()}`}catch(e){const t=e instanceof RangeError,r="Invalid key length"===e.message,a="Unsupported state or unable to authenticate data"===e.message;if(t||r){const e=new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw e.code="INVALID_DOTENV_KEY",e}if(a){const e=new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw e.code="DECRYPTION_FAILED",e}throw e}},parse:function(e){const t={};let r,a=e.toString();for(a=a.replace(/\r\n?/gm,"\n");null!=(r=u.exec(a));){const e=r[1];let a=r[2]||"";a=a.trim();const n=a[0];a=a.replace(/^(['"`])([\s\S]*)\1$/gm,"$2"),'"'===n&&(a=a.replace(/\\n/g,"\n"),a=a.replace(/\\r/g,"\r")),t[e]=a}return t},populate:function(e,t,r={}){const a=Boolean(r&&r.debug),n=Boolean(r&&r.override);if("object"!=typeof t){const e=new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");throw e.code="OBJECT_REQUIRED",e}for(const r of Object.keys(t))Object.prototype.hasOwnProperty.call(e,r)?(!0===n&&(e[r]=t[r]),a&&d(!0===n?`"${r}" is already defined and WAS overwritten`:`"${r}" is already defined and was NOT overwritten`)):e[r]=t[r]}};t.exports.configDotenv=v.configDotenv,t.exports._configVault=v._configVault,t.exports._parseVault=v._parseVault,t.exports.config=v.config,t.exports.decrypt=v.decrypt,t.exports.parse=v.parse,t.exports.populate=v.populate,t.exports=v},{db3bde5aa0d3015b:"iRwsc","84d612245f881855":"k6T4L",b9dd874cdbacc715:"21TZM","49090e2c746cf53c":"7UwxZ","4aa54bad891dcdfb":"mHowE",c5e7bd79ab9bf4ba:"4MCpa","64344622d53b2ea2":"5yiZi"}],k6T4L:[function(e,t,r){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */"use strict";var a=e("753835db6b0e1bfc"),n=e("4be5baccde7b673e"),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=l,r.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},r.INSPECT_MAX_BYTES=50;var s=2147483647;function i(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(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 d(e)}return c(e,t,r)}function c(e,t,r){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|m(e,t),a=i(r),n=a.write(e,t);n!==r&&(a=a.slice(0,n));return a}(e,t);if(ArrayBuffer.isView(e))return function(e){if(H(e,Uint8Array)){var t=new Uint8Array(e);return f(t.buffer,t.byteOffset,t.byteLength)}return p(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(H(e,ArrayBuffer)||e&&H(e.buffer,ArrayBuffer))return f(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(H(e,SharedArrayBuffer)||e&&H(e.buffer,SharedArrayBuffer)))return f(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var a=e.valueOf&&e.valueOf();if(null!=a&&a!==e)return l.from(a,t,r);var n=function(e){if(l.isBuffer(e)){var t=0|h(e.length),r=i(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!=typeof e.length||V(e.length)?i(0):p(e);if("Buffer"===e.type&&Array.isArray(e.data))return p(e.data)}(e);if(n)return n;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.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 u(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 d(e){return u(e),i(e<0?0:0|h(e))}function p(e){for(var t=e.length<0?0:0|h(e.length),r=i(t),a=0;a=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(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,a=arguments.length>2&&!0===arguments[2];if(!a&&0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return _(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return N(e).length;default:if(n)return a?-1:_(e).length;t=(""+t).toLowerCase(),n=!0}}function v(e,t,r){var a=!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 M(this,t,r);case"utf8":case"utf-8":return D(this,t,r);case"ascii":return w(this,t,r);case"latin1":case"binary":return R(this,t,r);case"base64":return E(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function g(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function b(e,t,r,a,n){if(0===e.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),V(r=+r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof t&&(t=l.from(t,a)),l.isBuffer(t))return 0===t.length?-1:y(e,t,r,a,n);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,a,n);throw new TypeError("val must be string, number or Buffer")}function y(e,t,r,a,n){var o,s=1,i=e.length,l=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;s=2,i/=2,l/=2,r/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(n){var u=-1;for(o=r;oi&&(r=i-l),o=r;o>=0;o--){for(var d=!0,p=0;pn&&(a=n):a=n;var o=t.length;a>o/2&&(a=o/2);for(var s=0;s>8,n=r%256,o.push(n),o.push(a);return o}(t,e.length-r),e,r,a)}function E(e,t,r){return 0===t&&r===e.length?a.fromByteArray(e):a.fromByteArray(e.slice(t,r))}function D(e,t,r){r=Math.min(e.length,r);for(var a=[],n=t;n239?4:c>223?3:c>191?2:1;if(n+d<=r)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(o=e[n+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[n+1],s=e[n+2],128==(192&o)&&128==(192&s)&&(l=(15&c)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[n+1],s=e[n+2],i=e[n+3],128==(192&o)&&128==(192&s)&&128==(192&i)&&(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&i)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,a.push(u>>>10&1023|55296),u=56320|1023&u),a.push(u),n+=d}return function(e){var t=e.length;if(t<=T)return String.fromCharCode.apply(String,e);var r="",a=0;for(;aa.length?l.from(o).copy(a,n):Uint8Array.prototype.set.call(a,o,n);else{if(!l.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(a,n)}n+=o.length}return a},l.byteLength=m,l.prototype._isBuffer=!0,l.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;tt&&(e+=" ... "),""},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(e,t,r,a,n){if(H(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.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===a&&(a=0),void 0===n&&(n=this.length),t<0||r>e.length||a<0||n>this.length)throw new RangeError("out of range index");if(a>=n&&t>=r)return 0;if(a>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(n>>>=0)-(a>>>=0),s=(r>>>=0)-(t>>>=0),i=Math.min(o,s),c=this.slice(a,n),u=e.slice(t,r),d=0;d>>=0,isFinite(r)?(r>>>=0,void 0===a&&(a="utf8")):(a=r,r=void 0)}var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var o=!1;;)switch(a){case"hex":return x(this,e,t,r);case"utf8":case"utf-8":return S(this,e,t,r);case"ascii":case"latin1":case"binary":return j(this,e,t,r);case"base64":return I(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var T=4096;function w(e,t,r){var a="";r=Math.min(e.length,r);for(var n=t;na)&&(r=a);for(var n="",o=t;or)throw new RangeError("Trying to access beyond buffer length")}function k(e,t,r,a,n,o){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||te.length)throw new RangeError("Index out of range")}function P(e,t,r,a,n,o){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function F(e,t,r,a,o){return t=+t,r>>>=0,o||P(e,0,r,4),n.write(e,t,r,a,23,4),r+4}function z(e,t,r,a,o){return t=+t,r>>>=0,o||P(e,0,r,8),n.write(e,t,r,a,52,8),r+8}l.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>>=0,t>>>=0,r||O(e,t,this.length);for(var a=this[e],n=1,o=0;++o>>=0,t>>>=0,r||O(e,t,this.length);for(var a=this[e+--t],n=1;t>0&&(n*=256);)a+=this[e+--t]*n;return a},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var a=this[e],n=1,o=0;++o=(n*=128)&&(a-=Math.pow(2,8*t)),a},l.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var a=t,n=1,o=this[e+--a];a>0&&(n*=256);)o+=this[e+--a]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||O(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){e>>>=0,t||O(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||O(e,4,this.length),n.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||O(e,4,this.length),n.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||O(e,8,this.length),n.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||O(e,8,this.length),n.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,r,a){(e=+e,t>>>=0,r>>>=0,a)||k(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,o=0;for(this[t]=255&e;++o>>=0,r>>>=0,a)||k(this,e,t,r,Math.pow(2,8*r)-1,0);var n=r-1,o=1;for(this[t+n]=255&e;--n>=0&&(o*=256);)this[t+n]=e/o&255;return t+r},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||k(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},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||k(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},l.prototype.writeIntLE=function(e,t,r,a){if(e=+e,t>>>=0,!a){var n=Math.pow(2,8*r-1);k(this,e,t,r,n-1,-n)}var o=0,s=1,i=0;for(this[t]=255&e;++o>>=0,!a){var n=Math.pow(2,8*r-1);k(this,e,t,r,n-1,-n)}var o=r-1,s=1,i=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===i&&0!==this[t+o+1]&&(i=1),this[t+o]=(e/s|0)-i&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||k(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},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||k(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},l.prototype.writeFloatLE=function(e,t,r){return F(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return F(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return z(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return z(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,a){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===a){(t-=3)>-1&&o.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&o.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.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;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function N(e){return a.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,r,a){for(var n=0;n=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function H(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function V(e){return e!=e}var B=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var a=16*r,n=0;n<16;++n)t[a+n]=e[r]+e[n];return t}()},{"753835db6b0e1bfc":"1979X","4be5baccde7b673e":"fuzo9"}],"1979X":[function(e,t,r){"use strict";r.byteLength=function(e){var t=l(e),r=t[0],a=t[1];return 3*(r+a)/4-a},r.toByteArray=function(e){var t,r,a=l(e),s=a[0],i=a[1],c=new o(function(e,t,r){return 3*(t+r)/4-r}(0,s,i)),u=0,d=i>0?s-4:s;for(r=0;r>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===i&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t);1===i&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},r.fromByteArray=function(e){for(var t,r=e.length,n=r%3,o=[],s=16383,i=0,l=r-n;il?l:i+s));1===n?(t=e[r-1],o.push(a[t>>2]+a[t<<4&63]+"==")):2===n&&(t=(e[r-2]<<8)+e[r-1],o.push(a[t>>10]+a[t>>4&63]+a[t<<2&63]+"="));return o.join("")};for(var a=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0;i<64;++i)a[i]=s[i],n[s.charCodeAt(i)]=i;function l(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 c(e,t,r){for(var n,o,s=[],i=t;i>18&63]+a[o>>12&63]+a[o>>6&63]+a[63&o]);return s.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},{}],fuzo9:[function(e,t,r){ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */r.read=function(e,t,r,a,n){var o,s,i=8*n-a-1,l=(1<>1,u=-7,d=r?n-1:0,p=r?-1:1,f=e[t+d];for(d+=p,o=f&(1<<-u)-1,f>>=-u,u+=i;u>0;o=256*o+e[t+d],d+=p,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=a;u>0;s=256*s+e[t+d],d+=p,u-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,a),o-=c}return(f?-1:1)*s*Math.pow(2,o-a)},r.write=function(e,t,r,a,n,o){var s,i,l,c=8*o-n-1,u=(1<>1,p=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=a?0:o-1,h=a?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(i=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),(t+=s+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(s++,l/=2),s+d>=u?(i=0,s=u):s+d>=1?(i=(t*l-1)*Math.pow(2,n),s+=d):(i=t*Math.pow(2,d-1)*Math.pow(2,n),s=0));n>=8;e[r+f]=255&i,f+=h,i/=256,n-=8);for(s=s<0;e[r+f]=255&s,f+=h,s/=256,c-=8);e[r+f-h]|=128*m}},{}],"21TZM":[function(e,t,r){},{}],"7UwxZ":[function(e,t,r){var a=e("cfca744364604fbc");function n(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function o(e,t){for(var r,a="",n=0,o=-1,s=0,i=0;i<=e.length;++i){if(i2){var l=a.lastIndexOf("/");if(l!==a.length-1){-1===l?(a="",n=0):n=(a=a.slice(0,l)).length-1-a.lastIndexOf("/"),o=i,s=0;continue}}else if(2===a.length||1===a.length){a="",n=0,o=i,s=0;continue}t&&(a.length>0?a+="/..":a="..",n=2)}else a.length>0?a+="/"+e.slice(o+1,i):a=e.slice(o+1,i),n=i-o-1;o=i,s=0}else 46===r&&-1!==s?++s:s=-1}return a}var s={resolve:function(){for(var e,t="",r=!1,s=arguments.length-1;s>=-1&&!r;s--){var i;s>=0?i=arguments[s]:(void 0===e&&(e=a.cwd()),i=e),n(i),0!==i.length&&(t=i+"/"+t,r=47===i.charCodeAt(0))}return t=o(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(n(e),0===e.length)return".";var t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0!==(e=o(e,!t)).length||t||(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return n(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":s.normalize(e)},relative:function(e,t){if(n(e),n(t),e===t)return"";if((e=s.resolve(e))===(t=s.resolve(t)))return"";for(var r=1;rc){if(47===t.charCodeAt(i+d))return t.slice(i+d+1);if(0===d)return t.slice(i+d)}else o>c&&(47===e.charCodeAt(r+d)?u=d:0===d&&(u=0));break}var p=e.charCodeAt(r+d);if(p!==t.charCodeAt(i+d))break;47===p&&(u=d)}var f="";for(d=r+u+1;d<=a;++d)d!==a&&47!==e.charCodeAt(d)||(0===f.length?f+="..":f+="/..");return f.length>0?f+t.slice(i+u):(i+=u,47===t.charCodeAt(i)&&++i,t.slice(i))},_makeLong:function(e){return e},dirname:function(e){if(n(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,a=-1,o=!0,s=e.length-1;s>=1;--s)if(47===(t=e.charCodeAt(s))){if(!o){a=s;break}}else o=!1;return-1===a?r?"/":".":r&&1===a?"//":e.slice(0,a)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');n(e);var r,a=0,o=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var i=t.length-1,l=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!s){a=r+1;break}}else-1===l&&(s=!1,l=r+1),i>=0&&(c===t.charCodeAt(i)?-1==--i&&(o=r):(i=-1,o=l))}return a===o?o=l:-1===o&&(o=e.length),e.slice(a,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!s){a=r+1;break}}else-1===o&&(s=!1,o=r+1);return-1===o?"":e.slice(a,o)},extname:function(e){n(e);for(var t=-1,r=0,a=-1,o=!0,s=0,i=e.length-1;i>=0;--i){var l=e.charCodeAt(i);if(47!==l)-1===a&&(o=!1,a=i+1),46===l?-1===t?t=i:1!==s&&(s=1):-1!==t&&(s=-1);else if(!o){r=i+1;break}}return-1===t||-1===a||0===s||1===s&&t===a-1&&t===r+1?"":e.slice(t,a)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,a=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+a:r+e+a:a}("/",e)},parse:function(e){n(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,a=e.charCodeAt(0),o=47===a;o?(t.root="/",r=1):r=0;for(var s=-1,i=0,l=-1,c=!0,u=e.length-1,d=0;u>=r;--u)if(47!==(a=e.charCodeAt(u)))-1===l&&(c=!1,l=u+1),46===a?-1===s?s=u:1!==d&&(d=1):-1!==s&&(d=-1);else if(!c){i=u+1;break}return-1===s||-1===l||0===d||1===d&&s===l-1&&s===i+1?-1!==l&&(t.base=t.name=0===i&&o?e.slice(1,l):e.slice(i,l)):(0===i&&o?(t.name=e.slice(1,s),t.base=e.slice(1,l)):(t.name=e.slice(i,s),t.base=e.slice(i,l)),t.ext=e.slice(s,l)),i>0?t.dir=e.slice(0,i-1):o&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};s.posix=s,t.exports=s},{cfca744364604fbc:"iRwsc"}],mHowE:[function(e,t,r){r.endianness=function(){return"LE"},r.hostname=function(){return"undefined"!=typeof location?location.hostname:""},r.loadavg=function(){return[]},r.uptime=function(){return 0},r.freemem=function(){return Number.MAX_VALUE},r.totalmem=function(){return Number.MAX_VALUE},r.cpus=function(){return[]},r.type=function(){return"Browser"},r.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},r.networkInterfaces=r.getNetworkInterfaces=function(){return{}},r.arch=function(){return"javascript"},r.platform=function(){return"browser"},r.tmpdir=r.tmpDir=function(){return"/tmp"},r.EOL="\n",r.homedir=function(){return"/"}},{}],"4MCpa":[function(e,t,r){"use strict";r.randomBytes=r.rng=r.pseudoRandomBytes=r.prng=e("aa9fd476a69fdf93"),r.createHash=r.Hash=e("9fb6058d4f8b8889"),r.createHmac=r.Hmac=e("fec50086aedc1e98");var a=e("e6b67bcf4d9321ab"),n=Object.keys(a),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(n);r.getHashes=function(){return o};var s=e("3d86decb843c06c7");r.pbkdf2=s.pbkdf2,r.pbkdf2Sync=s.pbkdf2Sync;var i=e("5af2b5afe9898a48");r.Cipher=i.Cipher,r.createCipher=i.createCipher,r.Cipheriv=i.Cipheriv,r.createCipheriv=i.createCipheriv,r.Decipher=i.Decipher,r.createDecipher=i.createDecipher,r.Decipheriv=i.Decipheriv,r.createDecipheriv=i.createDecipheriv,r.getCiphers=i.getCiphers,r.listCiphers=i.listCiphers;var l=e("a3ba878baf2a7a1d");r.DiffieHellmanGroup=l.DiffieHellmanGroup,r.createDiffieHellmanGroup=l.createDiffieHellmanGroup,r.getDiffieHellman=l.getDiffieHellman,r.createDiffieHellman=l.createDiffieHellman,r.DiffieHellman=l.DiffieHellman;var c=e("72630107aeb2e539");r.createSign=c.createSign,r.Sign=c.Sign,r.createVerify=c.createVerify,r.Verify=c.Verify,r.createECDH=e("8a6047d1666c88d3");var u=e("93fde215dca1263d");r.publicEncrypt=u.publicEncrypt,r.privateEncrypt=u.privateEncrypt,r.publicDecrypt=u.publicDecrypt,r.privateDecrypt=u.privateDecrypt;var d=e("650c63c120ddf8d3");r.randomFill=d.randomFill,r.randomFillSync=d.randomFillSync,r.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},r.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{aa9fd476a69fdf93:"kYauT","9fb6058d4f8b8889":"1GEAm",fec50086aedc1e98:"awCs3",e6b67bcf4d9321ab:"bCgN9","3d86decb843c06c7":"h8xhC","5af2b5afe9898a48":"e2xRR",a3ba878baf2a7a1d:"g1o5r","72630107aeb2e539":"bxI40","8a6047d1666c88d3":"8yAcb","93fde215dca1263d":"7IYba","650c63c120ddf8d3":"eoW0M"}],kYauT:[function(e,t,r){var a=e("e2de4806a2cb90a0"),n=arguments[3],o=65536;var s=e("21b604d2bd93f1b5").Buffer,i=n.crypto||n.msCrypto;i&&i.getRandomValues?t.exports=function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var r=s.allocUnsafe(e);if(e>0)if(e>o)for(var n=0;n */var a=e("1318155ef10abf86"),n=a.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function s(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=a:(o(a,r),r.Buffer=s),s.prototype=Object.create(n.prototype),o(n,s),s.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,r)},s.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var a=n(e);return void 0!==t?"string"==typeof r?a.fill(t,r):a.fill(t):a.fill(0),a},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a.SlowBuffer(e)}},{"1318155ef10abf86":"k6T4L"}],"1GEAm":[function(e,t,r){"use strict";var a=e("5b2fb264f492ab72"),n=e("b600700c28e9d3b9"),o=e("20666e4f48660e8e"),s=e("7700493172c9333e"),i=e("830b0be1525cf02e");function l(e){i.call(this,"digest"),this._hash=e}a(l,i),l.prototype._update=function(e){this._hash.update(e)},l.prototype._final=function(){return this._hash.digest()},t.exports=function(e){return"md5"===(e=e.toLowerCase())?new n:"rmd160"===e||"ripemd160"===e?new o:new l(s(e))}},{"5b2fb264f492ab72":"cEKc1",b600700c28e9d3b9:"eifI8","20666e4f48660e8e":"dD043","7700493172c9333e":"9fauJ","830b0be1525cf02e":"lu67B"}],cEKc1:[function(e,t,r){"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 r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},{}],eifI8:[function(e,t,r){"use strict";var a=e("e22c473be9ac082a"),n=e("8208f60444569cf7"),o=e("c43bf81c1537f315").Buffer,s=new Array(16);function i(){n.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function l(e,t){return e<>>32-t}function c(e,t,r,a,n,o,s){return l(e+(t&r|~t&a)+n+o|0,s)+t|0}function u(e,t,r,a,n,o,s){return l(e+(t&a|r&~a)+n+o|0,s)+t|0}function d(e,t,r,a,n,o,s){return l(e+(t^r^a)+n+o|0,s)+t|0}function p(e,t,r,a,n,o,s){return l(e+(r^(t|~a))+n+o|0,s)+t|0}a(i,n),i.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,a=this._b,n=this._c,o=this._d;r=c(r,a,n,o,e[0],3614090360,7),o=c(o,r,a,n,e[1],3905402710,12),n=c(n,o,r,a,e[2],606105819,17),a=c(a,n,o,r,e[3],3250441966,22),r=c(r,a,n,o,e[4],4118548399,7),o=c(o,r,a,n,e[5],1200080426,12),n=c(n,o,r,a,e[6],2821735955,17),a=c(a,n,o,r,e[7],4249261313,22),r=c(r,a,n,o,e[8],1770035416,7),o=c(o,r,a,n,e[9],2336552879,12),n=c(n,o,r,a,e[10],4294925233,17),a=c(a,n,o,r,e[11],2304563134,22),r=c(r,a,n,o,e[12],1804603682,7),o=c(o,r,a,n,e[13],4254626195,12),n=c(n,o,r,a,e[14],2792965006,17),r=u(r,a=c(a,n,o,r,e[15],1236535329,22),n,o,e[1],4129170786,5),o=u(o,r,a,n,e[6],3225465664,9),n=u(n,o,r,a,e[11],643717713,14),a=u(a,n,o,r,e[0],3921069994,20),r=u(r,a,n,o,e[5],3593408605,5),o=u(o,r,a,n,e[10],38016083,9),n=u(n,o,r,a,e[15],3634488961,14),a=u(a,n,o,r,e[4],3889429448,20),r=u(r,a,n,o,e[9],568446438,5),o=u(o,r,a,n,e[14],3275163606,9),n=u(n,o,r,a,e[3],4107603335,14),a=u(a,n,o,r,e[8],1163531501,20),r=u(r,a,n,o,e[13],2850285829,5),o=u(o,r,a,n,e[2],4243563512,9),n=u(n,o,r,a,e[7],1735328473,14),r=d(r,a=u(a,n,o,r,e[12],2368359562,20),n,o,e[5],4294588738,4),o=d(o,r,a,n,e[8],2272392833,11),n=d(n,o,r,a,e[11],1839030562,16),a=d(a,n,o,r,e[14],4259657740,23),r=d(r,a,n,o,e[1],2763975236,4),o=d(o,r,a,n,e[4],1272893353,11),n=d(n,o,r,a,e[7],4139469664,16),a=d(a,n,o,r,e[10],3200236656,23),r=d(r,a,n,o,e[13],681279174,4),o=d(o,r,a,n,e[0],3936430074,11),n=d(n,o,r,a,e[3],3572445317,16),a=d(a,n,o,r,e[6],76029189,23),r=d(r,a,n,o,e[9],3654602809,4),o=d(o,r,a,n,e[12],3873151461,11),n=d(n,o,r,a,e[15],530742520,16),r=p(r,a=d(a,n,o,r,e[2],3299628645,23),n,o,e[0],4096336452,6),o=p(o,r,a,n,e[7],1126891415,10),n=p(n,o,r,a,e[14],2878612391,15),a=p(a,n,o,r,e[5],4237533241,21),r=p(r,a,n,o,e[12],1700485571,6),o=p(o,r,a,n,e[3],2399980690,10),n=p(n,o,r,a,e[10],4293915773,15),a=p(a,n,o,r,e[1],2240044497,21),r=p(r,a,n,o,e[8],1873313359,6),o=p(o,r,a,n,e[15],4264355552,10),n=p(n,o,r,a,e[6],2734768916,15),a=p(a,n,o,r,e[13],1309151649,21),r=p(r,a,n,o,e[4],4149444226,6),o=p(o,r,a,n,e[11],3174756917,10),n=p(n,o,r,a,e[2],718787259,15),a=p(a,n,o,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+a|0,this._c=this._c+n|0,this._d=this._d+o|0},i.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},t.exports=i},{e22c473be9ac082a:"cEKc1","8208f60444569cf7":"fHpIi",c43bf81c1537f315:"8VfEv"}],fHpIi:[function(e,t,r){"use strict";var a=e("33537b73441a7b1f").Buffer,n=e("81b609ea0422da71").Transform;function o(e){n.call(this),this._block=a.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e("c84327f3476b2856")(o,n),o.prototype._transform=function(e,t,r){var a=null;try{this.update(e,t)}catch(e){a=e}r(a)},o.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},o.prototype.update=function(e,t){if(function(e,t){if(!a.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");a.isBuffer(e)||(e=a.from(e,t));for(var r=this._block,n=0;this._blockOffset+e.length-n>=this._blockSize;){for(var o=this._blockOffset;o0;++s)this._length[s]+=i,(i=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*i);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o},{"33537b73441a7b1f":"8VfEv","81b609ea0422da71":"hdpZC",c84327f3476b2856:"cEKc1"}],hdpZC:[function(e,t,r){(r=t.exports=e("b2fc5db9ff9c9756")).Stream=r,r.Readable=r,r.Writable=e("85a9031ccdfc94d4"),r.Duplex=e("ac3e97260d58e2b7"),r.Transform=e("8b26d7f301941beb"),r.PassThrough=e("15914a01af5897ae"),r.finished=e("2dd2e12fd4002011"),r.pipeline=e("fa6fa21c99c35b1a")},{b2fc5db9ff9c9756:"jTdAh","85a9031ccdfc94d4":"67vzp",ac3e97260d58e2b7:"fF6Jh","8b26d7f301941beb":"ebQsJ","15914a01af5897ae":"4LTKu","2dd2e12fd4002011":"kXJdJ",fa6fa21c99c35b1a:"fbDoc"}],jTdAh:[function(e,t,r){var a,n=arguments[3],o=e("f872279b829f6aae");t.exports=D,D.ReadableState=E;e("372f6642160bba97").EventEmitter;var s=function(e,t){return e.listeners(t).length},i=e("2dfe33e122adb9ca"),l=e("ea40b0c25dc9ae00").Buffer,c=(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,d=e("4e26a7d63292cbd5");u=d&&d.debuglog?d.debuglog("stream"):function(){};var p,f,h,m=e("5cf9f5353625d206"),v=e("ceee746430fc118e"),g=e("5fc3a08cdcc0c8d3").getHighWaterMark,b=e("34c2380b665e57c3").codes,y=b.ERR_INVALID_ARG_TYPE,x=b.ERR_STREAM_PUSH_AFTER_EOF,S=b.ERR_METHOD_NOT_IMPLEMENTED,j=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("418f3cf0a262cfd")(D,i);var I=v.errorOrDestroy,C=["error","close","destroy","pause","resume"];function E(t,r,n){a=a||e("5389fd9353fec3cd"),t=t||{},"boolean"!=typeof n&&(n=r instanceof a),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=g(this,t,"readableHighWaterMark",n),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=e("4a4ded98182b4576").StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function D(t){if(a=a||e("5389fd9353fec3cd"),!(this instanceof D))return new D(t);var r=this instanceof a;this._readableState=new E(t,this,r),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),i.call(this)}function T(e,t,r,a,n){u("readableAddChunk",t);var o,s=e._readableState;if(null===t)s.reading=!1,function(e,t){if(u("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?A(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,s);else if(n||(o=function(e,t){var r;a=t,l.isBuffer(a)||a instanceof c||"string"==typeof t||void 0===t||e.objectMode||(r=new y("chunk",["string","Buffer","Uint8Array"],t));var a;return r}(s,t)),o)I(e,o);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),a)s.endEmitted?I(e,new j):w(e,s,t,!0);else if(s.ended)I(e,new x);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?w(e,s,t,!1):k(e,s)):w(e,s,t,!1)}else a||(s.reading=!1,k(e,s));return!s.ended&&(s.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=R?e=R:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function A(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,o.nextTick(O,e))}function O(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,_(e)}function k(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(P,e,t))}function P(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function z(e){u("readable nexttick read 0"),e.read(0)}function L(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),_(e),t.flowing&&!t.reading&&e.read(0)}function _(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function N(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 U(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,o.nextTick(H,t,e))}function H(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function V(e,t){for(var r=0,a=e.length;r=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):A(this),null;if(0===(e=M(e,t))&&t.ended)return 0===t.length&&U(this),null;var a,n=t.needReadable;return u("need readable",n),(0===t.length||t.length-e0?N(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&U(this)),null!==a&&this.emit("data",a),a},D.prototype._read=function(e){I(this,new S("_read()"))},D.prototype.pipe=function(e,t){var r=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,u("pipe count=%d opts=%j",a.pipesCount,t);var n=(!t||!1!==t.end)&&e!==o.stdout&&e!==o.stderr?l:v;function i(t,n){u("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),e.removeListener("close",h),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",f),e.removeListener("unpipe",i),r.removeListener("end",l),r.removeListener("end",v),r.removeListener("data",p),d=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){u("onend"),e.end()}a.endEmitted?o.nextTick(n):r.once("end",n),e.on("unpipe",i);var c=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,_(e))}}(r);e.on("drain",c);var d=!1;function p(t){u("ondata");var n=e.write(t);u("dest.write",n),!1===n&&((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==V(a.pipes,e))&&!d&&(u("false write response, pause",a.awaitDrain),a.awaitDrain++),r.pause())}function f(t){u("onerror",t),v(),e.removeListener("error",f),0===s(e,"error")&&I(e,t)}function h(){e.removeListener("finish",m),v()}function m(){u("onfinish"),e.removeListener("close",h),v()}function v(){u("unpipe"),r.unpipe(e)}return r.on("data",p),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",f),e.once("close",h),e.once("finish",m),e.emit("pipe",r),a.flowing||(u("pipe resume"),r.resume()),e},D.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var a=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==a.flowing&&this.resume()):"readable"===e&&(a.endEmitted||a.readableListening||(a.readableListening=a.needReadable=!0,a.flowing=!1,a.emittedReadable=!1,u("on readable",a.length,a.reading),a.length?A(this):a.reading||o.nextTick(z,this))),r},D.prototype.addListener=D.prototype.on,D.prototype.removeListener=function(e,t){var r=i.prototype.removeListener.call(this,e,t);return"readable"===e&&o.nextTick(F,this),r},D.prototype.removeAllListeners=function(e){var t=i.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||o.nextTick(F,this),t},D.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,o.nextTick(L,e,t))}(this,e)),e.paused=!1,this},D.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},D.prototype.wrap=function(e){var t=this,r=this._readableState,a=!1;for(var n in e.on("end",(function(){if(u("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(n){(u("wrapped data"),r.decoder&&(n=r.decoder.write(n)),r.objectMode&&null==n)||(r.objectMode||n&&n.length)&&(t.push(n)||(a=!0,e.pause()))})),e)void 0===this[n]&&"function"==typeof e[n]&&(this[n]=function(t){return function(){return e[t].apply(e,arguments)}}(n));for(var o=0;o0&&s.length>n&&!s.warned){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,i=l,console&&console.warn&&console.warn(i)}return e}function p(){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 a={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},n=p.bind(a);return n.listener=r,a.wrapFn=n,n}function h(e,t,r){var a=e._events;if(void 0===a)return[];var n=a[t];return void 0===n?[]:"function"==typeof n?r?[n.listener||n]:[n]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(s=t[0]),s instanceof Error)throw s;var i=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw i.context=s,i}var l=n[e];if(void 0===l)return!1;if("function"==typeof l)o(l,this,t);else{var c=l.length,u=v(l,c);for(r=0;r=0;o--)if(r[o]===t||r[o].listener===t){s=r[o].listener,n=o;break}if(n<0)return this;0===n?r.shift():function(e,t){for(;t+1=0;a--)this.removeListener(e,t[a]);return this},i.prototype.listeners=function(e){return h(this,e,!0)},i.prototype.rawListeners=function(e){return h(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},i.prototype.listenerCount=m,i.prototype.eventNames=function(){return this._eventsCount>0?a(this._events):[]}},{}],k60Ud:[function(e,t,r){t.exports=e("6da5fb8cd14a4fc6").EventEmitter},{"6da5fb8cd14a4fc6":"8Yb3v"}],"8EYbI":[function(e,t,r){"use strict";function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function n(e){for(var t=1;t0?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;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return l.alloc(0);for(var t,r,a,n=l.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=n,a=s,l.prototype.copy.call(t,r,a),s+=o.data.length,o=o.next;return n}},{key:"consume",value:function(e,t){var r;return en.length?n.length:e;if(o===n.length?a+=n:a+=n.slice(0,e),0==(e-=o)){o===n.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=n.slice(o));break}++r}return this.length-=r,a}},{key:"_getBuffer",value:function(e){var t=l.allocUnsafe(e),r=this.head,a=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var n=r.data,o=e>n.length?n.length:e;if(n.copy(t,t.length-e,0,o),0==(e-=o)){o===n.length?(++a,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=n.slice(o));break}++a}return this.length-=a,t}},{key:u,value:function(e,t){return c(this,n(n({},t),{},{depth:0,customInspect:!1}))}}])&&s(t.prototype,r),a&&s(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}()},{"942c265393c86545":"k6T4L","5fa12b6922f9dcec":"21TZM"}],"9cAmP":[function(e,t,r){var a=e("5199d7cd3a70d1b4");function n(e,t){s(e,t),o(e)}function o(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function s(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return i||l?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,a.nextTick(s,this,e)):a.nextTick(s,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?r._writableState?r._writableState.errorEmitted?a.nextTick(o,r):(r._writableState.errorEmitted=!0,a.nextTick(n,r,e)):a.nextTick(n,r,e):t?(a.nextTick(o,r),t(e)):a.nextTick(o,r)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,a=e._writableState;r&&r.autoDestroy||a&&a.autoDestroy?e.destroy(t):e.emit("error",t)}}},{"5199d7cd3a70d1b4":"iRwsc"}],aCbav:[function(e,t,r){"use strict";var a=e("bfe70f2cd30fef2d").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,r,n){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,n,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new a(n?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},{bfe70f2cd30fef2d:"k6cWa"}],k6cWa:[function(e,t,r){"use strict";var a={};function n(e,t,r){r||(r=Error);var n=function(e){var r,a;function n(r,a,n){return e.call(this,function(e,r,a){return"string"==typeof t?t:t(e,r,a)}(r,a,n))||this}return a=e,(r=n).prototype=Object.create(a.prototype),r.prototype.constructor=r,r.__proto__=a,n}(r);n.prototype.name=r.name,n.prototype.code=e,a[e]=n}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,r){var a,n,s,i;if("string"==typeof t&&(n="not ",t.substr(!s||s<0?0:+s,n.length)===n)?(a="must not be",t=t.replace(/^not /,"")):a="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))i="The ".concat(e," ").concat(a," ").concat(o(t,"type"));else{var l=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(l," ").concat(a," ").concat(o(t,"type"))}return i+=". Received type ".concat(typeof r)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=a},{}],fF6Jh:[function(e,t,r){var a=e("1d78aff069fcd4e9"),n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=u;var o=e("787eb4041546c827"),s=e("81c0bbfe945805e3");e("ed32075665c3d7ce")(u,o);for(var i=n(s.prototype),l=0;l-1))throw new j(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(D.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(D.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),D.prototype._write=function(e,t,r){r(new v("_write()"))},D.prototype._writev=null,D.prototype.end=function(e,t,r){var a=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),a.corked&&(a.corked=1,this.uncork()),a.ending||function(e,t,r){t.ending=!0,O(e,t),r&&(t.finished?o.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,a,r),this},Object.defineProperty(D.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),D.prototype.destroy=p.destroy,D.prototype._undestroy=p.undestroy,D.prototype._destroy=function(e,t){t(e)}},{"88629f39630c01a1":"iRwsc","8fd03b85c47b48ce":"fnBpB","5281762cbca35649":"k60Ud",f3384eda9d358f:"k6T4L",d5c7e9ed806cb9d3:"9cAmP",b134dcc66061f5e8:"aCbav","605abb32487c36e4":"k6cWa",e312fb40caa80901:"cEKc1","7c4ea47cce18f78f":"fF6Jh"}],fnBpB:[function(e,t,r){var a=arguments[3];function n(e){try{if(!a.localStorage)return!1}catch(e){return!1}var t=a.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}t.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}},{}],epJvW:[function(e,t,r){"use strict";var a=e("e453117ddf446345").Buffer,n=a.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 o(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&&(a.isEncoding===n||!n(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=i,t=4;break;case"base64":this.text=u,this.end=d,t=3;break;default:return this.write=p,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=a.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function i(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(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 l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var a=r.charCodeAt(r.length-1);if(a>=55296&&a<=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 c(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 u(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 d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}r.StringDecoder=o,o.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=0)return n>0&&(e.lastNeed=n-1),n;if(--a=0)return n>0&&(e.lastNeed=n-2),n;if(--a=0)return n>0&&(2===n?n=0:e.lastNeed=n-3),n;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var a=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,a),e.toString("utf8",t,a)},o.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}},{e453117ddf446345:"8VfEv"}],"44cyX":[function(e,t,r){var a,n=e("1291f4cdc9f00acb");function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=e("78f29765eae32f64"),i=Symbol("lastResolve"),l=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),d=Symbol("lastPromise"),p=Symbol("handlePromise"),f=Symbol("stream");function h(e,t){return{value:e,done:t}}function m(e){var t=e[i];if(null!==t){var r=e[f].read();null!==r&&(e[d]=null,e[i]=null,e[l]=null,t(h(r,!1)))}}function v(e){n.nextTick(m,e)}var g=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((o(a={get stream(){return this[f]},next:function(){var e=this,t=this[c];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(h(void 0,!0));if(this[f].destroyed)return new Promise((function(t,r){n.nextTick((function(){e[c]?r(e[c]):t(h(void 0,!0))}))}));var r,a=this[d];if(a)r=new Promise(function(e,t){return function(r,a){e.then((function(){t[u]?r(h(void 0,!0)):t[p](r,a)}),a)}}(a,this));else{var o=this[f].read();if(null!==o)return Promise.resolve(h(o,!1));r=new Promise(this[p])}return this[d]=r,r}},Symbol.asyncIterator,(function(){return this})),o(a,"return",(function(){var e=this;return new Promise((function(t,r){e[f].destroy(null,(function(e){e?r(e):t(h(void 0,!0))}))}))})),a),g);t.exports=function(e){var t,r=Object.create(b,(o(t={},f,{value:e,writable:!0}),o(t,i,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,c,{value:null,writable:!0}),o(t,u,{value:e._readableState.endEmitted,writable:!0}),o(t,p,{value:function(e,t){var a=r[f].read();a?(r[d]=null,r[i]=null,r[l]=null,e(h(a,!1))):(r[i]=e,r[l]=t)},writable:!0}),t));return r[d]=null,s(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[l];return null!==t&&(r[d]=null,r[i]=null,r[l]=null,t(e)),void(r[c]=e)}var a=r[i];null!==a&&(r[d]=null,r[i]=null,r[l]=null,a(h(void 0,!0))),r[u]=!0})),e.on("readable",v.bind(null,r)),r}},{"1291f4cdc9f00acb":"iRwsc","78f29765eae32f64":"kXJdJ"}],kXJdJ:[function(e,t,r){"use strict";var a=e("b8841cbe811c22c2").codes.ERR_STREAM_PREMATURE_CLOSE;function n(){}t.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,a=new Array(r),n=0;n0,(function(e){u||(u=e),e&&p.forEach(l),o||(p.forEach(l),d(u))}))}));return r.reduce(c)}},{"9bc801a42561e820":"k6cWa",cf8226bb11ac2efb:"kXJdJ"}],dD043:[function(e,t,r){"use strict";var a=e("b917f6ed96ae952c").Buffer,n=e("558671aa9b84c6d4"),o=e("5d052d2f15520b9b"),s=new Array(16),i=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],u=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],p=[1352829926,1548603684,1836072691,2053994217,0];function f(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function h(e,t){return e<>>32-t}function m(e,t,r,a,n,o,s,i){return h(e+(t^r^a)+o+s|0,i)+n|0}function v(e,t,r,a,n,o,s,i){return h(e+(t&r|~t&a)+o+s|0,i)+n|0}function g(e,t,r,a,n,o,s,i){return h(e+((t|~r)^a)+o+s|0,i)+n|0}function b(e,t,r,a,n,o,s,i){return h(e+(t&a|r&~a)+o+s|0,i)+n|0}function y(e,t,r,a,n,o,s,i){return h(e+(t^(r|~a))+o+s|0,i)+n|0}n(f,o),f.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,a=0|this._b,n=0|this._c,o=0|this._d,f=0|this._e,x=0|this._a,S=0|this._b,j=0|this._c,I=0|this._d,C=0|this._e,E=0;E<80;E+=1){var D,T;E<16?(D=m(r,a,n,o,f,e[i[E]],d[0],c[E]),T=y(x,S,j,I,C,e[l[E]],p[0],u[E])):E<32?(D=v(r,a,n,o,f,e[i[E]],d[1],c[E]),T=b(x,S,j,I,C,e[l[E]],p[1],u[E])):E<48?(D=g(r,a,n,o,f,e[i[E]],d[2],c[E]),T=g(x,S,j,I,C,e[l[E]],p[2],u[E])):E<64?(D=b(r,a,n,o,f,e[i[E]],d[3],c[E]),T=v(x,S,j,I,C,e[l[E]],p[3],u[E])):(D=y(r,a,n,o,f,e[i[E]],d[4],c[E]),T=m(x,S,j,I,C,e[l[E]],p[4],u[E])),r=f,f=o,o=h(n,10),n=a,a=D,x=C,C=I,I=h(j,10),j=S,S=T}var w=this._b+n+I|0;this._b=this._c+o+C|0,this._c=this._d+f+x|0,this._d=this._e+r+S|0,this._e=this._a+a+j|0,this._a=w},f.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=a.alloc?a.alloc(20):new a(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},t.exports=f},{b917f6ed96ae952c:"k6T4L","558671aa9b84c6d4":"cEKc1","5d052d2f15520b9b":"fHpIi"}],"9fauJ":[function(e,t,r){(r=t.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t}).sha=e("8040eb38a50148d6"),r.sha1=e("6b95968bdde94d97"),r.sha224=e("479616a7345a795e"),r.sha256=e("31d1a9f1156d40f7"),r.sha384=e("23be7e31fad3c3f9"),r.sha512=e("c82d72604a866454")},{"8040eb38a50148d6":"aeL03","6b95968bdde94d97":"ieqEJ","479616a7345a795e":"buXeN","31d1a9f1156d40f7":"dE2JA","23be7e31fad3c3f9":"4AUwJ",c82d72604a866454:"8lsqm"}],aeL03:[function(e,t,r){var a=e("4b7d700f9265968e"),n=e("fe3b5d8201b4d831"),o=e("5c5d665603797c0c").Buffer,s=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function l(){this.init(),this._w=i,n.call(this,64,56)}function c(e){return e<<30|e>>>2}function u(e,t,r,a){return 0===e?t&r|~t&a:2===e?t&r|t&a|r&a:t^r^a}a(l,n),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,r=this._w,a=0|this._a,n=0|this._b,o=0|this._c,i=0|this._d,l=0|this._e,d=0;d<16;++d)r[d]=e.readInt32BE(4*d);for(;d<80;++d)r[d]=r[d-3]^r[d-8]^r[d-14]^r[d-16];for(var p=0;p<80;++p){var f=~~(p/20),h=0|((t=a)<<5|t>>>27)+u(f,n,o,i)+l+r[p]+s[f];l=i,i=o,o=c(n),n=a,a=h}this._a=a+this._a|0,this._b=n+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=l},{"4b7d700f9265968e":"cEKc1",fe3b5d8201b4d831:"lSGfr","5c5d665603797c0c":"8VfEv"}],lSGfr:[function(e,t,r){var a=e("a1c03757a162cb59").Buffer;function n(e,t){this._block=a.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}n.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=a.from(e,t));for(var r=this._block,n=this._blockSize,o=e.length,s=this._len,i=0;i=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var a=(4294967295&r)>>>0,n=(r-a)/4294967296;this._block.writeUInt32BE(n,this._blockSize-8),this._block.writeUInt32BE(a,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},n.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=n},{a1c03757a162cb59:"8VfEv"}],ieqEJ:[function(e,t,r){var a=e("d91f12eef7469481"),n=e("ed45c7d469e343fe"),o=e("6f0ba87d8f34190c").Buffer,s=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function l(){this.init(),this._w=i,n.call(this,64,56)}function c(e){return e<<5|e>>>27}function u(e){return e<<30|e>>>2}function d(e,t,r,a){return 0===e?t&r|~t&a:2===e?t&r|t&a|r&a:t^r^a}a(l,n),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,r=this._w,a=0|this._a,n=0|this._b,o=0|this._c,i=0|this._d,l=0|this._e,p=0;p<16;++p)r[p]=e.readInt32BE(4*p);for(;p<80;++p)r[p]=(t=r[p-3]^r[p-8]^r[p-14]^r[p-16])<<1|t>>>31;for(var f=0;f<80;++f){var h=~~(f/20),m=c(a)+d(h,n,o,i)+l+r[f]+s[h]|0;l=i,i=o,o=u(n),n=a,a=m}this._a=a+this._a|0,this._b=n+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=l},{d91f12eef7469481:"cEKc1",ed45c7d469e343fe:"lSGfr","6f0ba87d8f34190c":"8VfEv"}],buXeN:[function(e,t,r){var a=e("2e4425cb2e3e7b0d"),n=e("823da50175ee60d5"),o=e("70c8f7be0676f54c"),s=e("403005548203308a").Buffer,i=new Array(64);function l(){this.init(),this._w=i,o.call(this,64,56)}a(l,n),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var e=s.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=l},{"2e4425cb2e3e7b0d":"cEKc1","823da50175ee60d5":"dE2JA","70c8f7be0676f54c":"lSGfr","403005548203308a":"8VfEv"}],dE2JA:[function(e,t,r){var a=e("bb85539906d65bbe"),n=e("e274b6abf77008a7"),o=e("e4580b037f97781").Buffer,s=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],i=new Array(64);function l(){this.init(),this._w=i,n.call(this,64,56)}function c(e,t,r){return r^e&(t^r)}function u(e,t,r){return e&t|r&(e|t)}function d(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function p(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function f(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}a(l,n),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(e){for(var t,r=this._w,a=0|this._a,n=0|this._b,o=0|this._c,i=0|this._d,l=0|this._e,h=0|this._f,m=0|this._g,v=0|this._h,g=0;g<16;++g)r[g]=e.readInt32BE(4*g);for(;g<64;++g)r[g]=0|(((t=r[g-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[g-7]+f(r[g-15])+r[g-16];for(var b=0;b<64;++b){var y=v+p(l)+c(l,h,m)+s[b]+r[b]|0,x=d(a)+u(a,n,o)|0;v=m,m=h,h=l,l=i+y|0,i=o,o=n,n=a,a=y+x|0}this._a=a+this._a|0,this._b=n+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=l+this._e|0,this._f=h+this._f|0,this._g=m+this._g|0,this._h=v+this._h|0},l.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=l},{bb85539906d65bbe:"cEKc1",e274b6abf77008a7:"lSGfr",e4580b037f97781:"8VfEv"}],"4AUwJ":[function(e,t,r){var a=e("fc4932dc2141dd63"),n=e("8dee3ae1f9a6b416"),o=e("19804c5a2bc9bd60"),s=e("94c07b96dccddb31").Buffer,i=new Array(160);function l(){this.init(),this._w=i,o.call(this,128,112)}a(l,n),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var e=s.allocUnsafe(48);function t(t,r,a){e.writeInt32BE(t,a),e.writeInt32BE(r,a+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},t.exports=l},{fc4932dc2141dd63:"cEKc1","8dee3ae1f9a6b416":"8lsqm","19804c5a2bc9bd60":"lSGfr","94c07b96dccddb31":"8VfEv"}],"8lsqm":[function(e,t,r){var a=e("f251ef6ebe811460"),n=e("71b6b86c30c3733c"),o=e("e01e85b4cc8b7838").Buffer,s=[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],i=new Array(160);function l(){this.init(),this._w=i,n.call(this,128,112)}function c(e,t,r){return r^e&(t^r)}function u(e,t,r){return e&t|r&(e|t)}function d(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function p(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function v(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function g(e,t){return e>>>0>>0?1:0}a(l,n),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._ah,a=0|this._bh,n=0|this._ch,o=0|this._dh,i=0|this._eh,l=0|this._fh,b=0|this._gh,y=0|this._hh,x=0|this._al,S=0|this._bl,j=0|this._cl,I=0|this._dl,C=0|this._el,E=0|this._fl,D=0|this._gl,T=0|this._hl,w=0;w<32;w+=2)t[w]=e.readInt32BE(4*w),t[w+1]=e.readInt32BE(4*w+4);for(;w<160;w+=2){var R=t[w-30],M=t[w-30+1],A=f(R,M),O=h(M,R),k=m(R=t[w-4],M=t[w-4+1]),P=v(M,R),F=t[w-14],z=t[w-14+1],L=t[w-32],_=t[w-32+1],N=O+z|0,U=A+F+g(N,O)|0;U=(U=U+k+g(N=N+P|0,P)|0)+L+g(N=N+_|0,_)|0,t[w]=U,t[w+1]=N}for(var H=0;H<160;H+=2){U=t[H],N=t[H+1];var V=u(r,a,n),B=u(x,S,j),q=d(r,x),J=d(x,r),W=p(i,C),G=p(C,i),K=s[H],Y=s[H+1],X=c(i,l,b),$=c(C,E,D),Z=T+G|0,Q=y+W+g(Z,T)|0;Q=(Q=(Q=Q+X+g(Z=Z+$|0,$)|0)+K+g(Z=Z+Y|0,Y)|0)+U+g(Z=Z+N|0,N)|0;var ee=J+B|0,te=q+V+g(ee,J)|0;y=b,T=D,b=l,D=E,l=i,E=C,i=o+Q+g(C=I+Z|0,I)|0,o=n,I=j,n=a,j=S,a=r,S=x,r=Q+te+g(x=Z+ee|0,Z)|0}this._al=this._al+x|0,this._bl=this._bl+S|0,this._cl=this._cl+j|0,this._dl=this._dl+I|0,this._el=this._el+C|0,this._fl=this._fl+E|0,this._gl=this._gl+D|0,this._hl=this._hl+T|0,this._ah=this._ah+r+g(this._al,x)|0,this._bh=this._bh+a+g(this._bl,S)|0,this._ch=this._ch+n+g(this._cl,j)|0,this._dh=this._dh+o+g(this._dl,I)|0,this._eh=this._eh+i+g(this._el,C)|0,this._fh=this._fh+l+g(this._fl,E)|0,this._gh=this._gh+b+g(this._gl,D)|0,this._hh=this._hh+y+g(this._hl,T)|0},l.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,r,a){e.writeInt32BE(t,a),e.writeInt32BE(r,a+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},t.exports=l},{f251ef6ebe811460:"cEKc1","71b6b86c30c3733c":"lSGfr",e01e85b4cc8b7838:"8VfEv"}],lu67B:[function(e,t,r){var a=e("2b0851eb802062eb").Buffer,n=e("26a3e187eed562d3").Transform,o=e("f0f9bb6737d10f91").StringDecoder;function s(e){n.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}e("be2d3066b92e943b")(s,n),s.prototype.update=function(e,t,r){"string"==typeof e&&(e=a.from(e,t));var n=this._update(e);return this.hashMode?this:(r&&(n=this._toString(n,r)),n)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(e,t,r){var a;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){a=e}finally{r(a)}},s.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},s.prototype._finalOrDigest=function(e){var t=this.__final()||a.alloc(0);return e&&(t=this._toString(t,e,!0)),t},s.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var a=this._decoder.write(e);return r&&(a+=this._decoder.end()),a},t.exports=s},{"2b0851eb802062eb":"8VfEv","26a3e187eed562d3":"lrHBE",f0f9bb6737d10f91:"epJvW",be2d3066b92e943b:"cEKc1"}],lrHBE:[function(e,t,r){t.exports=n;var a=e("15774cc5a8e6a801").EventEmitter;function n(){a.call(this)}e("7b4ef64e6ee342fc")(n,a),n.Readable=e("a5475d44c3cd60aa"),n.Writable=e("a3c2c1b65b15c7d1"),n.Duplex=e("c0bbf26752dc0652"),n.Transform=e("500fa483aec764bc"),n.PassThrough=e("3a244b688093b17a"),n.finished=e("ef41c1171ccf292c"),n.pipeline=e("1fca32c98ec32d4c"),n.Stream=n,n.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",i),r.on("close",l));var s=!1;function i(){s||(s=!0,e.end())}function l(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(u(),0===a.listenerCount(this,"error"))throw e}function u(){r.removeListener("data",n),e.removeListener("drain",o),r.removeListener("end",i),r.removeListener("close",l),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",u),r.removeListener("close",u),e.removeListener("close",u)}return r.on("error",c),e.on("error",c),r.on("end",u),r.on("close",u),e.on("close",u),e.emit("pipe",r),e}},{"15774cc5a8e6a801":"8Yb3v","7b4ef64e6ee342fc":"cEKc1",a5475d44c3cd60aa:"eCBMD",a3c2c1b65b15c7d1:"cxZxb",c0bbf26752dc0652:"1NlRK","500fa483aec764bc":"3VBbq","3a244b688093b17a":"hDQ9g",ef41c1171ccf292c:"4HgXZ","1fca32c98ec32d4c":"2oidA"}],eCBMD:[function(e,t,r){var a,n=arguments[3],o=e("89aa666679cdd929");t.exports=D,D.ReadableState=E;e("5831a116a3c930e8").EventEmitter;var s=function(e,t){return e.listeners(t).length},i=e("f5584558b394e8a3"),l=e("f91a537746da1d").Buffer,c=(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,d=e("132bb879272d8d46");u=d&&d.debuglog?d.debuglog("stream"):function(){};var p,f,h,m=e("e876e12f6b1fbefa"),v=e("5aa0391836ce2864"),g=e("4eb59524e485b0b4").getHighWaterMark,b=e("671ec0c179125134").codes,y=b.ERR_INVALID_ARG_TYPE,x=b.ERR_STREAM_PUSH_AFTER_EOF,S=b.ERR_METHOD_NOT_IMPLEMENTED,j=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("6d82f8c4b80f1d95")(D,i);var I=v.errorOrDestroy,C=["error","close","destroy","pause","resume"];function E(t,r,n){a=a||e("434ab41fe13b4695"),t=t||{},"boolean"!=typeof n&&(n=r instanceof a),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=g(this,t,"readableHighWaterMark",n),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=e("2315621b55da9b18").StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function D(t){if(a=a||e("434ab41fe13b4695"),!(this instanceof D))return new D(t);var r=this instanceof a;this._readableState=new E(t,this,r),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),i.call(this)}function T(e,t,r,a,n){u("readableAddChunk",t);var o,s=e._readableState;if(null===t)s.reading=!1,function(e,t){if(u("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?A(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,s);else if(n||(o=function(e,t){var r;a=t,l.isBuffer(a)||a instanceof c||"string"==typeof t||void 0===t||e.objectMode||(r=new y("chunk",["string","Buffer","Uint8Array"],t));var a;return r}(s,t)),o)I(e,o);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),a)s.endEmitted?I(e,new j):w(e,s,t,!0);else if(s.ended)I(e,new x);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?w(e,s,t,!1):k(e,s)):w(e,s,t,!1)}else a||(s.reading=!1,k(e,s));return!s.ended&&(s.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=R?e=R:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function A(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,o.nextTick(O,e))}function O(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,_(e)}function k(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(P,e,t))}function P(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function z(e){u("readable nexttick read 0"),e.read(0)}function L(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),_(e),t.flowing&&!t.reading&&e.read(0)}function _(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function N(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 U(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,o.nextTick(H,t,e))}function H(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function V(e,t){for(var r=0,a=e.length;r=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):A(this),null;if(0===(e=M(e,t))&&t.ended)return 0===t.length&&U(this),null;var a,n=t.needReadable;return u("need readable",n),(0===t.length||t.length-e0?N(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&U(this)),null!==a&&this.emit("data",a),a},D.prototype._read=function(e){I(this,new S("_read()"))},D.prototype.pipe=function(e,t){var r=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,u("pipe count=%d opts=%j",a.pipesCount,t);var n=(!t||!1!==t.end)&&e!==o.stdout&&e!==o.stderr?l:v;function i(t,n){u("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),e.removeListener("close",h),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",f),e.removeListener("unpipe",i),r.removeListener("end",l),r.removeListener("end",v),r.removeListener("data",p),d=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){u("onend"),e.end()}a.endEmitted?o.nextTick(n):r.once("end",n),e.on("unpipe",i);var c=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,_(e))}}(r);e.on("drain",c);var d=!1;function p(t){u("ondata");var n=e.write(t);u("dest.write",n),!1===n&&((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==V(a.pipes,e))&&!d&&(u("false write response, pause",a.awaitDrain),a.awaitDrain++),r.pause())}function f(t){u("onerror",t),v(),e.removeListener("error",f),0===s(e,"error")&&I(e,t)}function h(){e.removeListener("finish",m),v()}function m(){u("onfinish"),e.removeListener("close",h),v()}function v(){u("unpipe"),r.unpipe(e)}return r.on("data",p),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",f),e.once("close",h),e.once("finish",m),e.emit("pipe",r),a.flowing||(u("pipe resume"),r.resume()),e},D.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var a=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==a.flowing&&this.resume()):"readable"===e&&(a.endEmitted||a.readableListening||(a.readableListening=a.needReadable=!0,a.flowing=!1,a.emittedReadable=!1,u("on readable",a.length,a.reading),a.length?A(this):a.reading||o.nextTick(z,this))),r},D.prototype.addListener=D.prototype.on,D.prototype.removeListener=function(e,t){var r=i.prototype.removeListener.call(this,e,t);return"readable"===e&&o.nextTick(F,this),r},D.prototype.removeAllListeners=function(e){var t=i.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||o.nextTick(F,this),t},D.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,o.nextTick(L,e,t))}(this,e)),e.paused=!1,this},D.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},D.prototype.wrap=function(e){var t=this,r=this._readableState,a=!1;for(var n in e.on("end",(function(){if(u("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(n){(u("wrapped data"),r.decoder&&(n=r.decoder.write(n)),r.objectMode&&null==n)||(r.objectMode||n&&n.length)&&(t.push(n)||(a=!0,e.pause()))})),e)void 0===this[n]&&"function"==typeof e[n]&&(this[n]=function(t){return function(){return e[t].apply(e,arguments)}}(n));for(var o=0;o0?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;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return l.alloc(0);for(var t,r,a,n=l.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=n,a=s,l.prototype.copy.call(t,r,a),s+=o.data.length,o=o.next;return n}},{key:"consume",value:function(e,t){var r;return en.length?n.length:e;if(o===n.length?a+=n:a+=n.slice(0,e),0==(e-=o)){o===n.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=n.slice(o));break}++r}return this.length-=r,a}},{key:"_getBuffer",value:function(e){var t=l.allocUnsafe(e),r=this.head,a=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var n=r.data,o=e>n.length?n.length:e;if(n.copy(t,t.length-e,0,o),0==(e-=o)){o===n.length?(++a,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=n.slice(o));break}++a}return this.length-=a,t}},{key:u,value:function(e,t){return c(this,n(n({},t),{},{depth:0,customInspect:!1}))}}])&&s(t.prototype,r),a&&s(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}()},{fa62339adc65124e:"k6T4L","257c57d16a9845f0":"21TZM"}],hA0sj:[function(e,t,r){var a=e("fab4a444e347cc58");function n(e,t){s(e,t),o(e)}function o(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function s(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return i||l?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,a.nextTick(s,this,e)):a.nextTick(s,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?r._writableState?r._writableState.errorEmitted?a.nextTick(o,r):(r._writableState.errorEmitted=!0,a.nextTick(n,r,e)):a.nextTick(n,r,e):t?(a.nextTick(o,r),t(e)):a.nextTick(o,r)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,a=e._writableState;r&&r.autoDestroy||a&&a.autoDestroy?e.destroy(t):e.emit("error",t)}}},{fab4a444e347cc58:"iRwsc"}],"6h9AI":[function(e,t,r){"use strict";var a=e("27d22ddc18893bd3").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,r,n){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,n,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new a(n?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},{"27d22ddc18893bd3":"fnQtj"}],fnQtj:[function(e,t,r){"use strict";var a={};function n(e,t,r){r||(r=Error);var n=function(e){var r,a;function n(r,a,n){return e.call(this,function(e,r,a){return"string"==typeof t?t:t(e,r,a)}(r,a,n))||this}return a=e,(r=n).prototype=Object.create(a.prototype),r.prototype.constructor=r,r.__proto__=a,n}(r);n.prototype.name=r.name,n.prototype.code=e,a[e]=n}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,r){var a,n,s,i;if("string"==typeof t&&(n="not ",t.substr(!s||s<0?0:+s,n.length)===n)?(a="must not be",t=t.replace(/^not /,"")):a="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))i="The ".concat(e," ").concat(a," ").concat(o(t,"type"));else{var l=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(l," ").concat(a," ").concat(o(t,"type"))}return i+=". Received type ".concat(typeof r)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=a},{}],"1NlRK":[function(e,t,r){var a=e("81d9152d292a04d"),n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=u;var o=e("beb6b02d30b1f4e7"),s=e("c1bfaa3b46c90766");e("e2decc6175680166")(u,o);for(var i=n(s.prototype),l=0;l-1))throw new j(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(D.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(D.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),D.prototype._write=function(e,t,r){r(new v("_write()"))},D.prototype._writev=null,D.prototype.end=function(e,t,r){var a=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),a.corked&&(a.corked=1,this.uncork()),a.ending||function(e,t,r){t.ending=!0,O(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,a,r),this},Object.defineProperty(D.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),D.prototype.destroy=p.destroy,D.prototype._undestroy=p.undestroy,D.prototype._destroy=function(e,t){t(e)}},{"73ee39f316b7371c":"iRwsc",e452a5f95b578df9:"fnBpB",cbb26c2f272acc75:"5wAnY","8febced717c13656":"k6T4L",fb73cc7c49c8f8aa:"hA0sj",c4f9704f8859790e:"6h9AI",a35e7dde971bed4b:"fnQtj",c9936e3dd98b7321:"cEKc1","34b068251eaa30f5":"1NlRK"}],bwW2f:[function(e,t,r){var a,n=e("5c0d5fac73cf7ba");function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=e("34e2eae45e8dfad6"),i=Symbol("lastResolve"),l=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),d=Symbol("lastPromise"),p=Symbol("handlePromise"),f=Symbol("stream");function h(e,t){return{value:e,done:t}}function m(e){var t=e[i];if(null!==t){var r=e[f].read();null!==r&&(e[d]=null,e[i]=null,e[l]=null,t(h(r,!1)))}}function v(e){n.nextTick(m,e)}var g=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((o(a={get stream(){return this[f]},next:function(){var e=this,t=this[c];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(h(void 0,!0));if(this[f].destroyed)return new Promise((function(t,r){n.nextTick((function(){e[c]?r(e[c]):t(h(void 0,!0))}))}));var r,a=this[d];if(a)r=new Promise(function(e,t){return function(r,a){e.then((function(){t[u]?r(h(void 0,!0)):t[p](r,a)}),a)}}(a,this));else{var o=this[f].read();if(null!==o)return Promise.resolve(h(o,!1));r=new Promise(this[p])}return this[d]=r,r}},Symbol.asyncIterator,(function(){return this})),o(a,"return",(function(){var e=this;return new Promise((function(t,r){e[f].destroy(null,(function(e){e?r(e):t(h(void 0,!0))}))}))})),a),g);t.exports=function(e){var t,r=Object.create(b,(o(t={},f,{value:e,writable:!0}),o(t,i,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,c,{value:null,writable:!0}),o(t,u,{value:e._readableState.endEmitted,writable:!0}),o(t,p,{value:function(e,t){var a=r[f].read();a?(r[d]=null,r[i]=null,r[l]=null,e(h(a,!1))):(r[i]=e,r[l]=t)},writable:!0}),t));return r[d]=null,s(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[l];return null!==t&&(r[d]=null,r[i]=null,r[l]=null,t(e)),void(r[c]=e)}var a=r[i];null!==a&&(r[d]=null,r[i]=null,r[l]=null,a(h(void 0,!0))),r[u]=!0})),e.on("readable",v.bind(null,r)),r}},{"5c0d5fac73cf7ba":"iRwsc","34e2eae45e8dfad6":"4HgXZ"}],"4HgXZ":[function(e,t,r){"use strict";var a=e("9c77db1ace9ccc81").codes.ERR_STREAM_PREMATURE_CLOSE;function n(){}t.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,a=new Array(r),n=0;n0,(function(e){u||(u=e),e&&p.forEach(l),o||(p.forEach(l),d(u))}))}));return r.reduce(c)}},{a8ef177d2f2102c7:"fnQtj","1e56e3b75c16c00e":"4HgXZ"}],awCs3:[function(e,t,r){"use strict";var a=e("8662f5edec22c9af"),n=e("9bb297d2a203ba55"),o=e("b7fe53957cd80c31"),s=e("2fe10a873812638d").Buffer,i=e("7220a112d2d36822"),l=e("9c6b8d975a05b77"),c=e("fd10893143420bb1"),u=s.alloc(128);function d(e,t){o.call(this,"digest"),"string"==typeof t&&(t=s.from(t));var r="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>r)?t=("rmd160"===e?new l:c(e)).update(t).digest():t.lengthi?t=e(t):t.lengtha||t!=t)throw new TypeError("Bad key length")}},{}],gpfIT:[function(e,t,r){var a,n=arguments[3],o=e("92df90d9b450205b");if(n.process&&n.process.browser)a="utf-8";else if(n.process&&n.process.version){a=parseInt(o.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else a="utf-8";t.exports=a},{"92df90d9b450205b":"iRwsc"}],"9yMt9":[function(e,t,r){var a=e("ef81b12b1b0adc48"),n=e("14f7f277fc804e8f"),o=e("ebb2343fc61aece6"),s=e("357629e7aa44cb1d").Buffer,i=e("a4ac5390bda0783f"),l=e("afab35799534ae8d"),c=e("12f3907e91f7de10"),u=s.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function p(e,t,r){var i=function(e){function t(t){return o(e).update(t).digest()}function r(e){return(new n).update(e).digest()}return"rmd160"===e||"ripemd160"===e?r:"md5"===e?a:t}(e),l="sha512"===e||"sha384"===e?128:64;t.length>l?t=i(t):t.length>>0},r.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},r.ip=function(e,t,r,a){for(var n=0,o=0,s=6;s>=0;s-=2){for(var i=0;i<=24;i+=8)n<<=1,n|=t>>>i+s&1;for(i=0;i<=24;i+=8)n<<=1,n|=e>>>i+s&1}for(s=6;s>=0;s-=2){for(i=1;i<=25;i+=8)o<<=1,o|=t>>>i+s&1;for(i=1;i<=25;i+=8)o<<=1,o|=e>>>i+s&1}r[a+0]=n>>>0,r[a+1]=o>>>0},r.rip=function(e,t,r,a){for(var n=0,o=0,s=0;s<4;s++)for(var i=24;i>=0;i-=8)n<<=1,n|=t>>>i+s&1,n<<=1,n|=e>>>i+s&1;for(s=4;s<8;s++)for(i=24;i>=0;i-=8)o<<=1,o|=t>>>i+s&1,o<<=1,o|=e>>>i+s&1;r[a+0]=n>>>0,r[a+1]=o>>>0},r.pc1=function(e,t,r,a){for(var n=0,o=0,s=7;s>=5;s--){for(var i=0;i<=24;i+=8)n<<=1,n|=t>>i+s&1;for(i=0;i<=24;i+=8)n<<=1,n|=e>>i+s&1}for(i=0;i<=24;i+=8)n<<=1,n|=t>>i+s&1;for(s=1;s<=3;s++){for(i=0;i<=24;i+=8)o<<=1,o|=t>>i+s&1;for(i=0;i<=24;i+=8)o<<=1,o|=e>>i+s&1}for(i=0;i<=24;i+=8)o<<=1,o|=e>>i+s&1;r[a+0]=n>>>0,r[a+1]=o>>>0},r.r28shl=function(e,t){return e<>>28-t};var a=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];r.pc2=function(e,t,r,n){for(var o=0,s=0,i=a.length>>>1,l=0;l>>a[l]&1;for(l=i;l>>a[l]&1;r[n+0]=o>>>0,r[n+1]=s>>>0},r.expand=function(e,t,r){var a=0,n=0;a=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)a<<=6,a|=e>>>o&63;for(o=11;o>=3;o-=4)n|=e>>>o&63,n<<=6;n|=(31&e)<<1|e>>>31,t[r+0]=a>>>0,t[r+1]=n>>>0};var n=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];r.substitute=function(e,t){for(var r=0,a=0;a<4;a++){r<<=4,r|=n[64*a+(e>>>18-6*a&63)]}for(a=0;a<4;a++){r<<=4,r|=n[256+64*a+(t>>>18-6*a&63)]}return r>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];r.permute=function(e){for(var t=0,r=0;r>>o[r]&1;return t>>>0},r.padSplit=function(e,t,r){for(var a=e.toString(2);a.length0;a--)t+=this._buffer(e,t),r+=this._flushBuffer(n,r);return t+=this._buffer(e,t),n},n.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},n.prototype._pad=function(e,t){if(0===t)return!1;for(;t>>1];r=o.r28shl(r,i),n=o.r28shl(n,i),o.pc2(r,n,e.keys,s)}},l.prototype._update=function(e,t,r,a){var n=this._desState,s=o.readUInt32BE(e,t),i=o.readUInt32BE(e,t+4);o.ip(s,i,n.tmp,0),s=n.tmp[0],i=n.tmp[1],"encrypt"===this.type?this._encrypt(n,s,i,n.tmp,0):this._decrypt(n,s,i,n.tmp,0),s=n.tmp[0],i=n.tmp[1],o.writeUInt32BE(r,s,a),o.writeUInt32BE(r,i,a+4)},l.prototype._pad=function(e,t){if(!1===this.padding)return!1;for(var r=e.length-t,a=t;a>>0,s=p}o.rip(i,s,a,n)},l.prototype._decrypt=function(e,t,r,a,n){for(var s=r,i=t,l=e.keys.length-2;l>=0;l-=2){var c=e.keys[l],u=e.keys[l+1];o.expand(s,e.tmp,0),c^=e.tmp[0],u^=e.tmp[1];var d=o.substitute(c,u),p=s;s=(i^o.permute(d))>>>0,i=p}o.rip(s,i,a,n)}},{a9cd61b9c66e8f17:"l1iHO","27c474140512a374":"cEKc1",dae43029fde27011:"axiAO","9ee17b7e8a923395":"hFx8A"}],"1d3VJ":[function(e,t,r){"use strict";var a=e("c7505c265c454e17"),n=e("79eff614b20e64a7"),o={};function s(e){a.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},p.prototype.flush=function(){for(var e=16-this.cache.length,t=o.allocUnsafe(e),r=-1;++r>s%8,e._prev=o(e._prev,r?a:n);return i}function o(e,t){var r=e.length,n=-1,o=a.allocUnsafe(e.length);for(e=a.concat([e,a.from([t])]);++n>7;return o}r.encrypt=function(e,t,r){for(var o=t.length,s=a.allocUnsafe(o),i=-1;++i>>24]^u[h>>>16&255]^d[m>>>8&255]^p[255&v]^t[g++],s=c[h>>>24]^u[m>>>16&255]^d[v>>>8&255]^p[255&f]^t[g++],i=c[m>>>24]^u[v>>>16&255]^d[f>>>8&255]^p[255&h]^t[g++],l=c[v>>>24]^u[f>>>16&255]^d[h>>>8&255]^p[255&m]^t[g++],f=o,h=s,m=i,v=l;return o=(a[f>>>24]<<24|a[h>>>16&255]<<16|a[m>>>8&255]<<8|a[255&v])^t[g++],s=(a[h>>>24]<<24|a[m>>>16&255]<<16|a[v>>>8&255]<<8|a[255&f])^t[g++],i=(a[m>>>24]<<24|a[v>>>16&255]<<16|a[f>>>8&255]<<8|a[255&h])^t[g++],l=(a[v>>>24]<<24|a[f>>>16&255]<<16|a[h>>>8&255]<<8|a[255&m])^t[g++],[o>>>=0,s>>>=0,i>>>=0,l>>>=0]}var i=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],a=[],n=[[],[],[],[]],o=[[],[],[],[]],s=0,i=0,l=0;l<256;++l){var c=i^i<<1^i<<2^i<<3^i<<4;c=c>>>8^255&c^99,r[s]=c,a[c]=s;var u=e[s],d=e[u],p=e[d],f=257*e[c]^16843008*c;n[0][s]=f<<24|f>>>8,n[1][s]=f<<16|f>>>16,n[2][s]=f<<8|f>>>24,n[3][s]=f,f=16843009*p^65537*d^257*u^16843008*s,o[0][c]=f<<24|f>>>8,o[1][c]=f<<16|f>>>16,o[2][c]=f<<8|f>>>24,o[3][c]=f,0===s?s=i=1:(s=u^e[e[e[p^u]]],i^=e[e[i]])}return{SBOX:r,INV_SBOX:a,SUB_MIX:n,INV_SUB_MIX:o}}();function c(e){this._key=n(e),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,a=4*(r+1),n=[],o=0;o>>24,s=l.SBOX[s>>>24]<<24|l.SBOX[s>>>16&255]<<16|l.SBOX[s>>>8&255]<<8|l.SBOX[255&s],s^=i[o/t|0]<<24):t>6&&o%t==4&&(s=l.SBOX[s>>>24]<<24|l.SBOX[s>>>16&255]<<16|l.SBOX[s>>>8&255]<<8|l.SBOX[255&s]),n[o]=n[o-t]^s}for(var c=[],u=0;u>>24]]^l.INV_SUB_MIX[1][l.SBOX[p>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[p>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&p]]}this._nRounds=r,this._keySchedule=n,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(e){return s(e=n(e),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},c.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=a.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},c.prototype.decryptBlock=function(e){var t=(e=n(e))[1];e[1]=e[3],e[3]=t;var r=s(e,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),o=a.allocUnsafe(16);return o.writeUInt32BE(r[0],0),o.writeUInt32BE(r[3],4),o.writeUInt32BE(r[2],8),o.writeUInt32BE(r[1],12),o},c.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=c},{fcc5451e94c32ca9:"8VfEv"}],"3WQoT":[function(e,t,r){var a=e("786f847143fd4b43").Buffer,n=a.alloc(16,0);function o(e){var t=a.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function s(e){this.h=e,this.state=a.alloc(16,0),this.cache=a.allocUnsafe(0)}s.prototype.ghash=function(e){for(var t=-1;++t0;t--)a[t]=a[t]>>>1|(1&a[t-1])<<31;a[0]=a[0]>>>1,r&&(a[0]=-520093696^a[0])}this.state=o(n)},s.prototype.update=function(e){var t;for(this.cache=a.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},s.prototype.final=function(e,t){return this.cache.length&&this.ghash(a.concat([this.cache,n],16)),this.ghash(o([0,e,0,t])),this.state},t.exports=s},{"786f847143fd4b43":"8VfEv"}],"1GB4B":[function(e,t,r){var a=e("bd02af502f1edb2d"),n=e("53325d6fbc42b451").Buffer,o=e("9bbe31ea6b5b70db");function s(e,t,r,s){o.call(this),this._cipher=new a.AES(t),this._prev=n.from(r),this._cache=n.allocUnsafe(0),this._secCache=n.allocUnsafe(0),this._decrypt=s,this._mode=e}e("508f217eb92dd147")(s,o),s.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},s.prototype._final=function(){this._cipher.scrub()},t.exports=s},{bd02af502f1edb2d:"aX4TI","53325d6fbc42b451":"8VfEv","9bbe31ea6b5b70db":"lu67B","508f217eb92dd147":"cEKc1"}],ewMWT:[function(e,t,r){var a=e("31bd8d94a2a61182").Buffer,n=e("efd205d060519322");t.exports=function(e,t,r,o){if(a.isBuffer(e)||(e=a.from(e,"binary")),t&&(a.isBuffer(t)||(t=a.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var s=r/8,i=a.alloc(s),l=a.alloc(o||0),c=a.alloc(0);s>0||o>0;){var u=new n;u.update(c),u.update(e),t&&u.update(t),c=u.digest();var d=0;if(s>0){var p=i.length-s;d=Math.min(s,c.length),c.copy(i,p,0,d),s-=d}if(d0){var f=l.length-o,h=Math.min(o,c.length-d);c.copy(l,f,d,d+h),o-=h}}return c.fill(0),{key:i,iv:l}}},{"31bd8d94a2a61182":"8VfEv",efd205d060519322:"eifI8"}],Qi7h0:[function(e,t,r){var a=e("dc6faffbb0d85965"),n=e("36c44efe090f6d18").Buffer,o=e("30204bfebeaa4bc1"),s=e("1d3b8ca88d16ce87"),i=e("41f010382ae5f6ee"),l=e("71c7e92d5d7b7314"),c=e("4387abe239590528");function u(e,t,r){i.call(this),this._cache=new d,this._last=void 0,this._cipher=new l.AES(t),this._prev=n.from(r),this._mode=e,this._autopadding=!0}function d(){this.cache=n.allocUnsafe(0)}function p(e,t,r){var i=o[e.toLowerCase()];if(!i)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=n.from(r)),"GCM"!==i.mode&&r.length!==i.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=n.from(t)),t.length!==i.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===i.type?new s(i.module,t,r,!0):"auth"===i.type?new a(i.module,t,r,!0):new u(i.module,t,r)}e("9d87593c65002138")(u,i),u.prototype._update=function(e){var t,r;this._cache.add(e);for(var a=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),a.push(r);return n.concat(a)},u.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var r=-1;for(;++r16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},d.prototype.flush=function(){if(this.cache.length)return this.cache},r.createDecipher=function(e,t){var r=o[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var a=c(t,!1,r.key,r.iv);return p(e,a.key,a.iv)},r.createDecipheriv=p},{dc6faffbb0d85965:"3xTY3","36c44efe090f6d18":"8VfEv","30204bfebeaa4bc1":"31rbQ","1d3b8ca88d16ce87":"1GB4B","41f010382ae5f6ee":"lu67B","71c7e92d5d7b7314":"aX4TI","4387abe239590528":"ewMWT","9d87593c65002138":"cEKc1"}],b6rlR:[function(e,t,r){r["des-ecb"]={key:8,iv:0},r["des-cbc"]=r.des={key:8,iv:8},r["des-ede3-cbc"]=r.des3={key:24,iv:8},r["des-ede3"]={key:24,iv:0},r["des-ede-cbc"]={key:16,iv:8},r["des-ede"]={key:16,iv:0}},{}],g1o5r:[function(e,t,r){var a=e("1f2e2bc86511ee56").Buffer,n=e("66770b8e262a8458"),o=e("aa75ab7cd8d70476"),s=e("515b1c0640eae754");var i={binary:!0,hex:!0,base64:!0};r.DiffieHellmanGroup=r.createDiffieHellmanGroup=r.getDiffieHellman=function(e){var t=new a(o[e].prime,"hex"),r=new a(o[e].gen,"hex");return new s(t,r)},r.createDiffieHellman=r.DiffieHellman=function e(t,r,o,l){return a.isBuffer(r)||void 0===i[r]?e(t,"binary",r,o):(r=r||"binary",l=l||"binary",o=o||new a([2]),a.isBuffer(o)||(o=new a(o,l)),"number"==typeof t?new s(n(t,o),o,!0):(a.isBuffer(t)||(t=new a(t,r)),new s(t,o,!0)))}},{"1f2e2bc86511ee56":"k6T4L","66770b8e262a8458":"jOFQW",aa75ab7cd8d70476:"e7TjI","515b1c0640eae754":"4baWf"}],jOFQW:[function(e,t,r){var a=e("2aa83d452727333f");t.exports=b,b.simpleSieve=v,b.fermatTest=g;var n=e("36528aa26408dcf3"),o=new n(24),s=new(e("da80e3ecda6ec672")),i=new n(1),l=new n(2),c=new n(5),u=(new n(16),new n(8),new n(10)),d=new n(3),p=(new n(7),new n(11)),f=new n(4),h=(new n(12),null);function m(){if(null!==h)return h;var e=[];e[0]=2;for(var t=1,r=3;r<1048576;r+=2){for(var a=Math.ceil(Math.sqrt(r)),n=0;ne;)r.ishrn(1);if(r.isEven()&&r.iadd(i),r.testn(1)||r.iadd(l),t.cmp(l)){if(!t.cmp(c))for(;r.mod(u).cmp(d);)r.iadd(f)}else for(;r.mod(o).cmp(p);)r.iadd(f);if(v(h=r.shrn(1))&&v(r)&&g(h)&&g(r)&&s.test(h)&&s.test(r))return r}}},{"2aa83d452727333f":"kYauT","36528aa26408dcf3":"ePv4G",da80e3ecda6ec672:"59STe"}],ePv4G:[function(e,t,r){!function(t,r){"use strict";function a(e,t){if(!e)throw new Error(t||"Assertion failed")}function n(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var s;"object"==typeof t?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:e("29c6929714e24645").Buffer}catch(e){}function i(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var a=i(e,r);return r-1>=t&&(a|=i(e,r-1)<<4),a}function c(e,t,r,a){for(var n=0,o=Math.min(e.length,r),s=t;s=49?i-49+10:i>=17?i-17+10:i}return n}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),a(t===(0|t)&&t>=2&&t<=36);var n=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(n++,this.negative=1),n=0;n-=3)s=e[n]|e[n-1]<<8|e[n-2]<<16,this.words[o]|=s<>>26-i&67108863,(i+=24)>=26&&(i-=26,o++);else if("le"===r)for(n=0,o=0;n>>26-i&67108863,(i+=24)>=26&&(i-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var a=0;a=t;a-=2)n=l(e,t,a)<=18?(o-=18,s+=1,this.words[s]|=n>>>26):o+=8;else for(a=(e.length-t)%2==0?t+1:t;a=18?(o-=18,s+=1,this.words[s]|=n>>>26):o+=8;this.strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var a=0,n=1;n<=67108863;n*=t)a++;a--,n=n/t|0;for(var o=e.length-r,s=o%a,i=Math.min(o,o-s)+r,l=0,u=r;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,r){r.negative=t.negative^e.negative;var a=e.length+t.length|0;r.length=a,a=a-1|0;var n=0|e.words[0],o=0|t.words[0],s=n*o,i=67108863&s,l=s/67108864|0;r.words[0]=i;for(var c=1;c>>26,d=67108863&l,p=Math.min(c,t.length-1),f=Math.max(0,c-e.length+1);f<=p;f++){var h=c-f|0;u+=(s=(n=0|e.words[h])*(o=0|t.words[f])+d)/67108864|0,d=67108863&s}r.words[c]=0|d,l=0|u}return 0!==l?r.words[c]=0|l:r.length--,r.strip()}o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var n=0,o=0,s=0;s>>24-n&16777215)||s!==this.length-1?u[6-l.length]+l+r:l+r,(n+=2)>=26&&(n-=26,s--)}for(0!==o&&(r=o.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var c=d[e],f=p[e];r="";var h=this.clone();for(h.negative=0;!h.isZero();){var m=h.modn(f).toString(e);r=(h=h.idivn(f)).isZero()?m+r:u[c-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}a(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&a(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return a(void 0!==s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){var n=this.byteLength(),o=r||Math.max(1,n);a(n<=o,"byte array longer than desired length"),a(o>0,"Requested array length <= 0"),this.strip();var s,i,l="le"===t,c=new e(o),u=this.clone();if(l){for(i=0;!u.isZero();i++)s=u.andln(255),u.iushrn(8),c[i]=s;for(;i=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var a=0;ae.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){a("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var n=0;n0&&(this.words[n]=~this.words[n]&67108863>>26-r),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){a("number"==typeof e&&e>=0);var r=e/26|0,n=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,a=e):(r=e,a=this);for(var n=0,o=0;o>>26;for(;0!==n&&o>>26;if(this.length=r.length,0!==n)this.words[this.length]=n,this.length++;else if(r!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,a,n=this.cmp(e);if(0===n)return this.negative=0,this.length=1,this.words[0]=0,this;n>0?(r=this,a=e):(r=e,a=this);for(var o=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==o&&s>26,this.words[s]=67108863&t;if(0===o&&s>>13,f=0|s[1],h=8191&f,m=f>>>13,v=0|s[2],g=8191&v,b=v>>>13,y=0|s[3],x=8191&y,S=y>>>13,j=0|s[4],I=8191&j,C=j>>>13,E=0|s[5],D=8191&E,T=E>>>13,w=0|s[6],R=8191&w,M=w>>>13,A=0|s[7],O=8191&A,k=A>>>13,P=0|s[8],F=8191&P,z=P>>>13,L=0|s[9],_=8191&L,N=L>>>13,U=0|i[0],H=8191&U,V=U>>>13,B=0|i[1],q=8191&B,J=B>>>13,W=0|i[2],G=8191&W,K=W>>>13,Y=0|i[3],X=8191&Y,$=Y>>>13,Z=0|i[4],Q=8191&Z,ee=Z>>>13,te=0|i[5],re=8191&te,ae=te>>>13,ne=0|i[6],oe=8191&ne,se=ne>>>13,ie=0|i[7],le=8191&ie,ce=ie>>>13,ue=0|i[8],de=8191&ue,pe=ue>>>13,fe=0|i[9],he=8191&fe,me=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ve=(c+(a=Math.imul(d,H))|0)+((8191&(n=(n=Math.imul(d,V))+Math.imul(p,H)|0))<<13)|0;c=((o=Math.imul(p,V))+(n>>>13)|0)+(ve>>>26)|0,ve&=67108863,a=Math.imul(h,H),n=(n=Math.imul(h,V))+Math.imul(m,H)|0,o=Math.imul(m,V);var ge=(c+(a=a+Math.imul(d,q)|0)|0)+((8191&(n=(n=n+Math.imul(d,J)|0)+Math.imul(p,q)|0))<<13)|0;c=((o=o+Math.imul(p,J)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,a=Math.imul(g,H),n=(n=Math.imul(g,V))+Math.imul(b,H)|0,o=Math.imul(b,V),a=a+Math.imul(h,q)|0,n=(n=n+Math.imul(h,J)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,J)|0;var be=(c+(a=a+Math.imul(d,G)|0)|0)+((8191&(n=(n=n+Math.imul(d,K)|0)+Math.imul(p,G)|0))<<13)|0;c=((o=o+Math.imul(p,K)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,a=Math.imul(x,H),n=(n=Math.imul(x,V))+Math.imul(S,H)|0,o=Math.imul(S,V),a=a+Math.imul(g,q)|0,n=(n=n+Math.imul(g,J)|0)+Math.imul(b,q)|0,o=o+Math.imul(b,J)|0,a=a+Math.imul(h,G)|0,n=(n=n+Math.imul(h,K)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0;var ye=(c+(a=a+Math.imul(d,X)|0)|0)+((8191&(n=(n=n+Math.imul(d,$)|0)+Math.imul(p,X)|0))<<13)|0;c=((o=o+Math.imul(p,$)|0)+(n>>>13)|0)+(ye>>>26)|0,ye&=67108863,a=Math.imul(I,H),n=(n=Math.imul(I,V))+Math.imul(C,H)|0,o=Math.imul(C,V),a=a+Math.imul(x,q)|0,n=(n=n+Math.imul(x,J)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,J)|0,a=a+Math.imul(g,G)|0,n=(n=n+Math.imul(g,K)|0)+Math.imul(b,G)|0,o=o+Math.imul(b,K)|0,a=a+Math.imul(h,X)|0,n=(n=n+Math.imul(h,$)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,$)|0;var xe=(c+(a=a+Math.imul(d,Q)|0)|0)+((8191&(n=(n=n+Math.imul(d,ee)|0)+Math.imul(p,Q)|0))<<13)|0;c=((o=o+Math.imul(p,ee)|0)+(n>>>13)|0)+(xe>>>26)|0,xe&=67108863,a=Math.imul(D,H),n=(n=Math.imul(D,V))+Math.imul(T,H)|0,o=Math.imul(T,V),a=a+Math.imul(I,q)|0,n=(n=n+Math.imul(I,J)|0)+Math.imul(C,q)|0,o=o+Math.imul(C,J)|0,a=a+Math.imul(x,G)|0,n=(n=n+Math.imul(x,K)|0)+Math.imul(S,G)|0,o=o+Math.imul(S,K)|0,a=a+Math.imul(g,X)|0,n=(n=n+Math.imul(g,$)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,$)|0,a=a+Math.imul(h,Q)|0,n=(n=n+Math.imul(h,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var Se=(c+(a=a+Math.imul(d,re)|0)|0)+((8191&(n=(n=n+Math.imul(d,ae)|0)+Math.imul(p,re)|0))<<13)|0;c=((o=o+Math.imul(p,ae)|0)+(n>>>13)|0)+(Se>>>26)|0,Se&=67108863,a=Math.imul(R,H),n=(n=Math.imul(R,V))+Math.imul(M,H)|0,o=Math.imul(M,V),a=a+Math.imul(D,q)|0,n=(n=n+Math.imul(D,J)|0)+Math.imul(T,q)|0,o=o+Math.imul(T,J)|0,a=a+Math.imul(I,G)|0,n=(n=n+Math.imul(I,K)|0)+Math.imul(C,G)|0,o=o+Math.imul(C,K)|0,a=a+Math.imul(x,X)|0,n=(n=n+Math.imul(x,$)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,$)|0,a=a+Math.imul(g,Q)|0,n=(n=n+Math.imul(g,ee)|0)+Math.imul(b,Q)|0,o=o+Math.imul(b,ee)|0,a=a+Math.imul(h,re)|0,n=(n=n+Math.imul(h,ae)|0)+Math.imul(m,re)|0,o=o+Math.imul(m,ae)|0;var je=(c+(a=a+Math.imul(d,oe)|0)|0)+((8191&(n=(n=n+Math.imul(d,se)|0)+Math.imul(p,oe)|0))<<13)|0;c=((o=o+Math.imul(p,se)|0)+(n>>>13)|0)+(je>>>26)|0,je&=67108863,a=Math.imul(O,H),n=(n=Math.imul(O,V))+Math.imul(k,H)|0,o=Math.imul(k,V),a=a+Math.imul(R,q)|0,n=(n=n+Math.imul(R,J)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,J)|0,a=a+Math.imul(D,G)|0,n=(n=n+Math.imul(D,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,a=a+Math.imul(I,X)|0,n=(n=n+Math.imul(I,$)|0)+Math.imul(C,X)|0,o=o+Math.imul(C,$)|0,a=a+Math.imul(x,Q)|0,n=(n=n+Math.imul(x,ee)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,a=a+Math.imul(g,re)|0,n=(n=n+Math.imul(g,ae)|0)+Math.imul(b,re)|0,o=o+Math.imul(b,ae)|0,a=a+Math.imul(h,oe)|0,n=(n=n+Math.imul(h,se)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0;var Ie=(c+(a=a+Math.imul(d,le)|0)|0)+((8191&(n=(n=n+Math.imul(d,ce)|0)+Math.imul(p,le)|0))<<13)|0;c=((o=o+Math.imul(p,ce)|0)+(n>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,a=Math.imul(F,H),n=(n=Math.imul(F,V))+Math.imul(z,H)|0,o=Math.imul(z,V),a=a+Math.imul(O,q)|0,n=(n=n+Math.imul(O,J)|0)+Math.imul(k,q)|0,o=o+Math.imul(k,J)|0,a=a+Math.imul(R,G)|0,n=(n=n+Math.imul(R,K)|0)+Math.imul(M,G)|0,o=o+Math.imul(M,K)|0,a=a+Math.imul(D,X)|0,n=(n=n+Math.imul(D,$)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,$)|0,a=a+Math.imul(I,Q)|0,n=(n=n+Math.imul(I,ee)|0)+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,a=a+Math.imul(x,re)|0,n=(n=n+Math.imul(x,ae)|0)+Math.imul(S,re)|0,o=o+Math.imul(S,ae)|0,a=a+Math.imul(g,oe)|0,n=(n=n+Math.imul(g,se)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,se)|0,a=a+Math.imul(h,le)|0,n=(n=n+Math.imul(h,ce)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ce)|0;var Ce=(c+(a=a+Math.imul(d,de)|0)|0)+((8191&(n=(n=n+Math.imul(d,pe)|0)+Math.imul(p,de)|0))<<13)|0;c=((o=o+Math.imul(p,pe)|0)+(n>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,a=Math.imul(_,H),n=(n=Math.imul(_,V))+Math.imul(N,H)|0,o=Math.imul(N,V),a=a+Math.imul(F,q)|0,n=(n=n+Math.imul(F,J)|0)+Math.imul(z,q)|0,o=o+Math.imul(z,J)|0,a=a+Math.imul(O,G)|0,n=(n=n+Math.imul(O,K)|0)+Math.imul(k,G)|0,o=o+Math.imul(k,K)|0,a=a+Math.imul(R,X)|0,n=(n=n+Math.imul(R,$)|0)+Math.imul(M,X)|0,o=o+Math.imul(M,$)|0,a=a+Math.imul(D,Q)|0,n=(n=n+Math.imul(D,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,a=a+Math.imul(I,re)|0,n=(n=n+Math.imul(I,ae)|0)+Math.imul(C,re)|0,o=o+Math.imul(C,ae)|0,a=a+Math.imul(x,oe)|0,n=(n=n+Math.imul(x,se)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,se)|0,a=a+Math.imul(g,le)|0,n=(n=n+Math.imul(g,ce)|0)+Math.imul(b,le)|0,o=o+Math.imul(b,ce)|0,a=a+Math.imul(h,de)|0,n=(n=n+Math.imul(h,pe)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,pe)|0;var Ee=(c+(a=a+Math.imul(d,he)|0)|0)+((8191&(n=(n=n+Math.imul(d,me)|0)+Math.imul(p,he)|0))<<13)|0;c=((o=o+Math.imul(p,me)|0)+(n>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,a=Math.imul(_,q),n=(n=Math.imul(_,J))+Math.imul(N,q)|0,o=Math.imul(N,J),a=a+Math.imul(F,G)|0,n=(n=n+Math.imul(F,K)|0)+Math.imul(z,G)|0,o=o+Math.imul(z,K)|0,a=a+Math.imul(O,X)|0,n=(n=n+Math.imul(O,$)|0)+Math.imul(k,X)|0,o=o+Math.imul(k,$)|0,a=a+Math.imul(R,Q)|0,n=(n=n+Math.imul(R,ee)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,a=a+Math.imul(D,re)|0,n=(n=n+Math.imul(D,ae)|0)+Math.imul(T,re)|0,o=o+Math.imul(T,ae)|0,a=a+Math.imul(I,oe)|0,n=(n=n+Math.imul(I,se)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,se)|0,a=a+Math.imul(x,le)|0,n=(n=n+Math.imul(x,ce)|0)+Math.imul(S,le)|0,o=o+Math.imul(S,ce)|0,a=a+Math.imul(g,de)|0,n=(n=n+Math.imul(g,pe)|0)+Math.imul(b,de)|0,o=o+Math.imul(b,pe)|0;var De=(c+(a=a+Math.imul(h,he)|0)|0)+((8191&(n=(n=n+Math.imul(h,me)|0)+Math.imul(m,he)|0))<<13)|0;c=((o=o+Math.imul(m,me)|0)+(n>>>13)|0)+(De>>>26)|0,De&=67108863,a=Math.imul(_,G),n=(n=Math.imul(_,K))+Math.imul(N,G)|0,o=Math.imul(N,K),a=a+Math.imul(F,X)|0,n=(n=n+Math.imul(F,$)|0)+Math.imul(z,X)|0,o=o+Math.imul(z,$)|0,a=a+Math.imul(O,Q)|0,n=(n=n+Math.imul(O,ee)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,a=a+Math.imul(R,re)|0,n=(n=n+Math.imul(R,ae)|0)+Math.imul(M,re)|0,o=o+Math.imul(M,ae)|0,a=a+Math.imul(D,oe)|0,n=(n=n+Math.imul(D,se)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,se)|0,a=a+Math.imul(I,le)|0,n=(n=n+Math.imul(I,ce)|0)+Math.imul(C,le)|0,o=o+Math.imul(C,ce)|0,a=a+Math.imul(x,de)|0,n=(n=n+Math.imul(x,pe)|0)+Math.imul(S,de)|0,o=o+Math.imul(S,pe)|0;var Te=(c+(a=a+Math.imul(g,he)|0)|0)+((8191&(n=(n=n+Math.imul(g,me)|0)+Math.imul(b,he)|0))<<13)|0;c=((o=o+Math.imul(b,me)|0)+(n>>>13)|0)+(Te>>>26)|0,Te&=67108863,a=Math.imul(_,X),n=(n=Math.imul(_,$))+Math.imul(N,X)|0,o=Math.imul(N,$),a=a+Math.imul(F,Q)|0,n=(n=n+Math.imul(F,ee)|0)+Math.imul(z,Q)|0,o=o+Math.imul(z,ee)|0,a=a+Math.imul(O,re)|0,n=(n=n+Math.imul(O,ae)|0)+Math.imul(k,re)|0,o=o+Math.imul(k,ae)|0,a=a+Math.imul(R,oe)|0,n=(n=n+Math.imul(R,se)|0)+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,a=a+Math.imul(D,le)|0,n=(n=n+Math.imul(D,ce)|0)+Math.imul(T,le)|0,o=o+Math.imul(T,ce)|0,a=a+Math.imul(I,de)|0,n=(n=n+Math.imul(I,pe)|0)+Math.imul(C,de)|0,o=o+Math.imul(C,pe)|0;var we=(c+(a=a+Math.imul(x,he)|0)|0)+((8191&(n=(n=n+Math.imul(x,me)|0)+Math.imul(S,he)|0))<<13)|0;c=((o=o+Math.imul(S,me)|0)+(n>>>13)|0)+(we>>>26)|0,we&=67108863,a=Math.imul(_,Q),n=(n=Math.imul(_,ee))+Math.imul(N,Q)|0,o=Math.imul(N,ee),a=a+Math.imul(F,re)|0,n=(n=n+Math.imul(F,ae)|0)+Math.imul(z,re)|0,o=o+Math.imul(z,ae)|0,a=a+Math.imul(O,oe)|0,n=(n=n+Math.imul(O,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,a=a+Math.imul(R,le)|0,n=(n=n+Math.imul(R,ce)|0)+Math.imul(M,le)|0,o=o+Math.imul(M,ce)|0,a=a+Math.imul(D,de)|0,n=(n=n+Math.imul(D,pe)|0)+Math.imul(T,de)|0,o=o+Math.imul(T,pe)|0;var Re=(c+(a=a+Math.imul(I,he)|0)|0)+((8191&(n=(n=n+Math.imul(I,me)|0)+Math.imul(C,he)|0))<<13)|0;c=((o=o+Math.imul(C,me)|0)+(n>>>13)|0)+(Re>>>26)|0,Re&=67108863,a=Math.imul(_,re),n=(n=Math.imul(_,ae))+Math.imul(N,re)|0,o=Math.imul(N,ae),a=a+Math.imul(F,oe)|0,n=(n=n+Math.imul(F,se)|0)+Math.imul(z,oe)|0,o=o+Math.imul(z,se)|0,a=a+Math.imul(O,le)|0,n=(n=n+Math.imul(O,ce)|0)+Math.imul(k,le)|0,o=o+Math.imul(k,ce)|0,a=a+Math.imul(R,de)|0,n=(n=n+Math.imul(R,pe)|0)+Math.imul(M,de)|0,o=o+Math.imul(M,pe)|0;var Me=(c+(a=a+Math.imul(D,he)|0)|0)+((8191&(n=(n=n+Math.imul(D,me)|0)+Math.imul(T,he)|0))<<13)|0;c=((o=o+Math.imul(T,me)|0)+(n>>>13)|0)+(Me>>>26)|0,Me&=67108863,a=Math.imul(_,oe),n=(n=Math.imul(_,se))+Math.imul(N,oe)|0,o=Math.imul(N,se),a=a+Math.imul(F,le)|0,n=(n=n+Math.imul(F,ce)|0)+Math.imul(z,le)|0,o=o+Math.imul(z,ce)|0,a=a+Math.imul(O,de)|0,n=(n=n+Math.imul(O,pe)|0)+Math.imul(k,de)|0,o=o+Math.imul(k,pe)|0;var Ae=(c+(a=a+Math.imul(R,he)|0)|0)+((8191&(n=(n=n+Math.imul(R,me)|0)+Math.imul(M,he)|0))<<13)|0;c=((o=o+Math.imul(M,me)|0)+(n>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,a=Math.imul(_,le),n=(n=Math.imul(_,ce))+Math.imul(N,le)|0,o=Math.imul(N,ce),a=a+Math.imul(F,de)|0,n=(n=n+Math.imul(F,pe)|0)+Math.imul(z,de)|0,o=o+Math.imul(z,pe)|0;var Oe=(c+(a=a+Math.imul(O,he)|0)|0)+((8191&(n=(n=n+Math.imul(O,me)|0)+Math.imul(k,he)|0))<<13)|0;c=((o=o+Math.imul(k,me)|0)+(n>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,a=Math.imul(_,de),n=(n=Math.imul(_,pe))+Math.imul(N,de)|0,o=Math.imul(N,pe);var ke=(c+(a=a+Math.imul(F,he)|0)|0)+((8191&(n=(n=n+Math.imul(F,me)|0)+Math.imul(z,he)|0))<<13)|0;c=((o=o+Math.imul(z,me)|0)+(n>>>13)|0)+(ke>>>26)|0,ke&=67108863;var Pe=(c+(a=Math.imul(_,he))|0)+((8191&(n=(n=Math.imul(_,me))+Math.imul(N,he)|0))<<13)|0;return c=((o=Math.imul(N,me))+(n>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,l[0]=ve,l[1]=ge,l[2]=be,l[3]=ye,l[4]=xe,l[5]=Se,l[6]=je,l[7]=Ie,l[8]=Ce,l[9]=Ee,l[10]=De,l[11]=Te,l[12]=we,l[13]=Re,l[14]=Me,l[15]=Ae,l[16]=Oe,l[17]=ke,l[18]=Pe,0!==c&&(l[19]=c,r.length++),r};function m(e,t,r){return(new v).mulp(e,t,r)}function v(e,t){this.x=e,this.y=t}Math.imul||(h=f),o.prototype.mulTo=function(e,t){var r,a=this.length+e.length;return r=10===this.length&&10===e.length?h(this,e,t):a<63?f(this,e,t):a<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var a=0,n=0,o=0;o>>26)|0)>>>26,s&=67108863}r.words[o]=i,a=s,s=n}return 0!==a?r.words[o]=a:r.length--,r.strip()}(this,e,t):m(this,e,t),r},v.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,a=0;a>=1;return a},v.prototype.permute=function(e,t,r,a,n,o){for(var s=0;s>>=1)n++;return 1<>>=13,r[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,t+=n/67108864|0,t+=o>>>26,this.words[r]=67108863&o}return 0!==t&&(this.words[r]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>n}return t}(e);if(0===t.length)return new o(1);for(var r=this,a=0;a=0);var t,r=e%26,n=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==n){for(t=this.length-1;t>=0;t--)this.words[t+n]=this.words[t];for(t=0;t=0),n=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),i=67108863^67108863>>>o<s)for(this.length-=s,c=0;c=0&&(0!==u||c>=n);c--){var d=0|this.words[c];this.words[c]=u<<26-o|d>>>o,u=d&i}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,r){return a(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){a("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,n=1<=0);var t=e%26,r=(e-t)/26;if(a(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var n=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(a("number"==typeof e),a(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(l/67108864|0),this.words[n+r]=67108863&o}for(;n>26,this.words[n+r]=67108863&o;if(0===i)return this.strip();for(a(-1===i),i=0,n=0;n>26,this.words[n]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),a=this.clone(),n=e,s=0|n.words[n.length-1];0!==(r=26-this._countBits(s))&&(n=n.ushln(r),a.iushln(r),s=0|n.words[n.length-1]);var i,l=a.length-n.length;if("mod"!==t){(i=new o(null)).length=l+1,i.words=new Array(i.length);for(var c=0;c=0;d--){var p=67108864*(0|a.words[n.length+d])+(0|a.words[n.length+d-1]);for(p=Math.min(p/s|0,67108863),a._ishlnsubmul(n,p,d);0!==a.negative;)p--,a.negative=0,a._ishlnsubmul(n,1,d),a.isZero()||(a.negative^=1);i&&(i.words[d]=p)}return i&&i.strip(),a.strip(),"div"!==t&&0!==r&&a.iushrn(r),{div:i||null,mod:a}},o.prototype.divmod=function(e,t,r){return a(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(i=this.neg().divmod(e,t),"mod"!==t&&(n=i.div.neg()),"div"!==t&&(s=i.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:n,mod:s}):0===this.negative&&0!==e.negative?(i=this.divmod(e.neg(),t),"mod"!==t&&(n=i.div.neg()),{div:n,mod:i.mod}):this.negative&e.negative?(i=this.neg().divmod(e.neg(),t),"div"!==t&&(s=i.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:i.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var n,s,i},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,a=e.ushrn(1),n=e.andln(1),o=r.cmp(a);return o<0||1===n&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){a(e<=67108863);for(var t=67108864%e,r=0,n=this.length-1;n>=0;n--)r=(t*r+(0|this.words[n]))%e;return r},o.prototype.idivn=function(e){a(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var n=(0|this.words[r])+67108864*t;this.words[r]=n/e|0,t=n%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){a(0===e.negative),a(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var n=new o(1),s=new o(0),i=new o(0),l=new o(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var u=r.clone(),d=t.clone();!t.isZero();){for(var p=0,f=1;!(t.words[0]&f)&&p<26;++p,f<<=1);if(p>0)for(t.iushrn(p);p-- >0;)(n.isOdd()||s.isOdd())&&(n.iadd(u),s.isub(d)),n.iushrn(1),s.iushrn(1);for(var h=0,m=1;!(r.words[0]&m)&&h<26;++h,m<<=1);if(h>0)for(r.iushrn(h);h-- >0;)(i.isOdd()||l.isOdd())&&(i.iadd(u),l.isub(d)),i.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),n.isub(i),s.isub(l)):(r.isub(t),i.isub(n),l.isub(s))}return{a:i,b:l,gcd:r.iushln(c)}},o.prototype._invmp=function(e){a(0===e.negative),a(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var n,s=new o(1),i=new o(0),l=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,u=1;!(t.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(t.iushrn(c);c-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var d=0,p=1;!(r.words[0]&p)&&d<26;++d,p<<=1);if(d>0)for(r.iushrn(d);d-- >0;)i.isOdd()&&i.iadd(l),i.iushrn(1);t.cmp(r)>=0?(t.isub(r),s.isub(i)):(r.isub(t),i.isub(s))}return(n=0===t.cmpn(1)?s:i).cmpn(0)<0&&n.iadd(e),n},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var a=0;t.isEven()&&r.isEven();a++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var n=t.cmp(r);if(n<0){var o=t;t=r,r=o}else if(0===n||0===r.cmpn(1))break;t.isub(r)}return r.iushln(a)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return!(1&this.words[0])},o.prototype.isOdd=function(){return!(1&~this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){a("number"==typeof e);var t=e%26,r=(e-t)/26,n=1<>>26,i&=67108863,this.words[s]=i}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),a(e<=67108863,"Number is too big");var n=0|this.words[0];t=n===e?0:ne.length)return 1;if(this.length=0;r--){var a=0|this.words[r],n=0|e.words[r];if(a!==n){an&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new I(e)},o.prototype.toRed=function(e){return a(!this.red,"Already a number in reduction context"),a(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return a(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return a(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return a(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return a(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return a(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return a(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return a(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return a(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return a(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return a(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return a(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return a(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return a(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var g={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function x(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function j(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function I(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else a(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function C(e){I.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var a=t0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},n(y,b),y.prototype.split=function(e,t){for(var r=4194303,a=Math.min(e.length,9),n=0;n>>22,o=s}o>>>=22,e.words[n-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},y.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=n,t=a}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(g[e])return g[e];var t;if("k256"===e)t=new y;else if("p224"===e)t=new x;else if("p192"===e)t=new S;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new j}return g[e]=t,t},I.prototype._verify1=function(e){a(0===e.negative,"red works only with positives"),a(e.red,"red works only with red numbers")},I.prototype._verify2=function(e,t){a(!(e.negative|t.negative),"red works only with positives"),a(e.red&&e.red===t.red,"red works only with red numbers")},I.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},I.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},I.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},I.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},I.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},I.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},I.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},I.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},I.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},I.prototype.isqr=function(e){return this.imul(e,e.clone())},I.prototype.sqr=function(e){return this.mul(e,e)},I.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(a(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var n=this.m.subn(1),s=0;!n.isZero()&&0===n.andln(1);)s++,n.iushrn(1);a(!n.isZero());var i=new o(1).toRed(this),l=i.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var d=this.pow(u,n),p=this.pow(e,n.addn(1).iushrn(1)),f=this.pow(e,n),h=s;0!==f.cmp(i);){for(var m=f,v=0;0!==m.cmp(i);v++)m=m.redSqr();a(v=0;a--){for(var c=t.words[a],u=l-1;u>=0;u--){var d=c>>u&1;n!==r[0]&&(n=this.sqr(n)),0!==d||0!==s?(s<<=1,s|=d,(4===++i||0===a&&0===u)&&(n=this.mul(n,r[s]),i=0,s=0)):i=0}l=26}return n},I.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},I.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new C(e)},n(C,I),C.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},C.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},C.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),a=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=r.isub(a).iushrn(this.shift),o=n;return n.cmp(this.m)>=0?o=n.isub(this.m):n.cmpn(0)<0&&(o=n.iadd(this.m)),o._forceRed(this)},C.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),a=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=r.isub(a).iushrn(this.shift),s=n;return n.cmp(this.m)>=0?s=n.isub(this.m):n.cmpn(0)<0&&(s=n.iadd(this.m)),s._forceRed(this)},C.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)},{"29c6929714e24645":"21TZM"}],"59STe":[function(e,t,r){var a=e("8e0d5e82e0ae01dc"),n=e("d82eeda8cb755a40");function o(e){this.rand=e||new n.Rand}t.exports=o,o.create=function(e){return new o(e)},o.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var n=new a(this.rand.generate(r))}while(n.cmp(e)>=0);return n},o.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},o.prototype.test=function(e,t,r){var n=e.bitLength(),o=a.mont(e),s=new a(1).toRed(o);t||(t=Math.max(1,n/48|0));for(var i=e.subn(1),l=0;!i.testn(l);l++);for(var c=e.shrn(l),u=i.toRed(o);t>0;t--){var d=this._randrange(new a(2),i);r&&r(d);var p=d.toRed(o).redPow(c);if(0!==p.cmp(s)&&0!==p.cmp(u)){for(var f=1;f0;t--){var u=this._randrange(new a(2),s),d=e.gcd(u);if(0!==d.cmpn(1))return d;var p=u.toRed(n).redPow(l);if(0!==p.cmp(o)&&0!==p.cmp(c)){for(var f=1;f0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),a)s.endEmitted?I(e,new j):w(e,s,t,!0);else if(s.ended)I(e,new x);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?w(e,s,t,!1):k(e,s)):w(e,s,t,!1)}else a||(s.reading=!1,k(e,s));return!s.ended&&(s.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=R?e=R:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function A(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(O,e))}function O(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,_(e)}function k(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(P,e,t))}function P(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function z(e){u("readable nexttick read 0"),e.read(0)}function L(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),_(e),t.flowing&&!t.reading&&e.read(0)}function _(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function N(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 U(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(H,t,e))}function H(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function V(e,t){for(var r=0,a=e.length;r=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):A(this),null;if(0===(e=M(e,t))&&t.ended)return 0===t.length&&U(this),null;var a,n=t.needReadable;return u("need readable",n),(0===t.length||t.length-e0?N(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&U(this)),null!==a&&this.emit("data",a),a},D.prototype._read=function(e){I(this,new S("_read()"))},D.prototype.pipe=function(e,t){var r=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,u("pipe count=%d opts=%j",a.pipesCount,t);var o=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:v;function i(t,n){u("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),e.removeListener("close",h),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",f),e.removeListener("unpipe",i),r.removeListener("end",l),r.removeListener("end",v),r.removeListener("data",p),d=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){u("onend"),e.end()}a.endEmitted?n.nextTick(o):r.once("end",o),e.on("unpipe",i);var c=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,_(e))}}(r);e.on("drain",c);var d=!1;function p(t){u("ondata");var n=e.write(t);u("dest.write",n),!1===n&&((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==V(a.pipes,e))&&!d&&(u("false write response, pause",a.awaitDrain),a.awaitDrain++),r.pause())}function f(t){u("onerror",t),v(),e.removeListener("error",f),0===s(e,"error")&&I(e,t)}function h(){e.removeListener("finish",m),v()}function m(){u("onfinish"),e.removeListener("close",h),v()}function v(){u("unpipe"),r.unpipe(e)}return r.on("data",p),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",f),e.once("close",h),e.once("finish",m),e.emit("pipe",r),a.flowing||(u("pipe resume"),r.resume()),e},D.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var a=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==a.flowing&&this.resume()):"readable"===e&&(a.endEmitted||a.readableListening||(a.readableListening=a.needReadable=!0,a.flowing=!1,a.emittedReadable=!1,u("on readable",a.length,a.reading),a.length?A(this):a.reading||n.nextTick(z,this))),r},D.prototype.addListener=D.prototype.on,D.prototype.removeListener=function(e,t){var r=i.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(F,this),r},D.prototype.removeAllListeners=function(e){var t=i.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(F,this),t},D.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(L,e,t))}(this,e)),e.paused=!1,this},D.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},D.prototype.wrap=function(e){var t=this,r=this._readableState,a=!1;for(var n in e.on("end",(function(){if(u("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(n){(u("wrapped data"),r.decoder&&(n=r.decoder.write(n)),r.objectMode&&null==n)||(r.objectMode||n&&n.length)&&(t.push(n)||(a=!0,e.pause()))})),e)void 0===this[n]&&"function"==typeof e[n]&&(this[n]=function(t){return function(){return e[t].apply(e,arguments)}}(n));for(var o=0;o0?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;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return l.alloc(0);for(var t,r,a,n=l.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=n,a=s,l.prototype.copy.call(t,r,a),s+=o.data.length,o=o.next;return n}},{key:"consume",value:function(e,t){var r;return en.length?n.length:e;if(o===n.length?a+=n:a+=n.slice(0,e),0==(e-=o)){o===n.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=n.slice(o));break}++r}return this.length-=r,a}},{key:"_getBuffer",value:function(e){var t=l.allocUnsafe(e),r=this.head,a=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var n=r.data,o=e>n.length?n.length:e;if(n.copy(t,t.length-e,0,o),0==(e-=o)){o===n.length?(++a,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=n.slice(o));break}++a}return this.length-=a,t}},{key:u,value:function(e,t){return c(this,n(n({},t),{},{depth:0,customInspect:!1}))}}])&&s(t.prototype,r),a&&s(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}()},{"7af3620faf34a340":"k6T4L",b9f987ccbc58a249:"21TZM"}],ipiqL:[function(e,t,r){var a=e("1b92ad6e24cf2000");function n(e,t){s(e,t),o(e)}function o(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function s(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return i||l?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,a.nextTick(s,this,e)):a.nextTick(s,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?r._writableState?r._writableState.errorEmitted?a.nextTick(o,r):(r._writableState.errorEmitted=!0,a.nextTick(n,r,e)):a.nextTick(n,r,e):t?(a.nextTick(o,r),t(e)):a.nextTick(o,r)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,a=e._writableState;r&&r.autoDestroy||a&&a.autoDestroy?e.destroy(t):e.emit("error",t)}}},{"1b92ad6e24cf2000":"iRwsc"}],j4ziv:[function(e,t,r){"use strict";var a=e("2b2c29626c817b62").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,r,n){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,n,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new a(n?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},{"2b2c29626c817b62":"Wq6HA"}],Wq6HA:[function(e,t,r){"use strict";var a={};function n(e,t,r){r||(r=Error);var n=function(e){var r,a;function n(r,a,n){return e.call(this,function(e,r,a){return"string"==typeof t?t:t(e,r,a)}(r,a,n))||this}return a=e,(r=n).prototype=Object.create(a.prototype),r.prototype.constructor=r,r.__proto__=a,n}(r);n.prototype.name=r.name,n.prototype.code=e,a[e]=n}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,r){var a,n,s,i;if("string"==typeof t&&(n="not ",t.substr(!s||s<0?0:+s,n.length)===n)?(a="must not be",t=t.replace(/^not /,"")):a="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))i="The ".concat(e," ").concat(a," ").concat(o(t,"type"));else{var l=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(l," ").concat(a," ").concat(o(t,"type"))}return i+=". Received type ".concat(typeof r)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=a},{}],lPETQ:[function(e,t,r){var a=e("176e64627722b4ae"),n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=u;var o=e("8f646df2681bc110"),s=e("ca4c763837df39cf");e("dd9ef421685b43aa")(u,o);for(var i=n(s.prototype),l=0;l-1))throw new j(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(D.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(D.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),D.prototype._write=function(e,t,r){r(new v("_write()"))},D.prototype._writev=null,D.prototype.end=function(e,t,r){var a=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),a.corked&&(a.corked=1,this.uncork()),a.ending||function(e,t,r){t.ending=!0,O(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,a,r),this},Object.defineProperty(D.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),D.prototype.destroy=p.destroy,D.prototype._undestroy=p.undestroy,D.prototype._destroy=function(e,t){t(e)}},{cffdc810f63290d2:"iRwsc",c72bb5015befb1a7:"fnBpB","777bb6cba4d388a7":"dVL24",ff3de4cd5787f709:"k6T4L","26360c5dfba4022f":"ipiqL","8a2e7a8798687d42":"j4ziv",d22f3da3f44789da:"Wq6HA",f88e596c8253ca2b:"cEKc1",ec29bd3c81fc2d5f:"lPETQ"}],"6L7E9":[function(e,t,r){var a,n=e("9ad1d9b5e18e9270");function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=e("3b2bd9860e9eff75"),i=Symbol("lastResolve"),l=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),d=Symbol("lastPromise"),p=Symbol("handlePromise"),f=Symbol("stream");function h(e,t){return{value:e,done:t}}function m(e){var t=e[i];if(null!==t){var r=e[f].read();null!==r&&(e[d]=null,e[i]=null,e[l]=null,t(h(r,!1)))}}function v(e){n.nextTick(m,e)}var g=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((o(a={get stream(){return this[f]},next:function(){var e=this,t=this[c];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(h(void 0,!0));if(this[f].destroyed)return new Promise((function(t,r){n.nextTick((function(){e[c]?r(e[c]):t(h(void 0,!0))}))}));var r,a=this[d];if(a)r=new Promise(function(e,t){return function(r,a){e.then((function(){t[u]?r(h(void 0,!0)):t[p](r,a)}),a)}}(a,this));else{var o=this[f].read();if(null!==o)return Promise.resolve(h(o,!1));r=new Promise(this[p])}return this[d]=r,r}},Symbol.asyncIterator,(function(){return this})),o(a,"return",(function(){var e=this;return new Promise((function(t,r){e[f].destroy(null,(function(e){e?r(e):t(h(void 0,!0))}))}))})),a),g);t.exports=function(e){var t,r=Object.create(b,(o(t={},f,{value:e,writable:!0}),o(t,i,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,c,{value:null,writable:!0}),o(t,u,{value:e._readableState.endEmitted,writable:!0}),o(t,p,{value:function(e,t){var a=r[f].read();a?(r[d]=null,r[i]=null,r[l]=null,e(h(a,!1))):(r[i]=e,r[l]=t)},writable:!0}),t));return r[d]=null,s(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[l];return null!==t&&(r[d]=null,r[i]=null,r[l]=null,t(e)),void(r[c]=e)}var a=r[i];null!==a&&(r[d]=null,r[i]=null,r[l]=null,a(h(void 0,!0))),r[u]=!0})),e.on("readable",v.bind(null,r)),r}},{"9ad1d9b5e18e9270":"iRwsc","3b2bd9860e9eff75":"fXME8"}],fXME8:[function(e,t,r){"use strict";var a=e("b6a666e33c8153cc").codes.ERR_STREAM_PREMATURE_CLOSE;function n(){}t.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,a=new Array(r),n=0;n0,(function(e){u||(u=e),e&&p.forEach(l),o||(p.forEach(l),d(u))}))}));return r.reduce(c)}},{"7c72468c65aa1730":"Wq6HA","947d30e78e602b57":"fXME8"}],"6BouM":[function(e,t,r){var a=e("7a1a162e7bff196b").Buffer,n=e("176d54ad81a3ad91"),o=e("1b3906cf3eb25769"),s=e("9e3322914d5c6509").ec,i=e("88275facbb327e62"),l=e("e57a14bc8780bc1c"),c=e("49bb041403361c8f");function u(e,t,r,o){if((e=a.from(e.toArray())).length0&&r.ishrn(a),r}function p(e,t,r){var o,s;do{for(o=a.alloc(0);8*o.length=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function i(e,t){var r=function(e){var t=s(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),o=t.modulus.byteLength(),i=new n(e).mul(r.blinder).umod(t.modulus),l=i.toRed(n.mont(t.prime1)),c=i.toRed(n.mont(t.prime2)),u=t.coefficient,d=t.prime1,p=t.prime2,f=l.redPow(t.exponent1).fromRed(),h=c.redPow(t.exponent2).fromRed(),m=f.isub(h).imul(u).umod(d).imul(p);return h.iadd(m).imul(r.unblinder).umod(t.modulus).toArrayLike(a,"be",o)}i.getr=s,t.exports=i},{f2dc08a4dae10830:"k6T4L","1bb28b557739d266":"6gbgY","5661492ac570d94f":"kYauT"}],"6gbgY":[function(e,t,r){!function(t,r){"use strict";function a(e,t){if(!e)throw new Error(t||"Assertion failed")}function n(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var s;"object"==typeof t?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:e("45ccb7243562a594").Buffer}catch(e){}function i(e,t){var r=e.charCodeAt(t);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void a(!1,"Invalid character in "+e)}function l(e,t,r){var a=i(e,r);return r-1>=t&&(a|=i(e,r-1)<<4),a}function c(e,t,r,n){for(var o=0,s=0,i=Math.min(e.length,r),l=t;l=49?c-49+10:c>=17?c-17+10:c,a(c>=0&&s0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),a(t===(0|t)&&t>=2&&t<=36);var n=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(n++,this.negative=1),n=0;n-=3)s=e[n]|e[n-1]<<8|e[n-2]<<16,this.words[o]|=s<>>26-i&67108863,(i+=24)>=26&&(i-=26,o++);else if("le"===r)for(n=0,o=0;n>>26-i&67108863,(i+=24)>=26&&(i-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var a=0;a=t;a-=2)n=l(e,t,a)<=18?(o-=18,s+=1,this.words[s]|=n>>>26):o+=8;else for(a=(e.length-t)%2==0?t+1:t;a=18?(o-=18,s+=1,this.words[s]|=n>>>26):o+=8;this._strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var a=0,n=1;n<=67108863;n*=t)a++;a--,n=n/t|0;for(var o=e.length-r,s=o%a,i=Math.min(o,o-s)+r,l=0,u=r;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch(e){o.prototype.inspect=d}else o.prototype.inspect=d;function d(){return(this.red?""}var p=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var n=0,o=0,s=0;s>>24-n&16777215,(n+=2)>=26&&(n-=26,s--),r=0!==o||s!==this.length-1?p[6-l.length]+l+r:l+r}for(0!==o&&(r=o.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var c=f[e],u=h[e];r="";var d=this.clone();for(d.negative=0;!d.isZero();){var m=d.modrn(u).toString(e);r=(d=d.idivn(u)).isZero()?m+r:p[c-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}a(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&a(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},s&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(s,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function m(e,t,r){r.negative=t.negative^e.negative;var a=e.length+t.length|0;r.length=a,a=a-1|0;var n=0|e.words[0],o=0|t.words[0],s=n*o,i=67108863&s,l=s/67108864|0;r.words[0]=i;for(var c=1;c>>26,d=67108863&l,p=Math.min(c,t.length-1),f=Math.max(0,c-e.length+1);f<=p;f++){var h=c-f|0;u+=(s=(n=0|e.words[h])*(o=0|t.words[f])+d)/67108864|0,d=67108863&s}r.words[c]=0|d,l=0|u}return 0!==l?r.words[c]=0|l:r.length--,r._strip()}o.prototype.toArrayLike=function(e,t,r){this._strip();var n=this.byteLength(),o=r||Math.max(1,n);a(n<=o,"byte array longer than desired length"),a(o>0,"Requested array length <= 0");var s=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,n),s},o.prototype._toArrayLikeLE=function(e,t){for(var r=0,a=0,n=0,o=0;n>8&255),r>16&255),6===o?(r>24&255),a=0,o=0):(a=s>>>24,o+=2)}if(r=0&&(e[r--]=s>>8&255),r>=0&&(e[r--]=s>>16&255),6===o?(r>=0&&(e[r--]=s>>24&255),a=0,o=0):(a=s>>>24,o+=2)}if(r>=0)for(e[r--]=a;r>=0;)e[r--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var a=0;ae.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){a("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var n=0;n0&&(this.words[n]=~this.words[n]&67108863>>26-r),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){a("number"==typeof e&&e>=0);var r=e/26|0,n=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,a=e):(r=e,a=this);for(var n=0,o=0;o>>26;for(;0!==n&&o>>26;if(this.length=r.length,0!==n)this.words[this.length]=n,this.length++;else if(r!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,a,n=this.cmp(e);if(0===n)return this.negative=0,this.length=1,this.words[0]=0,this;n>0?(r=this,a=e):(r=e,a=this);for(var o=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==o&&s>26,this.words[s]=67108863&t;if(0===o&&s>>13,f=0|s[1],h=8191&f,m=f>>>13,v=0|s[2],g=8191&v,b=v>>>13,y=0|s[3],x=8191&y,S=y>>>13,j=0|s[4],I=8191&j,C=j>>>13,E=0|s[5],D=8191&E,T=E>>>13,w=0|s[6],R=8191&w,M=w>>>13,A=0|s[7],O=8191&A,k=A>>>13,P=0|s[8],F=8191&P,z=P>>>13,L=0|s[9],_=8191&L,N=L>>>13,U=0|i[0],H=8191&U,V=U>>>13,B=0|i[1],q=8191&B,J=B>>>13,W=0|i[2],G=8191&W,K=W>>>13,Y=0|i[3],X=8191&Y,$=Y>>>13,Z=0|i[4],Q=8191&Z,ee=Z>>>13,te=0|i[5],re=8191&te,ae=te>>>13,ne=0|i[6],oe=8191&ne,se=ne>>>13,ie=0|i[7],le=8191&ie,ce=ie>>>13,ue=0|i[8],de=8191&ue,pe=ue>>>13,fe=0|i[9],he=8191&fe,me=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ve=(c+(a=Math.imul(d,H))|0)+((8191&(n=(n=Math.imul(d,V))+Math.imul(p,H)|0))<<13)|0;c=((o=Math.imul(p,V))+(n>>>13)|0)+(ve>>>26)|0,ve&=67108863,a=Math.imul(h,H),n=(n=Math.imul(h,V))+Math.imul(m,H)|0,o=Math.imul(m,V);var ge=(c+(a=a+Math.imul(d,q)|0)|0)+((8191&(n=(n=n+Math.imul(d,J)|0)+Math.imul(p,q)|0))<<13)|0;c=((o=o+Math.imul(p,J)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,a=Math.imul(g,H),n=(n=Math.imul(g,V))+Math.imul(b,H)|0,o=Math.imul(b,V),a=a+Math.imul(h,q)|0,n=(n=n+Math.imul(h,J)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,J)|0;var be=(c+(a=a+Math.imul(d,G)|0)|0)+((8191&(n=(n=n+Math.imul(d,K)|0)+Math.imul(p,G)|0))<<13)|0;c=((o=o+Math.imul(p,K)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,a=Math.imul(x,H),n=(n=Math.imul(x,V))+Math.imul(S,H)|0,o=Math.imul(S,V),a=a+Math.imul(g,q)|0,n=(n=n+Math.imul(g,J)|0)+Math.imul(b,q)|0,o=o+Math.imul(b,J)|0,a=a+Math.imul(h,G)|0,n=(n=n+Math.imul(h,K)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0;var ye=(c+(a=a+Math.imul(d,X)|0)|0)+((8191&(n=(n=n+Math.imul(d,$)|0)+Math.imul(p,X)|0))<<13)|0;c=((o=o+Math.imul(p,$)|0)+(n>>>13)|0)+(ye>>>26)|0,ye&=67108863,a=Math.imul(I,H),n=(n=Math.imul(I,V))+Math.imul(C,H)|0,o=Math.imul(C,V),a=a+Math.imul(x,q)|0,n=(n=n+Math.imul(x,J)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,J)|0,a=a+Math.imul(g,G)|0,n=(n=n+Math.imul(g,K)|0)+Math.imul(b,G)|0,o=o+Math.imul(b,K)|0,a=a+Math.imul(h,X)|0,n=(n=n+Math.imul(h,$)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,$)|0;var xe=(c+(a=a+Math.imul(d,Q)|0)|0)+((8191&(n=(n=n+Math.imul(d,ee)|0)+Math.imul(p,Q)|0))<<13)|0;c=((o=o+Math.imul(p,ee)|0)+(n>>>13)|0)+(xe>>>26)|0,xe&=67108863,a=Math.imul(D,H),n=(n=Math.imul(D,V))+Math.imul(T,H)|0,o=Math.imul(T,V),a=a+Math.imul(I,q)|0,n=(n=n+Math.imul(I,J)|0)+Math.imul(C,q)|0,o=o+Math.imul(C,J)|0,a=a+Math.imul(x,G)|0,n=(n=n+Math.imul(x,K)|0)+Math.imul(S,G)|0,o=o+Math.imul(S,K)|0,a=a+Math.imul(g,X)|0,n=(n=n+Math.imul(g,$)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,$)|0,a=a+Math.imul(h,Q)|0,n=(n=n+Math.imul(h,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var Se=(c+(a=a+Math.imul(d,re)|0)|0)+((8191&(n=(n=n+Math.imul(d,ae)|0)+Math.imul(p,re)|0))<<13)|0;c=((o=o+Math.imul(p,ae)|0)+(n>>>13)|0)+(Se>>>26)|0,Se&=67108863,a=Math.imul(R,H),n=(n=Math.imul(R,V))+Math.imul(M,H)|0,o=Math.imul(M,V),a=a+Math.imul(D,q)|0,n=(n=n+Math.imul(D,J)|0)+Math.imul(T,q)|0,o=o+Math.imul(T,J)|0,a=a+Math.imul(I,G)|0,n=(n=n+Math.imul(I,K)|0)+Math.imul(C,G)|0,o=o+Math.imul(C,K)|0,a=a+Math.imul(x,X)|0,n=(n=n+Math.imul(x,$)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,$)|0,a=a+Math.imul(g,Q)|0,n=(n=n+Math.imul(g,ee)|0)+Math.imul(b,Q)|0,o=o+Math.imul(b,ee)|0,a=a+Math.imul(h,re)|0,n=(n=n+Math.imul(h,ae)|0)+Math.imul(m,re)|0,o=o+Math.imul(m,ae)|0;var je=(c+(a=a+Math.imul(d,oe)|0)|0)+((8191&(n=(n=n+Math.imul(d,se)|0)+Math.imul(p,oe)|0))<<13)|0;c=((o=o+Math.imul(p,se)|0)+(n>>>13)|0)+(je>>>26)|0,je&=67108863,a=Math.imul(O,H),n=(n=Math.imul(O,V))+Math.imul(k,H)|0,o=Math.imul(k,V),a=a+Math.imul(R,q)|0,n=(n=n+Math.imul(R,J)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,J)|0,a=a+Math.imul(D,G)|0,n=(n=n+Math.imul(D,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,a=a+Math.imul(I,X)|0,n=(n=n+Math.imul(I,$)|0)+Math.imul(C,X)|0,o=o+Math.imul(C,$)|0,a=a+Math.imul(x,Q)|0,n=(n=n+Math.imul(x,ee)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,a=a+Math.imul(g,re)|0,n=(n=n+Math.imul(g,ae)|0)+Math.imul(b,re)|0,o=o+Math.imul(b,ae)|0,a=a+Math.imul(h,oe)|0,n=(n=n+Math.imul(h,se)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0;var Ie=(c+(a=a+Math.imul(d,le)|0)|0)+((8191&(n=(n=n+Math.imul(d,ce)|0)+Math.imul(p,le)|0))<<13)|0;c=((o=o+Math.imul(p,ce)|0)+(n>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,a=Math.imul(F,H),n=(n=Math.imul(F,V))+Math.imul(z,H)|0,o=Math.imul(z,V),a=a+Math.imul(O,q)|0,n=(n=n+Math.imul(O,J)|0)+Math.imul(k,q)|0,o=o+Math.imul(k,J)|0,a=a+Math.imul(R,G)|0,n=(n=n+Math.imul(R,K)|0)+Math.imul(M,G)|0,o=o+Math.imul(M,K)|0,a=a+Math.imul(D,X)|0,n=(n=n+Math.imul(D,$)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,$)|0,a=a+Math.imul(I,Q)|0,n=(n=n+Math.imul(I,ee)|0)+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,a=a+Math.imul(x,re)|0,n=(n=n+Math.imul(x,ae)|0)+Math.imul(S,re)|0,o=o+Math.imul(S,ae)|0,a=a+Math.imul(g,oe)|0,n=(n=n+Math.imul(g,se)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,se)|0,a=a+Math.imul(h,le)|0,n=(n=n+Math.imul(h,ce)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ce)|0;var Ce=(c+(a=a+Math.imul(d,de)|0)|0)+((8191&(n=(n=n+Math.imul(d,pe)|0)+Math.imul(p,de)|0))<<13)|0;c=((o=o+Math.imul(p,pe)|0)+(n>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,a=Math.imul(_,H),n=(n=Math.imul(_,V))+Math.imul(N,H)|0,o=Math.imul(N,V),a=a+Math.imul(F,q)|0,n=(n=n+Math.imul(F,J)|0)+Math.imul(z,q)|0,o=o+Math.imul(z,J)|0,a=a+Math.imul(O,G)|0,n=(n=n+Math.imul(O,K)|0)+Math.imul(k,G)|0,o=o+Math.imul(k,K)|0,a=a+Math.imul(R,X)|0,n=(n=n+Math.imul(R,$)|0)+Math.imul(M,X)|0,o=o+Math.imul(M,$)|0,a=a+Math.imul(D,Q)|0,n=(n=n+Math.imul(D,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,a=a+Math.imul(I,re)|0,n=(n=n+Math.imul(I,ae)|0)+Math.imul(C,re)|0,o=o+Math.imul(C,ae)|0,a=a+Math.imul(x,oe)|0,n=(n=n+Math.imul(x,se)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,se)|0,a=a+Math.imul(g,le)|0,n=(n=n+Math.imul(g,ce)|0)+Math.imul(b,le)|0,o=o+Math.imul(b,ce)|0,a=a+Math.imul(h,de)|0,n=(n=n+Math.imul(h,pe)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,pe)|0;var Ee=(c+(a=a+Math.imul(d,he)|0)|0)+((8191&(n=(n=n+Math.imul(d,me)|0)+Math.imul(p,he)|0))<<13)|0;c=((o=o+Math.imul(p,me)|0)+(n>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,a=Math.imul(_,q),n=(n=Math.imul(_,J))+Math.imul(N,q)|0,o=Math.imul(N,J),a=a+Math.imul(F,G)|0,n=(n=n+Math.imul(F,K)|0)+Math.imul(z,G)|0,o=o+Math.imul(z,K)|0,a=a+Math.imul(O,X)|0,n=(n=n+Math.imul(O,$)|0)+Math.imul(k,X)|0,o=o+Math.imul(k,$)|0,a=a+Math.imul(R,Q)|0,n=(n=n+Math.imul(R,ee)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,a=a+Math.imul(D,re)|0,n=(n=n+Math.imul(D,ae)|0)+Math.imul(T,re)|0,o=o+Math.imul(T,ae)|0,a=a+Math.imul(I,oe)|0,n=(n=n+Math.imul(I,se)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,se)|0,a=a+Math.imul(x,le)|0,n=(n=n+Math.imul(x,ce)|0)+Math.imul(S,le)|0,o=o+Math.imul(S,ce)|0,a=a+Math.imul(g,de)|0,n=(n=n+Math.imul(g,pe)|0)+Math.imul(b,de)|0,o=o+Math.imul(b,pe)|0;var De=(c+(a=a+Math.imul(h,he)|0)|0)+((8191&(n=(n=n+Math.imul(h,me)|0)+Math.imul(m,he)|0))<<13)|0;c=((o=o+Math.imul(m,me)|0)+(n>>>13)|0)+(De>>>26)|0,De&=67108863,a=Math.imul(_,G),n=(n=Math.imul(_,K))+Math.imul(N,G)|0,o=Math.imul(N,K),a=a+Math.imul(F,X)|0,n=(n=n+Math.imul(F,$)|0)+Math.imul(z,X)|0,o=o+Math.imul(z,$)|0,a=a+Math.imul(O,Q)|0,n=(n=n+Math.imul(O,ee)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,a=a+Math.imul(R,re)|0,n=(n=n+Math.imul(R,ae)|0)+Math.imul(M,re)|0,o=o+Math.imul(M,ae)|0,a=a+Math.imul(D,oe)|0,n=(n=n+Math.imul(D,se)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,se)|0,a=a+Math.imul(I,le)|0,n=(n=n+Math.imul(I,ce)|0)+Math.imul(C,le)|0,o=o+Math.imul(C,ce)|0,a=a+Math.imul(x,de)|0,n=(n=n+Math.imul(x,pe)|0)+Math.imul(S,de)|0,o=o+Math.imul(S,pe)|0;var Te=(c+(a=a+Math.imul(g,he)|0)|0)+((8191&(n=(n=n+Math.imul(g,me)|0)+Math.imul(b,he)|0))<<13)|0;c=((o=o+Math.imul(b,me)|0)+(n>>>13)|0)+(Te>>>26)|0,Te&=67108863,a=Math.imul(_,X),n=(n=Math.imul(_,$))+Math.imul(N,X)|0,o=Math.imul(N,$),a=a+Math.imul(F,Q)|0,n=(n=n+Math.imul(F,ee)|0)+Math.imul(z,Q)|0,o=o+Math.imul(z,ee)|0,a=a+Math.imul(O,re)|0,n=(n=n+Math.imul(O,ae)|0)+Math.imul(k,re)|0,o=o+Math.imul(k,ae)|0,a=a+Math.imul(R,oe)|0,n=(n=n+Math.imul(R,se)|0)+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,a=a+Math.imul(D,le)|0,n=(n=n+Math.imul(D,ce)|0)+Math.imul(T,le)|0,o=o+Math.imul(T,ce)|0,a=a+Math.imul(I,de)|0,n=(n=n+Math.imul(I,pe)|0)+Math.imul(C,de)|0,o=o+Math.imul(C,pe)|0;var we=(c+(a=a+Math.imul(x,he)|0)|0)+((8191&(n=(n=n+Math.imul(x,me)|0)+Math.imul(S,he)|0))<<13)|0;c=((o=o+Math.imul(S,me)|0)+(n>>>13)|0)+(we>>>26)|0,we&=67108863,a=Math.imul(_,Q),n=(n=Math.imul(_,ee))+Math.imul(N,Q)|0,o=Math.imul(N,ee),a=a+Math.imul(F,re)|0,n=(n=n+Math.imul(F,ae)|0)+Math.imul(z,re)|0,o=o+Math.imul(z,ae)|0,a=a+Math.imul(O,oe)|0,n=(n=n+Math.imul(O,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,a=a+Math.imul(R,le)|0,n=(n=n+Math.imul(R,ce)|0)+Math.imul(M,le)|0,o=o+Math.imul(M,ce)|0,a=a+Math.imul(D,de)|0,n=(n=n+Math.imul(D,pe)|0)+Math.imul(T,de)|0,o=o+Math.imul(T,pe)|0;var Re=(c+(a=a+Math.imul(I,he)|0)|0)+((8191&(n=(n=n+Math.imul(I,me)|0)+Math.imul(C,he)|0))<<13)|0;c=((o=o+Math.imul(C,me)|0)+(n>>>13)|0)+(Re>>>26)|0,Re&=67108863,a=Math.imul(_,re),n=(n=Math.imul(_,ae))+Math.imul(N,re)|0,o=Math.imul(N,ae),a=a+Math.imul(F,oe)|0,n=(n=n+Math.imul(F,se)|0)+Math.imul(z,oe)|0,o=o+Math.imul(z,se)|0,a=a+Math.imul(O,le)|0,n=(n=n+Math.imul(O,ce)|0)+Math.imul(k,le)|0,o=o+Math.imul(k,ce)|0,a=a+Math.imul(R,de)|0,n=(n=n+Math.imul(R,pe)|0)+Math.imul(M,de)|0,o=o+Math.imul(M,pe)|0;var Me=(c+(a=a+Math.imul(D,he)|0)|0)+((8191&(n=(n=n+Math.imul(D,me)|0)+Math.imul(T,he)|0))<<13)|0;c=((o=o+Math.imul(T,me)|0)+(n>>>13)|0)+(Me>>>26)|0,Me&=67108863,a=Math.imul(_,oe),n=(n=Math.imul(_,se))+Math.imul(N,oe)|0,o=Math.imul(N,se),a=a+Math.imul(F,le)|0,n=(n=n+Math.imul(F,ce)|0)+Math.imul(z,le)|0,o=o+Math.imul(z,ce)|0,a=a+Math.imul(O,de)|0,n=(n=n+Math.imul(O,pe)|0)+Math.imul(k,de)|0,o=o+Math.imul(k,pe)|0;var Ae=(c+(a=a+Math.imul(R,he)|0)|0)+((8191&(n=(n=n+Math.imul(R,me)|0)+Math.imul(M,he)|0))<<13)|0;c=((o=o+Math.imul(M,me)|0)+(n>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,a=Math.imul(_,le),n=(n=Math.imul(_,ce))+Math.imul(N,le)|0,o=Math.imul(N,ce),a=a+Math.imul(F,de)|0,n=(n=n+Math.imul(F,pe)|0)+Math.imul(z,de)|0,o=o+Math.imul(z,pe)|0;var Oe=(c+(a=a+Math.imul(O,he)|0)|0)+((8191&(n=(n=n+Math.imul(O,me)|0)+Math.imul(k,he)|0))<<13)|0;c=((o=o+Math.imul(k,me)|0)+(n>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,a=Math.imul(_,de),n=(n=Math.imul(_,pe))+Math.imul(N,de)|0,o=Math.imul(N,pe);var ke=(c+(a=a+Math.imul(F,he)|0)|0)+((8191&(n=(n=n+Math.imul(F,me)|0)+Math.imul(z,he)|0))<<13)|0;c=((o=o+Math.imul(z,me)|0)+(n>>>13)|0)+(ke>>>26)|0,ke&=67108863;var Pe=(c+(a=Math.imul(_,he))|0)+((8191&(n=(n=Math.imul(_,me))+Math.imul(N,he)|0))<<13)|0;return c=((o=Math.imul(N,me))+(n>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,l[0]=ve,l[1]=ge,l[2]=be,l[3]=ye,l[4]=xe,l[5]=Se,l[6]=je,l[7]=Ie,l[8]=Ce,l[9]=Ee,l[10]=De,l[11]=Te,l[12]=we,l[13]=Re,l[14]=Me,l[15]=Ae,l[16]=Oe,l[17]=ke,l[18]=Pe,0!==c&&(l[19]=c,r.length++),r};function g(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var a=0,n=0,o=0;o>>26)|0)>>>26,s&=67108863}r.words[o]=i,a=s,s=n}return 0!==a?r.words[o]=a:r.length--,r._strip()}function b(e,t,r){return g(e,t,r)}function y(e,t){this.x=e,this.y=t}Math.imul||(v=m),o.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?v(this,e,t):r<63?m(this,e,t):r<1024?g(this,e,t):b(this,e,t)},y.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,a=0;a>=1;return a},y.prototype.permute=function(e,t,r,a,n,o){for(var s=0;s>>=1)n++;return 1<>>=13,r[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,r+=o/67108864|0,r+=s>>>26,this.words[n]=67108863&s}return 0!==r&&(this.words[n]=r,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>n&1}return t}(e);if(0===t.length)return new o(1);for(var r=this,a=0;a=0);var t,r=e%26,n=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==n){for(t=this.length-1;t>=0;t--)this.words[t+n]=this.words[t];for(t=0;t=0),n=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),i=67108863^67108863>>>o<s)for(this.length-=s,c=0;c=0&&(0!==u||c>=n);c--){var d=0|this.words[c];this.words[c]=u<<26-o|d>>>o,u=d&i}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,r){return a(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){a("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,n=1<=0);var t=e%26,r=(e-t)/26;if(a(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var n=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(a("number"==typeof e),a(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(l/67108864|0),this.words[n+r]=67108863&o}for(;n>26,this.words[n+r]=67108863&o;if(0===i)return this._strip();for(a(-1===i),i=0,n=0;n>26,this.words[n]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),a=this.clone(),n=e,s=0|n.words[n.length-1];0!==(r=26-this._countBits(s))&&(n=n.ushln(r),a.iushln(r),s=0|n.words[n.length-1]);var i,l=a.length-n.length;if("mod"!==t){(i=new o(null)).length=l+1,i.words=new Array(i.length);for(var c=0;c=0;d--){var p=67108864*(0|a.words[n.length+d])+(0|a.words[n.length+d-1]);for(p=Math.min(p/s|0,67108863),a._ishlnsubmul(n,p,d);0!==a.negative;)p--,a.negative=0,a._ishlnsubmul(n,1,d),a.isZero()||(a.negative^=1);i&&(i.words[d]=p)}return i&&i._strip(),a._strip(),"div"!==t&&0!==r&&a.iushrn(r),{div:i||null,mod:a}},o.prototype.divmod=function(e,t,r){return a(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(i=this.neg().divmod(e,t),"mod"!==t&&(n=i.div.neg()),"div"!==t&&(s=i.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:n,mod:s}):0===this.negative&&0!==e.negative?(i=this.divmod(e.neg(),t),"mod"!==t&&(n=i.div.neg()),{div:n,mod:i.mod}):this.negative&e.negative?(i=this.neg().divmod(e.neg(),t),"div"!==t&&(s=i.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:i.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var n,s,i},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,a=e.ushrn(1),n=e.andln(1),o=r.cmp(a);return o<0||1===n&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),a(e<=67108863);for(var r=67108864%e,n=0,o=this.length-1;o>=0;o--)n=(r*n+(0|this.words[o]))%e;return t?-n:n},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),a(e<=67108863);for(var r=0,n=this.length-1;n>=0;n--){var o=(0|this.words[n])+67108864*r;this.words[n]=o/e|0,r=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){a(0===e.negative),a(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var n=new o(1),s=new o(0),i=new o(0),l=new o(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var u=r.clone(),d=t.clone();!t.isZero();){for(var p=0,f=1;!(t.words[0]&f)&&p<26;++p,f<<=1);if(p>0)for(t.iushrn(p);p-- >0;)(n.isOdd()||s.isOdd())&&(n.iadd(u),s.isub(d)),n.iushrn(1),s.iushrn(1);for(var h=0,m=1;!(r.words[0]&m)&&h<26;++h,m<<=1);if(h>0)for(r.iushrn(h);h-- >0;)(i.isOdd()||l.isOdd())&&(i.iadd(u),l.isub(d)),i.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),n.isub(i),s.isub(l)):(r.isub(t),i.isub(n),l.isub(s))}return{a:i,b:l,gcd:r.iushln(c)}},o.prototype._invmp=function(e){a(0===e.negative),a(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var n,s=new o(1),i=new o(0),l=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,u=1;!(t.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(t.iushrn(c);c-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var d=0,p=1;!(r.words[0]&p)&&d<26;++d,p<<=1);if(d>0)for(r.iushrn(d);d-- >0;)i.isOdd()&&i.iadd(l),i.iushrn(1);t.cmp(r)>=0?(t.isub(r),s.isub(i)):(r.isub(t),i.isub(s))}return(n=0===t.cmpn(1)?s:i).cmpn(0)<0&&n.iadd(e),n},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var a=0;t.isEven()&&r.isEven();a++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var n=t.cmp(r);if(n<0){var o=t;t=r,r=o}else if(0===n||0===r.cmpn(1))break;t.isub(r)}return r.iushln(a)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return!(1&this.words[0])},o.prototype.isOdd=function(){return!(1&~this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){a("number"==typeof e);var t=e%26,r=(e-t)/26,n=1<>>26,i&=67108863,this.words[s]=i}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),a(e<=67108863,"Number is too big");var n=0|this.words[0];t=n===e?0:ne.length)return 1;if(this.length=0;r--){var a=0|this.words[r],n=0|e.words[r];if(a!==n){an&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new D(e)},o.prototype.toRed=function(e){return a(!this.red,"Already a number in reduction context"),a(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return a(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return a(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return a(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return a(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return a(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return a(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return a(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return a(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return a(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return a(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return a(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return a(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return a(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var x={k256:null,p224:null,p192:null,p25519:null};function S(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){S.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function I(){S.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function C(){S.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){S.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function D(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else a(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){D.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}S.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},S.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var a=t0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},S.prototype.split=function(e,t){e.iushrn(this.n,0,t)},S.prototype.imulK=function(e){return e.imul(this.k)},n(j,S),j.prototype.split=function(e,t){for(var r=4194303,a=Math.min(e.length,9),n=0;n>>22,o=s}o>>>=22,e.words[n-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},j.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=n,t=a}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(x[e])return x[e];var t;if("k256"===e)t=new j;else if("p224"===e)t=new I;else if("p192"===e)t=new C;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new E}return x[e]=t,t},D.prototype._verify1=function(e){a(0===e.negative,"red works only with positives"),a(e.red,"red works only with red numbers")},D.prototype._verify2=function(e,t){a(!(e.negative|t.negative),"red works only with positives"),a(e.red&&e.red===t.red,"red works only with red numbers")},D.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},D.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},D.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},D.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},D.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},D.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},D.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},D.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},D.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},D.prototype.isqr=function(e){return this.imul(e,e.clone())},D.prototype.sqr=function(e){return this.mul(e,e)},D.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(a(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var n=this.m.subn(1),s=0;!n.isZero()&&0===n.andln(1);)s++,n.iushrn(1);a(!n.isZero());var i=new o(1).toRed(this),l=i.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var d=this.pow(u,n),p=this.pow(e,n.addn(1).iushrn(1)),f=this.pow(e,n),h=s;0!==f.cmp(i);){for(var m=f,v=0;0!==m.cmp(i);v++)m=m.redSqr();a(v=0;a--){for(var c=t.words[a],u=l-1;u>=0;u--){var d=c>>u&1;n!==r[0]&&(n=this.sqr(n)),0!==d||0!==s?(s<<=1,s|=d,(4===++i||0===a&&0===u)&&(n=this.mul(n,r[s]),i=0,s=0)):i=0}l=26}return n},D.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},D.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new T(e)},n(T,D),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),a=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=r.isub(a).iushrn(this.shift),o=n;return n.cmp(this.m)>=0?o=n.isub(this.m):n.cmpn(0)<0&&(o=n.iadd(this.m)),o._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),a=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=r.isub(a).iushrn(this.shift),s=n;return n.cmp(this.m)>=0?s=n.isub(this.m):n.cmpn(0)<0&&(s=n.iadd(this.m)),s._forceRed(this)},T.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)},{"45ccb7243562a594":"21TZM"}],bPQAa:[function(e,t,r){"use strict";var a=r;a.version=e("8bab4894ff8b0876").version,a.utils=e("965b9e24a3d47045"),a.rand=e("82fef9eb7121e7f9"),a.curve=e("410657c3eceb5627"),a.curves=e("2f829fb6be3bd6bf"),a.ec=e("34dbc2a8895c081b"),a.eddsa=e("a0f215621a1506ff")},{"8bab4894ff8b0876":"lNYx7","965b9e24a3d47045":"geSNU","82fef9eb7121e7f9":"5IZ6a","410657c3eceb5627":"d0Rfe","2f829fb6be3bd6bf":"6R9iO","34dbc2a8895c081b":"1PEqe",a0f215621a1506ff:"jvWzt"}],lNYx7:[function(e,t,r){t.exports=JSON.parse('{"name":"elliptic","version":"6.5.4","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","version":"grunt dist && git add dist/"},"repository":{"type":"git","url":"git@github.com:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny ","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}')},{}],geSNU:[function(e,t,r){"use strict";var a=r,n=e("3b72238fb57ab150"),o=e("959ddfd7d78af6a1"),s=e("ab331adec23a686c");a.assert=o,a.toArray=s.toArray,a.zero2=s.zero2,a.toHex=s.toHex,a.encode=s.encode,a.getNAF=function(e,t,r){var a=new Array(Math.max(e.bitLength(),r)+1);a.fill(0);for(var n=1<(n>>1)-1?(n>>1)-l:l,o.isubn(i)):i=0,a[s]=i,o.iushrn(1)}return a},a.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var a,n=0,o=0;e.cmpn(-n)>0||t.cmpn(-o)>0;){var s,i,l=e.andln(3)+n&3,c=t.andln(3)+o&3;3===l&&(l=-1),3===c&&(c=-1),s=1&l?3!==(a=e.andln(7)+n&7)&&5!==a||2!==c?l:-l:0,r[0].push(s),i=1&c?3!==(a=t.andln(7)+o&7)&&5!==a||2!==l?c:-c:0,r[1].push(i),2*n===s+1&&(n=1-n),2*o===i+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return r},a.cachedProperty=function(e,t,r){var a="_"+t;e.prototype[t]=function(){return void 0!==this[a]?this[a]:this[a]=r.call(this)}},a.parseBytes=function(e){return"string"==typeof e?a.toArray(e,"hex"):e},a.intFromLE=function(e){return new n(e,"hex","le")}},{"3b72238fb57ab150":"ePv4G","959ddfd7d78af6a1":"l1iHO",ab331adec23a686c:"3ziKk"}],"3ziKk":[function(e,t,r){"use strict";var a=r;function n(e){return 1===e.length?"0"+e:e}function o(e){for(var t="",r=0;r>8,s=255&n;o?r.push(o,s):r.push(s)}return r},a.zero2=n,a.toHex=o,a.encode=function(e,t){return"hex"===t?o(e):e}},{}],d0Rfe:[function(e,t,r){"use strict";var a=r;a.base=e("249c57b89e36b8be"),a.short=e("5ad864f0425e8e28"),a.mont=e("8f9d30c1f37daaf1"),a.edwards=e("6ddb81fa68cb5c99")},{"249c57b89e36b8be":"lKfRx","5ad864f0425e8e28":"2XdcE","8f9d30c1f37daaf1":"8U9S9","6ddb81fa68cb5c99":"2YCmD"}],lKfRx:[function(e,t,r){"use strict";var a=e("e40ebda02f2c2e87"),n=e("b3614a7ff6224351"),o=n.getNAF,s=n.getJSF,i=n.assert;function l(e,t){this.type=e,this.p=new a(t.p,16),this.red=t.prime?a.red(t.prime):a.mont(this.p),this.zero=new a(0).toRed(this.red),this.one=new a(1).toRed(this.red),this.two=new a(2).toRed(this.red),this.n=t.n&&new a(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(e,t){this.curve=e,this.type=t,this.precomputed=null}t.exports=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(e,t){i(e.precomputed);var r=e._getDoubles(),a=o(t,1,this._bitLength),n=(1<=s;u--)l=(l<<1)+a[u];c.push(l)}for(var d=this.jpoint(null,null,null),p=this.jpoint(null,null,null),f=n;f>0;f--){for(s=0;s=0;c--){for(var u=0;c>=0&&0===s[c];c--)u++;if(c>=0&&u++,l=l.dblp(u),c<0)break;var d=s[c];i(0!==d),l="affine"===e.type?d>0?l.mixedAdd(n[d-1>>1]):l.mixedAdd(n[-d-1>>1].neg()):d>0?l.add(n[d-1>>1]):l.add(n[-d-1>>1].neg())}return"affine"===e.type?l.toP():l},l.prototype._wnafMulAdd=function(e,t,r,a,n){var i,l,c,u=this._wnafT1,d=this._wnafT2,p=this._wnafT3,f=0;for(i=0;i=1;i-=2){var m=i-1,v=i;if(1===u[m]&&1===u[v]){var g=[t[m],null,null,t[v]];0===t[m].y.cmp(t[v].y)?(g[1]=t[m].add(t[v]),g[2]=t[m].toJ().mixedAdd(t[v].neg())):0===t[m].y.cmp(t[v].y.redNeg())?(g[1]=t[m].toJ().mixedAdd(t[v]),g[2]=t[m].add(t[v].neg())):(g[1]=t[m].toJ().mixedAdd(t[v]),g[2]=t[m].toJ().mixedAdd(t[v].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],y=s(r[m],r[v]);for(f=Math.max(y[0].length,f),p[m]=new Array(f),p[v]=new Array(f),l=0;l=0;i--){for(var C=0;i>=0;){var E=!0;for(l=0;l=0&&C++,j=j.dblp(C),i<0)break;for(l=0;l0?c=d[l][D-1>>1]:D<0&&(c=d[l][-D-1>>1].neg()),j="affine"===c.type?j.mixedAdd(c):j.add(c))}}for(i=0;i=Math.ceil((e.bitLength()+1)/t.step)},c.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],a=this,n=0;n=0&&(s=t,i=r),a.negative&&(a=a.neg(),o=o.neg()),s.negative&&(s=s.neg(),i=i.neg()),[{a:a,b:o},{a:s,b:i}]},l.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],a=t[1],n=a.b.mul(e).divRound(this.n),o=r.b.neg().mul(e).divRound(this.n),s=n.mul(r.a),i=o.mul(a.a),l=n.mul(r.b),c=o.mul(a.b);return{k1:e.sub(s).sub(i),k2:l.add(c).neg()}},l.prototype.pointFromX=function(e,t){(e=new n(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),a=r.redSqrt();if(0!==a.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=a.fromRed().isOdd();return(t&&!o||!t&&o)&&(a=a.redNeg()),this.point(e,a)},l.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,a=this.a.redMul(t),n=t.redSqr().redMul(t).redIAdd(a).redIAdd(this.b);return 0===r.redSqr().redISub(n).cmpn(0)},l.prototype._endoWnafMulAdd=function(e,t,r){for(var a=this._endoWnafT1,n=this._endoWnafT2,o=0;o":""},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),a=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,a)},c.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),a=e.redInvm(),n=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(a),o=n.redSqr().redISub(this.x.redAdd(this.x)),s=n.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(e){return e=new n(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){var a=[this,t],n=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(a,n):this.curve._wnafMulAdd(1,a,n,2)},c.prototype.jmulAdd=function(e,t,r){var a=[this,t],n=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(a,n,!0):this.curve._wnafMulAdd(1,a,n,2,!0)},c.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},c.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,a=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(a)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(a)}}}return t},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(u,s.BasePoint),l.prototype.jpoint=function(e,t,r){return new u(this,e,t,r)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),a=this.y.redMul(t).redMul(e);return this.curve.point(r,a)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),a=this.x.redMul(t),n=e.x.redMul(r),o=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(r.redMul(this.z)),i=a.redSub(n),l=o.redSub(s);if(0===i.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=i.redSqr(),u=c.redMul(i),d=a.redMul(c),p=l.redSqr().redIAdd(u).redISub(d).redISub(d),f=l.redMul(d.redISub(p)).redISub(o.redMul(u)),h=this.z.redMul(e.z).redMul(i);return this.curve.jpoint(p,f,h)},u.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,a=e.x.redMul(t),n=this.y,o=e.y.redMul(t).redMul(this.z),s=r.redSub(a),i=n.redSub(o);if(0===s.cmpn(0))return 0!==i.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=s.redSqr(),c=l.redMul(s),u=r.redMul(l),d=i.redSqr().redIAdd(c).redISub(u).redISub(u),p=i.redMul(u.redISub(d)).redISub(n.redMul(c)),f=this.z.redMul(s);return this.curve.jpoint(d,p,f)},u.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var r=this;for(t=0;t=0)return!1;if(r.redIAdd(n),0===this.x.cmp(r))return!0}},u.prototype.inspect=function(){return this.isInfinity()?"":""},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"590ecdad479f277":"geSNU","6515c165c4cbf024":"ePv4G","34ec373aec623e22":"cEKc1",cbcb1ca4b49c462d:"lKfRx"}],"8U9S9":[function(e,t,r){"use strict";var a=e("5153b4a05ca6ce5c"),n=e("7b0a9bb7b4523d4b"),o=e("f543bb9edba7d8b2"),s=e("ff32d92986c7d9cb");function i(e){o.call(this,"mont",e),this.a=new a(e.a,16).toRed(this.red),this.b=new a(e.b,16).toRed(this.red),this.i4=new a(4).toRed(this.red).redInvm(),this.two=new a(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(e,t,r){o.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new a(t,16),this.z=new a(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}n(i,o),t.exports=i,i.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),a=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===a.redSqrt().redSqr().cmp(a)},n(l,o.BasePoint),i.prototype.decodePoint=function(e,t){return this.point(s.toArray(e,t),1)},i.prototype.point=function(e,t){return new l(this,e,t)},i.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(e,t){return new l(e,t[0],t[1]||e.one)},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},l.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),a=e.redMul(t),n=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(a,n)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),a=this.x.redSub(this.z),n=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(r),s=n.redMul(a),i=t.z.redMul(o.redAdd(s).redSqr()),l=t.x.redMul(o.redISub(s).redSqr());return this.curve.point(i,l)},l.prototype.mul=function(e){for(var t=e.clone(),r=this,a=this.curve.point(null,null),n=[];0!==t.cmpn(0);t.iushrn(1))n.push(t.andln(1));for(var o=n.length-1;o>=0;o--)0===n[o]?(r=r.diffAdd(a,this),a=a.dbl()):(a=r.diffAdd(a,this),r=r.dbl());return a},l.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"5153b4a05ca6ce5c":"ePv4G","7b0a9bb7b4523d4b":"cEKc1",f543bb9edba7d8b2:"lKfRx",ff32d92986c7d9cb:"geSNU"}],"2YCmD":[function(e,t,r){"use strict";var a=e("e4de70b59bb7506c"),n=e("295ca8fe5c2d083f"),o=e("d1a2cc7454b63d7c"),s=e("5ac784a17789f02c"),i=a.assert;function l(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,s.call(this,"edwards",e),this.a=new n(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new n(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new n(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),i(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function c(e,t,r,a,o){s.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===a?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new n(t,16),this.y=new n(r,16),this.z=a?new n(a,16):this.curve.one,this.t=o&&new n(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(l,s),t.exports=l,l.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},l.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},l.prototype.jpoint=function(e,t,r,a){return this.point(e,t,r,a)},l.prototype.pointFromX=function(e,t){(e=new n(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),a=this.c2.redSub(this.a.redMul(r)),o=this.one.redSub(this.c2.redMul(this.d).redMul(r)),s=a.redMul(o.redInvm()),i=s.redSqrt();if(0!==i.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");var l=i.fromRed().isOdd();return(t&&!l||!t&&l)&&(i=i.redNeg()),this.point(e,i)},l.prototype.pointFromY=function(e,t){(e=new n(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),a=r.redSub(this.c2),o=r.redMul(this.d).redMul(this.c2).redSub(this.a),s=a.redMul(o.redInvm());if(0===s.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var i=s.redSqrt();if(0!==i.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");return i.fromRed().isOdd()!==t&&(i=i.redNeg()),this.point(i,e)},l.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),a=t.redMul(this.a).redAdd(r),n=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===a.cmp(n)},o(c,s.BasePoint),l.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},l.prototype.point=function(e,t,r,a){return new c(this,e,t,r,a)},c.fromJSON=function(e,t){return new c(e,t[0],t[1],t[2])},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var a=this.curve._mulA(e),n=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=a.redAdd(t),s=o.redSub(r),i=a.redSub(t),l=n.redMul(s),c=o.redMul(i),u=n.redMul(i),d=s.redMul(o);return this.curve.point(l,c,d,u)},c.prototype._projDbl=function(){var e,t,r,a,n,o,s=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),l=this.y.redSqr();if(this.curve.twisted){var c=(a=this.curve._mulA(i)).redAdd(l);this.zOne?(e=s.redSub(i).redSub(l).redMul(c.redSub(this.curve.two)),t=c.redMul(a.redSub(l)),r=c.redSqr().redSub(c).redSub(c)):(n=this.z.redSqr(),o=c.redSub(n).redISub(n),e=s.redSub(i).redISub(l).redMul(o),t=c.redMul(a.redSub(l)),r=c.redMul(o))}else a=i.redAdd(l),n=this.curve._mulC(this.z).redSqr(),o=a.redSub(n).redSub(n),e=this.curve._mulC(s.redISub(a)).redMul(o),t=this.curve._mulC(a).redMul(i.redISub(l)),r=a.redMul(o);return this.curve.point(e,t,r)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),a=this.t.redMul(this.curve.dd).redMul(e.t),n=this.z.redMul(e.z.redAdd(e.z)),o=r.redSub(t),s=n.redSub(a),i=n.redAdd(a),l=r.redAdd(t),c=o.redMul(s),u=i.redMul(l),d=o.redMul(l),p=s.redMul(i);return this.curve.point(c,u,p,d)},c.prototype._projAdd=function(e){var t,r,a=this.z.redMul(e.z),n=a.redSqr(),o=this.x.redMul(e.x),s=this.y.redMul(e.y),i=this.curve.d.redMul(o).redMul(s),l=n.redSub(i),c=n.redAdd(i),u=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(s),d=a.redMul(l).redMul(u);return this.curve.twisted?(t=a.redMul(c).redMul(s.redSub(this.curve._mulA(o))),r=l.redMul(c)):(t=a.redMul(c).redMul(s.redSub(o)),r=this.curve._mulC(l).redMul(c)),this.curve.point(d,t,r)},c.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},c.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},c.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},c.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),a=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(a),0===this.x.cmp(t))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},{e4de70b59bb7506c:"geSNU","295ca8fe5c2d083f":"ePv4G",d1a2cc7454b63d7c:"cEKc1","5ac784a17789f02c":"lKfRx"}],"6R9iO":[function(e,t,r){"use strict";var a,n=r,o=e("fbf1d1570acb222e"),s=e("a9314425f01cc1ec"),i=e("b576a99c6d30fbc").assert;function l(e){"short"===e.type?this.curve=new s.short(e):"edwards"===e.type?this.curve=new s.edwards(e):this.curve=new s.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(e,t){Object.defineProperty(n,e,{configurable:!0,enumerable:!0,get:function(){var r=new l(t);return Object.defineProperty(n,e,{configurable:!0,enumerable:!0,value:r}),r}})}n.PresetCurve=l,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{a=e("cc5b3402126c38bf")}catch(e){a=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",a]})},{fbf1d1570acb222e:"fpJlG",a9314425f01cc1ec:"d0Rfe",b576a99c6d30fbc:"geSNU",cc5b3402126c38bf:"in1JJ"}],fpJlG:[function(e,t,r){var a=r;a.utils=e("56450c10b3cfa135"),a.common=e("6c7de1420d4baaf2"),a.sha=e("637c30c9e25df0d2"),a.ripemd=e("d4dd4c222f0e9e83"),a.hmac=e("7f4e4d9b9f2ae96c"),a.sha1=a.sha.sha1,a.sha256=a.sha.sha256,a.sha224=a.sha.sha224,a.sha384=a.sha.sha384,a.sha512=a.sha.sha512,a.ripemd160=a.ripemd.ripemd160},{"56450c10b3cfa135":"cCYjr","6c7de1420d4baaf2":"8T82G","637c30c9e25df0d2":"1uEPS",d4dd4c222f0e9e83:"j1wo9","7f4e4d9b9f2ae96c":"75sPo"}],cCYjr:[function(e,t,r){"use strict";var a=e("a438fc3770a64dda"),n=e("cce448eac83e404c");function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function s(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function i(e){return 1===e.length?"0"+e:e}function l(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}r.inherits=n,r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n>6|192,r[a++]=63&s|128):o(e,n)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++n)),r[a++]=s>>18|240,r[a++]=s>>12&63|128,r[a++]=s>>6&63|128,r[a++]=63&s|128):(r[a++]=s>>12|224,r[a++]=s>>6&63|128,r[a++]=63&s|128)}else for(n=0;n>>0}return s},r.split32=function(e,t){for(var r=new Array(4*e.length),a=0,n=0;a>>24,r[n+1]=o>>>16&255,r[n+2]=o>>>8&255,r[n+3]=255&o):(r[n+3]=o>>>24,r[n+2]=o>>>16&255,r[n+1]=o>>>8&255,r[n]=255&o)}return r},r.rotr32=function(e,t){return e>>>t|e<<32-t},r.rotl32=function(e,t){return e<>>32-t},r.sum32=function(e,t){return e+t>>>0},r.sum32_3=function(e,t,r){return e+t+r>>>0},r.sum32_4=function(e,t,r,a){return e+t+r+a>>>0},r.sum32_5=function(e,t,r,a,n){return e+t+r+a+n>>>0},r.sum64=function(e,t,r,a){var n=e[t],o=a+e[t+1]>>>0,s=(o>>0,e[t+1]=o},r.sum64_hi=function(e,t,r,a){return(t+a>>>0>>0},r.sum64_lo=function(e,t,r,a){return t+a>>>0},r.sum64_4_hi=function(e,t,r,a,n,o,s,i){var l=0,c=t;return l+=(c=c+a>>>0)>>0)>>0)>>0},r.sum64_4_lo=function(e,t,r,a,n,o,s,i){return t+a+o+i>>>0},r.sum64_5_hi=function(e,t,r,a,n,o,s,i,l,c){var u=0,d=t;return u+=(d=d+a>>>0)>>0)>>0)>>0)>>0},r.sum64_5_lo=function(e,t,r,a,n,o,s,i,l,c){return t+a+o+i+c>>>0},r.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},r.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},r.shr64_hi=function(e,t,r){return e>>>r},r.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},{a438fc3770a64dda:"l1iHO",cce448eac83e404c:"cEKc1"}],"8T82G":[function(e,t,r){"use strict";var a=e("7fb8002588acf953"),n=e("47aabce72ba8ea52");function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}r.BlockHash=o,o.prototype.update=function(e,t){if(e=a.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=a.join32(e,0,e.length-r,this.endian);for(var n=0;n>>24&255,a[n++]=e>>>16&255,a[n++]=e>>>8&255,a[n++]=255&e}else for(a[n++]=255&e,a[n++]=e>>>8&255,a[n++]=e>>>16&255,a[n++]=e>>>24&255,a[n++]=0,a[n++]=0,a[n++]=0,a[n++]=0,o=8;o>>3},r.g1_256=function(e){return a(e,17)^a(e,19)^e>>>10}},{f03a9ff923820efc:"cCYjr"}],fQcOK:[function(e,t,r){"use strict";var a=e("bf3f5d2578c2bc1f"),n=e("e7aab836f7ee3820");function o(){if(!(this instanceof o))return new o;n.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}a.inherits(o,n),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?a.toHex32(this.h.slice(0,7),"big"):a.split32(this.h.slice(0,7),"big")}},{bf3f5d2578c2bc1f:"cCYjr",e7aab836f7ee3820:"c7t16"}],c7t16:[function(e,t,r){"use strict";var a=e("9d5ede513414376e"),n=e("45177fcb49bfd6f5"),o=e("54aefa3614a22070"),s=e("705f0af0855c034d"),i=a.sum32,l=a.sum32_4,c=a.sum32_5,u=o.ch32,d=o.maj32,p=o.s0_256,f=o.s1_256,h=o.g0_256,m=o.g1_256,v=n.BlockHash,g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;v.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=g,this.W=new Array(64)}a.inherits(b,v),t.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(e,t){for(var r=this.W,a=0;a<16;a++)r[a]=e[t+a];for(;athis.blockSize&&(e=(new this.Hash).update(e).digest()),n(e.length<=this.blockSize);for(var t=e.length;t0))return s.iaddn(1),this.keyFromPrivate(s)}},d.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},d.prototype.sign=function(e,t,r,o){"object"==typeof r&&(o=r,r=null),o||(o={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new a(e,16));for(var s=this.n.byteLength(),i=t.getPrivate().toArray("be",s),l=e.toArray("be",s),c=new n({hash:this.hash,entropy:i,nonce:l,pers:o.pers,persEnc:o.persEnc||"utf8"}),d=this.n.sub(new a(1)),p=0;;p++){var f=o.k?o.k(p):new a(c.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(d)>=0)){var h=this.g.mul(f);if(!h.isInfinity()){var m=h.getX(),v=m.umod(this.n);if(0!==v.cmpn(0)){var g=f.invm(this.n).mul(v.mul(t.getPrivate()).iadd(e));if(0!==(g=g.umod(this.n)).cmpn(0)){var b=(h.getY().isOdd()?1:0)|(0!==m.cmp(v)?2:0);return o.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),b^=1),new u({r:v,s:g,recoveryParam:b})}}}}}},d.prototype.verify=function(e,t,r,n){e=this._truncateToN(new a(e,16)),r=this.keyFromPublic(r,n);var o=(t=new u(t,"hex")).r,s=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var i,l=s.invm(this.n),c=l.mul(e).umod(this.n),d=l.mul(o).umod(this.n);return this.curve._maxwellTrick?!(i=this.g.jmulAdd(c,r.getPublic(),d)).isInfinity()&&i.eqXToP(o):!(i=this.g.mulAdd(c,r.getPublic(),d)).isInfinity()&&0===i.getX().umod(this.n).cmp(o)},d.prototype.recoverPubKey=function(e,t,r,n){l((3&r)===r,"The recovery param is more than two bits"),t=new u(t,n);var o=this.n,s=new a(e),i=t.r,c=t.s,d=1&r,p=r>>1;if(i.cmp(this.curve.p.umod(this.curve.n))>=0&&p)throw new Error("Unable to find sencond key candinate");i=p?this.curve.pointFromX(i.add(this.curve.n),d):this.curve.pointFromX(i,d);var f=t.r.invm(o),h=o.sub(s).mul(f).umod(o),m=c.mul(f).umod(o);return this.g.mulAdd(h,i,m)},d.prototype.getKeyRecoveryParam=function(e,t,r,a){if(null!==(t=new u(t,a)).recoveryParam)return t.recoveryParam;for(var n=0;n<4;n++){var o;try{o=this.recoverPubKey(e,t,n)}catch(e){continue}if(o.eq(r))return n}throw new Error("Unable to find valid recovery factor")}},{ca1d96c84486008:"ePv4G","9ace39f750189b03":"lcYWT","1e870f24772d6402":"geSNU","2017bd2471c6caf7":"6R9iO","654c0ea6cda0bff7":"5IZ6a",fc8d9ecaeb44057c:"46f8w","5ef8ff9776754e0f":"cnfBY"}],lcYWT:[function(e,t,r){"use strict";var a=e("b388fde63ad6f2c9"),n=e("93b78fccdadda5b7"),o=e("ec33d67a35290c1e");function s(e){if(!(this instanceof s))return new s(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=n.toArray(e.entropy,e.entropyEnc||"hex"),r=n.toArray(e.nonce,e.nonceEnc||"hex"),a=n.toArray(e.pers,e.persEnc||"hex");o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,a)}t.exports=s,s.prototype._init=function(e,t,r){var a=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var n=0;n=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},s.prototype.generate=function(e,t,r,a){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(a=r,r=t,t=null),r&&(r=n.toArray(r,a||"hex"),this._update(r));for(var o=[];o.length"}},{"11810930e3f99b67":"ePv4G",ded0877ef380b638:"geSNU"}],cnfBY:[function(e,t,r){"use strict";var a=e("f7143b8c8b6fb593"),n=e("5608545594f6f2c4"),o=n.assert;function s(e,t){if(e instanceof s)return e;this._importDER(e,t)||(o(e.r&&e.s,"Signature without r or s"),this.r=new a(e.r,16),this.s=new a(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function i(){this.place=0}function l(e,t){var r=e[t.place++];if(!(128&r))return r;var a=15&r;if(0===a||a>4)return!1;for(var n=0,o=0,s=t.place;o>>=0;return!(n<=127)&&(t.place=s,n)}function c(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}t.exports=s,s.prototype._importDER=function(e,t){e=n.toArray(e,t);var r=new i;if(48!==e[r.place++])return!1;var o=l(e,r);if(!1===o)return!1;if(o+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var s=l(e,r);if(!1===s)return!1;var c=e.slice(r.place,s+r.place);if(r.place+=s,2!==e[r.place++])return!1;var u=l(e,r);if(!1===u)return!1;if(e.length!==u+r.place)return!1;var d=e.slice(r.place,u+r.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===d[0]){if(!(128&d[1]))return!1;d=d.slice(1)}return this.r=new a(c),this.s=new a(d),this.recoveryParam=null,!0},s.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=c(t),r=c(r);!(r[0]||128&r[1]);)r=r.slice(1);var a=[2];u(a,t.length),(a=a.concat(t)).push(2),u(a,r.length);var o=a.concat(r),s=[48];return u(s,o.length),s=s.concat(o),n.encode(s,e)}},{f7143b8c8b6fb593:"ePv4G","5608545594f6f2c4":"geSNU"}],jvWzt:[function(e,t,r){"use strict";var a=e("c7d1dd002113d84b"),n=e("768bab020e2ac333"),o=e("f35f44f6d7247c8e"),s=o.assert,i=o.parseBytes,l=e("dc28b3d6797e5b56"),c=e("d2b43c00c52f5657");function u(e){if(s("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof u))return new u(e);e=n[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=a.sha512}t.exports=u,u.prototype.sign=function(e,t){e=i(e);var r=this.keyFromSecret(t),a=this.hashInt(r.messagePrefix(),e),n=this.g.mul(a),o=this.encodePoint(n),s=this.hashInt(o,r.pubBytes(),e).mul(r.priv()),l=a.add(s).umod(this.curve.n);return this.makeSignature({R:n,S:l,Rencoded:o})},u.prototype.verify=function(e,t,r){e=i(e),t=this.makeSignature(t);var a=this.keyFromPublic(r),n=this.hashInt(t.Rencoded(),a.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(a.pub().mul(n)).eq(o)},u.prototype.hashInt=function(){for(var e=this.hash(),t=0;t=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void a(!1,"Invalid character in "+e)}function l(e,t,r){var a=i(e,r);return r-1>=t&&(a|=i(e,r-1)<<4),a}function c(e,t,r,n){for(var o=0,s=0,i=Math.min(e.length,r),l=t;l=49?c-49+10:c>=17?c-17+10:c,a(c>=0&&s0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),a(t===(0|t)&&t>=2&&t<=36);var n=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(n++,this.negative=1),n=0;n-=3)s=e[n]|e[n-1]<<8|e[n-2]<<16,this.words[o]|=s<>>26-i&67108863,(i+=24)>=26&&(i-=26,o++);else if("le"===r)for(n=0,o=0;n>>26-i&67108863,(i+=24)>=26&&(i-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var a=0;a=t;a-=2)n=l(e,t,a)<=18?(o-=18,s+=1,this.words[s]|=n>>>26):o+=8;else for(a=(e.length-t)%2==0?t+1:t;a=18?(o-=18,s+=1,this.words[s]|=n>>>26):o+=8;this._strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var a=0,n=1;n<=67108863;n*=t)a++;a--,n=n/t|0;for(var o=e.length-r,s=o%a,i=Math.min(o,o-s)+r,l=0,u=r;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch(e){o.prototype.inspect=d}else o.prototype.inspect=d;function d(){return(this.red?""}var p=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var n=0,o=0,s=0;s>>24-n&16777215,(n+=2)>=26&&(n-=26,s--),r=0!==o||s!==this.length-1?p[6-l.length]+l+r:l+r}for(0!==o&&(r=o.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var c=f[e],u=h[e];r="";var d=this.clone();for(d.negative=0;!d.isZero();){var m=d.modrn(u).toString(e);r=(d=d.idivn(u)).isZero()?m+r:p[c-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}a(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&a(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},s&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(s,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function m(e,t,r){r.negative=t.negative^e.negative;var a=e.length+t.length|0;r.length=a,a=a-1|0;var n=0|e.words[0],o=0|t.words[0],s=n*o,i=67108863&s,l=s/67108864|0;r.words[0]=i;for(var c=1;c>>26,d=67108863&l,p=Math.min(c,t.length-1),f=Math.max(0,c-e.length+1);f<=p;f++){var h=c-f|0;u+=(s=(n=0|e.words[h])*(o=0|t.words[f])+d)/67108864|0,d=67108863&s}r.words[c]=0|d,l=0|u}return 0!==l?r.words[c]=0|l:r.length--,r._strip()}o.prototype.toArrayLike=function(e,t,r){this._strip();var n=this.byteLength(),o=r||Math.max(1,n);a(n<=o,"byte array longer than desired length"),a(o>0,"Requested array length <= 0");var s=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,n),s},o.prototype._toArrayLikeLE=function(e,t){for(var r=0,a=0,n=0,o=0;n>8&255),r>16&255),6===o?(r>24&255),a=0,o=0):(a=s>>>24,o+=2)}if(r=0&&(e[r--]=s>>8&255),r>=0&&(e[r--]=s>>16&255),6===o?(r>=0&&(e[r--]=s>>24&255),a=0,o=0):(a=s>>>24,o+=2)}if(r>=0)for(e[r--]=a;r>=0;)e[r--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var a=0;ae.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){a("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var n=0;n0&&(this.words[n]=~this.words[n]&67108863>>26-r),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){a("number"==typeof e&&e>=0);var r=e/26|0,n=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,a=e):(r=e,a=this);for(var n=0,o=0;o>>26;for(;0!==n&&o>>26;if(this.length=r.length,0!==n)this.words[this.length]=n,this.length++;else if(r!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,a,n=this.cmp(e);if(0===n)return this.negative=0,this.length=1,this.words[0]=0,this;n>0?(r=this,a=e):(r=e,a=this);for(var o=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==o&&s>26,this.words[s]=67108863&t;if(0===o&&s>>13,f=0|s[1],h=8191&f,m=f>>>13,v=0|s[2],g=8191&v,b=v>>>13,y=0|s[3],x=8191&y,S=y>>>13,j=0|s[4],I=8191&j,C=j>>>13,E=0|s[5],D=8191&E,T=E>>>13,w=0|s[6],R=8191&w,M=w>>>13,A=0|s[7],O=8191&A,k=A>>>13,P=0|s[8],F=8191&P,z=P>>>13,L=0|s[9],_=8191&L,N=L>>>13,U=0|i[0],H=8191&U,V=U>>>13,B=0|i[1],q=8191&B,J=B>>>13,W=0|i[2],G=8191&W,K=W>>>13,Y=0|i[3],X=8191&Y,$=Y>>>13,Z=0|i[4],Q=8191&Z,ee=Z>>>13,te=0|i[5],re=8191&te,ae=te>>>13,ne=0|i[6],oe=8191&ne,se=ne>>>13,ie=0|i[7],le=8191&ie,ce=ie>>>13,ue=0|i[8],de=8191&ue,pe=ue>>>13,fe=0|i[9],he=8191&fe,me=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ve=(c+(a=Math.imul(d,H))|0)+((8191&(n=(n=Math.imul(d,V))+Math.imul(p,H)|0))<<13)|0;c=((o=Math.imul(p,V))+(n>>>13)|0)+(ve>>>26)|0,ve&=67108863,a=Math.imul(h,H),n=(n=Math.imul(h,V))+Math.imul(m,H)|0,o=Math.imul(m,V);var ge=(c+(a=a+Math.imul(d,q)|0)|0)+((8191&(n=(n=n+Math.imul(d,J)|0)+Math.imul(p,q)|0))<<13)|0;c=((o=o+Math.imul(p,J)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,a=Math.imul(g,H),n=(n=Math.imul(g,V))+Math.imul(b,H)|0,o=Math.imul(b,V),a=a+Math.imul(h,q)|0,n=(n=n+Math.imul(h,J)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,J)|0;var be=(c+(a=a+Math.imul(d,G)|0)|0)+((8191&(n=(n=n+Math.imul(d,K)|0)+Math.imul(p,G)|0))<<13)|0;c=((o=o+Math.imul(p,K)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,a=Math.imul(x,H),n=(n=Math.imul(x,V))+Math.imul(S,H)|0,o=Math.imul(S,V),a=a+Math.imul(g,q)|0,n=(n=n+Math.imul(g,J)|0)+Math.imul(b,q)|0,o=o+Math.imul(b,J)|0,a=a+Math.imul(h,G)|0,n=(n=n+Math.imul(h,K)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0;var ye=(c+(a=a+Math.imul(d,X)|0)|0)+((8191&(n=(n=n+Math.imul(d,$)|0)+Math.imul(p,X)|0))<<13)|0;c=((o=o+Math.imul(p,$)|0)+(n>>>13)|0)+(ye>>>26)|0,ye&=67108863,a=Math.imul(I,H),n=(n=Math.imul(I,V))+Math.imul(C,H)|0,o=Math.imul(C,V),a=a+Math.imul(x,q)|0,n=(n=n+Math.imul(x,J)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,J)|0,a=a+Math.imul(g,G)|0,n=(n=n+Math.imul(g,K)|0)+Math.imul(b,G)|0,o=o+Math.imul(b,K)|0,a=a+Math.imul(h,X)|0,n=(n=n+Math.imul(h,$)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,$)|0;var xe=(c+(a=a+Math.imul(d,Q)|0)|0)+((8191&(n=(n=n+Math.imul(d,ee)|0)+Math.imul(p,Q)|0))<<13)|0;c=((o=o+Math.imul(p,ee)|0)+(n>>>13)|0)+(xe>>>26)|0,xe&=67108863,a=Math.imul(D,H),n=(n=Math.imul(D,V))+Math.imul(T,H)|0,o=Math.imul(T,V),a=a+Math.imul(I,q)|0,n=(n=n+Math.imul(I,J)|0)+Math.imul(C,q)|0,o=o+Math.imul(C,J)|0,a=a+Math.imul(x,G)|0,n=(n=n+Math.imul(x,K)|0)+Math.imul(S,G)|0,o=o+Math.imul(S,K)|0,a=a+Math.imul(g,X)|0,n=(n=n+Math.imul(g,$)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,$)|0,a=a+Math.imul(h,Q)|0,n=(n=n+Math.imul(h,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var Se=(c+(a=a+Math.imul(d,re)|0)|0)+((8191&(n=(n=n+Math.imul(d,ae)|0)+Math.imul(p,re)|0))<<13)|0;c=((o=o+Math.imul(p,ae)|0)+(n>>>13)|0)+(Se>>>26)|0,Se&=67108863,a=Math.imul(R,H),n=(n=Math.imul(R,V))+Math.imul(M,H)|0,o=Math.imul(M,V),a=a+Math.imul(D,q)|0,n=(n=n+Math.imul(D,J)|0)+Math.imul(T,q)|0,o=o+Math.imul(T,J)|0,a=a+Math.imul(I,G)|0,n=(n=n+Math.imul(I,K)|0)+Math.imul(C,G)|0,o=o+Math.imul(C,K)|0,a=a+Math.imul(x,X)|0,n=(n=n+Math.imul(x,$)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,$)|0,a=a+Math.imul(g,Q)|0,n=(n=n+Math.imul(g,ee)|0)+Math.imul(b,Q)|0,o=o+Math.imul(b,ee)|0,a=a+Math.imul(h,re)|0,n=(n=n+Math.imul(h,ae)|0)+Math.imul(m,re)|0,o=o+Math.imul(m,ae)|0;var je=(c+(a=a+Math.imul(d,oe)|0)|0)+((8191&(n=(n=n+Math.imul(d,se)|0)+Math.imul(p,oe)|0))<<13)|0;c=((o=o+Math.imul(p,se)|0)+(n>>>13)|0)+(je>>>26)|0,je&=67108863,a=Math.imul(O,H),n=(n=Math.imul(O,V))+Math.imul(k,H)|0,o=Math.imul(k,V),a=a+Math.imul(R,q)|0,n=(n=n+Math.imul(R,J)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,J)|0,a=a+Math.imul(D,G)|0,n=(n=n+Math.imul(D,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,a=a+Math.imul(I,X)|0,n=(n=n+Math.imul(I,$)|0)+Math.imul(C,X)|0,o=o+Math.imul(C,$)|0,a=a+Math.imul(x,Q)|0,n=(n=n+Math.imul(x,ee)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,a=a+Math.imul(g,re)|0,n=(n=n+Math.imul(g,ae)|0)+Math.imul(b,re)|0,o=o+Math.imul(b,ae)|0,a=a+Math.imul(h,oe)|0,n=(n=n+Math.imul(h,se)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0;var Ie=(c+(a=a+Math.imul(d,le)|0)|0)+((8191&(n=(n=n+Math.imul(d,ce)|0)+Math.imul(p,le)|0))<<13)|0;c=((o=o+Math.imul(p,ce)|0)+(n>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,a=Math.imul(F,H),n=(n=Math.imul(F,V))+Math.imul(z,H)|0,o=Math.imul(z,V),a=a+Math.imul(O,q)|0,n=(n=n+Math.imul(O,J)|0)+Math.imul(k,q)|0,o=o+Math.imul(k,J)|0,a=a+Math.imul(R,G)|0,n=(n=n+Math.imul(R,K)|0)+Math.imul(M,G)|0,o=o+Math.imul(M,K)|0,a=a+Math.imul(D,X)|0,n=(n=n+Math.imul(D,$)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,$)|0,a=a+Math.imul(I,Q)|0,n=(n=n+Math.imul(I,ee)|0)+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,a=a+Math.imul(x,re)|0,n=(n=n+Math.imul(x,ae)|0)+Math.imul(S,re)|0,o=o+Math.imul(S,ae)|0,a=a+Math.imul(g,oe)|0,n=(n=n+Math.imul(g,se)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,se)|0,a=a+Math.imul(h,le)|0,n=(n=n+Math.imul(h,ce)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ce)|0;var Ce=(c+(a=a+Math.imul(d,de)|0)|0)+((8191&(n=(n=n+Math.imul(d,pe)|0)+Math.imul(p,de)|0))<<13)|0;c=((o=o+Math.imul(p,pe)|0)+(n>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,a=Math.imul(_,H),n=(n=Math.imul(_,V))+Math.imul(N,H)|0,o=Math.imul(N,V),a=a+Math.imul(F,q)|0,n=(n=n+Math.imul(F,J)|0)+Math.imul(z,q)|0,o=o+Math.imul(z,J)|0,a=a+Math.imul(O,G)|0,n=(n=n+Math.imul(O,K)|0)+Math.imul(k,G)|0,o=o+Math.imul(k,K)|0,a=a+Math.imul(R,X)|0,n=(n=n+Math.imul(R,$)|0)+Math.imul(M,X)|0,o=o+Math.imul(M,$)|0,a=a+Math.imul(D,Q)|0,n=(n=n+Math.imul(D,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,a=a+Math.imul(I,re)|0,n=(n=n+Math.imul(I,ae)|0)+Math.imul(C,re)|0,o=o+Math.imul(C,ae)|0,a=a+Math.imul(x,oe)|0,n=(n=n+Math.imul(x,se)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,se)|0,a=a+Math.imul(g,le)|0,n=(n=n+Math.imul(g,ce)|0)+Math.imul(b,le)|0,o=o+Math.imul(b,ce)|0,a=a+Math.imul(h,de)|0,n=(n=n+Math.imul(h,pe)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,pe)|0;var Ee=(c+(a=a+Math.imul(d,he)|0)|0)+((8191&(n=(n=n+Math.imul(d,me)|0)+Math.imul(p,he)|0))<<13)|0;c=((o=o+Math.imul(p,me)|0)+(n>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,a=Math.imul(_,q),n=(n=Math.imul(_,J))+Math.imul(N,q)|0,o=Math.imul(N,J),a=a+Math.imul(F,G)|0,n=(n=n+Math.imul(F,K)|0)+Math.imul(z,G)|0,o=o+Math.imul(z,K)|0,a=a+Math.imul(O,X)|0,n=(n=n+Math.imul(O,$)|0)+Math.imul(k,X)|0,o=o+Math.imul(k,$)|0,a=a+Math.imul(R,Q)|0,n=(n=n+Math.imul(R,ee)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,a=a+Math.imul(D,re)|0,n=(n=n+Math.imul(D,ae)|0)+Math.imul(T,re)|0,o=o+Math.imul(T,ae)|0,a=a+Math.imul(I,oe)|0,n=(n=n+Math.imul(I,se)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,se)|0,a=a+Math.imul(x,le)|0,n=(n=n+Math.imul(x,ce)|0)+Math.imul(S,le)|0,o=o+Math.imul(S,ce)|0,a=a+Math.imul(g,de)|0,n=(n=n+Math.imul(g,pe)|0)+Math.imul(b,de)|0,o=o+Math.imul(b,pe)|0;var De=(c+(a=a+Math.imul(h,he)|0)|0)+((8191&(n=(n=n+Math.imul(h,me)|0)+Math.imul(m,he)|0))<<13)|0;c=((o=o+Math.imul(m,me)|0)+(n>>>13)|0)+(De>>>26)|0,De&=67108863,a=Math.imul(_,G),n=(n=Math.imul(_,K))+Math.imul(N,G)|0,o=Math.imul(N,K),a=a+Math.imul(F,X)|0,n=(n=n+Math.imul(F,$)|0)+Math.imul(z,X)|0,o=o+Math.imul(z,$)|0,a=a+Math.imul(O,Q)|0,n=(n=n+Math.imul(O,ee)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,a=a+Math.imul(R,re)|0,n=(n=n+Math.imul(R,ae)|0)+Math.imul(M,re)|0,o=o+Math.imul(M,ae)|0,a=a+Math.imul(D,oe)|0,n=(n=n+Math.imul(D,se)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,se)|0,a=a+Math.imul(I,le)|0,n=(n=n+Math.imul(I,ce)|0)+Math.imul(C,le)|0,o=o+Math.imul(C,ce)|0,a=a+Math.imul(x,de)|0,n=(n=n+Math.imul(x,pe)|0)+Math.imul(S,de)|0,o=o+Math.imul(S,pe)|0;var Te=(c+(a=a+Math.imul(g,he)|0)|0)+((8191&(n=(n=n+Math.imul(g,me)|0)+Math.imul(b,he)|0))<<13)|0;c=((o=o+Math.imul(b,me)|0)+(n>>>13)|0)+(Te>>>26)|0,Te&=67108863,a=Math.imul(_,X),n=(n=Math.imul(_,$))+Math.imul(N,X)|0,o=Math.imul(N,$),a=a+Math.imul(F,Q)|0,n=(n=n+Math.imul(F,ee)|0)+Math.imul(z,Q)|0,o=o+Math.imul(z,ee)|0,a=a+Math.imul(O,re)|0,n=(n=n+Math.imul(O,ae)|0)+Math.imul(k,re)|0,o=o+Math.imul(k,ae)|0,a=a+Math.imul(R,oe)|0,n=(n=n+Math.imul(R,se)|0)+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,a=a+Math.imul(D,le)|0,n=(n=n+Math.imul(D,ce)|0)+Math.imul(T,le)|0,o=o+Math.imul(T,ce)|0,a=a+Math.imul(I,de)|0,n=(n=n+Math.imul(I,pe)|0)+Math.imul(C,de)|0,o=o+Math.imul(C,pe)|0;var we=(c+(a=a+Math.imul(x,he)|0)|0)+((8191&(n=(n=n+Math.imul(x,me)|0)+Math.imul(S,he)|0))<<13)|0;c=((o=o+Math.imul(S,me)|0)+(n>>>13)|0)+(we>>>26)|0,we&=67108863,a=Math.imul(_,Q),n=(n=Math.imul(_,ee))+Math.imul(N,Q)|0,o=Math.imul(N,ee),a=a+Math.imul(F,re)|0,n=(n=n+Math.imul(F,ae)|0)+Math.imul(z,re)|0,o=o+Math.imul(z,ae)|0,a=a+Math.imul(O,oe)|0,n=(n=n+Math.imul(O,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,a=a+Math.imul(R,le)|0,n=(n=n+Math.imul(R,ce)|0)+Math.imul(M,le)|0,o=o+Math.imul(M,ce)|0,a=a+Math.imul(D,de)|0,n=(n=n+Math.imul(D,pe)|0)+Math.imul(T,de)|0,o=o+Math.imul(T,pe)|0;var Re=(c+(a=a+Math.imul(I,he)|0)|0)+((8191&(n=(n=n+Math.imul(I,me)|0)+Math.imul(C,he)|0))<<13)|0;c=((o=o+Math.imul(C,me)|0)+(n>>>13)|0)+(Re>>>26)|0,Re&=67108863,a=Math.imul(_,re),n=(n=Math.imul(_,ae))+Math.imul(N,re)|0,o=Math.imul(N,ae),a=a+Math.imul(F,oe)|0,n=(n=n+Math.imul(F,se)|0)+Math.imul(z,oe)|0,o=o+Math.imul(z,se)|0,a=a+Math.imul(O,le)|0,n=(n=n+Math.imul(O,ce)|0)+Math.imul(k,le)|0,o=o+Math.imul(k,ce)|0,a=a+Math.imul(R,de)|0,n=(n=n+Math.imul(R,pe)|0)+Math.imul(M,de)|0,o=o+Math.imul(M,pe)|0;var Me=(c+(a=a+Math.imul(D,he)|0)|0)+((8191&(n=(n=n+Math.imul(D,me)|0)+Math.imul(T,he)|0))<<13)|0;c=((o=o+Math.imul(T,me)|0)+(n>>>13)|0)+(Me>>>26)|0,Me&=67108863,a=Math.imul(_,oe),n=(n=Math.imul(_,se))+Math.imul(N,oe)|0,o=Math.imul(N,se),a=a+Math.imul(F,le)|0,n=(n=n+Math.imul(F,ce)|0)+Math.imul(z,le)|0,o=o+Math.imul(z,ce)|0,a=a+Math.imul(O,de)|0,n=(n=n+Math.imul(O,pe)|0)+Math.imul(k,de)|0,o=o+Math.imul(k,pe)|0;var Ae=(c+(a=a+Math.imul(R,he)|0)|0)+((8191&(n=(n=n+Math.imul(R,me)|0)+Math.imul(M,he)|0))<<13)|0;c=((o=o+Math.imul(M,me)|0)+(n>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,a=Math.imul(_,le),n=(n=Math.imul(_,ce))+Math.imul(N,le)|0,o=Math.imul(N,ce),a=a+Math.imul(F,de)|0,n=(n=n+Math.imul(F,pe)|0)+Math.imul(z,de)|0,o=o+Math.imul(z,pe)|0;var Oe=(c+(a=a+Math.imul(O,he)|0)|0)+((8191&(n=(n=n+Math.imul(O,me)|0)+Math.imul(k,he)|0))<<13)|0;c=((o=o+Math.imul(k,me)|0)+(n>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,a=Math.imul(_,de),n=(n=Math.imul(_,pe))+Math.imul(N,de)|0,o=Math.imul(N,pe);var ke=(c+(a=a+Math.imul(F,he)|0)|0)+((8191&(n=(n=n+Math.imul(F,me)|0)+Math.imul(z,he)|0))<<13)|0;c=((o=o+Math.imul(z,me)|0)+(n>>>13)|0)+(ke>>>26)|0,ke&=67108863;var Pe=(c+(a=Math.imul(_,he))|0)+((8191&(n=(n=Math.imul(_,me))+Math.imul(N,he)|0))<<13)|0;return c=((o=Math.imul(N,me))+(n>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,l[0]=ve,l[1]=ge,l[2]=be,l[3]=ye,l[4]=xe,l[5]=Se,l[6]=je,l[7]=Ie,l[8]=Ce,l[9]=Ee,l[10]=De,l[11]=Te,l[12]=we,l[13]=Re,l[14]=Me,l[15]=Ae,l[16]=Oe,l[17]=ke,l[18]=Pe,0!==c&&(l[19]=c,r.length++),r};function g(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var a=0,n=0,o=0;o>>26)|0)>>>26,s&=67108863}r.words[o]=i,a=s,s=n}return 0!==a?r.words[o]=a:r.length--,r._strip()}function b(e,t,r){return g(e,t,r)}function y(e,t){this.x=e,this.y=t}Math.imul||(v=m),o.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?v(this,e,t):r<63?m(this,e,t):r<1024?g(this,e,t):b(this,e,t)},y.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,a=0;a>=1;return a},y.prototype.permute=function(e,t,r,a,n,o){for(var s=0;s>>=1)n++;return 1<>>=13,r[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,r+=o/67108864|0,r+=s>>>26,this.words[n]=67108863&s}return 0!==r&&(this.words[n]=r,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>n&1}return t}(e);if(0===t.length)return new o(1);for(var r=this,a=0;a=0);var t,r=e%26,n=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==n){for(t=this.length-1;t>=0;t--)this.words[t+n]=this.words[t];for(t=0;t=0),n=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),i=67108863^67108863>>>o<s)for(this.length-=s,c=0;c=0&&(0!==u||c>=n);c--){var d=0|this.words[c];this.words[c]=u<<26-o|d>>>o,u=d&i}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,r){return a(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){a("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,n=1<=0);var t=e%26,r=(e-t)/26;if(a(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var n=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(a("number"==typeof e),a(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(l/67108864|0),this.words[n+r]=67108863&o}for(;n>26,this.words[n+r]=67108863&o;if(0===i)return this._strip();for(a(-1===i),i=0,n=0;n>26,this.words[n]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),a=this.clone(),n=e,s=0|n.words[n.length-1];0!==(r=26-this._countBits(s))&&(n=n.ushln(r),a.iushln(r),s=0|n.words[n.length-1]);var i,l=a.length-n.length;if("mod"!==t){(i=new o(null)).length=l+1,i.words=new Array(i.length);for(var c=0;c=0;d--){var p=67108864*(0|a.words[n.length+d])+(0|a.words[n.length+d-1]);for(p=Math.min(p/s|0,67108863),a._ishlnsubmul(n,p,d);0!==a.negative;)p--,a.negative=0,a._ishlnsubmul(n,1,d),a.isZero()||(a.negative^=1);i&&(i.words[d]=p)}return i&&i._strip(),a._strip(),"div"!==t&&0!==r&&a.iushrn(r),{div:i||null,mod:a}},o.prototype.divmod=function(e,t,r){return a(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(i=this.neg().divmod(e,t),"mod"!==t&&(n=i.div.neg()),"div"!==t&&(s=i.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:n,mod:s}):0===this.negative&&0!==e.negative?(i=this.divmod(e.neg(),t),"mod"!==t&&(n=i.div.neg()),{div:n,mod:i.mod}):this.negative&e.negative?(i=this.neg().divmod(e.neg(),t),"div"!==t&&(s=i.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:i.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var n,s,i},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,a=e.ushrn(1),n=e.andln(1),o=r.cmp(a);return o<0||1===n&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),a(e<=67108863);for(var r=67108864%e,n=0,o=this.length-1;o>=0;o--)n=(r*n+(0|this.words[o]))%e;return t?-n:n},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),a(e<=67108863);for(var r=0,n=this.length-1;n>=0;n--){var o=(0|this.words[n])+67108864*r;this.words[n]=o/e|0,r=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){a(0===e.negative),a(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var n=new o(1),s=new o(0),i=new o(0),l=new o(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var u=r.clone(),d=t.clone();!t.isZero();){for(var p=0,f=1;!(t.words[0]&f)&&p<26;++p,f<<=1);if(p>0)for(t.iushrn(p);p-- >0;)(n.isOdd()||s.isOdd())&&(n.iadd(u),s.isub(d)),n.iushrn(1),s.iushrn(1);for(var h=0,m=1;!(r.words[0]&m)&&h<26;++h,m<<=1);if(h>0)for(r.iushrn(h);h-- >0;)(i.isOdd()||l.isOdd())&&(i.iadd(u),l.isub(d)),i.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),n.isub(i),s.isub(l)):(r.isub(t),i.isub(n),l.isub(s))}return{a:i,b:l,gcd:r.iushln(c)}},o.prototype._invmp=function(e){a(0===e.negative),a(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var n,s=new o(1),i=new o(0),l=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,u=1;!(t.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(t.iushrn(c);c-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var d=0,p=1;!(r.words[0]&p)&&d<26;++d,p<<=1);if(d>0)for(r.iushrn(d);d-- >0;)i.isOdd()&&i.iadd(l),i.iushrn(1);t.cmp(r)>=0?(t.isub(r),s.isub(i)):(r.isub(t),i.isub(s))}return(n=0===t.cmpn(1)?s:i).cmpn(0)<0&&n.iadd(e),n},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var a=0;t.isEven()&&r.isEven();a++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var n=t.cmp(r);if(n<0){var o=t;t=r,r=o}else if(0===n||0===r.cmpn(1))break;t.isub(r)}return r.iushln(a)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return!(1&this.words[0])},o.prototype.isOdd=function(){return!(1&~this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){a("number"==typeof e);var t=e%26,r=(e-t)/26,n=1<>>26,i&=67108863,this.words[s]=i}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),a(e<=67108863,"Number is too big");var n=0|this.words[0];t=n===e?0:ne.length)return 1;if(this.length=0;r--){var a=0|this.words[r],n=0|e.words[r];if(a!==n){an&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new D(e)},o.prototype.toRed=function(e){return a(!this.red,"Already a number in reduction context"),a(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return a(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return a(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return a(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return a(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return a(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return a(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return a(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return a(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return a(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return a(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return a(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return a(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return a(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var x={k256:null,p224:null,p192:null,p25519:null};function S(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){S.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function I(){S.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function C(){S.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){S.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function D(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else a(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){D.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}S.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},S.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var a=t0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},S.prototype.split=function(e,t){e.iushrn(this.n,0,t)},S.prototype.imulK=function(e){return e.imul(this.k)},n(j,S),j.prototype.split=function(e,t){for(var r=4194303,a=Math.min(e.length,9),n=0;n>>22,o=s}o>>>=22,e.words[n-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},j.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=n,t=a}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(x[e])return x[e];var t;if("k256"===e)t=new j;else if("p224"===e)t=new I;else if("p192"===e)t=new C;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new E}return x[e]=t,t},D.prototype._verify1=function(e){a(0===e.negative,"red works only with positives"),a(e.red,"red works only with red numbers")},D.prototype._verify2=function(e,t){a(!(e.negative|t.negative),"red works only with positives"),a(e.red&&e.red===t.red,"red works only with red numbers")},D.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},D.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},D.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},D.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},D.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},D.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},D.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},D.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},D.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},D.prototype.isqr=function(e){return this.imul(e,e.clone())},D.prototype.sqr=function(e){return this.mul(e,e)},D.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(a(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var n=this.m.subn(1),s=0;!n.isZero()&&0===n.andln(1);)s++,n.iushrn(1);a(!n.isZero());var i=new o(1).toRed(this),l=i.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var d=this.pow(u,n),p=this.pow(e,n.addn(1).iushrn(1)),f=this.pow(e,n),h=s;0!==f.cmp(i);){for(var m=f,v=0;0!==m.cmp(i);v++)m=m.redSqr();a(v=0;a--){for(var c=t.words[a],u=l-1;u>=0;u--){var d=c>>u&1;n!==r[0]&&(n=this.sqr(n)),0!==d||0!==s?(s<<=1,s|=d,(4===++i||0===a&&0===u)&&(n=this.mul(n,r[s]),i=0,s=0)):i=0}l=26}return n},D.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},D.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new T(e)},n(T,D),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),a=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=r.isub(a).iushrn(this.shift),o=n;return n.cmp(this.m)>=0?o=n.isub(this.m):n.cmpn(0)<0&&(o=n.iadd(this.m)),o._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),a=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=r.isub(a).iushrn(this.shift),s=n;return n.cmp(this.m)>=0?s=n.isub(this.m):n.cmpn(0)<0&&(s=n.iadd(this.m)),s._forceRed(this)},T.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)},{"1efd888aec8f39c0":"21TZM"}],lNcgn:[function(e,t,r){var a=e("143b8248ff62cd0a"),n=e("8bb366244e2af7d"),o=e("bbbec1ee9475d050"),s=e("932b7033ac9272f8"),i=e("6bc8dcb840fe8b3f"),l=e("c2e48acb06794d40").Buffer;function c(e){var t;"object"!=typeof e||l.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=l.from(e));var r,c,u=o(e,t),d=u.tag,p=u.data;switch(d){case"CERTIFICATE":c=a.certificate.decode(p,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(c||(c=a.PublicKey.decode(p,"der")),r=c.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return a.RSAPublicKey.decode(c.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return c.subjectPrivateKey=c.subjectPublicKey,{type:"ec",data:c};case"1.2.840.10040.4.1":return c.algorithm.params.pub_key=a.DSAparam.decode(c.subjectPublicKey.data,"der"),{type:"dsa",data:c.algorithm.params};default:throw new Error("unknown key id "+r)}case"ENCRYPTED PRIVATE KEY":p=function(e,t){var r=e.algorithm.decrypt.kde.kdeparams.salt,a=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=n[e.algorithm.decrypt.cipher.algo.join(".")],c=e.algorithm.decrypt.cipher.iv,u=e.subjectPrivateKey,d=parseInt(o.split("-")[1],10)/8,p=i.pbkdf2Sync(t,r,a,d,"sha1"),f=s.createDecipheriv(o,p,c),h=[];return h.push(f.update(u)),h.push(f.final()),l.concat(h)}(p=a.EncryptedPrivateKey.decode(p,"der"),t);case"PRIVATE KEY":switch(r=(c=a.PrivateKey.decode(p,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return a.RSAPrivateKey.decode(c.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:c.algorithm.curve,privateKey:a.ECPrivateKey.decode(c.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return c.algorithm.params.priv_key=a.DSAparam.decode(c.subjectPrivateKey,"der"),{type:"dsa",params:c.algorithm.params};default:throw new Error("unknown key id "+r)}case"RSA PUBLIC KEY":return a.RSAPublicKey.decode(p,"der");case"RSA PRIVATE KEY":return a.RSAPrivateKey.decode(p,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:a.DSAPrivateKey.decode(p,"der")};case"EC PRIVATE KEY":return{curve:(p=a.ECPrivateKey.decode(p,"der")).parameters.value,privateKey:p.privateKey};default:throw new Error("unknown key type "+d)}}t.exports=c,c.signature=a.signature},{"143b8248ff62cd0a":"lDXQD","8bb366244e2af7d":"3DIxU",bbbec1ee9475d050:"c6NuA","932b7033ac9272f8":"2XvlQ","6bc8dcb840fe8b3f":"h8xhC",c2e48acb06794d40:"8VfEv"}],lDXQD:[function(e,t,r){"use strict";var a=e("77b9d922ac28d7c4");r.certificate=e("5295fc468e9df8ac");var n=a.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));r.RSAPrivateKey=n;var o=a.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));r.RSAPublicKey=o;var s=a.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(i),this.key("subjectPublicKey").bitstr())}));r.PublicKey=s;var i=a.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),l=a.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(i),this.key("subjectPrivateKey").octstr())}));r.PrivateKey=l;var c=a.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));r.EncryptedPrivateKey=c;var u=a.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));r.DSAPrivateKey=u,r.DSAparam=a.define("DSAparam",(function(){this.int()}));var d=a.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(p),this.key("publicKey").optional().explicit(1).bitstr())}));r.ECPrivateKey=d;var p=a.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));r.signature=a.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},{"77b9d922ac28d7c4":"9eDW8","5295fc468e9df8ac":"krH8E"}],"9eDW8":[function(e,t,r){"use strict";const a=r;a.bignum=e("ffd61149d4581764"),a.define=e("c716cb3046e93577").define,a.base=e("5e6364189f9ab278"),a.constants=e("b072cf260c8b873f"),a.decoders=e("de9455ca80a99791"),a.encoders=e("7104e9cd3d55a44e")},{ffd61149d4581764:"ePv4G",c716cb3046e93577:"b7bUL","5e6364189f9ab278":"bErNA",b072cf260c8b873f:"ccfCV",de9455ca80a99791:"cuzLf","7104e9cd3d55a44e":"d7lRD"}],b7bUL:[function(e,t,r){"use strict";const a=e("d048b6e1adef85be"),n=e("695187d14ed31fce"),o=e("30dd3877b769e53e");function s(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}r.define=function(e,t){return new s(e,t)},s.prototype._createNamed=function(e){const t=this.name;function r(e){this._initNamed(e,t)}return o(r,e),r.prototype._initNamed=function(t,r){e.call(this,t,r)},new r(this)},s.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(n[e])),this.decoders[e]},s.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},s.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(a[e])),this.encoders[e]},s.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},{d048b6e1adef85be:"d7lRD","695187d14ed31fce":"cuzLf","30dd3877b769e53e":"cEKc1"}],d7lRD:[function(e,t,r){"use strict";const a=r;a.der=e("1c4925fd83eebded"),a.pem=e("c9e7c8ebb1cf2ab5")},{"1c4925fd83eebded":"5vVbi",c9e7c8ebb1cf2ab5:"GsHD2"}],"5vVbi":[function(e,t,r){"use strict";const a=e("cc8af2345834396c"),n=e("46ccf177223540b0").Buffer,o=e("5fcc53d6e082ccfb"),s=e("6722863dd551aa0e");function i(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){o.call(this,"der",e)}function c(e){return e<10?"0"+e:e}t.exports=i,i.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},a(l,o),l.prototype._encodeComposite=function(e,t,r,a){const o=function(e,t,r,a){let n;"seqof"===e?e="seq":"setof"===e&&(e="set");if(s.tagByName.hasOwnProperty(e))n=s.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return a.error("Unknown tag: "+e);n=e}if(n>=31)return a.error("Multi-octet tag encoding unsupported");t||(n|=32);return n|=s.tagClassByName[r||"universal"]<<6,n}(e,t,r,this.reporter);if(a.length<128){const e=n.alloc(2);return e[0]=o,e[1]=a.length,this._createEncoderBuffer([e,a])}let i=1;for(let e=a.length;e>=256;e>>=8)i++;const l=n.alloc(2+i);l[0]=o,l[1]=128|i;for(let e=1+i,t=a.length;t>0;e--,t>>=8)l[e]=255&t;return this._createEncoderBuffer([l,a])},l.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=n.alloc(2*e.length);for(let r=0;r=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let a=0;for(let t=0;t=128;r>>=7)a++}const o=n.alloc(a);let s=o.length-1;for(let t=e.length-1;t>=0;t--){let r=e[t];for(o[s--]=127&r;(r>>=7)>0;)o[s--]=128|127&r}return this._createEncoderBuffer(o)},l.prototype._encodeTime=function(e,t){let r;const a=new Date(e);return"gentime"===t?r=[c(a.getUTCFullYear()),c(a.getUTCMonth()+1),c(a.getUTCDate()),c(a.getUTCHours()),c(a.getUTCMinutes()),c(a.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[c(a.getUTCFullYear()%100),c(a.getUTCMonth()+1),c(a.getUTCDate()),c(a.getUTCHours()),c(a.getUTCMinutes()),c(a.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},l.prototype._encodeNull=function(){return this._createEncoderBuffer("")},l.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!n.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=n.from(t)}if(n.isBuffer(e)){let t=e.length;0===e.length&&t++;const r=n.alloc(t);return e.copy(r),0===e.length&&(r[0]=0),this._createEncoderBuffer(r)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let r=1;for(let t=e;t>=256;t>>=8)r++;const a=new Array(r);for(let t=a.length-1;t>=0;t--)a[t]=255&e,e>>=8;return 128&a[0]&&a.unshift(0),this._createEncoderBuffer(n.from(a))},l.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},l.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},l.prototype._skipDefault=function(e,t,r){const a=this._baseState;let n;if(null===a.default)return!1;const o=e.join();if(void 0===a.defaultBuffer&&(a.defaultBuffer=this._encodeValue(a.default,t,r).join()),o.length!==a.defaultBuffer.length)return!1;for(n=0;n=2147483648)throw new RangeError('The value "'+e+'" is invalid for option "size"');var a=s(e);return t&&0!==t.length?"string"==typeof r?a.fill(t,r):a.fill(t):a.fill(0),a}),!i.kStringMaxLength)try{i.kStringMaxLength=n.binding("buffer").kStringMaxLength}catch(e){}i.constants||(i.constants={MAX_LENGTH:i.kMaxLength},i.kStringMaxLength&&(i.constants.MAX_STRING_LENGTH=i.kStringMaxLength)),t.exports=i},{"72da0d9c91c537fc":"iRwsc","6222530d957de618":"k6T4L"}],"2Q168":[function(e,t,r){"use strict";const a=e("d977817ee86dc6e3").Reporter,n=e("6657f57859d3cb3").EncoderBuffer,o=e("6657f57859d3cb3").DecoderBuffer,s=e("73a7c64d5d8d920f"),i=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(i);function c(e,t,r){const a={};this._baseState=a,a.name=r,a.enc=e,a.parent=t||null,a.children=null,a.tag=null,a.args=null,a.reverseArgs=null,a.choice=null,a.optional=!1,a.any=!1,a.obj=!1,a.use=null,a.useDecoder=null,a.key=null,a.default=null,a.explicit=null,a.implicit=null,a.contains=null,a.parent||(a.children=[],this._wrap())}t.exports=c;const u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){const e=this._baseState,t={};u.forEach((function(r){t[r]=e[r]}));const r=new this.constructor(t.parent);return r._baseState=t,r},c.prototype._wrap=function(){const e=this._baseState;l.forEach((function(t){this[t]=function(){const r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}}),this)},c.prototype._init=function(e){const t=this._baseState;s(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),s.equal(t.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(e){const t=this._baseState,r=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==r.length&&(s(null===t.children),t.children=r,r.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(s(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;const t={};return Object.keys(e).forEach((function(r){r==(0|r)&&(r|=0);const a=e[r];t[a]=r})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){c.prototype[e]=function(){const t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),i.forEach((function(e){c.prototype[e]=function(){const t=this._baseState,r=Array.prototype.slice.call(arguments);return s(null===t.tag),t.tag=e,this._useArgs(r),this}})),c.prototype.use=function(e){s(e);const t=this._baseState;return s(null===t.use),t.use=e,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(e){const t=this._baseState;return s(null===t.default),t.default=e,t.optional=!0,this},c.prototype.explicit=function(e){const t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.explicit=e,this},c.prototype.implicit=function(e){const t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.implicit=e,this},c.prototype.obj=function(){const e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},c.prototype.key=function(e){const t=this._baseState;return s(null===t.key),t.key=e,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(e){const t=this._baseState;return s(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},c.prototype.contains=function(e){const t=this._baseState;return s(null===t.use),t.contains=e,this},c.prototype._decode=function(e,t){const r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));let a,n=r.default,s=!0,i=null;if(null!==r.key&&(i=e.enterKey(r.key)),r.optional){let a=null;if(null!==r.explicit?a=r.explicit:null!==r.implicit?a=r.implicit:null!==r.tag&&(a=r.tag),null!==a||r.any){if(s=this._peekTag(e,a,r.any),e.isError(s))return s}else{const a=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),s=!0}catch(e){s=!1}e.restore(a)}}if(r.obj&&s&&(a=e.enterObject()),s){if(null!==r.explicit){const t=this._decodeTag(e,r.explicit);if(e.isError(t))return t;e=t}const a=e.offset;if(null===r.use&&null===r.choice){let t;r.any&&(t=e.save());const a=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(a))return a;r.any?n=e.raw(t):e=a}if(t&&t.track&&null!==r.tag&&t.track(e.path(),a,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),r.any||(n=null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t)),e.isError(n))return n;if(r.any||null!==r.choice||null===r.children||r.children.forEach((function(r){r._decode(e,t)})),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){const a=new o(n);n=this._getUse(r.contains,e._reporterState.obj)._decode(a,t)}}return r.obj&&s&&(n=e.leaveObject(a)),null===r.key||null===n&&!0!==s?null!==i&&e.exitKey(i):e.leaveKey(i,r.key,n),n},c.prototype._decodeGeneric=function(e,t,r){const a=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,a.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&a.args?this._decodeObjid(t,a.args[0],a.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,a.args&&a.args[0],r):null!==a.use?this._getUse(a.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},c.prototype._getUse=function(e,t){const r=this._baseState;return r.useDecoder=this._use(e,t),s(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},c.prototype._decodeChoice=function(e,t){const r=this._baseState;let a=null,n=!1;return Object.keys(r.choice).some((function(o){const s=e.save(),i=r.choice[o];try{const r=i._decode(e,t);if(e.isError(r))return!1;a={type:o,value:r},n=!0}catch(t){return e.restore(s),!1}return!0}),this),n?a:e.error("Choice not matched")},c.prototype._createEncoderBuffer=function(e){return new n(e,this.reporter)},c.prototype._encode=function(e,t,r){const a=this._baseState;if(null!==a.default&&a.default===e)return;const n=this._encodeValue(e,t,r);return void 0===n||this._skipDefault(n,t,r)?void 0:n},c.prototype._encodeValue=function(e,t,r){const n=this._baseState;if(null===n.parent)return n.children[0]._encode(e,t||new a);let o=null;if(this.reporter=t,n.optional&&void 0===e){if(null===n.default)return;e=n.default}let s=null,i=!1;if(n.any)o=this._createEncoderBuffer(e);else if(n.choice)o=this._encodeChoice(e,t);else if(n.contains)s=this._getUse(n.contains,r)._encode(e,t),i=!0;else if(n.children)s=n.children.map((function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");const a=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");const n=r._encode(e[r._baseState.key],t,e);return t.leaveKey(a),n}),this).filter((function(e){return e})),s=this._createEncoderBuffer(s);else if("seqof"===n.tag||"setof"===n.tag){if(!n.args||1!==n.args.length)return t.error("Too many args for : "+n.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");const r=this.clone();r._baseState.implicit=null,s=this._createEncoderBuffer(e.map((function(r){const a=this._baseState;return this._getUse(a.args[0],e)._encode(r,t)}),r))}else null!==n.use?o=this._getUse(n.use,r)._encode(e,t):(s=this._encodePrimitive(n.tag,e),i=!0);if(!n.any&&null===n.choice){const e=null!==n.implicit?n.implicit:n.tag,r=null===n.implicit?"universal":"context";null===e?null===n.use&&t.error("Tag could be omitted only for .use()"):null===n.use&&(o=this._encodeComposite(e,i,r,s))}return null!==n.explicit&&(o=this._encodeComposite(n.explicit,!1,"context",o)),o},c.prototype._encodeChoice=function(e,t){const r=this._baseState,a=r.choice[e.type];return a||s(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),a._encode(e.value,t)},c.prototype._encodePrimitive=function(e,t){const r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},c.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},c.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)}},{d977817ee86dc6e3:"lE2KQ","6657f57859d3cb3":"9M8Ax","73a7c64d5d8d920f":"l1iHO"}],lE2KQ:[function(e,t,r){"use strict";const a=e("8e2b742667a824f6");function n(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function o(e,t){this.path=e,this.rethrow(t)}r.Reporter=n,n.prototype.isError=function(e){return e instanceof o},n.prototype.save=function(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},n.prototype.restore=function(e){const t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},n.prototype.enterKey=function(e){return this._reporterState.path.push(e)},n.prototype.exitKey=function(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)},n.prototype.leaveKey=function(e,t,r){const a=this._reporterState;this.exitKey(e),null!==a.obj&&(a.obj[t]=r)},n.prototype.path=function(){return this._reporterState.path.join("/")},n.prototype.enterObject=function(){const e=this._reporterState,t=e.obj;return e.obj={},t},n.prototype.leaveObject=function(e){const t=this._reporterState,r=t.obj;return t.obj=e,r},n.prototype.error=function(e){let t;const r=this._reporterState,a=e instanceof o;if(t=a?e:new o(r.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!r.options.partial)throw t;return a||r.errors.push(t),t},n.prototype.wrapResult=function(e){const t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},a(o,Error),o.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},{"8e2b742667a824f6":"cEKc1"}],"9M8Ax":[function(e,t,r){"use strict";const a=e("3e1ca0ad4acf65f0"),n=e("eb6ab306879d4825").Reporter,o=e("5388853538553f34").Buffer;function s(e,t){n.call(this,t),o.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function i(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return i.isEncoderBuffer(e)||(e=new i(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=o.byteLength(e);else{if(!o.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}a(s,n),r.DecoderBuffer=s,s.isDecoderBuffer=function(e){if(e instanceof s)return!0;return"object"==typeof e&&o.isBuffer(e.base)&&"DecoderBuffer"===e.constructor.name&&"number"==typeof e.offset&&"number"==typeof e.length&&"function"==typeof e.save&&"function"==typeof e.restore&&"function"==typeof e.isEmpty&&"function"==typeof e.readUInt8&&"function"==typeof e.skip&&"function"==typeof e.raw},s.prototype.save=function(){return{offset:this.offset,reporter:n.prototype.save.call(this)}},s.prototype.restore=function(e){const t=new s(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,n.prototype.restore.call(this,e.reporter),t},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},s.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");const r=new s(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},s.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},r.EncoderBuffer=i,i.isEncoderBuffer=function(e){if(e instanceof i)return!0;return"object"==typeof e&&"EncoderBuffer"===e.constructor.name&&"number"==typeof e.length&&"function"==typeof e.join},i.prototype.join=function(e,t){return e||(e=o.alloc(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(e,t),t+=r.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):o.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},{"3e1ca0ad4acf65f0":"cEKc1",eb6ab306879d4825:"lE2KQ","5388853538553f34":"arp9L"}],fEXOc:[function(e,t,r){"use strict";function a(e){const t={};return Object.keys(e).forEach((function(r){(0|r)==r&&(r|=0);const a=e[r];t[a]=r})),t}r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=a(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=a(r.tag)},{}],GsHD2:[function(e,t,r){"use strict";const a=e("72aa69f92dd1a97c"),n=e("94b3469f9ba0d351");function o(e){n.call(this,e),this.enc="pem"}a(o,n),t.exports=o,o.prototype.encode=function(e,t){const r=n.prototype.encode.call(this,e).toString("base64"),a=["-----BEGIN "+t.label+"-----"];for(let e=0;e>6],n=!(32&r);if(31&~r)r&=31;else{let a=r;for(r=0;!(128&~a);){if(a=e.readUInt8(t),e.isError(a))return a;r<<=7,r|=127&a}}return{cls:a,primitive:n,tag:r,tagStr:i.tag[r]}}function d(e,t,r){let a=e.readUInt8(r);if(e.isError(a))return a;if(!t&&128===a)return null;if(!(128&a))return a;const n=127&a;if(n>4)return e.error("length octect is too long");a=0;for(let t=0;t=t)throw new Error("invalid sig")}t.exports=function(e,t,r,c,u){var d=s(r);if("ec"===d.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(e,t,r){var a=i[r.data.algorithm.curve.join(".")];if(!a)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var n=new o(a),s=r.data.subjectPrivateKey.data;return n.verify(t,e,s)}(e,t,d)}if("dsa"===d.type){if("dsa"!==c)throw new Error("wrong public key type");return function(e,t,r){var a=r.data.p,o=r.data.q,i=r.data.g,c=r.data.pub_key,u=s.signature.decode(e,"der"),d=u.s,p=u.r;l(d,o),l(p,o);var f=n.mont(a),h=d.invm(o),m=i.toRed(f).redPow(new n(t).mul(h).mod(o)).fromRed().mul(c.toRed(f).redPow(p.mul(h).mod(o)).fromRed()).mod(a).mod(o);return 0===m.cmp(p)}(e,t,d)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");t=a.concat([u,t]);for(var p=d.modulus.byteLength(),f=[1],h=0;t.length+f.length+2r-p-2)throw new Error("message too long");var f=d.alloc(r-a-p-2),h=r-u-1,m=n(u),v=i(d.concat([c,f,d.alloc(1,1),t],h),s(m,h)),g=i(m,s(v,u));return new l(d.concat([d.alloc(1),g,v],r))}(h,t);else if(1===p)f=function(e,t,r){var a,o=t.length,s=e.modulus.byteLength();if(o>s-11)throw new Error("message too long");a=r?d.alloc(s-o-3,255):function(e){var t,r=d.allocUnsafe(e),a=0,o=n(2*e),s=0;for(;a=0)throw new Error("data too long for modulus")}return r?u(f,h):c(f,h)}},{"1209df4a8b0e89f1":"lNcgn","4b887ad5b94bd4e5":"kYauT","5c3e483e04440e9b":"1GEAm","2c50332887714920":"1lbVM","45850fde0af0763a":"igQh7","8d5b50b80a8eb176":"ePv4G","267a8f90a6ff10cc":"02KOZ","5e09661256e82911":"ipWxQ",b581ae3bc3681b06:"8VfEv"}],"1lbVM":[function(e,t,r){var a=e("9855e960eb72f262"),n=e("c90efc113f8ce9e1").Buffer;function o(e){var t=n.allocUnsafe(4);return t.writeUInt32BE(e,0),t}t.exports=function(e,t){for(var r,s=n.alloc(0),i=0;s.lengthh||new s(t).cmp(f.modulus)>=0)throw new Error("decryption error");p=r?c(new s(t),f):i(t,f);var m=u.alloc(h-p.length);if(p=u.concat([m,p],h),4===d)return function(e,t){var r=e.modulus.byteLength(),a=l("sha1").update(u.alloc(0)).digest(),s=a.length;if(0!==t[0])throw new Error("decryption error");var i=t.slice(1,s+1),c=t.slice(s+1),d=o(i,n(c,s)),p=o(c,n(d,r-s-1));if(function(e,t){e=u.from(e),t=u.from(t);var r=0,a=e.length;e.length!==t.length&&(r++,a=Math.min(e.length,t.length));var n=-1;for(;++n=t.length){o++;break}var s=t.slice(2,n-1);("0002"!==a.toString("hex")&&!r||"0001"!==a.toString("hex")&&r)&&o++;s.length<8&&o++;if(o)throw new Error("decryption error");return t.slice(n)}(0,p,r);if(3===d)return p;throw new Error("unknown padding")}},{"5f40533fe8782189":"lNcgn",df775734e989bfe8:"1lbVM",a8a649250f652b8d:"igQh7",f0c874c05a802363:"ePv4G","831cb38e5d8d7ec3":"ipWxQ","85a093eef0668e89":"1GEAm",e812a01f9331f177:"02KOZ","95122ed21aa515c5":"8VfEv"}],eoW0M:[function(e,t,r){var a=e("cfb0b33c6f000792"),n=arguments[3];function o(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var s=e("f19299a31cf16c93"),i=(e("d5c742151831fffb"),s.Buffer),l=s.kMaxLength,c=n.crypto||n.msCrypto,u=Math.pow(2,32)-1;function d(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>u||e<0)throw new TypeError("offset must be a uint32");if(e>l||e>t)throw new RangeError("offset out of range")}function p(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>u||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>l)throw new RangeError("buffer too small")}function f(e,t,r,n){var o=e.buffer,s=new Uint8Array(o,t,r);if(c.getRandomValues(s),!n)return e;a.nextTick((function(){n(null,e)}))}c&&c.getRandomValues?(r.randomFill=function(e,t,r,a){if(!(i.isBuffer(e)||e instanceof n.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)a=t,t=0,r=e.length;else if("function"==typeof r)a=r,r=e.length-t;else if("function"!=typeof a)throw new TypeError('"cb" argument must be a function');return d(t,e.length),p(r,t,e.length),f(e,t,r,a)},r.randomFillSync=function(e,t,r){void 0===t&&(t=0);if(!(i.isBuffer(e)||e instanceof n.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');d(t,e.length),void 0===r&&(r=e.length-t);return p(r,t,e.length),f(e,t,r)}):(r.randomFill=o,r.randomFillSync=o)},{cfb0b33c6f000792:"iRwsc",f19299a31cf16c93:"8VfEv",d5c742151831fffb:"kYauT"}],"5yiZi":[function(e,t,r){t.exports=JSON.parse('{"name":"dotenv","version":"16.4.5","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","lint-readme":"standard-markdown","pretest":"npm run lint && npm run dts-check","test":"tap tests/*.js --100 -Rspec","test:coverage":"tap --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@definitelytyped/dtslint":"^0.0.133","@types/node":"^18.11.3","decache":"^4.6.1","sinon":"^14.0.1","standard":"^17.0.0","standard-markdown":"^7.1.0","standard-version":"^9.5.0","tap":"^16.3.0","tar":"^6.1.11","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}')},{}],"5RLZV":[function(e,t,r){"use strict";var a=e("e7b97e746f22c030");r.createRoot=a.createRoot,r.hydrateRoot=a.hydrateRoot},{e7b97e746f22c030:"1HQcT"}],"1HQcT":[function(e,t,r){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),t.exports=e("81b89997a16de5d6")},{"81b89997a16de5d6":"l6Cvq"}],l6Cvq:[function(e,t,r){ /** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ "use strict";var a=e("504af15ea603f6da"),n=e("9df9567a7648570d");function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r